/* Round lp3, What's new (2026-10-31, at the user's word, from the approved plan): Notion's calm hierarchy and
   writing on Mochiboard's timeline, one entry per MimoKeep version, on the plain canvas (Home keeps the one
   atmospheric moment). Two Sample versions above 1.0 show the layout with more than one entry; the build script
   drops them once the look is approved. Light mode lifts the cards with the hairline ring, dark mode with the
   surface step plus a ring (the step alone is 1.10:1). Contrast is in the deck's change list. */
.wn-page { background: var(--color-canvas); }
.wn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wn-page :is(a, button, summary):focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
/* style.css styles every h2 (−2.5px tracking, which ran the titles' words together) and every header and footer
   (88px tall, 1380/1280px wide, 35px padding, 12px grey text); this page's own titles, card feet and guide head
   and foot take none of that. */
.wn-page :is(.wn-card, .wn-guide) h2 { letter-spacing: 0; }
.wn-page :is(.wn-foot, .wn-guide-head, .wn-guide-foot) { height: auto; max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; font-size: inherit; color: inherit; }
.wn-page :is(.wn-guide-head, .wn-guide-foot) { padding-top: 0; }

/* The column is 960px; the top padding leaves the Help center's gap under the floating header. */
.wn-main { box-sizing: border-box; min-height: 100vh; padding: 180px max(24px, calc((100% - 960px) / 2)) 112px; color: var(--color-ink); font-family: var(--font-sans); }

/* Hero: Mimo with the "new" flag, the title, the lede and Follow @Mimokeep. */
.wn-hero { max-width: 640px; margin: 0 auto; text-align: center; }
.wn-mimo { position: relative; width: 104px; height: 104px; margin: 0 auto 18px; }
.wn-mimo img { width: 100%; height: 100%; object-fit: contain; }
/* The "new" flag (round fl2): an SVG cloth beside his hat, waving with the 404 page's motion (whats-new.js); its
   colours and contrast are with the .wn-flag rules below. */
.wn-sticky { position: absolute; right: -42px; top: -8px; z-index: 1; rotate: 8deg; }
.wn-hero h1 { margin: 0 0 16px; font: 600 clamp(36px, 5vw, 56px)/1.15 var(--font-serif); letter-spacing: 0; color: var(--color-ink); text-wrap: balance; }
.wn-lede { margin: 0 auto 26px; max-width: 34em; font-size: 18px; line-height: 1.6; color: var(--color-ink-2); text-wrap: pretty; }

/* The timeline: a dashed spine, a rail with the version, a node per entry, the card. */
.wn-timeline { position: relative; list-style: none; margin: 72px 0 0; padding: 0; }
.wn-timeline::before { content: ""; position: absolute; left: 139px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(var(--color-line-control) 0 6px, transparent 6px 14px); opacity: .55; }
.wn-entry { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 56px; margin-bottom: 40px; scroll-margin-top: 112px; }
.wn-entry::before { content: ""; position: absolute; left: 133px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px var(--color-canvas); }
.wn-rail { display: grid; justify-items: end; align-content: start; gap: 8px; padding-top: 18px; text-align: right; }
.wn-v { padding: 6px 11px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-canvas); font: 600 13px/1 var(--font-sans); letter-spacing: .01em; white-space: nowrap; }
.wn-when { font: 500 13px/1.3 var(--font-sans); color: var(--color-ink-3); }
.wn-sample-tag { padding: 4px 9px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--color-line-control); }

.wn-card { min-width: 0; padding: 30px 32px 18px; border-radius: 24px; background: var(--color-surface); box-shadow: var(--shadow-lift); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wn-card { box-shadow: inset 0 0 0 1px rgb(var(--tint) / 0.16); } }
:root[data-theme="dark"] .wn-card { box-shadow: inset 0 0 0 1px rgb(var(--tint) / 0.16); }
.wn-card h2 { margin: 0; font: 600 20px/1.3 var(--font-serif); color: var(--color-ink); overflow-wrap: anywhere; }
.wn-big .wn-card h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.wn-lede-entry { margin: 10px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--color-ink-2); text-wrap: pretty; }
.wn-shot { display: block; width: 100%; height: auto; aspect-ratio: 1480 / 924; margin: 22px 0 0; border-radius: 14px; object-fit: cover; background: var(--color-sunken); box-shadow: 0 0 0 1px var(--color-line); }

