/* Mimotori: a dark stage with luminous accents. Each character tints her surroundings through --a1 / --a2 / --deep. */
@font-face { font-family: 'Unbounded'; src: url(fonts/unbounded.woff2?v=22f9b928) format('woff2'); font-weight: 400 800; font-display: swap }
@font-face { font-family: 'Manrope'; src: url(fonts/manrope.woff2?v=8c2def02) format('woff2'); font-weight: 400 800; font-display: swap }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif-italic.woff2?v=5a51946d) format('woff2'); font-style: italic; font-weight: 400; font-display: swap }
/* Japanese: subsets with only the characters the site uses (fontes-ja.mjs rebuilds them). They are named only in the
   html[lang=ja] rules below, so the browser downloads them only when the page is in Japanese. */
@font-face { font-family: 'Dela Gothic One'; src: url(fonts/ja-dela-gothic-one.woff2?v=8ae09d73) format('woff2'); font-weight: 400 800; font-display: swap }
@font-face { font-family: 'Zen Kaku Gothic New'; src: url(fonts/ja-zen-kaku-gothic-new-500.woff2?v=18df3b0e) format('woff2'); font-weight: 400 600; font-display: swap }
@font-face { font-family: 'Zen Kaku Gothic New'; src: url(fonts/ja-zen-kaku-gothic-new-700.woff2?v=feb1fe14) format('woff2'); font-weight: 700 900; font-display: swap }
@font-face { font-family: 'Shippori Mincho B1'; src: url(fonts/ja-shippori-mincho-b1-600.woff2?v=37a40af7) format('woff2'); font-weight: 400 700; font-display: swap }

:root {
  color-scheme: dark;
  --bg: #0a0810; --bg-2: #110d18; --bg-3: #191322;
  --ink: #f6f1f8; --ink-2: #ddd4e2; --muted: #a59cb0; --dim: #706879;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .15);
  --glass: rgba(24, 18, 32, .58);
  --a1: #ff9ec4; --a2: #b9a2ff; --a3: #8fe9ff; --deep: #160d1c;
  --ok: #86f2b8; --warn: #ffd27a; --err: #ff8193;
  --display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.5, .64, 1);
  --pad: 16px; --max: 1320px; --r: 22px;
  interpolate-size: allow-keywords;
}
@media (min-width: 700px) { :root { --pad: 32px } }
@media (min-width: 1200px) { :root { --pad: 56px } }

@view-transition { navigation: auto }
::view-transition-old(root) { animation: vt-out .28s var(--out) both }
::view-transition-new(root) { animation: vt-in .5s var(--out) both }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px) } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px) } }
.topo { view-transition-name: topo }

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg) }
body {
  margin: 0; min-height: 100svh; background: var(--bg); color: var(--ink); overflow-x: clip;
  font: 500 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* film grain, very faint: a background tile, not an overlay (a fixed full-screen layer over animated content is costly) */
body { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") }
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
button { font: inherit; color: inherit }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance }
p { margin: 0 }
em { font-style: normal }
h1 em, h2 em, .accent em, .h-xl em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.12em; line-height: .9;
  background: linear-gradient(100deg, var(--a1), var(--a2) 60%, var(--a1)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
}
:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; border-radius: 6px }
[hidden] { display: none !important }
::selection { background: color-mix(in srgb, var(--a1) 45%, transparent); color: #fff }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700 }
.skip:focus { top: 12px }

/* ---- type */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--a1) }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .8 }
.h-xl { font-size: clamp(40px, 6.2vw, 96px) }
.h-l { font-size: clamp(32px, 4.4vw, 64px) }
.h-m { font-size: clamp(24px, 2.6vw, 34px) }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 54ch; line-height: 1.55 }
.muted { color: var(--muted) }
.sec { position: relative; padding: clamp(72px, 8.5vw, 124px) 0; scroll-margin-top: 70px }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center }
.sec-head .lead { margin-top: 4px }

/* ---- buttons */
.btn {
  --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink);
  font: 700 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--out), background-color .25s, border-color .25s, box-shadow .35s var(--out);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn svg { width: 18px; height: 18px; flex: none }
.btn .arr { transition: transform .35s var(--out) }
.btn:hover .arr { transform: translateX(4px) }
.btn:not(.btn-primary):not(.btn-soon):hover { border-color: rgba(255, 255, 255, .32); background-color: rgba(255, 255, 255, .08) }
.btn:active { transform: scale(.97) !important }
.btn-primary {
  border: 0; color: #160b12; background: linear-gradient(120deg, var(--a2), var(--a1) 55%, var(--a2)); background-size: 220% 100%;
  box-shadow: 0 12px 40px -14px var(--a1), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .35s var(--out), background-position .6s var(--out), box-shadow .35s var(--out);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 18px 50px -12px var(--a1), inset 0 1px 0 rgba(255, 255, 255, .5) }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--out) }
.btn-primary:hover::after { transform: translateX(120%) }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px }
.btn-soon { cursor: default; color: var(--ink-2); border-style: dashed; border-color: color-mix(in srgb, var(--a1) 45%, transparent); background: color-mix(in srgb, var(--a1) 8%, transparent) }
.btn-soon:hover { border-color: color-mix(in srgb, var(--a1) 60%, transparent); background: color-mix(in srgb, var(--a1) 10%, transparent) }
.btn-soon svg { color: var(--a1) }
.ctas { display: flex; flex-wrap: wrap; gap: 12px }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--a1) }
.link svg { width: 18px; height: 18px; transition: transform .3s var(--out) }
.link:hover svg { transform: translateX(4px) }

/* ---- header */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent }
.topo.scrolled { background: rgba(10, 8, 16, .62); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line) }
.topo-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 28px }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 21px/1 var(--display); letter-spacing: -.05em; text-transform: lowercase; flex: none }
.brand .mark { width: 34px; height: 34px; overflow: visible }
.brand .lid { transform-origin: 20px 20px; animation: blink 6.5s infinite }
.brand:hover .lid { animation: blink .5s 1 }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1) } 95% { transform: scaleY(.08) } }
.nav { display: flex; gap: 4px; margin: 0 auto }
.nav a { position: relative; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .2s, background-color .2s }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .05) }
.nav a[aria-current="page"] { color: var(--ink) }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 10px var(--a1) }
.topo-end { display: flex; align-items: center; gap: 8px; margin-left: auto }
.langs { --lw: 46px; --lh: 32px; position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line) }
.langs button { position: relative; z-index: 1; width: var(--lw); height: var(--lh); padding: 0; border: 0; background: none; cursor: pointer; font: 800 12px/1 var(--sans); letter-spacing: .08em; color: var(--muted); transition: color .25s }
.langs button[aria-pressed="true"] { color: #160b12 }
.langs button[lang="ja"] { font-size: 11.5px; letter-spacing: 0; font-family: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif }
.langs::before { content: ""; position: absolute; top: 3px; left: 3px; width: var(--lw); height: var(--lh); border-radius: 999px; background: linear-gradient(120deg, var(--a2), var(--a1)); transition: transform .45s var(--spring) }
.langs[data-on="ja"]::before { transform: translateX(var(--lw)) }
.langs[data-on="pt"]::before { transform: translateX(calc(var(--lw) * 2)) }
@media (hover: none), (max-width: 999px) { .langs { --lw: 58px; --lh: 44px } }
/* the header's language choice: a quiet globe that opens a short list */
.lang-menu { position: relative }
.lang-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; transition: color .2s, background-color .2s, border-color .2s }
.lang-btn svg { width: 21px; height: 21px }
.lang-btn:hover, .lang-menu.open .lang-btn { color: var(--ink); background: rgba(255, 255, 255, .06) }
.lang-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 5; min-width: 184px; padding: 6px; display: grid; gap: 2px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(16, 12, 24, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .85); transform-origin: top right; animation: lang-in .22s var(--out) }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px) scale(.97) } }
.lang-opt { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left; font: 600 15.5px/1 var(--sans); color: var(--ink-2); transition: background-color .15s, color .15s }
.lang-opt:hover, .lang-opt:focus-visible { background: rgba(255, 255, 255, .07); color: var(--ink) }
.lang-opt:focus-visible { outline-offset: -2px }
.lang-opt svg { width: 18px; height: 18px; flex: none; color: var(--a1); opacity: 0 }
.lang-opt[aria-pressed="true"] { color: var(--ink) }
.lang-opt[aria-pressed="true"] svg { opacity: 1 }
html[lang="ja"] .lang-opt[lang="ja"] { font-family: var(--sans) }
.lang-opt[lang="ja"] { font-family: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Zen Kaku Gothic New', sans-serif }
@media (prefers-reduced-motion: reduce) { .lang-pop { animation: none } }
.menu-btn { display: none }
@media (max-width: 999px) {
  .topo-in { height: 64px; gap: 12px }
  .topo-cta { display: none }
  .menu-btn { display: inline-grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); cursor: pointer; position: relative; z-index: 2 }
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--out) }
  .menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg) }
  .menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg) }
  .nav { position: fixed; inset: 0; z-index: 1; margin: 0; flex-direction: column; justify-content: center; gap: 2px; padding: 90px 28px 40px;
    background: radial-gradient(120% 70% at 80% 0%, color-mix(in srgb, var(--a1) 22%, transparent), transparent 60%), rgba(10, 8, 16, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s }
  .menu-open .nav { opacity: 1; visibility: visible }
  .nav a { font: 600 clamp(30px, 9vw, 44px)/1.15 var(--display); letter-spacing: -.04em; color: var(--ink); padding: 10px 0; border-radius: 0; background: none !important;
    opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--out); transition-delay: calc(var(--i) * 50ms) }
  .menu-open .nav a { opacity: 1; transform: none }
  .nav a[aria-current="page"] { color: var(--a1) }
  .nav a[aria-current="page"]::after { display: none }
  .menu-open { overflow: hidden }
  .topo .brand { position: relative; z-index: 2 }
  .topo .lang-menu { position: relative; z-index: 2 }
}

/* ---- entrance (on load) and reveals (on scroll) */
.go .rise { animation: rise 1s var(--out) both; animation-delay: calc(var(--d, 0) * 90ms + 150ms) }
.rise { opacity: 0 }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px) } to { opacity: 1; transform: none; filter: none } }
.split .line { display: block }
.split em.line { background: none; color: inherit; animation: none; padding: 0 }
.split em .w > span { background: linear-gradient(100deg, var(--a1), var(--a2) 55%, var(--a1)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin-bottom: -.12em }
.split .w > span { display: inline-block; transform: translateY(105%); }
.go .split .w > span { animation: word 1.1s var(--out) both; animation-delay: calc(var(--i) * 70ms + 250ms) }
@keyframes word { to { transform: none } }
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--out), transform 1.1s var(--out); transition-delay: calc(var(--d, 0) * 80ms) }
[data-reveal].in { opacity: 1; transform: none }

/* ---- marquee */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent) }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite }
.ticker:hover .ticker-track { animation-play-state: paused }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 clamp(20px, 2.4vw, 32px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; color: var(--ink) }
.ticker-track span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .42) }
.ticker-track span::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(135deg, var(--a1), var(--a2)); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%) }
@keyframes marquee { to { transform: translateX(-50%) } }

/* =========================================================== the stage */
.stage { position: relative; overflow: hidden; touch-action: manipulation }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s var(--out); cursor: grab; z-index: 2 }
.stage.ready canvas { opacity: 1 }
.stage .preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(.95); z-index: 1; pointer-events: none; transition: opacity .9s var(--out), filter .9s }
.stage.ready .preview { opacity: 0 }
.stage:not(.ready):not(.failed) .preview { filter: saturate(.7) brightness(.85); animation: breathe 3.2s ease-in-out infinite }
@keyframes breathe { 50% { transform: scale(.95, .956); filter: saturate(.7) brightness(.95) } }
.stage[data-bg="dark"] { background: #0d0c10 }
.stage[data-bg="green"] { background: #00b140 }
.stage[data-bg="none"] { background: repeating-conic-gradient(#2a2730 0 25%, #1c1a21 0 50%) 0 0 / 22px 22px }
.loading { position: absolute; left: 50%; bottom: 14%; z-index: 3; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(12, 10, 18, .7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; white-space: nowrap; transition: opacity .5s }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--a1); animation: spin .8s linear infinite }
@keyframes spin { to { transform: rotate(1turn) } }
.stage.ready .loading { opacity: 0; pointer-events: none }
.stage.failed .loading { white-space: normal; width: min(86%, 420px); text-align: left; border-radius: 14px }
.stage.failed .spin { display: none }
.stage.failed .preview { filter: none; animation: none }

/* the dock: floating chips that drive the character */
.dock { display: grid; gap: 16px; --chip: 44px }
.dock-group { display: grid; gap: 9px; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--out), transform .7s var(--out); transition-delay: calc(var(--i) * 90ms + 200ms) }
.go .dock-group { opacity: 1; transform: none }
.dock-label { font: 800 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dim) }
.dock-row { display: flex; flex-wrap: wrap; gap: 8px }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: var(--chip); padding: 0 16px 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .045); color: var(--ink-2); font: 700 14px/1 var(--sans);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .3s var(--spring), background-color .25s, border-color .25s, color .25s, box-shadow .3s;
}
.chip svg { width: 20px; height: 20px; flex: none; opacity: .85 }
.chip:hover:not(:disabled) { transform: translateY(-2px); border-color: color-mix(in srgb, var(--a1) 60%, transparent); color: var(--ink) }
.chip:active:not(:disabled) { transform: scale(.94) }
.chip[aria-pressed="true"] { color: #170c12; border-color: transparent; background: linear-gradient(120deg, var(--a2), var(--a1)); box-shadow: 0 8px 26px -8px var(--a1) }
.chip[aria-pressed="true"] svg { opacity: 1 }
.chip:disabled { opacity: .4; cursor: progress }
.swatch { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 2px solid rgba(255, 255, 255, .18); transition: transform .3s var(--spring), border-color .2s, box-shadow .3s }
.swatch:hover { transform: scale(1.1) }
.swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--a1) 50%, transparent) }
.sw-char { background: radial-gradient(circle at 35% 30%, var(--a2), var(--a1) 60%, var(--deep)) }
.sw-dark { background: #0d0c10 }
.sw-green { background: #00b140 }
.sw-none { background: repeating-conic-gradient(#d9d9d9 0 25%, #fff 0 50%) 0 0 / 12px 12px }
.dock-status { min-height: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s }
.dock-status.on { opacity: 1; transform: none }

/* =========================================================== hero (home) */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; --px: 0; --py: 0;
  background: radial-gradient(90% 70% at 62% 30%, color-mix(in srgb, var(--a1) 16%, transparent), transparent 62%), linear-gradient(180deg, var(--deep), var(--bg) 92%) }
.hero-in { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 96px var(--pad) 40px; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .78fr) minmax(220px, .5fr); align-items: center; gap: 24px }
.hero-copy { display: grid; gap: 26px; align-content: center; padding-bottom: 4vh }
.live-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font: 700 13px/1 var(--sans); color: var(--ink-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px) }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255, 59, 92, .6); animation: rec 1.8s infinite }
@keyframes rec { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 92, 0) } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0) } }
.hero h1 { font-size: clamp(42px, 5.4vw, 88px); line-height: .98 }
.hero h1 em { display: block; margin-top: .04em; font-size: 1.04em; letter-spacing: -.025em }
.hero .lead { max-width: 46ch }
.mouse-hint { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; font-weight: 600 }
.mouse-hint svg { width: 22px; height: 22px; color: var(--a1); animation: nudge 2.4s var(--out) infinite }
@keyframes nudge { 0%, 100% { transform: translate(0, 0) } 40% { transform: translate(6px, -4px) } 60% { transform: translate(6px, -4px) } }

