/* DA Tickets – tickets.datpl.com (base copied from DA Loyalty's style.css) */
:root {
  --ink: #1b1530; --muted: #625d75; --line: #e6e2f0; --bg: #f7f5fb; --card: #fff;
  --brand: #6d28d9; --brand2: #5b21b6; --brand3: #ede7fb; --gold: #f59e0b; --bad: #b42318; --ok: #067647;
  --radius: 14px; --shadow: 0 1px 2px rgba(27,21,48,.06), 0 8px 24px rgba(27,21,48,.07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(30px, 5vw, 52px); letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 3vw, 32px); letter-spacing: -.01em; }
h3 { font-size: 17px; }
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.hide { display: none !important; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .spread { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.empty { text-align: center; color: var(--muted); padding: 36px 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff; font: 600 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--brand2); }
.btn.ghost { background: #fff; color: var(--brand); } .btn.ghost:hover { background: var(--brand3); }
.btn.plain { background: transparent; border-color: var(--line); color: var(--ink); } .btn.plain:hover { background: #f1eef8; }
.btn.danger { background: #fff; color: var(--bad); border-color: #f3c6c1; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1b1530; } .btn.gold:hover { background: #e48c06; }
.btn.wa { background: #16a34a; border-color: #16a34a; } .btn.wa:hover { background: #15803d; }
.btn.sm { padding: 7px 11px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
label.f { display: block; font-weight: 600; font-size: 13px; margin: 12px 0 5px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=search], input[type=datetime-local], input[type=date], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d6d0e4; border-radius: 10px; font: inherit; background: #fff; color: inherit; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #c4b5fd; border-color: var(--brand); }
input[type=color] { width: 48px; height: 40px; border: 1px solid #d6d0e4; border-radius: 10px; padding: 2px; background: #fff; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.pfx { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #d6d0e4; border-radius: 10px; background: #f3f0fa; font-weight: 600; height: 42px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 16px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--brand3); color: var(--brand2); }
.pill.warn { background: #fef3c7; color: #92400e; } .pill.bad { background: #fee4e2; color: var(--bad); } .pill.grey { background: #efedf4; color: var(--muted); }
.pill.ok { background: #dcfae6; color: var(--ok); }
.note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.note.info { background: #f3efff; border-color: #d9ccfb; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1b1530; color: #fff; padding: 11px 18px; border-radius: 10px;
  font-size: 14px; z-index: 300; max-width: 90vw; box-shadow: var(--shadow); text-align: center; }
.toast.bad { background: var(--bad); }

header.top { background: #1e1046; color: #fff; position: sticky; top: 0; z-index: 20; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 19px "Space Grotesk", sans-serif; }
.brand img { width: 30px; height: 30px; }
header.top nav { display: flex; gap: 16px; align-items: center; }
header.top nav a { color: #e4dcff; text-decoration: none; font-weight: 500; font-size: 14px; }
header.top nav a.btn { color: #fff; }

/* tables */
.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr.click { cursor: pointer; } .t tr.click:hover td { background: #faf8fe; }
.tscroll { overflow-x: auto; }

/* dashboard */
.auth { max-width: 420px; margin: 48px auto; }
.dash { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 24px 0 60px; }
.side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 80px; align-self: start; }
.side a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; cursor: pointer; }
.side a:hover { background: #efeaf9; } .side a.on { background: var(--brand); color: #fff; }
@media (max-width: 820px) {
  .dash { grid-template-columns: 1fr; padding-top: 12px; }
  .side { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .side a { white-space: nowrap; padding: 8px 12px; background: #fff; border: 1px solid var(--line); }
}
.panel { display: none; } .panel.on { display: block; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.editor .preview { position: sticky; top: 80px; }
@media (max-width: 1000px) { .editor { grid-template-columns: 1fr; } .editor .preview { position: static; } }
.rw-row { display: grid; grid-template-columns: 124px 1fr 36px; gap: 8px; margin-bottom: 8px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat b { display: block; font: 700 26px "Space Grotesk", sans-serif; } .stat span { font-size: 12px; color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: 500 13px Inter, sans-serif; cursor: pointer; color: var(--ink); }
.chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.plan.pop { border: 2px solid var(--brand); box-shadow: 0 10px 30px rgba(109,40,217,.15); }
.plan .price { font: 700 32px "Space Grotesk", sans-serif; } .plan .per { font-size: 12px; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 8px 0 14px; flex: 1; } .plan li { margin: 4px 0; font-size: 14px; }
.modal-ov { position: fixed; inset: 0; background: rgba(20,12,40,.55); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: #fff; border-radius: 18px; max-width: 520px; width: 100%; max-height: 92vh; overflow: auto; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 8px; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bars div:hover { background: var(--brand2); }
.bars-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
/* PIN pad */
.pin-ov { position: fixed; inset: 0; background: rgba(20,12,40,.7); display: grid; place-items: center; z-index: 200; padding: 14px; }
.pin-box { background: #fff; border-radius: 22px; padding: 20px; width: 100%; max-width: 340px; text-align: center; }
.pin-box h3 { margin: 4px 0; } .pin-staff { display: inline-block; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.pin-n { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 10px 0 4px; flex-wrap: wrap; }
.pin-n button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 700 15px Inter, sans-serif; cursor: pointer; }
.pin-n button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pin-dots { display: flex; gap: 12px; justify-content: center; margin: 14px 0 4px; }
.pin-dots span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--brand); } .pin-dots span.on { background: var(--brand); }
.pin-err { color: var(--bad); min-height: 18px; }
.pin-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.pin-keys button { height: 56px; border-radius: 14px; border: 0; background: #f1eef8; font: 600 22px Inter, sans-serif; cursor: pointer; color: var(--ink); }
.pin-keys button:active { background: #ddd4f3; } .pin-keys button.ok { background: var(--brand); color: #fff; font-size: 17px; }
.pin-cancel { margin-top: 10px; background: none; border: 0; color: var(--muted); font: 600 14px Inter, sans-serif; cursor: pointer; padding: 8px; }
/* camera scanner */
.scan-ov { position: fixed; inset: 0; background: rgba(10,6,24,.92); z-index: 250; display: grid; place-items: center; padding: 14px; }
.scan-box { width: 100%; max-width: 460px; }
.scan-view { position: relative; margin-top: 12px; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 3 / 4; }
.scan-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 18%; border: 3px solid #fbbf24; border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.scan-msg { color: #ddd3ff; text-align: center; margin-top: 10px; }
/* customer's own QR */
.myqr { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: center; box-shadow: var(--shadow); }
.myqr svg { width: 190px; height: 190px; display: block; margin: 6px auto; }
.myqr b { display: block; font-size: 16px; } .myqr .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); font-weight: 600; margin-top: 6px; }
.myqr .live i { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* message box */
.dlg-ov { position: fixed; inset: 0; background: rgba(20,12,40,.6); z-index: 350; display: grid; place-items: center; padding: 16px; }
.dlg { background: #fff; border-radius: 18px; padding: 22px; width: 100%; max-width: 380px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dlg-ic { font-size: 40px; line-height: 1; margin-bottom: 6px; } .dlg h3 { margin: 4px 0 6px; } .dlg p { margin: 0 0 16px; color: var(--ink); line-height: 1.5; }
.dlg-b { display: flex; gap: 10px; justify-content: center; } .dlg-b .btn { flex: 1; padding: 12px; }

/* top bar on phones: never wrap, keep only Sign in + Start free */
.brand, header.top nav a { white-space: nowrap; }
header.top .wrap > * { min-width: 0; }
@media (max-width: 720px) {
  header.top nav a.wide { display: none; }
  header.top nav { gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
}
@media (max-width: 360px) { .brand { font-size: 15px; } header.top nav a.btn.sm { padding: 7px 10px; } }
body { overflow-x: clip; }

/* ───────── DA Tickets ───────── */
.dlg-in { width: 100%; min-height: 70px; margin: 0 0 14px; padding: 10px 12px; border: 1px solid #d6d0e4; border-radius: 10px; font: inherit; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev { max-width: 520px; margin: 0 auto; padding-bottom: 120px; }
.ev-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.org { display: flex; align-items: center; gap: 10px; min-width: 0; }
.org-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: #0f766e; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.org b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .org span { font-size: 12px; color: var(--muted); }
.icon-btn { width: 44px; height: 44px; border: 0; background: #f0ebff; border-radius: 12px; display: grid; place-items: center; color: var(--brand); cursor: pointer; flex: none; }
.poster { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; background: #1e1046; max-height: 560px; }
.poster-none { background: #1e1046; color: #fff; padding: 26px 20px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.poster-none::before { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: #fbbf24; }
.poster-none b { position: relative; font: 700 34px/1.05 "Space Grotesk", sans-serif; letter-spacing: -.5px; }
.ev-body { padding: 18px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.ev-body h1 { font-size: 26px; margin: 0; letter-spacing: -.01em; }
.facts { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.fact { display: flex; gap: 12px; align-items: flex-start; } .fact .fi { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #f0ebff; color: var(--brand); display: grid; place-items: center; }
.fact b { display: block; font-size: 15px; } .fact span, .fact a { font-size: 14px; color: var(--muted); }
.fact a { color: var(--brand); font-weight: 600; }
.about { white-space: pre-line; font-size: 15px; color: #3b2f63; margin: 0; }
.tt { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.tt.off { opacity: .6; }
.tt-t { flex: 1; min-width: 0; } .tt-t b { display: block; font-size: 16px; } .tt-t span { display: block; font-size: 13px; color: var(--muted); }
.tt-t .pr { font: 700 17px Inter, sans-serif; color: var(--brand); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #d4c8fb; background: #fff; color: var(--brand); font: 700 22px Inter, sans-serif; cursor: pointer; }
.stepper button.plus { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.stepper span { width: 28px; text-align: center; font-weight: 700; font-size: 17px; }
.sold { padding: 8px 12px; border-radius: 99px; background: #ece8f5; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(30,16,70,.08); z-index: 30; }
.buybar .in { max-width: 520px; margin: 0 auto; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.buybar .sum { flex: 1; } .buybar .sum span { display: block; font-size: 13px; color: var(--muted); } .buybar .sum b { font-size: 20px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid #d4c8fb; border-radius: 12px; cursor: pointer; margin-top: 10px; }
.pay-opt.on { border: 2px solid var(--brand); background: #f6f3ff; padding: 11px; }
.pay-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.pay-opt b { display: block; font-size: 15px; } .pay-opt span { font-size: 13px; color: var(--muted); }
.sumbox { background: #1e1046; color: #fff; border-radius: 16px; padding: 16px; }
.sumbox .line { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; padding: 3px 0; }
.sumbox hr { border: 0; border-top: 1px solid #3b2a73; margin: 10px 0; }
.made { text-align: center; font-size: 12px; color: var(--muted); margin-top: 22px; } .made a { color: var(--muted); }

/* tickets page */
.tp { max-width: 460px; margin: 0 auto; padding: 18px 16px 40px; }
body.dark { background: #1e1046; }
.okbar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #dcfce7; color: #14532d; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.okbar.wait { background: #fef3c7; color: #78350f; } .okbar.bad { background: #fee4e2; color: #7a271a; }
.tk { background: #fff; border-radius: 22px; overflow: hidden; margin-bottom: 14px; color: var(--ink); }
.tk-h { padding: 18px 18px 12px; } .tk-h small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--brand); text-transform: uppercase; }
.tk-h b { display: block; font: 700 23px/1.1 "Space Grotesk", sans-serif; margin: 2px 0; } .tk-h span { font-size: 14px; color: var(--muted); }
.tk-cut { position: relative; height: 24px; display: flex; align-items: center; }
.tk-cut::before, .tk-cut::after { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #1e1046; }
.tk-cut::before { left: -12px; } .tk-cut::after { right: -12px; }
.tk-cut i { flex: 1; margin: 0 20px; border-top: 2px dashed #d4c8fb; }
.tk-b { padding: 12px 18px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tk-qr { padding: 10px; border-radius: 16px; border: 1px solid var(--line); } .tk-qr svg { width: 220px; height: 220px; display: block; }
.tk-code { font: 700 20px "Space Grotesk", sans-serif; letter-spacing: 2px; }
.tk-grid { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tk-grid div { background: #f6f3ff; border-radius: 12px; padding: 10px; text-align: left; } .tk-grid span { display: block; font-size: 12px; color: var(--muted); } .tk-grid b { font-size: 15px; }
.tk.used .tk-qr { opacity: .25; } .tk-used { background: #fee4e2; color: #7a271a; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.tk-nav { display: flex; gap: 8px; justify-content: center; margin: -4px 0 12px; } .tk-nav button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #4a3590; padding: 0; cursor: pointer; } .tk-nav button.on { background: #fbbf24; }
.tp .btn.dk { background: #34206e; border-color: #34206e; } .tp .btn.dk:hover { background: #3f2a80; }
.joinl { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #34206e; color: #fff; text-decoration: none; margin-top: 12px; }
.joinl b { display: block; font-size: 15px; } .joinl span { font-size: 13px; color: #e4dcff; }
.upi-box { background: #fff; border-radius: 18px; padding: 18px; color: var(--ink); }
.upi-id { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #f6f3ff; border-radius: 12px; padding: 10px 12px; font-weight: 700; word-break: break-all; }
.tp .muted-l { color: #c9bdf5; }

/* gate */
body.gate { background: #0e0726; color: #fff; }
.gp { max-width: 480px; margin: 0 auto; padding: 16px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; gap: 14px; }
.gp label.f { color: #e4dcff; } .gp input[type=text], .gp input[type=tel] { background: #1e1046; border-color: #3b2a73; color: #fff; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: #1f3d2a; color: #86efac; font-size: 12px; font-weight: 700; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: blink 1.6s infinite; } @keyframes blink { 50% { opacity: .3; } }
.inside { background: #1e1046; border-radius: 16px; padding: 14px; }
.inside .n { font: 700 26px "Space Grotesk", sans-serif; } .inside .n small { font-size: 16px; color: #c9bdf5; }
.bar { height: 10px; border-radius: 99px; background: #34206e; overflow: hidden; margin: 8px 0 6px; } .bar i { display: block; height: 100%; background: #fbbf24; border-radius: 99px; transition: width .4s; }
.gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gates button { min-height: 48px; border-radius: 12px; border: 1px solid #3b2a73; background: #1e1046; color: #e4dcff; font: 600 16px Inter, sans-serif; cursor: pointer; }
.gates button.on { border: 2px solid #fbbf24; background: #34206e; color: #fff; font-weight: 700; }
.cam { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 1; }
.cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam .scan-frame { inset: 14%; }
.cam .cam-msg { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 13px; color: #ddd3ff; padding: 0 12px; }
.res { position: fixed; inset: 0; z-index: 260; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: #fff; cursor: pointer; }
.res.ok { background: #15803d; } .res.bad { background: #b91c1c; } .res.warn { background: #b45309; }
.res .big { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.res.ok .big { color: #15803d; } .res.bad .big { color: #b91c1c; } .res.warn .big { color: #b45309; }
.res .big svg { width: 60px; height: 60px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.res h2 { color: #fff; font-size: 40px; margin: 0; letter-spacing: -.5px; } .res .who { font-size: 24px; font-weight: 700; }
.res .pill2 { padding: 8px 16px; border-radius: 99px; background: #fff; color: #14532d; font-weight: 700; font-size: 18px; }
.res.bad .pill2, .res.warn .pill2 { color: #7f1d1d; border-radius: 14px; line-height: 1.35; }
.res .tap { font-size: 14px; opacity: .85; margin-top: 10px; }
.gp .btn.gold { min-height: 56px; font-size: 17px; border-radius: 14px; }

/* dashboard */
.evc { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; cursor: pointer; margin-bottom: 10px; text-align: left; width: 100%; font: inherit; color: inherit; }
.evc:hover { border-color: #c4b5fd; }
.evc img, .evc .ph { width: 64px; height: 80px; border-radius: 10px; object-fit: cover; flex: none; background: #1e1046; }
.evc b { display: block; font-size: 16px; } .evc .small { display: block; }
.big-stats .stat b { font-size: 30px; } .stat.dk { background: #1e1046; color: #fff; border-color: #1e1046; } .stat.dk span { color: #e4dcff; }
.tbar { margin: 10px 0; } .tbar .row { font-size: 14px; } .tbar .bar { background: #ece8f5; height: 10px; margin: 6px 0 0; } .tbar .bar i { background: var(--brand); }
.type-row { display: grid; grid-template-columns: minmax(110px, 1.4fr) 100px 90px 90px minmax(150px, 1fr) 36px; gap: 8px; align-items: end; margin-bottom: 10px; }
.type-row > *, .code-row > * { min-width: 0; }
.type-row label { font-size: 12px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 3px; }
.code-row { display: grid; grid-template-columns: minmax(100px, 1fr) 110px 90px 90px minmax(150px, 1fr) 36px; gap: 8px; align-items: end; margin-bottom: 10px; }
.code-row label { font-size: 12px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 3px; }
@media (max-width: 760px) {
  .type-row, .code-row { grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
  .type-row > :first-child, .code-row > :first-child { grid-column: 1 / -1; }
}
.x-btn { width: 36px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--muted); font-size: 18px; }
.poster-up { width: 160px; height: 200px; border: 2px dashed #c4b5fd; border-radius: 14px; background: #f6f3ff; display: grid; place-items: center; text-align: center; overflow: hidden; cursor: pointer; padding: 0; color: var(--muted); font: inherit; }
.poster-up img { width: 100%; height: 100%; object-fit: cover; }
.ed-top { display: flex; gap: 18px; flex-wrap: wrap; } .ed-top > div:last-child { flex: 1 1 320px; min-width: 0; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f0ebff; }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent; color: #3b2f63; font: 600 14px Inter, sans-serif; cursor: pointer; }
.seg button.on { background: var(--brand); color: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 14px 0 16px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font: 600 14px Inter, sans-serif; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-color: var(--brand); }
.share-qr svg { width: 150px; height: 150px; display: block; }
.linkbox { padding: 10px 12px; border-radius: 10px; background: #f6f3ff; font-size: 13px; word-break: break-all; }
.hero.tk-hero { background: radial-gradient(1200px 500px at 80% -10%, #7c3aed 0%, transparent 60%), #1e1046; color: #fff; padding: 64px 0 72px; }
.tk-hero h1 { font: 700 clamp(38px, 6vw, 62px)/1.04 "Space Grotesk", sans-serif; letter-spacing: -1.5px; margin: 0 0 16px; }
.tk-hero h1 span { color: #fbbf24; } .tk-hero .lead { font-size: 20px; color: #e4dcff; max-width: 640px; margin: 0 0 24px; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feat div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; } .feat h3 { margin: 8px 0 6px; font-size: 20px; } .feat p { margin: 0; color: #4b4470; }
.feat svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
footer.f { background: #1e1046; color: #cfc4f5; padding: 30px 0; font-size: 13px; } footer.f a { color: #fff; }
section.s { padding: 56px 0; } section.s.alt { background: #fff; }
