/* 新しくなったこと（/whats-new）. The app's bento: big tiles with their moving picture, small ones in twos,
   the rest as rows by the setting's page; a tile opens its own sheet. The list is /whats-new.json. */

.wn { width: min(960px, calc(100% - 32px)); margin: 8px auto 0; position: relative; z-index: 1; }
.wn-title { font-size: clamp(2.125rem, 7vw, 3.25rem); line-height: 1.2; font-weight: 900; letter-spacing: -0.015em; margin: 20px 0 6px; }
.wn-title .ch { display: inline-block; }
.wn-sub { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }

/* A slow glow behind the page: the icon's orange and a cool blue, drifting. */
.wn-aurora { position: fixed; inset: -20vh -20vw auto; height: 90vh; pointer-events: none; z-index: 0; filter: blur(60px); opacity: .55; }
.wn-aurora i { position: absolute; border-radius: 50%; width: 46vmax; height: 46vmax; }
.wn-aurora i:nth-child(1) { left: 8%; top: -10%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent); animation: wn-drift1 22s ease-in-out infinite alternate; }
.wn-aurora i:nth-child(2) { right: 4%; top: 0; background: radial-gradient(closest-side, rgba(120, 150, 255, .38), transparent); animation: wn-drift2 26s ease-in-out infinite alternate; }
.wn-aurora i:nth-child(3) { left: 40%; top: 20%; width: 30vmax; height: 30vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); animation: wn-drift1 30s ease-in-out -8s infinite alternate-reverse; }
@keyframes wn-drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes wn-drift2 { to { transform: translate(-10vw, 10vh) scale(.9); } }
@media (prefers-color-scheme: dark) { .wn-aurora { opacity: .35; } }

/* Search */
.wn-search { position: relative; margin: 24px 0 0; }
.wn-search input {
  width: 100%; min-height: 56px; padding: 12px 18px 12px 50px; border-radius: 18px;
  border: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font: inherit; font-size: 1.0625rem; letter-spacing: 0.02em;
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .45);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s cubic-bezier(.23, 1, .32, 1), box-shadow .25s cubic-bezier(.23, 1, .32, 1);
}
.wn-search input::placeholder { color: var(--muted); }
.wn-search input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 18px 40px -22px rgba(0, 0, 0, .5); }
.wn-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }

/* Versions as chips */
.wn-chips { display: flex; gap: 8px; margin: 14px -16px 0; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.wn-chips::-webkit-scrollbar { display: none; }
.wn-chips[hidden] { display: none; }
.wn-chip {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink);
  font: inherit; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .18s cubic-bezier(.23, 1, .32, 1);
}
.wn-chip .tag { font-weight: 500; color: var(--muted); font-size: 0.8125rem; }
.wn-chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--sand); }
.wn-chip[aria-selected="true"] .tag { color: inherit; opacity: .75; }
.wn-chip.is-next:not([aria-selected="true"]) { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.wn-chip:active { transform: scale(.96); }
@media (hover: hover) { .wn-chip:hover { background: var(--rule); } .wn-chip[aria-selected="true"]:hover { background: var(--ink); } }

/* One version: its number big, what it brings in a few points, then the bento */
.wn-ver { margin-top: 30px; }
.wn-ver-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wn-ver-num { margin: 0; font-size: clamp(3rem, 14vw, 5.5rem); line-height: .95; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.wn-ver-num .d { display: inline-block; }
/* Each digit is a strip of 0–9 that rolls to its place when the version changes. */
.wn-ver-num .roll { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.wn-ver-num .roll > span { display: flex; flex-direction: column; transition: transform .9s cubic-bezier(.2, .9, .2, 1.04); transition-delay: calc(var(--i) * 70ms); }
.wn-ver-num .roll i { font-style: normal; height: 1em; line-height: 1; }
.wn-ver-num .dot { display: inline-block; line-height: 1; vertical-align: top; }
.wn-ver-line { height: 5px; width: 64px; margin-top: 12px; border-radius: 3px; background: var(--accent); transform-origin: left; animation: wn-wipe .8s cubic-bezier(.23, 1, .32, 1) .25s both; }
@keyframes wn-wipe { from { transform: scaleX(0); } }
.wn-count b { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.wn-ver-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-bottom: 6px; }
.wn-badge-ver { padding: 3px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; background: var(--accent); color: #222222; }
.wn-badge-ver.is-out { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--rule); }
.wn-count { color: var(--muted); font-size: 0.875rem; }
.wn-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wn-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); font-size: 0.9375rem; font-weight: 700; line-height: 1.4; }
.wn-points .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--link); background: color-mix(in srgb, var(--accent) 16%, transparent); flex: none; }
.wn-points svg { width: 17px; height: 17px; }