/* 1.0's features: a tile each, with Show me how. */
.wn-tiles { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 12px; }
.wn-tile { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 8px; border-radius: 16px; background: var(--color-canvas); }
.wn-tile h3 { margin: 0 0 6px; font: 600 16px/1.35 var(--font-sans); color: var(--color-ink); }
.wn-tile p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--color-ink-2); }
.wn-how { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; margin-top: auto; padding: 0; border: 0; background: none; color: var(--color-accent-ink); font: 600 14px/1 var(--font-sans); cursor: pointer; }
.wn-how svg, .wn-try svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s var(--ease-out-soft); }
@media (hover: hover) and (pointer: fine) { .wn-how:hover svg, .wn-try:hover svg { translate: 3px 0; } .wn-how:hover, .wn-try:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* All changes: a disclosure whose + turns to ×, as Mochiboard's does. */
.wn-all { margin-top: 18px; border-radius: 16px; background: var(--color-canvas); }
.wn-all summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; list-style: none; cursor: pointer; font: 600 15px/1.3 var(--font-sans); color: var(--color-ink); }
.wn-all summary::-webkit-details-marker { display: none; }
.wn-all summary::before { content: "+"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line-control); font: 600 15px/1 var(--font-sans); transition: rotate .2s var(--ease-out-soft); }
.wn-all[open] summary::before { rotate: 45deg; }
.wn-all summary small { margin-left: auto; font: 500 13px/1 var(--font-sans); color: var(--color-ink-3); }
.wn-all .wn-changes { margin: 0; padding: 0 22px 16px 50px; }
.wn-changes { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 20px; font-size: 15.5px; line-height: 1.5; color: var(--color-ink-2); }
.wn-changes li::marker { color: var(--color-accent); }

/* The foot: Copy link on the left, Try MimoKeep free on the right. */
.wn-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 18px; padding-top: 10px; border-top: 1.5px dashed var(--color-line); }
.wn-share { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 0; border: 0; background: none; color: var(--color-ink-3); font: 600 14px/1 var(--font-sans); cursor: pointer; }
.wn-share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .wn-share:hover { color: var(--color-ink); } }
.wn-try { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--color-accent-ink); font: 600 14.5px/1 var(--font-sans); text-decoration: none; }

/* Landing on an entry from a shared link: its card's ring glows in accent and fades, 1.2s. */
.wn-entry.is-target .wn-card { animation: wn-glow 1.2s var(--ease-out-soft); }
@keyframes wn-glow { from { box-shadow: 0 0 0 3px var(--color-accent); } }

/* Entries below the fold rise in once: 12px and a fade, 360ms, a 60ms stagger (whats-new.js). */
.wn-entry.wn-wait { opacity: 0; translate: 0 12px; }
.wn-entry.wn-in { opacity: 1; translate: 0 0; transition: opacity .36s var(--ease-out-soft) var(--wn-d, 0s), translate .36s var(--ease-out-soft) var(--wn-d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .wn-entry.wn-wait { opacity: 1; translate: none; }
  .wn-entry.is-target .wn-card { animation-timing-function: steps(1, end); }
}

/* The guide: the app's three-step guide, in a dialog. Pictures are contained, never cropped. */
.wn-guide { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--color-surface); color: var(--color-ink); box-shadow: 0 24px 64px -16px rgb(var(--shade) / 0.4); overflow: auto; }
.wn-guide::backdrop { background: rgb(12 20 40 / 0.45); }
.wn-guide-in { display: grid; gap: 10px; padding: 18px 24px 22px; }
.wn-guide-head { display: flex; align-items: center; justify-content: space-between; }
.wn-guide-label { margin: 0; font: 600 12px/1.4 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-3); }
.wn-guide-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 50%; background: none; color: var(--color-ink-2); font: 400 26px/1 var(--font-sans); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .wn-guide-close:hover { background: var(--color-surface-hover); } }
.wn-guide h2 { margin: 0; font: 600 clamp(20px, 3vw, 24px)/1.25 var(--font-serif); outline: none; }
.wn-guide-fig { margin: 6px 0 4px; }
.wn-guide-fig img { display: block; width: 100%; height: auto; aspect-ratio: 1480 / 924; object-fit: contain; border-radius: 14px; background: var(--color-sunken); }
.wn-guide-step { margin: 0; font: 600 12.5px/1.4 var(--font-sans); color: var(--color-ink-3); }
.wn-guide-step:empty { display: none; }
.wn-guide-sub { margin: 0; font: 600 17px/1.35 var(--font-sans); }
.wn-guide-sub:empty { display: none; }
.wn-guide-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--color-ink-2); }
.wn-guide-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.wn-guide-foot .button { min-height: 44px; }
.wn-guide-foot [hidden] { display: none; }

