/* /about (web/seo/about.py): one animated scene per feature, on top of seo.css.
   Scenes loop on their own; with about.js they only play while on screen (.js .feat:not(.in)). */
/* The app's own fonts, for the scenes that show it (the page's are in seo.css). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/figtree-v9-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/figtree-v9-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap; src: url("/fonts/bricolage-v9-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap; src: url("/fonts/bricolage-v9-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.about main { max-width: 1180px; }
.js .feat:not(.in) .scene, .js .feat:not(.in) .scene * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .about .scene, .about .scene *, .ab-orbit, .ab-orbit * { animation: none !important; transition: none !important; }
}

/* ---------- hero: words, and the art orbiting the logo ---------- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; margin: 50px 0 30px; }
.ab-kicker { margin: 0 0 12px; font: 800 14px "Karla", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ab-hero h1 { font-size: clamp(46px, 7.6vw, 92px); text-shadow: 4px 4px 0 var(--line); }
.ab-hero h1 span {
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--sun), var(--orange)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; animation: ab-flow 8s linear infinite;
}
@keyframes ab-flow { to { background-position: 300% 0; } }
.ab-orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.ab-orbit .core {
  position: absolute; inset: 37%; display: grid; place-items: center; border-radius: 30%; background: var(--bg-2);
  border: 3px solid var(--line); box-shadow: 6px 6px 0 var(--line); animation: ab-breathe 4s ease-in-out infinite;
}
.ab-orbit .core svg { width: 62%; height: 62%; }
@keyframes ab-breathe { 50% { transform: scale(1.06) rotate(-4deg); } }
.ab-orbit .o {
  position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 3 / 4; margin: -18% 0 0 -13.5%; border-radius: 16px; overflow: hidden;
  border: 3px solid var(--line); box-shadow: 5px 5px 0 var(--line); animation: ab-orbit 26s linear infinite;
}
.ab-orbit .o1 { animation-delay: -4.33s; } .ab-orbit .o2 { animation-delay: -8.66s; } .ab-orbit .o3 { animation-delay: -13s; }
.ab-orbit .o4 { animation-delay: -17.33s; } .ab-orbit .o5 { animation-delay: -21.66s; }
@keyframes ab-orbit {
  from { transform: rotate(0deg) translateX(165%) rotate(0deg); }
  to { transform: rotate(360deg) translateX(165%) rotate(-360deg); }
}
.spark { position: absolute; width: 14px; height: 14px; background: var(--sun); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: ab-twinkle 2.4s ease-in-out infinite; }
.spark.s1 { top: 8%; left: 18%; } .spark.s2 { top: 78%; left: 86%; animation-delay: .8s; background: var(--teal); } .spark.s3 { top: 12%; left: 88%; animation-delay: 1.6s; background: var(--pink); }
@keyframes ab-twinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: .3; } 50% { transform: scale(1.2) rotate(90deg); opacity: 1; } }

/* chapters bar */
.ab-jump {
  position: sticky; top: 64px; z-index: 4; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px 0 0; padding: 8px;
  border-radius: 18px; background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(8px); border: 3px solid var(--line);
}
.ab-jump a { flex: none; padding: 7px 15px; border-radius: 12px; color: var(--text-2); text-decoration: none; font-weight: 800; font-size: 15px; transition: background .2s, color .2s; }
.ab-jump a:hover { color: var(--text); }
.ab-jump a.on { background: var(--orange); color: var(--ink); }

/* ---------- chapters and features ---------- */
.chapter { margin: 70px 0; scroll-margin-top: 140px; }
.ch-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 26px; }
.ch-head h2 { margin: 0; font-size: clamp(40px, 6vw, 70px); color: var(--orange); text-shadow: 3px 3px 0 var(--line); }
.ch-head p { margin: 0; font: 30px var(--hand); color: var(--sun); transform: rotate(-2deg); }
.feat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 5vw, 64px); margin: 0 0 56px; }
.feat:nth-of-type(even) .scene { order: 2; }
.copy .num { font: 22px var(--title); color: var(--muted); }
.copy h3 { margin: 4px 0 10px; font-size: clamp(28px, 3.4vw, 40px); }
.copy p { margin: 0; color: var(--text-2); max-width: 46ch; }
.copy code { padding: 1px 6px; border-radius: 6px; background: var(--bg-2); font-size: .9em; color: var(--orange-2); }
.go { display: inline-block; margin-top: 14px; font-weight: 800; text-decoration: none; }
.go:hover { text-decoration: underline; }
/* a scene enters once, softly */
.js .feat .scene, .js .feat .copy { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .feat .copy { transition-delay: .12s; }
.js .feat.seen .scene, .js .feat.seen .copy, .js .feat.in .scene, .js .feat.in .copy { opacity: 1; transform: none; }

/* ---------- the scenes: little replays of the app, in its own colours and shapes (styles.css) ---------- */
.scene {
  --bg: #17141d; --bg-2: #1e1a26; --surface: #26212f; --surface-2: #302a3b; --border: #3b3447; --line: #0c0a10;
  --text: #f7f2ea; --text-2: #d6cfdd; --muted: #a69fb2; --ink: #1b1520; --glass: rgba(23, 20, 29, .84);
  --accent: #ff7a3d; --accent-2: #ffa36f; --accent-soft: rgba(255, 122, 61, .16);
  --safe: #3fcf8e; --questionable: #f2c14e; --explicit: #ff5d73; --berry: #ff5d9e;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; container-type: inline-size;
  background: var(--bg); color: var(--text); border: 3px solid var(--line); box-shadow: 8px 8px 0 var(--line);
  font: 600 clamp(8px, 2.35cqw, 13px)/1.35 "Figtree", system-ui, sans-serif; text-align: left;
}
.scene * { box-sizing: border-box; }
.scene .art { margin: 0; border-radius: 0; overflow: hidden; }
.scene .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene b { font-weight: 800; }
.scene small { font-size: .85em; color: var(--muted); font-weight: 600; }
.scene .sp { flex: 1; }
.scene .ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.scene .ic.fill { fill: currentColor; stroke: none; }
.scene .dot { position: absolute; top: .6em; left: .6em; width: .7em; height: .7em; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 2px rgba(0, 0, 0, .5); }
.scene .chip { display: inline-flex; align-items: center; gap: .35em; padding: .38em .9em; border-radius: 999px; border: 2px solid var(--border); color: var(--muted); font-weight: 700; white-space: nowrap; }
.scene .chip.on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.scene .btn { display: inline-flex; align-items: center; justify-content: center; gap: .35em; padding: .45em 1em; border-radius: 999px; border: 2px solid var(--border); background: var(--surface); color: var(--text); font-weight: 800; white-space: nowrap; }
.scene .btn.primary { background: var(--accent); border-color: var(--line); color: var(--ink); box-shadow: 0 .2em 0 var(--line); }
.scene .btn.sm { padding: .3em .8em; font-size: .9em; }
.scene .spin { display: inline-block; width: 1.6em; height: 1.6em; border-radius: 50%; border: .2em solid var(--surface-2); border-top-color: var(--accent); border-right-color: var(--accent); animation: ap-spin .7s linear infinite; flex: none; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.scene .logo6 { display: inline-block; width: 1.6em; height: 1.7em; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }
.scene .subbar { position: absolute; top: .9em; left: .9em; right: .9em; display: flex; gap: .45em; overflow: hidden; z-index: 2; }
/* gallery rows (Gallery.tsx): justified, 6px apart, cards with radius 12 */
.scene .jrow { display: flex; gap: .45em; height: 7.4em; margin-bottom: .45em; }
.scene .card { position: relative; flex: var(--g) 1 0; min-width: 0; border-radius: .9em; overflow: hidden; background: var(--surface); }
.scene .card .art { position: absolute; inset: 0; }
.scene .card .badge { position: absolute; top: .5em; right: .5em; padding: .15em .5em; border-radius: .5em; background: rgba(0, 0, 0, .62); color: #fff; font-size: .82em; font-weight: 800; }
.scene .card.comic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--accent); }
.scene .cfoot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .2em; padding: 1.4em .6em .5em; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.scene .cbadge { padding: .1em .5em; border-radius: .4em; background: var(--accent); color: var(--ink); font-size: .78em; font-weight: 900; }
.scene .cfoot b { font-size: .9em; line-height: 1.15; }
.scene .feed { position: absolute; top: 3.6em; left: .9em; right: .9em; bottom: 0; overflow: hidden; }
.scene .feed.still { top: .9em; }
/* swapping words: <u> children shown one after the other */
.scene u { text-decoration: none; }

/* 01 gallery: the rows keep coming */
.sc-scroll .feed-in { animation: s1-feed 16s linear infinite; }
@keyframes s1-feed { to { transform: translateY(calc(-50%)); } }
.sc-scroll .jrow:nth-child(2) .card:nth-child(3) { animation: s1-hover 4s ease-in-out infinite; }
@keyframes s1-hover { 0%, 55%, 100% { transform: none; box-shadow: none; } 65%, 85% { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--accent), 0 14px 30px rgba(0, 0, 0, .45); } }

