:root {
  --bg: #09090d;
  --bg2: #0e0e14;
  --card: rgba(255, 255, 255, 0.035);
  --card2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #f3f3f8;
  --dim: rgba(232, 232, 245, 0.56);
  --dim2: rgba(232, 232, 245, 0.36);
  --v: #7c5cff;
  --p: #ff4fa3;
  --good: #b6ff5c;
  --bad: #ff6b6b;
  --warn: #ffc857;
  --grad: linear-gradient(100deg, #7c5cff 0%, #b45cff 45%, #ff4fa3 100%);
  --r: 18px;
  --r2: 12px;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(124, 92, 255, 0.45); }
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; letter-spacing: -0.01em; }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.strong { font-weight: 600; }
.k { display: block; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--dim2); font-weight: 500; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[hidden] { display: none !important; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow { position: absolute; width: 900px; height: 900px; border-radius: 50%; filter: blur(140px); opacity: .22; }
.bg-glow.a { background: #6a4bff; top: -420px; left: -260px; }
.bg-glow.b { background: #ff3d9a; top: -380px; right: -320px; opacity: .14; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%); }

/* header */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); background: rgba(9, 9, 13, 0.62); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; width: min(1200px, 100% - 40px); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .06em; font-size: 15px; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 7px 12px; border-radius: 10px; color: var(--dim); font-size: 14px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--card2); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bal { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.tag-net { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--warn); border: 1px solid rgba(255, 200, 87, .35); background: rgba(255, 200, 87, .08); padding: 4px 8px; border-radius: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); color: var(--dim); }
.icon-btn:hover { color: var(--text); border-color: var(--line2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card2); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .25s, opacity .2s; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn.lgd { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; }
.btn.ghost.on { border-color: rgba(182, 255, 92, .35); color: var(--good); }
.btn.grad { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 30px -10px rgba(180, 92, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.grad:hover { box-shadow: 0 10px 40px -8px rgba(255, 79, 163, .7), inset 0 1px 0 rgba(255, 255, 255, .3); filter: brightness(1.06); }
.btn.sell { background: rgba(255, 107, 107, .14); border-color: rgba(255, 107, 107, .35); color: #ffb3b3; box-shadow: none; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; }
.dot.live { background: var(--good); box-shadow: 0 0 0 0 rgba(182, 255, 92, .6); animation: ping 2s infinite; }
.dot.good { background: var(--good); }
.dot.pink { background: var(--p); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(182, 255, 92, .55); } 70% { box-shadow: 0 0 0 8px rgba(182, 255, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(182, 255, 92, 0); } }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(182, 255, 92, .1); color: var(--good); border: 1px solid rgba(182, 255, 92, .22); }
.chip.market { background: rgba(124, 92, 255, .14); color: #c8b9ff; border-color: rgba(124, 92, 255, .35); }
.chip.last { background: rgba(255, 200, 87, .1); color: var(--warn); border-color: rgba(255, 200, 87, .3); }
.chip.past { background: var(--card2); color: var(--dim); border-color: var(--line); }
.chip.house { background: rgba(255, 79, 163, .12); color: #ff9ccd; border-color: rgba(255, 79, 163, .3); }
.chip.soon { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line2); }

/* views */
.view { animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.section { padding: 72px 0 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2, .sec-head h1 { margin: 0 0 6px; font-size: 32px; letter-spacing: -0.03em; font-weight: 700; }
.sec-head p { margin: 0; }

/* hero */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; padding: 76px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--dim); font-size: 13px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: .98; letter-spacing: -0.045em; margin: 22px 0 20px; font-weight: 750; }
.lede { font-size: 18px; color: var(--dim); max-width: 540px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 44px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.stats div { padding: 16px 18px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim2); }
.stats dd { margin: 4px 0 0; font: 600 20px var(--mono); letter-spacing: -0.02em; }
.hero-art { position: relative; height: 470px; perspective: 1400px; }
.hero-ticket { position: absolute; left: 50%; top: 50%; width: 460px; transform: translate(-50%, -50%) rotateX(8deg) rotateY(-14deg) rotateZ(2deg); transition: transform .5s var(--ease); }
.hero-art:hover .hero-ticket { transform: translate(-50%, -50%) rotateX(2deg) rotateY(-4deg) rotateZ(0deg); }
.hero-curve { width: 100%; height: 150px; display: block; margin: 14px 0 6px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(20, 20, 28, .78); border: 1px solid var(--line2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); animation: bob 6s ease-in-out infinite; }
.float-card .mono { color: var(--good); }
.fc-a { left: 0; top: 40px; }
.fc-b { right: 0; bottom: 36px; animation-delay: -3s; }
.fc-b .mono { color: #ff9ccd; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* the ticket shape */
.tk { display: flex; border-radius: 22px; position: relative; background: linear-gradient(160deg, rgba(40, 34, 64, .92), rgba(20, 18, 30, .96)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -30px rgba(124, 92, 255, .45), 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; }
.tk::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 220px at 0% 0%, rgba(124, 92, 255, .28), transparent 60%), radial-gradient(400px 200px at 100% 100%, rgba(255, 79, 163, .2), transparent 60%); pointer-events: none; }
.tk-main { flex: 1; padding: 22px 22px 20px; position: relative; min-width: 0; }
.tk-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.tk-title { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin-top: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-sub { color: var(--dim); font-size: 13px; }
.tk-row { display: flex; gap: 26px; margin-top: 10px; }
.tk-row .v { display: block; font-size: 15px; margin-top: 2px; }
.tk-perf { width: 0; border-left: 2px dashed rgba(255, 255, 255, .16); margin: 18px 0; position: relative; }
.tk-perf::before, .tk-perf::after { content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.tk-perf::before { top: -32px; }
.tk-perf::after { bottom: -32px; }
.tk-stub { width: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; position: relative; }
.tk-stub img { border-radius: 12px; object-fit: cover; background: var(--card2); }
.qr-fake { width: 66px; height: 66px; border-radius: 8px; background: conic-gradient(from 90deg at 50% 50%, #fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 11px 11px; opacity: .85; mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 63%); -webkit-mask-image: linear-gradient(#000, #000); box-shadow: 0 0 0 5px rgba(255, 255, 255, .06); filter: contrast(1.2); }

/* events grid */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--dim); cursor: pointer; font-size: 13px; font-weight: 500; transition: all .2s; }
.pill:hover { color: var(--text); border-color: var(--line2); }
.pill.on { background: var(--text); color: #0b0b10; border-color: var(--text); }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--dim); margin-bottom: 18px; }
.search input { flex: 1; border: 0; background: transparent; outline: none; color: var(--text); height: 100%; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.ev-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .3s; position: relative; }
.ev-card:hover { transform: translateY(-3px); border-color: var(--line2); background: rgba(255, 255, 255, .05); box-shadow: 0 30px 60px -30px rgba(124, 92, 255, .45); }
.ev-card-top { display: flex; gap: 14px; padding: 16px 16px 12px; }
.ev-card-top img { width: 86px; height: 86px; border-radius: 14px; object-fit: cover; flex: none; background: var(--card2); }
.ev-card-info { min-width: 0; flex: 1; }
.ev-card-info h3 { margin: 6px 0 2px; font-size: 18px; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-card-info .sub { color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-card-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 16px 12px; }
.ev-card-mid .price { font: 600 22px var(--mono); letter-spacing: -0.03em; }
.ev-card-mid .price small { font-size: 12px; color: var(--dim); font-weight: 500; margin-left: 4px; }
.spark { width: 120px; height: 40px; overflow: visible; }
.sp-all { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.4; stroke-dasharray: 2 3; }
.sp-area { fill: rgba(180, 92, 255, .22); }
.sp-lit { fill: none; stroke: url(#none); stroke: #c86bff; stroke-width: 2; stroke-linecap: round; }
.sp-dot { fill: #fff; }
.ev-card-bot { padding: 12px 16px 14px; border-top: 1px dashed rgba(255, 255, 255, .1); display: grid; gap: 8px; }
.meter { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--grad); border-radius: 999px; transition: width .6s var(--ease); }
.meter-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); }
.ev-card .notch-l, .ev-card .notch-r { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); bottom: 52px; border: 1px solid var(--line); }
.ev-card .notch-l { left: -9px; }
.ev-card .notch-r { right: -9px; }
.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line2); border-radius: var(--r); background: var(--card); }
.empty h3 { margin: 16px 0 6px; font-size: 20px; }
.empty .btn { margin-top: 18px; }
.empty-ic { width: 64px; height: 44px; margin: 0 auto; border-radius: 10px; background: var(--grad); opacity: .85; mask: radial-gradient(circle at 0 50%, transparent 8px, #000 8.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 8px, #000 8.5px) right / 51% 100% no-repeat; -webkit-mask: radial-gradient(circle at 0 50%, transparent 8px, #000 8.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 8px, #000 8.5px) right / 51% 100% no-repeat; }
.skel { height: 210px; border-radius: var(--r); background: linear-gradient(90deg, var(--card) 0%, rgba(255, 255, 255, .07) 50%, var(--card) 100%) 0 0 / 200% 100%; animation: shimmer 1.4s infinite; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* how */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.step-n { font: 600 12px var(--mono); color: var(--dim2); }
.step h3 { margin: 10px 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.step p { margin: 0 0 18px; color: var(--dim); font-size: 14px; }
.step-viz { margin-top: auto; height: 74px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
.v1 span { width: 16px; height: 30px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.v1 span:nth-child(-n+3) { background: var(--grad); }
.v2 svg { width: 90%; height: 70px; }
.sv-line { fill: none; stroke: url(#none); stroke: #c86bff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 3.2s var(--ease) infinite; }
.sv-dot { fill: #fff; }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.v3 span { font: 700 12px var(--mono); padding: 7px 12px; border-radius: 8px; }
.v3 .up { background: rgba(182, 255, 92, .14); color: var(--good); }
.v3 .down { background: rgba(255, 107, 107, .14); color: var(--bad); }
.v4 { gap: 14px; }
.mini-qr { width: 44px; height: 44px; border-radius: 6px; background: conic-gradient(#fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 9px 9px; opacity: .8; }
.v4 .ok { font: 700 13px var(--mono); color: var(--good); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.fact { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.fact .v { font: 600 20px var(--mono); margin-top: 6px; letter-spacing: -0.02em; }
.fact p { margin: 6px 0 0; font-size: 13px; color: var(--dim); }

/* cards */
.card { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); padding: 20px; }
.card + .card { margin-top: 14px; }
.card-title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 12px; font-size: 15px; }

/* event */
.ev-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.ev-bg { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4); opacity: .32; transform: scale(1.2); }
.ev-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 9, 13, .2), var(--bg)); }
.ev-head { position: relative; z-index: 1; padding: 28px 0 34px; }
.back { display: inline-flex; color: var(--dim); font-size: 14px; margin-bottom: 20px; }
.back:hover { color: var(--text); }
.ev-head-in { display: flex; gap: 28px; align-items: flex-end; }
.ev-poster { width: 200px; height: 200px; border-radius: 22px; object-fit: cover; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85); border: 1px solid var(--line2); background: var(--card2); flex: none; }
.ev-title h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.04em; margin: 10px 0 14px; }
.ev-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.meta-i { display: inline-flex; align-items: center; gap: 7px; }
.meta-i a { color: var(--text); border-bottom: 1px dotted var(--line2); }
.countdown { display: flex; gap: 8px; margin-top: 18px; }
.countdown div { min-width: 64px; padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); text-align: center; }
.countdown b { display: block; font: 600 22px var(--mono); letter-spacing: -0.02em; }
.countdown span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim2); }
.ev-body { display: grid; grid-template-columns: 1fr 380px; gap: 18px; padding: 24px 0 40px; align-items: start; }
.ev-side { position: sticky; top: 84px; }
.chart-card .card-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-end; }
.big { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; }
.kpis { display: flex; gap: 22px; flex-wrap: wrap; }
.kpis .v { display: block; font-size: 16px; margin-top: 2px; }
.chart-wrap { position: relative; height: 300px; margin: 18px -6px 8px; }
.chart-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.chart-tip { position: absolute; transform: translate(-50%, -140%); padding: 6px 10px; border-radius: 9px; background: #fff; color: #0b0b10; font: 600 12px var(--mono); white-space: nowrap; pointer-events: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }
.progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-top: 6px; }
.progress-bar { height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .7s var(--ease); box-shadow: 0 0 20px rgba(255, 79, 163, .6); }
.progress-legend { display: flex; justify-content: space-between; margin-top: 8px; }
.about { white-space: pre-wrap; margin: 0; color: rgba(243, 243, 248, .86); }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.links a, .ext a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.links a:hover, .ext a:hover { color: var(--text); border-color: var(--line2); }
.ext { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 380px; overflow: auto; }
.feed li { display: grid; grid-template-columns: 74px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; font-size: 13px; }
.feed li:hover { background: var(--card2); }
.feed li.new { animation: flash 1.2s var(--ease); }
@keyframes flash { from { background: rgba(182, 255, 92, .14); } to { background: transparent; } }
.feed .side { font: 700 11px var(--mono); letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; text-align: center; }
.feed .side.buy { background: rgba(182, 255, 92, .12); color: var(--good); }
.feed .side.sell { background: rgba(255, 107, 107, .12); color: var(--bad); }
.feed .side.in { background: rgba(124, 92, 255, .16); color: #c8b9ff; }
.feed .side.sys { background: var(--card2); color: var(--dim); }
.feed .who { color: var(--dim); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; }
.feed .amt { font-family: var(--mono); }
.feed .ago { color: var(--dim2); font-size: 12px; min-width: 52px; text-align: right; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 13px; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv dd a { border-bottom: 1px dotted var(--line2); }

.buy-card { padding: 16px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); margin-bottom: 16px; }
.tab { height: 38px; border-radius: 9px; border: 0; background: transparent; color: var(--dim); font-weight: 600; cursor: pointer; transition: all .2s; }
.tab.on { background: var(--card2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; align-items: center; }
.step-btn { height: 52px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); font-size: 24px; cursor: pointer; transition: background .2s; }
.step-btn:hover { background: rgba(255, 255, 255, .1); }
.step-val { height: 52px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; gap: 8px; }
.step-val input { width: 74px; text-align: right; border: 0; background: transparent; outline: none; font: 650 26px var(--mono); -moz-appearance: textfield; appearance: textfield; }
.step-val input::-webkit-outer-spin-button, .step-val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-val span { color: var(--dim); font-size: 14px; min-width: 50px; }
.quote { margin: 16px 0; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); display: grid; gap: 8px; }
.q-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; gap: 10px; }
.q-row + .btn, .q-row + .q-row { margin-top: 0; }
.org-card .q-row { margin-bottom: 10px; }
.org-card .btn + .btn { margin-top: 8px; }
.slip { display: inline-flex; gap: 4px; }
.slip button { height: 26px; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--dim); font: 500 12px var(--mono); cursor: pointer; }
.slip button.on { color: var(--text); border-color: var(--line2); background: var(--card2); }
.closed { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(124, 92, 255, .1); border: 1px solid rgba(124, 92, 255, .3); color: #d6ccff; font-size: 13px; }
.hold-n { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.hold-n .mono { font-size: 34px; font-weight: 650; }
.hold-card .btn { margin-top: 12px; }
.my-passes { display: grid; gap: 8px; margin-top: 12px; }
.my-pass { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); font-size: 13px; }
.my-pass:hover { border-color: var(--line2); }
.door-link { display: flex; gap: 8px; margin-top: 10px; }
.door-link input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); font: 12px var(--mono); color: var(--dim); }

/* create */
.create { display: grid; grid-template-columns: 1fr 400px; gap: 40px; padding: 34px 0 60px; align-items: start; }
.create h1 { font-size: 40px; letter-spacing: -0.035em; margin: 0 0 8px; }
.create-form > p { margin: 0 0 22px; max-width: 620px; }
form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; font-size: 13px; color: var(--dim); }
.fld em { font-style: normal; color: var(--dim2); margin-left: 4px; }
.fld input, .fld textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .25); color: var(--text); outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld textarea:focus { border-color: rgba(180, 92, 255, .7); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
.fld input[type=datetime-local] { color-scheme: dark; }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.poster-fld { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: stretch; }
.fld-col { display: grid; gap: 12px; }
.poster-drop { position: relative; width: 148px; height: 148px; border-radius: 18px; border: 1px dashed var(--line2); background: rgba(0, 0, 0, .25); cursor: pointer; overflow: hidden; display: grid; place-items: center; transition: border-color .2s; }
.poster-drop:hover { border-color: rgba(180, 92, 255, .7); }
.poster-drop canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pd-hint { position: relative; text-align: center; font-size: 13px; color: var(--dim); }
.pd-hint small { color: var(--dim2); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); cursor: pointer; width: max-content; }
.switch input { display: none; }
.sw { width: 40px; height: 24px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line2); position: relative; transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .sw { background: var(--v); border-color: transparent; }
.switch input:checked + .sw::after { transform: translateX(16px); }
.gate-note { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 200, 87, .35); background: rgba(255, 200, 87, .07); color: #ffe2a3; font-size: 14px; margin-bottom: 18px; }
.sticky { position: sticky; top: 90px; display: grid; gap: 14px; }
.preview-ticket .tk-title { font-size: 24px; }
.preview-ticket .tk-stub img { width: 72px; height: 72px; }
.mini-facts { display: grid; gap: 10px; font-size: 13px; }
.mini-facts .q-row span:last-child { font-family: var(--mono); }

/* pass */
.pass-wrap { max-width: 440px; padding: 40px 0 60px; }
.pass { position: relative; border-radius: 26px; padding: 22px; overflow: hidden; background: linear-gradient(160deg, #241c44, #151320 55%, #1d1426); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 100px -40px rgba(124, 92, 255, .6); margin-bottom: 16px; }
.pass-holo { position: absolute; inset: -50%; background: conic-gradient(from 0deg, rgba(124, 92, 255, .0), rgba(124, 92, 255, .25), rgba(255, 79, 163, .25), rgba(182, 255, 92, .12), rgba(124, 92, 255, 0)); animation: spin 9s linear infinite; mix-blend-mode: screen; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.pass > *:not(.pass-holo) { position: relative; }
.pass-top { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .06em; font-size: 14px; }
.pass-top img { border-radius: 7px; }
.pass-state { margin-left: auto; font: 700 12px var(--mono); padding: 5px 10px; border-radius: 8px; background: rgba(182, 255, 92, .14); color: var(--good); letter-spacing: .08em; }
.pass-state.used { background: rgba(255, 255, 255, .1); color: var(--dim); }
.pass-name { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin-top: 22px; line-height: 1.1; }
.pass-when { color: var(--dim); margin-top: 6px; font-size: 14px; }
.pass-qr { margin: 22px auto 18px; width: 100%; max-width: 300px; aspect-ratio: 1; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.pass-qr svg { width: 100%; height: 100%; display: block; }
.pass-row { display: flex; justify-content: space-between; gap: 16px; }
.pass-row .v { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }
.pass-code { margin-top: 16px; font-size: 11px; color: var(--dim2); word-break: break-all; text-align: center; }
.pass.used .pass-qr { opacity: .25; filter: grayscale(1); }

/* door */
.door { max-width: 620px; padding: 26px 0 60px; }
.door-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.door-head h1 { margin: 4px 0; font-size: 30px; letter-spacing: -0.03em; }
.door-count { text-align: right; }
.door-count .mono { display: block; font-size: 44px; font-weight: 650; line-height: 1; }
.scanner { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #000; border: 1px solid var(--line2); }
.scanner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 14%; }
.scan-frame i { position: absolute; width: 38px; height: 38px; border: 4px solid #fff; border-radius: 6px; }
.scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.scan-line { position: absolute; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, transparent, var(--p), transparent); box-shadow: 0 0 18px var(--p); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 6%; } 50% { top: 94%; } }
.cam-start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.scan-result { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.scan-result.in { background: rgba(40, 120, 20, .92); }
.scan-result.used, .scan-result.wrong, .scan-result.invalid { background: rgba(150, 20, 30, .92); }
.scan-result.pending { background: rgba(120, 90, 10, .92); }
.sr-ic { font-size: 84px; line-height: 1; font-weight: 800; }
.sr-t { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.sr-s { font-size: 16px; opacity: .9; margin-top: 6px; }
.manual { display: flex; gap: 8px; margin: 14px 0; }
.manual input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .25); outline: none; font: 13px var(--mono); }

/* my tickets */
.mine-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); margin-bottom: 12px; }
.mine-row img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.mine-row h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.02em; }
.mine-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mine-n { font: 650 22px var(--mono); }

/* footer & toast */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px 0 40px; margin-top: 60px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.foot-l, .foot-r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-l img { border-radius: 6px; }
.foot-l > span:nth-child(2) { font-weight: 700; letter-spacing: .06em; }
.foot-r a { color: var(--dim); }
.foot-r a:hover { color: var(--text); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; max-width: min(560px, 92vw); display: flex; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 14px; background: rgba(24, 24, 32, .96); border: 1px solid var(--line2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); font-size: 14px; backdrop-filter: blur(14px); animation: rise .3s var(--ease); }
.toast.good { border-color: rgba(182, 255, 92, .4); }
.toast.bad { border-color: rgba(255, 107, 107, .45); }
.toast a { color: var(--good); font-weight: 600; white-space: nowrap; }

/* phones */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 10px; }
  .hero-art { height: 380px; }
  .hero-ticket { width: min(440px, 92%); }
  .steps { grid-template-columns: 1fr 1fr; }
  .ev-body, .create { grid-template-columns: 1fr; }
  .ev-side { position: static; }
  .create-preview { order: -1; }
  .sticky { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 14px; }
  .wrap, .top-in { width: calc(100% - 28px); }
  .nav, .bal, #createBtn { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-art { height: 400px; margin-top: 28px; }
  .hero-ticket { transform: translate(-50%, -50%) rotateZ(-2deg); }
  .hero-curve { height: 110px; }
  .float-card { display: none; }
  #xLink { display: none; }
  .top-in { gap: 10px; }
  .brand span { font-size: 14px; }
  .tk-title { font-size: 24px; }
  .tk-stub { width: 86px; }
  .steps, .facts { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .ev-head-in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ev-poster { width: 132px; height: 132px; }
  .chart-wrap { height: 230px; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .poster-fld { grid-template-columns: 1fr; }
  .mine-row { grid-template-columns: 56px 1fr; }
  .mine-row img { width: 56px; height: 56px; }
  .mine-act { grid-column: 1 / -1; justify-content: stretch; }
  .mine-act .btn { flex: 1; }
  .section { padding-top: 52px; }
}

/* ---------- polish: tilt & shine ---------- */
.tilt { transform-style: preserve-3d; transition: transform .35s var(--ease); }
.tilt .shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 45%), linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) calc(var(--mx, 50%) - 10%), rgba(180, 92, 255, .12) var(--mx, 50%), rgba(255, 79, 163, .1) calc(var(--mx, 50%) + 8%), transparent 70%); mix-blend-mode: screen; }
.tilt.lit .shine { opacity: 1; }
.hero-ticket.tilt { transform: translate(-50%, -50%) perspective(1200px) rotateX(calc(8deg + var(--rx, 0deg))) rotateY(calc(-14deg + var(--ry, 0deg))) rotateZ(2deg); }
.hero-ticket.tilt.lit { transform: translate(-50%, -50%) perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .12s linear; }
.preview-ticket.tilt, .pass.tilt { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.preview-ticket.tilt.lit, .pass.tilt.lit { transition: transform .12s linear; }
.fx-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 200; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- live tape ---------- */
.tape { display: flex; align-items: center; height: 40px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; font-size: 13px; }
.tape-k { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; height: 100%; font: 700 11px var(--mono); letter-spacing: .1em; color: var(--good); border-right: 1px solid var(--line); background: var(--bg); position: relative; z-index: 1; flex: none; }
.tape-run { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tape-in { display: inline-flex; gap: 34px; white-space: nowrap; padding-left: 24px; animation: tape 60s linear infinite; will-change: transform; }
.tape:hover .tape-in { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape-i { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); }
.tape-i b { color: var(--text); font-weight: 600; }
.tape-i .up { color: var(--good); font-family: var(--mono); }
.tape-i .dn { color: var(--bad); font-family: var(--mono); }
.tape-i .sym { font: 600 12px var(--mono); padding: 2px 7px; border-radius: 6px; background: var(--card2); color: var(--text); }

/* ---------- spotlight ---------- */
.spot { display: grid; grid-template-columns: 220px 1fr 340px; gap: 26px; align-items: center; padding: 18px; margin-bottom: 40px; border-radius: 24px; border: 1px solid rgba(255, 79, 163, .25); background: linear-gradient(120deg, rgba(124, 92, 255, .12), rgba(255, 79, 163, .08) 60%, rgba(255, 255, 255, .02)); position: relative; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.spot:hover { border-color: rgba(255, 79, 163, .5); transform: translateY(-2px); }
.spot::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 240px at 90% 0%, rgba(255, 79, 163, .16), transparent 60%); pointer-events: none; }
.spot-img img { width: 220px; height: 220px; border-radius: 18px; object-fit: cover; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9); }
.spot-body h3 { font-size: 34px; letter-spacing: -0.035em; margin: 12px 0 4px; line-height: 1.05; }
.spot-top { display: flex; gap: 10px; align-items: center; }
.chip.hot { background: rgba(255, 79, 163, .12); color: #ff9ccd; border-color: rgba(255, 79, 163, .35); }
.spot-row { display: flex; gap: 28px; margin: 18px 0 14px; }
.spot-row .v { display: block; font-size: 20px; font-weight: 600; margin-top: 2px; }
.spot-curve { width: 100%; height: 190px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: 10px; margin-bottom: 18px; }
.toolbar .search { flex: 1; margin: 0; }
.search kbd { font: 11px var(--mono); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line2); color: var(--dim2); }
.sort { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 13px; }
.sort select { height: 34px; border: 0; border-radius: 9px; background: var(--card2); color: var(--text); padding: 0 10px; font: 500 13px var(--sans); outline: none; cursor: pointer; color-scheme: dark; }