/* the theatre around the character */
.theatre { position: relative; height: min(88svh, 880px); align-self: end; margin-bottom: -40px }
.theatre > * { position: absolute; pointer-events: none }
.theatre .stage { pointer-events: auto; inset: 0 -8% 40px; z-index: 3; transform: translate3d(calc(var(--px) * -6px), calc(var(--py) * -4px), 0) }
.spot { inset: -20% -40% 0; z-index: 0; background: conic-gradient(from 180deg at 50% -6%, transparent 168deg, color-mix(in srgb, var(--a2) 26%, transparent) 176deg, color-mix(in srgb, var(--a2) 34%, transparent) 180deg, color-mix(in srgb, var(--a2) 26%, transparent) 184deg, transparent 192deg); filter: blur(14px); mix-blend-mode: screen; transform-origin: 50% 0; opacity: 0 }
.go .spot { animation: spotOn 2.4s .35s var(--out) both, sway 11s 3s ease-in-out infinite }
@keyframes spotOn { 0% { opacity: 0 } 12% { opacity: .7 } 18% { opacity: .15 } 30% { opacity: .9 } 100% { opacity: .85 } }
@keyframes sway { 50% { transform: rotate(2.2deg) } }
.halo { left: 50%; top: 14%; width: 120%; aspect-ratio: 1; z-index: 0; border-radius: 50%; translate: -50% 0; background: radial-gradient(circle, color-mix(in srgb, var(--a1) 36%, transparent), transparent 62%); filter: blur(30px); transform: translate3d(calc(var(--px) * 14px), calc(var(--py) * 10px), 0); opacity: 0 }
.go .halo { animation: fadeIn 2s .5s var(--out) both }
.rings { left: 50%; top: 16%; width: 108%; aspect-ratio: 1; z-index: 1; translate: -50% 0; transform: translate3d(calc(var(--px) * 24px), calc(var(--py) * 16px), 0) }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--a2) 22%, transparent); opacity: 0 }
.rings i:nth-child(2) { inset: 11%; border-style: dashed; border-color: color-mix(in srgb, var(--a1) 30%, transparent) }
.rings i:nth-child(3) { inset: 24% }
.go .rings i { animation: ringIn 1.8s var(--out) both, turn 80s linear infinite; animation-delay: calc(var(--n, 0) * 150ms + .6s), 0s }
.rings i:nth-child(2) { --n: 1; animation-direction: normal, reverse !important }
.rings i:nth-child(3) { --n: 2 }
@keyframes ringIn { from { opacity: 0; transform: scale(.7) } to { opacity: 1; transform: none } }
@keyframes turn { to { rotate: 1turn } }
.floor { left: 50%; bottom: 10px; width: 120%; height: 120px; z-index: 2; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 34%, transparent), color-mix(in srgb, var(--a1) 10%, transparent) 60%, transparent);
  opacity: 0 }
.floor::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30%; height: 22%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent) }
.floor::after { content: ""; position: absolute; inset: 30% 12%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--a1) 30%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent) }
.go .floor { animation: floorIn 1.6s .7s var(--out) both }
@keyframes floorIn { from { opacity: 0; transform: scaleX(.3) } to { opacity: 1; transform: none } }
.dust { inset: -10% -20% 0; width: 140%; height: 110%; z-index: 4; opacity: 0 }
.go .dust { animation: fadeIn 2s 1s both }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.backname { left: 50%; top: 36%; z-index: 0; translate: -50% 0; font: 800 clamp(80px, 11vw, 180px)/.85 var(--display); letter-spacing: -.06em; white-space: nowrap; color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--a2) 9%, transparent), transparent 80%); -webkit-background-clip: text; background-clip: text; transform: translate3d(calc(var(--px) * 30px), calc(var(--py) * 12px), 0); opacity: 0; text-transform: uppercase }
.go .backname { animation: fadeIn 2.4s .9s both }
.theatre .stage { opacity: 0 }
.go .theatre .stage { animation: reveal 1.6s .55s var(--out) both }
@keyframes reveal { from { opacity: 0; filter: blur(18px) brightness(0); transform: translate3d(0, 30px, 0) scale(.96) } to { opacity: 1; filter: none } }
.hero-hud { display: grid; gap: 26px; align-content: center; padding-bottom: 4vh }
.onstage { display: grid; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line) }
.onstage .kicker { font-size: 11px }
.onstage h2 { font: italic 400 clamp(30px, 2.6vw, 42px)/1 var(--serif); letter-spacing: -.01em; color: var(--a2) }
.onstage .row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.hero .hint { font-size: 13px; color: var(--dim); line-height: 1.5 }
.touch-only { display: none }
@media (hover: none) { .touch-only { display: block } .pointer-only { display: none } }
.scroll-cue { position: absolute; left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); bottom: 26px; z-index: 5; width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid var(--line-2) }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--a1); animation: cue 2s var(--out) infinite }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }

@media (max-width: 1199px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); padding-bottom: 60px }
  .hero-hud { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: start; gap: 28px 48px; padding: 0 }
  .onstage { border: 0; padding: 0 }
  .theatre { margin-bottom: 0 }
}
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 84px; gap: 16px; min-height: 0 }
  .hero-copy { display: contents }
  .live-pill { order: 1 }
  .hero h1 { order: 2; font-size: clamp(34px, 9.8vw, 50px) }
  .theatre { order: 3; height: 62svh; min-height: 450px; margin: -6px -8px 0 }
  .hero .lead { order: 4; font-size: 16px }
  .hero .ctas { order: 5 }
  .hero .ctas .btn { flex: 1 1 auto }
  .hero-hud { order: 6; margin-top: 18px }
  .theatre .stage { inset: 0 -14% 34px }
  .hero-hud { grid-template-columns: 1fr; gap: 18px }
  .scroll-cue { display: none }
  .dock .dock-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad) 6px; scroll-snap-type: x proximity }
  .dock .dock-row::-webkit-scrollbar { display: none }
  .dock .chip { flex: none; scroll-snap-align: start }
}