/* 02 viewer: a card opens, its panel on the side, → for the next one */
.sc-viewer .tap { position: absolute; left: 62%; top: 30%; width: 3em; height: 3em; margin: -1.5em; border-radius: 50%; background: rgba(255, 255, 255, .5); opacity: 0; animation: s2-tap 10s ease-out infinite; z-index: 3; }
@keyframes s2-tap { 0%, 6% { transform: scale(.3); opacity: 0; } 8% { opacity: .9; } 14%, 100% { transform: scale(1.6); opacity: 0; } }
.sc-viewer .vwr { position: absolute; inset: 0; background: #08070a; transform-origin: 62% 30%; animation: s2-open 10s cubic-bezier(.5, 0, .2, 1) infinite; z-index: 4; }
@keyframes s2-open { 0%, 12% { transform: scale(.18); opacity: 0; } 20%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: scale(.18); opacity: 0; } }
.scene .vbg { position: absolute; inset: 0; }
.scene .vbg .art { position: absolute; inset: -10%; filter: blur(30px) brightness(.32) saturate(1.4); }
.scene .vtop { position: absolute; top: .6em; left: .6em; right: 32%; display: flex; align-items: center; gap: .4em; z-index: 2; }
.scene .vb { display: grid; place-items: center; min-width: 2.2em; height: 2.2em; padding: 0 .4em; border-radius: 999px; background: rgba(0, 0, 0, .45); color: var(--text); font-weight: 800; font-size: .9em; }
.scene .vb.on { background: var(--accent); color: var(--ink); }
.scene .vpill { position: relative; display: inline-grid; padding: .3em .7em; border-radius: 999px; background: rgba(0, 0, 0, .45); font-weight: 800; font-size: .9em; }
.scene .vpill i { font-style: normal; grid-area: 1 / 1; }
.sc-viewer .vpill i:nth-child(2) { opacity: 0; }
.sc-viewer .vpill:not(.id) i:nth-child(1) { animation: s2-c1 10s steps(1) infinite; }
.sc-viewer .vpill:not(.id) i:nth-child(2) { animation: s2-c2 10s steps(1) infinite; }
@keyframes s2-c1 { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes s2-c2 { 0%, 55% { opacity: 0; } 56%, 100% { opacity: 1; } }
.scene .vstage { position: absolute; top: 3.4em; bottom: 1em; left: .6em; right: 31%; overflow: hidden; }
.scene .vimg { position: absolute; inset: 0 3.4em; display: grid; place-items: center; }
.scene .vimg .art { width: 100%; height: 100%; border-radius: .6em; box-shadow: 0 24px 70px rgba(0, 0, 0, .65); }
.scene .vimg .art img { object-fit: contain; }
.sc-viewer .v1 { animation: s2-out 10s ease infinite; }
.sc-viewer .v2 { animation: s2-in 10s ease infinite; }
@keyframes s2-out { 0%, 52% { transform: none; opacity: 1; } 58%, 100% { transform: translateX(-60%); opacity: 0; } }
@keyframes s2-in { 0%, 52% { transform: translateX(60%); opacity: 0; } 58%, 100% { transform: none; opacity: 1; } }
.scene .vnav { position: absolute; top: 50%; display: grid; place-items: center; width: 2.6em; height: 4em; margin-top: -2em; border-radius: 1em; background: rgba(0, 0, 0, .3); color: #fff; opacity: .55; }
.scene .vnav .ic { width: 1.6em; height: 1.6em; }
.scene .vnav.l { left: 0; } .scene .vnav.r { right: 0; }
.sc-viewer .vnav.r { animation: s2-press 10s ease infinite; }
@keyframes s2-press { 0%, 46%, 58%, 100% { opacity: .55; transform: none; background: rgba(0, 0, 0, .3); } 50%, 54% { opacity: 1; transform: scale(.92); background: rgba(255, 255, 255, .22); } }
.scene .vpanel { position: absolute; top: 0; right: 0; bottom: 0; width: 30%; padding: .7em; display: flex; flex-direction: column; gap: .5em; background: var(--glass); backdrop-filter: blur(22px); border-left: 1px solid rgba(255, 255, 255, .06); overflow: hidden; font-size: .88em; }
.scene .vstat { display: flex; align-items: center; gap: .3em; flex-wrap: wrap; }
.scene .vote { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: .6em; border: 2px solid var(--border); font-size: .8em; }
.scene .fav { display: inline-flex; align-items: center; gap: .2em; padding: .2em .5em; border-radius: 999px; border: 2px solid var(--border); }
.scene .rpill { padding: .15em .5em; border-radius: 999px; background: color-mix(in srgb, var(--safe) 18%, transparent); color: var(--safe); font-weight: 800; }
.scene .act { display: flex; align-items: center; gap: .4em; color: var(--text-2); font-weight: 700; }
.scene .vinfo { display: grid; grid-template-columns: auto 1fr; gap: .25em .6em; padding: .5em; border-radius: .7em; background: rgba(255, 255, 255, .04); font-size: .9em; }
.scene .vinfo span { color: var(--muted); font-size: .85em; } .scene .vinfo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .scene .vinfo .o { color: var(--accent); }
.scene .th { font-size: .75em; letter-spacing: .06em; }
.scene .tagl { font-weight: 700; } .scene .tagl.a { color: #f2ac08; } .scene .tagl.s { color: #ff7a3d; }

/* 03 search: chips appear as words are typed, then suggestions */
.sc-search .sbox {
  position: absolute; top: 1.2em; left: 1.2em; right: 1.2em; height: 3.3em; display: flex; align-items: center; gap: .4em; padding: 0 1em 0 2.8em;
  border-radius: 999px; border: 2px solid var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); z-index: 3; overflow: hidden;
}
.sc-search .sicon { position: absolute; left: 1em; top: 50%; transform: translateY(-50%); color: var(--muted); }
.scene .qchip { flex: none; display: inline-flex; align-items: center; gap: .2em; padding: .35em .55em .35em .75em; border-radius: 999px; font-size: .95em; font-weight: 700; white-space: nowrap;
  color: var(--text); background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.scene .qchip i { font-style: normal; opacity: .55; margin-left: .25em; }
.scene .qchip.exclude { background: color-mix(in srgb, var(--explicit) 16%, transparent); border-color: color-mix(in srgb, var(--explicit) 60%, transparent); }
.scene .qchip.exclude b { color: var(--explicit); font-weight: 900; }
.scene .qchip.either { background: color-mix(in srgb, var(--questionable) 16%, transparent); border-color: color-mix(in srgb, var(--questionable) 60%, transparent); }
.scene .qchip.either b { color: var(--questionable); font-weight: 900; }
.scene .qchip.meta { background: var(--surface-2); border-color: var(--border); color: var(--text-2); font-family: ui-monospace, Consolas, monospace; font-size: .88em; }
.sc-search .qchip { animation: s3-chip 10s cubic-bezier(.3, 1.5, .5, 1) infinite; transform-origin: left; }
.sc-search .c1 { --at: 0s; } .sc-search .c2 { animation-delay: .7s; } .sc-search .c3 { animation-delay: 1.4s; } .sc-search .c4 { animation-delay: 2.1s; }
@keyframes s3-chip { 0%, 3% { transform: scale(0); max-width: 0; padding: 0; margin: 0; border-width: 0; } 7%, 90% { transform: none; max-width: 10em; } 96%, 100% { transform: scale(0); max-width: 0; padding: 0; border-width: 0; } }
.sc-search .typed { display: inline-flex; }
.sc-search .typed i { font-style: normal; opacity: 0; animation: s3-type 10s steps(1) infinite; }
.sc-search .typed i:nth-child(1) { animation-delay: 3s; } .sc-search .typed i:nth-child(2) { animation-delay: 3.25s; } .sc-search .typed i:nth-child(3) { animation-delay: 3.5s; } .sc-search .typed i:nth-child(4) { animation-delay: 3.75s; }
@keyframes s3-type { 0% { opacity: 1; } 60%, 100% { opacity: 0; } }
.sc-search .caret { width: 2px; height: 1.3em; background: var(--text); animation: ap-blink 1s steps(1) infinite; }
@keyframes ap-blink { 50% { opacity: 0; } }
.sc-search .raw { margin-left: auto; color: var(--muted); font: 700 .8em ui-monospace, Consolas, monospace; }
.sc-search .clr { color: var(--muted); font-size: 1.3em; }
.scene .sugg { position: absolute; top: 5.2em; left: 1.2em; right: 1.2em; margin: 0; padding: .45em; list-style: none; z-index: 3;
  background: var(--surface); border: 2px solid var(--border); border-radius: 1.2em; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.scene .sugg li { display: flex; align-items: center; gap: .8em; padding: .55em .8em; border-radius: .75em; }
.scene .sugg li > span { flex: 1; font-weight: 700; }
.scene .sugg li i { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: .5em; border: 1.5px solid var(--border); color: var(--muted); font-style: normal; }
.scene .sugg li.on { background: var(--surface-2); }
.scene .sugg li.hint { display: block; margin-top: .3em; border-top: 1px dashed var(--border); border-radius: 0; font-size: .82em; color: var(--muted); }
.sc-search .sugg { transform-origin: top; animation: s3-sugg 10s ease infinite; }
@keyframes s3-sugg { 0%, 42% { opacity: 0; transform: translateY(-.6em) scaleY(.9); } 46%, 88% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.sc-search .sugg li.on { animation: s3-row 10s steps(1) infinite; }
@keyframes s3-row { 0%, 60% { background: transparent; } 61%, 100% { background: var(--surface-2); } }
.sc-search .feed.low { top: 6em; opacity: .3; }
.k-artist { color: #f2ac08; } .k-copyright { color: #e05fe0; } .k-character { color: #27b84a; } .k-species { color: #ff7a3d; } .k-general { color: #9fb6cc; }

/* 04 filters: the drawer slides in, a blacklist rule blurs a picture, a click shows it */
.sc-blur .feed .jrow:nth-child(2) .card:nth-child(1) img { animation: s4-blur 10s ease infinite; }
@keyframes s4-blur { 0%, 44% { filter: none; transform: none; } 48%, 84% { filter: blur(22px) brightness(.6); transform: scale(1.15); } 88%, 100% { filter: none; transform: none; } }
.sc-blur .blabel { display: none; }
.sc-blur .feed .jrow:nth-child(2) .card:nth-child(1)::after {
  content: "Blacklist · click to show"; position: absolute; inset: 0; display: grid; place-items: center; padding: 0 .6em; text-align: center;
  color: #fff; font-weight: 800; font-size: .85em; text-shadow: 0 1px 4px #000; opacity: 0; animation: s4-label 10s ease infinite;
}
@keyframes s4-label { 0%, 46% { opacity: 0; } 50%, 82% { opacity: 1; } 86%, 100% { opacity: 0; } }
.sc-blur .scrim { position: absolute; inset: 0; background: rgba(8, 6, 12, .5); opacity: 0; animation: s4-scrim 10s ease infinite; z-index: 2; }
@keyframes s4-scrim { 0%, 4% { opacity: 0; } 10%, 60% { opacity: 1; } 66%, 100% { opacity: 0; } }
.sc-blur .drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: 54%; padding: 1em; display: flex; flex-direction: column; gap: .6em; z-index: 3;
  background: var(--bg-2); border-left: 2px solid var(--line); box-shadow: -20px 0 60px rgba(0, 0, 0, .5); animation: s4-drawer 10s cubic-bezier(.2, .8, .2, 1) infinite;
}
@keyframes s4-drawer { 0%, 4% { transform: translateX(105%); } 12%, 60% { transform: none; } 68%, 100% { transform: translateX(105%); } }
.sc-blur .dhead { display: flex; align-items: center; justify-content: space-between; font-size: 1.15em; padding-bottom: .5em; border-bottom: 2px dashed var(--border); }
.sc-blur .dh { color: var(--muted); font-size: .8em; letter-spacing: .06em; font-weight: 800; }
.sc-blur .dh u { display: none; } .sc-blur .dh u:nth-child(1) { display: inline; animation: s4-u1 10s steps(1) infinite; } .sc-blur .dh u:nth-child(2) { display: inline; animation: s4-u2 10s steps(1) infinite; }
@keyframes s4-u1 { 0%, 40% { font-size: 1em; } 41%, 100% { font-size: 0; } }
@keyframes s4-u2 { 0%, 40% { font-size: 0; } 41%, 100% { font-size: 1em; } }
.sc-blur .rchips { display: flex; gap: .35em; flex-wrap: wrap; }
.sc-blur .chip.rs.on { background: var(--safe); border-color: var(--safe); color: var(--ink); }
.sc-blur .bta { display: flex; flex-direction: column; gap: .15em; padding: .5em .7em; min-height: 3.6em; border-radius: .8em; border: 2px solid var(--border); background: var(--bg); font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
.sc-blur .typing i { font-style: normal; opacity: 0; animation: s3-type2 10s steps(1) infinite; }
.sc-blur .typing i:nth-child(1) { animation-delay: 2s; } .sc-blur .typing i:nth-child(2) { animation-delay: 2.2s; } .sc-blur .typing i:nth-child(3) { animation-delay: 2.4s; }
.sc-blur .typing i:nth-child(4) { animation-delay: 2.6s; } .sc-blur .typing i:nth-child(5) { animation-delay: 2.8s; } .sc-blur .typing i:nth-child(6) { animation-delay: 3s; } .sc-blur .typing i:nth-child(7) { animation-delay: 3.2s; }
@keyframes s3-type2 { 0% { opacity: 1; } 75%, 100% { opacity: 0; } }
.scene .seg { display: inline-flex; padding: .2em; gap: .15em; border-radius: 999px; background: var(--bg); border: 2px solid var(--border); align-self: flex-start; }
.scene .seg span { padding: .3em .9em; border-radius: 999px; color: var(--muted); font-weight: 700; }
.scene .seg span.on { background: var(--accent); color: var(--ink); }

/* 05 for you: pick themes, then the "For you" row on the home page */
.scene .tour { position: absolute; left: 50%; top: 50%; width: 80%; padding: 1em 1.2em; display: flex; flex-direction: column; gap: .5em; transform: translate(-50%, -50%);
  background: var(--surface); border: 2px solid var(--line); border-radius: 1.6em; box-shadow: 6px 6px 0 var(--line); z-index: 2; }
.scene .tour > b { font: 800 1.35em var(--display); }
.scene .dashes { display: flex; gap: .35em; } .scene .dashes i { width: 1.7em; height: .45em; border-radius: 99px; background: var(--surface-2); } .scene .dashes i.on { background: var(--accent); }
.sc-foryou .tour { animation: s5-tour 10s ease infinite; }
@keyframes s5-tour { 0%, 54% { opacity: 1; transform: translate(-50%, -50%); } 60%, 94% { opacity: 0; transform: translate(-50%, -54%) scale(.95); } 100% { opacity: 1; transform: translate(-50%, -50%); } }
.sc-foryou .themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: .45em; }
.sc-foryou .theme { position: relative; aspect-ratio: 1; border-radius: .8em; overflow: hidden; border: 2px solid var(--border); }
.sc-foryou .theme .art { position: absolute; inset: 0; }
.sc-foryou .theme span { position: absolute; left: 0; right: 0; bottom: 0; padding: .9em .3em .25em; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); font-size: .78em; font-weight: 800; text-align: center; }
.sc-foryou .tick { position: absolute; top: .25em; right: .25em; display: grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--accent); color: var(--ink); font-style: normal; font-size: .8em; font-weight: 900; transform: scale(0); }
.sc-foryou .t0, .sc-foryou .t2, .sc-foryou .t3 { animation: s5-pick 10s steps(1) infinite; }
.sc-foryou .t0 .tick, .sc-foryou .t2 .tick, .sc-foryou .t3 .tick { animation: s5-tick 10s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.sc-foryou .t2, .sc-foryou .t2 .tick { animation-delay: .8s; } .sc-foryou .t3, .sc-foryou .t3 .tick { animation-delay: 1.6s; }
@keyframes s5-pick { 0%, 10% { border-color: var(--border); } 11%, 56% { border-color: var(--accent); } 57%, 100% { border-color: var(--border); } }
@keyframes s5-tick { 0%, 10% { transform: scale(0); } 13%, 56% { transform: none; } 57%, 100% { transform: scale(0); } }
.sc-foryou .tfoot { display: flex; align-items: center; justify-content: space-between; }
.sc-foryou .cnt { display: inline-grid; } .sc-foryou .cnt u { grid-area: 1 / 1; opacity: 0; }
.sc-foryou .cnt u:nth-child(1) { animation: s5-n0 10s steps(1) infinite; } .sc-foryou .cnt u:nth-child(2) { animation: s5-n1 10s steps(1) infinite; }
.sc-foryou .cnt u:nth-child(3) { animation: s5-n2 10s steps(1) infinite; } .sc-foryou .cnt u:nth-child(4) { animation: s5-n3 10s steps(1) infinite; }
@keyframes s5-n0 { 0%, 10% { opacity: 1; } 11%, 100% { opacity: 0; } }
@keyframes s5-n1 { 0%, 10% { opacity: 0; } 11%, 18% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes s5-n2 { 0%, 18% { opacity: 0; } 19%, 26% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes s5-n3 { 0%, 26% { opacity: 0; } 27%, 100% { opacity: 1; } }
.sc-foryou .nx { animation: s5-next 10s ease infinite; }
@keyframes s5-next { 0%, 44%, 52%, 100% { transform: none; } 48% { transform: translateY(.15em) scale(.94); box-shadow: 0 0 0 var(--line); } }
.scene .rail { position: absolute; left: 1em; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .7em; }
.scene .rhead { display: flex; align-items: center; gap: .6em; }
.scene .rhead b { font: 800 1.4em var(--display); }
.scene .ricon { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: .8em; background: #ff4f8b; color: var(--ink); border: 2px solid var(--line); box-shadow: 2px 2px 0 var(--line); transform: rotate(-4deg); }
.scene .ricon.mint { background: #4fdc8b; } .scene .ricon.lagoon { background: #1fc8b5; }
.scene .seeall { color: var(--accent); font-weight: 800; margin-right: 1em; }
.scene .rtrack { display: flex; gap: .8em; }
.scene .tile { position: relative; flex: none; width: 10em; aspect-ratio: 3 / 4; border-radius: 1.1em; overflow: hidden; border: 2px solid var(--line); background: var(--surface); }
.scene .tile .art { position: absolute; inset: 0; }
.scene .tile small { position: absolute; left: .5em; bottom: .4em; color: #fff; font-weight: 800; text-shadow: 0 1px 3px #000; }
.sc-foryou .rail { opacity: 0; animation: s5-rail 10s ease infinite; }
.sc-foryou .rail .tile { animation: s5-tile 10s cubic-bezier(.2, .9, .3, 1.2) infinite; }
.sc-foryou .rail .tile:nth-child(2) { animation-delay: .12s; } .sc-foryou .rail .tile:nth-child(3) { animation-delay: .24s; } .sc-foryou .rail .tile:nth-child(4) { animation-delay: .36s; }
@keyframes s5-rail { 0%, 58% { opacity: 0; } 62%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes s5-tile { 0%, 59% { transform: translateX(120%); } 66%, 100% { transform: none; } }

/* 06 swipe: a finger grabs the real card and drags it: right → LIKE, left → NOPE, then it's flung and the
   next one steps forward (Swipe.tsx: rotate dx/18, stamps by lean, fly ±150vw rotate ±28deg in .23s, behind = scale .95, +14px, brightness .7).
   One 9 s clock: three cards take turns being on top (like, pass, like), each 3 s. */
.sc-swipe .sstack { position: absolute; top: 3.6em; bottom: 8.3em; left: 50%; aspect-ratio: 3 / 4; transform: translateX(-50%); }
.sc-swipe .scard { position: absolute; inset: 0; border-radius: 1.6em; overflow: hidden; background: var(--bg-2); border: 2px solid var(--line); box-shadow: 5px 5px 0 var(--line);
  animation: s6-like 9s linear infinite; }
.sc-swipe .scard.b { animation-name: s6-nope; animation-delay: -6s; }
.sc-swipe .scard.c { animation-delay: -3s; }
.sc-swipe .scard .art { position: absolute; inset: 0; background: #0d0b11; }
.sc-swipe .scard .art img { object-fit: contain; }
@keyframes s6-like {
  0% { transform: none; filter: none; z-index: 3; opacity: 1; }
  10% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .4, 1); }
  25.6% { transform: translate(5.5em, .4em) rotate(6deg); animation-timing-function: ease-in; }
  28.3% { transform: translate(26em, 2.5em) rotate(28deg); opacity: 1; z-index: 3; }
  28.4%, 66.6% { transform: scale(.95) translateY(14px); filter: brightness(.7); opacity: 0; z-index: 0; }
  68.5%, 95% { transform: scale(.95) translateY(14px); filter: brightness(.7); opacity: 1; z-index: 1; animation-timing-function: ease; }
  97.8%, 100% { transform: none; filter: none; opacity: 1; z-index: 3; }
}
@keyframes s6-nope {
  0% { transform: none; filter: none; z-index: 3; opacity: 1; }
  10% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .4, 1); }
  25.6% { transform: translate(-5.5em, .4em) rotate(-6deg); animation-timing-function: ease-in; }
  28.3% { transform: translate(-26em, 2.5em) rotate(-28deg); opacity: 1; z-index: 3; }
  28.4%, 66.6% { transform: scale(.95) translateY(14px); filter: brightness(.7); opacity: 0; z-index: 0; }
  68.5%, 95% { transform: scale(.95) translateY(14px); filter: brightness(.7); opacity: 1; z-index: 1; animation-timing-function: ease; }
  97.8%, 100% { transform: none; filter: none; opacity: 1; z-index: 3; }
}
/* the stamp follows the lean: faint as the drag starts, full past the threshold */
.sc-swipe .stamp { position: absolute; top: 1em; z-index: 2; padding: .15em .6em; border-radius: .6em; border: 3px solid currentColor; background: rgba(0, 0, 0, .35);
  font: 800 1.6em var(--display); letter-spacing: .06em; opacity: 0; }
.sc-swipe .stamp.like { left: .8em; color: var(--safe); transform: rotate(-14deg); }
.sc-swipe .stamp.nope { right: .8em; color: var(--explicit); transform: rotate(14deg); }
.sc-swipe .scard.a .stamp.like, .sc-swipe .scard.c .stamp.like, .sc-swipe .scard.b .stamp.nope { animation: s6-stamp 9s linear infinite; }
.sc-swipe .scard.b .stamp.nope { animation-delay: -6s; }
.sc-swipe .scard.c .stamp.like { animation-delay: -3s; }
@keyframes s6-stamp { 0%, 11% { opacity: 0; } 22%, 28.3% { opacity: 1; } 28.4%, 100% { opacity: 0; } }
.sc-swipe .sinfo { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .5em; padding: 1.8em .8em .6em; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #f7f2ea; font-weight: 700; }
.sc-swipe .sinfo .dot { position: static; flex: none; }
.sc-swipe .sinfo span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-swipe .sinfo span:last-child { display: inline-flex; align-items: center; gap: .25em; white-space: nowrap; }
/* the finger: comes down on the card, presses, drags, lets go */
.sc-swipe .finger { position: absolute; left: 50%; top: 52%; z-index: 5; width: 2.6em; height: 2.6em; margin: -1.3em; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .55); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 .3em 1em rgba(0, 0, 0, .45); opacity: 0; animation: s6-finger 9s linear infinite; }
@keyframes s6-finger {
  0%, 4% { opacity: 0; transform: scale(1.3); }
  8% { opacity: 1; transform: scale(1.3); } 10% { transform: scale(1); animation-timing-function: cubic-bezier(.3, 0, .4, 1); }
  25.6% { opacity: 1; transform: translate(5.5em, .4em); } 27.5% { opacity: 0; transform: translate(6.5em, .4em) scale(1.3); }
  27.6%, 37.3% { opacity: 0; transform: scale(1.3); }
  41.3% { opacity: 1; transform: scale(1.3); } 43.3% { transform: scale(1); animation-timing-function: cubic-bezier(.3, 0, .4, 1); }
  58.9% { opacity: 1; transform: translate(-5.5em, .4em); } 60.8% { opacity: 0; transform: translate(-6.5em, .4em) scale(1.3); }
  60.9%, 70.6% { opacity: 0; transform: scale(1.3); }
  74.6% { opacity: 1; transform: scale(1.3); } 76.6% { transform: scale(1); animation-timing-function: cubic-bezier(.3, 0, .4, 1); }
  92.2% { opacity: 1; transform: translate(5.5em, .4em); } 94.1% { opacity: 0; transform: translate(6.5em, .4em) scale(1.3); }
  94.2%, 100% { opacity: 0; transform: scale(1.3); }
}
.sc-swipe .sacts { position: absolute; left: 50%; bottom: 2.6em; display: flex; align-items: center; gap: 1.1em; transform: translateX(-50%); }
.sc-swipe .sbtn { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--text); box-shadow: 3px 3px 0 var(--line); }
.sc-swipe .sbtn .ic { width: 1.6em; height: 1.6em; }
.sc-swipe .sbtn.small { width: 2.6em; height: 2.6em; color: var(--muted); }
.sc-swipe .sbtn.small .ic { width: 1.15em; height: 1.15em; }
.sc-swipe .sbtn.nope { color: var(--explicit); animation: s6-nopebtn 9s ease infinite; }
.sc-swipe .sbtn.like { background: var(--berry); color: var(--ink); animation: s6-likebtn 9s ease infinite; }
@keyframes s6-likebtn { 0%, 25%, 30%, 91.5%, 96.5%, 100% { transform: none; } 27%, 93.5% { transform: scale(1.18); } }
@keyframes s6-nopebtn { 0%, 58.3%, 63.3%, 100% { transform: none; } 60.3% { transform: scale(1.18); } }
.sc-swipe .snote { position: absolute; left: 0; right: 0; bottom: .8em; text-align: center; }

/* 07 trends: ranked cards, each with its curve drawing itself */
.scene .ttl { position: absolute; top: 1em; left: 1.2em; display: flex; align-items: center; gap: .4em; font: 800 1.35em var(--display); }
.scene .ttl .ic { color: var(--accent); }
.sc-trends .tcard { display: flex; align-items: center; gap: .7em; margin: 0 1.2em .55em; padding: .5em .7em;
  background: var(--surface); border: 2px solid var(--border); border-radius: 1.1em; animation: s7-in 9s cubic-bezier(.2, .9, .3, 1.1) infinite; animation-delay: var(--d); }
.sc-trends .tcard:first-of-type { margin-top: 4.2em; }
@keyframes s7-in { 0% { opacity: 0; transform: translateY(1.2em); } 6%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.sc-trends .trank { flex: none; width: 1.4em; font: 800 1.3em var(--display); color: var(--muted); text-align: center; }
.sc-trends .tcov { flex: none; width: 3.6em; height: 3.6em; border-radius: .7em; }
.sc-trends .tname { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sc-trends .tname b { font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-trends .tname small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-trends .tspark { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .1em; width: 7.5em; }
.sc-trends .tspark svg { width: 100%; height: auto; overflow: visible; }
.sc-trends .line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: s7-draw 9s ease infinite; animation-delay: var(--d); }
.sc-trends .area { fill: var(--accent-soft); opacity: 0; animation: s7-fade 9s ease infinite; animation-delay: var(--d); }
.sc-trends .mid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 2 3; }
.sc-trends circle { fill: var(--accent); opacity: 0; animation: s7-fade 9s ease infinite; animation-delay: var(--d); }
.sc-trends em { font-style: normal; color: var(--safe); font-size: .95em; font-weight: 800; opacity: 0; animation: s7-fade 9s ease infinite; animation-delay: var(--d); }
@keyframes s7-draw { 0%, 5% { stroke-dashoffset: 220; } 25%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 220; } }
@keyframes s7-fade { 0%, 20% { opacity: 0; } 27%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 08 reverse search: a picture is dropped, compared, found */
.sc-reverse .drop { position: absolute; top: 4.2em; left: 1.2em; right: 1.2em; height: 11em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em;
  border: 3px dashed var(--border); border-radius: 1.2em; background: var(--surface); animation: s8-zone 10s ease infinite; }
@keyframes s8-zone { 0%, 8% { border-color: var(--border); background: var(--surface); } 12%, 24% { border-color: var(--accent); background: var(--accent-soft); } 28%, 100% { border-color: var(--border); background: var(--surface); } }
.sc-reverse .dicon .ic { width: 3em; height: 3em; color: var(--muted); }
.sc-reverse .drop > b, .sc-reverse .drop > small, .sc-reverse .dicon { animation: s8-hide 10s steps(1) infinite; }
@keyframes s8-hide { 0%, 25% { opacity: 1; } 26%, 100% { opacity: 0; } }
.sc-reverse .prev { position: absolute; inset: .7em; display: grid; place-items: center; opacity: 0; animation: s8-prev 10s steps(1) infinite; }
.sc-reverse .prev .art { height: 100%; aspect-ratio: 4 / 3; border-radius: .6em; }
@keyframes s8-prev { 0%, 25% { opacity: 0; } 26%, 100% { opacity: 1; } }
.sc-reverse .flying { position: absolute; width: 8em; aspect-ratio: 4 / 3; top: 5em; right: -2em; border-radius: .6em; overflow: hidden; border: 2px solid var(--line); box-shadow: 0 1em 2em rgba(0, 0, 0, .5);
  animation: s8-fly 10s cubic-bezier(.4, 0, .2, 1) infinite; z-index: 2; }
.sc-reverse .flying .art { width: 100%; height: 100%; }
@keyframes s8-fly { 0% { transform: translate(6em, -4em) rotate(10deg); opacity: 0; } 5% { opacity: 1; } 20% { transform: translate(-14em, 2.5em) rotate(-4deg) scale(.9); opacity: 1; } 25%, 100% { transform: translate(-14em, 3em) scale(.8); opacity: 0; } }
.sc-reverse .comparing { position: absolute; top: 16.2em; left: 1.2em; display: flex; align-items: center; gap: .6em; color: var(--text-2); opacity: 0; animation: s8-cmp 10s ease infinite; }
@keyframes s8-cmp { 0%, 27% { opacity: 0; } 30%, 52% { opacity: 1; } 55%, 100% { opacity: 0; } }
.sc-reverse .found { position: absolute; top: 16em; left: 1.2em; right: 1.2em; display: flex; flex-direction: column; gap: .5em; opacity: 0; animation: s8-found 10s ease infinite; }
.sc-reverse .found > b { font: 800 1.15em var(--display); }
.sc-reverse .fgrid { display: flex; gap: .6em; }
.sc-reverse .ftile { position: relative; width: 7.5em; aspect-ratio: 1; border-radius: .8em; overflow: hidden; border: 2px solid var(--line); }
.sc-reverse .ftile .art { position: absolute; inset: 0; }
.sc-reverse .ftile small { position: absolute; left: .4em; bottom: .3em; color: #fff; font-weight: 900; font-size: 1em; text-shadow: 0 1px 3px #000; }
.sc-reverse .ftile.best { box-shadow: 0 0 0 3px var(--safe); }
@keyframes s8-found { 0%, 55% { opacity: 0; transform: translateY(.8em); } 60%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* 09 tier list: thumbnails leave the tray for their row */
.sc-tier .tboard { position: absolute; top: .9em; left: 1em; right: 1em; border: 2px solid var(--line); border-radius: 1.1em; overflow: hidden; background: var(--surface); }
.sc-tier .trw { display: flex; height: 3.6em; border-bottom: 2px solid var(--line); }
.sc-tier .trw:last-child { border-bottom: 0; }
.sc-tier .trw > b { display: grid; place-items: center; width: 4em; flex: none; color: #1b1520; font: 800 1.5em var(--display); }
.sc-tier .slot { display: flex; gap: .35em; align-items: center; padding: .25em .35em; }
.sc-tier .tt { width: 3em; height: 3em; border-radius: .5em; flex: none; }
.sc-tier .drop-in { display: block; animation: s9-in 9s cubic-bezier(.3, 1.5, .5, 1) infinite; }
.sc-tier .drop-in.d2 { animation-name: s9-in2; }
@keyframes s9-in { 0%, 30% { transform: scale(0); width: 0; } 34%, 92% { transform: none; width: 3em; } 100% { transform: scale(0); width: 0; } }
@keyframes s9-in2 { 0%, 58% { transform: scale(0); width: 0; } 62%, 92% { transform: none; width: 3em; } 100% { transform: scale(0); width: 0; } }
.sc-tier .tray { position: absolute; left: 1em; right: 1em; bottom: .9em; padding: .5em .7em; display: flex; flex-direction: column; gap: .35em; border: 2px dashed var(--border); border-radius: 1em; }
.sc-tier .tray > div { display: flex; gap: .4em; }
.sc-tier .tray u { display: none; }
.sc-tier .tray u:nth-child(1) { display: inline; animation: s9-c1 9s steps(1) infinite; } .sc-tier .tray u:nth-child(2) { display: inline; animation: s9-c2 9s steps(1) infinite; } .sc-tier .tray u:nth-child(3) { display: inline; animation: s9-c3 9s steps(1) infinite; }
@keyframes s9-c1 { 0%, 31% { font-size: 1em; } 32%, 100% { font-size: 0; } }
@keyframes s9-c2 { 0%, 31% { font-size: 0; } 32%, 59% { font-size: 1em; } 60%, 100% { font-size: 0; } }
@keyframes s9-c3 { 0%, 59% { font-size: 0; } 60%, 92% { font-size: 1em; } 93%, 100% { font-size: 0; } }
.sc-tier .p1 { animation: s9-out1 9s cubic-bezier(.5, 0, .3, 1) infinite; }
.sc-tier .p2 { animation: s9-out2 9s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes s9-out1 { 0%, 14% { transform: none; opacity: 1; box-shadow: none; } 18% { transform: translateY(-.4em) scale(.94); box-shadow: 0 0 0 3px var(--accent-soft); outline: 2px solid var(--accent); } 30% { transform: translate(5em, -15em); opacity: 1; } 31%, 92% { opacity: 0; transform: translate(5em, -15em); width: 0; margin-right: -.4em; } 100% { opacity: 1; transform: none; } }
@keyframes s9-out2 { 0%, 42% { transform: none; opacity: 1; } 46% { transform: translateY(-.4em) scale(.94); outline: 2px solid var(--accent); } 58% { transform: translate(4em, -8em); opacity: 1; } 59%, 92% { opacity: 0; width: 0; margin-right: -.4em; } 100% { opacity: 1; transform: none; } }

/* 10 comics: the reader, one scroll, the counter and the bar follow */
.scene .reader { position: absolute; inset: 0; background: var(--bg); }
.scene .rbar { position: absolute; top: 0; left: 0; right: 0; height: 3.4em; display: flex; align-items: center; gap: .6em; padding: 0 .8em; background: var(--glass); backdrop-filter: blur(12px); z-index: 2; border-bottom: 2px solid var(--line); }
.scene .rt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.scene .rt b { font: 800 1.15em var(--display); white-space: nowrap; }
.scene .rpill { padding: .25em .7em; border-radius: 999px; background: var(--surface-2); font-weight: 800; white-space: nowrap; }
.scene .rprog { position: absolute; top: 3.4em; left: 0; right: 0; height: 4px; z-index: 2; }
.scene .rprog i { display: block; height: 100%; width: 2%; background: var(--accent); }
.scene .rstrip { position: absolute; top: 3.6em; bottom: 0; left: 50%; width: 46%; transform: translateX(-50%); overflow: hidden; }
.scene .sin { display: flex; flex-direction: column; }
.scene .sin .art { width: 100%; aspect-ratio: 2 / 3; flex: none; }
.sc-comic .reader { animation: s10-reader 10s ease infinite; }
@keyframes s10-reader { 0%, 76% { opacity: 1; } 80%, 96% { opacity: 0; } 100% { opacity: 1; } }
.sc-comic .sin { animation: s10-scroll 10s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes s10-scroll { 0%, 5% { transform: none; } 75%, 100% { transform: translateY(-62%); } }
.sc-comic .rprog i { animation: s10-prog 10s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes s10-prog { 0%, 5% { width: 2.5%; } 75%, 100% { width: 30%; } }
.sc-comic .rpill u { display: none; }
.sc-comic .rpill u:nth-child(1) { display: inline; animation: s10-p1 10s steps(1) infinite; } .sc-comic .rpill u:nth-child(2) { display: inline; animation: s10-p2 10s steps(1) infinite; } .sc-comic .rpill u:nth-child(3) { display: inline; animation: s10-p3 10s steps(1) infinite; }
@keyframes s10-p1 { 0%, 30% { font-size: 1em; } 31%, 100% { font-size: 0; } }
@keyframes s10-p2 { 0%, 30% { font-size: 0; } 31%, 60% { font-size: 1em; } 61%, 100% { font-size: 0; } }
@keyframes s10-p3 { 0%, 60% { font-size: 0; } 61%, 100% { font-size: 1em; } }
.sc-comic .cont { position: absolute; left: 1.4em; right: 1.4em; top: 50%; display: flex; flex-direction: column; gap: .7em; transform: translateY(-50%); opacity: 0; animation: s10-cont 10s ease infinite; }
.sc-comic .cont > b { font: 800 1.4em var(--display); }
.sc-comic .ricon2 .ic { width: 2em; height: 2em; color: #1fc8b5; }
@keyframes s10-cont { 0%, 78% { opacity: 0; transform: translateY(-40%); } 82%, 96% { opacity: 1; transform: translateY(-50%); } 100% { opacity: 0; } }
.scene .ctile { display: flex; gap: .8em; align-items: center; padding: .6em; border-radius: 1em; background: var(--surface); border: 2px solid var(--line); }
.scene .ctile > .art { width: 5em; aspect-ratio: 3 / 4; border-radius: .7em; flex: none; }
.scene .ctile > div { display: flex; flex-direction: column; gap: .25em; flex: 1; min-width: 0; }
.scene .tprog { display: block; height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.scene .tprog i { display: block; height: 100%; width: 30%; background: var(--accent); }

/* 11 alerts: Follow, then the bell lights up and opens */
.scene .topbar { position: absolute; top: 0; left: 0; right: 0; height: 3.6em; display: flex; align-items: center; gap: .5em; padding: 0 .9em; background: var(--bg); border-bottom: 2px solid var(--line); z-index: 3; }
.scene .topbar .bname { font: 800 1.3em var(--display); }
.scene .inbox { position: relative; width: 2.6em; height: 2.6em; padding: 0; }
.scene .avatar { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #ff4f8b, #ffcf2e); border: 2px solid var(--line); }
.sc-bell .count { position: absolute; top: -.5em; right: -.5em; display: inline-grid; min-width: 1.6em; height: 1.6em; padding: 0 .3em; border-radius: 999px; place-items: center;
  background: var(--explicit); color: #fff; font-style: normal; font-size: .85em; font-weight: 800; border: 2px solid var(--line); transform: scale(0); animation: s11-badge 10s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.sc-bell .count u { grid-area: 1 / 1; }
.sc-bell .count u:nth-child(2) { opacity: 0; animation: s11-two 10s steps(1) infinite; } .sc-bell .count u:nth-child(1) { animation: s11-one 10s steps(1) infinite; }
@keyframes s11-badge { 0%, 34% { transform: scale(0); } 38%, 88% { transform: none; } 92%, 100% { transform: scale(0); } }
@keyframes s11-one { 0%, 46% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes s11-two { 0%, 46% { opacity: 0; } 47%, 100% { opacity: 1; } }
.sc-bell .inbox .ic { transform-origin: 50% 10%; animation: s11-ring 10s ease infinite; }
@keyframes s11-ring { 0%, 34%, 52%, 100% { transform: none; } 37% { transform: rotate(18deg); } 40% { transform: rotate(-16deg); } 43% { transform: rotate(12deg); } 46% { transform: rotate(-8deg); } 49% { transform: rotate(4deg); } }
.sc-bell .feed.under { top: 14.6em; }  /* the artist's posts, under their header */
.sc-bell .ahero { position: absolute; top: 4.4em; left: 1em; right: 1em; border-radius: 1.4em; overflow: hidden; border: 2px solid var(--line); background: var(--surface); }
.sc-bell .aban { height: 5.5em; } .sc-bell .aban .art { width: 100%; height: 100%; }
.sc-bell .aid { display: flex; align-items: center; gap: .7em; padding: .7em .9em; }
.sc-bell .aid small { color: #ff7a3d; letter-spacing: .08em; font-weight: 800; }
.sc-bell .aid b { font: 800 1.3em var(--display); display: block; }
.sc-bell .amark { display: grid; place-items: center; width: 3em; height: 3em; margin-top: -1.8em; border-radius: .9em; background: #ff7a3d; color: var(--ink); border: 3px solid var(--surface); transform: rotate(-6deg); }
.sc-bell .follow { display: inline-grid; } .sc-bell .follow > span { grid-area: 1 / 1; }
.sc-bell .f1 { animation: s11-f1 10s steps(1) infinite; } .sc-bell .f2 { opacity: 0; animation: s11-f2 10s steps(1) infinite; }
@keyframes s11-f1 { 0%, 16% { opacity: 1; transform: none; } 13% { transform: scale(.94); } 17%, 100% { opacity: 0; } }
@keyframes s11-f2 { 0%, 16% { opacity: 0; } 17%, 100% { opacity: 1; } }
.sc-bell .pop { position: absolute; top: 3.9em; right: .8em; width: 62%; padding: .7em; display: flex; flex-direction: column; gap: .4em; z-index: 4;
  background: var(--surface); border: 2px solid var(--line); border-radius: 1.2em; box-shadow: 5px 5px 0 var(--line); opacity: 0; animation: s11-pop 10s ease infinite; }
@keyframes s11-pop { 0%, 54% { opacity: 0; transform: translateY(.6em); } 58%, 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.sc-bell .phead { display: flex; justify-content: space-between; align-items: center; }
.sc-bell .phead small { color: var(--accent); }
.sc-bell .arow { display: flex; align-items: center; gap: .6em; padding: .4em; border-radius: .8em; background: var(--bg-2); }
.sc-bell .arow > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sc-bell .arow b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-bell .aic { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: .75em; background: var(--accent); color: var(--ink); flex: none; }
.sc-bell .aic.comic { background: #9a6bff; }

/* 12 offline: the chip counts the pages, then "Saved offline"; the comic shows up in its row */
.sc-offline .reader { animation: s12-reader 9s ease infinite; }
@keyframes s12-reader { 0%, 62% { opacity: 1; } 66%, 96% { opacity: .25; } 100% { opacity: 1; } }
.sc-offline .sin { animation: s10-scroll 18s linear infinite; }
.sc-offline .ochip { display: inline-grid; } .sc-offline .ochip > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .35em; }
.sc-offline .o1 { animation: s12-o1 9s steps(1) infinite; } .sc-offline .o2 { opacity: 0; animation: s12-o2 9s steps(1) infinite; } .sc-offline .o3 { opacity: 0; animation: s12-o3 9s steps(1) infinite; }
@keyframes s12-o1 { 0%, 14% { opacity: 1; } 15%, 100% { opacity: 0; } }
@keyframes s12-o2 { 0%, 14% { opacity: 0; } 15%, 44% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes s12-o3 { 0%, 44% { opacity: 0; } 45%, 100% { opacity: 1; } }
.sc-offline .ochip { animation: s12-chip 9s steps(1) infinite; }
@keyframes s12-chip { 0%, 44% { background: transparent; color: var(--muted); border-color: var(--border); } 45%, 100% { background: var(--accent); color: var(--ink); border-color: var(--accent); } }
.sc-offline .o2 u { display: none; }
.sc-offline .o2 u:nth-child(1) { display: inline; animation: s12-u1 9s steps(1) infinite; } .sc-offline .o2 u:nth-child(2) { display: inline; animation: s12-u2 9s steps(1) infinite; } .sc-offline .o2 u:nth-child(3) { display: inline; animation: s12-u3 9s steps(1) infinite; }
@keyframes s12-u1 { 0%, 24% { font-size: 1em; } 25%, 100% { font-size: 0; } }
@keyframes s12-u2 { 0%, 24% { font-size: 0; } 25%, 36% { font-size: 1em; } 37%, 100% { font-size: 0; } }
@keyframes s12-u3 { 0%, 36% { font-size: 0; } 37%, 100% { font-size: 1em; } }
.sc-offline .rprog i { width: 100%; background: var(--safe); transform-origin: left; animation: s12-bar 9s linear infinite; }
@keyframes s12-bar { 0%, 15% { transform: scaleX(0); } 44% { transform: scaleX(1); } 45%, 100% { transform: scaleX(0); } }
.sc-offline .rail.mini { top: auto; bottom: 1.2em; transform: none; opacity: 0; animation: s12-rail 9s ease infinite; }
.sc-offline .rail.mini .tile { width: 7em; }
@keyframes s12-rail { 0%, 62% { opacity: 0; transform: translateY(1em); } 67%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 13 collections: Collect, tick a collection, saved on e621 */
.scene .vwr.still { position: absolute; inset: 0; background: #08070a; }
.sc-collect .vstage { top: 1em; }
.sc-collect .collect { animation: s13-press 9s ease infinite; border-radius: .6em; }
@keyframes s13-press { 0%, 10%, 22%, 100% { color: var(--text-2); background: transparent; } 13%, 18% { color: var(--accent); background: var(--accent-soft); } }
.sc-collect .modal { position: absolute; left: 50%; top: 50%; width: 64%; padding: 1em; display: flex; flex-direction: column; gap: .55em; z-index: 4;
  background: var(--surface); border: 2px solid var(--line); border-radius: 1.6em; box-shadow: 6px 6px 0 var(--line); opacity: 0; animation: s13-modal 9s cubic-bezier(.2, .9, .3, 1.2) infinite; }
@keyframes s13-modal { 0%, 18% { opacity: 0; transform: translate(-50%, -42%) scale(.96); } 22%, 80% { opacity: 1; transform: translate(-50%, -50%); } 85%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.96); } }
.sc-collect .mhead { display: flex; align-items: center; justify-content: space-between; font-size: 1.1em; }
.sc-collect .setrow { display: flex; align-items: center; gap: .6em; padding: .6em .7em; border-radius: .9em; background: var(--bg-2); border: 2px solid var(--border); }
.sc-collect .setrow.s1 { animation: s13-on 9s steps(1) infinite; }
@keyframes s13-on { 0%, 39% { border-color: var(--border); background: var(--bg-2); } 40%, 100% { border-color: var(--accent); background: var(--accent-soft); } }
.sc-collect .cb, .sc-collect .cb2 { width: 1.2em; height: 1.2em; border-radius: .35em; border: 2px solid var(--muted); flex: none; }
.sc-collect .cb { animation: s13-cb 9s steps(1) infinite; }
@keyframes s13-cb { 0%, 39% { background: transparent; border-color: var(--muted); } 40%, 100% { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--surface); } }
.sc-collect .bm { display: inline-grid; color: var(--accent); } .sc-collect .bm u { grid-area: 1 / 1; }
.sc-collect .bm u:nth-child(2) { opacity: 0; animation: s13-f 9s steps(1) infinite; } .sc-collect .bm u:nth-child(1) { animation: s13-l 9s steps(1) infinite; }
@keyframes s13-f { 0%, 39% { opacity: 0; } 40%, 100% { opacity: 1; } }
@keyframes s13-l { 0%, 39% { opacity: 1; } 40%, 100% { opacity: 0; } }
.sc-collect .btn.plain { background: transparent; align-self: flex-start; }
.sc-collect .saved { color: var(--safe); opacity: 0; animation: s13-f 9s ease infinite; }

/* 14 sync: the progress moves on the computer, then on the phone */
.sc-sync .dev { position: absolute; bottom: 20%; border: .5em solid #0b070e; background: var(--bg); border-radius: 1em; overflow: hidden; }
.sc-sync .laptop { left: 5%; width: 54%; aspect-ratio: 16 / 10; }
.sc-sync .mobile { right: 7%; width: 24%; aspect-ratio: 9 / 17; border-radius: 1.5em; }
.sc-sync .scr { position: absolute; inset: 0; padding: .7em; display: flex; flex-direction: column; gap: .5em; }
.sc-sync .rhead b { font-size: 1.05em; } .sc-sync .ricon { width: 1.9em; height: 1.9em; }
.sc-sync .ctile > .art { width: 3.6em; }
.sc-sync .ctile.col { flex-direction: column; align-items: stretch; } .sc-sync .ctile.col > .art { width: 100%; }
.sc-sync small { display: inline-grid; } .sc-sync small u { grid-area: 1 / 1; }
.sc-sync .laptop small u:nth-child(1) { animation: s14-a1 8s steps(1) infinite; } .sc-sync .laptop small u:nth-child(2) { opacity: 0; animation: s14-a2 8s steps(1) infinite; }
.sc-sync .mobile small u:nth-child(1) { animation: s14-b1 8s steps(1) infinite; } .sc-sync .mobile small u:nth-child(2) { opacity: 0; animation: s14-b2 8s steps(1) infinite; }
@keyframes s14-a1 { 0%, 24% { opacity: 1; } 25%, 100% { opacity: 0; } } @keyframes s14-a2 { 0%, 24% { opacity: 0; } 25%, 100% { opacity: 1; } }
@keyframes s14-b1 { 0%, 64% { opacity: 1; } 65%, 100% { opacity: 0; } } @keyframes s14-b2 { 0%, 64% { opacity: 0; } 65%, 100% { opacity: 1; } }
.sc-sync .tprog i { animation: s14-p 8s ease infinite; } .sc-sync .tprog.late i { animation-name: s14-pl; }
@keyframes s14-p { 0%, 8% { width: 15%; } 24%, 100% { width: 30%; } }
@keyframes s14-pl { 0%, 62% { width: 15%; } 70%, 100% { width: 30%; } }
.sc-sync .path { position: absolute; left: 34%; top: 8%; width: 48%; fill: none; stroke: var(--muted); stroke-width: 3; stroke-dasharray: 6 8; }
.sc-sync .pdot { position: absolute; left: 34%; top: 8%; width: 1.1em; height: 1.1em; margin: -.55em; border-radius: 50%; background: var(--accent); border: 2px solid var(--line);
  offset-path: path("M 10 50 C 70 -10, 130 -10, 190 50"); offset-rotate: 0deg; animation: s14-dot 8s ease-in-out infinite; }
@keyframes s14-dot { 0%, 28% { offset-distance: 0%; opacity: 0; } 32% { opacity: 1; } 60% { offset-distance: 100%; opacity: 1; } 64%, 100% { offset-distance: 100%; opacity: 0; } }

/* 15 Fav Clash: the booster is cut open, the card flips, its rarity slams in (cards.css) */
.sc-cards .bhead { position: absolute; top: .9em; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: .1em; }
.sc-cards .bhead b { font: 800 1.4em var(--display); }
.sc-cards .pack { position: absolute; left: 50%; top: 18%; width: 30%; aspect-ratio: 5 / 7.4; margin-left: -15%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4em;
  border-radius: .8em; border: 2px solid var(--line); overflow: hidden; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  background: conic-gradient(from 200deg, #ff4f8b, #ff7a3d, #ffcf2e, #4fdc8b, #3aa8ff, #9a6bff, #ff4f8b); animation: s15-pack 10s ease infinite; }
.sc-cards .pack > b { font: 800 1.5em var(--display); text-align: center; line-height: 1; }
.sc-cards .phero { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: .8em; background: rgba(255, 255, 255, .25); }
.sc-cards .phero .ic { width: 2em; height: 2em; color: #fff; }
.sc-cards .pack small { color: #fff; }
.sc-cards .ptop { position: absolute; top: 0; left: 0; right: 0; height: 15%; background: rgba(0, 0, 0, .18); border-bottom: 2px dashed rgba(255, 255, 255, .7); animation: s15-top 10s ease-in infinite; }
.sc-cards .cut { position: absolute; top: 15%; left: 0; right: 0; height: 3px; } .sc-cards .cut i { display: block; height: 100%; width: 0; background: #fff; box-shadow: 0 0 10px #fff; animation: s15-cut 10s linear infinite; }
.sc-cards .pshine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%); background-size: 260% 100%; animation: s15-shine 3.2s ease infinite; }
@keyframes s15-shine { 0% { background-position: 160% 0; } 70%, 100% { background-position: -100% 0; } }
@keyframes s15-pack { 0% { transform: translateY(0); opacity: 1; } 10% { transform: translateY(-.4em); } 20% { transform: translateY(0); } 33% { transform: translateY(0); opacity: 1; } 42% { transform: translateY(6em); opacity: 0; } 98% { opacity: 0; transform: translateY(0); } 100% { opacity: 1; } }
@keyframes s15-cut { 0%, 14% { width: 0; } 28%, 33% { width: 100%; } 34%, 100% { width: 0; } }
@keyframes s15-top { 0%, 30% { transform: none; } 38%, 100% { transform: translate(40%, -140%) rotate(24deg); } }
.sc-cards .reveal { position: absolute; left: 50%; top: 18%; width: 30%; aspect-ratio: 5 / 7; margin-left: -15%; perspective: 700px; opacity: 0; animation: s15-reveal 10s ease infinite; }
@keyframes s15-reveal { 0%, 40% { opacity: 0; transform: translateY(2em); } 45%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sc-cards .flip { position: absolute; inset: 0; transform-style: preserve-3d; animation: s15-flip 10s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes s15-flip { 0%, 54% { transform: none; } 56% { transform: rotate(-2deg); } 58% { transform: rotate(2deg); } 60% { transform: none; } 66%, 100% { transform: rotateY(180deg); } }
.sc-cards .fback { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: .5em; border-radius: .8em; border: 3px solid var(--line); backface-visibility: hidden;
  background: repeating-linear-gradient(45deg, #4d2f99 0 .6em, #2b2434 .6em 1.2em); }
.sc-cards .fback small { color: #fff; font-weight: 800; }
.sc-cards .gcard { position: absolute; inset: 0; transform: rotateY(180deg); backface-visibility: hidden; filter: drop-shadow(0 0 1em color-mix(in srgb, var(--frame) 70%, transparent)); }
.scene .gcard { --frame: #8b8f9a; } .scene .gcard.r-rare { --frame: #3aa8ff; } .scene .gcard.r-epic { --frame: #9a6bff; } .scene .gcard.r-legendary { --frame: #ffb02e; }
.scene .gin { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: .8em; overflow: hidden; border: calc(2px + .25em) solid var(--frame); background: linear-gradient(160deg, #2b2434, #17131d); }
.scene .gart { position: relative; height: 58%; } .scene .gart .art { position: absolute; inset: 0; }
.scene .gel { position: absolute; top: .3em; left: .3em; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--el); color: var(--ink); border: 2px solid var(--line); font-size: .85em; }
.scene .glvl { position: absolute; top: .3em; right: .3em; padding: .05em .45em; border-radius: 999px; background: rgba(0, 0, 0, .6); font-size: .72em; font-weight: 800; }
.scene .grar { position: absolute; left: .3em; bottom: .3em; padding: .05em .45em; border-radius: .4em; background: var(--frame); color: var(--ink); font-size: .65em; font-weight: 900; text-transform: uppercase; }
.scene .gbody { flex: 1; display: flex; flex-direction: column; gap: .15em; padding: .35em .45em; }
.scene .gname { font: 800 1em var(--display); } .scene .gbody small { font-size: .7em; font-weight: 800; }
.scene .gstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .1em; margin-top: auto; font-size: .72em; font-weight: 800; }
.scene .gstats i { font-style: normal; margin-right: .1em; }
.scene .gxp { display: block; height: 3px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; } .scene .gxp i { display: block; width: 40%; height: 100%; background: linear-gradient(90deg, #ffcf2e, #ff7a3d); }
.sc-cards .rstamp { position: absolute; left: 50%; top: 40%; padding: .15em .6em; border-radius: .5em; border: 3px solid #fff; background: #7b4ff0; color: #fff; font: 800 1.5em var(--display); letter-spacing: .05em;
  transform: translate(-50%, -50%) rotate(-7deg) scale(2.6); opacity: 0; animation: s15-stamp 10s cubic-bezier(.2, 1.2, .4, 1) infinite; z-index: 2; }
@keyframes s15-stamp { 0%, 67% { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(2.6); } 71%, 94% { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(1); } 100% { opacity: 0; } }
.sc-cards .newtag { position: absolute; right: -.8em; top: -.6em; padding: .1em .5em; border-radius: 999px; background: #4fdc8b; color: var(--ink); font-weight: 900; font-size: .85em; border: 2px solid var(--line); opacity: 0; animation: s15-new 10s ease infinite; }
@keyframes s15-new { 0%, 72% { opacity: 0; transform: scale(0); } 75%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sc-cards .bprompt { position: absolute; left: 0; right: 0; bottom: 1em; text-align: center; display: grid; } .sc-cards .bprompt u { grid-area: 1 / 1; }
.sc-cards .bprompt u:nth-child(1) { animation: s15-q1 10s steps(1) infinite; } .sc-cards .bprompt u:nth-child(2) { opacity: 0; animation: s15-q2 10s steps(1) infinite; } .sc-cards .bprompt u:nth-child(3) { opacity: 0; animation: s15-q3 10s steps(1) infinite; }
@keyframes s15-q1 { 0%, 40% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes s15-q2 { 0%, 40% { opacity: 0; } 41%, 62% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes s15-q3 { 0%, 62% { opacity: 0; } 63%, 100% { opacity: 1; } }

/* 16 arcade: the games, then a round of Higher or lower */
.sc-hilo .games { position: absolute; inset: 1em; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; align-content: center; animation: s16-games 10s ease infinite; }
@keyframes s16-games { 0%, 24% { opacity: 1; transform: none; } 28%, 94% { opacity: 0; transform: scale(.96); } 100% { opacity: 1; } }
.sc-hilo .gtile { display: flex; flex-direction: column; gap: .2em; padding: .8em; min-height: 6.5em; border-radius: 1.1em; background: var(--c); color: var(--ink); border: 2px solid var(--line); box-shadow: 3px 3px 0 var(--line); }
.sc-hilo .gtile b { font: 800 1.15em var(--display); } .sc-hilo .gtile small { color: rgba(27, 21, 32, .75); }
.sc-hilo .play { margin-top: auto; align-self: flex-end; padding: .25em .7em; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: .85em; }
.sc-hilo .g2 { animation: s16-press 10s ease infinite; }
@keyframes s16-press { 0%, 14%, 24%, 100% { transform: none; } 18%, 20% { transform: translate(-2px, -3px) rotate(-.5deg); box-shadow: 5px 5px 0 var(--line); } 22% { transform: scale(.96); } }
.sc-hilo .stage { position: absolute; inset: .9em; padding: .8em; display: flex; flex-direction: column; gap: .6em; border-radius: 1.2em; border: 2px solid var(--line); box-shadow: 4px 4px 0 #ffcf2e; background: var(--surface);
  opacity: 0; animation: s16-stage 10s ease infinite; }
@keyframes s16-stage { 0%, 26% { opacity: 0; transform: translateY(1em); } 30%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.sc-hilo .shead2 { display: flex; align-items: center; gap: .5em; } .sc-hilo .shead2 b { font: 800 1.2em var(--display); }
.sc-hilo .sic { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .6em; background: #ffcf2e; color: var(--ink); }
.sc-hilo .streak { display: inline-flex; align-items: center; gap: .2em; padding: .15em .6em; border-radius: 999px; background: #ffcf2e; color: var(--ink); font: 800 1.2em var(--display); }
.sc-hilo .streak u:nth-child(2) { display: none; }
.sc-hilo .duo { position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .8em; min-height: 0; }
.sc-hilo .hc { position: relative; border-radius: 1em; overflow: hidden; border: 2px solid var(--line); }
.sc-hilo .hc .art { position: absolute; inset: 0; }
.sc-hilo .hc.right { animation: s16-ring 10s ease infinite; }
@keyframes s16-ring { 0%, 58% { box-shadow: none; } 60%, 90% { box-shadow: 0 0 0 4px #4fdc8b; } 100% { box-shadow: none; } }
.sc-hilo .cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: .3em; padding: 1.8em .5em .6em; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.sc-hilo .cap > b { font: 800 2em var(--display); line-height: 1; } .sc-hilo .cap small { color: #ddd; }
.sc-hilo .vs { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 2.8em; height: 2.8em; margin: -1.4em; border-radius: 50%; background: #ffcf2e; color: var(--ink); border: 2px solid var(--line); font: 800 1em var(--display); z-index: 2; }
.sc-hilo .hi, .sc-hilo .lo { width: 80%; } .sc-hilo .hi .ic, .sc-hilo .lo .ic { width: 1em; height: 1em; }
.sc-hilo .hi { animation: s16-hi 10s ease infinite; }
@keyframes s16-hi { 0%, 52%, 58%, 100% { transform: none; } 55% { transform: scale(.92); box-shadow: 0 0 0 var(--line); } }
.sc-hilo .hi, .sc-hilo .lo { animation-name: s16-hi, s16-hideb; animation-duration: 10s; animation-iteration-count: infinite; }
@keyframes s16-hideb { 0%, 57% { opacity: 1; } 58%, 100% { opacity: 0; height: 0; padding: 0; border: 0; } }
.sc-hilo .ans { display: flex; flex-direction: column; align-items: center; opacity: 0; animation: s16-ans 10s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.sc-hilo .ans b { font: 800 2em var(--display); color: #4fdc8b; line-height: 1; }
@keyframes s16-ans { 0%, 58% { opacity: 0; transform: scale(.4); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 17 season: the bar fills, tier 4 → 5, the unlock card pops */
.sc-badges .shero { position: absolute; top: 1em; left: 1.2em; right: 1.2em; display: flex; align-items: center; }
.sc-badges .shero > div:first-child { display: flex; flex-direction: column; }
.sc-badges .shero small { color: var(--accent); letter-spacing: .08em; font-weight: 800; } .sc-badges .shero small.m { color: var(--muted); letter-spacing: 0; }
.sc-badges .shero b { font: 800 1.5em var(--display); }
.sc-badges .big { display: flex; flex-direction: column; align-items: center; }
.sc-badges .big b { font: 800 3.4em var(--display); line-height: 1; display: inline-grid; } .sc-badges .big b u { grid-area: 1 / 1; }
.sc-badges .big b u:nth-child(1) { animation: s17-a 9s steps(1) infinite; } .sc-badges .big b u:nth-child(2) { opacity: 0; animation: s17-b 9s steps(1) infinite; }
@keyframes s17-a { 0%, 39% { opacity: 1; } 40%, 100% { opacity: 0; } } @keyframes s17-b { 0%, 39% { opacity: 0; } 40%, 100% { opacity: 1; } }
.sc-badges .xp { position: absolute; top: 6.6em; left: 1.2em; right: 1.2em; height: 1em; border-radius: 999px; border: 2px solid var(--line); background: var(--surface-2); overflow: hidden; }
.sc-badges .xp i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); animation: s17-xp 9s ease infinite; }
@keyframes s17-xp { 0% { width: 45%; } 38% { width: 100%; } 40% { width: 0; } 60%, 100% { width: 12%; } }
.sc-badges .xpn { position: absolute; top: 8em; left: 1.2em; }
.sc-badges .track { position: absolute; top: 10.4em; left: 1.2em; right: 0; display: flex; gap: .4em; }
.sc-badges .tk { display: grid; place-items: center; flex: none; width: 2.6em; height: 3.2em; border-radius: .7em; background: var(--surface); border: 2px solid var(--border); color: var(--muted); font-weight: 800; }
.sc-badges .tk.rw { width: 4em; }
.sc-badges .tk.k1, .sc-badges .tk.k2, .sc-badges .tk.k3, .sc-badges .tk.k4 { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.sc-badges .tk.k5 { border-style: dashed; border-color: var(--accent); animation: s17-k5 9s steps(1) infinite; }
@keyframes s17-k5 { 0%, 39% { background: var(--surface); border-style: dashed; } 40%, 100% { background: var(--accent-soft); border-style: solid; color: var(--text); } }
.sc-badges .earn { position: absolute; left: 1.2em; right: 1.2em; bottom: 1em; display: flex; flex-direction: column; gap: .3em; }
.sc-badges .earn span { display: flex; justify-content: space-between; padding: .35em .7em; border-radius: .7em; background: var(--surface); }
.sc-badges .earn b { color: var(--accent); }
.sc-badges .unlock { position: absolute; left: 50%; top: 50%; width: 52%; padding: 1em; display: flex; flex-direction: column; align-items: center; gap: .45em; z-index: 3;
  background: var(--surface); border: 2px solid var(--line); border-radius: 1.8em; box-shadow: 6px 6px 0 var(--line); opacity: 0; animation: s17-pop 9s cubic-bezier(.2, 1.4, .4, 1) infinite; }
@keyframes s17-pop { 0%, 42% { opacity: 0; transform: translate(-50%, -50%) scale(.7); } 47%, 88% { opacity: 1; transform: translate(-50%, -50%); } 93%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } }
.sc-badges .unlock small { color: var(--accent); letter-spacing: .1em; font-weight: 900; }
.sc-badges .burst { display: grid; place-items: center; width: 4.6em; height: 4.6em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--accent-2), var(--accent)); color: var(--ink);
  border: 3px solid var(--line); box-shadow: 0 0 0 .5em var(--accent-soft); font: 800 2.4em/1 var(--display); width: 2em; height: 2em; animation: s17-drop 9s cubic-bezier(.2, 1.4, .4, 1) infinite; }
@keyframes s17-drop { 0%, 44% { transform: translateY(-1.5em) scale(.6); } 52%, 100% { transform: none; } }
.sc-badges .unlock > b { font: 800 1.25em var(--display); }

/* 18 community: stickers land on a shared picture, a reaction counts up */
.sc-chat .share { position: absolute; top: .9em; left: 50%; width: 62%; bottom: .9em; margin-left: -31%; display: flex; flex-direction: column; gap: .5em; padding: .7em;
  border-radius: 1.3em; background: var(--surface); border: 2px solid var(--line); box-shadow: 4px 4px 0 #1fc8b5; }
.sc-chat .who { display: flex; align-items: center; gap: .5em; } .sc-chat .who small { margin-left: auto; }
.sc-chat .av { width: 2em; height: 2em; border-radius: 50%; background: linear-gradient(135deg, #1fc8b5, #3aa8ff); border: 2px solid var(--line); }
.sc-chat .spic { position: relative; flex: 1; min-height: 0; border-radius: .9em; overflow: hidden; }
.sc-chat .spic .art { position: absolute; inset: 0; }
.sc-chat .stk { position: absolute; display: grid; place-items: center; width: 3em; height: 3em; border-radius: 50%; color: var(--ink); font-style: normal; font-weight: 900;
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(2px 3px 0 rgba(0, 0, 0, .35));
  animation: s18-stick 8s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.sc-chat .stk i { font-style: normal; font-size: 1.4em; }
.sc-chat .k1 { top: 6%; right: 6%; background: #ff4f8b; --r: 12deg; } .sc-chat .k2 { bottom: 8%; left: 6%; background: #ffcf2e; --r: -14deg; animation-delay: .3s; }
.sc-chat .k3 { top: 40%; left: 4%; background: #ff7a3d; --r: -6deg; animation-delay: .6s; } .sc-chat .k3 i { font-size: 1em; }
@keyframes s18-stick { 0% { transform: scale(0) rotate(-40deg); } 6%, 90% { transform: rotate(var(--r)); } 96%, 100% { transform: scale(0); } }
.sc-chat .cap { margin: 0; font-weight: 700; }
.sc-chat .reacts { display: flex; align-items: center; gap: .35em; }
.sc-chat .react { display: inline-flex; align-items: center; gap: .3em; padding: .2em .55em; border-radius: 999px; border: 2px solid var(--border); background: var(--bg-2); font-weight: 800; }
.sc-chat .react i { font-style: normal; display: grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; color: var(--ink); font-size: .85em; }
.sc-chat .r1 { background: #ff4f8b; } .sc-chat .r2 { background: #ffcf2e; } .sc-chat .r3 { background: #ff7a3d; font-size: .6em !important; }
.sc-chat .react.mine { background: var(--accent); border-color: var(--line); color: var(--ink); box-shadow: 2px 2px 0 var(--line); animation: s18-pop 8s ease infinite; }
.sc-chat .react.add { border-style: dashed; color: var(--muted); }
.sc-chat .react.mine u:nth-child(2) { display: none; }
.sc-chat .react.mine u { display: inline-grid; }
.sc-chat .mine u:nth-child(1) { animation: s18-c1 8s steps(1) infinite; } .sc-chat .mine u:nth-child(2) { display: inline; animation: s18-c2 8s steps(1) infinite; }
@keyframes s18-c1 { 0%, 49% { font-size: 1em; } 50%, 100% { font-size: 0; } } @keyframes s18-c2 { 0%, 49% { font-size: 0; } 50%, 100% { font-size: 1em; } }
@keyframes s18-pop { 0%, 48%, 56%, 100% { transform: none; } 51% { transform: scale(1.2); } }
.sc-chat .fly { position: absolute; left: 22%; bottom: 3em; color: #ff4f8b; font-size: 2em; opacity: 0; animation: s18-fly 8s ease-out infinite; }
@keyframes s18-fly { 0%, 49% { opacity: 0; transform: none; } 52% { opacity: 1; } 70%, 100% { opacity: 0; transform: translateY(-4em) scale(1.4); } }

/* 19 profile: the hero, its ring, the toned tiles, the showcase */
.sc-profile .phero { position: absolute; inset: .9em; border-radius: 1.6em; overflow: hidden; background: var(--surface); border: 2px solid var(--line); box-shadow: 6px 6px 0 var(--line); }
.sc-profile .pban { height: 26%; background: repeating-linear-gradient(-45deg, #ff4f8b 0 1em, color-mix(in srgb, #ff4f8b 82%, var(--ink)) 1em 2em); animation: s19-ban 9s linear infinite; background-size: 200% 100%; }
@keyframes s19-ban { to { background-position: 2.83em 0; } }
.sc-profile .prow { display: flex; align-items: flex-end; gap: .8em; padding: 0 1em; margin-top: -2.4em; }
.sc-profile .pav { position: relative; width: 5em; height: 5em; flex: none; }
.sc-profile .pav .art { position: absolute; inset: .35em; border-radius: 50%; border: 3px solid var(--surface); }
.sc-profile .ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#ff7a3d, #ffcf2e, #ff4f8b, #ff7a3d); animation: ap-spin 3s linear infinite; }
.sc-profile .pid { display: flex; flex-direction: column; flex: 1; min-width: 0; padding-bottom: .2em; }
.sc-profile .pid small { color: #ff4f8b; letter-spacing: .08em; font-weight: 800; }
.sc-profile .fx { font: 800 1.6em var(--display); background: linear-gradient(90deg, #ffcf2e, #ff7a3d, #ff4f8b, #ffcf2e); background-size: 300%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ab-flow 4s linear infinite; }
.sc-profile .meds { display: flex; gap: .3em; } .sc-profile .meds i { width: 1.2em; height: 1.2em; border-radius: 32%; transform: rotate(-4deg); border: 2px solid var(--line); background: radial-gradient(#ffe48a, #ffc531); }
.sc-profile .meds i:nth-child(2) { background: radial-gradient(#9fd1ff, #3aa8ff); } .sc-profile .meds i:nth-child(3) { background: radial-gradient(#d2b7ff, #a26bff); }
.sc-profile .lvl { margin-bottom: .3em; padding: .2em .7em; border-radius: 999px; background: var(--accent); color: var(--ink); border: 2px solid var(--line); font-weight: 900; }
.sc-profile .pstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; padding: .8em 1em .5em; }
.sc-profile .st { display: flex; flex-direction: column; padding: .45em .6em; border-radius: .9em; border: 2px solid color-mix(in srgb, var(--t) 45%, transparent); background: color-mix(in srgb, var(--t) 12%, transparent); font-size: .85em; color: var(--text-2);
  animation: s19-st 9s cubic-bezier(.3, 1.5, .5, 1) infinite; }
.sc-profile .st b { font: 800 1.7em var(--display); color: var(--t); line-height: 1.1; }
.sc-profile .st.b { --t: #ff4f8b; } .sc-profile .st.s { --t: #3aa8ff; animation-delay: .12s; } .sc-profile .st.l { --t: #1fc8b5; animation-delay: .24s; } .sc-profile .st.y { --t: #ffcf2e; animation-delay: .36s; }
@keyframes s19-st { 0%, 8% { transform: scale(.6); opacity: 0; } 14%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.sc-profile .pshow { padding: 0 1em; display: flex; flex-direction: column; gap: .3em; }
.sc-profile .pshow small .ic { color: var(--accent); }
.sc-profile .pshow > div { display: flex; gap: .5em; }
.sc-profile .pin { width: 5em; aspect-ratio: 1; border-radius: .7em; animation: s19-pin 9s cubic-bezier(.3, 1.5, .5, 1) infinite; }
.sc-profile .pin:nth-child(2) { animation-delay: .15s; } .sc-profile .pin:nth-child(3) { animation-delay: .3s; }
@keyframes s19-pin { 0%, 30% { transform: translateY(-2em); opacity: 0; } 36%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* 20 speed: placeholders, then the pictures on screen arrive first, fast */
.sc-speed .fast { position: absolute; top: 3.6em; left: .9em; right: .9em; }
.sc-speed .card.ld { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: s20-sk 1.3s linear infinite; }
@keyframes s20-sk { to { background-position: -200% 0; } }
.sc-speed .card.ld .art, .sc-speed .card.ld .dot { opacity: 0; animation: s20-in 5s ease infinite; animation-delay: var(--d); }
@keyframes s20-in { 0%, 8% { opacity: 0; } 12%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
.sc-speed .lat { position: absolute; left: 50%; bottom: 1em; display: inline-flex; align-items: center; gap: .5em; padding: .35em .9em; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); transform: translateX(-50%); white-space: nowrap; }
.sc-speed .lat .spin { width: 1.1em; height: 1.1em; }

/* 21 install: the account menu, "Install the app", the icon on the home screen */
.sc-install .feed.under { top: 4.4em; opacity: .55; }
.sc-install .avatar.press { animation: s21-av 10s ease infinite; }
@keyframes s21-av { 0%, 6%, 12%, 100% { transform: none; } 9% { transform: scale(.88); } }
.sc-install .acc { position: absolute; top: 3.9em; right: .8em; width: 46%; padding: .6em; display: flex; flex-direction: column; gap: .2em; z-index: 4;
  background: var(--surface); border: 2px solid var(--line); border-radius: 1.1em; box-shadow: 5px 5px 0 var(--line); opacity: 0; animation: s21-acc 10s ease infinite; }
@keyframes s21-acc { 0%, 10% { opacity: 0; transform: translateY(.6em); } 13%, 36% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; } }
.sc-install .acc > b { padding: .2em .5em .4em; border-bottom: 1px solid var(--border); }
.sc-install .acc > span { display: flex; align-items: center; gap: .5em; padding: .45em .5em; border-radius: .6em; color: var(--text-2); }
.sc-install .inst { animation: s21-inst 10s steps(1) infinite; }
@keyframes s21-inst { 0%, 24% { background: transparent; color: var(--text-2); } 25%, 100% { background: var(--accent-soft); color: var(--accent); } }
.sc-install .prompt { position: absolute; left: 50%; top: 32%; width: 54%; padding: 1em; display: flex; flex-direction: column; gap: .3em; z-index: 4;
  background: #f4f1f7; color: #1b1520; border-radius: 1em; box-shadow: 0 1em 3em rgba(0, 0, 0, .5); opacity: 0; animation: s21-prompt 10s ease infinite; }
.sc-install .prompt small { color: #6b6375; } .sc-install .prompt > div { display: flex; justify-content: flex-end; gap: .4em; margin-top: .4em; }
.sc-install .prompt .btn { background: #fff; color: #1b1520; border-color: #ddd; } .sc-install .prompt .btn.primary { background: var(--accent); }
@keyframes s21-prompt { 0%, 40% { opacity: 0; transform: translate(-50%, .6em); } 44%, 60% { opacity: 1; transform: translate(-50%, 0); } 64%, 100% { opacity: 0; transform: translate(-50%, 0); } }
/* after "Install": the phone's home screen, the icon lands, a tap opens Sixviews full screen */
.sc-install .home { position: absolute; inset: 0; z-index: 5; background: linear-gradient(160deg, #3b2e57, #1e1a26 70%); opacity: 0; animation: s21-home 10s ease infinite; }
@keyframes s21-home { 0%, 62% { opacity: 0; } 66%, 96% { opacity: 1; } 100% { opacity: 0; } }
.sc-install .hgrid { position: absolute; left: 50%; top: 14%; width: 62%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1em 1.4em; transform: translateX(-50%); }
.sc-install .hgrid > i { aspect-ratio: 1; border-radius: 1em; background: rgba(255, 255, 255, .13); }
.sc-install .appi { position: relative; animation: s21-app 10s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.sc-install .appi .logo6 { display: grid; width: 100%; height: auto; aspect-ratio: 1; border-radius: 1em; clip-path: none; background: var(--accent); border: 2px solid var(--line); box-shadow: 3px 3px 0 var(--line); }
.sc-install .appi .logo6::after { content: ""; margin: auto; width: 46%; aspect-ratio: 1 / 1.1; background: var(--ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sc-install .appi small { position: absolute; left: -20%; right: -20%; top: 104%; text-align: center; color: #fff; font-size: .78em; }
@keyframes s21-app { 0%, 67% { transform: scale(0); } 72%, 100% { transform: none; } }
/* a tap on the icon */
.sc-install .appi::before { content: ""; position: absolute; inset: 15%; z-index: 2; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 2px solid #fff; opacity: 0; animation: s21-tap 10s ease-out infinite; }
@keyframes s21-tap { 0%, 76% { opacity: 0; transform: scale(.6); } 78% { opacity: 1; transform: scale(.6); } 84%, 100% { opacity: 0; transform: scale(1.6); } }
.sc-install .splash { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5em; background: var(--bg); opacity: 0; animation: s21-splash 10s ease infinite; }
.sc-install .splash .logo6 { width: 4em; height: 4.3em; animation: s21-logo 10s cubic-bezier(.3, 1.5, .5, 1) infinite; }
.sc-install .splash b { font: 800 1.8em var(--display); }
@keyframes s21-splash { 0%, 82% { opacity: 0; transform: scale(.2); } 86%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes s21-logo { 0%, 84% { transform: scale(.5) rotate(-20deg); } 90%, 100% { transform: none; } }

/* 22 safe: the first-visit choice, "Safe only" picked by default */
.sc-safe .tour.wide { width: 86%; top: 45%; gap: .35em; padding: .8em 1em; font-size: .9em; }
.sc-safe .opt { padding: .45em .7em !important; }
.sc-safe .opt { display: flex; align-items: center; gap: .8em; padding: .6em .8em; border-radius: 1.1em; background: var(--bg-2); border: 2px solid var(--border); }
.sc-safe .opt > div { display: flex; flex-direction: column; }
.sc-safe .opt.o1 { border-color: var(--accent); background: var(--accent-soft); animation: s22-pick 6s ease infinite; }
@keyframes s22-pick { 0%, 30%, 60%, 100% { box-shadow: none; } 45% { box-shadow: 0 0 0 4px var(--accent-soft); } }
.sc-safe .opt.o3 { animation: s22-hover 6s ease infinite; }
@keyframes s22-hover { 0%, 70%, 90%, 100% { border-color: var(--border); } 78%, 84% { border-color: var(--muted); } }
.sc-safe .dots { display: flex; gap: .25em; width: 3.2em; } .sc-safe .dots i { width: .8em; height: .8em; border-radius: 50%; }
.sc-safe .dots .s { background: var(--safe); } .sc-safe .dots .q { background: var(--questionable); } .sc-safe .dots .x { background: var(--explicit); }
.sc-safe .blk { display: flex; align-items: center; justify-content: space-between; }
.sc-safe .twin { position: absolute; left: 50%; bottom: .6em; font-size: .85em; padding: .3em .9em; border-radius: 999px; border: 2px solid #3aa8ff; color: #7ec4ff; background: rgba(58, 168, 255, .12); font-weight: 800; transform: translateX(-50%); white-space: nowrap; }

/* the small print */
.ab-promise .ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ab-promise .ticks li { padding: 16px 18px 16px 44px; border-radius: 18px; background: var(--bg-2); border: 3px solid var(--line); box-shadow: 5px 5px 0 var(--line); color: var(--text); font-weight: 600; max-width: none; }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .ab-hero { grid-template-columns: minmax(0, 1fr); }
  .ab-orbit { width: min(86%, 360px); order: -1; margin-bottom: -10px; }
  .feat { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 46px; }
  .feat:nth-of-type(even) .scene { order: 0; }
  .ab-jump { position: static; }  /* the header is taller there: a sticky bar would hide under it */
  .ch-head p { font-size: 24px; }
}
@media (max-width: 480px) {
  .scene { border-radius: 20px; box-shadow: 5px 5px 0 var(--line); }
}
.ab-promise .ticks li::before { left: 18px; top: 21px; }
