/* =========================================================
   Liner — design tokens
   Paper is the base (light). Auto switches to Graphite in dark mode.
   ========================================================= */
:root {
  color-scheme: light;
  --bg: #F5F5F1;
  --bg-2: #ECECE6;
  --surface: #FFFFFF;
  --ink: #121211;
  --ink-2: #55554F;
  --ink-3: #8B8B83;
  --line: #E2E2DB;
  --line-2: #CDCDC4;
  --accent: #EE4A1E;
  --on-accent: #FFFFFF;
  --good: #1E8449;
  --warn: #B26B12;
  --bad: #C0392B;
  --c0: #EE4A1E; --c1: #2B4FD8; --c2: #1E8449; --c3: #C9971A; --c4: #8B3FA0; --c5: #0F7C86;
  --shadow: 0 1px 2px rgb(18 18 17 / .04), 0 12px 40px -16px rgb(18 18 17 / .18);
  --glass: rgb(245 245 241 / .82);

  --f-display: "Funnel Display", "Funnel Sans", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Funnel Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0D0D0C; --bg-2: #080807; --surface: #161614;
    --ink: #EDEDE7; --ink-2: #ABABA3; --ink-3: #76766F; --line: #252523; --line-2: #34342F;
    --accent: #FF6D40; --on-accent: #0D0D0C; --good: #5CD18C; --warn: #E7B24C; --bad: #FF7B6B;
    --c0: #FF6D40; --c1: #7D9BFF; --c2: #5CD18C; --c3: #E7C24C; --c4: #C98BE6; --c5: #4FC8D0;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 20px 50px -20px rgb(0 0 0 / .8);
    --glass: rgb(13 13 12 / .8);
  }
}
:root[data-theme="graphite"] {
  color-scheme: dark;
  --bg: #0D0D0C; --bg-2: #080807; --surface: #161614;
  --ink: #EDEDE7; --ink-2: #ABABA3; --ink-3: #76766F; --line: #252523; --line-2: #34342F;
  --accent: #FF6D40; --on-accent: #0D0D0C; --good: #5CD18C; --warn: #E7B24C; --bad: #FF7B6B;
  --c0: #FF6D40; --c1: #7D9BFF; --c2: #5CD18C; --c3: #E7C24C; --c4: #C98BE6; --c5: #4FC8D0;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 20px 50px -20px rgb(0 0 0 / .8);
  --glass: rgb(13 13 12 / .8);
}
:root[data-theme="cobalt"] {
  --bg: #F2F3F7; --bg-2: #E7E9F0; --surface: #FFFFFF;
  --ink: #0B0D1B; --ink-2: #4A4F67; --ink-3: #868BA3; --line: #DEE1EB; --line-2: #C6CADA;
  --accent: #2E3BFF; --on-accent: #FFFFFF; --good: #11875F; --warn: #B7700F; --bad: #C72C41;
  --c0: #2E3BFF; --c1: #FF5A36; --c2: #11875F; --c3: #D29A0C; --c4: #9A3ECF; --c5: #0B88A6;
  --shadow: 0 1px 2px rgb(11 13 27 / .05), 0 12px 40px -16px rgb(11 13 27 / .22);
  --glass: rgb(242 243 247 / .82);
}
:root[data-theme="midnight"] {
  color-scheme: dark;
  --bg: #0A0E1A; --bg-2: #060912; --surface: #111728;
  --ink: #E6EAF6; --ink-2: #A2AAC4; --ink-3: #6E7794; --line: #1D2540; --line-2: #2B3552;
  --accent: #9CB0FF; --on-accent: #0A0E1A; --good: #6FDDAE; --warn: #F2C866; --bad: #FF8E86;
  --c0: #9CB0FF; --c1: #FF9270; --c2: #6FDDAE; --c3: #F2C866; --c4: #D6A2FF; --c5: #6BD2E8;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 20px 50px -20px rgb(0 0 0 / .85);
  --glass: rgb(10 14 26 / .8);
}
:root[data-theme="mono"] {
  --bg: #FFFFFF; --bg-2: #F3F3F3; --surface: #FFFFFF;
  --ink: #000000; --ink-2: #474747; --ink-3: #8C8C8C; --line: #E8E8E8; --line-2: #CFCFCF;
  --accent: #000000; --on-accent: #FFFFFF; --good: #000000; --warn: #5C5C5C; --bad: #000000;
  --c0: #000000; --c1: #5E5E5E; --c2: #9A9A9A; --c3: #2E2E2E; --c4: #7A7A7A; --c5: #B5B5B5;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 12px 40px -16px rgb(0 0 0 / .2);
  --glass: rgb(255 255 255 / .84);
}
:root[data-theme="riso"] {
  --bg: #F6F2EE; --bg-2: #EDE7E1; --surface: #FFFDFB;
  --ink: #1C2654; --ink-2: #4D5582; --ink-3: #8C90AE; --line: #E6DFD8; --line-2: #D2C9C1;
  --accent: #EE3A97; --on-accent: #FFFFFF; --good: #00808A; --warn: #C48A00; --bad: #D8342E;
  --c0: #EE3A97; --c1: #1C2654; --c2: #00808A; --c3: #E2A600; --c4: #FF6B2C; --c5: #6A5AD6;
  --shadow: 0 1px 2px rgb(28 38 84 / .05), 0 12px 40px -16px rgb(28 38 84 / .2);
  --glass: rgb(246 242 238 / .84);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  letter-spacing: -.003em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1; outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 38%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; margin: 0; letter-spacing: -.028em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
b, strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--on-accent); }
code, .mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
code { font-size: .88em; background: var(--bg-2); padding: .12em .4em; border-radius: 5px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1em; height: 1em; flex: none; }

.label { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* =========================================================
   Header and footer
   ========================================================= */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 26px; height: 26px; }
