/* Wrapped for Discord: shared styles (chapter bands, charts, story player) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
/* Layout: a vertical story of full-bleed chapter bands, each with its own ground colour; content sits in a 1120px inner wrapper. Single committed look (no light/dark switch). */
:root {
  --ink: #13111f;
  --ink-2: #1c1930;
  --ink-3: #2a2644;
  --paper: #f4f2fb;
  --paper-dim: rgba(244, 242, 251, .68);
  --paper-faint: rgba(244, 242, 251, .14);
  --tomato: #ff5b3d;
  --night: #0b1433;
  --moon: #ffe6a1;
  --pink: #ff9fc8;
  --teal: #0c5f53;
  --mint: #9ff0d3;
  --butter: #ffd84e;
  --lilac: #bba9ff;
  --cobalt: #2f48f5;
  --plum: #2e1838;
  --rose: #ff8fb1;
  --cool: #e9ecf6;
  --amber-band: #ffb23f;
  --cat-1: #3987e5; --cat-2: #d95926; --cat-3: #199e70;
  --amber-1: #3c3122; --amber-2: #6b5323; --amber-3: #a27b1f; --amber-4: #dca621; --amber-5: #ffd84e;
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --step--1: .8rem; --step-0: 1.02rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: clamp(1.9rem, 4vw, 2.6rem);
  --step-4: clamp(2.4rem, 6.5vw, 4.4rem); --step-5: clamp(3.2rem, 11vw, 8.4rem);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--ink); color: var(--paper); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; overflow: hidden; }
.band > .wrap { display: grid; gap: 2.25rem; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -.02em; line-height: .98; }
h2 { font-size: var(--step-4); font-variation-settings: "wdth" 85; }
h3 { font-size: var(--step-2); line-height: 1.1; }
p { margin: 0; max-width: 62ch; }
.eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.lede { font-size: var(--step-1); line-height: 1.45; max-width: 52ch; }
.mega { font-family: var(--f-display); font-size: var(--step-5); font-weight: 800; line-height: .86; letter-spacing: -.045em; font-variation-settings: "wdth" 80, "opsz" 96; }
.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { opacity: .72; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 2rem 3rem; align-items: start; }
.grid-2 > * { min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.5rem 2rem; }
.fact { display: grid; gap: .25rem; align-content: start; border-top: 2px solid currentColor; padding-top: .9rem; }
.fact b { font-family: var(--f-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 750; line-height: 1; letter-spacing: -.03em; font-variation-settings: "wdth" 85; }
.fact span { font-size: .95rem; opacity: .85; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--f-mono); font-size: .8rem; padding: .35rem .7rem; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; }
.callout { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.05; font-weight: 650; letter-spacing: -.02em; max-width: 26ch; font-variation-settings: "wdth" 90; }
.note { font-size: .85rem; opacity: .7; max-width: 70ch; }

/* top bar */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(19, 17, 31, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-faint); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; min-width: 0; }
.brand img { width: 28px; height: 28px; border-radius: 50%; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg { display: inline-flex; border: 1.5px solid var(--paper-faint); border-radius: 999px; padding: 3px; gap: 2px; flex-shrink: 0; }
.seg button { font: 600 .82rem var(--f-mono); color: var(--paper); background: transparent; border: 0; border-radius: 999px; padding: .4rem .85rem; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.seg button:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--butter); outline-offset: 2px; }

/* hero */
.hero { background: var(--ink); padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.hero-top { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-top img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--tomato); }
.hero h1 { font-size: var(--step-5); font-weight: 800; line-height: .88; letter-spacing: -.032em; font-variation-settings: "wdth" 78, "opsz" 96; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--tomato); }
.hero .ticker { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--f-mono); font-size: .85rem; color: var(--paper-dim); }
.hero .facts { color: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln { display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero h1 .ln:nth-child(2) { animation-delay: .08s; } .hero h1 .ln:nth-child(3) { animation-delay: .16s; }
  @keyframes rise { from { transform: translateY(.35em); opacity: .001; } to { transform: none; opacity: 1; } }
}

/* streak */
.streak { background: var(--ink-2); }
.cal-scroll { overflow-x: auto; padding-bottom: .5rem; }
.cal-year { display: grid; grid-template-columns: 3.2rem 1fr; align-items: start; gap: .5rem; min-width: 620px; }
.cal-year + .cal-year { margin-top: .9rem; }
.cal-year .yr { font-family: var(--f-mono); font-size: .8rem; color: var(--paper-dim); padding-top: 14px; }
.cal-year svg { width: 100%; height: auto; display: block; }
.legend { display: flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .75rem; color: var(--paper-dim); flex-wrap: wrap; }
.legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }

/* messages */
.msgs { background: var(--tomato); color: var(--ink); }
.msgs .fact { border-color: var(--ink); }
.yoy { display: grid; gap: .6rem; }
.yoy-row { display: grid; grid-template-columns: 3.5rem 1fr 6.5rem; align-items: center; gap: .75rem; font-family: var(--f-mono); font-size: .85rem; }
.yoy-row .bar { height: 14px; background: var(--ink); border-radius: 0 4px 4px 0; }
.yoy-row .v { text-align: right; }
.panel { background: var(--ink); color: var(--paper); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; display: grid; gap: .7rem; }
.segbar { display: flex; gap: 2px; height: 28px; border-radius: 4px; overflow: hidden; }
.segbar div { display: flex; align-items: center; padding-left: .5rem; font: 600 .78rem var(--f-mono); white-space: nowrap; overflow: visible; }
.seg-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .85rem; margin-top: .6rem; }
.seg-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.seg-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--f-mono); font-size: 11px; }
details.table { font-size: .85rem; }
details.table summary { cursor: pointer; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
details.table table { border-collapse: collapse; margin-top: .6rem; font-variant-numeric: tabular-nums; }
details.table td, details.table th { padding: .2rem .9rem .2rem 0; text-align: left; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 18%, transparent); }
.tbl-scroll { overflow-x: auto; }

/* night */
.night { background: var(--night); color: var(--paper); }
.night .accent { color: var(--moon); }
.dayline { display: grid; gap: .5rem; }
.dayline .track { position: relative; height: 40px; border-radius: 6px; background: rgba(255, 230, 161, .08); overflow: hidden; }
.dayline .on { position: absolute; top: 0; bottom: 0; background: rgba(255, 230, 161, .85); }
.dayline .ticks { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .72rem; color: var(--paper-dim); }
.clock-wrap { display: grid; place-items: center; }
.clock-wrap svg { width: min(100%, 420px); height: auto; }

/* people */
.people { background: var(--pink); color: var(--ink); }
.people .fact { border-color: var(--ink); }
.rank { display: grid; gap: .35rem; }
.rank-row { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: center; gap: .2rem .8rem; padding: .55rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.rank-row .n { font-family: var(--f-mono); font-size: .8rem; opacity: .7; }
.rank-row .who { min-width: 0; display: grid; gap: .3rem; }
.rank-row .who strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 650; line-height: 1.1; overflow-wrap: anywhere; }
.rank-row .who small { font-family: var(--f-mono); font-size: .72rem; opacity: .75; overflow-wrap: anywhere; }
.rank-row .bar { height: 10px; border-radius: 0 4px 4px 0; background: currentColor; min-width: 2px; }
.rank-row .val { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: .9rem; text-align: right; display: grid; justify-items: end; gap: .2rem; }
.rank-row .val svg { display: block; }
.top-person { display: grid; gap: .6rem; }
.top-person .big { font-family: var(--f-display); font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; font-variation-settings: "wdth" 80; overflow-wrap: anywhere; }