/* Tablet: the rail narrows. */
@media (max-width: 1023px) {
  .wn-main { padding-top: 164px; }
  .wn-entry { grid-template-columns: 96px minmax(0, 1fr); column-gap: 44px; }
  .wn-timeline::before { left: 117px; }
  .wn-entry::before { left: 111px; }
}
/* Phones and narrow tablets: the spine moves to the left edge and the rail becomes a row above each card,
   as Mochiboard's does at 760. */
@media (max-width: 760px) {
  .wn-main { padding-top: 134px; padding-bottom: 80px; }
  .wn-mimo { width: 88px; height: 88px; }
  .wn-sticky { right: -40px; top: -9px; }
  .wn-lede { font-size: 16px; }
  .wn-timeline { margin-top: 56px; }
  .wn-timeline::before { left: 6px; }
  .wn-entry { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding-left: 28px; margin-bottom: 32px; }
  .wn-entry::before { left: 0; top: 5px; }
  .wn-rail { display: flex; align-items: center; justify-items: start; gap: 10px; padding-top: 0; text-align: left; }
  .wn-card { padding: 22px 20px 12px; border-radius: 20px; }
  .wn-lede-entry { font-size: 16px; }
  .wn-shot { border-radius: 12px; }
  .wn-guide { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .wn-guide-in { padding: 12px 18px 22px; }
}

/* Round wn2 (2026-10-31, at the user's word, approved the same day). */
/* The live Mimo in his Builder hard hat: the Download page's renderer and still frame. His dark-mode floor shadow is
   the renderer's dark floor plus overrides.css's pool of light under .hp-mimo-face, the same as on Download. */
.wn-mimo img, .wn-mimo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wn-mimo canvas { opacity: 0; transition: opacity 0.3s var(--ease-out-soft); }
.wn-mimo.is-live canvas { opacity: 1; }
.wn-mimo.is-live img { visibility: hidden; }

/* The Sample entries look like 1.0: accent node, filled card with the same lift, and the same dark-mode ring.
   The Sample tag is filled too (surface, lifted like the Latest pill): ink-3 on it is 5.70:1 by day, 6.84:1 by
   night. */
.wn-sample-tag { box-shadow: var(--shadow-lift); background: var(--color-surface); }

/* The current version's node pulses (the user's ask): an accent ring swells out from it every 2.4s. It follows whichever entry is first, so it moves to 1.0 when the samples go. The node is
   5.29:1 on the canvas by day, 5.64:1 by night. It holds still under reduced motion. */
.wn-entry:first-child::before { animation: wn-node-pulse 2.4s ease-in-out infinite; }
@keyframes wn-node-pulse {
  0%   { box-shadow: 0 0 0 4px var(--color-canvas), 0 0 0 4px color-mix(in srgb, var(--color-accent) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 4px var(--color-canvas), 0 0 0 13px color-mix(in srgb, var(--color-accent) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .wn-entry:first-child::before { animation: none; }
}

/* Desktop and tablet (the user, 2026-10-31): the entry pictures are lifted off the card, and the feature tiles
   respond to the pointer. Phones get their own layout next (planned separately; touch has no hover). */
@media (min-width: 761px) {
  /* Light: the hairline ring plus a soft drop, as cards lift. Dark: shadows vanish on navy, so the picture keeps a
     tint ring (the surface-step rule) and a deeper drop that still reads against #121e36. */
  .wn-shot { box-shadow: 0 0 0 1px rgb(var(--tint) / 0.08), 0 2px 4px rgb(var(--shade) / 0.06), 0 18px 36px -18px rgb(var(--shade) / 0.32); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wn-shot { box-shadow: 0 0 0 1px rgb(var(--tint) / 0.14), 0 18px 36px -16px rgb(0 0 0 / 0.55); } }
  :root[data-theme="dark"] .wn-shot { box-shadow: 0 0 0 1px rgb(var(--tint) / 0.14), 0 18px 36px -16px rgb(0 0 0 / 0.55); }

  /* The whole tile is the Learn more target (its button stretches over it), so the hover means what a click does.
     On hover it rises 3px onto the surface with the card's lift and the arrow steps forward; 200ms in on
     --ease-out-soft. Keyboard focus rings the whole tile. Reduced motion: the lift without the rise. */
  .wn-tile { position: relative; transition: translate .2s var(--ease-out-soft), background-color .2s var(--ease-out-soft), box-shadow .2s var(--ease-out-soft); }
  .wn-how::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .wn-tile:has(.wn-how:focus-visible) { outline: 2px solid var(--color-ink); outline-offset: 2px; }
  .wn-how:focus-visible { outline: none; }
  @media (hover: hover) and (pointer: fine) {
    .wn-tile:has(.wn-how):hover { translate: 0 -3px; background: var(--color-surface); box-shadow: var(--shadow-lift); }
    .wn-tile:has(.wn-how):hover .wn-how svg { translate: 3px 0; }
    .wn-tile:has(.wn-how):hover .wn-how { text-decoration: underline; text-underline-offset: 4px; }
  }
  @media (prefers-reduced-motion: reduce) { .wn-tile:has(.wn-how):hover { translate: none; } }
}
/* Dark: the card is already the surface, so a hovered tile steps up to sunken (#172642) instead of vanishing. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wn-tile:has(.wn-how):hover { background: var(--color-sunken); } }
  :root[data-theme="dark"] .wn-tile:has(.wn-how):hover { background: var(--color-sunken); }
}

/* Phones (round wn2, the user, 2026-10-31, from docs/whats-new-mobile-plan.md, rows chosen): Notion's What's new
   layout. No spine, nodes or cards: each version starts under a full-width hairline (--color-line, decorative, as
   Notion's 8% rule) and sits on the canvas. The header line holds the version pill, the Sample tag and, on the
   current version, a pulsing accent dot. Features are cards (round fc1, below); the whole card is Learn more. */
@media (max-width: 760px) {
  .wn-timeline::before, .wn-entry::before { display: none; }
  .wn-entry { padding: 32px 0 44px; margin: 0; border-top: 1px solid var(--color-line); row-gap: 14px; }
  :root .wn-entry .wn-card { padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .wn-entry.is-target .wn-card { animation: none; }
  .wn-card h2, .wn-big .wn-card h2 { font-size: 28px; line-height: 34px; }
  /* The current version's dot, in the header line: 10px accent, the same 2.4s pulse as on desktop. */
  .wn-entry:first-child .wn-rail::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); animation: wn-dot-pulse 2.4s ease-in-out infinite; }
  @keyframes wn-dot-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-accent) 0%, transparent); } }

  /* Feature cards (round fc1, 2026-10-31): the rules are with the round below; the tiles are cards there. */
  .wn-all { margin-top: 12px; border-radius: 0; background: none; box-shadow: 0 1px 0 var(--color-line); }
  .wn-all summary { padding: 0; }
  .wn-all .wn-changes { padding: 0 0 16px 32px; }
}

