:root { --bg:#09090b; --fg:#fafafa; --muted:#a1a1aa; --faint:#52525b; --line:#27272a; --card:#121214; --accent:#7c83ff; --ok:#34d399; --err:#f87171; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
.mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg,#fafafa,#9a9aa6); position: relative; }
.mark::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid var(--bg); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hero { text-align: center; padding: 40px 0 28px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 16px; font-weight: 700; }
.sub { color: var(--muted); font-size: 19px; margin: 0 auto 30px; max-width: 620px; }
.player { width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(124,131,255,.35); }
.player video, .player img { width: 100%; height: 100%; display: block; object-fit: cover; }
form.go { display: flex; gap: 10px; max-width: 640px; margin: 28px auto 10px; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
form.go input[type=text], form.go input[type=url] { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--fg); font-size: 17px; padding: 12px 14px; outline: none; }
button, .btn { appearance: none; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; background: var(--fg); color: var(--bg); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
button:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { color: var(--faint); font-size: 14px; text-align: center; }
.err { color: var(--err); text-align: center; min-height: 24px; margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 56px 0; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16/9; position: relative; }
.gallery video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery span { position: absolute; left: 10px; bottom: 8px; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px #000; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } form.go { flex-direction: column; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--faint); }
.steps li .d { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps li.done { color: var(--muted); } .steps li.done .d { background: var(--ok); border-color: var(--ok); }
.steps li.now { color: var(--fg); } .steps li.now .d { border-color: var(--accent); border-top-color: transparent; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.grid2 { display: grid; grid-template-columns: 300px 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; } }
.swatches { display: flex; gap: 8px; margin-top: 10px; } .swatches i { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: block; }
.logo-art { max-height: 64px; max-width: 240px; display: block; border-radius: 10px; padding: 10px 14px; margin-bottom: 4px; border: 1px solid var(--line); }
.script p { margin: 0 0 8px; color: var(--muted); } .script p:last-child { color: var(--fg); }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 8px; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.keyframe { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.fb textarea { width: 100%; min-height: 70px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; margin-top: 10px; }
.vote { background: var(--card); color: var(--fg); border: 1px solid var(--line); font-size: 18px; }
.vote.on { border-color: var(--accent); background: #1c1d33; }
.mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .mini input { flex: 1 1 160px; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--fg); padding: 10px 12px; font: inherit; }
footer { color: var(--faint); font-size: 13px; padding: 50px 0 30px; text-align: center; }
table { width: 100%; border-collapse: collapse; font-size: 13px; } td, th { border-bottom: 1px solid var(--line); padding: 7px 6px; text-align: left; vertical-align: top; } th { color: var(--faint); font-weight: 600; }
.pill { font-size: 12px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); }
.pill.done { color: var(--ok); } .pill.failed, .pill.rejected { color: var(--err); }
.empty-player { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(ellipse at 30% 20%, #1c1d33, transparent 60%), radial-gradient(ellipse at 80% 90%, #15232a, transparent 55%), #0b0b0e; overflow: hidden; }
.ep-play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); position: relative; margin-bottom: 14px; }
.ep-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #fafafa; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.ep-title { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -.02em; } .ep-sub { margin: 0; color: var(--muted); }
.prose { max-width: 720px; margin: 20px auto; color: var(--muted); } .prose h1 { color: var(--fg); font-size: 40px; } .prose h2 { color: var(--fg); font-size: 20px; margin-top: 28px; }
