:root { --bg:#090b0c; --card:#12161a; --border:rgba(180, 186, 198,.18); --lime:#a99bff; --cyan:#7cc4ff; --red:#f87171; --amber:#fbbf24; --text:#f3f6f8; --muted:#9aa6b2; --font:"Inter","Segoe UI",Roboto,sans-serif; --mono:"JetBrains Mono",Menlo,Consolas,monospace; --display:"Inter Tight","Inter",sans-serif; }
[hidden] { display:none !important; }
* { box-sizing:border-box; margin:0; padding:0; }
body { background:var(--bg); color:var(--text); font-family:var(--font); min-height:100vh; -webkit-font-smoothing:antialiased; }
a { color:var(--cyan); text-decoration:none; }
.wrap { max-width:960px; margin:0 auto; padding:20px 16px 60px; }
header.bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); margin-bottom:20px; }
header.bar .brand { font-family:var(--display); font-weight:700; letter-spacing:.06em; color:var(--text); }
h1, h2, h3 { font-family:var(--display); line-height:1.15; }
h1 { font-size:clamp(24px,5vw,40px); margin-bottom:8px; }
h2 { font-size:20px; margin:24px 0 10px; }
.muted { color:var(--muted); }
.mono { font-family:var(--mono); letter-spacing:.04em; }
.card { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:18px; margin-bottom:14px; }
.grid { display:grid; gap:14px; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px; border-radius:10px; border:1px solid var(--border); background:#1a2026; color:var(--text); font:700 14px var(--font); cursor:pointer; letter-spacing:.03em; }
.btn.lime { background:var(--lime); color:#111; border-color:var(--lime); }
.btn.cyan { background:var(--cyan); color:#111; border-color:var(--cyan); }
.btn.red { background:var(--red); color:#111; border-color:var(--red); }
.btn.big { width:100%; padding:16px; font-size:17px; }
.btn[disabled] { opacity:.45; cursor:not-allowed; }
.row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.badge { display:inline-block; padding:3px 9px; border-radius:999px; font:600 11px var(--mono); letter-spacing:.08em; text-transform:uppercase; background:rgba(124, 196, 255,.12); color:var(--cyan); }
.badge.lime { background:rgba(169, 155, 255,.14); color:var(--lime); }
.badge.red { background:rgba(248,113,113,.16); color:var(--red); }
.badge.amber { background:rgba(251,191,36,.16); color:var(--amber); }
input, select { width:100%; padding:11px 12px; border-radius:10px; border:1px solid var(--border); background:#0d1115; color:var(--text); font:15px var(--font); }
label { display:block; font-size:13px; color:var(--muted); margin-bottom:6px; }
.tier { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:14px; border:1px solid var(--border); border-radius:12px; margin-bottom:10px; }
.tier .price { font:700 20px var(--display); color:var(--lime); }
.qr { background:#fff; border-radius:16px; padding:14px; width:min(100%,340px); margin:14px auto; display:block; }
.status { margin-top:12px; font-size:14px; color:var(--cyan); min-height:20px; }
/* scanner */
.scan-stage { position:relative; width:100%; aspect-ratio:1/1; max-height:60vh; background:#000; border-radius:16px; overflow:hidden; border:1px solid var(--border); }
.scan-stage video { width:100%; height:100%; object-fit:cover; }
.scan-stage .frame { position:absolute; inset:14%; border:3px solid rgba(169, 155, 255,.8); border-radius:16px; pointer-events:none; }
.list-item.manual-row { flex-wrap:wrap; }
.list-item.manual-row > div:first-child { flex:1 1 220px; min-width:0; overflow-wrap:anywhere; }
.manual-admit { display:flex; gap:8px; flex:1 1 240px; min-width:0; }
.manual-admit input { flex:1 1 0; min-width:0; width:0; text-transform:uppercase; letter-spacing:.08em; }
.stage-verdict { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; opacity:0; pointer-events:none; font-family:var(--display); text-align:center; transition:opacity .25s; }
.stage-verdict b { font-size:clamp(34px, 11vw, 60px); line-height:1; }
.stage-verdict span { font-size:18px; color:#fff; opacity:.9; }
.stage-verdict.show { opacity:1; animation:stage-flash .45s ease-out; }
.stage-verdict.ok { background:rgba(22,101,52,.78); color:#bbf7d0; }
.stage-verdict.duplicate { background:rgba(146,64,14,.8); color:#fde68a; }
.stage-verdict.invalid, .stage-verdict.void { background:rgba(127,29,29,.82); color:#fecaca; }
@keyframes stage-flash { from { transform:scale(1.08); opacity:.2; } to { transform:scale(1); opacity:1; } }
@media (prefers-reduced-motion: reduce) { .stage-verdict.show { animation:none; } }
.verdict { padding:18px; border-radius:16px; font-family:var(--display); font-size:26px; text-align:center; margin:14px 0; }
.verdict.ok { background:rgba(34,197,94,.22); color:#86efac; border:2px solid #22c55e; }
.verdict.duplicate { background:rgba(251,191,36,.18); color:var(--amber); border:2px solid var(--amber); }
.verdict.invalid, .verdict.void { background:rgba(248,113,113,.18); color:var(--red); border:2px solid var(--red); }
.details { display:grid; grid-template-columns:1fr 1fr; gap:8px 14px; font-size:14px; }
.details b { color:var(--text); }
.details span { color:var(--muted); font-size:12px; display:block; }
/* Scanner: ticket kind and price, the first thing door staff look at. */
.details .hl b { color:var(--red); font-family:var(--display); font-size:30px; line-height:1.15; }
.details .hl span { color:var(--red); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.list-item { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); font-size:14px; }
.pill-online { font:600 11px var(--mono); padding:4px 8px; border-radius:999px; }
.pill-online.on { background:rgba(34,197,94,.2); color:#86efac; }
.pill-online.off { background:rgba(248,113,113,.2); color:var(--red); }
@media (max-width:600px) { .details { grid-template-columns:1fr; } .tier { flex-direction:column; align-items:flex-start; } }

/* Seller details and legal links (required next to online payments) */
.legal-line { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(180, 186, 198, 0.12); font-size: 12.5px; color: #9aa6b2; }
.legal-line a { color: #9aa6b2; text-decoration: underline; text-underline-offset: 3px; }
.legal-line a:hover { color: #a99bff; }
/* Tech theme (2026-12): white primary actions, violet only as a signal. */
:root { --bg:#07080a; --card:#121419; --border:rgba(255,255,255,.08); --text:#eef0f3; --muted:#8b929e; }
body { background:radial-gradient(1000px 560px at 85% -10%, rgba(139,123,255,.12), transparent 60%), #07080a; }
h1, h2, h3 { letter-spacing:-.03em; }
.btn.lime { background:#f2f3f5; border-color:#f2f3f5; color:#08090b; }