/* The bento. Phone: two columns, a big or wide tile takes both. Wide screens: four, a big one two by two. */
.wn-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; grid-auto-flow: row dense; }
.wn-tile { grid-column: span 1; }
.wn-tile.t-large, .wn-tile.t-wide { grid-column: span 2; }
@media (min-width: 760px) {
  .wn-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .wn-tile.t-large { grid-column: span 2; grid-row: span 2; }
}

.wn-tile {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 150px; padding: 16px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--rule); color: inherit; text-align: left; font: inherit; cursor: pointer;
  box-shadow: 0 18px 40px -32px rgba(0, 0, 0, .55);
  transition: transform .35s cubic-bezier(.23, 1, .32, 1), box-shadow .35s cubic-bezier(.23, 1, .32, 1), opacity .5s cubic-bezier(.23, 1, .32, 1);
  -webkit-tap-highlight-color: transparent; overflow: hidden; isolation: isolate;
}
/* A light that follows the pointer over the tile. */
.wn-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
}
@media (hover: hover) {
  .wn-tile:hover { box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .6); }
  .wn-tile:hover::before { opacity: 1; }
}
.wn-tile:active { transform: scale(.975); transition-duration: .12s; }
@media (hover: hover) { .wn-tile:hover { transform: translateY(-3px); } }
/* Tiles further down come up as they scroll into view (flat: no 3D). */
.wn-tile.is-wait { opacity: 0; transform: translateY(28px) scale(.96); }
.wn-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.wn-tile h3 { margin: 0; font-size: 1.0625rem; line-height: 1.45; font-weight: 700; }
.wn-tile p { margin: 4px 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.wn-tile.t-wide { flex-direction: row; align-items: flex-start; gap: 14px; min-height: 0; }
.wn-tile.t-large { min-height: 300px; }
.wn-tile .names { display: block; }

.wn-icon { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--link); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.wn-icon svg { width: 21px; height: 21px; }
@media (hover: hover) { .wn-tile:hover .wn-icon svg { animation: wn-wiggle .6s cubic-bezier(.34, 1.56, .64, 1); } }
@keyframes wn-wiggle { 30% { transform: rotate(-12deg) scale(1.12); } 60% { transform: rotate(8deg) scale(1.06); } }

.wn-tags { display: inline-flex; gap: 6px; margin-left: 6px; vertical-align: 2px; }
.wn-tag { padding: 0 7px; border-radius: 6px; font-size: 0.6875rem; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; background: var(--rule); color: var(--muted); }
.wn-tag.beta { background: var(--accent); color: #222222; }

/* The moving pictures */
.wn-pic { position: relative; border-radius: 16px; background: var(--sand-deep); overflow: hidden; flex: 1 1 auto; min-height: 168px; display: grid; place-items: center; }
.wn-sheet .wn-pic { min-height: 220px; }

/* A symbol, made to breathe: a turning ring of the accent around it */
.wn-orb { position: relative; width: 96px; height: 96px; border-radius: 30px; display: grid; place-items: center; color: var(--link); background: var(--surface); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .5); }
.wn-orb::before { content: ""; position: absolute; inset: -3px; border-radius: 33px; z-index: -1; background: conic-gradient(from var(--a, 0deg), var(--accent), transparent 30%, transparent 60%, var(--accent)); animation: wn-spin 5s linear infinite; }
.wn-orb svg { width: 44px; height: 44px; animation: wn-float 3.6s ease-in-out infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes wn-spin { to { --a: 360deg; } }
@keyframes wn-float { 50% { transform: translateY(-5px) rotate(-3deg); } }

/* The input field and the candidates (StripDemoView) */
.wn-strip { width: min(100%, 340px); padding: 14px; display: grid; gap: 10px; }
.wn-field { min-height: 44px; padding: 10px 12px; border-radius: 12px; background: var(--surface); font-size: 1rem; line-height: 1.5; box-shadow: inset 0 0 0 1px var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wn-field u { text-decoration: underline 1.5px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.wn-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: var(--accent); animation: wn-blink 1s steps(1) infinite; }
@keyframes wn-blink { 50% { opacity: 0; } }
.wn-cands { display: flex; gap: 6px; min-height: 46px; padding: 5px; border-radius: 12px; background: color-mix(in srgb, var(--device) 10%, var(--surface)); overflow: hidden; }
.wn-cand { flex: none; display: flex; flex-direction: column; justify-content: center; padding: 2px 12px; border-radius: 9px; font-size: 0.9375rem; line-height: 1.25; white-space: nowrap; animation: wn-pop .38s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.wn-cand small { font-size: 0.625rem; color: var(--muted); }
.wn-cand.is-pressed { background: var(--press); color: #222222; }
.wn-cand.is-pressed small { color: #222222; }
@keyframes wn-pop { from { opacity: 0; transform: translateY(6px) scale(.92); } }

/* A small keyboard with a finger (GestureDemoView, drawn simply) */
.wn-kb { position: relative; width: min(100%, 300px); padding: 12px; display: grid; gap: 8px; }
.wn-kb .wn-field { min-height: 36px; padding: 6px 10px; font-size: 0.9375rem; }
.wn-keys { position: relative; display: grid; grid-template-columns: .9fr 1fr 1fr 1fr .9fr; grid-template-rows: repeat(4, 34px); gap: 5px; padding: 6px; border-radius: 12px; background: var(--device); }
.wn-key { white-space: nowrap; display: grid; place-items: center; border-radius: 7px; background: var(--key); color: #fff; font-size: 0.875rem; font-weight: 700; transition: background .12s, color .2s, transform .12s; }
.wn-key.fn { background: var(--key-fn); font-size: 0.6875rem; }
.wn-key.is-down { background: var(--press); color: #222222; transform: scale(.94); }
.wn-keys.is-pad .wn-key { color: transparent; }
.wn-keys.has-board { overflow: hidden; }
.wn-key.sp { grid-column: 5; grid-row: 3 / span 2; }
.wn-petal { position: absolute; white-space: nowrap; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 0.875rem; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; z-index: 2; }
.wn-petal.is-on { opacity: 1; transform: none; }
.wn-petal.is-pick { background: var(--press); color: #222222; }
.wn-board { position: absolute; inset: 6px; border-radius: 9px; background: var(--surface); display: grid; grid-template-columns: repeat(6, 1fr); align-content: center; gap: 2px; padding: 6px; font-size: 1.125rem; line-height: 1.6; text-align: center; transform: translateY(105%); transition: transform .45s cubic-bezier(.23, 1, .32, 1); z-index: 2; }
.wn-board.is-up { transform: none; }
.wn-board span { border-radius: 6px; transition: background .12s; }
.wn-board span.is-down { background: var(--press); }
.wn-finger { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: color-mix(in srgb, var(--press) 70%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--press) 25%, transparent); opacity: 0; z-index: 3; pointer-events: none; transition: opacity .1s; }
.wn-finger.is-on { opacity: 1; }

/* The rest, as rows under the setting's page */
.wn-group { margin-top: 26px; }
.wn-group h3 { margin: 0 0 8px 6px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.wn-rows { list-style: none; margin: 0; padding: 0; border-radius: 20px; background: var(--surface); border: 1px solid var(--rule); overflow: hidden; }
.wn-rows li + li .wn-row { border-top: 1px solid var(--rule); }
.wn-row { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s; }
.wn-row .ic { width: 28px; height: 28px; display: grid; place-items: center; color: var(--link); flex: none; }
.wn-row .ic svg { width: 19px; height: 19px; }
.wn-row b { display: block; font-size: 0.9375rem; line-height: 1.5; }
.wn-row span.s { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.55; }
.wn-row .chev { margin-left: auto; color: var(--muted); opacity: .6; flex: none; padding-top: 4px; transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
@media (hover: hover) { .wn-row:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); } .wn-row:hover .chev { transform: translateX(3px); } }
.wn-row:active { background: var(--rule); }
.wn-row .ver { flex: none; align-self: center; font-size: 0.75rem; font-weight: 700; color: var(--muted); padding: 1px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); }

/* Search results */
.wn-found { margin-top: 26px; }
.wn-found > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; margin: 0 0 12px; }
.wn-found > h2 .n { color: var(--muted); font-weight: 500; }
.wn-ai { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 18px; border: 1px dashed var(--rule); color: var(--muted); font-size: 0.9375rem; }
.wn-ai .spark { width: 20px; height: 20px; color: var(--accent); animation: wn-spin2 1.6s linear infinite; }
@keyframes wn-spin2 { to { transform: rotate(360deg); } }
.wn-ai.is-busy { background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--accent) 12%, transparent) 50%, transparent 80%) 0 0 / 250% 100%; animation: wn-shine 1.4s linear infinite; }
@keyframes wn-shine { from { background-position: 125% 0; } to { background-position: -125% 0; } }
.wn-found h2 .ai { font-size: 0.75rem; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #222222; font-weight: 700; }
mark { color: inherit; border-radius: 3px; padding: 0 1px; background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 42%, transparent)) no-repeat 0 100% / 100% 100%; }
#wn-root.is-search { min-height: 100dvh; }
.wn-pen mark { animation: wn-pen .45s cubic-bezier(.6, 0, .25, 1) both; animation-delay: calc(.15s + var(--m, 0) * 90ms); }
@keyframes wn-pen { from { background-size: 0% 100%; box-shadow: none; } 70% { box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent); } to { background-size: 100% 100%; box-shadow: none; } }
/* Icons drawn with a pen when they come into view */
.wn-draw :is(path, circle, rect, line, polyline, polygon, ellipse) { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.55, 0, .2, 1); transition-delay: calc(.08s + var(--k, 0) * 110ms); }
.wn-draw.is-drawn :is(path, circle, rect, line, polyline, polygon, ellipse) { stroke-dashoffset: 0; }
/* Switching versions: the tiles come in one by one from the top left */
.wn-swap .wn-points li, .wn-swap .wn-tile, .wn-swap .wn-group, .wn-swap .wn-ver-meta { animation: wn-swap-in .55s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(.12s + var(--i, 0) * 55ms); }
@keyframes wn-swap-in { from { opacity: 0; transform: translateY(18px) scale(.92); } }