/* =========================================================== stream scene */
.live-sec { background: radial-gradient(70% 50% at 50% 0%, color-mix(in srgb, var(--a2) 10%, transparent), transparent 70%) }
.scene-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line) }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 700 14px/1 var(--sans); color: var(--muted); transition: color .25s, background-color .3s }
.seg button svg { width: 18px; height: 18px }
.seg button:hover { color: var(--ink) }
.seg button[aria-pressed="true"] { color: #160b12; background: linear-gradient(120deg, var(--a2), var(--a1)) }
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 290px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #07060b;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 90px -50px var(--a1) }
.scene-chrome { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #121019; border-bottom: 1px solid var(--line) }
.scene-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2c2834 }
.scene-chrome span { margin-left: 10px; font: 600 12px/1 var(--sans); color: var(--dim) }
.game { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(#0b0820, #2a1350 52%, #6a2a6e 72%, #ff7a9c 100%); container-type: size }
.game > * { position: absolute }
.g-stars { inset: 0 0 40%; background-image: radial-gradient(1.2px 1.2px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1.4px 1.4px at 40% 60%, #ffe, transparent), radial-gradient(1px 1px at 85% 55%, #fff, transparent), radial-gradient(1px 1px at 10% 70%, #fff, transparent); background-size: 220px 140px; opacity: .7; animation: twinkle 3s ease-in-out infinite alternate }
@keyframes twinkle { to { opacity: .35 } }
.g-sun { left: 58%; top: 26%; width: 22cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(#ffe08a, #ff8a5c 50%, #ff3d8b);
  -webkit-mask: linear-gradient(#000 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82%); mask: linear-gradient(#000 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82%);
  box-shadow: 0 0 80px #ff5f9e; filter: drop-shadow(0 0 30px #ff5f9e) }
.layer { left: 0; bottom: 0; height: 100%; width: calc(100% + var(--tile)); background-repeat: repeat-x; background-position: left bottom; background-size: var(--tile) auto; animation: slideTile var(--dur) linear infinite }
@keyframes slideTile { to { transform: translateX(calc(var(--tile) * -1)) } }
.g-far { --tile: 400px; --dur: 40s; bottom: 26%; height: 44%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' preserveAspectRatio='none'%3E%3Cpath fill='%23331c5c' d='M0 200V80h40v40h30V50h50v50h35V70h60v60h25V40h45v50h40v20h30V60h45v140z'/%3E%3C/svg%3E"); opacity: .9 }
.g-mid { --tile: 520px; --dur: 22s; bottom: 26%; height: 34%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='200'%3E%3Cpath fill='%231b1030' d='M0 200V90h60V40h50v80h40V70h70v130h20V60h55v60h45V30h60v90h50V80h70v120z'/%3E%3Cg fill='%23ffd27a' opacity='.75'%3E%3Crect x='72' y='60' width='6' height='8'/%3E%3Crect x='90' y='84' width='6' height='8'/%3E%3Crect x='170' y='96' width='6' height='8'/%3E%3Crect x='252' y='80' width='6' height='8'/%3E%3Crect x='344' y='50' width='6' height='8'/%3E%3Crect x='360' y='74' width='6' height='8'/%3E%3Crect x='470' y='100' width='6' height='8'/%3E%3C/g%3E%3Cg fill='%238fe9ff' opacity='.7'%3E%3Crect x='80' y='110' width='6' height='8'/%3E%3Crect x='266' y='120' width='6' height='8'/%3E%3Crect x='352' y='96' width='6' height='8'/%3E%3C/g%3E%3C/svg%3E") }
.g-floor { left: 0; right: 0; bottom: 0; height: 26%; overflow: hidden; perspective: 160px; background: linear-gradient(#1a0a2a, #0a0612) }
.g-floor i { position: absolute; left: -50%; right: -50%; top: 0; height: 300%; transform-origin: 50% 0; background: linear-gradient(transparent 0 92%, rgba(255, 95, 158, .7) 92%) 0 0 / 100% 36px, linear-gradient(90deg, transparent 0 96%, rgba(143, 233, 255, .5) 96%) 50% 0 / 60px 100%; animation: grid 1.1s linear infinite }
@keyframes grid { from { transform: rotateX(62deg) translateY(-36px) } to { transform: rotateX(62deg) translateY(0) } }
.g-hero { left: 52%; bottom: 25%; width: 4.2cqw; aspect-ratio: 1.1; border-radius: 50% 50% 42% 42%; background: radial-gradient(circle at 34% 42%, #0b0820 9%, transparent 11%), radial-gradient(circle at 64% 42%, #0b0820 9%, transparent 11%), linear-gradient(#bff6ff, #6fd8ff); box-shadow: 0 0 22px #6fd8ff; animation: hop 1.1s var(--out) infinite }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1.08, .92) } 15% { transform: translateY(0) scale(1, 1) } 45% { transform: translateY(-120%) scale(.95, 1.05) } 75% { transform: translateY(0) scale(1, 1) } }
.g-coin { bottom: 40%; width: 1.6cqw; aspect-ratio: .7; border-radius: 50%; background: linear-gradient(90deg, #ffb84d, #ffe9a8, #ffb84d); box-shadow: 0 0 12px #ffd27a; left: 100%; animation: coin 4.4s linear infinite }
.g-coin:nth-of-type(2) { animation-delay: -1.5s; bottom: 50% }
.g-coin:nth-of-type(3) { animation-delay: -3s; bottom: 44% }
@keyframes coin { to { transform: translateX(-110cqw) } }
.g-hud { top: 4%; right: 3%; display: flex; gap: 18px; align-items: center; font: 700 clamp(9px, 1.5cqw, 14px)/1 ui-monospace, Consolas, monospace; color: #fff; letter-spacing: .08em; text-shadow: 0 2px 0 #000 }
.g-hud .hearts { color: #ff5f9e; letter-spacing: .2em }
.ov-live { top: 4%; left: 3%; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .55); font: 700 clamp(9px, 1.4cqw, 13px)/1 var(--sans); color: #fff }
.ov-live b { padding: 3px 6px; border-radius: 4px; background: #ff2e55; letter-spacing: .08em }
.ov-live span { font-family: ui-monospace, Consolas, monospace; opacity: .85 }
.ov-title { right: 3%; bottom: 4%; max-width: 50%; padding: 7px 12px; border-radius: 8px; background: rgba(0, 0, 0, .5); border-left: 3px solid var(--a1); font: 700 clamp(9px, 1.4cqw, 13px)/1.2 var(--sans); color: #fff }
/* the character in the corner */
.slot { left: 2%; bottom: 0; z-index: 4; height: 92%; aspect-ratio: .5; transition: opacity .2s, transform .35s var(--spring) }
.scene.swap .slot { opacity: 0; transform: translateY(8px) scale(.97) }
.slot .stage { position: absolute; inset: 0 }
.scene[data-frame="bust"] .slot { height: 56%; aspect-ratio: .86 }
.scene[data-frame="face"] .slot { left: 3%; bottom: 7%; height: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--a1) 45%, #1b0f1c), #120a14); box-shadow: 0 0 0 3px var(--a1), 0 0 30px color-mix(in srgb, var(--a1) 70%, transparent) }
.slot .stage canvas { cursor: default; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)) }
.chat { display: flex; flex-direction: column; min-width: 0; background: #0f0d15; border-left: 1px solid var(--line) }
.chat header { padding: 12px 16px; font: 800 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line) }
.chat ol { flex: 1; list-style: none; margin: 0; padding: 10px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; font-size: 13.5px; line-height: 1.4; color: var(--ink-2) }
.chat li.new { animation: msg .5s var(--out) both }
@keyframes msg { from { opacity: 0; transform: translateY(12px) } }
.chat-say { margin: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--dim); font-size: 13px }
.scene-note { margin-top: 14px; font-size: 13px; color: var(--dim) }
@media (max-width: 899px) {
  .scene { grid-template-columns: 1fr }
  .game { aspect-ratio: 4 / 5 }
  .g-sun { width: 40cqw; left: 46%; top: 22% }
  .g-hero { width: 8cqw; left: 66% }
  .g-coin { width: 3cqw }
  .chat { position: absolute; right: 3%; top: 13%; z-index: 3; width: 50%; height: 34%; background: transparent; border: 0; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%) }
  .chat header, .chat-say { display: none }
  .chat ol { padding: 8px 10px; font-size: 12px; gap: 5px; text-shadow: 0 1px 3px #000; color: #fff; border-radius: 10px; background: linear-gradient(transparent, rgba(8, 4, 16, .55) 40%) }
  .scene[data-frame="body"] .slot { height: 84%; left: -4% }
  .scene[data-frame="bust"] .slot { height: 48% }
  .scene[data-frame="face"] .slot { height: 30% }
  .seg button { padding: 0 14px }
}

/* =========================================================== paths (two doors) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.door { position: relative; display: grid; align-content: end; gap: 14px; padding: 0 36px 36px; border-radius: var(--r); overflow: hidden; isolation: isolate; border: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 30%, rgba(10, 8, 16, .92) 72%), var(--doorbg, var(--bg-2));
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--out), border-color .3s }
.door.hot { transition: transform .12s linear, border-color .3s; border-color: var(--line-2) }
.door::after, .cast-shine { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 40%) }
.door.hot::after, .cast.hot .cast-shine { opacity: 1 }
.door h3 { font-size: clamp(28px, 3vw, 44px) }
.door p { color: var(--ink-2); max-width: 42ch }
.door .btn { justify-self: start; margin-top: 8px }
.door-art { position: relative; height: clamp(280px, 27vw, 380px); margin: 0 -36px 10px; z-index: -1; transition: transform 1s var(--out); -webkit-mask: linear-gradient(#000 78%, transparent); mask: linear-gradient(#000 78%, transparent) }
.door:hover .door-art { transform: scale(1.03) }
.door-1 { --doorbg: radial-gradient(80% 60% at 50% 30%, rgba(178, 107, 255, .35), transparent 70%), #120c1c }
.door-1 .door-art img { position: absolute; bottom: 0; height: 100%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); transition: transform .8s var(--out) }
.door-1 .door-art img:nth-child(1) { left: 50%; translate: -50% 0; z-index: 2; height: 94% }
.door-1 .door-art img:nth-child(2) { left: 6%; height: 84%; opacity: .75; transform: rotate(-4deg) }
.door-1 .door-art img:nth-child(3) { right: 4%; height: 80%; opacity: .75; transform: rotate(4deg) }
.door-1:hover .door-art img:nth-child(2) { transform: rotate(-7deg) translateX(-10px) }
.door-1:hover .door-art img:nth-child(3) { transform: rotate(7deg) translateX(10px) }
.door-2 { --doorbg: radial-gradient(80% 60% at 50% 30%, rgba(233, 169, 177, .32), transparent 70%), #160c12 }
.door-2 .door-art { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0; padding: 32px 36px 0; -webkit-mask: none; mask: none }
.door-2 .door-art figure { height: 100%; aspect-ratio: auto }
.door-2 figure { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #1f1419 }
.door-2 figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10% }
.door-2 figure:first-child img { filter: none }
.door-2 figure:last-child { box-shadow: 0 0 50px -10px var(--a1); border-color: color-mix(in srgb, var(--a1) 50%, transparent) }
.door-2 figure:last-child img { animation: breathe2 3.4s ease-in-out infinite; transform-origin: 50% 100% }
@keyframes breathe2 { 50% { transform: scale(1.012, 1.02) } }
.door-2 figcaption { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .6); font: 800 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase }
.door-2 figure:last-child figcaption { background: var(--a1); color: #1a0c12 }
.door-2 .beam { width: 54px; height: 2px; background: linear-gradient(90deg, transparent, var(--a1), transparent); position: relative; overflow: visible }
.door-2 .beam::after { content: ""; position: absolute; right: 0; top: -5px; width: 12px; height: 12px; border-top: 2px solid var(--a1); border-right: 2px solid var(--a1); transform: rotate(45deg); animation: beam 1.8s var(--out) infinite }
@keyframes beam { 0% { transform: translateX(-30px) rotate(45deg); opacity: 0 } 50% { opacity: 1 } 100% { transform: translateX(4px) rotate(45deg); opacity: 0 } }
@media (max-width: 899px) {
  .paths { grid-template-columns: 1fr }
  .door { padding: 0 22px 26px }
  .door-art { margin: 0 -22px 6px; height: 300px }
  .door-2 .door-art { padding: 22px 22px 0 }
}

/* =========================================================== features (bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 16px }
.tile { position: relative; display: grid; align-content: end; gap: 8px; padding: 26px; border-radius: var(--r); overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); transition: border-color .3s, transform .5s var(--out) }
.tile:hover { border-color: color-mix(in srgb, var(--a1) 40%, transparent); transform: translateY(-4px) }
.tile::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 18%, transparent), transparent); opacity: .6; transition: opacity .4s }
.tile:hover::before { opacity: 1 }
.tile h3 { font-size: 21px; letter-spacing: -.03em; line-height: 1.15 }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.5 }
.tile .fx { position: relative; height: 96px; margin-bottom: 14px; display: grid; place-items: center start }
.tile.wide { grid-column: span 2 }
.tile.tall { grid-row: span 2 }
@media (max-width: 1099px) { .bento { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 599px) { .bento { grid-template-columns: 1fr; grid-auto-rows: auto } .tile.wide { grid-column: auto } .tile.tall { grid-row: auto } .tile { padding: 22px } }
/* tiny living demos inside the tiles */
.fx-bars { display: flex !important; align-items: center; gap: 5px; height: 96px }
.fx-bars i { width: 7px; height: 70%; border-radius: 6px; background: linear-gradient(var(--a2), var(--a1)); animation: bar 1.1s ease-in-out infinite; animation-delay: calc(var(--k) * -130ms); transform-origin: 50% 50% }
@keyframes bar { 0%, 100% { transform: scaleY(.18) } 50% { transform: scaleY(1) } }
.fx-eyes { display: flex !important; gap: 14px }
.fx-eyes .eye { position: relative; width: 58px; height: 40px; border-radius: 50%; background: #f6eef2; overflow: hidden; box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .15); animation: lid 5s infinite }
.fx-eyes .eye i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff 0 12%, transparent 14%), radial-gradient(circle, #1a0d16 32%, var(--a1) 36%, color-mix(in srgb, var(--a1) 60%, #000) 70%); transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .25s var(--out) }
@keyframes lid { 0%, 94%, 100% { transform: scaleY(1) } 97% { transform: scaleY(.06) } }
.fx-blink { display: flex !important; align-items: center; gap: 18px }
.fx-blink .eye { animation-duration: 3.2s }
.fx-blink .lung { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--a2) 60%, transparent); animation: lung 3.2s ease-in-out infinite }
.fx-blink .lung::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--a1); box-shadow: 0 0 26px color-mix(in srgb, var(--a1) 45%, transparent); opacity: 0; animation: lungGlow 3.2s ease-in-out infinite }
@keyframes lung { 50% { transform: scale(1.18) } }
@keyframes lungGlow { 50% { opacity: 1 } }
.fx-swing { display: flex !important; gap: 22px; padding-left: 10px; place-items: start !important }
.fx-swing i { width: 2px; height: 78px; background: linear-gradient(var(--line-2), var(--a2)); transform-origin: 50% 0; animation: swing 2.2s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -320ms); position: relative }
.fx-swing i::after { content: ""; position: absolute; left: -7px; bottom: -12px; width: 16px; height: 16px; background: var(--a1); clip-path: path('M8 15C2 10 0 7 0 4.5A4 4 0 0 1 8 3a4 4 0 0 1 8 1.5C16 7 14 10 8 15Z') }
@keyframes swing { from { transform: rotate(16deg) } to { transform: rotate(-16deg) } }
.fx-faces { display: flex !important; gap: 8px; position: relative; isolation: isolate }
.fx-faces span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2) }
.fx-faces svg { width: 26px; height: 26px }
.fx-faces::before { content: ""; position: absolute; left: 0; top: 50%; width: 46px; height: 46px; margin-top: -23px; z-index: -1; border-radius: 50%; background: linear-gradient(135deg, var(--a2), var(--a1)); box-shadow: 0 0 24px -4px var(--a1); animation: faceHop 5s var(--out) infinite }
@keyframes faceHop { 0%, 16% { transform: translateX(0) } 20%, 36% { transform: translateX(54px) } 40%, 56% { transform: translateX(108px) } 60%, 76% { transform: translateX(162px) } 80%, 96% { transform: translateX(216px) } 100% { transform: translateX(0) } }
.fx-frames { display: flex !important; align-items: end; gap: 10px }
.fx-frames i { position: relative; display: block; border: 1.5px solid var(--line-2); border-radius: 8px; background: linear-gradient(transparent 60%, color-mix(in srgb, var(--a1) 20%, transparent)) }
.fx-frames i::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 1.5px solid var(--a1); box-shadow: 0 0 20px -4px var(--a1); opacity: 0; animation: fr 4.5s infinite; animation-delay: calc(var(--k) * 1.5s) }
.fx-frames i:nth-child(1) { width: 34px; height: 86px }
.fx-frames i:nth-child(2) { width: 52px; height: 60px }
.fx-frames i:nth-child(3) { width: 44px; height: 44px; border-radius: 50% }
@keyframes fr { 0%, 28% { opacity: 1 } 33%, 100% { opacity: 0 } }
.fx-bg { position: relative; width: 100%; max-width: 220px; height: 96px; border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; isolation: isolate }
.fx-bg::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 300%; z-index: -1; animation: bgs 6s steps(1) infinite;
  background: linear-gradient(135deg, var(--a2), var(--a1)) 100% 0 / 33.34% 100% no-repeat, linear-gradient(#00b140, #00b140) 50% 0 / 33.34% 100% no-repeat, repeating-conic-gradient(#2a2730 0 25%, #1c1a21 0 50%) 0 0 / 16px 16px }
@keyframes bgs { 0% { transform: translateX(0) } 33% { transform: translateX(-33.333%) } 66% { transform: translateX(-66.666%) } }
.fx-bg::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 36px; height: 70px; margin-left: -18px; border-radius: 18px 18px 6px 6px; background: radial-gradient(circle at 50% 22%, #f2e4dc 0 14px, transparent 15px), linear-gradient(transparent 28px, #7c6e72 28px) }
.fx-file { display: flex !important; align-items: center; gap: 14px }
.fx-file .doc { position: relative; width: 62px; height: 78px; border-radius: 10px 22px 10px 10px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid var(--line-2); display: grid; place-items: end center; padding-bottom: 10px; font: 800 11px/1 var(--sans); color: var(--a1); letter-spacing: .06em }
.fx-file .cursor { width: 26px; height: 26px; color: var(--ink); animation: dbl 2.6s var(--out) infinite }
@keyframes dbl { 0%, 100% { transform: translate(18px, 12px) } 40% { transform: translate(0, 0) } 48% { transform: scale(.85) } 54% { transform: scale(1) } 60% { transform: scale(.85) } 66% { transform: scale(1) } }

/* =========================================================== cast cards */
.cast-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
@media (max-width: 1099px) { .cast-grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 640px) {
  .cast-grid { grid-template-columns: 1fr; gap: 16px }
  .cast-grid.rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 6px var(--pad) 18px; scroll-padding: var(--pad); scrollbar-width: none }
  .cast-grid.rail::-webkit-scrollbar { display: none }
  .cast-grid.rail .cast { scroll-snap-align: start }
}
.cast { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--out), opacity .9s var(--out); transition-delay: 0s }
.cast.hot { transition: transform .12s linear, opacity .9s var(--out) }
.cast[data-reveal] { transform: translateY(40px) }
.cast[data-reveal].in { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) }
.cast-link { position: relative; display: block; aspect-ratio: 4 / 5.4; border-radius: var(--r); overflow: hidden; isolation: isolate; border: 1px solid color-mix(in srgb, var(--a1) 22%, var(--line)); background: var(--deep); transition: border-color .4s, box-shadow .5s var(--out) }
.cast:hover .cast-link { border-color: color-mix(in srgb, var(--a1) 55%, transparent); box-shadow: 0 30px 80px -30px var(--a1) }
.cast-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 60% at 50% 34%, color-mix(in srgb, var(--a1) 34%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--deep) 70%, var(--a1) 12%), var(--deep)) }
.cast-bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px); mix-blend-mode: overlay }
.cast-ghostname { position: absolute; left: -4%; right: -4%; top: 30%; text-align: center; font: 800 clamp(64px, 8vw, 120px)/.8 var(--display); letter-spacing: -.07em; text-transform: uppercase; color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--a2) 16%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; white-space: nowrap; transition: transform 1s var(--out), letter-spacing 1s var(--out) }
.cast:hover .cast-ghostname { transform: translateY(-6px); letter-spacing: -.04em }
.cast-art { position: absolute; inset: 0; overflow: hidden; transition: transform 1s var(--out), filter .6s }
.cast-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0 }
.cast:hover .cast-art { transform: scale(1.05) }
.cast[data-status="soon"] .cast-art img { filter: saturate(.85) brightness(.9) }
.cast[data-status="soon"]:hover .cast-art img { filter: none }
.cast-info { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 6px; padding: 80px 24px 22px; background: linear-gradient(transparent, color-mix(in srgb, var(--deep) 88%, #000) 52%) }
.cast-info h3 { font: italic 400 clamp(30px, 2.6vw, 40px)/1 var(--serif); letter-spacing: -.01em; color: var(--ink) }
.cast-info p { color: var(--ink-2); font-size: 14.5px; opacity: .85 }
.cast-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1) }
.cast .price { font: 700 13.5px/1 var(--sans); color: var(--a1) }
.cast .go { display: inline-flex; align-items: center; gap: 6px; font: 800 13.5px/1 var(--sans) }
.cast .go svg { width: 16px; height: 16px; transition: transform .35s var(--out) }
.cast:hover .go svg { transform: translateX(5px) }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 800 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: rgba(8, 6, 12, .6); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px) }
.badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b5c; animation: rec 1.8s infinite }
.badge.soon { color: var(--ink-2); border-style: dashed }
/* each card's own life */
.cast[data-fx="porcelana"] .cast-art img { transform-origin: 50% 30%; animation: kenburns 12s ease-in-out infinite alternate }
@keyframes kenburns { to { transform: scale(1.04) } }
.cast[data-fx="neon"] .cast-bg { animation: neon 4s infinite }
@keyframes neon { 0%, 100% { filter: none } 3% { filter: brightness(1.6) } 5% { filter: none } 7% { filter: brightness(1.4) } 9% { filter: none } }
.cast[data-fx="neon"]:hover .cast-link { box-shadow: 0 30px 80px -30px var(--a1), 0 0 0 1px var(--a1), 0 0 40px -6px var(--a2) }
/* glitch: slices of her own picture, tinted red and cyan, shifted in steps */
.cast[data-fx="glitch"] .cast-art::before, .cast[data-fx="glitch"] .cast-art::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background-size: cover; background-position: 50% 0; background-blend-mode: screen }
.cast[data-fx="glitch"] .cast-art::before { background-image: linear-gradient(rgba(255, 46, 77, .45), rgba(255, 46, 77, .45)), var(--img) }
.cast[data-fx="glitch"] .cast-art::after { background-image: linear-gradient(rgba(89, 243, 255, .35), rgba(89, 243, 255, .35)), var(--img) }
.cast[data-fx="glitch"]:hover .cast-art::before { opacity: 1; animation: glitchA 1.4s steps(1) infinite }
.cast[data-fx="glitch"]:hover .cast-art::after { opacity: 1; animation: glitchB 1.7s steps(1) infinite }
@keyframes glitchA { 0% { clip-path: inset(12% 0 84% 0); transform: translateX(-6px) } 20% { clip-path: inset(52% 0 44% 0); transform: translateX(5px) } 40% { clip-path: inset(74% 0 21% 0); transform: translateX(-3px) } 60% { clip-path: inset(30% 0 67% 0); transform: translateX(7px) } 80%, 100% { clip-path: inset(0 0 100% 0) } }
@keyframes glitchB { 0% { clip-path: inset(63% 0 33% 0); transform: translateX(6px) } 25% { clip-path: inset(18% 0 79% 0); transform: translateX(-5px) } 50% { clip-path: inset(0 0 100% 0) } 75% { clip-path: inset(41% 0 55% 0); transform: translateX(4px) } }
.cast.big .cast-link { aspect-ratio: 4 / 5.2 }