/* servers */
.servers { background: var(--teal); color: var(--mint); }
.servers h2, .servers .callout { color: #e9fff6; }
.servers .fact { border-color: var(--mint); }
.servers .rank-row .bar { background: var(--mint); }
.eras { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 2px; border-radius: 6px; overflow: hidden; }
.era { background: rgba(159, 240, 211, .1); padding: .7rem .8rem; display: grid; gap: .2rem; min-width: 0; }
.era .m { font-family: var(--f-mono); font-size: .72rem; opacity: .8; }
.era .s { font-family: var(--f-display); font-weight: 650; font-size: 1rem; line-height: 1.15; overflow-wrap: anywhere; color: #e9fff6; }
.era .c { font-family: var(--f-mono); font-size: .72rem; }
.era.alt { background: rgba(159, 240, 211, .2); }
.owned { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 1000px) { .owned { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.srv { display: grid; grid-template-columns: 56px 1fr; gap: .9rem; align-items: center; padding: 1rem; border-radius: 14px; background: rgba(0, 0, 0, .22); }
.srv img, .srv .ph { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: rgba(159, 240, 211, .2); }
.srv strong { font-family: var(--f-display); font-size: 1.1rem; color: #e9fff6; display: block; line-height: 1.15; }
.srv small { font-family: var(--f-mono); font-size: .72rem; display: block; margin-top: .2rem; }

/* words */
.words { background: var(--butter); color: var(--ink); }
.words .fact { border-color: var(--ink); }
.cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .9rem; line-height: 1; }
.cloud span { font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; cursor: default; font-variation-settings: "wdth" 80; }
.cloud span.lite { font-weight: 400; }
.cloud span:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.phrases .chip { border-color: var(--ink); font-size: .85rem; }

/* emoji */
.emoji { background: var(--lilac); color: var(--ink); }
.emoji .fact { border-color: var(--ink); }
.emo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
#emo-used { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 900px) { #emo-used { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.emo { display: grid; justify-items: center; gap: .2rem; padding: .8rem .4rem; border-radius: 14px; background: rgba(255, 255, 255, .35); text-align: center; min-width: 0; }
.emo .g { font-size: 2.3rem; line-height: 1.1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.emo img { width: 40px; height: 40px; object-fit: contain; }
.emo .k { font-family: var(--f-mono); font-size: .8rem; font-weight: 600; }
.emo .t { font-family: var(--f-mono); font-size: .66rem; opacity: .7; overflow-wrap: anywhere; }
.emo.first { background: var(--ink); color: var(--lilac); grid-column: span 2; }
.emo.first .g { font-size: 3.6rem; }

/* shared */
.shared { background: var(--ink); }
.shared .fact { border-color: var(--rose); }
.shared .rank-row .bar { background: var(--rose); }

/* games & voice */
.act { background: var(--cobalt); color: #fff; }
.act .fact { border-color: #fff; }
.act .rank-row .bar { background: #fff; }
/* soundtrack */
.music { background: var(--amber-band); color: var(--ink); }
.music .fact { border-color: var(--ink); }
.music .chip { border-color: var(--ink); }
.tracklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: trk; }
.tracklist li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .8rem; align-items: baseline; padding: .6rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); counter-increment: trk; }
.tracklist li::before { content: counter(trk, decimal-leading-zero); font-family: var(--f-mono); font-size: .78rem; opacity: .7; }
.tracklist strong { font-family: var(--f-display); font-weight: 650; font-size: 1.12rem; line-height: 1.15; overflow-wrap: anywhere; }
.tracklist span { font-family: var(--f-mono); font-size: .8rem; font-variant-numeric: tabular-nums; }
/* behind the screen */
.screen { background: var(--ink-2); }
.screen .fact { border-color: var(--lilac); }
.screen .accent { color: var(--lilac); }

/* collector */
.collector { background: var(--plum); color: var(--paper); }
.collector .fact { border-color: var(--rose); }
.collector .chip { color: var(--rose); }
.avatars { display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; }
.avatars figure { margin: 0; display: grid; gap: .35rem; justify-items: center; }
.avatars img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--paper-faint); }
.avatars figcaption { font-family: var(--f-mono); font-size: .7rem; color: var(--paper-dim); }
.avatars figure.now img { width: 108px; height: 108px; border-color: var(--rose); }

/* firsts */
.firsts { background: var(--cool); color: var(--ink); }
.bubbles { display: grid; gap: 1.2rem; }
.bubble { display: grid; grid-template-columns: 44px 1fr; gap: .8rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(19, 17, 31, .08); max-width: 640px; }
.bubble img { width: 44px; height: 44px; border-radius: 50%; }
.bubble .meta { font-size: .82rem; display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; }
.bubble .meta strong { font-weight: 650; }
.bubble .meta .ts { font-family: var(--f-mono); font-size: .72rem; opacity: .6; }
.bubble .txt { font-size: 1.08rem; margin-top: .15rem; overflow-wrap: anywhere; }
.bubble .ctx { font-family: var(--f-mono); font-size: .72rem; opacity: .65; margin-top: .3rem; }
.bubble-label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: .4rem; }

/* outro */
.outro { background: var(--ink); }
.card { border-radius: 24px; background: var(--tomato); color: var(--ink); padding: clamp(1.4rem, 4vw, 2.6rem); display: grid; gap: 1.6rem; max-width: 760px; }
.card-head { display: flex; align-items: center; gap: 1rem; }
.card-head img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--ink); }
.card-head h3 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.6rem; }
.card-grid div { display: grid; gap: .1rem; min-width: 0; border-top: 2px solid var(--ink); padding-top: .55rem; }
.card-grid small { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.card-grid strong { font-family: var(--f-display); font-size: clamp(1.15rem, 3vw, 1.6rem); line-height: 1.1; overflow-wrap: anywhere; font-weight: 700; }

/* tooltip */
#tip { position: fixed; z-index: 50; pointer-events: none; background: var(--ink); color: var(--paper); border: 1px solid var(--paper-faint); border-radius: 8px; padding: .45rem .65rem; font-size: .8rem; line-height: 1.35; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); max-width: 260px; }
#tip strong { display: block; font-family: var(--f-mono); font-size: .95rem; }
#tip span { color: var(--paper-dim); font-family: var(--f-mono); font-size: .72rem; }
.hit { cursor: default; }
.hit:hover, .hit:focus { opacity: .8; }
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .owned { grid-template-columns: 1fr; }
  #emo-used { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .emo-grid { gap: .5rem; }
  .yoy-row { grid-template-columns: 3rem 1fr 5.5rem; }
}
/* buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; font: 650 1rem var(--f-body); padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid currentColor; color: inherit; background: transparent; cursor: pointer; text-decoration: none; line-height: 1; }
.btn.primary { background: var(--tomato); border-color: var(--tomato); color: var(--ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { border-color: var(--paper-faint); }
.btn.ghost:hover { background: var(--paper-faint); }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .wrap { position: relative; }
.ghost-year { position: absolute; right: max(-2vw, -24px); top: 46%; transform: translateY(-50%); font-family: var(--f-display); font-weight: 800; font-size: clamp(9rem, 30vw, 27rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(244, 242, 251, .075); pointer-events: none; user-select: none; font-variation-settings: "wdth" 75; white-space: nowrap; }
/* top bar */
.tb-right { display: flex; align-items: center; gap: .5rem; }
details.menu { position: relative; }
details.menu > summary { list-style: none; cursor: pointer; font: 600 .82rem var(--f-mono); padding: .5rem .85rem; border: 1.5px solid var(--paper-faint); border-radius: 999px; user-select: none; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu[open] > summary { background: var(--paper-faint); }
details.menu > summary { display: inline-flex; align-items: center; gap: .45rem; }
details.menu > summary svg { width: 12px; height: 10px; fill: currentColor; }
details.menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--ink); border: 1px solid var(--paper-faint); border-radius: 14px; padding: .4rem; display: grid; min-width: 220px; max-height: 70vh; overflow: auto; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
details.menu nav a { color: var(--paper); text-decoration: none; padding: .5rem .7rem; border-radius: 8px; font-size: .92rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.menu nav a:hover, details.menu nav a:focus-visible { background: var(--paper-faint); }
details.menu nav a i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.btn-play { display: inline-flex; align-items: center; gap: .4rem; font: 700 .82rem var(--f-mono); padding: .5rem .95rem; border-radius: 999px; border: 0; background: var(--tomato); color: var(--ink); cursor: pointer; }
.btn-play svg { width: 10px; height: 10px; fill: currentColor; }
section[id] { scroll-margin-top: 58px; }
/* side dots */
.dots { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 15; display: none; flex-direction: column; gap: 11px; mix-blend-mode: difference; }
@media (min-width: 1320px) { .dots { display: flex; } }
.dots a { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; display: block; position: relative; transition: transform .2s, background .2s; }
.dots a.on { background: #fff; transform: scale(1.3); }
.dots a::after { content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 600 .72rem var(--f-mono); color: #fff; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
.dots a:hover::after, .dots a:focus-visible::after { opacity: 1; }
/* avatars & tiles */
.av { position: relative; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; flex-shrink: 0; font-family: var(--f-display); font-weight: 750; background: var(--av-bg, var(--ink-3)); color: var(--av-fg, var(--paper)); line-height: 1; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av.tile { border-radius: 11px; }
.rank-row.with-icon { grid-template-columns: 1.6rem 40px minmax(0, 1fr) auto; }
.rank-row .icon { width: 40px; height: 40px; font-size: 1rem; }
.top-person .av { width: 104px; height: 104px; font-size: 2.4rem; box-shadow: 0 0 0 4px var(--ink); }
.emo img.cdn { width: 44px; height: 44px; object-fit: contain; }
@media (max-width: 560px) {
  .brand span { display: none; }
  .btn-play span { display: none; }
  details.menu > summary span { display: none; }
  details.menu > summary { padding: .55rem .7rem; }
  .seg button { padding: .4rem .6rem; }
  .tb-right { gap: .35rem; }
  .btn-play { padding: .55rem .75rem; }
  .rank-row.with-icon { grid-template-columns: 1.3rem 32px minmax(0, 1fr) auto; gap: .2rem .6rem; }
  .rank-row .icon { width: 32px; height: 32px; font-size: .85rem; }
  .ghost-year { top: 30%; }
}

/* story player: a 9:16 card on desktop, full screen on phones */
.story { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(9, 8, 16, .94); }
.story-frame { position: relative; width: min(100vw, calc(94vh * 9 / 16), 470px); aspect-ratio: 9 / 16; max-height: 94vh; border-radius: 22px; overflow: hidden; container-type: inline-size; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: var(--ink); color: var(--paper); }
@media (max-width: 560px), (max-height: 520px) {
  .story-frame { width: 100vw; height: 100vh; height: 100dvh; max-height: none; aspect-ratio: auto; border-radius: 0; }
}
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4.5cqw; padding: calc(16cqw + env(safe-area-inset-top, 0px)) 8cqw calc(12cqw + env(safe-area-inset-bottom, 0px)); background: var(--bg); color: var(--fg); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; overflow: hidden; }
.slide.active { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.slide .in { opacity: 0; transform: translateY(5cqw); transition: opacity .6s ease, transform .75s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 110ms + 140ms); }
.slide.active .in { opacity: 1; transform: none; }
.s-eyebrow { font: 600 3.4cqw/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.s-big { font-family: var(--f-display); font-weight: 800; font-size: 19cqw; line-height: .88; letter-spacing: -.04em; font-variation-settings: "wdth" 78, "opsz" 96; overflow-wrap: anywhere; text-wrap: balance; }
.s-big.md { font-size: 14cqw; }
.s-big.sm { font-size: 11cqw; line-height: .95; }
.s-big.amber { color: var(--amber-5); }
.s-sub { font-size: 5cqw; line-height: 1.3; max-width: 34ch; text-wrap: pretty; }
.s-list { display: grid; gap: 2.4cqw; margin: 0; padding: 0; list-style: none; }
.s-list li { display: grid; grid-template-columns: 7cqw 11cqw minmax(0, 1fr) auto; align-items: center; gap: 3cqw; font-size: 4.8cqw; }
.s-list li.noav { grid-template-columns: 7cqw minmax(0, 1fr) auto; }
.s-list .r { font: 600 3.6cqw var(--f-mono); opacity: .7; }
.s-list .nm { font-family: var(--f-display); font-weight: 700; font-size: 5.6cqw; line-height: 1.05; overflow-wrap: anywhere; }
.s-list .v { font: 600 3.6cqw var(--f-mono); font-variant-numeric: tabular-nums; }
.s-list .av { width: 11cqw; height: 11cqw; font-size: 4cqw; }
.s-av { width: 34cqw; height: 34cqw; font-size: 12cqw; box-shadow: 0 0 0 1.4cqw var(--fg); }
.s-emoji { font-size: 40cqw; line-height: 1; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.s-strip { display: grid; grid-template-columns: repeat(30, 1fr); gap: .7cqw; }
.s-strip i { aspect-ratio: 1; border-radius: .6cqw; }
.s-hours { display: flex; align-items: flex-end; gap: .8cqw; height: 26cqw; }
.s-hours i { flex: 1; border-radius: .8cqw .8cqw 0 0; background: currentColor; min-height: 2px; }
.s-hours-lab { display: flex; justify-content: space-between; font: 600 3cqw var(--f-mono); opacity: .75; margin-top: 1.5cqw; }
.s-split { display: flex; height: 9cqw; border-radius: 1.4cqw; overflow: hidden; gap: .6cqw; font: 700 3.6cqw var(--f-mono); }
.s-split div { display: flex; align-items: center; padding-left: 2.4cqw; color: #fff; }
.s-avs { display: flex; gap: 2cqw; flex-wrap: wrap; }
.s-avs img { width: 13cqw; height: 13cqw; border-radius: 50%; }
.s-card { background: var(--tomato); color: var(--ink); border-radius: 4cqw; padding: 6cqw; display: grid; gap: 4cqw; }
.s-card-head { display: flex; gap: 3.5cqw; align-items: center; }
.s-card-head img { width: 15cqw; height: 15cqw; border-radius: 50%; box-shadow: 0 0 0 1cqw var(--ink); }
.s-card-head b { font: 800 7cqw/1 var(--f-display); display: block; letter-spacing: -.02em; }
.s-card-head small { font: 600 3cqw var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.s-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4cqw 4cqw; }
.s-card-grid div { border-top: .5cqw solid var(--ink); padding-top: 1.6cqw; min-width: 0; }
.s-card-grid small { font: 600 2.6cqw var(--f-mono); letter-spacing: .1em; text-transform: uppercase; display: block; }
.s-card-grid strong { font: 700 4.8cqw/1.1 var(--f-display); overflow-wrap: anywhere; display: block; }
.s-actions { display: flex; flex-wrap: wrap; gap: 2.4cqw; position: relative; z-index: 6; }
.s-actions button { font: 650 3.8cqw var(--f-body); padding: 2.8cqw 4.4cqw; border-radius: 999px; border: .5cqw solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.s-actions button.pri { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.s-deco { position: absolute; pointer-events: none; font-family: var(--f-display); font-weight: 800; color: transparent; -webkit-text-stroke: .5cqw currentColor; opacity: .12; line-height: .8; letter-spacing: -.05em; white-space: nowrap; }
.bars { position: absolute; z-index: 5; top: calc(3.2cqw + env(safe-area-inset-top, 0px)); left: 3.4cqw; right: 3.4cqw; display: flex; gap: 1cqw; color: var(--bar, #fff); }
.bars i { flex: 1; height: 3px; border-radius: 2px; background: color-mix(in srgb, currentColor 30%, transparent); overflow: hidden; }
.bars i b { display: block; height: 100%; width: 0; background: currentColor; }
.bars i.done b { width: 100%; }
.bars i.cur b { animation: storyfill var(--dur, 6s) linear forwards; }
.story.paused .bars i.cur b, .story.hold .bars i.cur b { animation-play-state: paused; }
@keyframes storyfill { from { width: 0; } to { width: 100%; } }
.s-ctrl { position: absolute; z-index: 7; top: calc(7cqw + env(safe-area-inset-top, 0px)); right: 3cqw; display: flex; gap: 1.5cqw; color: var(--bar, #fff); }
.s-ctrl button { width: 10cqw; height: 10cqw; min-width: 36px; min-height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, currentColor 16%, transparent); color: inherit; display: grid; place-items: center; cursor: pointer; }
.s-ctrl svg { width: 45%; height: 45%; fill: currentColor; }
.tap { position: absolute; z-index: 4; top: 0; bottom: 0; border: 0; background: transparent; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.tap.prev { left: 0; width: 30%; }
.tap.next { right: 0; width: 70%; }
.tap:focus-visible { outline: 2px solid var(--bar, #fff); outline-offset: -6px; }
.story-hint { position: absolute; z-index: 5; bottom: calc(4cqw + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font: 600 2.8cqw var(--f-mono); opacity: .55; color: var(--bar, #fff); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.active { transition: none; }
  .slide .in { transition: none; opacity: 1; transform: none; }
}

/* ---------- generator: landing, progress, share ---------- */
.brand-av .av { width: 28px; height: 28px; font-size: .7rem; }
#hero-av .av { width: 72px; height: 72px; font-size: 1.6rem; box-shadow: 0 0 0 3px var(--tomato); }
.bubble .av { width: 44px; height: 44px; font-size: 1rem; }
.card-head .av { width: 64px; height: 64px; font-size: 1.4rem; box-shadow: 0 0 0 3px var(--ink); }
.avatars figure.now .av { width: 108px; height: 108px; font-size: 2.2rem; box-shadow: 0 0 0 2px var(--rose); }
.srv .av { width: 56px; height: 56px; font-size: 1.2rem; }
.s-av-me { box-shadow: 0 0 0 1.4cqw var(--tomato) !important; }
.s-card-av { width: 15cqw; height: 15cqw; font-size: 5cqw; box-shadow: 0 0 0 1cqw var(--ink); }
.btn-share { font: 700 .82rem var(--f-mono); padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--paper-faint); background: transparent; color: var(--paper); cursor: pointer; }
.btn-share:hover { background: var(--paper-faint); }

.landing { min-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); display: grid; align-items: center; padding-block: clamp(2.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.landing-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.landing h1 { font-size: clamp(3rem, 8.5vw, 6.6rem); font-weight: 800; line-height: .88; letter-spacing: -.04em; font-variation-settings: "wdth" 78, "opsz" 96; }
.landing h1 em { font-style: normal; color: var(--tomato); }
.landing-copy { display: grid; gap: 1.4rem; align-content: start; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .9rem; counter-reset: st; max-width: 56ch; }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; counter-increment: st; color: var(--paper-dim); }
.steps li::before { content: counter(st); font: 700 .85rem var(--f-mono); width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper-faint); color: var(--paper); }
.steps b { color: var(--paper); font-weight: 650; }
.drop-col { display: grid; gap: 1rem; }
.drop { border: 2px dashed rgba(244, 242, 251, .28); border-radius: 22px; padding: clamp(1.6rem, 4vw, 2.6rem) 1.4rem; display: grid; justify-items: center; text-align: center; gap: .55rem; cursor: pointer; background: rgba(244, 242, 251, .03); transition: border-color .15s, background .15s, transform .15s; }
.drop:hover, .drop:focus-visible, .drop.over { border-color: var(--tomato); background: rgba(255, 91, 61, .08); outline: none; }
.drop.over { transform: scale(1.01); }
.drop strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.drop span { color: var(--paper-dim); font-size: .95rem; }
.drop-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--tomato); display: grid; place-items: center; margin-bottom: .4rem; }
.drop-icon svg { width: 30px; height: 30px; fill: var(--ink); }
.opt { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--paper-dim); text-align: left; cursor: pointer; }
.opt input { margin-top: .2rem; accent-color: var(--tomato); width: 1rem; height: 1rem; flex-shrink: 0; }
.privacy { border-radius: 18px; background: var(--ink-2); padding: 1.1rem 1.2rem; display: grid; gap: .5rem; font-size: .9rem; color: var(--paper-dim); }
.privacy h3 { font-size: 1.05rem; color: var(--paper); display: flex; gap: .5rem; align-items: center; }
.privacy b { color: var(--paper); }
.fan { position: relative; height: 120px; margin-top: .4rem; }
.fan i { position: absolute; width: 132px; height: 96px; border-radius: 14px; padding: .7rem .8rem; font: 700 .72rem/1.15 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--ink); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.landing-msg { border-radius: 12px; padding: .8rem 1rem; background: rgba(255, 91, 61, .14); color: var(--paper); font-size: .92rem; }
@media (max-width: 860px) { .landing-wrap { grid-template-columns: 1fr; } .landing { min-height: 0; } .fan { display: none; } }

.progress-view { min-height: 70vh; display: grid; align-items: center; padding-block: 4rem; }
.progress-view .wrap { display: grid; gap: 1.2rem; max-width: 720px; }
.progress-view h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-variation-settings: "wdth" 85; overflow-wrap: anywhere; }
.prog-bar { height: 12px; border-radius: 999px; background: var(--paper-faint); overflow: hidden; }
.prog-bar i { display: block; height: 100%; width: 0; background: var(--tomato); border-radius: 999px; transition: width .3s ease; }
.prog-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.err { color: #ffb4a6; font-weight: 600; }

.share-sheet { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(9, 8, 16, .82); padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.share-card { width: min(100%, 860px); max-height: 100%; overflow-y: auto; background: var(--ink-2); border: 1px solid var(--paper-faint); border-radius: 20px; padding: 1.5rem; display: grid; gap: 1rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.share-card h3 { font-size: 1.5rem; }
.share-card p { font-size: .92rem; color: var(--paper-dim); }
.share-card ul { margin: 0; padding-left: 1.1rem; color: var(--paper-dim); font-size: .9rem; display: grid; gap: .3rem; }
.share-row { display: flex; gap: .5rem; }
.share-row input { flex: 1; min-width: 0; font: 500 .9rem var(--f-mono); padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--paper-faint); background: var(--ink); color: var(--paper); }
.share-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.share-card .btn { padding: .7rem 1.1rem; font-size: .92rem; }
.share-card label[for="share-url"] { font: 600 .78rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-dim); }
.shared-banner { position: relative; z-index: 19; background: var(--butter); color: var(--ink); font: 600 .85rem var(--f-body); }
.shared-banner .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; padding-block: .55rem; }
.shared-banner a, .shared-banner button { color: var(--ink); font: 700 .85rem var(--f-body); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; }

/* utility classes generated from former inline styles (strict CSP: no inline style attributes) */
.u1 { color:var(--tomato); }
.u2 { left:0;top:18px;transform:rotate(-8deg);background:var(--tomato); }
.u3 { left:96px;top:6px;transform:rotate(-2deg);background:var(--pink); }
.u4 { left:192px;top:14px;transform:rotate(5deg);background:var(--butter); }
.u5 { left:288px;top:24px;transform:rotate(10deg);background:var(--lilac); }
.u6 { color:inherit;text-decoration:none; }
.u7 { display:grid;gap:2rem; }
.u8 { display:grid;gap:1rem; }
.u9 { color:var(--amber-5); }
.u10 { margin-top:.8rem; }
.u11 { display:grid;gap:.8rem; }
.u12 { margin-top:0; }
.u13 { display:grid;gap:1.5rem; }
.u14 { display:grid;gap:.6rem; }
.u15 { opacity:.85; }
.u16 { color:var(--rose); }
.u17 { opacity:.8; }
.u18 { background:var(--ink); }
.u19 { display:grid;gap:.5rem; }
.u20 { font-size:.78rem;opacity:.8; }
.u21 { background:var(--cat-1); }
.u22 { background:var(--cat-2); }
.u23 { color:inherit; }

/* legal pages */
.legal-top { border-bottom: 1px solid var(--paper-faint); }
.legal-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .9rem; flex-wrap: wrap; }
.legal-brand { font-family: var(--f-display); font-weight: 750; font-size: 1.1rem; color: var(--paper); text-decoration: none; }
.legal-nav { display: flex; gap: 1rem; font: 600 .85rem var(--f-mono); }
.legal-nav a { color: var(--paper-dim); text-decoration: none; }
.legal-nav a[aria-current="page"], .legal-nav a:hover { color: var(--paper); }
.legal { padding-block: clamp(2rem, 6vw, 4rem); }
.legal-body { max-width: 760px; display: grid; gap: 1rem; }
.legal-body h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.legal-body h2 { font-size: 1.45rem; margin-top: 1.2rem; font-variation-settings: "wdth" 90; letter-spacing: -.01em; }
.legal-body p, .legal-body li { color: var(--paper-dim); max-width: 68ch; }
.legal-body b { color: var(--paper); font-weight: 650; }
.legal-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.legal-body a, .privacy a, .share-card a { color: var(--paper); text-decoration-color: var(--tomato); text-underline-offset: 3px; }
.legal-body code { font-family: var(--f-mono); font-size: .9em; background: var(--paper-faint); padding: .05em .35em; border-radius: 4px; }
.legal-tldr { background: var(--ink-2); border-radius: 18px; padding: 1.1rem 1.3rem; display: grid; gap: .6rem; }
.legal-tldr h2 { margin-top: 0; font-size: 1.15rem; }

/* logo placements */
.landing { grid-template-rows: auto 1fr; align-items: start; padding-top: 0; }
.landing-wrap { align-self: center; }
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; flex-wrap: wrap; }
.site-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--paper); text-decoration: none; font-family: var(--f-display); font-weight: 750; font-size: 1.08rem; letter-spacing: -.01em; }
.site-logo img { width: 29px; height: 32px; }
.site-nav { display: flex; gap: 1.1rem; font: 600 .82rem var(--f-mono); }
.site-nav a { color: var(--paper-dim); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); }
.legal-brand { display: inline-flex; align-items: center; gap: .55rem; }
.legal-brand img { width: 25px; height: 28px; }
.tb-logo { display: inline-flex; align-items: center; flex-shrink: 0; margin-right: .2rem; }
.tb-logo img { width: 22px; height: 24px; }
.topbar .wrap > .tb-logo + .brand { margin-right: auto; }
@media (max-width: 600px) { .tb-logo { display: none; } }

/* one site header on every page (links moved up from the footer) */
.site-top { background: var(--ink); border-bottom: 1px solid var(--paper-faint); position: relative; z-index: 21; }
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: .55rem 1.5rem; padding-block: .8rem; flex-wrap: wrap; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.15rem; font: 600 .8rem var(--f-mono); }
.site-nav a { color: var(--paper-dim); text-decoration: none; padding-block: .25rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--paper); }
.site-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--tomato); }
.site-nav a:focus-visible, .site-logo:focus-visible { outline: 2px solid var(--butter); outline-offset: 3px; border-radius: 4px; }
.landing { grid-template-rows: none; align-items: center; padding-top: clamp(1.5rem, 5vw, 3.5rem); min-height: calc(100vh - 62px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) {
  .site-top .wrap { padding-block: .7rem .6rem; }
  .site-nav { width: 100%; gap: .2rem 1rem; font-size: .76rem; }
}
.topbar .tb-logo { display: none; }
@media (min-width: 601px) { .topbar.stuck .tb-logo { display: inline-flex; } }
.site-nav .nav-ext span { display: inline-block; margin-left: .3em; font-size: .92em; transform: translateY(-.05em); }

/* share sheet: results image + private link */
.share-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.share-x { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--paper-faint); background: transparent; color: var(--paper); cursor: pointer; }
.share-x:hover { background: var(--paper-faint); }
.share-x svg { width: 12px; height: 12px; fill: currentColor; }
.share-tabs { justify-self: start; }
#pane-link { max-width: 36rem; }
.sc-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.sc-preview { display: grid; place-items: center; min-height: 240px; padding: 12px; border-radius: 16px; background: var(--ink); }
.sc-preview[aria-busy="true"] canvas { opacity: .55; }
.sc-canvas { display: block; max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, .45); transition: opacity .15s; }
.sc-canvas.is-story { max-height: min(60vh, 520px); width: auto; }
.sc-side { display: grid; gap: .85rem; align-content: start; justify-items: start; }
.sc-side .share-btns { justify-self: stretch; }
.share-card h4 { margin: .35rem 0 0; font: 600 .78rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-dim); }
.sc-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-card .sc-social a, .sc-social button { font: 600 .8rem var(--f-mono); padding: .5rem .85rem; border-radius: 999px; border: 1.5px solid var(--paper-faint); background: transparent; color: var(--paper); text-decoration: none; cursor: pointer; line-height: 1.2; }
.share-card .sc-social a:hover, .sc-social button:hover { background: var(--paper-faint); }
.share-card .sc-social a:focus-visible { outline: 2px solid var(--butter); outline-offset: 2px; }
.btn:disabled { opacity: .5; cursor: progress; }
@media (max-width: 720px) {
  .share-card { padding: 1.1rem; }
  .sc-layout { grid-template-columns: 1fr; gap: 1rem; }
  .sc-canvas.is-story { max-height: 44vh; }
  .sc-canvas.is-square { max-height: 40vh; width: auto; }
}