.logo span { font: 600 22px/1 var(--f-display); letter-spacing: -.05em; }
.logo:hover svg .arm { transform: rotate(-14deg); }
.logo svg .arm { transform-origin: 24px 4px; transition: transform .4s var(--ease); }
.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__links a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; padding: 7px 11px; border-radius: 8px; }
.nav__links a:hover { color: var(--ink); background: var(--bg-2); }
.nav__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__user { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav__user:hover { border-color: var(--line-2); }
@media (max-width: 760px) { .nav__links { display: none; } .nav__inner { gap: 12px; } }

.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer__inner { max-width: var(--max); margin-inline: auto; padding: 40px var(--gutter) 48px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer__inner p { color: var(--ink-3); font-size: 14px; max-width: 30ch; margin-top: 12px; }
.footer h4 { font: 400 11.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.footer ul a, .footer ul button { color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.footer ul a:hover, .footer ul button:hover { color: var(--ink); }
.footer__base { max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__inner > :first-child { grid-column: 1 / -1; } }

/* =========================================================
   Controls
   ========================================================= */
.btn { --h: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, opacity .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .2s var(--ease); }
.btn:hover .i:last-child { transform: translateX(2px); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn--line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { background: var(--bg-2); border-color: var(--ink-3); }
.btn--quiet { background: var(--bg-2); color: var(--ink); }
.btn--quiet:hover { background: var(--line); }
.btn--sm { --h: 34px; padding: 0 14px; font-size: 14px; }
.btn--lg { --h: 50px; padding: 0 24px; font-size: 16px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .35; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 5px; }
.link:hover { text-decoration-color: currentColor; }
.link--quiet { color: var(--ink-2); font-weight: 400; }
.iconbtn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.iconbtn:hover { border-color: var(--line-2); background: var(--bg-2); }
.iconbtn svg { width: 17px; height: 17px; }

.input { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 8%, transparent); }
.input--mono { font-family: var(--f-mono); font-size: 14px; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg-2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { border: 0; background: transparent; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px var(--line); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.chip--good { color: var(--good); background: color-mix(in srgb, var(--good) 11%, transparent); }
.chip--warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.chip--bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 11%, transparent); }
.chip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot--live { position: relative; }
.dot--live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; animation: ping 2s var(--ease) infinite; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq i { width: 2.5px; height: 40%; border-radius: 1px; background: currentColor; animation: eq .95s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.65s; }

/* Record sleeves and avatars */
.sleeve { position: relative; display: block; flex: none; width: var(--s); height: var(--s); max-width: 100%; border-radius: max(3px, calc(var(--s) * .05)); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.sleeve svg, .sleeve img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sleeve img { transition: opacity .45s var(--ease); }
.sleeve[data-art] img:not(.in) { opacity: 0; }
.sleeve--round { border-radius: 50%; }
.avatar { position: relative; display: grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; background: var(--av); color: #fff; font: 500 calc(var(--s) * .36)/1 var(--f-display); letter-spacing: -.03em; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel__head h2, .panel__head h3 { font: 600 15.5px/1.3 var(--f-body); letter-spacing: -.01em; }
.panel__foot { margin-top: auto; padding-top: 4px; }
.panel--flush { padding: 0; overflow: hidden; }
.panel--sunk { background: var(--bg-2); border-color: transparent; }
.panel--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.panel--ink .muted { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.panel--ink .label { color: color-mix(in srgb, var(--bg) 55%, var(--ink)); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.c-12 { grid-column: span 12; } .c-8 { grid-column: span 8; } .c-7 { grid-column: span 7; } .c-6 { grid-column: span 6; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; }
@media (max-width: 960px) { .c-8, .c-7, .c-6, .c-5 { grid-column: span 12; } .c-4 { grid-column: span 6; } }
@media (max-width: 620px) { .c-4 { grid-column: span 12; } }

.empty { padding: 28px 8px; text-align: center; color: var(--ink-3); font-size: 14.5px; }

/* =========================================================
   Lists
   ========================================================= */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.rows li:first-child > .row { border-top: 0; }
a.row { margin-inline: -8px; padding-inline: 8px; border-radius: 8px; border-top-color: transparent; box-shadow: 0 -1px 0 var(--line); }
a.row:hover { background: var(--bg-2); }
.rows li:first-child > a.row { box-shadow: none; }
.row__t { display: grid; min-width: 0; line-height: 1.35; }
.row__t b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__t span { font-size: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__meta { font: 12.5px var(--f-mono); color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.row__meta--live { color: var(--good); }

.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rank__item { display: grid; grid-template-columns: 26px auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; color: inherit; text-decoration: none; }
a.rank__item { margin-inline: -8px; padding-inline: 8px; border-radius: 10px; transition: background-color .12s; }
a.rank__item:hover { background: var(--bg-2); }
a.rank__item:hover .rank__name b { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.rank__n { font: 12.5px var(--f-mono); color: var(--ink-3); text-align: right; }
.rank__main { display: grid; gap: 6px; min-width: 0; }
.rank__name { display: flex; gap: 6px; min-width: 0; line-height: 1.3; }
.rank__name b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank__name span { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1000; }
.rank__bar { height: 3px; border-radius: 2px; background: var(--bg-2); overflow: hidden; }
.rank__bar i { display: block; height: 100%; border-radius: 2px; background: var(--ink); transform-origin: left; animation: grow .8s var(--ease) both; }
.rank:not(.rank--rest) li:first-child .rank__bar i { background: var(--accent); }
.rank__v { font: 13px var(--f-mono); color: var(--ink-2); text-align: right; min-width: 3ch; }

/* =========================================================
   Home
   ========================================================= */
.hero { padding-block: clamp(56px, 9vw, 112px) 0; }
.hero__title { font-size: clamp(44px, 6.2vw, 92px); line-height: .98; letter-spacing: -.05em; font-weight: 500; max-width: 11ch; }
.hero__title .soft { color: var(--ink-3); }
.hero__lede { margin-top: 26px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.hero__connect { margin-top: 40px; max-width: 620px; }
.hero__alts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 14.5px; }
.hero__alts a { color: var(--ink-2); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.hero__alts a:hover { color: var(--ink); }
.returning { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: 14px; color: var(--ink-3); }
.returning a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; background: var(--surface); }
.returning a:hover { border-color: var(--line-2); }

/* Source tabs above the username field */
.srctabs { display: flex; gap: 20px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.srctabs button { position: relative; border: 0; background: none; padding: 0 0 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); }
.srctabs button:hover { color: var(--ink-2); }
.srctabs button[aria-selected="true"] { color: var(--ink); }
.srctabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }

.lookup { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; container-type: inline-size; }
.lookup__field { display: flex; align-items: center; height: 60px; padding: 0 7px 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.lookup__field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 7%, transparent); }
.lookup__prefix { font: 14px var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.lookup__input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; height: 100%; padding: 0 8px 0 1px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.lookup__input::placeholder { color: var(--ink-3); font-weight: 400; opacity: .75; }
.lookup__field .btn { --h: 46px; border-radius: 10px; }
@container (max-width: 500px) { .lookup__prefix { display: none; } }
@container (max-width: 340px) { .lookup__field .btn .i { display: none; } .lookup__field .btn { padding: 0 14px; } }
.lookup__out { min-height: 74px; }
.lookup__hint { font-size: 14px; color: var(--ink-3); padding: 2px 2px; max-width: 58ch; }
.lookup__msg { font-size: 14.5px; line-height: 1.5; padding: 13px 15px; border-radius: 12px; background: var(--bg-2); color: var(--ink-2); animation: rise .25s var(--ease); }
.lookup__msg b { color: var(--ink); }
.lookup__msg--bad { background: color-mix(in srgb, var(--bad) 9%, var(--surface)); }

.who { display: flex; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); animation: rise .28s var(--ease); }
.who__body { display: grid; gap: 1px; min-width: 0; flex: 1; }
.who__name { display: flex; gap: 8px; align-items: center; font-weight: 600; flex-wrap: wrap; }
.who__meta { font: 12.5px var(--f-mono); color: var(--ink-3); }
.health { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
.health .dot { transform: translateY(-1px); }
.health b { color: var(--ink); font-weight: 500; }
.health--live { color: var(--ink); } .health--live .dot { color: var(--good); }
.health--ok .dot { color: var(--good); }
.health--warn .dot { color: var(--warn); }
.health--bad .dot { color: var(--bad); }
.skel { display: flex; gap: 14px; align-items: center; padding: 12px; }
.skel i { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--bg-2) 20%, var(--line) 50%, var(--bg-2) 80%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }

/* Product preview */
.preview { margin-top: clamp(56px, 8vw, 96px); position: relative; }
.preview__frame { border-radius: 20px; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow); overflow: hidden; height: min(640px, 110vw); position: relative; }
.preview__bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--ink-3); }
.preview__bar b { color: var(--ink); font-weight: 500; }
.preview__body { padding: 22px; pointer-events: none; user-select: none; }
.preview__frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.preview__cta { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; }

/* Feature rows */
.section { padding-block: clamp(72px, 10vw, 128px) 0; }
.section__head { max-width: 640px; display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1.02; }
.section__head p { font-size: 18px; color: var(--ink-2); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.feature__text { display: grid; gap: 14px; align-content: start; }
.feature__text h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; }
.feature__text p { color: var(--ink-2); font-size: 16.5px; max-width: 42ch; }
.feature__vis { min-width: 0; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }

.honest { display: grid; gap: 20px; }
.honest__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.honest__nums div { display: grid; gap: 4px; }
.honest__nums b { font: 500 clamp(28px, 3.4vw, 40px)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.honest__nums span { font-size: 13.5px; color: var(--ink-3); }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-weight: 600; font-size: 15px; }
.compare thead th small { display: block; font: 400 12px var(--f-mono); color: var(--ink-3); margin-top: 3px; letter-spacing: 0; }
.compare tbody th { font-weight: 400; color: var(--ink-3); width: 190px; }
.compare td { color: var(--ink-2); }
.yes { color: var(--ink); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.yes .i { color: var(--good); }
.no { color: var(--ink-3); }

.privacy { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: var(--ink); color: var(--bg); }
.privacy h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.02; }
.privacy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.privacy li { display: grid; gap: 3px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); }
.privacy li:first-child { border-top: 0; padding-top: 0; }
.privacy li span { color: color-mix(in srgb, var(--bg) 66%, var(--ink)); font-size: 15px; }
@media (max-width: 860px) { .privacy { grid-template-columns: minmax(0, 1fr); } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 500 18px/1.35 var(--f-display); letter-spacing: -.015em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 var(--f-body); color: var(--ink-3); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 68ch; }

/* =========================================================
   App shell
   ========================================================= */
.phead { display: flex; align-items: center; gap: 18px; padding-block: clamp(28px, 4vw, 44px) 22px; flex-wrap: wrap; }
.phead__body { flex: 1; min-width: 240px; display: grid; gap: 6px; }
.phead h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }
.phead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14.5px; color: var(--ink-2); }
.phead__meta .mono { font-size: 13px; color: var(--ink-3); }
.phead__side { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 30; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs__inner { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs__inner::-webkit-scrollbar { display: none; }
.tabs a { position: relative; padding: 13px 0 14px; font-size: 15px; font-weight: 500; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink-2); }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }
.tabs a small { font: 11px var(--f-mono); color: var(--ink-3); margin-left: 5px; }

.banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--bg-2); font-size: 14.5px; margin-bottom: 16px; flex-wrap: wrap; }
.banner .link { margin-left: auto; }
.banner--warn { background: color-mix(in srgb, var(--warn) 12%, var(--surface)); }

.now { display: flex; gap: 24px; align-items: center; }
.now__body { display: grid; gap: 4px; min-width: 0; }
.now__state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 6px; }
.now__state--live { color: var(--good); }
.now__title { font: 500 clamp(26px, 3.2vw, 38px)/1.05 var(--f-display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.now__artist { font-size: 17px; color: var(--ink-2); }
.now__album { font-size: 14px; color: var(--ink-3); }
.progress { height: 3px; border-radius: 2px; background: var(--bg-2); overflow: hidden; margin-top: 12px; max-width: 280px; }
.progress i { display: block; height: 100%; background: var(--ink); border-radius: 2px; transition: width 1s linear; }
@media (max-width: 560px) { .now { flex-direction: column; align-items: flex-start; } }

.big { display: grid; gap: 6px; }
.big b { font: 500 clamp(48px, 6vw, 72px)/.9 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.big span { font-size: 14px; color: var(--ink-2); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pair > div + div { border-left: 1px solid var(--line); padding-left: 20px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stats > div { padding: 20px 22px; display: grid; gap: 6px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { font: 500 clamp(26px, 3vw, 36px)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta h2 { font-size: 24px; letter-spacing: -.03em; }
.cta p { color: var(--ink-2); margin-top: 6px; max-width: 56ch; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

.importing { display: grid; gap: 10px; }
.bar { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .3s var(--ease); }

.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed var(--line-2); border-radius: 14px; background: transparent; text-align: left; width: 100%; color: var(--ink); transition: background-color .15s, border-color .15s; }
.drop:hover, .drop.is-drag { border-color: var(--ink); background: var(--bg-2); }
.drop .i { width: 22px; height: 22px; color: var(--ink-2); }
.drop b { font-weight: 500; display: block; }
.drop small { color: var(--ink-3); font-size: 13.5px; }
.drop.is-busy { pointer-events: none; opacity: .6; }
.drop--big { flex-direction: column; justify-content: center; text-align: center; padding: 56px 20px; gap: 10px; }
.drop--big .i { width: 28px; height: 28px; }

/* Top tab */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: end; padding: 24px; }
.lead__share { display: grid; gap: 4px; text-align: right; padding-left: 24px; border-left: 1px solid var(--line); }
.lead__share b { font: 500 44px/1 var(--f-display); letter-spacing: -.04em; color: var(--accent); }
.lead__share span { font-size: 13.5px; color: var(--ink-3); max-width: 18ch; }
.lead__n { font: 12.5px var(--f-mono); color: var(--ink-3); }
.lead h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.045em; line-height: 1; margin-top: 8px; overflow-wrap: anywhere; }
.lead p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 760px) { .lead { grid-template-columns: 1fr; } .lead__share { text-align: left; border-left: 0; padding-left: 0; } }

/* Timeline */
.tl { position: relative; }
.tl__scroll { overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.tl__inner { position: relative; min-width: calc(var(--n) * 7px); }
.tl__eras { position: relative; height: 26px; margin-bottom: 10px; }
.tl__era { position: absolute; top: 0; height: 100%; border-radius: 6px; border-left: 2px solid var(--surface); font-size: 11.5px; font-weight: 500; line-height: 26px; padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); background: color-mix(in srgb, var(--era) 20%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--era) 45%, transparent); }
.tl__bars { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; gap: 2px; height: var(--h, 220px); }
.tl__bar { position: relative; height: 100%; display: flex; align-items: flex-end; border: 0; padding: 0; background: none; }
.tl__bar i { display: block; width: 100%; min-height: 1px; border-radius: 2px 2px 0 0; background: var(--line-2); transition: background-color .15s; transform-origin: bottom; animation: rise-y .7s var(--ease) both; }
.tl__bar[data-era] i { background: color-mix(in srgb, var(--era) 62%, var(--bg-2)); }
.tl--fit .tl__inner { min-width: 0; }
.tl--fit .tl__bars { gap: 1px; }
.tl__bar:hover i, .tl__bar[aria-pressed="true"] i { background: var(--accent); }
.tl__years { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.tl__years span { font: 11.5px var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.tl__tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--bg); padding: 8px 11px; border-radius: 8px; font-size: 13px; line-height: 1.35; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: var(--shadow); }
.tl__tip b { font-weight: 600; }
.tl__tip span { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }

.eras { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.era { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.era::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--era); }
.era h3 { font-size: 20px; letter-spacing: -.03em; }
.era p { font-size: 14px; color: var(--ink-2); }
.era .label { color: var(--ink-3); }

.years { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.year { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); align-content: start; }
.year__y { display: flex; justify-content: space-between; align-items: baseline; }
.year__y h3 { font-size: 30px; letter-spacing: -.04em; }
.year dl { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.year dt { font: 11px var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.year dd { margin: 1px 0 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.month { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 760px) { .month { grid-template-columns: 1fr; } }

/* Insights */
.insights { columns: 3 300px; column-gap: 16px; }
.insight { break-inside: avoid; margin-bottom: 16px; display: grid; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.insight h3 { font: 500 21px/1.22 var(--f-display); letter-spacing: -.025em; }
.insight h3 b { font-weight: 600; }
.insight p { color: var(--ink-2); font-size: 15px; }
.insight p b { color: var(--ink); font-weight: 500; }
.insight__stat { display: flex; align-items: baseline; gap: 8px; }
.insight__stat b { font: 500 44px/1 var(--f-display); letter-spacing: -.05em; color: var(--accent); }
.insight__stat span { font-size: 13.5px; color: var(--ink-3); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 48px; margin-top: 4px; }
.spark i { flex: 1; min-height: 1px; background: var(--line-2); border-radius: 1px; }
.spark i.hi { background: var(--accent); }
.spark + small { font: 11.5px var(--f-mono); color: var(--ink-3); }
.insight--feature { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.insight--feature p { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.insight--feature p b { color: var(--bg); }
.insight--feature .label { color: color-mix(in srgb, var(--bg) 55%, var(--ink)); }
.insight--feature .spark i { background: color-mix(in srgb, var(--bg) 25%, var(--ink)); }
.insight--feature .spark i.hi { background: var(--accent); }
.insight--feature .spark + small { color: color-mix(in srgb, var(--bg) 55%, var(--ink)); }

/* Clock */
.heat { display: grid; grid-template-columns: 38px repeat(24, minmax(0, 1fr)); gap: 3px; min-width: 560px; }
.heat__d { font: 11.5px/1 var(--f-mono); color: var(--ink-3); display: flex; align-items: center; }
.heat__h { font: 10.5px/1 var(--f-mono); color: var(--ink-3); text-align: center; padding-top: 6px; }
.heat__c { aspect-ratio: 1.35; border-radius: 3px; background: color-mix(in srgb, var(--accent) calc(var(--v) * 100%), var(--bg-2)); }
.heat__c[data-z] { background: var(--bg-2); }
.heat-wrap { overflow-x: auto; overflow-y: hidden; }
.legend { display: flex; align-items: center; gap: 4px; font: 11.5px var(--f-mono); color: var(--ink-3); }
.legend i { width: 14px; height: 14px; border-radius: 3px; }
.hours { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; align-items: end; height: 120px; }
.hours i { display: block; border-radius: 3px 3px 0 0; background: var(--line-2); min-height: 2px; }
.hours i.hi { background: var(--accent); }
.hours-x { display: grid; grid-template-columns: repeat(4, 1fr); font: 11px var(--f-mono); color: var(--ink-3); margin-top: 6px; }
.days { display: grid; gap: 8px; }
.days div { display: grid; grid-template-columns: 40px minmax(0, 1fr) 52px; gap: 10px; align-items: center; font-size: 13.5px; }
.days span:first-child { font-family: var(--f-mono); color: var(--ink-3); font-size: 12px; }
.days em { font-style: normal; font: 12.5px var(--f-mono); color: var(--ink-2); text-align: right; }

/* Data tab */
.source-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.source-row:first-of-type { border-top: 0; }
.source-row__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); font: 600 14px var(--f-display); }
.source-row h3 { font: 600 15.5px/1.3 var(--f-body); letter-spacing: -.01em; }
.source-row p { font-size: 14px; color: var(--ink-2); }
.source-row__act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 620px) { .source-row { grid-template-columns: auto minmax(0, 1fr); } .source-row__act { grid-column: 1 / -1; justify-content: flex-start; } }

/* =========================================================
   Connect flows
   ========================================================= */
.flow { max-width: 700px; margin-inline: auto; padding-block: clamp(28px, 5vw, 56px) 40px; display: grid; gap: 28px; }
.flow__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flow__top a { color: var(--ink-2); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-size: 14.5px; }
.flow__top a:hover { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.steps i { height: 3px; border-radius: 2px; background: var(--line); }
.steps i.done { background: var(--ink); }
.steps i.cur { background: var(--accent); }
.flow h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.045em; line-height: 1; }
.flow__lede { font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.flow__lede b { color: var(--ink); }
.flow__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.flow__note { font-size: 14px; color: var(--ink-3); }
.flow__note b { color: var(--ink-2); font-weight: 500; }

.steplist { list-style: none; margin: 0; padding: 0; display: grid; }
.steplist li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.steplist li:first-child { border-top: 0; padding-top: 0; }
.steplist .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 12px var(--f-mono); border: 1px solid var(--line-2); color: var(--ink-2); }
.steplist b { font-weight: 600; }
.steplist p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.copyline { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.copyline code { font-size: 13.5px; padding: 8px 10px; border-radius: 8px; overflow-wrap: anywhere; }

/* Mock of Last.fm's settings page */
.mock { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.mock__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font: 12px var(--f-mono); color: var(--ink-3); }
.mock__body { padding: 18px; display: grid; gap: 10px; }
.mock__tabs { display: flex; gap: 18px; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.mock__tabs b { color: var(--ink); font-weight: 600; }
.mock__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); }
.mock__row--dim { opacity: .45; }
.mock__row svg { width: 30px; height: 30px; flex: none; }
.mock__row .ph { width: 30px; height: 30px; border-radius: 50%; background: var(--line-2); flex: none; }
.mock__name { flex: 1; font-weight: 600; font-size: 14px; line-height: 1.3; }
.mock__name small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.mock__btn { position: relative; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 6px; background: #D51007; color: #fff; }
.mock__btn::after { content: ""; position: absolute; inset: -5px; border-radius: 10px; border: 2px solid var(--accent); animation: ring 1.8s var(--ease) infinite; }
.mock__row--dim .mock__btn { background: var(--line-2); color: var(--ink-2); }
.mock__row--dim .mock__btn::after { display: none; }

/* Listening detector */
.listen { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: 12px; }
.disc { position: relative; width: 168px; height: 168px; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, #141414 0 1.5px, #1F1F1E 1.5px 3.5px); box-shadow: 0 30px 50px -28px rgb(0 0 0 / .7), 0 0 0 1px var(--line); animation: spin 2.4s linear infinite; }
.disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 62%, rgb(255 255 255 / .12) 70%, transparent 78%); }
.disc::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 20px var(--accent), inset 0 0 0 22px #141414; }
.disc__hole { position: absolute; inset: calc(50% - 3px); border-radius: 50%; background: var(--bg); z-index: 1; }
.listen h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.04em; }
.listen__hint { color: var(--ink-2); max-width: 44ch; min-height: 3em; }
.listen__meta { font: 13px var(--f-mono); color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; }
.trouble { border-radius: 14px; background: var(--bg-2); padding: 20px 22px; display: grid; gap: 10px; animation: rise .3s var(--ease); }
.trouble h3 { font: 600 16px/1.3 var(--f-body); }
.trouble ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.trouble b { color: var(--ink); font-weight: 600; }
.done { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: 8px; }
.done .sleeve { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); animation: drop .6s cubic-bezier(.2, .9, .3, 1.25); }
.done h2 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -.05em; }
.done p { font-size: 18px; color: var(--ink-2); max-width: 42ch; }
.done p b { color: var(--ink); }

/* =========================================================
   Theme picker, dialog, toast
   ========================================================= */
.popover { position: absolute; top: calc(100% + 8px); right: var(--gutter); width: min(360px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 14px; z-index: 60; animation: pop .18s var(--ease); }
@media (min-width: 1280px) { .popover { right: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.theme { display: grid; gap: 7px; padding: 0; border: 0; background: none; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.theme__swatch { position: relative; height: 58px; border-radius: 10px; background: var(--tb); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); overflow: hidden; transition: box-shadow .15s; }
.theme__swatch::before { content: ""; position: absolute; left: 10px; top: 12px; width: 44%; height: 6px; border-radius: 3px; background: var(--ti); }
.theme__swatch::after { content: ""; position: absolute; left: 10px; top: 24px; width: 26%; height: 6px; border-radius: 3px; background: var(--ti); opacity: .35; }
.theme__swatch i { position: absolute; right: 10px; bottom: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--ta); }
.theme__swatch--auto { background: linear-gradient(135deg, #F5F5F1 50%, #0D0D0C 50%); }
.theme[aria-checked="true"] { color: var(--ink); }
.theme[aria-checked="true"] .theme__swatch { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.theme:hover .theme__swatch { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08), 0 0 0 3px var(--line); }
.theme[aria-checked="true"]:hover .theme__swatch { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }

.dialog { border: 1px solid var(--line); border-radius: 20px; padding: 0; background: var(--surface); color: var(--ink); width: min(500px, calc(100vw - 32px)); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgb(8 8 8 / .45); backdrop-filter: blur(3px); }
.dialog form { padding: 26px; display: grid; gap: 14px; }
.dialog h2 { font-size: 26px; letter-spacing: -.035em; }
.dialog p { color: var(--ink-2); font-size: 15px; }
.dialog__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.dialog details { font-size: 14px; color: var(--ink-2); }
.dialog summary { cursor: pointer; font-weight: 500; color: var(--ink); }
.dialog details p { margin-top: 8px; font-size: 14px; line-height: 1.8; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.is-in { animation: rise .25s var(--ease); }
.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.dropveil { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px); pointer-events: none; }
.dropveil div { border: 2px dashed var(--ink); border-radius: 24px; padding: 48px 56px; text-align: center; display: grid; gap: 8px; background: var(--surface); }
.dropveil b { font: 500 28px/1.1 var(--f-display); letter-spacing: -.03em; }
.dropveil span { color: var(--ink-2); }

/* =========================================================
   Motion
   ========================================================= */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { opacity: .8; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes rise-y { from { transform: scaleY(0); } }
@keyframes ring { 0% { opacity: .9; transform: scale(.94); } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes drop { from { opacity: 0; transform: translateY(-20px) rotate(-6deg) scale(.92); } }
.fade-in { animation: rise .35s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.subhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 44px 0 16px; }
.subhead h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.035em; }
.subhead p { margin-top: 6px; font-size: 15px; }
.grid > .subhead, .c-12 > .subhead { margin-top: 28px; }

/* Hero credits card */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: end; }
@media (min-width: 1040px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: 64px; } }
.notes { display: none; }
@media (min-width: 1040px) { .notes { display: grid; } }
.notes { gap: 16px; padding: 24px 24px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(1.2deg); transition: transform .4s var(--ease); }
.notes:hover { transform: rotate(0deg); }
.notes__head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.notes h2 { font-size: 30px; letter-spacing: -.04em; }
.notes dl { margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.notes dl div { display: grid; grid-template-columns: auto minmax(12px, 1fr) auto; gap: 8px; align-items: baseline; }
.notes dt { font: 11.5px var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.notes dl i { border-bottom: 1px dotted var(--line-2); transform: translateY(-3px); }
.notes dd { margin: 0; font-weight: 500; text-align: right; max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.notes__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.notes__covers { display: flex; }
.notes__covers .sleeve + .sleeve { margin-left: -8px; box-shadow: 0 0 0 2px var(--surface); }
.tl__era:empty { height: 6px; top: 10px; padding: 0; box-shadow: none; background: color-mix(in srgb, var(--era) 55%, var(--bg-2)); }

/* =========================================================
   Detail pages: artist, song, year
   ========================================================= */
.dhead { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); padding-block: 8px 24px; flex-wrap: wrap; }
.dhead .sleeve { box-shadow: 0 24px 50px -28px rgb(0 0 0 / .55); }
.dhead__body { display: grid; gap: 10px; min-width: 0; flex: 1; }
.dhead h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.05em; line-height: .98; overflow-wrap: anywhere; }
.dhead__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 15px; color: var(--ink-2); }
.dhead__meta a { color: var(--ink); font-weight: 500; }

.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font: 11.5px/1.6 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 500; display: grid; gap: 2px; }
.facts dd span { font-weight: 400; font-size: 14px; color: var(--ink-3); }
.facts--wide { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }
.facts--wide > div { grid-template-columns: 1fr; gap: 4px; }
.facts--wide > div:first-child { padding-top: 12px; border-top: 1px solid var(--line); }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.album { display: grid; gap: 6px; }
.album .sleeve { width: 100%; height: auto; aspect-ratio: 1; }
.album b { font-weight: 500; line-height: 1.3; }
.album span { font-size: 13.5px; color: var(--ink-3); }

.yearnav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; }
.yearnav a { font: 13px var(--f-mono); padding: 6px 11px; border-radius: 999px; color: var(--ink-2); text-decoration: none; }
.yearnav a:hover { background: var(--bg-2); color: var(--ink); }
.yearnav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.recap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.recap__lead { display: grid; gap: 14px; }
.recap h1 { font-size: clamp(88px, 16vw, 200px); line-height: .82; letter-spacing: -.07em; }
.recap p { font-size: 19px; color: var(--ink-2); max-width: 40ch; }
.recap__top { display: grid; justify-items: center; gap: 6px; text-align: center; text-decoration: none; color: inherit; }
.recap__top b { font: 500 26px/1.1 var(--f-display); letter-spacing: -.03em; }
.recap__top span:last-child { color: var(--ink-3); font-size: 14px; }
.recap__top .sleeve { margin-bottom: 10px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
@media (max-width: 760px) { .recap { grid-template-columns: 1fr; } .recap__top { justify-items: start; text-align: left; } }
.ymonths { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.ymonths > div { display: grid; gap: 6px; min-width: 0; }
.ymonths__bar { height: 130px; display: flex; align-items: flex-end; background: var(--bg-2); border-radius: 6px; overflow: hidden; }
.ymonths__bar i { width: 100%; background: var(--ink); border-radius: 6px 6px 0 0; animation: rise-y .7s var(--ease) both; transform-origin: bottom; }
.ymonths b { font: 500 12px var(--f-mono); color: var(--ink-2); }
.ymonths > div > span:last-child { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

a.era, a.year { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s var(--ease); }
a.era:hover, a.year:hover { border-color: var(--line-2); transform: translateY(-2px); }

/* On this day */
.otd { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.otd__item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: inherit; background: var(--bg); border: 1px solid var(--line); }
.otd__item:hover { border-color: var(--line-2); }
.otd__item > span { display: grid; gap: 2px; min-width: 0; }
.otd__item b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otd__item .faint { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Search */
.search { position: relative; width: min(320px, 100%); }
.search__input { width: 100%; height: 38px; padding: 0 14px 0 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.5' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3Cpath d='M10.5 10.5 14 14' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 13px 50% / 15px; font-size: 14px; }
.search__input:focus { outline: none; border-color: var(--ink); }
.search__out { position: absolute; right: 0; top: calc(100% + 6px); width: max(100%, 340px); max-width: calc(100vw - 32px); z-index: 50; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: grid; animation: pop .15s var(--ease); }
.search__out a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 9px; text-decoration: none; color: inherit; }
.search__out a:hover, .search__out a:first-child:focus-within { background: var(--bg-2); }
.search__out a > span { display: grid; min-width: 0; }
.search__out b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search__out a > span > span { font-size: 13px; color: var(--ink-3); }
.phead__side { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 700px) { .phead__side { width: 100%; justify-content: flex-start; } .search { width: 100%; } }

/* Genres */
.genres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px 32px; }
.genres li { display: grid; gap: 6px; }
.genres__top { display: flex; justify-content: space-between; gap: 12px; }
.genres__top b { font: 500 18px/1.2 var(--f-display); letter-spacing: -.02em; text-transform: capitalize; }
.genres li:first-child .rank__bar i { background: var(--accent); }
.genres__who { font-size: 13.5px; color: var(--ink-3); }

/* =========================================================
   AI panels
   ========================================================= */
.ai { position: relative; overflow: hidden; }
.ai__head { display: grid; gap: 4px; }
.ai__title { font: 500 clamp(22px, 2.4vw, 28px)/1.1 var(--f-display) !important; letter-spacing: -.03em !important; }
.ai__body { min-height: 96px; display: grid; gap: 14px; max-width: 72ch; }
.ai__wrap { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: start; }
.ai__basis { display: grid; gap: 10px; padding-left: 24px; border-left: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.ai__basis b { display: block; font: 500 20px/1.1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }
@media (max-width: 860px) { .ai__wrap { grid-template-columns: 1fr; } .ai__basis { display: none; } }
.ai__text { font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.ai__text span { display: inline; opacity: 0; filter: blur(4px); animation: word .5s var(--ease) forwards; }
.ai__foot { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 13.5px; }
.ai__error { color: var(--ink-2); font-size: 15px; }
.ai__loading { display: grid; gap: 10px; }
.ai__loading i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--bg-2) 20%, var(--line) 50%, var(--bg-2) 80%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.ai__loading i:nth-child(1) { width: 92%; } .ai__loading i:nth-child(2) { width: 78%; } .ai__loading i:nth-child(3) { width: 55%; }
.ai__loading span { font: 12px var(--f-mono); color: var(--ink-3); margin-top: 4px; }
@keyframes word { to { opacity: 1; filter: none; } }

.ask { gap: 14px; }
.ask__form { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.ask__form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 7%, transparent); }
.ask__input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 17px; height: 44px; }
.ask__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask__chips .chip { cursor: pointer; height: 32px; font-size: 13.5px; border: 0; }
.ask__chips .chip:hover { background: var(--bg-2); }
.ask__out:empty { display: none; }
.ask__out { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.ask__q { font: 500 14px/1.4 var(--f-body); color: var(--ink-3); padding-top: 10px; }

.era__name { font: 500 12.5px/1.3 var(--f-mono); color: var(--ink-2); letter-spacing: 0; animation: rise .4s var(--ease); }
.era__line { font-size: 14px; color: var(--ink-2); animation: rise .4s var(--ease); }
.toolbar__right { display: flex; gap: 10px; flex-wrap: wrap; min-width: 0; }
.range { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: -4px 0 18px; font-size: 13px; color: var(--ink-3); }
.range label { display: grid; gap: 4px; }
.range .input { height: 38px; width: auto; }
.more { display: flex; justify-content: center; padding-top: 12px; border-top: 1px solid var(--line); }

/* Mainstream score and milestones */
.ms { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.ms__score { display: grid; gap: 2px; }
.ms__score b { font: 500 72px/.9 var(--f-display); letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ms__score span { font: 12px var(--f-mono); color: var(--ink-3); }
.ms__score p { font: 500 18px/1.2 var(--f-display); margin-top: 6px; }
.ms__track { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--bg-2), color-mix(in srgb, var(--accent) 40%, var(--bg-2)), var(--accent)); }
.ms__track i { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); transform: translate(-50%, -50%); transition: left .8s var(--ease); }
.ms__ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 620px) { .ms { grid-template-columns: 1fr; gap: 16px; } }
.ms-artist { display: flex; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; color: inherit; border-top: 1px solid var(--line); }
.label + .ms-artist { margin-top: 8px; border-top: 0; }
.ms-artist > span { display: grid; min-width: 0; }
.ms-artist b { font-weight: 500; }
.ms-artist > span > span { font-size: 13px; color: var(--ink-3); }
.miles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mile { display: grid; gap: 4px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: inherit; align-content: start; transition: border-color .15s, transform .15s var(--ease); }
.mile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mile .sleeve { margin: 6px 0; }
.mile__n { font: 12px var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.mile b { font-weight: 500; line-height: 1.25; }
.mile span:not(.mile__n) { font-size: 13px; color: var(--ink-3); }

/* Compare */
.cmp-head { display: grid; gap: 14px; padding-block: clamp(32px, 5vw, 56px) 8px; max-width: 760px; }
.cmp-head h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.05em; line-height: 1; }
.cmp-form { display: grid; gap: 12px; margin-top: 8px; justify-items: start; }
.cmp-inputs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; width: 100%; }
.cmp-inputs .input { flex: 1; min-width: 180px; height: 48px; font-size: 16px; }
.cmp-inputs .btn { --h: 48px; }
.cmp-vs { font: 13px var(--f-mono); color: var(--ink-3); }
.cmp-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 24px; padding: 32px; }
.cmp-who { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.cmp-score > .cmp-who:nth-of-type(2) { flex-direction: row-reverse; text-align: right; }
.cmp-who > span { display: grid; }
.cmp-who b { font: 500 20px/1.2 var(--f-display); }
.cmp-who > span > span { font-size: 13px; color: var(--ink-3); }
.cmp-ring { --p: 0; width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--bg-2) 0); animation: pop .6s var(--ease); }
.cmp-ring > div { width: 138px; height: 138px; border-radius: 50%; background: var(--surface); display: grid; place-content: center; text-align: center; }
.cmp-ring b { font: 500 52px/1 var(--f-display); letter-spacing: -.05em; }
.cmp-ring span { font: 12px var(--f-mono); color: var(--ink-3); }
.cmp-verdict { grid-column: 1 / -1; text-align: center; display: grid; gap: 6px; }
.cmp-verdict h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.04em; }
.cmp-verdict p { color: var(--ink-2); }
@media (max-width: 700px) { .cmp-score { grid-template-columns: 1fr; justify-items: center; } .cmp-score > .cmp-who:nth-of-type(2) { flex-direction: row; text-align: left; } }
.cmp-shared { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cmp-shared li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 220px) minmax(0, 1fr); gap: 14px; align-items: center; }
.cmp-name { display: flex; gap: 10px; align-items: center; justify-content: center; min-width: 0; }
.cmp-name b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-bar { position: relative; height: 22px; display: flex; align-items: center; }
.cmp-bar i { height: 8px; border-radius: 4px; background: var(--ink); animation: grow .8s var(--ease) both; transform-origin: left; }
.cmp-bar--a { justify-content: flex-end; }
.cmp-bar--a i { background: var(--accent); transform-origin: right; }
.cmp-bar em { font: normal 12px var(--f-mono); color: var(--ink-3); margin: 0 8px; }
.cmp-bar--a em { order: -1; }
@media (max-width: 620px) { .cmp-shared li { grid-template-columns: 1fr; gap: 4px; } .cmp-name { justify-content: flex-start; } .cmp-bar--a { justify-content: flex-start; } .cmp-bar--a em { order: 1; } }