/* =========================================================== steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: s }
.steps li { position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 26px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); counter-increment: s }
.steps li::before { content: "0" counter(s); font: 800 clamp(54px, 5vw, 76px)/.9 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--a1) 55%, transparent); margin-bottom: 12px }
.steps.in li::before { animation: numGlow 1.4s .3s var(--out) both }
@keyframes numGlow { from { -webkit-text-stroke-color: transparent; transform: translateY(14px) } }
.steps h3 { font-size: 21px; letter-spacing: -.03em }
.steps p { color: var(--muted); font-size: 15.5px }
.steps-line { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--a2), var(--a1)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--out) }
.steps.in .steps-line { transform: scaleX(1) }
@media (max-width: 1099px) { .steps { --cols: 2 !important } }
@media (max-width: 640px) { .steps { --cols: 1 !important } }

/* =========================================================== FAQ */
.qa { border-bottom: 1px solid var(--line) }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 clamp(17px, 1.5vw, 21px)/1.3 var(--display); letter-spacing: -.025em; transition: color .2s }
.qa summary::-webkit-details-marker { display: none }
.qa summary:hover { color: var(--a1) }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--spring), background-color .3s, border-color .3s }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; background: currentColor; border-radius: 2px }
.plus::after { transform: rotate(90deg) }
.qa[open] .plus { transform: rotate(135deg); background: var(--a1); border-color: var(--a1); color: #160b12 }
.qa::details-content { height: 0; overflow: clip; transition: height .45s var(--out), content-visibility .45s allow-discrete }
.qa[open]::details-content { height: auto }
.qa-a p { padding: 0 0 26px; max-width: 70ch; color: var(--ink-2); font-size: 16.5px }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start }
.faq-wrap .sec-head { position: sticky; top: 110px }
@media (max-width: 899px) { .faq-wrap { grid-template-columns: 1fr; gap: 10px } .faq-wrap .sec-head { position: static } }

/* =========================================================== final call */
.end { position: relative; overflow: hidden; text-align: center; padding: clamp(100px, 14vw, 190px) 0; isolation: isolate }
.end::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1.6; translate: -50% -50%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 28%, transparent), color-mix(in srgb, var(--a2) 10%, transparent) 50%, transparent); filter: blur(20px); animation: pulse 7s ease-in-out infinite }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8 } }
.end h2 { font-size: clamp(38px, 6.4vw, 104px); max-width: 15ch; margin: 0 auto 24px }
.end .lead { margin: 0 auto 36px }
.end .ctas { justify-content: center }

/* =========================================================== footer */
.rodape { position: relative; padding: 80px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #060509); overflow: hidden }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px }
.foot-brand { display: grid; gap: 14px; align-content: start }
.foot-brand p, .foot-col p { color: var(--muted); font-size: 15px }
.foot-col { display: grid; gap: 14px; align-content: start; justify-items: start }
.foot-col h4 { font: 800 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--dim) }
.foot-links { display: grid; gap: 10px }
.foot-links a { color: var(--ink-2); font-weight: 600; transition: color .2s }
.foot-links a:hover { color: var(--a1) }
.foot-contact.soon { font-style: italic; font-family: var(--serif); font-size: 19px; color: var(--ink-2) }
.foot-mega { margin: 60px 0 0; font: 800 clamp(60px, 15.5vw, 236px)/.8 var(--display); letter-spacing: -.07em; text-transform: lowercase; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, color-mix(in srgb, var(--a1) 40%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none }
.foot-copy { margin-top: 18px; font-size: 13px; color: var(--dim); text-align: center }
@media (max-width: 899px) { .foot-top { grid-template-columns: 1fr 1fr } .foot-brand { grid-column: 1 / -1 } }

/* =========================================================== inner pages: page header */
.page-head { position: relative; padding: clamp(116px, 12vw, 170px) 0 clamp(30px, 4vw, 50px); overflow: hidden; isolation: isolate }
.page-head::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1; background: radial-gradient(50% 50% at 70% 30%, color-mix(in srgb, var(--a1) 18%, transparent), transparent 70%), radial-gradient(40% 40% at 20% 60%, color-mix(in srgb, var(--a2) 12%, transparent), transparent 70%) }
.page-head h1 { font-size: clamp(42px, 6vw, 92px); max-width: 16ch; margin: 18px 0 22px }

/* catalogue toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px }
.search { position: relative; flex: 1 1 240px; max-width: 360px }
.search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink); font: 600 15px var(--sans); transition: border-color .2s, background-color .2s }
.search input:focus { outline: none; border-color: var(--a1); background: rgba(255, 255, 255, .07) }
.search svg { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--muted) }
.count { margin-left: auto; font: 700 13px/1 var(--sans); letter-spacing: .1em; color: var(--dim); text-transform: uppercase }
.empty { padding: 60px 0; text-align: center; font: italic 400 28px/1.2 var(--serif); color: var(--muted) }
.banner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; margin-top: 70px; padding: clamp(30px, 4vw, 54px); border-radius: var(--r); overflow: hidden; isolation: isolate; border: 1px solid var(--line-2);
  background: radial-gradient(60% 120% at 100% 50%, color-mix(in srgb, var(--a1) 25%, transparent), transparent 70%), linear-gradient(120deg, var(--bg-2), var(--bg-3)) }
.banner h2 { font-size: clamp(28px, 3.4vw, 48px) }
.banner p { margin-top: 10px; color: var(--ink-2) }
@media (max-width: 699px) { .banner { grid-template-columns: 1fr } }

/* =========================================================== character page */
.char-hero { position: relative; overflow: hidden; isolation: isolate; --px: 0; --py: 0;
  background: radial-gradient(80% 70% at 55% 30%, color-mix(in srgb, var(--a1) 20%, transparent), transparent 62%), linear-gradient(180deg, var(--deep), var(--bg) 94%) }
.char-in { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 96px var(--pad) 40px; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr) minmax(250px, .62fr); align-items: center; gap: 28px }
.char-copy { display: grid; gap: 20px; align-content: center }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-right: 10px; justify-self: start; color: var(--muted); font-weight: 700; font-size: 14px; transition: color .2s }
.back svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .3s var(--out) }
.back:hover { color: var(--ink) }
.back:hover svg { transform: rotate(180deg) translateX(4px) }
.char-copy h1 { font: italic 400 clamp(54px, 6.6vw, 112px)/.9 var(--serif); letter-spacing: -.02em; color: var(--ink) }
.char-copy h1 .w > span { background: linear-gradient(180deg, #fff, var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em }
.tags { display: flex; flex-wrap: wrap; gap: 8px }
.tags span { padding: 8px 13px; border-radius: 999px; font: 700 12.5px/1.2 var(--sans); color: var(--ink-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line) }
.buybox { display: grid; gap: 14px; justify-items: start; padding-top: 8px }
.buybox .price-big { font: 600 clamp(22px, 2vw, 28px)/1 var(--display); letter-spacing: -.03em }
.buybox .meta { font-size: 13.5px; color: var(--muted) }
.status-pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 800 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--a1) 50%, transparent); color: var(--a1) }
.status-pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b5c; animation: rec 1.8s infinite }
.char-still { position: absolute; inset: 0 -6% 40px; z-index: 3; display: grid; place-items: end center; pointer-events: auto }
.char-still img { max-height: 94%; width: auto; max-width: 100%; object-fit: contain; transform-origin: 50% 100%; animation: breathe2 4s ease-in-out infinite }
/* the art's own edges fade into the stage instead of ending in a hard line */
.char-still img { -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(#000 80%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(#000 80%, transparent); mask-composite: intersect }
.char-still[data-fx="glitch"] { --img: none }
.char-still[data-fx="glitch"]::before, .char-still[data-fx="glitch"]::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .32; mix-blend-mode: screen;
  -webkit-mask: var(--img) 50% 100% / contain no-repeat; mask: var(--img) 50% 100% / contain no-repeat }
.char-still[data-fx="glitch"]::before { background: #ff2e4d; animation: glitchA 2.6s steps(1) infinite }
.char-still[data-fx="glitch"]::after { background: #59f3ff; opacity: .26; animation: glitchB 3.1s steps(1) infinite }
.char-still[data-fx="neon"]::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 55%, transparent), transparent); animation: neonGlow 5s infinite }
@keyframes neonGlow { 0%, 100% { opacity: .35 } 50% { opacity: .8 } 52% { opacity: .2 } 54% { opacity: .9 } 56% { opacity: .6 } }
.backstage { display: grid; gap: 16px; padding: 26px; border-radius: var(--r); border: 1px dashed color-mix(in srgb, var(--a1) 40%, transparent); background: color-mix(in srgb, var(--a1) 6%, transparent) }
.backstage h3 { font: italic 400 30px/1 var(--serif); color: var(--a1) }
.backstage p { color: var(--ink-2); font-size: 15px }
.backstage .ctas { flex-direction: column; align-items: stretch }
@media (max-width: 1199px) {
  .char-in { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr) }
  .char-hud { grid-column: 1 / -1 }
}
@media (max-width: 760px) {
  .char-in { grid-template-columns: 1fr; padding-top: 80px; min-height: 0; gap: 12px }
  .char-copy { display: contents }
  .char-copy .back { order: 1 } .char-copy .status-pill { order: 2 } .char-copy h1 { order: 3 }
  .char-in > .theatre { order: 4; height: 62svh; min-height: 440px; margin: -8px -8px 0 }
  .char-in > .theatre .stage, .char-in > .theatre .char-still { inset: 0 -14% 34px }
  .char-copy .lead { order: 5 } .char-copy .tags { order: 6 } .char-copy .buybox { order: 7 }
  .char-in > .char-hud { order: 8; margin-top: 12px }
  .char-copy h1 { font-size: clamp(44px, 13vw, 64px) }
}
.incl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px }
.incl li { list-style: none; display: grid; gap: 10px; align-content: start; padding: 24px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025) }
.incl ul { margin: 0; padding: 0 }
.incl .ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--a1) 14%, transparent); color: var(--a1) }
.incl .ic svg { width: 24px; height: 24px }
.incl h3 { font-size: 17px; letter-spacing: -.02em; line-height: 1.2 }
.incl p { font-size: 14px; color: var(--muted) }
@media (max-width: 1099px) { .incl { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 499px) { .incl { grid-template-columns: 1fr } }

/* =========================================================== custom order page */
.cus-hero { position: relative; overflow: hidden; isolation: isolate; padding: 110px 0 60px;
  background: radial-gradient(60% 60% at 75% 35%, color-mix(in srgb, var(--a1) 20%, transparent), transparent 70%), linear-gradient(180deg, var(--deep), var(--bg)) }
.cus-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; min-height: calc(100svh - 170px) }
.cus-copy { display: grid; gap: 24px }
.cus-copy h1 { font-size: clamp(40px, 5.4vw, 84px) }
.ba { position: relative; aspect-ratio: 4 / 4.6; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(80% 70% at 50% 35%, color-mix(in srgb, var(--a1) 30%, transparent), transparent 70%), var(--deep); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 30px 100px -60px var(--a1); --cut: 100% }
.ba .stage { position: absolute; inset: 0 }
.ba-before { position: absolute; inset: 0; z-index: 4; overflow: hidden; clip-path: inset(0 calc(100% - var(--cut)) 0 0); pointer-events: none; background: inherit }
.ba-before img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 6% }
.ba.aligned .ba-before img { object-fit: fill }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--cut); z-index: 6; width: 54px; margin-left: -27px; cursor: ew-resize; touch-action: none; display: grid; place-items: center; opacity: 0; transition: opacity .5s }
.ba.ready .ba-handle { opacity: 1 }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(transparent, #fff 12%, #fff 88%, transparent); box-shadow: 0 0 18px var(--a1) }
.ba-handle span { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #170c12; box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 0 6px color-mix(in srgb, var(--a1) 35%, transparent); transition: transform .3s var(--spring) }
.ba-handle:hover span, .ba-handle:focus-visible span { transform: scale(1.1) }
.ba-handle svg { width: 24px; height: 24px }
.ba-tag { position: absolute; top: 18px; z-index: 7; padding: 8px 13px; border-radius: 999px; font: 800 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; pointer-events: none }
.ba-tag.l { left: 18px; background: rgba(255, 255, 255, .9); color: #2a1a20 }
.ba-tag.r { right: 18px; background: var(--a1); color: #1a0c12; display: inline-flex; align-items: center; gap: 7px }
.ba-tag.r::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff2e55; animation: rec 1.8s infinite }
.ba-drag { position: absolute; left: 50%; bottom: 18px; z-index: 7; translate: -50% 0; padding: 8px 14px; border-radius: 999px; background: rgba(10, 8, 16, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 700 12.5px/1 var(--sans); color: var(--ink-2); pointer-events: none; opacity: 0; transition: opacity .5s }
.ba.ready .ba-drag { opacity: 1 }
.ba-under { display: grid; gap: 14px; margin-top: 18px }
.ba-under .note { font-size: 13.5px; color: var(--muted) }
.ba-under .dock { --chip: 40px }
@media (max-width: 899px) {
  .cus-in { grid-template-columns: 1fr; min-height: 0; gap: 18px }
  .cus-hero { padding-top: 88px }
  .cus-copy { display: contents }
  .cus-copy .kicker { order: 1 } .cus-copy h1 { order: 2 } .cus-in > .rise:not(.cus-copy) { order: 3 } .cus-copy .lead { order: 4 } .cus-copy .ctas { order: 5 }
  .cus-copy h1 { font-size: clamp(34px, 9.6vw, 50px) }
  .ba { aspect-ratio: 4 / 4.4 }
  .measure { width: 220px }
}

.req { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 50px; align-items: center }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px }
.checks li { position: relative; padding: 16px 18px 16px 54px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--ink-2); font-size: 15.5px; line-height: 1.5 }
.checks li::before { content: ""; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--a1) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") 50% / 13px no-repeat }
.measure { position: relative; justify-self: center; width: min(100%, 300px); aspect-ratio: .55; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, color-mix(in srgb, var(--a1) 10%, transparent), transparent), var(--bg-2); overflow: hidden }
.measure img { position: absolute; inset: 6% 18% 4% 22%; width: 60%; height: 90%; object-fit: contain; object-position: 50% 0; opacity: .9 }
.measure .tall, .measure .head { position: absolute; display: flex; align-items: center; font: 800 11.5px/1.1 var(--sans); letter-spacing: .06em; color: var(--a1) }
.measure .tall { left: 8%; top: 6%; bottom: 4%; width: 12px; border: 1.5px solid var(--a1); border-right: 0 }
.measure .tall b { position: absolute; left: -2px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; background: var(--bg-2); padding: 4px 6px }
.measure .head { right: 6%; top: 6%; height: 15%; width: 12px; border: 1.5px solid var(--a2); border-left: 0; color: var(--a2) }
.measure .head b { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--bg-2); padding: 4px 6px }
.measure figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 12px; color: var(--dim) }
@media (max-width: 899px) { .req { grid-template-columns: 1fr } }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto }
.tier { position: relative; display: grid; gap: 22px; align-content: start; padding: 36px; border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); overflow: hidden; isolation: isolate; transition: transform .5s var(--out), border-color .3s }
.tier:hover { transform: translateY(-6px) }
.tier.featured { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(140deg, var(--a2), var(--a1), transparent 70%) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 100px -50px var(--a1) }
.tier.featured::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 30%, transparent), transparent) }
.tier-top { display: flex; justify-content: space-between; align-items: start; gap: 10px }
.tier h3 { font-size: clamp(28px, 2.6vw, 38px) }
.tier .flag { padding: 7px 11px; border-radius: 999px; background: var(--a1); color: #1a0c12; font: 800 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap }
.tier .sum { color: var(--ink-2) }
.tier .amount { display: grid; gap: 6px; padding: 20px 0; border-block: 1px solid var(--line) }
.tier .amount strong { font: 600 clamp(26px, 2.6vw, 36px)/1 var(--display); letter-spacing: -.04em }
.tier .amount strong.soon { font: italic 400 clamp(30px, 2.8vw, 40px)/1 var(--serif); letter-spacing: 0; color: var(--a1) }
.tier .amount span { font-size: 13.5px; color: var(--muted) }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px }
.tier li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2) }
.tier li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: linear-gradient(135deg, var(--a2), var(--a1)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") 50% / 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") 50% / 14px no-repeat }
.tier .btn { justify-self: stretch }
.pay { text-align: center; margin: 26px auto 0; max-width: 62ch; font-size: 14.5px; color: var(--muted) }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr } .tier { padding: 28px 24px } }