/* Press and tap (phones and tablets with touch, no hover): the press shows at once (80ms) and eases back over 200ms
   on --ease-out-soft, so a quick tap still shows. Rows step to sunken and shrink to 0.98, the arrow moves 2px;
   text buttons shrink to 0.97. Text on a pressed row: 5.33:1 light, 8.83:1 dark.
   Android's grey tap flash is off where we draw our own. Reduced motion: the colour step without the scale. */
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  :is(.wn-how, .wn-share, .wn-try, .wn-all summary) { -webkit-tap-highlight-color: transparent; }
  .wn-tile, :is(.wn-share, .wn-try) { transition: scale .2s var(--ease-out-soft), background-color .2s var(--ease-out-soft); }
  .wn-tile:has(.wn-how:active) { scale: .98; background: var(--color-sunken); transition-duration: 80ms; }
  .wn-tile:has(.wn-how:active) .wn-how svg { translate: 2px 0; }
  :is(.wn-share, .wn-try):active { scale: .97; transition-duration: 80ms; }
  @media (prefers-reduced-motion: reduce) { :is(.wn-tile, .wn-share, .wn-try):active, .wn-tile:has(.wn-how:active) { scale: none; } }
}
@media (prefers-reduced-motion: reduce) { .wn-entry:first-child .wn-rail::before { animation: none; } }

/* Round cl1 (2026-10-31, approved): Copy link swaps to Link
   copied with BeUI's Action Swap blur, measured in docs/action-swap-blur-motion.md. The label and the icon each sit
   in a slot holding both states; the old one leaves as the new one arrives, in the same place. Leaving: fade out,
   blur to 2px and shrink (label to 0.96, icon to 0.25), 160ms. Arriving: from 2px blur and 0.9 (label) or 0.25
   (icon) to sharp, 300ms; BeUI's spring there is near critically damped, so --ease-out-soft over 300ms is its CSS
   match (their exit curve is close to ours too, and CLAUDE.md says ours). Pressing shrinks the button to 0.97.
   The button keeps the wider label's width, so nothing beside it moves; BeUI glides the width of a filled pill,
   which on our text button would be invisible. Text stays --color-ink-3 in both states. Reduced motion: it swaps
   at once, no blur, scale or press. */
