:root {
  --ink: #0b0706;
  --ink-2: #140d0b;
  --card: rgba(255, 240, 225, 0.045);
  --card-hi: rgba(255, 240, 225, 0.08);
  --line: rgba(255, 230, 210, 0.1);
  --text: #fbf3ea;
  --mute: #b9a99b;
  --dim: #7d6e63;
  --neon: #ff3d6e;
  --neon-soft: #ff7a9c;
  --gold: #ffd84d;
  --gold-deep: #e6a817;
  --ok: #4ade80;
  --warn: #ffb547;
  --r: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--ink); color: var(--text); }
body { font: 500 16px/1.45 Inter, system-ui, sans-serif; min-height: 100dvh; overflow-x: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- the room: spotlight, brick, grain ---------- */
.room { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.spot {
  position: absolute; left: 50%; top: -30vh; width: 160vw; height: 150vh; transform: translateX(-50%);
  background:
    radial-gradient(ellipse 38% 46% at 50% 38%, rgba(255, 214, 160, 0.26), rgba(255, 190, 120, 0.10) 45%, transparent 70%),
    conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255, 220, 170, 0.06) 172deg, rgba(255, 220, 170, 0.10) 180deg, rgba(255, 220, 170, 0.06) 188deg, transparent 200deg);
  animation: sway 14s ease-in-out infinite alternate;
  filter: blur(2px);
}
@keyframes sway { from { transform: translateX(-53%) rotate(-2deg); } to { transform: translateX(-47%) rotate(2deg); } }
.brick {
  position: absolute; inset: 40% 0 0 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, transparent 35%, transparent 70%, var(--ink) 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.55) 0 3px, transparent 3px 46px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 3px, transparent 3px 96px),
    linear-gradient(180deg, #2a140f, #1a0c09);
  opacity: .55;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 60%, #000, transparent 80%);
}
.brick::after { /* stagger every other course */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 46px, transparent 46px 92px),
              repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 3px, transparent 3px 96px);
  background-position: 48px 46px; opacity: .5;
  mask-image: repeating-linear-gradient(0deg, transparent 0 46px, #000 46px 92px);
}
.grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .9  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; opacity: .9;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-2%)} 60%{transform:translate(-2%,-4%)} 80%{transform:translate(4%,2%)} 100%{transform:translate(0,0)} }

main { width: 100%; max-width: 560px; margin: 0 auto; padding: calc(18px + var(--safe-t)) 18px calc(40px + var(--safe-b)); }

/* ---------- neon sign ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.neon {
  font-family: Neonderthaw, cursive; font-size: 52px; line-height: 1; color: #ffe3ec; letter-spacing: .5px;
  text-shadow: 0 0 2px #fff, 0 0 8px var(--neon), 0 0 18px var(--neon), 0 0 36px var(--neon), 0 0 70px rgba(255, 61, 110, .6);
  animation: flicker 7s infinite; user-select: none; padding-right: 6px;
}
.neon b { font-weight: 400; color: #fff7d6; text-shadow: 0 0 2px #fff, 0 0 8px var(--gold), 0 0 20px var(--gold-deep), 0 0 40px var(--gold-deep); }
@keyframes flicker { 0%, 19%, 21%, 23%, 62%, 64%, 100% { opacity: 1; } 20%, 22%, 63% { opacity: .55; } }
.who { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 14px; }
.who .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px Inter; color: var(--ink);
  background: linear-gradient(140deg, var(--gold), #ff9f43); box-shadow: 0 0 0 2px rgba(255,216,77,.25); }

/* ---------- marquee (the upload hero) ---------- */
.marquee {
  position: relative; margin: 18px 0 28px; padding: 30px 22px 26px; border-radius: 28px; text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 210, 140, .16), transparent 60%),
    linear-gradient(180deg, #2a1712, #160c09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px -20px rgba(255, 120, 60, .25), 0 0 0 1px rgba(255, 200, 140, .14);
  overflow: hidden; isolation: isolate;
}
.marquee .bulbs { position: absolute; inset: 9px; border-radius: 21px; pointer-events: none; z-index: -1; }
.marquee .bulbs::before, .marquee .bulbs::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 6px;
  background: repeating-conic-gradient(from 0deg, transparent 0 2deg, transparent 2deg 4deg);
}
.bulbrow { position: absolute; left: 18px; right: 18px; height: 10px; display: flex; justify-content: space-between; }
.bulbrow.t { top: 10px; } .bulbrow.b { bottom: 10px; }
.bulbcol { position: absolute; top: 26px; bottom: 26px; width: 10px; display: flex; flex-direction: column; justify-content: space-between; }
.bulbcol.l { left: 10px; } .bulbcol.r { right: 10px; }
.bulb { width: 8px; height: 8px; border-radius: 50%; background: #ffe9a8; box-shadow: 0 0 6px #ffd84d, 0 0 14px rgba(255, 190, 60, .8);
  animation: chase 1.6s infinite; animation-delay: calc(var(--i) * -0.2s); }