/* the form */
.order-box { max-width: 1000px; margin: 0 auto; padding: clamp(24px, 4vw, 52px); border-radius: 30px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); box-shadow: 0 60px 140px -60px rgba(0, 0, 0, .9) }
.order { display: grid; gap: 26px }
.order .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
@media (max-width: 699px) { .order .two { grid-template-columns: 1fr } }
.field { display: grid; gap: 9px; border: 0; padding: 0; margin: 0; min-width: 0 }
.field > label:not(.drop):not(.check), .field legend, .field .label { font: 800 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0 }
.field legend { margin-bottom: 9px }
.field input[type=text], .field textarea { width: 100%; height: 56px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--ink); font: 600 16px var(--sans); transition: border-color .2s, box-shadow .3s, background-color .2s }
.field textarea { height: 120px; padding: 16px 18px; resize: vertical; line-height: 1.5 }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a1) 18%, transparent); background: rgba(0, 0, 0, .35) }
.field input[aria-invalid="true"] { border-color: var(--err) }
.msg { min-height: 0; font-size: 13.5px; font-weight: 700; color: var(--err) }
.msg:empty { display: none }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.choice label { position: relative; display: grid; gap: 4px; padding: 18px 18px 18px 54px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .2); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .3s }
.choice label:hover { border-color: color-mix(in srgb, var(--a1) 50%, transparent) }
.choice input { position: absolute; left: 18px; top: 19px; width: 22px; height: 22px; margin: 0; accent-color: var(--a1) }
.choice b { font: 600 17px/1.2 var(--display); letter-spacing: -.02em }
.choice small { color: var(--muted); font-size: 13px }
.choice label:has(input:checked) { border-color: var(--a1); background: color-mix(in srgb, var(--a1) 9%, transparent); box-shadow: 0 0 0 1px var(--a1) }
@media (max-width: 499px) { .choice { grid-template-columns: 1fr } }
.drop { position: relative; display: grid; place-items: center; gap: 12px; min-height: 260px; padding: 40px 24px; border-radius: 22px; text-align: center; cursor: pointer; overflow: hidden; isolation: isolate;
  border: 1.5px dashed color-mix(in srgb, var(--a1) 50%, transparent); background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--a1) 14%, transparent), transparent 70%), rgba(0, 0, 0, .25); transition: border-color .25s, background-color .25s, transform .3s var(--out) }
.drop::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, color-mix(in srgb, var(--a1) 40%, transparent) 85%, transparent); opacity: 0; transition: opacity .3s }
.drop:hover, .drop.over { border-color: var(--a1); background-color: color-mix(in srgb, var(--a1) 8%, transparent) }
.drop.over { transform: scale(1.01) }
.drop.over::before { opacity: 1; animation: ang 2s linear infinite }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false }
@keyframes ang { to { --ang: 360deg } }
.drop-ic { position: relative; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(140deg, var(--a2), var(--a1)); color: #1a0c12; box-shadow: 0 20px 50px -14px var(--a1); animation: float 3.4s ease-in-out infinite }
.drop-ic svg { width: 40px; height: 40px }
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg) } }
.drop strong { font: 600 clamp(20px, 2vw, 26px)/1.1 var(--display); letter-spacing: -.03em }
.drop span { color: var(--ink-2); font-weight: 600 }
.drop small { color: var(--muted); font-size: 13px }
.files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px }
.files:empty { display: none }
.files li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 10px 10px 10px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); animation: rise .5s var(--out) both }
.files .thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; object-position: 50% 10%; background: var(--bg-3); display: grid; place-items: center; font: 800 12px var(--sans); color: var(--a1) }
.files .name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.files .meta { font-size: 12.5px; color: var(--muted) }
.files .warn { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--warn); line-height: 1.35 }
.files button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s, transform .3s var(--spring) }
.files button:hover { color: var(--err); border-color: var(--err); transform: rotate(90deg) }
.files button svg { width: 16px; height: 16px }
.tip { font-size: 13.5px; color: var(--muted) }
.check { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .2); cursor: pointer; font-weight: 600; color: var(--ink-2); line-height: 1.45 }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--a1) }
.check:has(input:checked) { border-color: color-mix(in srgb, var(--a1) 60%, transparent) }
.send { position: relative; justify-self: start; min-width: 260px }
.send .bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); z-index: -1; background: rgba(255, 255, 255, .35); transition: width .2s }
.send:disabled { cursor: progress }
.result { display: grid; gap: 10px; padding: 22px 24px; border-radius: 18px }
.result h3 { font-size: 22px }
.result.err { border: 1px solid color-mix(in srgb, var(--err) 50%, transparent); background: color-mix(in srgb, var(--err) 8%, transparent) }
.result.err h3 { color: var(--err) }
.result.closed { border: 1px dashed color-mix(in srgb, var(--a1) 55%, transparent); background: color-mix(in srgb, var(--a1) 8%, transparent) }
.result.closed h3 { font: italic 400 30px/1.05 var(--serif); color: var(--a1) }
.ok { position: relative; display: grid; justify-items: center; gap: 16px; padding: clamp(40px, 6vw, 80px) 24px; text-align: center; overflow: hidden }
.ok h3 { font-size: clamp(34px, 4vw, 56px) }
.ok p { color: var(--ink-2); max-width: 48ch }
.ok .oid { font: 700 14px/1 ui-monospace, Consolas, monospace; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2) }
.ok .oid b { display: block; margin-bottom: 6px; font: 800 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted) }
.burst { position: relative; width: 110px; height: 110px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(140deg, var(--a2), var(--a1)); color: #1a0c12; box-shadow: 0 0 60px -6px var(--a1); animation: pop .8s var(--spring) both }
.burst svg { width: 52px; height: 52px }
.burst i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 2px; background: var(--c, var(--a1)); animation: spark 1.1s var(--out) both; transform: rotate(var(--r)) translateY(0) }
@keyframes pop { from { transform: scale(0) rotate(-30deg) } }
@keyframes spark { to { transform: rotate(var(--r)) translateY(-110px) scale(.3); opacity: 0 } }