.wn-msg { margin: 28px 0 0; padding: 20px; border-radius: 18px; border: 1px dashed var(--rule); color: var(--muted); font-size: 0.9375rem; }
.wn-foot { margin-top: 56px; padding: 20px; border-radius: 18px; background: var(--sand-deep); font-size: 0.9375rem; line-height: 1.8; }
.wn-foot h2 { font-size: 1rem; margin: 0 0 4px; }
.wn-foot p { margin: 0 0 6px; }

/* A change's own sheet (ReleaseItemDetail): the picture, what it does, where its setting is, the next one */
.wn-sheet { width: min(620px, calc(100% - 24px)); max-height: min(88dvh, 860px); padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.wn-sheet::backdrop { background: rgba(10, 12, 18, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wn-sheet[open] { animation: wn-sheet-in .3s cubic-bezier(.23, 1, .32, 1); }
.wn-sheet[open]::backdrop { animation: wn-fade .3s ease both; }
@keyframes wn-sheet-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes wn-fade { from { opacity: 0; } }
.wn-sheet.vt[open], .wn-sheet.vt[open]::backdrop { animation: none; }
.wn-sheet-in { max-height: inherit; overflow-y: auto; padding: 18px 20px 22px; overscroll-behavior: contain; }
.wn-sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wn-sheet-bar .ver { font-size: 0.8125rem; color: var(--muted); font-weight: 700; }
.wn-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--rule); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.wn-close svg { width: 18px; height: 18px; }
.wn-sheet h2:focus { outline: none; }
.wn-sheet h2 { margin: 16px 0 6px; font-size: 1.5rem; line-height: 1.4; font-weight: 900; }
.wn-sheet .text { margin: 0; font-size: 1rem; line-height: 1.85; }
.wn-place { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 14px; background: var(--sand-deep); font-size: 0.875rem; color: var(--muted); }
.wn-place svg { width: 17px; height: 17px; flex: none; }
.wn-next { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; min-height: 52px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--accent); color: #222222; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s cubic-bezier(.23, 1, .32, 1); }
.wn-next span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wn-next:active { transform: scale(.98); }
.wn-next svg { width: 18px; height: 18px; flex: none; }

/* Motion. The page settles in once; versions and the sheet move with View Transitions where the browser has them. */
@keyframes wn-in { from { opacity: 0; transform: translateY(16px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wn-rise { from { opacity: 0; transform: translateY(.5em) rotate(6deg); } }
.wn-intro .wn-title .ch { animation: wn-rise .7s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(var(--i) * 32ms); }
.wn-intro .wn-sub, .wn-intro .wn-search, .wn-intro .wn-chips { animation: wn-in .6s cubic-bezier(.23, 1, .32, 1) both; }
.wn-intro .wn-sub { animation-delay: .18s; }
.wn-intro .wn-search { animation-delay: .24s; }
.wn-intro .wn-chips { animation-delay: .3s; }
.wn-enter .wn-points li, .wn-enter .wn-tile, .wn-enter .wn-group, .wn-enter .wn-found > *, .wn-enter .wn-ver-meta { animation: wn-in .6s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(.1s + var(--i, 0) * 45ms); }
/* Rows further down come in as they scroll into view. */
@supports (animation-timeline: view()) {
  .wn-rows li { animation: wn-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
.wn-search, .wn-chips { view-transition-name: var(--vt, none); }
.wn-search { --vt: wn-search; }
.wn-chips { --vt: wn-chips; }
::view-transition-old(wn-chips), ::view-transition-old(wn-search) { display: none; }
::view-transition-new(wn-chips), ::view-transition-new(wn-search) { animation: none; }
::view-transition-group(*) { animation-duration: .42s; animation-timing-function: cubic-bezier(.23, 1, .32, 1); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: .28s; }
/* Switching versions: the old one slides out to one side, the new one in from the other. */
:root.go-left::view-transition-old(wn-ver) { animation: .32s cubic-bezier(.23, 1, .32, 1) both wn-out-l; }
:root.go-left::view-transition-new(wn-ver) { animation: .3s ease both wn-fade; }
:root.go-right::view-transition-old(wn-ver) { animation: .32s cubic-bezier(.23, 1, .32, 1) both wn-out-r; }
:root.go-right::view-transition-new(wn-ver) { animation: .3s ease both wn-fade; }
@keyframes wn-out-l { to { opacity: 0; transform: translateX(-60px); filter: blur(4px); } }
@keyframes wn-out-r { to { opacity: 0; transform: translateX(60px); filter: blur(4px); } }
::view-transition-group(wn-hero) { animation-duration: .3s; animation-timing-function: cubic-bezier(.25, 1, .35, 1); }
::view-transition-old(wn-hero), ::view-transition-new(wn-hero) { height: 100%; animation-duration: .18s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
:root:not([data-ready]) .wn-foot { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .wn-aurora i, .wn-orb::before, .wn-orb svg, .wn-caret, .wn-ai .spark, .wn-ai.is-busy { animation: none; }
  .wn-intro .wn-title .ch, .wn-intro .wn-sub, .wn-intro .wn-search, .wn-intro .wn-chips,
  .wn-ver-line, .wn-enter .wn-points li, .wn-enter .wn-tile, .wn-enter .wn-group, .wn-enter .wn-found > *, .wn-enter .wn-ver-meta,
  .wn-rows li, .wn-cand, .wn-sheet[open], .wn-sheet[open]::backdrop, mark, .wn-swap * { animation: none; }
  .wn-ver-num .roll > span, .wn-tile, .wn-chip, .wn-key, .wn-board, .wn-petal, .wn-row .chev { transition: none; }
  .wn-tile, .wn-tile.is-wait { transform: none; opacity: 1; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