/* the end of the report: summary card, share prompt and notes (there's no page footer) */
.outro-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.outro-cta { display: grid; gap: 1rem; justify-items: start; align-content: center; }
.outro-cta h3 { font-size: var(--step-3); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variation-settings: "wdth" 85; }
.outro-cta p { color: var(--paper-dim); max-width: 36ch; }
@media (max-width: 900px) { .outro-grid { grid-template-columns: 1fr; } }
.about-report { border-top: 1px solid var(--paper-faint); padding-top: 1.4rem; display: grid; gap: .5rem; color: var(--paper-dim); font-size: .82rem; max-width: 86ch; }
.about-report p { margin: 0; }
.privacy .fanmade { font-size: .8rem; color: var(--paper-dim); opacity: .85; }
/* the hero's ghost year bleeds off the right edge on purpose; clip it so the page never scrolls sideways */
.hero { overflow-x: clip; }
/* landing: link to the made-up demo Wrapped */
.demo-cta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; margin: -.4rem 0 0; font: 600 .86rem var(--f-mono); }
.demo-cta a { color: var(--butter); text-decoration: underline; text-decoration-color: rgba(255, 216, 78, .45); text-underline-offset: 4px; }
.demo-cta a:hover { text-decoration-color: var(--butter); }
.demo-cta a:focus-visible { outline: 2px solid var(--butter); outline-offset: 3px; border-radius: 4px; }
.demo-cta > span { color: var(--paper-dim); font-weight: 400; }