/* =========================================================
   Landing page v3
   ========================================================= */
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 22px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.hero__kicker .dot { color: var(--accent); }
.hero__title span { display: inline-block; }
.reveal-ready .hero__title[data-reveal] span { opacity: 0; transform: translateY(.35em); transition: opacity .7s var(--ease) calc(var(--i) * 55ms), transform .7s var(--ease) calc(var(--i) * 55ms); }
.reveal-ready .hero__title.is-in span { opacity: 1; transform: none; }

.reveal-ready [data-reveal]:not(.hero__title) { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.reveal-ready [data-reveal].is-in:not(.hero__title) { opacity: 1; transform: none; }
.reveal-ready .notes[data-reveal] { transform: translateY(22px) rotate(1.2deg); }
.reveal-ready .notes[data-reveal].is-in { transform: rotate(1.2deg); }
.reveal-ready .notes[data-reveal].is-in:hover { transform: rotate(0deg); }

.section--tight { padding-block: clamp(48px, 7vw, 80px) 0; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step3 { display: grid; gap: 10px; padding: 28px 28px 8px 0; align-content: start; }
.step3 + .step3 { padding-left: 28px; border-left: 1px solid var(--line); }
.step3__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--f-mono); background: var(--ink); color: var(--bg); }
.step3 h3 { font-size: 22px; letter-spacing: -.03em; }
.step3 p { color: var(--ink-2); font-size: 15.5px; max-width: 34ch; }
@media (max-width: 820px) { .steps3 { grid-template-columns: 1fr; } .step3, .step3 + .step3 { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line); } .steps3 { border-top: 0; } }

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bento__card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; overflow: hidden; transition: border-color .2s, box-shadow .3s var(--ease); }
.bento__card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.bento__card--wide { grid-column: span 2; }
.bento__card--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bento__card--ink .label { color: color-mix(in srgb, var(--bg) 55%, var(--ink)); }
.bento__text { display: grid; gap: 8px; }
.bento__text h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -.03em; line-height: 1.12; }
.bento__text p { color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.bento__vis { margin-top: auto; min-width: 0; }
.bento__vis .heat { min-width: 0; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento__card--wide { grid-column: auto; } }

.bento__quote { margin-top: auto; }
.bento__quote p { font: 400 19px/1.5 var(--f-display); letter-spacing: -.01em; min-height: 7.5em; }
.bento__quote p span { opacity: 0; animation: word .45s var(--ease) forwards; }
.seg--dark { background: color-mix(in srgb, var(--bg) 12%, var(--ink)); align-self: flex-start; }
.seg--dark button { color: color-mix(in srgb, var(--bg) 60%, var(--ink)); }
.seg--dark button:hover { color: var(--bg); }
.seg--dark button[aria-checked="true"] { background: var(--bg); color: var(--ink); box-shadow: none; }

.minicard { margin-top: auto; align-self: center; width: min(210px, 100%); aspect-ratio: 4 / 5; padding: 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-3deg); display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease); }
.bento__card:hover .minicard { transform: rotate(0deg) translateY(-4px); }
.minicard .mono { font-size: 10px; color: var(--ink-3); letter-spacing: .06em; }
.minicard b { font: 500 52px/.9 var(--f-display); letter-spacing: -.05em; }
.minicard ol { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 3px; font: 500 15px var(--f-display); }
.minicard li:first-child { color: var(--accent); }
.bento__stack { margin-top: auto; display: grid; gap: 10px; }
.minisight { padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 4px; }
.minisight p { font: 500 16px/1.3 var(--f-display); letter-spacing: -.01em; }
.miniartist { margin-top: auto; display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.miniartist > span { display: grid; }
.miniartist b { font: 500 20px/1.2 var(--f-display); }
.miniartist > span > span { font-size: 13px; color: var(--ink-3); }
.miniring { margin-top: auto; display: grid; place-items: center; }
.miniring .cmp-ring { width: 132px; height: 132px; }
.miniring .cmp-ring > div { width: 106px; height: 106px; }
.miniring .cmp-ring b { font-size: 40px; }
.minichat { margin-top: auto; display: grid; gap: 8px; }
.minichat p { padding: 10px 14px; border-radius: 14px; font-size: 14.5px; max-width: 90%; }
.minichat__q { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.minichat__a { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.minims { margin-top: auto; padding-bottom: 6px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 24px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg) translate(1px, -2px); }

.compare--vs { min-width: 520px; }
.compare--vs td:nth-child(2) { background: color-mix(in srgb, var(--good) 6%, transparent); }
.compare--vs thead th:nth-child(2) { color: var(--ink); }

.final { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 58%; transform: translateX(-50%); border-radius: 50%; background: repeating-radial-gradient(circle, var(--line) 0 1px, transparent 1px 12px); opacity: .7; pointer-events: none; mask-image: radial-gradient(circle, #000 20%, transparent 62%); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 62%); }
.final > * { position: relative; }
.final h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.05em; line-height: 1; }
.final p { color: var(--ink-2); font-size: 18px; }
.final #final-lookup { width: min(560px, 100%); text-align: left; margin-top: 10px; }
