:root {
  color-scheme: light;
  --base-h: 266; --base-s: 22%; --accent-h: 266; --accent-s: 36%;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --ease: cubic-bezier(.2, 0, .38, .9);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --canvas: hsl(var(--base-h) var(--base-s) 97%);
  --paper: hsl(var(--base-h) 22% 99.5%);
  --surface: hsl(var(--base-h) 24% 99%);
  --surface-soft: hsl(var(--base-h) 25% 97.8%);
  --surface-row: hsl(var(--base-h) 27% 98.5%);
  --ink: hsl(var(--base-h) 16% 20%);
  --muted: hsl(var(--base-h) 9% 43%);
  --accent: hsl(var(--accent-h) var(--accent-s) 34%);
  --accent-hover: hsl(var(--accent-h) var(--accent-s) 30%);
  --accent-ink: hsl(var(--accent-h) var(--accent-s) 30%);
  --tint: hsl(var(--accent-h) 37% 94%);
  --tint-strong: hsl(var(--accent-h) 33% 89%);
  --border: hsl(var(--base-h) 19% 86%);
  --border-soft: hsl(var(--base-h) 20% 91%);
  --border-hover: hsl(var(--accent-h) 27% 68%);
  --header-a: hsl(var(--accent-h) var(--accent-s) 27%);
  --header-b: hsl(var(--accent-h) var(--accent-s) 34%);
  --header-text: #fff;
  --header-quiet: hsl(var(--accent-h) 38% 92%);
  --shadow: 0 8px 32px hsl(var(--base-h) 24% 25% / .045), 0 1px 3px hsl(var(--base-h) 24% 25% / .025);
  --shadow-hover: 0 8px 20px hsl(var(--base-h) 24% 25% / .09);
  --backdrop: hsl(var(--base-h) 22% 10% / .52);
  --free-bg: #edf5ee; --free-ink: #345c3e; --free-edge: #bdd4c3;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background: var(--canvas); color: var(--ink);
}
:root[data-palette="indigo"] { --base-h: 232; --base-s: 24%; --accent-h: 233; --accent-s: 47%; }
:root[data-palette="petroleum"] { --base-h: 194; --base-s: 24%; --accent-h: 177; --accent-s: 42%; }
:root[data-palette="graphite"] { --base-h: 230; --base-s: 5%; --accent-h: 36; --accent-s: 48%; }
:root[data-palette="sand"] { --base-h: 36; --base-s: 30%; --accent-h: 211; --accent-s: 39%; }
:root[data-palette="sage"] { --base-h: 103; --base-s: 18%; --accent-h: 99; --accent-s: 28%; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: hsl(var(--base-h) var(--base-s) 8.5%);
  --paper: hsl(var(--base-h) 13% 11.5%);
  --surface: hsl(var(--base-h) 13% 13%);
  --surface-soft: hsl(var(--base-h) 13% 15%);
  --surface-row: hsl(var(--base-h) 13% 16.5%);
  --ink: hsl(var(--base-h) 19% 94%);
  --muted: hsl(var(--base-h) 9% 71%);
  --accent: hsl(var(--accent-h) 47% 75%);
  --accent-hover: hsl(var(--accent-h) 48% 82%);
  --accent-ink: hsl(var(--accent-h) 45% 79%);
  --tint: hsl(var(--accent-h) 21% 22%);
  --tint-strong: hsl(var(--accent-h) 23% 29%);
  --border: hsl(var(--base-h) 13% 27%);
  --border-soft: hsl(var(--base-h) 12% 21%);
  --border-hover: hsl(var(--accent-h) 27% 49%);
  --header-a: hsl(var(--accent-h) 27% 27%);
  --header-b: hsl(var(--accent-h) 29% 34%);
  --header-text: hsl(var(--accent-h) 25% 97%);
  --header-quiet: hsl(var(--accent-h) 25% 87%);
  --shadow: 0 8px 32px #00000018, 0 1px 3px #00000012;
  --shadow-hover: 0 8px 22px #00000030;
  --backdrop: #08090ed0;
  --free-bg: #23372b; --free-ink: #c2e2c9; --free-edge: #3e6048;
}
* { box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--canvas); touch-action: manipulation; transition: background-color .28s var(--ease), color .22s var(--ease); }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
button, a, summary { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--accent); }
button { cursor: pointer; }
.page { display: flex; flex-direction: column; width: min(100%, 1240px); min-height: 100svh; margin-inline: auto; }
.hero {
  position: relative; flex: none; width: 100vw; margin-inline: calc(50% - 50vw);
  padding: 48px 24px 38px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--tint), transparent 76%), var(--paper);
  border-bottom: 1px solid var(--border-soft);
}
.hero-mark { position: absolute; top: 24px; left: 50%; width: 28px; height: 3px; border-radius: 4px; background: var(--accent); transform: translateX(-50%); }
.eyebrow { margin: 0 0 12px; color: var(--accent-ink); font-size: .69rem; font-weight: 750; letter-spacing: .16em; line-height: 1.5; }
h1 { margin: 0; color: var(--ink); font-size: clamp(1.8rem, 3.8vw, 2.65rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 750; text-wrap: balance; }
.subtitle { max-width: 810px; margin: 16px auto 0; color: var(--muted); font-size: clamp(.87rem, 1.4vw, .97rem); line-height: 1.65; text-wrap: balance; }
.columns {
  flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; align-items: start;
  gap: 28px; width: 100%; padding: 48px clamp(20px, 4vw, 48px);
}
.column { min-width: 0; padding: 5px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); text-align: center; transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .2s var(--ease); }
.column-fold { min-width: 0; border-radius: 16px; }
summary { list-style: none; user-select: none; cursor: pointer; }
summary::marker { content: ""; }
summary::-webkit-details-marker { display: none; }
.column-title { position: relative; display: grid; place-items: center; width: 100%; min-height: 92px; margin: 0; padding: 20px 24px; overflow: hidden; border: 0; border-radius: 16px; background: linear-gradient(125deg, var(--header-a), var(--header-b)); color: var(--header-text); font-size: 1.04rem; line-height: 1.3; font-weight: 760; letter-spacing: .01em; transition: filter .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.column-title::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, #ffffff0a, #ffffff00 65%); pointer-events: none; }
.column-title:hover { filter: brightness(1.07); box-shadow: 0 4px 14px hsl(var(--accent-h) 32% 20% / .13); }
.column-title:active { transform: scale(.995); }
.column-title:focus-visible { outline-offset: -5px; outline-color: #fff; }
.column-heading { display: grid; justify-items: center; gap: 4px; }
.column-title > .column-heading { display: grid; }
.column-title small { color: var(--header-quiet); font-size: .75rem; line-height: 1.4; font-weight: 550; letter-spacing: .045em; }
.column-body { padding: 20px 11px calc(12px + 2 * var(--balance-space, 0px)); }
.intro { display: grid; place-items: center; min-height: 44px; max-width: 52ch; margin: 0 auto 20px; padding-inline: 8px; color: var(--muted); font-size: .79rem; line-height: 1.6; text-wrap: balance; }
.subsections { display: grid; gap: 16px; }
.subsection { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-soft); transition: border-color .2s var(--ease), background-color .25s var(--ease); }
.subsection[open] { border-color: var(--border); }
.group-title { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 8px; align-items: center; min-height: 56px; padding: 12px; color: var(--accent-ink); transition: background-color .16s var(--ease); }
.group-title:hover { background: var(--tint); }
.group-title:active { background: var(--tint-strong); }
.group-number { display: grid; place-items: center; width: 28px; height: 26px; border-radius: 8px; background: var(--tint); color: var(--accent-ink); font-size: .62rem; font-weight: 760; }
.group-name { font-size: .74rem; line-height: 1.5; letter-spacing: .045em; font-weight: 750; text-align: center; text-transform: uppercase; text-wrap: balance; }
.group-chevron { justify-self: center; width: 8px; height: 8px; margin-top: -4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .24s var(--ease); }
.subsection[data-expanded="true"] > .group-title > .group-chevron { transform: translateY(4px) rotate(225deg); }
.group-body { padding: 0 12px 14px; }
.group-note { max-width: 52ch; margin: 0 auto 14px; padding: 0 6px; color: var(--muted); font-size: .78rem; line-height: 1.6; text-wrap: balance; }
.entries { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.entries > li { min-width: 0; }
.entry { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: stretch; width: 100%; min-height: 68px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-row); color: var(--ink); text-align: center; transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.code { display: grid; place-items: center; align-self: stretch; padding: 12px 0; border-right: 2px solid hsl(var(--accent-h) 30% 64%); background: var(--tint); color: var(--accent-ink); font-size: 1.35rem; line-height: 1; font-weight: 730; transition: background-color .2s var(--ease); }
.entry-copy { display: grid; align-content: center; gap: 3px; min-width: 0; padding: 12px 8px; }
.entry-title { margin: 0; font-size: .90rem; line-height: 1.35; font-weight: 710; letter-spacing: -.015em; text-wrap: balance; }
.entry-detail { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.5; text-wrap: balance; }
.entry-action { display: grid; place-items: center; color: var(--accent-ink); opacity: .7; transition: opacity .18s var(--ease), transform .22s var(--ease); }
.entry-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .entry:hover { transform: translateY(-2px); border-color: var(--border-hover); background: var(--surface); box-shadow: var(--shadow-hover); } .entry:hover .entry-action { opacity: 1; transform: translate(1px, -1px); } }
.entry:active { transform: translateY(0) scale(.994); background: var(--tint); box-shadow: none; }
.shorts .entry { min-height: 58px; }
.shorts .code { font-size: 1.18rem; padding-block: 10px; }
.shorts .entry-copy { padding-block: 10px; }
.shorts .entry-title { font-size: .83rem; }
.shorts .entry-detail { font-size: .68rem; }
.column-fold.is-animating, .subsection.is-animating { overflow: clip; }
.column-fold.is-animating > .column-body, .subsection.is-animating > .group-body { will-change: opacity; }

/* Both dialogs share the same rhythm, surfaces and focus treatment. */
dialog { position: fixed; width: min(620px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--border); border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 32px 100px #00000030, 0 1px 0 #ffffff18 inset; overscroll-behavior: contain; }
dialog::backdrop { background: var(--backdrop); backdrop-filter: blur(7px); animation: backdrop-in .22s var(--ease) both; }
dialog.is-closing::backdrop { animation: backdrop-out .16s var(--ease) both; }
.dialog-panel { position: relative; padding: 36px 32px 28px; }
.dialog-close { position: absolute; z-index: 1; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border-soft); border-radius: 50%; background: var(--surface-soft); color: var(--muted); font-size: 1.25rem; line-height: 1; transition: color .18s, background-color .18s, transform .18s; }
.dialog-close:hover { background: var(--tint); color: var(--accent-ink); transform: rotate(5deg); }
.dialog-close:active { transform: scale(.94); }
.dialog-eyebrow { margin: 4px 30px 10px; color: var(--accent-ink); font-size: .64rem; letter-spacing: .12em; line-height: 1.5; font-weight: 750; text-align: center; }
.dialog-title { margin: 0; padding: 0 20px; color: var(--ink); font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 730; text-align: center; text-wrap: balance; }
.dialog-title:focus { outline: none; }
.dialog-subtitle { margin: 10px auto 0; max-width: 49ch; color: var(--muted); font-size: .82rem; line-height: 1.6; text-align: center; text-wrap: balance; }
.availability-note { margin: 24px 0 16px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); color: var(--muted); font-size: .78rem; line-height: 1.65; text-align: center; }
.availability-note.free { border-color: var(--free-edge); background: var(--free-bg); color: var(--free-ink); }
.link-list { display: grid; gap: 10px; }
.watch-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-row); color: var(--ink); text-decoration: none; transition: transform .18s var(--ease), border-color .18s, background-color .18s, box-shadow .18s; }
.watch-link:hover { transform: translateY(-2px); border-color: var(--border-hover); background: var(--surface); box-shadow: var(--shadow-hover); }
.watch-link:active { transform: scale(.994); }
.watch-link-copy { display: grid; gap: 5px; min-width: 0; }
.watch-link-title { font-size: .82rem; font-weight: 710; line-height: 1.4; }
.watch-link-detail { color: var(--muted); font-size: .72rem; line-height: 1.55; }
.watch-badge { padding: 5px 8px; border-radius: 7px; background: var(--tint); color: var(--accent-ink); font-size: .58rem; line-height: 1.4; font-weight: 750; white-space: nowrap; }
.watch-badge.free { background: var(--free-bg); color: var(--free-ink); }
.dialog-footnote { margin: 18px auto 0; max-width: 56ch; color: var(--muted); font-size: .67rem; line-height: 1.65; text-align: center; }
.themes-dialog { width: min(700px, calc(100vw - 40px)); }
.themes-dialog .dialog-panel { padding: 36px 32px 24px; }
.appearance-section { margin: 26px 0 0; padding: 0; border: 0; }
.appearance-section legend { width: 100%; margin-bottom: 12px; color: var(--ink); font-size: .75rem; font-weight: 710; text-align: center; }
.mode-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--border-soft); border-radius: 13px; background: var(--surface-soft); }
.mode-option { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 10px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font-size: .77rem; font-weight: 620; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s; }
.mode-option svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mode-option:hover { color: var(--ink); background: var(--tint); }
.mode-option[aria-pressed="true"] { border-color: var(--border); background: var(--paper); color: var(--accent-ink); box-shadow: 0 2px 6px #00000008; }
.mode-hint { margin: 10px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.5; text-align: center; }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.theme-option { position: relative; display: grid; gap: 10px; width: 100%; padding: 8px 8px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--ink); transition: border-color .18s, box-shadow .18s, transform .18s; }
.theme-option:hover { transform: translateY(-2px); border-color: var(--border-hover); box-shadow: var(--shadow-hover); }
.theme-option:active { transform: scale(.98); }
.theme-option[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.theme-option-name { font-size: .72rem; line-height: 1.4; font-weight: 660; text-align: center; }
.theme-preview { --p-light: 97%; --p-paper: 100%; --p-border: 86%; --p-tint: 90%; display: grid; gap: 6px; height: 88px; padding: 10px; overflow: hidden; border: 1px solid hsl(var(--p-h) 18% var(--p-border)); border-radius: 9px; background: hsl(var(--p-h) var(--p-s) var(--p-light)); }
:root[data-theme="dark"] .theme-preview { --p-light: 12%; --p-paper: 18%; --p-border: 29%; --p-tint: 29%; }
.preview-header { display: block; height: 17px; border-radius: 4px; background: hsl(var(--p-a) var(--p-as) 42%); }
.preview-row { display: grid; grid-template-columns: 15px 1fr; align-items: center; gap: 8px; height: 16px; overflow: hidden; border-radius: 4px; background: hsl(var(--p-h) 18% var(--p-paper)); }
.preview-row i { align-self: stretch; background: hsl(var(--p-a) 30% var(--p-tint)); }
.preview-row b { width: 68%; height: 3px; border-radius: 2px; background: hsl(var(--p-a) 23% 59% / .6); }
.theme-check { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 19px; height: 19px; border: 2px solid var(--surface); border-radius: 50%; background: var(--accent); color: var(--paper); opacity: 0; transform: scale(.7); transition: opacity .16s, transform .2s var(--ease-out); }
.theme-check svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-option[aria-pressed="true"] .theme-check { opacity: 1; transform: scale(1); }
.appearance-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border-soft); }
.text-button, .primary-button { min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 11px; font-size: .75rem; font-weight: 680; transition: background-color .18s, transform .18s; }
.text-button { padding-inline: 4px; background: transparent; color: var(--muted); }
.text-button:hover { color: var(--accent-ink); }
.primary-button { min-width: 108px; background: var(--accent); color: var(--paper); }
.primary-button:hover { background: var(--accent-hover); }
.primary-button:active { transform: scale(.97); }
.gesture-note { margin-top: 18px; color: var(--muted); font-size: .65rem; line-height: 1.6; text-align: center; }
kbd { font: inherit; font-weight: 650; }

