/* ============ SUMO · liquid glass ============ */
:root {
  --bg: #07080d;
  --text: #f6f7fb;
  --muted: rgba(235,238,255,.62);
  --faint: rgba(235,238,255,.38);
  --green: #7cf5b0;
  --green-2: #34d399;
  --yellow: #ffe066;
  --red: #ff7a8a;
  --glass: linear-gradient(140deg, rgba(255,255,255,.13), rgba(255,255,255,.045) 55%, rgba(255,255,255,.08));
  --glass-strong: linear-gradient(140deg, rgba(255,255,255,.2), rgba(255,255,255,.07) 60%, rgba(255,255,255,.12));
  --edge: rgba(255,255,255,.18);
  --edge-hi: rgba(255,255,255,.42);
  --blur: blur(22px) saturate(170%);
  --shadow: 0 24px 60px rgba(0,0,0,.42), 0 2px 8px rgba(0,0,0,.25);
  --r-xl: 28px; --r-lg: 22px; --r-md: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 Inter, -apple-system, system-ui, sans-serif; overflow-x: hidden; overflow-anchor: none; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.g { color: var(--green); }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 18px; position: relative; z-index: 1; }

/* ---------- living background behind the glass ---------- */
.bg { position: fixed; inset: -10%; z-index: 0; pointer-events: none; overflow: hidden; filter: blur(60px) saturate(140%); }
.bg i { position: absolute; border-radius: 50%; opacity: .55; animation: float 26s ease-in-out infinite alternate; }
.bg i:nth-child(1) { width: 46vmax; height: 46vmax; left: -6%; top: -8%; background: radial-gradient(circle, #1fd6a0, transparent 65%); }
.bg i:nth-child(2) { width: 40vmax; height: 40vmax; right: -4%; top: 6%; background: radial-gradient(circle, #6d5dfc, transparent 65%); animation-duration: 32s; }
.bg i:nth-child(3) { width: 38vmax; height: 38vmax; left: 28%; bottom: -14%; background: radial-gradient(circle, #ff5fa2, transparent 65%); animation-duration: 38s; opacity: .4; }
.bg i:nth-child(4) { width: 30vmax; height: 30vmax; right: 18%; bottom: 8%; background: radial-gradient(circle, #2bb4ff, transparent 65%); animation-duration: 29s; opacity: .45; }
@keyframes float { to { transform: translate(6vmax, 4vmax) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .bg i { animation: none; } }
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(1200px 700px at 50% 0%, rgba(7,8,13,0), rgba(7,8,13,.55)); }

/* ---------- the glass recipe ---------- */
.glass, .box, .koth, .ringbox, .introcard, .tile, .flow .node, .card, .stylebtn, .pcard, .bar-inner, .search, .tape {
  position: relative; background: var(--glass); border: 1px solid var(--edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--edge-hi), inset 0 -1px 0 rgba(255,255,255,.04), var(--shadow);
}
/* specular highlight sweeping the top-left of every glass surface */
.box::before, .koth::before, .ringbox::before, .introcard::before, .tile::before, .flow .node::before, .card::before, .pcard::before, .bar-inner::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.16), transparent 45%), radial-gradient(80% 40% at 100% 100%, rgba(255,255,255,.05), transparent 60%);
}

/* ---------- buttons ---------- */
.gbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 10px 18px; cursor: pointer; white-space: nowrap;
  font: 700 14px Inter, sans-serif; color: #06210f; text-decoration: none; border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(180deg, #a6ffcf, #5ee6a1); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 24px rgba(52,211,153,.35); transition: transform .15s, box-shadow .15s; }
.gbtn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 30px rgba(52,211,153,.5); }
.gbtn:active { transform: translateY(0) scale(.98); }
.gbtn.ghost { color: var(--text); background: var(--glass-strong); border-color: var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 6px 18px rgba(0,0,0,.25); }
.gbtn.wide { width: 100%; padding: 13px; margin-top: 16px; font-size: 15px; }
.link { background: none; border: 0; color: var(--text); font: 600 14px Inter, sans-serif; cursor: pointer; padding: 0; }
.link:hover { color: var(--green); }
.chip { font: 500 13px "IBM Plex Mono", monospace; color: var(--text); border-radius: 999px; padding: 8px 12px; cursor: pointer; border: 1px solid var(--edge);
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--edge-hi); }
.chip i { font-style: normal; color: var(--muted); margin-left: 6px; }

/* ---------- floating capsule nav ---------- */
.bar { position: sticky; top: 12px; z-index: 20; padding: 0 18px; margin-top: 12px; }
.bar-inner { max-width: 1220px; margin: 0 auto; border-radius: 999px; padding: 8px 10px 8px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); font: 800 21px Inter, sans-serif; letter-spacing: -.03em; text-decoration: none !important; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.mode { font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--muted); }
.mode.live { background: rgba(124,245,176,.18); color: var(--green); }
.mode.paper { background: rgba(255,224,102,.18); color: var(--yellow); }
.links { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.22); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); }
.links a { color: var(--muted); font-weight: 600; font-size: 13.5px; padding: 6px 13px; border-radius: 999px; transition: background .15s, color .15s; }
.links a:hover { color: var(--text); text-decoration: none; background: rgba(255,255,255,.08); }
.links a.on { color: var(--text); background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.barright { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 820px) { .bar-inner { border-radius: 24px; } .links { order: 3; width: 100%; justify-content: space-between; } .barright { margin-left: auto; } }

/* winners tape */
.tape { max-width: 1220px; margin: 12px auto 0; border-radius: 999px; overflow: hidden; white-space: nowrap; box-shadow: inset 0 1px 0 var(--edge-hi); }
.tape .track { display: inline-flex; gap: 40px; padding: 7px 0 7px 20px; animation: tape 44s linear infinite; font-size: 13px; color: var(--muted); }
.tape .track span { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.tape b { color: var(--text); }
.tape b.g { color: var(--green); }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape .track { animation: none; } }
.tapewrap { padding: 0 18px; position: relative; z-index: 1; }

/* ---------- hero ---------- */
.top { text-align: center; padding: 40px 0 6px; }
.top h1 { margin: 0; font: 800 clamp(40px, 7vw, 76px)/1 Inter, sans-serif; letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top h1 em { font-style: normal; background: linear-gradient(90deg, #7cf5b0, #6dd3ff 50%, #b69cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top .tag { color: var(--muted); font-size: clamp(15px, 2vw, 18px); max-width: 620px; margin: 14px auto 0; }
.top .tag b { color: var(--text); font-weight: 600; }
.search { display: flex; gap: 6px; max-width: 520px; margin: 22px auto 0; padding: 6px; border-radius: 999px; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); padding: 8px 12px; font: 500 14px "IBM Plex Mono", monospace; outline: none; }
.search input::placeholder { color: var(--faint); }
.heroactions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.meinfo { color: var(--muted); font-size: 14px; margin: 12px auto 0; max-width: 760px; min-height: 1em; }
.meinfo b { color: var(--text); }
.stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px auto 0; }
.stat { padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.stat b { color: var(--text); font: 600 14px "IBM Plex Mono", monospace; margin-left: 6px; }
.stat b.g { color: var(--green); }

/* ---------- king of the hill ---------- */
.koth { max-width: 560px; margin: 26px auto 4px; border-radius: var(--r-lg); padding: 14px 18px; border-color: rgba(255,224,102,.45);
  box-shadow: inset 0 1px 0 rgba(255,240,180,.6), 0 0 0 1px rgba(255,224,102,.12), 0 18px 50px rgba(255,200,60,.14), var(--shadow); }
.kothtag { color: var(--yellow); font: 700 12px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; position: relative; }
.kothbody { display: flex; align-items: center; gap: 16px; position: relative; }
.kothname { font-size: 16px; font-weight: 600; }
.kothmeta { color: var(--muted); font-size: 13px; }
.kothwon { margin-left: auto; text-align: right; }
.kothwon span { display: block; color: var(--muted); font-size: 12px; }
.kothwon b { color: var(--green); font-size: 19px; }

/* pill avatar: half color, half white, glossy */
/* flat cartoon capsule: colored half + white half, dark outline and seam, shadow band underneath */
.pill { display: inline-block; flex: none; box-sizing: border-box; width: 34px; height: 16px; border-radius: 99px; transform: rotate(-35deg); vertical-align: middle;
  border: 2px solid #12302a;
  background:
    linear-gradient(180deg, transparent 64%, rgba(0,0,0,.2) 64%),
    linear-gradient(90deg, var(--c, #4fcf8a) calc(50% - 1px), #12302a calc(50% - 1px) calc(50% + 1px), #f8faf9 calc(50% + 1px));
  box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.pill.big { border-width: 3px; }
.pill.big { width: 72px; height: 32px; }

/* ---------- fight ---------- */
.fight { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-top: 22px; align-items: start; }
@media (max-width: 940px) { .fight { grid-template-columns: 1fr; } }
.ringbox { border-radius: var(--r-xl); overflow: hidden; }
#cv { display: block; width: 100%; height: min(76vh, 740px); min-height: 380px; position: relative; }
.ringbar { position: relative; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--muted); background: rgba(0,0,0,.12); }
.follow { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.follow input { accent-color: var(--green-2); }
.overlay { position: absolute; inset: 0 0 44px 0; display: none; align-items: center; justify-content: center; text-align: center; pointer-events: none; padding: 16px; z-index: 2; }
.overlay.on { display: flex; }
.overlay .cd { font: 800 clamp(64px, 12vw, 124px)/1 Inter, sans-serif; letter-spacing: -.05em;
  background: linear-gradient(180deg, #ffffff, #7cf5b0); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 30px rgba(124,245,176,.35)); }
.overlay .msg { font: 700 clamp(15px, 2.4vw, 20px)/1.3 Inter, sans-serif; margin-top: 8px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.podium { pointer-events: auto; max-width: 92%; text-align: left; border-radius: var(--r-lg); padding: 18px 20px; background: var(--glass-strong); border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); box-shadow: inset 0 1px 0 var(--edge-hi), var(--shadow); }
.podium h3 { margin: 0 0 10px; font-size: 18px; }
.podium .row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; }
.podium .row b { margin-left: auto; color: var(--green); padding-left: 14px; }
.podium .ver { color: var(--green); font-size: 13px; margin-top: 8px; }

.side { display: grid; gap: 12px; }
.box { border-radius: var(--r-lg); padding: 14px 16px; }
.box > * { position: relative; }
.box .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.box .row.small { margin-top: 12px; font-size: 12px; }
.box .big { font-size: 26px; letter-spacing: -.02em; }
.box .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.boxhead { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; font-size: 12px; text-align: center; }
.split span { padding: 8px 4px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); display: grid; gap: 2px; }
.split b { font-size: 13px; }
.split i { font-style: normal; color: var(--muted); }
.curve { height: 10px; border-radius: 99px; background: rgba(0,0,0,.3); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); overflow: hidden; margin-top: 8px; }
.curve.slim { height: 6px; margin-top: 5px; }
.curve .fill { height: 100%; border-radius: 99px; transition: width .4s; background: linear-gradient(180deg, #b8ffd8, #34d399); box-shadow: 0 0 12px rgba(52,211,153,.6); }
.curve .fill.y { background: linear-gradient(180deg, #fff1a8, #f5b83a); box-shadow: 0 0 12px rgba(245,184,58,.5); }
.standings { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; min-height: 236px; }
.standings li { display: flex; align-items: center; gap: 9px; font-size: 13px; padding: 4px 6px; border-radius: 10px; }
.standings li:first-child:not(.muted) { background: rgba(255,255,255,.06); }
.standings .pl { width: 18px; color: var(--faint); font-family: "IBM Plex Mono", monospace; }
.standings .pill { width: 24px; height: 11px; }
.standings .w { font-family: "IBM Plex Mono", monospace; }
.standings .st { margin-left: auto; color: var(--muted); font-size: 12px; }
.standings li.me .w { color: var(--yellow); font-weight: 600; }
.standings li.outrow { opacity: .45; }

/* ---------- sections, tables ---------- */
section.box { margin-top: 16px; }
.tabs { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 10px; }
.tabs b { font-size: 16px; }
.tablewrap { overflow-x: auto; }
.tt { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
.tt th { text-align: left; color: var(--faint); font-weight: 500; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.tt td { padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.06); white-space: nowrap; font-family: "IBM Plex Mono", monospace; }
.tt tbody tr { transition: background .15s; }
.tt tbody tr:hover { background: rgba(255,255,255,.05); }
.tt td .pill { width: 22px; height: 10px; margin-right: 8px; }
.tt .ko { color: var(--red); }
.tt .gain { color: var(--green); }
.tt button { font: 600 12px Inter, sans-serif; color: var(--text); border-radius: 999px; padding: 5px 12px; cursor: pointer; border: 1px solid var(--edge); background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.tt button:hover { background: rgba(255,255,255,.16); }
.knock .tablewrap { max-height: 280px; overflow-y: auto; }

/* ---------- styles ---------- */
.styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (max-width: 820px) { .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stylebtn { text-align: left; display: grid; gap: 4px; padding: 14px; border-radius: var(--r-md); color: var(--text); cursor: pointer; font: inherit; transition: transform .15s, border-color .15s; }
.stylebtn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.32); }
.stylebtn.on { border-color: rgba(124,245,176,.75); box-shadow: inset 0 1px 0 var(--edge-hi), 0 0 0 1px rgba(124,245,176,.5), 0 10px 34px rgba(52,211,153,.28); }
.stylebtn.on b::after { content: " ✓"; color: var(--green); }
.stylebtn .si { font-size: 26px; }
.stylebtn b { font-size: 15px; }
.stylebtn .sb { color: var(--muted); font-size: 12.5px; }
.stylebtn .sp { color: var(--green); font: 500 12px "IBM Plex Mono", monospace; min-height: 1em; }
.note { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 1em; position: relative; }
.note b { color: var(--text); }
.note.ok { color: var(--green); }
.note.warn { color: var(--yellow); }
.note.bad { color: var(--red); }
.note a { color: var(--green); font-weight: 700; }

/* ---------- board ---------- */
#board { margin-top: 34px; }
.sechead { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sechead h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.pcard { display: flex; gap: 14px; padding: 12px; border-radius: var(--r-lg); color: var(--text); text-decoration: none !important; transition: transform .15s; }
.pcard:hover { transform: translateY(-2px); }
.pcard .av { position: relative; width: 84px; height: 84px; flex: none; border-radius: 18px; background: rgba(0,0,0,.25); box-shadow: inset 0 1px 3px rgba(0,0,0,.4); display: grid; place-items: center; }
.pcard .av .pill { width: 56px; height: 26px; }
.pcard .info { position: relative; min-width: 0; font-size: 13px; display: grid; gap: 2px; align-content: start; }
.pcard .who { font: 600 14px "IBM Plex Mono", monospace; }
.pcard .meta { color: var(--muted); }
.pcard .won { color: var(--green); font-weight: 700; }
.pcard .wt { color: var(--muted); font-size: 12px; }
.pcard .curve { height: 6px; margin-top: 4px; }
.pcard.me .who { color: var(--yellow); }

/* ---------- payouts page (shared) ---------- */
.pagehead { text-align: center; padding: 40px 0 6px; }
.pagehead h1 { font: 800 clamp(32px, 5.5vw, 56px)/1.05 Inter, sans-serif; margin: 0; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagehead p { color: var(--muted); max-width: 640px; margin: 12px auto 0; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
@media (max-width: 920px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { border-radius: var(--r-lg); padding: 14px 16px; }
.tile span { position: relative; display: block; font-size: 12px; color: var(--muted); }
.tile b { position: relative; display: block; font: 600 22px "IBM Plex Mono", monospace; margin-top: 4px; }
.tile.gold b { color: var(--green); }
.block { margin-top: 34px; }
h2 { font-size: 22px; margin: 0 0 12px; letter-spacing: -.02em; }
.h2row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.flow { display: flex; align-items: stretch; }
.flow .node { flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); padding: 16px; }
.flow .node > * { position: relative; }
.flow .node.win { border-color: rgba(124,245,176,.6); }
.flow .ic { font-size: 22px; }
.flow h3 { margin: 4px 0; font-size: 15px; }
.flow p { margin: 4px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.flow p b { color: var(--text); }
.flow .arrow { flex: 0 0 30px; position: relative; }
.flow .arrow::before { content: ""; position: absolute; left: 6px; right: 10px; top: 50%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.2), var(--green)); }
.flow .arrow::after { content: ""; position: absolute; right: 5px; top: calc(50% - 5px); border: 6px solid transparent; border-left-color: var(--green); border-right: 0; }
.podsplit { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .flow { flex-direction: column; }
  .flow .arrow { flex-basis: 26px; }
  .flow .arrow::before { left: 50%; right: auto; top: 4px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(255,255,255,.2), var(--green)); }
  .flow .arrow::after { left: calc(50% - 5px); right: auto; top: auto; bottom: 2px; border: 6px solid transparent; border-top-color: var(--green); border-bottom: 0; }
}
.chartbox { border-radius: var(--r-xl); overflow: hidden; height: 200px; position: relative; background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--edge-hi), var(--shadow); }
.chartbox.live { height: 520px; }
.chartbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.empty-chart { height: 100%; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 20px; color: var(--muted); position: relative; }
.empty-chart b { color: var(--text); }
.card { border-radius: var(--r-lg); }
.barcard { padding: 18px 16px 12px; }
.bars { position: relative; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: 220px auto; }
.bars .yaxis { grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; font: 500 11px "IBM Plex Mono", monospace; color: var(--faint); padding-right: 8px; text-align: right; transform: translateY(-6px); height: calc(100% + 12px); }
.bars .plot { grid-row: 1; grid-column: 2; position: relative; border-bottom: 1px solid rgba(255,255,255,.14); }
.bars .grid { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.07); }
.bars .cols { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.bars .col { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; outline: none; min-width: 3px; }
.bars .bar { width: 100%; max-width: 28px; margin: 0 auto; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #b8ffd8, #34d399); box-shadow: 0 0 10px rgba(52,211,153,.4); }
.bars .col:hover .bar, .bars .col:focus .bar { filter: brightness(1.15); }
.bars .xlabel { grid-column: 2; font-size: 12px; color: var(--faint); margin-top: 6px; }
.bars .empty-chart { grid-column: 1 / -1; grid-row: 1 / -1; }
.tip { position: absolute; z-index: 3; width: 160px; border-radius: 14px; padding: 9px 11px; font-size: 13px; display: grid; gap: 2px; pointer-events: none;
  background: rgba(20,22,32,.75); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.tip span { color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 920px) { .two { grid-template-columns: 1fr; } }
.hist { width: 100%; border-collapse: collapse; font-size: 13px; }
.hist th { text-align: left; color: var(--faint); font-weight: 500; font-size: 12px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.hist td { padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.06); white-space: nowrap; font-family: "IBM Plex Mono", monospace; }
.hist td.amt { color: var(--green); }
.block .tablewrap { border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 var(--edge-hi), var(--shadow); }
.foot { margin: 46px auto 36px; color: var(--faint); font-size: 12px; text-align: center; }
.foot a { overflow-wrap: anywhere; }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto;
  background: rgba(5,6,10,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.introcard { width: 100%; max-width: 540px; margin: auto 0; border-radius: var(--r-xl); padding: 26px 24px 20px; background: var(--glass-strong); animation: pop .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.introcard > * { position: relative; }
.introcard .x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(255,255,255,.08); color: var(--muted); font-size: 14px; cursor: pointer; z-index: 2; }
.introcard h2 { text-align: center; font-size: 26px; margin: 0 0 8px; letter-spacing: -.03em; }
.introcard .lead { color: var(--muted); text-align: center; margin: 0 0 16px; }
.introcard .lead b { color: var(--text); }
.howlist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; font-size: 14px; }
.howlist li { color: rgba(246,247,251,.85); padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.howlist b { color: var(--text); }
.fine { color: var(--faint); font-size: 12px; margin: 10px 0 0; }
.fine.center { text-align: center; }
.checkrow { display: grid; gap: 8px; margin-top: 14px; }
.checkrow .search { margin: 0; max-width: none; }
.checkrow .link { justify-self: center; color: var(--muted); }
