:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1b1b1f;
  --surface-3: #232328;
  --line: #26262b;
  --line-2: #33333a;
  --text: #f4f4ef;
  --text-2: #b4b4ae;
  --muted: #76767e;
  --lime: #c8ff2e;
  --lime-dim: rgba(200, 255, 46, 0.12);
  --coral: #ff5a3c;
  --coral-dim: rgba(255, 90, 60, 0.13);
  --amber: #ffb224;
  --amber-dim: rgba(255, 178, 36, 0.13);
  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px;
}
* { 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.5 var(--display); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 500px at 85% -10%, rgba(200, 255, 46, 0.06), transparent 60%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.up { color: var(--coral); }
.down { color: var(--lime); }
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }

/* ---------- banner + nav ---------- */
.banner { background: var(--lime); color: #0a0a0b; font-size: 12.5px; font-weight: 600; text-align: center; padding: 6px 16px; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(10, 10, 11, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: 0.02em; font-size: 17px; white-space: nowrap; }
.logo.small { font-size: 14px; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200, 255, 46, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,255,46,.55); } 70% { box-shadow: 0 0 0 10px rgba(200,255,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,46,0); } }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.count { font-family: var(--mono); font-size: 11px; background: var(--lime); color: #000; border-radius: 999px; padding: 0 6px; min-width: 18px; text-align: center; line-height: 18px; }
.count:empty { display: none; }

/* ---------- search ---------- */
.search { position: relative; display: flex; align-items: center; }
.search input { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 40px 9px 38px; outline: none; transition: border-color .15s, background .15s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--lime); background: var(--surface-2); }
.search input::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search kbd { position: absolute; right: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 6px; }
.nav-search { flex: 1; max-width: 420px; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px; z-index: 50; box-shadow: 0 24px 60px rgba(0,0,0,.55); max-height: 70vh; overflow: auto; }
.suggest h6 { margin: 8px 10px 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.suggest a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 9px; font-size: 14px; }
.suggest a span:last-child { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.suggest a:hover, .suggest a.hl { background: var(--surface-3); }
.suggest .empty { padding: 12px; color: var(--muted); font-size: 14px; }

main { min-height: 70vh; padding-bottom: 60px; }
.loading { padding: 80px 0; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 28px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.hero h1 { font-size: clamp(44px, 8.4vw, 112px); line-height: .9; font-weight: 900; font-variation-settings: "wdth" 72; letter-spacing: -0.01em; text-transform: uppercase; margin: 16px 0 20px; }
.hero h1 .hl { color: var(--lime); }
.hero p { color: var(--text-2); font-size: 18px; max-width: 560px; margin: 0 0 28px; }
.hero .search { max-width: 640px; z-index: 5; }
.hero .search input { padding: 18px 20px 18px 50px; font-size: 17px; background: var(--surface); }
.hero .search .search-icon { left: 20px; width: 19px; height: 19px; }
.hero .search kbd { display: none; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.quick a { font-size: 13px; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; }
.quick a:hover { border-color: var(--lime); color: var(--text); }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; margin: 36px -16px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: scroll 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a { display: flex; gap: 10px; align-items: baseline; padding: 12px 22px; border-right: 1px solid var(--line); white-space: nowrap; font-size: 14px; }
.ticker a b { font-weight: 700; }
.ticker a .mono { font-size: 13px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .logo-dot { animation: none; } }

.statbar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); margin: 0 0 8px; }
.statbar > div { padding: 22px 20px 22px 0; }
.statbar > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.stat-num { font-family: var(--mono); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.stat-label { color: var(--text-2); font-size: 13px; margin-top: 4px; }
.stat-sub { color: var(--muted); font-size: 12px; }

/* ---------- sections ---------- */
.section { margin-top: 52px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: 0; line-height: 1; }
.section-head p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail > * { scroll-snap-align: start; }

/* ticket stub card */
.ticket { position: relative; display: grid; grid-template-columns: 74px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-height: 150px; transition: transform .18s ease, border-color .18s; }
.ticket:hover { transform: translateY(-3px); border-color: var(--line-2); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 66px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.ticket::before { top: -9px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -9px; clip-path: inset(0 0 50% 0); }
.t-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 2px dashed var(--line-2); padding: 12px 0; line-height: 1; }
.t-date .mon { font-family: var(--mono); font-size: 11px; color: var(--lime); letter-spacing: .1em; }
.t-date .day { font-size: 34px; font-weight: 900; font-variation-settings: "wdth" 75; margin: 4px 0; }
.t-date .dow { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.t-body { padding: 14px 14px 14px 16px; display: flex; flex-direction: column; min-width: 0; }
.t-top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.t-artist { font-size: 19px; font-weight: 800; font-variation-settings: "wdth" 85; line-height: 1.1; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-where { color: var(--text-2); font-size: 13px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-bottom { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.t-price { font-family: var(--mono); font-size: 24px; font-weight: 700; line-height: 1; }
.t-price small { display: block; white-space: nowrap; font-family: var(--display); font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* chips + signals */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; font-family: var(--display); }
.chip svg { width: 12px; height: 12px; flex: none; }
.chip.down, .sig-wait { background: var(--lime-dim); color: var(--lime); }
.chip.up, .sig-sell { background: var(--coral-dim); color: var(--coral); }
.sig-hold { background: var(--amber-dim); color: var(--amber); }
.sig-buy { background: var(--surface-3); color: var(--text); }
.chip.flat { background: var(--surface-3); color: var(--text-2); }
.chip.soldout { background: transparent; color: var(--text-2); border: 1px solid var(--line-2); }

.star { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--muted); transition: all .15s; }
.star svg { width: 15px; height: 15px; }
.star:hover { color: var(--text); border-color: var(--text-2); }
.star[aria-pressed="true"] { color: #000; background: var(--lime); border-color: var(--lime); }
.btn-watch { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; cursor: pointer; font-size: 14px; }
.btn-watch svg { width: 15px; height: 15px; }
.btn-watch[aria-pressed="true"] { background: var(--lime); color: #000; border-color: var(--lime); }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; }
.pill:hover { color: var(--text); }
.pill[aria-pressed="true"] { background: var(--text); color: #000; border-color: var(--text); }
.select { font: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; }

/* list rows */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px minmax(0, 1.6fr) 120px 80px 96px minmax(0, 1.2fr) 36px; gap: 16px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background .15s; }
.row:hover { background: var(--bg-2); }
.r-date { line-height: 1.05; }
.r-date .mon { font-family: var(--mono); font-size: 11px; color: var(--lime); letter-spacing: .1em; }
.r-date .day { font-size: 26px; font-weight: 900; font-variation-settings: "wdth" 75; }
.r-artist { font-weight: 800; font-size: 17px; font-variation-settings: "wdth" 90; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-where { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-num { font-family: var(--mono); font-weight: 700; font-size: 16px; }
.r-label { display: block; font-family: var(--display); font-size: 11px; color: var(--muted); font-weight: 500; }
.r-sigs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.empty-state { padding: 48px 0; color: var(--text-2); }
.empty-state h3 { font-size: 22px; margin: 0 0 6px; color: var(--text); }

/* ---------- show page ---------- */
.crumbs { padding-top: 26px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.show-hero { padding: 18px 0 26px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.show-hero h1 { margin: 0; font-size: clamp(42px, 7vw, 92px); line-height: .9; font-weight: 900; font-variation-settings: "wdth" 72; text-transform: uppercase; }
.show-hero h1 a:hover { color: var(--lime); }
.show-meta { margin-top: 12px; color: var(--text-2); font-size: 15px; display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
.show-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

.verdicts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; overflow: hidden; }
.verdict .who { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.verdict .act { font-size: clamp(34px, 5vw, 52px); font-weight: 900; font-variation-settings: "wdth" 75; text-transform: uppercase; line-height: 1; margin: 10px 0 12px; display: flex; align-items: center; gap: 12px; }
.verdict .act svg { width: 30px; height: 30px; }
.verdict.v-wait .act, .verdict.v-wait .glow { color: var(--lime); }
.verdict.v-sell .act { color: var(--coral); }
.verdict.v-hold .act { color: var(--amber); }
.verdict p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.verdict p strong { color: var(--text); }
.calc { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); }
.calc input { width: 96px; font-family: var(--mono); font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px; padding: 8px 10px; }
.calc input:focus { outline: none; border-color: var(--lime); }
.calc-out { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.calc-out b { font-family: var(--mono); color: var(--text); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.metric { padding: 18px 20px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric .k { font-size: 12.5px; color: var(--text-2); }
.metric .v { font-family: var(--mono); font-size: 28px; font-weight: 700; margin-top: 2px; letter-spacing: -0.02em; }
.metric .s { font-size: 12px; color: var(--muted); margin-top: 2px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel h3 { margin: 0; font-size: 18px; font-weight: 800; font-variation-settings: "wdth" 90; text-transform: uppercase; letter-spacing: .01em; }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; color: var(--text-2); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.chart-box { position: relative; height: 340px; }
.note { color: var(--muted); font-size: 12.5px; margin-top: 10px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
th.n { font-family: var(--display); }
.table-scroll { overflow-x: auto; margin: 0 -10px; }
tr.best td { color: var(--lime); font-weight: 700; }
tr.best td a { color: var(--lime); }
td a:hover { text-decoration: underline; }
.tag { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: #000; padding: 2px 6px; border-radius: 5px; margin-left: 8px; }
.sub { display: block; color: var(--muted); font-size: 12px; }
details summary { cursor: pointer; color: var(--text-2); font-size: 13px; margin-top: 12px; }
details summary:hover { color: var(--text); }
.method ol { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 14px; }
.method li { margin-bottom: 6px; }

/* artist page */
.artist-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artist-stats > div { padding: 18px 20px 18px 0; }
.artist-stats > div + div { border-left: 1px solid var(--line); padding-left: 20px; }

/* watchlist */
.wl-row { display: grid; grid-template-columns: 64px minmax(0, 1.4fr) 110px 110px minmax(0, 1fr) 210px 36px; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.wl-inputs { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.wl-inputs input { width: 72px; font-family: var(--mono); font-size: 13px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 8px; }
.wl-inputs input.qty { width: 46px; }
.wl-inputs input:focus { outline: none; border-color: var(--lime); }

.footer { border-top: 1px solid var(--line); padding: 28px 16px 40px; color: var(--muted); font-size: 12.5px; }
.footer p { max-width: 680px; margin: 10px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links a { padding: 8px 10px; }
  .statbar, .metrics, .artist-stats { grid-template-columns: 1fr 1fr; }
  .statbar > div:nth-child(3), .artist-stats > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .statbar > div:nth-child(4), .artist-stats > div:nth-child(4) { border-top: 1px solid var(--line); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .verdicts { grid-template-columns: 1fr; }
  .row { grid-template-columns: 52px minmax(0, 1fr) auto 36px; grid-template-areas: "d a p s" "d g g g"; row-gap: 8px; }
  .row .c-date { grid-area: d; align-self: start; } .row .c-main { grid-area: a; } .row .c-price { grid-area: p; text-align: right; }
  .row .c-7d, .row .c-exp { display: none; } .row .c-sigs { grid-area: g; justify-content: flex-start; } .row .c-star { grid-area: s; align-self: start; }
  .wl-row { grid-template-columns: 52px minmax(0, 1fr) 36px; grid-template-areas: "d a s" "d p p" "d g g" "d i i"; row-gap: 10px; }
  .wl-row .c-sig { grid-area: g; }
  .wl-row .c-date { grid-area: d; align-self: start; } .wl-row .c-main { grid-area: a; } .wl-row .c-star { grid-area: s; }
  .wl-row .c-prices { grid-area: p; display: flex; gap: 18px; flex-wrap: wrap; } .wl-row .c-inputs { grid-area: i; }
  .wl-row .c-now, .wl-row .c-add { display: contents; }
}
@media (max-width: 640px) {
  .nav-inner { gap: 10px; }
  .nav .logo { font-size: 0; gap: 0; } .nav .logo .logo-dot { width: 12px; height: 12px; }
  .nav-search kbd { display: none; }
  .nav-links a[data-nav="home"] { display: none; }
  .hero { padding-top: 40px; }
  .hero p { font-size: 16px; }
  .stat-num { font-size: 26px; }
  .metric .v { font-size: 22px; }
  .chart-box { height: 270px; }
  .panel { padding: 16px; }
  .verdict { padding: 18px; }
}
