:root {
  --bg: #0a0a0f;
  --panel: #12121a;
  --panel-2: #1a1a25;
  --line: #262633;
  --text: #f1f1f6;
  --muted: #9a9ab0;
  --dim: #6b6b82;
  --cyan: #22d3ee;
  --violet: #a855f7;
  --red: #ef4444;
  --yellow: #fbbf24;
  --green: #22c55e;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --body: "Inter", system-ui, sans-serif;
  --rail: 232px;
  --top: 64px;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; text-transform: uppercase; letter-spacing: .005em; }

/* signal: the four-color bar is the page's loading and upload indicator */
.signal { position: fixed; inset: 0 0 auto 0; height: 3px; display: grid; grid-template-columns: repeat(4, 1fr); z-index: 60; transform-origin: left; }
.signal i:nth-child(1) { background: var(--cyan); }
.signal i:nth-child(2) { background: var(--violet); }
.signal i:nth-child(3) { background: var(--red); }
.signal i:nth-child(4) { background: var(--yellow); }
.signal.busy { animation: sweep 1.1s ease-in-out infinite; }
@keyframes sweep { 0% { transform: scaleX(.05); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .35; } }

.top { position: sticky; top: 0; z-index: 50; height: var(--top); display: flex; align-items: center; gap: 20px; padding: 3px 24px 0; background: rgba(10,10,15,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 8px; width: calc(var(--rail) - 24px); flex: none; }
.brand-mark { font: italic 800 30px/1 var(--display); letter-spacing: -.01em; }
.brand-sub { font: 700 12px/1 var(--mono); color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; }
.search { flex: 1; max-width: 620px; display: flex; height: 40px; border: 1px solid var(--line); background: var(--panel); border-radius: 4px; overflow: hidden; }
.search:focus-within { border-color: var(--cyan); }
.search input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 14px; outline: none; }
.search input::placeholder { color: var(--dim); }
.search button { width: 48px; border: 0; background: var(--panel-2); color: var(--muted); display: grid; place-items: center; }
.search button:hover { color: var(--text); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--line); background: var(--panel); font: 600 14px/1 var(--body); white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--cyan); border-color: var(--cyan); color: #04121a; }
.btn.primary:hover { background: #67e8f9; border-color: #67e8f9; }
.btn.danger { color: var(--red); }
.btn.danger:hover { border-color: var(--red); }
.btn.on { background: var(--panel-2); border-color: var(--violet); color: #d8b4fe; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { flex: none; }

.avatar { border-radius: 50%; object-fit: cover; background: var(--panel-2); flex: none; display: grid; place-items: center; font: 700 14px/1 var(--display); color: var(--text); text-transform: uppercase; overflow: hidden; }
.avatar.c0 { background: #0e3a44; } .avatar.c1 { background: #35185a; } .avatar.c2 { background: #4a1616; } .avatar.c3 { background: #47360b; }
.menu-wrap { position: relative; }
.avatar-btn { border: 0; background: none; padding: 0; border-radius: 50%; }
.menu { position: absolute; right: 0; top: 48px; width: 240px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.menu[hidden] { display: none; }
.menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu .who b { display: block; }
.menu .who span { font: 400 12px var(--mono); color: var(--muted); }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 4px; font-size: 14px; }
.menu a:hover, .menu button:hover { background: var(--panel-2); }

.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: calc(100vh - var(--top)); }
.rail { position: sticky; top: var(--top); align-self: start; height: calc(100vh - var(--top)); overflow-y: auto; padding: 18px 12px 40px; border-right: 1px solid var(--line); }
.rail a { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 12px; border-radius: 4px; color: var(--muted); font-weight: 500; }
.rail a:hover { color: var(--text); background: var(--panel); }
.rail a.active { color: var(--text); background: var(--panel); box-shadow: inset 3px 0 0 var(--cyan); }
.rail h3 { font: 700 11px/1 var(--mono); color: var(--dim); letter-spacing: .12em; padding: 22px 12px 10px; }
.rail .cat { height: 34px; font-size: 14px; }
.rail .foot { padding: 24px 12px 0; font-size: 12px; color: var(--dim); line-height: 1.7; }
.rail .foot a { display: inline; height: auto; padding: 0; color: var(--muted); }
.rail .foot a:hover { background: none; text-decoration: underline; }

main { padding: 28px 32px 96px; min-width: 0; outline: none; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); }
.page-head p { margin: 6px 0 0; color: var(--muted); }

/* feature: the newest upload leads the home page */
.feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; margin-bottom: 44px; border: 1px solid var(--line); background: var(--panel); }
.feature .thumb { border-radius: 0; }
.feature-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-width: 0; }
.feature-tag { font: 700 12px/1 var(--mono); color: var(--yellow); letter-spacing: .1em; text-transform: uppercase; }
.feature h2 { font-size: clamp(34px, 3.6vw, 60px); font-weight: 800; margin-top: 14px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feature .by { display: flex; align-items: center; gap: 12px; }

.chips { display: none; gap: 8px; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; scrollbar-width: none; }
.chips a { flex: none; height: 34px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); font-size: 13px; font-weight: 500; color: var(--muted); }
.chips a.active { color: #04121a; background: var(--cyan); border-color: var(--cyan); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px 20px; }
.card { min-width: 0; }
.thumb { position: relative; display: block; aspect-ratio: 16/9; background: var(--panel-2); border-radius: 4px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; text-align: center; font: 800 26px/1 var(--display); text-transform: uppercase; color: rgba(241,241,246,.5); background: linear-gradient(135deg, #10202a, #1c1230 60%, #2a1014); overflow: hidden; }
.thumb .dur { position: absolute; right: 8px; bottom: 8px; padding: 3px 6px; background: rgba(10,10,15,.88); font: 700 12px/1 var(--mono); border-radius: 2px; }
.thumb .flag { position: absolute; left: 8px; top: 8px; padding: 4px 7px; background: var(--red); font: 700 11px/1 var(--mono); border-radius: 2px; text-transform: uppercase; }
.card:hover .thumb { box-shadow: 0 0 0 2px var(--cyan); }
.card-meta { display: flex; gap: 12px; padding-top: 12px; }
.card-meta .t { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-meta .s { color: var(--muted); font-size: 13px; margin-top: 4px; }
.card-meta .s a:hover { color: var(--text); }
.stat { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.check { color: var(--green); vertical-align: -2px; margin-left: 4px; }
.more { display: flex; justify-content: center; margin-top: 36px; }

.empty { border: 1px dashed var(--line); padding: 64px 28px; text-align: center; }
.empty h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 800; }
.empty p { color: var(--muted); max-width: 46ch; margin: 14px auto 24px; }

/* watch */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
.player { background: #000; aspect-ratio: 16/9; width: 100%; max-height: 76vh; }
.player video { width: 100%; height: 100%; background: #000; }
.watch h1 { font-size: clamp(28px, 3vw, 42px); margin: 18px 0 10px; overflow-wrap: anywhere; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chan { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chan b { display: block; line-height: 1.2; }
.chan .stat { display: block; margin-top: 3px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.desc { background: var(--panel); border: 1px solid var(--line); padding: 16px 18px; margin: 18px 0 30px; white-space: pre-wrap; overflow-wrap: anywhere; }
.desc .stat { display: block; margin-bottom: 8px; color: var(--text); }
.comments h2 { font-size: 26px; margin-bottom: 16px; }
.cform { display: flex; gap: 12px; margin-bottom: 26px; }
.cform textarea { flex: 1; }
.comment { display: flex; gap: 12px; margin-bottom: 20px; }
.comment .body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.comment .head { font-size: 13px; color: var(--muted); }
.comment .head b { color: var(--text); font-weight: 600; }
.comment .del { border: 0; background: none; color: var(--dim); font-size: 12px; padding: 0; margin-top: 4px; }
.comment .del:hover { color: var(--red); }
.side h2 { font-size: 22px; margin-bottom: 14px; }
.row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.row .t { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.row .s { color: var(--muted); font-size: 12px; margin-top: 4px; }
.row:hover .thumb { box-shadow: 0 0 0 2px var(--cyan); }

/* channel */
.chead { display: flex; align-items: center; gap: 24px; padding: 30px; margin-bottom: 30px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--violet); flex-wrap: wrap; }
.chead h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; overflow-wrap: anywhere; }
.chead .info { flex: 1; min-width: 220px; }
.chead .bio { color: var(--muted); max-width: 70ch; margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* forms */
.form { max-width: 560px; }
.form.wide { max-width: 980px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; }
.field .hint { color: var(--dim); font-size: 12px; margin-top: 6px; }
input[type=text], input[type=email], input[type=password], textarea, select { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 11px 13px; outline: none; }
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); }
.hp { position: absolute; left: -9999px; }
.auth { max-width: 440px; margin: 4vh auto 0; }
.auth h1 { font-size: 56px; font-weight: 800; margin-bottom: 8px; }
.auth > p { color: var(--muted); margin: 0 0 26px; }
.auth .alt { margin-top: 20px; color: var(--muted); font-size: 14px; }
.auth .alt a, .link { color: var(--cyan); }
.err { color: #fca5a5; font-size: 14px; margin: 0 0 14px; min-height: 1px; }
.note { border-left: 3px solid var(--yellow); background: var(--panel); padding: 12px 14px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.upgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.drop { border: 1px dashed var(--muted); background: var(--panel); min-height: 300px; display: grid; place-items: center; text-align: center; padding: 28px; }
.drop.over { border-color: var(--cyan); background: var(--panel-2); }
.drop h2 { font-size: 34px; }
.drop p { color: var(--muted); margin: 10px 0 20px; }
.preview video { width: 100%; aspect-ratio: 16/9; background: #000; }
.thumbrow { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.thumbrow img { width: 160px; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); background: var(--panel-2); }
.progress { height: 8px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--panel-2); margin: 10px 0 6px; position: relative; overflow: hidden; }
.progress::after { content: ""; position: absolute; inset: 0; background: var(--panel-2); transform-origin: right; transform: scaleX(calc(1 - var(--p, 0))); transition: transform .2s linear; }
.progress i:nth-child(1) { background: var(--cyan); } .progress i:nth-child(2) { background: var(--violet); } .progress i:nth-child(3) { background: var(--red); } .progress i:nth-child(4) { background: var(--yellow); }

/* studio and admin tables */
.list { border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item .t { font-weight: 600; overflow-wrap: anywhere; }
.item .acts { justify-content: end; }

.legal { max-width: 72ch; }
.legal h2 { font-size: 28px; margin: 34px 0 10px; }
.legal p, .legal li { color: #c9c9d8; }

.modal-bg { position: fixed; inset: 0; z-index: 80; background: rgba(5,5,9,.78); display: grid; place-items: center; padding: 20px; }
.modal { width: min(520px, 100%); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--cyan); padding: 24px; }
.modal h2 { font-size: 30px; margin-bottom: 14px; }
.modal .acts { justify-content: end; margin-top: 16px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--panel-2); color: var(--text); border: 1px solid var(--cyan); padding: 11px 18px; border-radius: 4px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; z-index: 90; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* live */
.btn.golive { background: var(--red); border-color: var(--red); color: #fff; }
.btn.golive:hover { background: #f87171; border-color: #f87171; }
.btn.verify { background: var(--green); border-color: var(--green); color: #04140a; }
.btn.verify:hover { background: #4ade80; border-color: #4ade80; }
.btn.big { height: 50px; padding: 0 28px; font-size: 16px; }
.acts.center { justify-content: center; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--green); border-color: rgba(34,197,94,.45); }
.pill.warn { color: var(--yellow); border-color: rgba(251,191,36,.45); }
.pulse { display: inline-block; width: .34em; height: .34em; min-width: 10px; min-height: 10px; border-radius: 50%; background: var(--red); margin-right: .3em; vertical-align: .12em; box-shadow: 0 0 0 0 rgba(239,68,68,.7); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
.live-badge { position: absolute; left: 8px; top: 8px; padding: 4px 8px; background: var(--red); color: #fff; font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.live-badge.inline, .onair .live-badge { position: static; display: inline-block; }
.live-strip { margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.live-strip h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.live-strip .page-head { align-items: center; margin-bottom: 18px; }
.onair { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--red); }
.onair b { flex: 1; min-width: 140px; overflow-wrap: anywhere; }

.watch.live { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.player { position: relative; }
.player video.mirror { transform: scaleX(-1); }
.veil { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(5,5,9,.86); }
.veil[hidden] { display: none; }
.veil h2 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; }
.veil p { color: var(--muted); max-width: 44ch; margin: 10px auto 0; }
.veil .btn { margin-top: 18px; }
.hud { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; background: rgba(10,10,15,.82); border-radius: 3px; font: 700 12px/1 var(--mono); }
.hud[hidden] { display: none; }
.ctl { margin: 16px 0 22px; }
.golive-form { max-width: 620px; }
.sharebox { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 22px; }
.sharebox > div { display: flex; gap: 8px; margin-top: 8px; }
.sharebox input { flex: 1; min-width: 0; font: 400 13px var(--mono); }

.chat { position: sticky; top: calc(var(--top) + 20px); display: flex; flex-direction: column; height: calc(100vh - var(--top) - 48px); min-height: 380px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--violet); }
.chat-head { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head h2 { font-size: 22px; }
.chat-log { flex: 1; overflow-y: auto; padding: 12px 16px; overscroll-behavior: contain; }
.chat-msg { position: relative; padding: 4px 22px 4px 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg .who { font-weight: 600; color: var(--cyan); margin-right: 8px; }
.chat-msg .who.host { color: var(--yellow); }
.chat-msg .del { position: absolute; right: 0; top: 2px; border: 0; background: none; color: var(--dim); font-size: 16px; line-height: 1; padding: 2px 4px; opacity: 0; }
.chat-msg:hover .del, .chat-msg .del:focus-visible { opacity: 1; }
.chat-msg .del:hover { color: var(--red); }
.chat-form { padding: 12px; border-top: 1px solid var(--line); }
.chat-form form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; background: var(--bg); }
.tips { padding: 6px 16px 16px; color: var(--muted); font-size: 14px; }
.tips p { margin: 12px 0 0; padding-left: 12px; border-left: 2px solid var(--line); }

/* membership */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 900px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--cyan); }
.plan.v { border-top-color: var(--green); }
.plan.v .feature-tag { color: var(--green); }
.plan .feature-tag { color: var(--cyan); }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font: 800 84px/.9 var(--display); }
.price span { font: 700 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.plan ul { margin: 4px 0 8px; padding: 0; list-style: none; flex: 1; }
.plan li { padding: 7px 0 7px 18px; position: relative; color: #c9c9d8; }
.plan li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 2px; background: var(--cyan); }
.plan.v li::before { background: var(--green); }

/* owner panel */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--yellow); }
.switch h2 { font-size: 26px; }
.switch p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.sec { font-size: 30px; margin: 40px 0 14px; }
.members { border-top: 1px solid var(--line); }
.member { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.member .t { font-weight: 600; overflow-wrap: anywhere; }
.member .contact { display: grid; gap: 2px; font: 400 13px/1.4 var(--mono); overflow-wrap: anywhere; }
.member .contact a:hover { color: var(--cyan); }
.member .acts { justify-content: end; }

.tabs { display: none; }

@media (max-width: 1180px) {
  .watch, .watch.live { grid-template-columns: minmax(0, 1fr); }
  .chat { position: static; height: 520px; }
  .side .rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 20px; }
}
@media (max-width: 900px) {
  :root { --top: 56px; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .chips { display: flex; }
  .top { padding: 3px 16px 0; gap: 12px; }
  .brand { width: auto; }
  .brand-mark { font-size: 24px; }
  .brand-sub { display: none; }
  .top-actions .hide-m { display: none; }
  main { padding: 18px 16px 110px; }
  .feature { grid-template-columns: minmax(0, 1fr); margin-bottom: 30px; }
  .feature-body { padding: 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 14px; }
  .upgrid { grid-template-columns: minmax(0, 1fr); }
  .player { margin: -18px -16px 0; width: calc(100% + 32px); }
  .item { grid-template-columns: 112px minmax(0, 1fr); }
  .item .acts { grid-column: 1 / -1; justify-content: start; }
  .row { grid-template-columns: 148px minmax(0, 1fr); }
  .chead { padding: 20px; gap: 16px; }
  .auth h1 { font-size: 44px; }
  .cform { flex-wrap: wrap; }
  .cform textarea { min-height: 72px; flex-basis: calc(100% - 52px); }
  .cform .btn { margin-left: auto; }
  .tabs { position: fixed; inset: auto 0 0 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(10,10,15,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabs a { display: grid; justify-items: center; gap: 4px; padding: 9px 0 8px; font-size: 11px; color: var(--muted); }
  .tabs a.active { color: var(--cyan); }
  .member { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .member .acts { justify-content: start; }
  .chat { height: 460px; margin-top: 8px; }
  .price b { font-size: 68px; }
  .toast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* visitor billboard */
.bill { position: relative; border-radius: 10px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; margin-bottom: 26px; background: #000; isolation: isolate; }
.bill-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; }
.bill::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,15,.96) 0%, rgba(10,10,15,.82) 38%, rgba(10,10,15,.15) 75%), linear-gradient(0deg, rgba(10,10,15,.9) 0%, rgba(10,10,15,0) 45%); }
.bill-body { padding: 48px 48px 44px; max-width: 640px; }
.bill-live { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); color: #fecaca; }
.bill-h { font: italic 800 clamp(56px, 7.2vw, 112px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 18px 0 0; }
.bill-p { color: #c9c9d8; font-size: 17px; line-height: 1.6; margin: 22px 0 0; max-width: 520px; }
.bill .acts { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn.ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.bill-note { color: var(--dim); font-size: 13px; margin: 18px 0 0; }
.launch { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.lt { position: relative; border-radius: 10px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.lt img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.lt > div, .lt.plain { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.lt b { font: 700 24px/1 var(--display); text-transform: uppercase; color: var(--text); }
.lt span { color: var(--muted); font-size: 14px; }
.lt.plain { justify-content: flex-end; background: linear-gradient(160deg, #13212a 0%, var(--panel) 60%); border-color: #1f3a44; }
.lt.plain b { font-size: 34px; }
.lt.plain .btn { margin-top: 14px; align-self: flex-start; }
a.lt:hover { border-color: var(--muted); }
@media (max-width: 900px) { .launch { grid-template-columns: 1fr; } .bill { min-height: 0; } .bill-body { padding: 160px 22px 26px; } .bill::after { background: linear-gradient(0deg, rgba(10,10,15,.98) 0%, rgba(10,10,15,.85) 55%, rgba(10,10,15,.2) 100%); } }

.paybig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 64px; border-radius: 10px; border: 0; color: #fff; font: 700 17px/1.2 var(--body); margin-top: 10px; cursor: pointer; text-decoration: none; }
.paybig small { font-size: 13px; font-weight: 500; opacity: .85; }
.paybig.cash { background: #00C244; } .paybig.cash:hover { background: #00A83B; }
.paybig.zelle { background: #6D1ED4; } .paybig.zelle:hover { background: #5A17B2; }