.wn-swap-icon, .wn-swap-label { display: inline-grid; }
.wn-swap-label { justify-items: start; }
.wn-swap-icon > span, .wn-swap-label > span { grid-area: 1 / 1; display: inline-flex; align-items: center; }
.wn-swap-icon > span:not(.is-on), .wn-swap-label > span:not(.is-on) { opacity: 0; filter: blur(2px); }
.wn-swap-icon > span:not(.is-on) { scale: .25; }
.wn-swap-label > .is-in { animation: wn-swap-in .3s var(--ease-out-soft) both; }
.wn-swap-label > .is-out { animation: wn-swap-out .16s var(--ease-out-soft) both; }
.wn-swap-icon > .is-in { animation: wn-swap-in-icon .3s var(--ease-out-soft) both; }
.wn-swap-icon > .is-out { animation: wn-swap-out-icon .16s var(--ease-out-soft) both; }
@keyframes wn-swap-in { from { opacity: 0; scale: .9; filter: blur(2px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes wn-swap-out { from { opacity: 1; scale: 1; filter: blur(0); } to { opacity: 0; scale: .96; filter: blur(2px); } }
@keyframes wn-swap-in-icon { from { opacity: 0; scale: .25; filter: blur(2px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes wn-swap-out-icon { from { opacity: 1; scale: 1; filter: blur(0); } to { opacity: 0; scale: .25; filter: blur(2px); } }
.wn-swap { transition: scale .2s var(--ease-out-soft); }
.wn-swap:active { scale: .97; transition-duration: 80ms; }
@media (prefers-reduced-motion: reduce) {
  .wn-swap-icon > *, .wn-swap-label > * { animation: none !important; }
  .wn-swap:active { scale: none; }
}

/* Round cl1, the hero (the user, 2026-10-31): under the lede, "Follow @Mimokeep" in place of the Latest pill, as
   Notion's "Follow @NotionHQ ↗": a plain link in --color-accent-ink with an out-arrow, 16px, 44px tall to tap.
   6.60:1 on the canvas by day, 8.91:1 by night. It underlines and the arrow steps up-right on hover; on touch it
   shrinks to 0.97 when pressed. For now it's a placeholder button (the "not added yet" dialog); when MimoKeep's
   X account is linked it becomes a link that opens in a new tab and says so to screen readers. */
.wn-follow { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; color: var(--color-accent-ink); font: 500 16px/1.4 var(--font-sans); text-decoration: none; transition: scale .2s var(--ease-out-soft); -webkit-tap-highlight-color: transparent; }
.wn-follow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s var(--ease-out-soft); }
@media (hover: hover) and (pointer: fine) { .wn-follow:hover { text-decoration: underline; text-underline-offset: 4px; } .wn-follow:hover svg { translate: 2px -2px; } }
.wn-follow:active { scale: .97; transition-duration: 80ms; }
@media (prefers-reduced-motion: reduce) { .wn-follow:active { scale: none; } .wn-follow svg { transition: none; } }

/* Round fc1 (2026-10-31, approved): on phones the six features are cards, after
   Mochiboard's (mochiboard.app/updates.html at 375: 18px corners, 14-15px padding, a 1.5px inset line, 12px apart,
   a faint fill), in place of rows between dividers. The fill is semi-transparent so the canvas shows through:
   white at 60% by day, at 4% by night. The line is the theme's tint at 14% by day, white at 12% by night
   (decorative; the card's Learn more names it). Learn more is a label under the description, no arrow, and the
   whole card is still its target. Text on the fill: title 16.81:1 / 15.08:1, description 6.09:1 / 9.80:1, Learn more
   6.96:1 / 8.14:1 (day / night). The press is unchanged (sunken and 0.98). */
@media (max-width: 760px) {
  .wn-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0 0; }
  .wn-tile, .wn-tile:has(.wn-how) { position: relative; padding: 14px 16px 12px; border-radius: 18px; background: rgb(255 255 255 / 0.6); box-shadow: inset 0 0 0 1.5px rgb(var(--tint) / 0.14); }
  .wn-tile::before, .wn-tile:first-child::after { display: none; }
  .wn-tile h3 { margin-bottom: 4px; }
  .wn-tile p { margin: 0; font-size: 15px; }
  /* Learn more is underlined on phones (the user, 2026-10-31), so it reads as a link without hover. */
  .wn-how { position: static; width: auto; height: auto; justify-content: flex-start; min-height: 0; margin: 10px 0 0; padding: 0; border-radius: 0; font: 600 14px/20px var(--font-sans); color: var(--color-accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .wn-how svg { display: none; }
  .wn-how::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
  .wn-how:focus-visible { outline: none; }
  .wn-tile:has(.wn-how:focus-visible) { outline: 2px solid var(--color-ink); outline-offset: 2px; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wn-tile { background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.12); }
}
@media (max-width: 760px) { :root[data-theme="dark"] .wn-tile { background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.12); } }
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  .wn-tile:has(.wn-how:active) { background: var(--color-sunken); }
}

/* Round fc1, the guide as a bottom sheet on phones (the user, 2026-10-31, approved). It slides up from the bottom
   to 72% of the screen; the grip (and the header) drag it up to 94% or down, and past 60% of the middle height, or with a quick flick down, it closes. A tap on the grip,
   or Enter on it, toggles the two heights, so dragging is never the only way (WCAG 2.5.7). Back / Next stay at the
   bottom at any height; the middle scrolls. Grip: --color-line-control, 3.62:1 on the surface by day, 4.64:1 by
   night; its target is 64 x 28. Height changes ride --ease-out-soft over 320ms; closing slides it down in 240ms.
   Reduced motion: no slide, the heights snap. Above 760px the grip and the wrapper don't show. */
.wn-sheet-grip { display: none; }
.wn-sheet-body { display: contents; }
@media (max-width: 760px) {
  .wn-guide.wn-sheet { inset: auto 0 0 0; height: var(--sheet-h, 72dvh); max-height: 94dvh; overflow: hidden; border-radius: 22px 22px 0 0; transition: height .32s var(--ease-out-soft), translate .24s var(--ease-out-soft); }
  .wn-guide.wn-sheet[open] { animation: wn-sheet-in .32s var(--ease-out-soft); }
  .wn-guide.wn-sheet.is-dragging { transition: none; }
  .wn-guide.wn-sheet.is-closing { translate: 0 100%; }
  @keyframes wn-sheet-in { from { translate: 0 100%; } }
  .wn-sheet .wn-guide-in { display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; height: 100%; padding: 0 18px 18px; }
  .wn-sheet .wn-guide-head { touch-action: none; }
  .wn-sheet-grip { display: grid; place-items: center; flex: none; width: 64px; height: 28px; margin: 0 auto -6px; padding: 0; border: 0; background: none; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent; }
  .wn-sheet-grip span { width: 36px; height: 5px; border-radius: 3px; background: var(--color-line-control); }
  .wn-sheet-grip:focus-visible { outline: 2px solid var(--color-ink); outline-offset: -2px; border-radius: 8px; }
  .wn-sheet-body { display: grid; flex: 1; min-height: 0; align-content: start; gap: 10px; overflow-y: auto; overscroll-behavior: contain; }
  .wn-sheet .wn-guide-foot { flex: none; margin-top: 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .wn-guide.wn-sheet, .wn-guide.wn-sheet[open] { transition: none; animation: none; }
}

/* Round fl2 (2026-10-31, approved): the "new" flag waves with the 404 page's
   cloth motion, without the pole or the hand (whats-new.js draws it, in the 404's units: viewBox 12 1 30 24 at
   2px per unit, so the 27 x 16 cloth is 54 x 32px). Same paper pink as before; the folds that turn away from the
   light darken, as on the 404, up to 12% ink here (the 404 goes to 20%) so "new" stays 10.72:1 at the darkest fold (9.04:1 at the 404's 20%)
   (13.58:1 on the plain pink). A hairline edge (ink at 12%) stands in for the old 1px shadow. "new" rides a path
   along the cloth's middle, so it waves with it. */
.wn-flag { display: block; overflow: visible; }
.wn-flag-fill { fill: #ffd9ec; }
.wn-flag-fold { fill: rgb(18 26 42); fill-opacity: 0; }
.wn-flag-edge { fill: none; stroke: rgb(18 26 42 / 0.12); stroke-width: .5; stroke-linejoin: round; }
.wn-flag-mid { fill: none; }
.wn-flag-word { fill: #121a2a; font: 600 7.5px/1 var(--font-serif); dominant-baseline: central; }