/* =========================================================== how to use */
.how { display: grid; gap: 24px }
.how-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(22px, 3.4vw, 46px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)) }
.how-card:nth-child(even) .how-vis { order: 2 }
.how-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; min-width: 0; overflow-wrap: anywhere }
.how-copy h2 { font-size: clamp(26px, 2.8vw, 40px) }
.how-copy > p { color: var(--ink-2) }
.how-copy ol { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 12px }
.how-copy ol li { position: relative; padding-left: 44px; color: var(--ink-2); font-size: 15.5px; counter-increment: h }
.how-copy ol li::before { content: counter(h); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--a1) 15%, transparent); color: var(--a1); font: 800 13px/1 var(--sans) }
.how-copy .note { padding: 14px 16px; border-radius: 14px; border-left: 3px solid var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent); color: var(--ink-2); font-size: 14.5px }
.tagt { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 800 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase }
.tagt.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok) }
.tagt.no { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); border: 1px dashed color-mix(in srgb, var(--warn) 50%, transparent) }
.kbd { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px }
.kbd kbd { min-width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-2); border-bottom-width: 3px; font: 800 14px var(--sans); color: var(--ink); background: rgba(255, 255, 255, .05) }
.how-vis { position: relative; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0e0c14; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9) }
.win-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #17141f; border-bottom: 1px solid var(--line) }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2f2a38 }
.win-bar span { margin-left: 10px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .05); font: 600 11px/20px var(--sans); color: var(--dim); padding: 0 10px; overflow: hidden; white-space: nowrap }
.win-body { position: absolute; inset: 34px 0 0; overflow: hidden }
.win-body img { position: absolute; left: 50%; bottom: -30%; height: 120%; width: auto; max-width: none; translate: -50% 0; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .5)) }
.vis-browser .win-body { background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--a1) 35%, transparent), transparent 70%), var(--deep) }
.vis-browser .ctl { position: absolute; left: 50%; top: 10px; z-index: 2; translate: -50% 0; display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(10, 8, 16, .75); border: 1px solid var(--line-2) }
.vis-browser .ctl b { padding: 5px 8px; border-radius: 6px; font: 700 10px/1 var(--sans); color: var(--ink-2) }
.vis-browser .ctl b:first-child { background: var(--a1); color: #1a0c12 }
.vis-green .win-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 18px }
.vis-green .pane { position: relative; height: 82%; border-radius: 12px; overflow: hidden }
.vis-green .pane img { height: 115%; bottom: -24% }
.vis-green .pane.g { background: #00b140 }
.vis-green .pane.k { background: linear-gradient(#1b0f34, #6a2a6e 70%, #ff7a9c) }
.vis-green .pane.k::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(transparent 0 85%, rgba(255, 95, 158, .6) 85%) 0 0 / 100% 12px, #120a1c }
.vis-green .pane.k img { z-index: 1 }
.vis-green .arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--a1); color: #1a0c12 }
.vis-green .arrow svg { width: 20px; height: 20px }
.vis-obs .win-body { display: grid; grid-template-columns: 1fr 34%; }
.vis-obs .prev { position: relative; overflow: hidden; background: linear-gradient(#1b0f34, #6a2a6e 70%, #ff7a9c) }
.vis-obs .prev img { left: 24%; height: 110%; bottom: -20% }
.vis-obs .side { display: grid; align-content: start; gap: 6px; padding: 12px; background: #15121c; border-left: 1px solid var(--line) }
.vis-obs .side b { font: 800 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px }
.vis-obs .side span { padding: 7px 9px; border-radius: 7px; background: rgba(255, 255, 255, .04); font: 600 11px/1.2 var(--sans); color: var(--muted) }
.vis-obs .side span.on { background: color-mix(in srgb, var(--a1) 20%, transparent); color: var(--ink); outline: 1px solid color-mix(in srgb, var(--a1) 50%, transparent) }
@media (max-width: 899px) { .how-card { grid-template-columns: minmax(0, 1fr) } .how-card:nth-child(even) .how-vis { order: 0 } }

/* =========================================================== reduced motion: everything settles in place */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important }
  .rise, .split .w > span, [data-reveal], .dock-group, .theatre .stage, .spot, .halo, .floor, .dust, .backname, .rings i { opacity: 1; transform: none; filter: none }
  .spot { opacity: .85 }
  .ticker-track { flex-wrap: wrap; width: auto }
  .ticker-track span[aria-hidden] { display: none }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none }
}

/* =========================================================== Japanese */
html[lang="ja"] {
  --display: 'Unbounded', 'Dela Gothic One', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  --sans: 'Manrope', 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Meiryo', sans-serif;
  --serif: 'Instrument Serif', 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-synthesis-style: none;
  line-break: strict;
}
html[lang="ja"] body { line-height: 1.85; letter-spacing: .02em }
html[lang="ja"] :is(h1, h2, h3, h4, .h-xl, .h-l, .qa summary, .ticker-track span, .drop strong, .choice b) { letter-spacing: .01em; line-height: 1.3; word-break: auto-phrase }
html[lang="ja"] :is(h1, h2) em { font-size: 1em; line-height: 1.3; letter-spacing: .02em }
html[lang="ja"] .hero h1 { font-size: clamp(32px, 4.3vw, 68px); line-height: 1.22 }
html[lang="ja"] .hero h1 em { font-size: .8em; margin-top: .2em }
html[lang="ja"] .split .w { padding-bottom: .16em; margin-bottom: -.16em }
html[lang="ja"] .h-l, html[lang="ja"] .end h2 { font-size: clamp(26px, 3.3vw, 50px) }
html[lang="ja"] .end h2 { max-width: 18em; font-size: clamp(30px, 4.6vw, 72px) }
html[lang="ja"] :is(.page-head h1, .cus-copy h1) { font-size: clamp(30px, 4.2vw, 64px); max-width: 20em }
html[lang="ja"] .door h3 { font-size: clamp(24px, 2.4vw, 34px) }
html[lang="ja"] .tile h3, html[lang="ja"] .steps h3 { font-size: 19px }
html[lang="ja"] .banner h2 { font-size: clamp(24px, 2.8vw, 40px) }
html[lang="ja"] .tier h3 { font-size: clamp(24px, 2.2vw, 32px) }
html[lang="ja"] .qa summary { font-size: clamp(16px, 1.3vw, 19px) }
html[lang="ja"] .ticker-track span { font-size: clamp(18px, 2vw, 28px) }
html[lang="ja"] .kicker, html[lang="ja"] .dock-label, html[lang="ja"] .badge, html[lang="ja"] .status-pill, html[lang="ja"] .field > label:not(.drop):not(.check), html[lang="ja"] .field legend, html[lang="ja"] .field .label { letter-spacing: .12em }
html[lang="ja"] .lead { line-height: 1.85 }
html[lang="ja"] :is(.lead, .door p, .tile p, .steps p, .cast-info p, .tier .sum, .banner p) { word-break: auto-phrase; text-wrap: pretty }
html[lang="ja"] .onstage h2 { font-size: clamp(28px, 2.4vw, 38px) }
html[lang="ja"] .tier .amount strong.soon, html[lang="ja"] .backstage h3, html[lang="ja"] .result.closed h3 { font-size: clamp(22px, 2vw, 28px) }
html[lang="ja"] .empty { font-size: 22px }
@media (max-width: 760px) {
  html[lang="ja"] .hero h1 { font-size: clamp(28px, 8.2vw, 40px) }
  html[lang="ja"] :is(.page-head h1, .cus-copy h1) { font-size: clamp(28px, 8vw, 40px) }
  html[lang="ja"] .h-l { font-size: clamp(24px, 7vw, 34px) }
  html[lang="ja"] .chip { padding: 0 13px 0 10px; font-size: 13.5px }
}
/* small Japanese headings: the display face gets muddy below ~24px, so they use the gothic body face in bold */
html[lang="ja"] :is(.qa summary, .tile h3, .steps h3, .incl h3, .choice b, .drop strong, .tier li, .buybox .price-big, .how-copy h2, .door h3, .cast-info p, .onstage .kicker) { font-family: var(--sans); font-weight: 700; letter-spacing: .02em }
html[lang="ja"] .qa summary { font-size: clamp(16px, 1.25vw, 18px) }
html[lang="ja"] :is(.door h3, .how-copy h2) { font-family: var(--display); font-weight: 400 }
html[lang="ja"] .tile h3, html[lang="ja"] .steps h3 { font-size: 18px }

/* add-ons under the packages (an extra expression...) */
.addons { display: grid; gap: 12px; max-width: 1000px; margin: 20px auto 0 }
.addon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 24px; border-radius: 20px; border: 1px dashed color-mix(in srgb, var(--a1) 45%, transparent); background: color-mix(in srgb, var(--a1) 6%, transparent) }
.addon-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--a2), var(--a1)); color: #1a0c12; font: 800 22px/1 var(--sans) }
.addon h3 { font-size: 18px; letter-spacing: -.02em }
.addon p { color: var(--muted); font-size: 14.5px; margin-top: 2px }
.addon-price { display: grid; justify-items: end; gap: 2px; margin: 0 !important; white-space: nowrap }
.addon-price strong { font: 600 clamp(22px, 2vw, 28px)/1 var(--display); letter-spacing: -.03em; color: var(--ink) }
.addon-price span { font-size: 13px; color: var(--muted) }
@media (max-width: 599px) { .addon { grid-template-columns: auto 1fr; padding: 16px 18px } .addon-price { grid-column: 2; justify-items: start } }
html[lang="ja"] .addon h3 { font-family: var(--sans); font-weight: 700; letter-spacing: .02em }

/* the sketch side of the before/after: pencil on paper */
.ba-tag.l { background: #2a1d17; color: #f7e8d8; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; letter-spacing: .02em; text-transform: none; padding: 6px 14px }
html[lang="ja"] .ba-tag.l { font-style: normal; font-size: 13px }
.door-2 figure.sketch { background: #f7e8d8 }

/* =========================================================== stream scene: per-character looks (cena.js builds .g-world) */
.g-world { inset: 0; overflow: hidden }
.g-world > * { position: absolute }
.g-hud .hud-icon { display: inline-flex }
.g-hud .hud-icon svg { width: 1.3em; height: 1.3em }
#score { display: inline-block }
#score.pop { animation: scorePop .6s var(--spring) }
@keyframes scorePop { 40% { transform: scale(1.3); color: #ffd99a } }

/* ---- 'vitoriana': a candle-lit point-and-click mystery in a doll-maker's attic */
.scene[data-tipo="vitoriana"] { --gold: #c9a46a; --sepia: #f2e2c8; border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: #120b09;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 30px 90px -50px var(--a1) }
.scene[data-tipo="vitoriana"] .scene-chrome { background: linear-gradient(#2c1b14, #21140f); border-color: rgba(201, 164, 106, .25) }
.scene[data-tipo="vitoriana"] .scene-chrome i { background: #4a3226 }
.scene[data-tipo="vitoriana"] .scene-chrome span { font: italic 500 13px/1 Georgia, 'Times New Roman', serif; color: #b89a78 }
.game[data-tipo="vitoriana"] { background: #1a1210 }
.v-bg { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 62% 48%; animation: vDrift 46s ease-in-out infinite alternate }
@keyframes vDrift { to { transform: scale(1.06) translate(-1%, -.6%) } }
.v-candle { width: 16cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 196, 120, .5), rgba(255, 150, 70, .16) 45%, transparent); animation: flick 2.6s infinite; animation-delay: calc(var(--k) * -.8s) }
@keyframes flick { 0%, 100% { opacity: .85; transform: scale(1) } 18% { opacity: .55 } 32% { opacity: .95; transform: scale(1.06) } 55% { opacity: .7 } 78% { opacity: 1; transform: scale(.96) } }
.v-grade { inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 56% 46%, transparent 45%, rgba(18, 8, 6, .72) 100%), linear-gradient(rgba(70, 36, 22, .06), rgba(28, 12, 9, .38)) }
.v-frame { inset: 1.6%; border-radius: 6px; pointer-events: none; border: 1px solid rgba(201, 164, 106, .55); box-shadow: inset 0 0 0 4px rgba(22, 10, 7, .35), inset 0 0 0 5px rgba(201, 164, 106, .22) }
.v-frame::before, .v-frame::after { content: ""; position: absolute; width: 2.4cqw; aspect-ratio: 1; border: 1px solid rgba(201, 164, 106, .7); transform: rotate(45deg); background: #1c100c }
.v-frame::before { left: -1.2cqw; top: -1.2cqw }
.v-frame::after { right: -1.2cqw; bottom: -1.2cqw }
.v-inv { right: 3.2%; bottom: 5%; z-index: 2; display: flex; gap: .55cqw; padding: .6cqw; border-radius: 8px; background: linear-gradient(rgba(58, 36, 24, .94), rgba(32, 19, 13, .94)); border: 1px solid #b08a5a; box-shadow: 0 6px 20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 230, 190, .18) }
.v-slot { width: 4.4cqw; aspect-ratio: 1; display: grid; place-items: center; border-radius: 5px; border: 1px solid rgba(208, 170, 120, .35); background: rgba(12, 6, 4, .5); color: rgba(240, 220, 190, .28) }
.v-slot.got { color: var(--sepia); background: radial-gradient(rgba(201, 164, 106, .22), rgba(12, 6, 4, .5) 70%) }
.v-slot svg { width: 64%; height: 64% }
.v-cursor { left: var(--x, 50%); top: var(--y, 50%); z-index: 3; width: 0; height: 0; transition: left 1.3s cubic-bezier(.45, 0, .2, 1), top 1.3s cubic-bezier(.45, 0, .2, 1) }
.v-hand { position: absolute; left: -.9cqw; top: -.4cqw; width: 3.1cqw; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)) }
.v-ring { position: absolute; left: -2.4cqw; top: -2.4cqw; width: 4.8cqw; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 216, 160, .9); box-shadow: 0 0 14px rgba(255, 196, 120, .7); opacity: 0 }
.v-cursor.click .v-ring { animation: vRing .9s ease-out }
@keyframes vRing { 0% { opacity: 1; transform: scale(.35) } 100% { opacity: 0; transform: scale(1.45) } }
.v-tip { position: absolute; left: 2.8cqw; top: 2.4cqw; white-space: nowrap; padding: .45em .85em; border-radius: 3px; font: italic 500 clamp(9px, 1.4cqw, 15px)/1.2 Georgia, 'Times New Roman', serif; color: var(--sepia);
  background: rgba(28, 14, 10, .88); border: 1px solid rgba(208, 170, 120, .6); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s }
.v-cursor.click .v-tip { opacity: 1; transform: none }
.v-cursor.flip .v-tip { left: auto; right: 1.4cqw }
.game[data-tipo="vitoriana"] .g-hud { font: italic 600 clamp(10px, 1.6cqw, 16px)/1 Georgia, 'Times New Roman', serif; letter-spacing: .04em; color: var(--sepia); gap: .5em; padding: .45em .8em; border-radius: 4px; background: rgba(28, 14, 10, .78); border: 1px solid rgba(201, 164, 106, .5); text-shadow: none }
.game[data-tipo="vitoriana"] .g-hud .hud-icon { color: #ffcf8a }
.game[data-tipo="vitoriana"] .g-hud b { font-style: normal; font-weight: 700; margin-left: .3em }
.game[data-tipo="vitoriana"] .ov-live { gap: .6em; padding: .4em .7em .4em .45em; border-radius: 4px; background: linear-gradient(#3a1d1a, #22100e); border: 1px solid rgba(201, 164, 106, .6); font: italic 500 clamp(9px, 1.4cqw, 14px)/1 Georgia, 'Times New Roman', serif; color: var(--sepia) }
.game[data-tipo="vitoriana"] .ov-live b { font: 700 clamp(8px, 1.15cqw, 12px)/1 Georgia, 'Times New Roman', serif; letter-spacing: .16em; padding: .35em .55em; border-radius: 3px; background: radial-gradient(circle at 35% 30%, #c0303f, #7a1420); box-shadow: inset 0 0 0 1px rgba(255, 210, 180, .35) }
.game[data-tipo="vitoriana"] .ov-live span { font-family: Georgia, 'Times New Roman', serif; opacity: .85 }
.game[data-tipo="vitoriana"] .ov-title { left: 50%; right: auto; top: 4.4%; bottom: auto; translate: -50% 0; max-width: 46%; text-align: center; padding: .45em 1.2em; border: 1px solid rgba(201, 164, 106, .55); border-radius: 3px;
  background: linear-gradient(rgba(44, 26, 18, .9), rgba(26, 14, 10, .9)); font: italic 500 clamp(9px, 1.45cqw, 15px)/1.2 Georgia, 'Times New Roman', serif; color: var(--sepia); letter-spacing: .02em }
.scene[data-tipo="vitoriana"] .chat { background: linear-gradient(#1f1512, #150d0b); border-color: rgba(201, 164, 106, .25) }
.scene[data-tipo="vitoriana"] .chat header { font: italic 500 15px/1 Georgia, 'Times New Roman', serif; letter-spacing: .06em; text-transform: none; color: #c9a46a; border-color: rgba(201, 164, 106, .2); display: flex; align-items: center; gap: 10px }
.scene[data-tipo="vitoriana"] .chat header::before, .scene[data-tipo="vitoriana"] .chat header::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(201, 164, 106, .5)) }
.scene[data-tipo="vitoriana"] .chat header::after { background: linear-gradient(90deg, rgba(201, 164, 106, .5), transparent) }
.scene[data-tipo="vitoriana"] .chat ol { font: 400 14px/1.45 Georgia, 'Times New Roman', serif; color: #e9d9c3 }
.scene[data-tipo="vitoriana"] .chat-say { font: italic 13px Georgia, 'Times New Roman', serif; color: #8d7563; background: rgba(240, 220, 190, .05); border: 1px solid rgba(201, 164, 106, .2) }
html[lang="ja"] .scene[data-tipo="vitoriana"] :is(.chat ol, .chat header, .chat-say, .v-tip, .ov-title, .g-hud, .ov-live, .scene-chrome span) { font-family: 'Yu Mincho', 'Hiragino Mincho ProN', 'Shippori Mincho B1', Georgia, serif; font-style: normal }
.scene[data-tipo="vitoriana"][data-frame="face"] .slot { aspect-ratio: .8; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #5a3a34, #24130f 75%);
  box-shadow: 0 0 0 3px #c9a46a, 0 0 0 7px #2a1912, 0 0 0 8px rgba(201, 164, 106, .6), 0 14px 34px rgba(0, 0, 0, .65) }
@media (max-width: 899px) {
  .game[data-tipo="vitoriana"] .ov-title { display: none }
  .game[data-tipo="vitoriana"] .v-inv { bottom: 3.5%; gap: .9cqw; padding: 1cqw }
  .game[data-tipo="vitoriana"] .v-slot { width: 7cqw }
  .game[data-tipo="vitoriana"] .v-hand { width: 5.4cqw }
  .game[data-tipo="vitoriana"] .v-ring { width: 8cqw; left: -4cqw; top: -4cqw }
  .game[data-tipo="vitoriana"] .v-tip { font-size: clamp(9px, 2.8cqw, 13px) }
  .scene[data-tipo="vitoriana"] .chat { background: transparent; border: 0; top: 40%; height: 32% }
  .scene[data-tipo="vitoriana"] .chat header { display: none }
  .scene[data-tipo="vitoriana"] .chat ol { font-size: 12px; background: linear-gradient(transparent, rgba(20, 9, 6, .62) 40%) }
}

/* keyboard focus on the slider: a ring around the knob, not around the full-height strip */
.ba-handle:focus-visible { outline: none }
.ba-handle:focus-visible span { outline: 2px solid var(--a1); outline-offset: 4px }

/* =========================================================== trust: notify, usage, how she is made, about, reviews, custom-order safety */
/* notify me when sales open (character page, in the buy box) */
.buybox .notify { justify-self: stretch }
.notify { display: grid; gap: 10px; width: 100%; max-width: 540px }
.notify > label { font: 800 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted) }
.notify-row { display: flex; flex-wrap: wrap; gap: 10px }
.notify input[type=email] { flex: 1 1 230px; min-width: 0; height: 58px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--ink); font: 600 16px var(--sans); transition: border-color .2s, box-shadow .3s, background-color .2s }
.notify input[type=email]::placeholder { color: var(--dim) }
.notify input[type=email]:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a1) 18%, transparent); background: rgba(0, 0, 0, .35) }
.notify input[aria-invalid="true"] { border-color: var(--err) }
.notify .btn { flex: 0 1 auto; white-space: normal; text-align: center; height: auto; min-height: 58px; padding-block: 12px }
.notify .btn[disabled] { opacity: .7; cursor: progress }
.nf-hint { font-size: 13px; color: var(--muted) }
.nf-msg { padding: 13px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2) }
.nf-msg.err { border: 1px solid color-mix(in srgb, var(--err) 50%, transparent); background: color-mix(in srgb, var(--err) 8%, transparent) }
.nf-msg.closed { border: 1px dashed color-mix(in srgb, var(--a1) 55%, transparent); background: color-mix(in srgb, var(--a1) 8%, transparent) }
.nf-ok { padding: 16px 18px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 9%, transparent); color: var(--ink); font-weight: 600 }

/* "Works with" */
.works-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px }
.works-k { font: 800 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dim) }
.works-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font: 700 15px/1 var(--sans); color: var(--ink) }
.works-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok) }
.works-chip.small { padding: 8px 13px; font-size: 13px }

/* usage block: the incl cards in fours and threes; the "try first / no refunds" card stands out */
.incl.four { grid-template-columns: repeat(4, 1fr) }
.incl.three { grid-template-columns: repeat(3, 1fr) }
.incl li.accent { border-style: dashed; border-color: color-mix(in srgb, var(--a1) 50%, transparent); background: color-mix(in srgb, var(--a1) 7%, transparent) }
.incl li p { line-height: 1.5 }
.incl.three li { padding: 28px 26px; gap: 12px }
.incl.three h3 { font-size: 20px }
.incl.three p { font-size: 15px }
.more { margin-top: 28px }
@media (max-width: 1099px) { .incl.four { grid-template-columns: repeat(2, 1fr) } .incl.three { grid-template-columns: 1fr } }
@media (max-width: 499px) { .incl.four { grid-template-columns: 1fr } }

/* terms page */
.terms { display: grid; gap: 16px; max-width: 880px }
.term { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)) }
.term h2 { font-size: clamp(22px, 2.4vw, 32px) }
.term > p { color: var(--ink-2); max-width: 64ch }
.term .checks li { background: rgba(255, 255, 255, .02) }
.term#reembolso { border-style: dashed; border-color: color-mix(in srgb, var(--a1) 45%, transparent); background: color-mix(in srgb, var(--a1) 6%, transparent) }

/* custom order: status and facts, the price note, what you receive */
.estado { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px }
.slot-pill { --c: var(--ok); display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; font: 800 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent) }
.slot-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); animation: rec 1.8s infinite }
.estado[data-vagas="lista"] .slot-pill { --c: var(--warn) }
.estado[data-vagas="fechadas"] .slot-pill { --c: var(--err) }
.estado .fact { font-size: 14px; font-weight: 600; color: var(--ink-2) }
.estado .chip-fact { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: 13px }
.steps.five li { padding: 28px 22px 26px }
.steps.five p { font-size: 15px }
@media (min-width: 641px) and (max-width: 1099px) { .steps.five li:last-child { grid-column: 1 / -1 } }
.why { display: grid; gap: 10px; max-width: 1000px; margin: 28px auto 0; padding: 24px 28px; border-radius: 20px; border: 1px solid var(--line); border-left: 3px solid var(--a1); background: color-mix(in srgb, var(--a1) 6%, transparent) }
.why h3 { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.02em; line-height: 1.2 }
.why p { color: var(--ink-2); font-size: 15.5px; max-width: 78ch }
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px }
@media (max-width: 899px) { .checks.two { grid-template-columns: 1fr } }
.order-closed { display: grid; gap: 10px; padding: 26px; border-radius: 18px; border: 1px dashed color-mix(in srgb, var(--a1) 55%, transparent); background: color-mix(in srgb, var(--a1) 8%, transparent) }
.order-closed h3 { font: italic 400 clamp(26px, 3vw, 34px)/1.05 var(--serif); color: var(--a1) }
.order-closed p { color: var(--ink-2) }