/* card extras */
.ev-card .price.up { animation: up 1.4s var(--ease); }
.ev-card .price.down { animation: dn 1.4s var(--ease); }
@keyframes up { 0% { color: var(--good); text-shadow: 0 0 18px rgba(182, 255, 92, .7); } 100% { color: var(--text); } }
@keyframes dn { 0% { color: var(--bad); text-shadow: 0 0 18px rgba(255, 107, 107, .6); } 100% { color: var(--text); } }
.ev-when { position: absolute; top: 14px; right: 14px; font: 600 11px var(--mono); color: var(--dim); padding: 4px 8px; border-radius: 8px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.ev-when.soon { color: var(--warn); border-color: rgba(255, 200, 87, .3); }
.ev-card:hover .ev-card-top img { transform: scale(1.04) rotate(-1deg); }
.ev-card-top img { transition: transform .4s var(--ease); }

/* ---------- playground ---------- */
.play { display: grid; grid-template-columns: 400px 1fr; gap: 18px; padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); }
.play-ctl { display: grid; gap: 18px; align-content: start; }
.rng { display: grid; gap: 10px; font-size: 14px; }
.rng > span { display: flex; justify-content: space-between; align-items: baseline; }
.rng b { font-size: 16px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, #7c5cff, #ff4fa3) 0 0 / var(--fill, 50%) 100% no-repeat, rgba(255, 255, 255, .1); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(180, 92, 255, .3), 0 4px 12px rgba(0, 0, 0, .5); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(180, 92, 255, .3); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 32px; min-width: 42px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line2); background: transparent; color: var(--dim); font: 600 13px var(--mono); cursor: pointer; transition: all .2s; }
.chips button:hover { color: var(--text); border-color: rgba(255, 255, 255, .25); }
.chips button.on { background: var(--text); color: #0b0b10; border-color: var(--text); }
.chips.quick { margin-top: 10px; display: grid; grid-template-columns: repeat(5, 1fr); }
.play-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.play-out div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.play-out b { display: block; font-size: 18px; margin-top: 4px; }
.play-viz { position: relative; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; }
.play-viz canvas { width: 100%; height: 440px; display: block; }
.play-legend, .seat-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--dim); padding: 6px 6px 0; }
.lgd { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lgd.a { background: var(--grad); }
.lgd.b { background: #fff; box-shadow: 0 0 0 2px rgba(182, 255, 92, .6); }
.play-legend .lgd.b { background: var(--good); box-shadow: none; }
.lgd.c { background: rgba(255, 255, 255, .2); }
.lgd.m { background: rgba(124, 180, 255, .55); }
.lgd.in { background: var(--good); }

/* ---------- event extras ---------- */
.ev-actions { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.ev-actions .countdown { margin-top: 0; }
.ev-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.seats-wrap { position: relative; margin-top: 12px; }
.seats-wrap canvas { width: 100%; display: block; cursor: pointer; }
.seat-tip { transform: translate(-50%, -120%); }
.seat-legend { padding: 0; }
#evPrice.up { animation: up 1.4s var(--ease); }
#evPrice.down { animation: dn 1.4s var(--ease); }
.pv-curve-card { padding: 16px; }
.pv-curve-card canvas { width: 100%; height: 120px; display: block; margin-top: 8px; }
.pv-ends { display: flex; justify-content: space-between; margin-top: 4px; }
.poster-drop.drag { border-color: var(--p); background: rgba(255, 79, 163, .08); }

@media (max-width: 1020px) {
  .spot { grid-template-columns: 160px 1fr; }
  .spot-img img { width: 160px; height: 160px; }
  .spot-curve { display: none; }
  .play { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .tape { height: 36px; }
  .spot { grid-template-columns: 1fr; }
  .spot-img img { width: 100%; height: 170px; }
  .play-viz canvas { height: 240px; }
  .spot-body h3 { font-size: 26px; }
  .toolbar { flex-direction: column; }
  .search kbd { display: none; }
  .play { padding: 14px; }
  .ev-btns { width: 100%; }
  .ev-btns .btn { flex: 1; }
}
.pass-row-in { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.mini-step { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.mini-step button { width: 32px; height: 32px; border: 0; background: var(--card2); cursor: pointer; font-size: 16px; }
.mini-step input { width: 44px; height: 32px; border: 0; background: rgba(0, 0, 0, .25); text-align: center; font: 600 14px var(--mono); outline: none; -moz-appearance: textfield; appearance: textfield; }
.mini-step input::-webkit-outer-spin-button, .mini-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#oddBtn { margin-top: 10px; }
.pass-lock { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 30px; background: rgba(14, 12, 22, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: inherit; }
.pl-ic { font-size: 40px; }
.pl-t { font-size: 22px; font-weight: 700; }
.pl-s { color: var(--dim); font-size: 14px; max-width: 300px; }
.scan-result.locked, .scan-result.retry { background: rgba(120, 90, 10, .92); }

.prose { max-width: 780px; padding: 40px 0 80px; }
.prose h1 { font-size: 42px; letter-spacing: -0.035em; margin: 10px 0 12px; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 34px 0 10px; }
.prose p, .prose li { color: rgba(243, 243, 248, .84); }
.prose li { margin: 6px 0; }
.prose code { font: 13px var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--card2); }
.prose a { color: #c8b9ff; }
.kicker a { color: var(--dim); }

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