@keyframes chase { 0%, 100% { opacity: 1; } 50% { opacity: .18; box-shadow: none; } }
.marquee .kicker { font: 700 12px Inter; letter-spacing: .32em; color: var(--gold); text-transform: uppercase; opacity: .9; }
.marquee h1 { font: 400 clamp(46px, 13vw, 66px)/.92 Anton, Impact, sans-serif; letter-spacing: .01em; margin: 10px 0 8px; text-transform: uppercase;
  background: linear-gradient(180deg, #fff9ee 30%, #ffcf8a); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255, 170, 90, .35)); }
.marquee p { color: var(--mute); margin: 0 auto 22px; max-width: 30ch; }
.drop {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 340px; height: 74px;
  border-radius: 999px; font: 800 20px Inter; letter-spacing: .01em; color: #1a0b05;
  background: linear-gradient(180deg, #ffe680, var(--gold) 45%, #f4b522);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -3px 0 rgba(150, 80, 0, .35) inset, 0 16px 40px -8px rgba(255, 196, 40, .6), 0 0 0 6px rgba(255, 216, 77, .1);
  transition: transform .15s ease, box-shadow .2s;
}
.drop:active { transform: scale(.97); }
.drop::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(255, 216, 77, .5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.96); opacity: .9; } to { transform: scale(1.12); opacity: 0; } }
.drop svg { width: 28px; height: 28px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* ---------- sections ---------- */
h2.sec { font: 400 26px/1 Anton, sans-serif; letter-spacing: .02em; text-transform: uppercase; margin: 6px 2px 14px; display: flex; align-items: center; gap: 10px; }
h2.sec::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.empty { color: var(--dim); text-align: center; padding: 18px; font-size: 15px; }

.show {
  display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; padding: 12px; margin-bottom: 12px;
  border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: background .2s;
}
.show:active { background: var(--card-hi); }
.show .cov { width: 74px; height: 104px; border-radius: 14px; background: #1d1310 center/cover; position: relative; overflow: hidden;
  box-shadow: 0 10px 24px -10px #000; }
.show .cov.wait { background: radial-gradient(circle at 50% 30%, rgba(255,216,77,.25), transparent 60%), #1d1310; }
.show .cov.wait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%); animation: shimmer 1.6s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.show h3 { margin: 0 0 4px; font: 700 17px/1.25 Inter; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.show .meta { color: var(--mute); font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 12px Inter; letter-spacing: .02em; }
.pill.ok { background: rgba(74, 222, 128, .12); color: #86efac; }
.pill.go { background: rgba(255, 216, 77, .12); color: var(--gold); }
.pill.bad { background: rgba(255, 61, 110, .14); color: #ff8fab; }
.pill.go::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: chase 1.2s infinite; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ff9f43, var(--gold)); box-shadow: 0 0 12px rgba(255, 200, 60, .7); transition: width .6s ease; }

/* ---------- show page ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); font-weight: 600; padding: 8px 0; text-decoration: none; }
.title-xl { font: 400 38px/1 Anton, sans-serif; text-transform: uppercase; margin: 8px 0 6px; letter-spacing: .01em; word-break: break-word; }
.stages { list-style: none; padding: 18px; margin: 18px 0 24px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.stages li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; padding: 9px 0; color: var(--dim); font-weight: 600; }
.stages li .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); font-size: 13px; }
.stages li.done { color: var(--mute); } .stages li.done .dot { background: var(--ok); color: #052; box-shadow: none; }
.stages li.now { color: var(--text); } .stages li.now .dot { box-shadow: inset 0 0 0 2px var(--gold); }
.stages li.now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: chase 1s infinite; }
.stages .msg { grid-column: 2; font-size: 14px; font-weight: 500; color: var(--mute); margin-top: -4px; }
.note { padding: 14px 16px; border-radius: 16px; background: rgba(255, 216, 77, .07); box-shadow: inset 0 0 0 1px rgba(255, 216, 77, .18); color: #f3e3b5; font-size: 15px; }
.note.bad { background: rgba(255, 61, 110, .08); box-shadow: inset 0 0 0 1px rgba(255, 61, 110, .25); color: #ffc2d1; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clip { position: relative; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; background: #1a110e center/cover; text-align: left;
  box-shadow: 0 18px 40px -16px #000, inset 0 0 0 1px rgba(255,255,255,.06); animation: rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.clip::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 50%, rgba(0,0,0,.88)); }
.clip .rank { position: absolute; top: 10px; left: 10px; font: 400 22px/1 Anton; padding: 6px 10px 5px; border-radius: 10px; color: #1a0b05;
  background: linear-gradient(180deg, #fff1a8, var(--gold)); box-shadow: 0 6px 16px -4px rgba(255, 200, 40, .6); }
.clip .rank.top::after { content: " BIGGEST LAUGH"; font: 800 10px Inter; letter-spacing: .08em; vertical-align: 3px; }
.clip .info { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.clip .info b { display: block; font: 800 15px/1.2 Inter; text-shadow: 0 2px 8px #000; margin-bottom: 6px; }
.clip .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.clip .tags span { font: 700 11px Inter; padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); color: var(--text); }
.clip .tags .chk { color: var(--warn); }
.clip .tags .good { color: #86efac; }
.laughs { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-right: 2px; vertical-align: -1px; }
.laughs i { width: 3px; border-radius: 2px; background: var(--gold); }

/* ---------- full-screen sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 20; background: #050303; display: flex; flex-direction: column; animation: up .28s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.frame { position: relative; height: 100%; max-height: 100%; aspect-ratio: 9/16; max-width: 100vw; container-type: size; }
.frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.x { position: absolute; top: calc(12px + var(--safe-t)); right: 12px; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.55); backdrop-filter: blur(10px); display: grid; place-items: center; font-size: 22px; }
.tap { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.tap .play { width: 84px; height: 84px; border-radius: 50%; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); display: grid; place-items: center; }

/* live captions: geometry mirrors the burned-in ASS styles (1080x1920) */
.cap { position: absolute; left: 6.5%; right: 6.5%; bottom: 29.2cqh; text-align: center; z-index: 1; pointer-events: none;
  font: 900 4.58cqh/1.12 Montserrat, sans-serif; text-transform: uppercase; color: #fff; letter-spacing: .02em;
  -webkit-text-stroke: .36cqh #000; paint-order: stroke fill; text-shadow: .2cqh .2cqh 0 rgba(0,0,0,.6); }
.cap .on { color: var(--gold); display: inline-block; animation: pop .09s ease-out; }
@keyframes pop { from { transform: scale(1.1); } }
.hook { position: absolute; left: 5.5%; right: 5.5%; top: 13cqh; text-align: center; z-index: 1; pointer-events: none;
  font: 900 4.17cqh/1.12 Montserrat, sans-serif; text-transform: uppercase; color: #fff;
  -webkit-text-stroke: .31cqh #000; paint-order: stroke fill; transition: opacity .22s; }
.hook em { font-style: normal; color: var(--gold); }
.handle { position: absolute; top: 6.25cqh; left: 50%; transform: translateX(-50%); z-index: 1; pointer-events: none;
  font: 600 2.08cqh Montserrat, sans-serif; padding: .4cqh 1.2cqh; background: rgba(0,0,0,.6); border-radius: .6cqh; white-space: nowrap; }

.dock { padding: 14px 16px calc(14px + var(--safe-b)); background: linear-gradient(180deg, rgba(5,3,3,0), #050303 30%); display: grid; gap: 10px; }
.dock .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { height: 56px; border-radius: 18px; font: 800 16px Inter; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--card-hi); box-shadow: inset 0 0 0 1px var(--line); transition: transform .12s; }
.btn:active { transform: scale(.97); }
.btn.gold { color: #1a0b05; background: linear-gradient(180deg, #ffe680, var(--gold) 50%, #f4b522); box-shadow: 0 10px 30px -10px rgba(255, 196, 40, .7); }
.btn.warn { color: #241400; background: linear-gradient(180deg, #ffd48a, var(--warn)); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 22px; height: 22px; }
.sub { text-align: center; color: var(--mute); font-size: 13px; }

/* ---------- caption check ---------- */
.check { display: flex; flex-direction: column; height: 100%; }
.check .stage { flex: 0 0 auto; height: 46dvh; }
.words { flex: 1; overflow-y: auto; padding: 16px 16px 8px; line-height: 2.1; font-size: 19px; font-weight: 600; -webkit-overflow-scrolling: touch; }
.words .hookedit { margin-bottom: 14px; }
.w { display: inline; padding: 3px 4px; border-radius: 8px; cursor: pointer; transition: background .15s; }
.w.now { background: rgba(255, 216, 77, .22); }
.w.f1 { box-shadow: inset 0 -2px 0 rgba(255, 181, 71, .55); }
.w.f2 { background: rgba(255, 61, 110, .18); box-shadow: inset 0 -2px 0 var(--neon); }
.w.sel { outline: 2px solid var(--gold); }
.edit { padding: 14px 16px calc(14px + var(--safe-b)); background: #120b09; box-shadow: 0 -1px 0 var(--line); display: grid; gap: 10px; }
.edit .q { font-size: 14px; color: var(--mute); }
.edit .q b { color: var(--text); }
.edit input { width: 100%; height: 56px; border-radius: 16px; border: 0; padding: 0 16px; font: 700 20px Inter; background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px var(--line); outline: none; }
.edit input:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 14px; border-radius: 99px; font: 700 15px Inter; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line); }
.chip.sug { background: rgba(255, 216, 77, .12); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,216,77,.3); }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--mute); padding: 10px 16px 0; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- login ---------- */
.login { min-height: calc(100dvh - 60px); display: grid; align-content: center; justify-items: center; text-align: center; gap: 8px; }
.login .neon { font-size: clamp(76px, 24vw, 112px); margin: -26px 0 6px; position: relative; z-index: 1; }
.login .tag { font: 400 19px/1.15 Anton; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 30px; max-width: 26ch; }
.mic-hero { position: relative; width: 260px; height: 250px; }
.mic-hero .cone { position: absolute; left: 50%; top: -60dvh; width: 340px; height: calc(60dvh + 250px); transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 226, 180, 0) 0%, rgba(255, 226, 180, .10) 55%, rgba(255, 220, 170, .22) 100%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); filter: blur(6px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .75; } }
.mic-hero .mic { position: absolute; left: 50%; bottom: 18px; height: 205px; transform: translateX(-50%) rotate(-8deg); transform-origin: 50% 100%;
  filter: drop-shadow(0 0 22px rgba(255, 220, 170, .35)) drop-shadow(0 18px 18px rgba(0,0,0,.7)); animation: micsway 9s ease-in-out infinite alternate; }
@keyframes micsway { to { transform: translateX(-50%) rotate(-4deg); } }
.mic-hero .floor { position: absolute; left: 50%; bottom: 0; width: 300px; height: 46px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 214, 160, .38), rgba(255, 180, 110, .1) 45%, transparent 70%); }
.login form { width: 100%; max-width: 360px; display: grid; gap: 12px; }
.login input { height: 64px; border-radius: 20px; border: 0; padding: 0 18px; text-align: center; font: 700 22px Inter; letter-spacing: .06em;
  background: rgba(255, 240, 225, .07); box-shadow: inset 0 0 0 1px var(--line); outline: none; }
.login input:focus { box-shadow: inset 0 0 0 2px var(--gold), 0 0 30px -6px rgba(255, 216, 77, .5); }
.login .btn { height: 64px; font-size: 18px; }

/* ---------- upload progress ---------- */
.upl { text-align: center; padding: 26px 18px; }
.ring { width: 210px; height: 210px; margin: 6px auto 18px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font: 400 58px Anton; }
.ring .pct small { display: block; font: 600 13px Inter; color: var(--mute); letter-spacing: .06em; margin-top: -6px; }

.tapcard p { color: var(--mute); margin: 0 2px 12px; }
.tapimg { position: relative; border-radius: 18px; overflow: hidden; cursor: crosshair; box-shadow: 0 20px 50px -20px #000, inset 0 0 0 1px var(--line); }
.tapimg canvas { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; background: #000; }
.tapimg .mark { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; pointer-events: none;
  border: 3px solid var(--gold); box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 0 24px var(--gold); animation: lock .35s cubic-bezier(.2,1.6,.4,1); }
.tapimg .mark::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: var(--gold); }
@keyframes lock { from { transform: scale(1.8); opacity: 0; } }
.tapcard .sub { margin-top: 10px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 30px); opacity: 0; z-index: 50;
  padding: 14px 20px; border-radius: 16px; background: #231713; box-shadow: 0 20px 40px -10px #000, inset 0 0 0 1px var(--line);
  font-weight: 600; transition: .3s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