/* about + works with */
.about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px }
.about-card, .works-card { display: flex; gap: 22px; align-items: flex-start; padding: clamp(24px, 3vw, 40px); border-radius: 26px; border: 1px solid var(--line-2); background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--a1) 14%, transparent), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)) }
.about-card > div { display: grid; gap: 14px; min-width: 0 }
.about-card p { color: var(--ink-2); max-width: 58ch }
.about-card .h-m { font-size: clamp(24px, 2.6vw, 36px) }
.about-name { font: 700 14px/1.2 var(--sans); color: var(--a1) }
.about-pic { flex: none; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--a1) 22%, transparent), color-mix(in srgb, var(--deep) 85%, #000)) }
.about-pic img { width: 100%; height: 100%; object-fit: cover }
.about-pic .mark { width: 52px; height: 52px; overflow: visible }
.works-card { flex-direction: column; gap: 16px }
.works-item { display: grid; gap: 12px; justify-items: start }
.works-item p { color: var(--ink-2); font-size: 15px; max-width: 46ch }
@media (max-width: 899px) { .about { grid-template-columns: 1fr } }
@media (max-width: 479px) { .about-card { flex-direction: column; gap: 16px } }

/* reviews: they exist in the page only once dados.js has some */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px }
.review { margin: 0; display: grid; gap: 16px; align-content: space-between; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025) }
.review blockquote { margin: 0; font: italic 400 clamp(21px, 1.9vw, 26px)/1.28 var(--serif); color: var(--ink) }
.review figcaption { font: 700 13.5px/1.2 var(--sans); color: var(--muted) }
.review figcaption a { color: var(--a1) }

/* how she is made: her real layers, together and taken apart */
.made { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center }
.xv-fig { display: grid; gap: 22px; justify-items: center; min-width: 0 }
.xv-box { position: relative; width: 100%; min-width: 0; padding: 4% 8% 4% 4%; border-radius: 28px; background: radial-gradient(70% 55% at 50% 40%, color-mix(in srgb, var(--a1) 16%, transparent), transparent 75%) }
.xv { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1240 / 1480; perspective: 1700px; perspective-origin: 50% 40% }
.xv-stack { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.3s var(--out) }
.xv.open .xv-stack { transform: rotateX(7deg) rotateY(-36deg) translateX(8%) }
.xv-pane { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.3s var(--out), opacity .35s }
.xv.open .xv-pane { transform: translateZ(calc(var(--z) * var(--gap, 74px))) }
.xv-pane::before { content: ""; position: absolute; inset: 0; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--a1) 50%, transparent); background: color-mix(in srgb, var(--a1) 4%, transparent); opacity: 0; transition: opacity .8s var(--out) }
.xv.open .xv-pane::before { opacity: 1 }
.xv-pane img { position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none }
.xv[data-hot]:not([data-hot=""]) .xv-pane:not(.hot) { opacity: .22 }
.xv-pane.hot::before { border-color: var(--a1); background: color-mix(in srgb, var(--a1) 12%, transparent) }
.xv-side { display: grid; gap: 16px; justify-items: center; width: 100% }
.xv-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px }
.xv-legend li { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font: 700 13.5px/1.2 var(--sans); color: var(--ink-2); cursor: default; transition: border-color .25s, color .25s, background-color .25s }
.xv-legend li i { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--a2), var(--a1)); flex: none }
.xv-legend li:hover, .xv-legend li:focus-visible { color: var(--ink); border-color: color-mix(in srgb, var(--a1) 55%, transparent); background: color-mix(in srgb, var(--a1) 10%, transparent) }
.made-steps { --cols: 1 !important; gap: 14px }
.made-steps li { padding: 22px 24px 22px 112px; gap: 6px }
.made-steps li::before { position: absolute; left: 22px; top: 22px; margin: 0; font-size: 40px }
.made-steps h3 { font-size: 19px }
.made-steps p { font-size: 15px }
@media (max-width: 1099px) { .made { grid-template-columns: 1fr } }
@media (max-width: 599px) { .made-steps li { padding: 20px 18px 20px 92px } .made-steps li::before { left: 16px; font-size: 34px } .xv-box { padding: 3% 3% 3% 0 } }

/* Japanese: small headings of the new blocks use the gothic face like the others */
html[lang="ja"] :is(.why h3, .term h2, .order-closed h3) { font-family: var(--sans); font-weight: 700; letter-spacing: .02em; line-height: 1.4 }
html[lang="ja"] :is(.incl.three h3, .xv-legend li, .works-chip, .slot-pill, .nf-msg, .notify > label) { letter-spacing: .04em }
html[lang="ja"] :is(.why p, .term > p, .about-card p, .works-item p, .estado .fact, .incl li p, .checks li, .made-steps p) { word-break: auto-phrase; text-wrap: pretty }
html[lang="ja"] .made-steps h3 { font-size: 18px }
.incl { margin: 0; padding: 0 }
/* phone width: a smaller, less tilted stack so every sheet stays inside the screen */
@media (max-width: 599px) {
  .xv { width: min(100%, 270px); --gap: 34px }
  .xv.open .xv-stack { transform: rotateX(6deg) rotateY(-30deg) translateX(4%) }
}
.about-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.12em; line-height: .9; background: linear-gradient(100deg, var(--a1), var(--a2) 60%, var(--a1)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em }
html[lang="ja"] .about-card .h-m { font-family: var(--sans); font-weight: 700; letter-spacing: .02em; line-height: 1.4 }
html[lang="ja"] .about-card h3 em { font-size: 1em; line-height: 1.4; letter-spacing: .02em }
/* custom order on phones: the status row sits between the intro and the buttons (the copy column is flattened there) */
@media (max-width: 899px) { .cus-copy .estado { order: 5 } .cus-copy .ctas { order: 6 } }

/* the OBS recording (How to use and the Doll's page) */
.clip-sec { padding-bottom: clamp(30px, 4vw, 56px) }
.clip { margin: 0 auto; max-width: 1040px; display: grid; gap: 14px }
.clip-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: #0d0a14; box-shadow: 0 50px 120px -60px var(--a1) }
.clip-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block }
.clip-tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font: 800 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: rgba(10, 8, 16, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none }
.clip-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff2e55; animation: rec 1.8s infinite }
.clip figcaption { font-size: 13.5px; color: var(--muted); max-width: 72ch }
.how-copy .tags-row { display: flex; flex-wrap: wrap; gap: 8px }
.tagt.adv { background: color-mix(in srgb, var(--a2) 16%, transparent); color: var(--a2) }
html[lang="ja"] .clip-tag { letter-spacing: .06em }
@media (max-width: 599px) { .clip-frame { border-radius: 18px } .clip-tag { left: 10px; top: 10px; padding: 7px 10px } }
.vis-frame .win-body img { left: 0; bottom: 0; top: 0; width: 100%; height: 100%; translate: none; object-fit: cover; filter: none }
.vis-url .win-body { display: grid; align-content: center; gap: 14px; padding: 20px; background: #14111b }
.vis-url .row { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px }
.vis-url .row b { font: 700 12px/1.2 var(--sans); color: var(--muted) }
.vis-url .box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, .04) }
.vis-url code { display: block; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); font: 600 11.5px/1.45 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--ink-2); overflow-wrap: anywhere }
html[lang="ja"] .vis-url .row b { font-family: var(--sans) }
@media (max-width: 599px) { .vis-url .row { grid-template-columns: 1fr; gap: 6px } }

/* ---- phones and touch screens: comfortable targets, and no text under 12 px */
@media (max-width: 760px), (hover: none) {
  .swatch { width: 44px; height: 44px }
  .dock-label, .badge, .clip-tag, .onstage .kicker, .notify > label, .door-2 figcaption, .foot-col h4,
  .field > label:not(.drop):not(.check), .field legend, .field .label { font-size: 12px }
  .onstage .kicker { font-size: 12px }
}

/* =========================================================== home: the custom order leads (the offer, the proof, the second product) */
.home-hero .cus-copy { gap: 22px }
.home-hero .cus-copy h1 { font-size: clamp(36px, 4.6vw, 74px); line-height: 1 }
.home-hero .cus-copy h1 em { display: block; margin-top: .04em; font-size: 1.04em; letter-spacing: -.025em }
.home-hero .lead { max-width: 48ch }
.hero-price { justify-self: start; display: grid; gap: 7px; padding: 16px 22px 16px 20px; border-radius: 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--a1);
  background: linear-gradient(180deg, color-mix(in srgb, var(--a1) 9%, transparent), rgba(255, 255, 255, .02)) }