/* Pointer feedback is separate from controls and never intercepts scrolling. */
.theme-hold-feedback { --hold-progress: 0%; position: fixed; z-index: 10000; left: var(--hold-x, 50%); top: var(--hold-y, 50%); display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 92px; height: 44px; padding: 8px 14px 8px 10px; border: 1px solid var(--border-hover); border-radius: 30px; background: var(--paper); color: var(--accent-ink); box-shadow: 0 8px 28px #0000001c; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 18px)) scale(.92); transition: opacity .14s ease, transform .2s var(--ease-out), border-color .2s; }
.theme-hold-feedback.is-visible { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }
.theme-hold-ring { position: relative; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: conic-gradient(var(--accent) var(--hold-progress), var(--border-soft) 0); }
.theme-hold-ring::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--paper); }
.hold-icon { position: relative; z-index: 1; display: grid; place-items: center; }
.hold-icon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-hold-label { min-width: 32px; font-size: .69rem; line-height: 1; font-weight: 720; white-space: nowrap; }
.theme-hold-feedback[data-action="themes"] { min-width: 134px; border-color: var(--accent); }
.theme-hold-feedback[data-action="themes"] .theme-hold-ring { outline: 1px solid var(--border-hover); outline-offset: 3px; background: conic-gradient(var(--accent) var(--hold-progress), var(--border-soft) 0); }
.theme-hold-feedback[data-action="themes"] .theme-hold-ring::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--border); border-radius: 50%; }
.theme-hold-feedback[data-action="themes"] .hold-icon svg { width: 11px; height: 11px; }
.theme-hold-feedback.is-complete .theme-hold-ring { background: var(--accent); }
.theme-hold-feedback.is-complete .theme-hold-ring::before { background: var(--accent); }
.theme-hold-feedback.is-complete .hold-icon { color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .hero > :not(.hero-mark) { animation: page-in .5s var(--ease-out) both; } .column { animation: page-in .55s var(--ease-out) .07s both; } .column:nth-child(2) { animation-delay: .13s; } }
@media (min-width: 821px) and (max-height: 800px) {
  .themes-dialog .dialog-panel { padding: 28px 28px 20px; }
  .themes-dialog .dialog-eyebrow { margin-bottom: 8px; }
  .themes-dialog .dialog-title { font-size: 1.6rem; }
  .themes-dialog .dialog-subtitle { margin-top: 8px; }
  .themes-dialog .appearance-section { margin-top: 18px; }
  .themes-dialog .appearance-section legend { margin-bottom: 10px; }
  .themes-dialog .theme-preview { height: 62px; padding: 8px; gap: 4px; }
  .themes-dialog .preview-header { height: 12px; }
  .themes-dialog .preview-row { height: 10px; }
  .themes-dialog .theme-option { padding: 7px 7px 10px; gap: 8px; }
  .themes-dialog .appearance-actions { margin-top: 18px; padding-top: 16px; }
  .themes-dialog .gesture-note { margin-top: 12px; }
}
@media (max-width: 820px) {
  .columns { grid-template-columns: 1fr; gap: 20px; padding: 32px clamp(16px, 6vw, 48px); }
  .hero { padding: 44px 24px 30px; }
  h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .subtitle { max-width: 58ch; }
  .column-body { padding: 20px 12px 12px; }
  .column-title { min-height: 86px; }
}
@media (max-width: 480px) {
  .hero { padding: 44px 22px 28px; }
  .eyebrow { font-size: .60rem; letter-spacing: .13em; }
  .subtitle { margin-top: 14px; font-size: .80rem; line-height: 1.65; }
  .columns { padding: 28px 14px; gap: 20px; }
  .column { border-radius: 20px; padding: 4px; }
  .column-title { min-height: 86px; padding: 18px 14px; font-size: .96rem; }
  .column-title small { font-size: .67rem; }
  .column-body { padding: 16px 7px 8px; }
  .intro { font-size: .75rem; margin-bottom: 16px; }
  .group-title { padding: 10px; grid-template-columns: 28px minmax(0,1fr) 28px; }
  .group-name { font-size: .61rem; letter-spacing: .035em; }
  .group-body { padding: 0 8px 10px; }
  .group-note { padding: 0 2px; font-size: .69rem; }
  .entry { grid-template-columns: 40px minmax(0,1fr) 40px; min-height: 66px; border-radius: 10px; }
  .code { font-size: 1.2rem; }
  .entry-copy { padding: 10px 6px; }
  .entry-title { font-size: .80rem; }
  .entry-detail { font-size: .70rem; }
  .shorts .entry { min-height: 58px; }
  .shorts .entry-title { font-size: .77rem; }
  .shorts .entry-detail { font-size: .67rem; }
  .shorts .code { font-size: 1.1rem; }
  dialog, .themes-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .dialog-panel, .themes-dialog .dialog-panel { padding: 36px 18px 22px; }
  .dialog-close { top: 12px; right: 12px; width: 32px; height: 32px; }
  .dialog-title { padding-inline: 18px; }
  .dialog-subtitle { font-size: .76rem; }
  .theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .theme-preview { height: 80px; }
  .theme-option-name { font-size: .68rem; }
  .appearance-section { margin-top: 22px; }
  .watch-link { grid-template-columns: 1fr; gap: 10px; padding: 14px; text-align: center; }
  .watch-badge { justify-self: center; }
  .mode-option { gap: 6px; font-size: .70rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .entry:hover, .theme-option:hover, .watch-link:hover { transform: none; }
}
@media print { .page { display:block; min-height:0; } .hero { width:100%; margin:0; } .columns { display:grid; grid-template-columns:1fr 1fr; padding:24px; } dialog, .theme-hold-feedback { display:none !important; } }