.hero-price strong { font: 600 clamp(28px, 3vw, 42px)/1 var(--display); letter-spacing: -.04em }
.hero-price span { font-size: 14px; color: var(--ink-2); line-height: 1.45 }
.hero-risk { display: flex; gap: 12px; align-items: flex-start; max-width: 54ch; font-size: 14.5px; line-height: 1.5; color: var(--ink-2) }
.hero-risk svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--ok) }
.home-hero .hero-ba { width: min(100%, calc(66svh * .93)); justify-self: center }
.home-hero .ba { aspect-ratio: 4 / 4.3 }
.proof { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center }
.proof-main { display: grid; gap: 18px; min-width: 0 }
.proof-pick { max-width: 100%; flex-wrap: wrap; justify-self: start }
.proof .clip { max-width: none; margin: 0 }
.proof-side { display: grid; gap: 14px; min-width: 0 }
.proof-side .more { margin: 0 }
.clips { display: grid; gap: clamp(24px, 3vw, 40px); max-width: 1040px; margin: 0 auto }
.clips .clip { width: 100% }
.clips .clip-obs { max-width: 760px; margin: 0 }
/* a demonstration we staged is not a recording: no red "recording" dot on its label */
.clip:not(.clip-obs) .clip-tag::before { background: var(--a1); animation: none }
@media (max-width: 899px) {
  .home-hero .cus-copy .live-pill { order: 1 } .home-hero .cus-copy h1 { order: 2 } .home-hero .cus-copy .lead { order: 3 } .home-hero .cus-copy .hero-price { order: 4 }
  .home-hero .cus-copy .ctas { order: 5 } .home-hero .cus-in > .hero-ba { order: 6 } .home-hero .cus-copy .hero-risk { order: 7 }
  .home-hero .cus-copy h1 { font-size: clamp(34px, 9.4vw, 52px) }
  .home-hero .hero-ba { width: 100%; max-width: 520px }
  .home-hero .ba { aspect-ratio: 4 / 4.2 }
  .home-hero .ba-under .dock { display: none }
  .home-hero .lead { font-size: 16px }
  .home-hero .ctas .btn { flex: 1 1 auto }
  .hero-price { justify-self: stretch }
  .proof { grid-template-columns: 1fr }
}
@media (max-width: 480px) { .btn-second { padding: 0 20px } .proof-pick button { padding: 0 12px; font-size: 13.5px } }

/* ================= the customer's page (conta.html) and the owner page (atendimento.html): chat, order state ================= */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.mine-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); transition: color .2s, background-color .2s, border-color .2s }
.mine-btn svg { width: 21px; height: 21px }
.mine-btn:hover, .mine-btn[aria-current="page"] { color: var(--ink); border-color: color-mix(in srgb, var(--a1) 55%, transparent); background: color-mix(in srgb, var(--a1) 10%, transparent) }
.foot-chat { justify-self: start }
.conta-head h1 { max-width: 22ch; overflow-wrap: anywhere }
.conta { padding-bottom: clamp(70px, 9vw, 120px); display: grid; gap: 28px }
.conta-state { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-weight: 600; min-height: 120px }
.wait { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--a1); animation: spin .9s linear infinite; flex: none }
@keyframes spin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .wait { animation-duration: 3s } }
.conta-box { max-width: 720px; display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)) }
.conta-box h2 { font-size: clamp(24px, 3vw, 34px) }
.conta-box p { color: var(--ink-2) }
.conta-box .btn { justify-self: start }
.conta-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; align-items: start }
.conta-side { display: grid; gap: 18px; min-width: 0 }
.conta-card { display: grid; gap: 16px; padding: 22px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); min-width: 0 }
.conta-card h2 { font-size: 20px; letter-spacing: -.02em }
.conta-card p { color: var(--ink-2); font-size: 15px; line-height: 1.5 }
.conta-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px }
.conta-key { border-style: dashed; border-color: color-mix(in srgb, var(--a1) 40%, transparent) }
.conta-key p { font-size: 14px }
.key-row { display: flex; gap: 8px; min-width: 0 }
.key-row input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--ink-2); font: 600 13px ui-monospace, Consolas, monospace }
.key-row input:focus { outline: 2px solid var(--a1); outline-offset: 1px }
.st-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 800 12px/1 var(--sans); letter-spacing: .04em; color: var(--ink); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05) }
.st-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--a1) }
.st-pill.st-producao::before, .st-pill.st-aguardando::before { background: var(--warn) }
.st-pill.st-entregue::before { background: var(--ok) }
.st-pill.st-recusado::before, .st-pill.st-cancelado::before { background: var(--err) }
.etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: e }
.etapas li { position: relative; padding: 6px 0 6px 34px; font-size: 14.5px; font-weight: 600; color: var(--dim); counter-increment: e }
.etapas li::before { content: counter(e); position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 11.5px/1 var(--sans); border: 1px solid var(--line-2); color: var(--muted) }
.etapas li.feito { color: var(--ink-2) }
.etapas li.feito::before { content: "✓"; background: color-mix(in srgb, var(--ok) 20%, transparent); border-color: color-mix(in srgb, var(--ok) 50%, transparent); color: var(--ok) }
.etapas li.agora { color: var(--ink) }
.etapas li.agora::before { background: linear-gradient(120deg, var(--a2), var(--a1)); border-color: transparent; color: #160b12 }
.prog-box { display: grid; gap: 8px }
.prog-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); font-weight: 700 }
.prog-top b { color: var(--ink) }
.prog { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden }
.prog i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--a2), var(--a1)); transition: width .6s var(--out) }
.prog-mark { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .5) }
.pay-box { display: grid; gap: 8px }
.pay-btn { width: 100%; white-space: normal; text-align: center; height: auto; min-height: var(--h); padding-top: 12px; padding-bottom: 12px; line-height: 1.25 }
.paid-line { color: var(--ok) !important; font-weight: 700 }
.regra { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line) }
.btn-quiet { justify-self: start; color: var(--ink-2); border-color: color-mix(in srgb, var(--err) 45%, transparent) }
.btn-quiet:hover { color: var(--ink); border-color: var(--err) !important }
.ped-dl { display: grid; gap: 4px; margin: 0 }
.ped-dl dt { margin-top: 8px; font: 800 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted) }
.ped-dl dd { margin: 0; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere }
.pre { white-space: pre-wrap }
.entrega h3 { font-size: 15px; margin-bottom: 8px }
.buy-name { display: flex; justify-content: space-between; gap: 10px; font-size: 16px }
.buy-name b { font: 600 18px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink) }
.conta-outras { display: grid; gap: 12px; max-width: 720px }
.conta-outras h2 { font-size: 16px; color: var(--muted); font-family: var(--sans); font-weight: 800; letter-spacing: .04em }
.conta-outras ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.conta-outras a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 48px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03) }
.conta-outras a span { color: var(--muted); font-size: 14px; flex: 1 1 auto }
.conta-outras a i { font-style: normal; color: var(--a1); font-weight: 700; font-size: 14px }
.conta-outras a:hover { border-color: color-mix(in srgb, var(--a1) 50%, transparent) }

/* the conversation: a fixed-height scroller, so arriving messages never move the page */
.talk { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-width: 0; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(8, 6, 14, .55); overflow: hidden }
.chat-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--line) }
.chat-head h2 { font-size: 18px; letter-spacing: -.02em }
.chat-net { font-size: 13px; font-weight: 700; color: var(--warn) }
.chat-scroll { height: clamp(340px, 58vh, 620px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; scroll-behavior: auto }
.chat-scroll:focus-visible { outline-offset: -3px }
.chat-empty { margin: 30px auto; max-width: 34ch; text-align: center; color: var(--muted); font-size: 15px }
.chat-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px }
.msg-it { display: grid; gap: 5px; max-width: min(86%, 560px); min-width: 0 }
.msg-it.eu { justify-self: end; justify-items: end }
.msg-meta { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; color: var(--muted) }
.msg-meta b { color: var(--ink-2); font-weight: 800 }
.msg-b { display: grid; gap: 8px; padding: 11px 14px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); min-width: 0 }
.msg-it.eu .msg-b { background: color-mix(in srgb, var(--a1) 16%, rgba(20, 14, 26, .9)); border-color: color-mix(in srgb, var(--a1) 30%, transparent); border-bottom-right-radius: 6px }
.msg-it.outro .msg-b { border-bottom-left-radius: 6px }
.msg-t { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.5; color: var(--ink) }
.msg-t a { color: var(--a3); text-decoration: underline; text-underline-offset: 2px }
.msg-it.sis { justify-self: center; justify-items: center; max-width: 92%; text-align: center }
.msg-sis { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .04); border: 1px dashed var(--line-2) }
.msg-it time { font-size: 12px; color: var(--dim) }
.msg-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0 }
.f-it { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 12px 6px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--ink); font: inherit; text-align: left; cursor: pointer; min-width: 0 }
.f-it:hover { border-color: color-mix(in srgb, var(--a1) 55%, transparent) }
.f-it.pend { cursor: default; opacity: .7; padding-left: 12px }
.f-it.bad { border-color: var(--err) }
.f-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: color-mix(in srgb, var(--a1) 18%, transparent); color: var(--a1); font-weight: 800; flex: none }
.f-info { display: grid; min-width: 0 }
.f-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.f-info small { font-size: 12px; color: var(--muted) }
.chat-new { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); z-index: 2; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: linear-gradient(120deg, var(--a2), var(--a1)); color: #160b12; font: 800 13px/1 var(--sans); cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .8) }
.chat-form { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02) }
.chat-form textarea { width: 100%; min-height: 52px; max-height: 200px; resize: vertical; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--ink); font: 500 16px/1.45 var(--sans) }
.chat-form textarea:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a1) 18%, transparent) }
.chat-row { display: flex; align-items: center; gap: 8px }
.chat-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ink-2); cursor: pointer }
.chat-ic:hover { color: var(--ink); border-color: color-mix(in srgb, var(--a1) 55%, transparent) }
.chat-ic svg { width: 20px; height: 20px }
.chat-hint { flex: 1 1 auto; min-width: 0; font-size: 12.5px; color: var(--dim) }
.chat-hint.over { color: var(--err); font-weight: 700 }
.chat-row .btn { --h: 44px; flex: none; margin-left: auto }
.chat-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px }
.chat-chips:empty { display: none }
.att { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 4px 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); font-size: 13px; min-width: 0 }
.att span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
.att-p { color: var(--a1); font-weight: 700 }
.att-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--ink); cursor: pointer; font-size: 18px; line-height: 1; flex: none }
@media (max-width: 899px) {
  .conta-grid { grid-template-columns: minmax(0, 1fr) }
  .chat-scroll { height: clamp(320px, 62vh, 560px) }
}
@media (max-width: 480px) {
  .conta-card { padding: 18px 16px }
  .chat-scroll { padding: 14px 10px }
  .msg-it { max-width: 94% }
  .chat-hint { display: none }
  .key-row { flex-wrap: wrap } .key-row .btn { flex: 1 1 auto }
}

/* the owner page */
.at-body { min-height: 100vh; min-height: 100dvh }
.at-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: rgba(10, 8, 16, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px) }
.at-top h1 { font: 600 18px/1 var(--display); letter-spacing: -.03em; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.at-top .langs { --lw: 40px; --lh: 32px }
.at-login { max-width: 460px; margin: 10vh auto; padding: 0 16px }
.at-main { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); min-height: calc(100dvh - 64px) }
.at-list { border-right: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr; min-width: 0 }
.at-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px }
.at-filters button { height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--muted); font: 700 13px/1 var(--sans); cursor: pointer }
.at-filters button[aria-pressed="true"] { color: #160b12; border-color: transparent; background: linear-gradient(120deg, var(--a2), var(--a1)) }
.at-usage { padding: 0 14px 10px; font-size: 12px; color: var(--dim) }
.at-convs { list-style: none; margin: 0; padding: 0 8px 20px; overflow-y: auto; max-height: calc(100dvh - 170px) }
.at-convs button { display: grid; gap: 4px; width: 100%; padding: 12px; margin-bottom: 4px; border-radius: 14px; border: 1px solid transparent; background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; min-width: 0 }
.at-convs button:hover { background: rgba(255, 255, 255, .04) }
.at-convs button[aria-current="true"] { background: rgba(255, 255, 255, .07); border-color: var(--line-2) }
.at-conv-top { display: flex; align-items: center; gap: 8px; min-width: 0 }
.at-conv-top b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px }
.at-conv-top small { color: var(--dim); font-size: 12px; flex: none }
.at-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--a1); color: #160b12; font: 800 12px/1 var(--sans); flex: none }
.at-conv-sub { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); min-width: 0 }
.at-conv-sub span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
.at-tag { flex: none; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-weight: 700 }
.at-thread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 16px; padding: 16px; align-items: start; min-width: 0 }
.at-thread .chat-scroll { height: calc(100dvh - 330px); min-height: 300px }
.at-tools { display: grid; gap: 14px; min-width: 0 }
.at-tools .conta-card { gap: 10px; padding: 16px }
.at-tools label, .at-tools .lbl { font: 800 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.at-tools input, .at-tools select, .at-tools textarea { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--ink); font: 600 15px var(--sans) }
.at-tools textarea { height: 110px; padding: 10px 12px; resize: vertical; line-height: 1.45 }
.at-tools input:focus, .at-tools select:focus, .at-tools textarea:focus { outline: none; border-color: var(--a1) }
.at-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.at-row > input { flex: 1 1 120px }
.at-ok { font-size: 13px; font-weight: 700; color: var(--ok) }
.at-err { font-size: 13px; font-weight: 700; color: var(--err) }
.at-empty { padding: 40px 20px; color: var(--muted); text-align: center }
.at-back { display: none }
.at-info { font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere }
.at-info a { color: var(--a3); text-decoration: underline }
.at-notify { padding: 16px; display: grid; gap: 12px; align-content: start }
.at-notify ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere }
@media (max-width: 1099px) { .at-thread { grid-template-columns: minmax(0, 1fr) } .at-thread .chat-scroll { height: clamp(320px, 60vh, 560px) } }
@media (max-width: 760px) {
  .at-main { grid-template-columns: minmax(0, 1fr) }
  .at-main.aberta .at-list { display: none }
  .at-main:not(.aberta) .at-pane { display: none }
  .at-back { display: inline-flex }
  .at-thread { padding: 10px }
  .at-convs { max-height: none }
}
.at-som { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer }
.at-som input { width: 18px; height: 18px; accent-color: var(--a1) }
@media (max-width: 760px) { .at-som span { display: none } .at-top { flex-wrap: wrap } }
