:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-soft: cubic-bezier(0.34, 1.3, 0.64, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --bg: #03050a;
  --panel: rgba(12, 16, 24, 0.84);
  --edge: rgba(255, 255, 255, 0.075);
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, 0.62);
  --ink-3: rgba(255, 255, 255, 0.4);
  --ink-4: rgba(255, 255, 255, 0.2);
  --line: rgba(255, 255, 255, 0.075);
  /* the hive's own colour (its mark, your seat, its positions, the live minute): one place to change it.
     Orbit, picked 12-01 to sit in Elysium's world (sunlit sky over space black); it was gold until then. */
  --hive: #9fd0ff;
  --hive-rgb: 159, 208, 255;
  --hive-hi: #e6f3ff;
  --hive-lo: #4a86c9;
  --hive-soft: rgba(var(--hive-rgb), 0.12);
  --down: #ff6159;
  --light-pill: linear-gradient(180deg, #ffffff 0%, #e4e4e4 55%, #d2d2d2 100%);
  --light-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, 0.16), 0 10px 26px -12px rgba(0, 0, 0, 0.9);
  --dark-pill: linear-gradient(180deg, #2c2c2c 0%, #1b1b1b 60%, #151515 100%);
  --dark-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.055), 0 10px 26px -14px rgba(0, 0, 0, 0.95);
  --well: #090c12;
  --well-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body { margin: 0; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
body::before { content: ""; position: fixed; inset: -4%; z-index: -1; pointer-events: none; opacity: 0.75; background: url("brand/ribbons.svg") center / cover no-repeat; animation: pageLight 46s ease-in-out infinite alternate; }
@keyframes pageLight { 0% { transform: translate3d(-1.5%, 1%, 0) scale(1.01); } 100% { transform: translate3d(1.5%, -1%, 0) scale(1.05) rotate(0.6deg); } }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a, button, .chip, .win, .now { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn, .vbtn, .chip, .seg button, .stepper button, .now, .win, .wallet-row { -webkit-user-select: none; user-select: none; }
h1, h2, h3, p { margin: 0; }
section[id], main[id] { scroll-margin-top: 80px; }
.ic { width: 14px; height: 14px; flex: none; }
.meta { font-size: 12.5px; color: var(--ink-3); }
.down { color: var(--down); }
.cents { color: var(--ink-3); font-size: 0.56em; letter-spacing: -0.02em; }
.wordmark { font-size: 12px; font-weight: 600; letter-spacing: 0.4em; }
h2 { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

/* ---- buttons and controls ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform 160ms var(--ease-out), filter 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--light-pill); color: #0a0a0a; box-shadow: var(--light-shadow); }
.btn-wallet { background: var(--dark-pill); color: var(--ink); box-shadow: var(--dark-shadow); }
.btn-wallet::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hive); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--well); box-shadow: var(--well-shadow); flex: none; }
.seg button { height: 30px; min-width: 48px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: color 200ms ease, transform 160ms var(--ease-out); }
.seg button:active { transform: scale(0.96); }
.seg button.is-on { background: var(--light-pill); color: #0a0a0a; box-shadow: var(--light-shadow); }
.seg.small button { height: 26px; min-width: 40px; padding: 0 11px; font-size: 12px; }
.stepper { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 3px; border-radius: 999px; background: var(--well); box-shadow: var(--well-shadow); }
.stepper button { width: 32px; height: 32px; border-radius: 50%; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 17px; line-height: 1; display: grid; place-items: center; transition: transform 160ms var(--ease-out), opacity 200ms ease; }
.stepper button:active { transform: scale(0.9); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper b { min-width: 34px; text-align: center; font-family: var(--mono); font-size: 14px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .vbtn:hover, .stepper button:not(:disabled):hover, .chip:hover, .now:hover { filter: brightness(1.12); }
  .nav a:hover { color: var(--ink); }
}

/* ---- top bar ---- */
/* the public preview's line at the top: what this is, in one sentence */
.notice { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 16px; font-size: 12.5px; color: var(--ink-2); text-align: center; background: linear-gradient(90deg, rgba(var(--hive-rgb), 0.03), rgba(var(--hive-rgb), 0.11), rgba(var(--hive-rgb), 0.03)); border-bottom: 1px solid var(--line); }
.notice[hidden] { display: none; }
.bar {
  position: sticky; top: 0; z-index: 20; height: 64px; padding: 0 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px;
  background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 12px; }
.mark img { width: 26px; height: 26px; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink-2); transition: color 200ms ease; }
.bar-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 20px; }
.ticker { display: flex; align-items: baseline; gap: 8px; }
.tk-coin { color: var(--ink-3); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.tk-px { font-family: var(--mono); font-size: 14px; font-weight: 600; min-width: 8.5ch; text-align: right; }

/* ---- the stage ---- */
.stage { position: relative; max-width: 1120px; margin: 0 auto; padding: 30px 28px 8px; text-align: center; }
.acct { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.acct-k { font-size: 14px; color: var(--ink-3); }
.acct-bal { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.acct-chg { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.now { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 13px; font-weight: 600; }
.now .k { color: var(--ink-3); font-weight: 500; }
.now .ic { width: 13px; height: 13px; }

.arena { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 44px; margin-top: 26px; }
.team { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: opacity 300ms ease; }
.team-short { align-items: flex-end; text-align: right; }
.team-long { align-items: flex-start; text-align: left; }
.team-head { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.team-pct { font-family: var(--display); font-size: 68px; font-weight: 600; letter-spacing: -0.05em; line-height: 0.95; transition: color 300ms ease; }
.team-pct small { font-size: 0.42em; color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.team.ahead .team-pct { color: #fff; text-shadow: 0 0 30px rgba(255, 255, 255, 0.25); }
.team:not(.ahead) .team-pct { color: var(--ink-2); }
.team.won .team-pct { color: var(--hive); text-shadow: 0 0 32px rgba(var(--hive-rgb), 0.45); }
.team.lost { opacity: 0.4; }
.team-n { font-size: 12.5px; color: var(--ink-3); }

/* the crowd: the latest voters sit in a small honeycomb, a new one pops in each time someone votes */
.crowd { position: relative; width: min(100%, 236px); aspect-ratio: 236 / 150; }
.dot { position: absolute; width: 13.4%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); transition: box-shadow 300ms ease; }
.dot i { position: absolute; inset: 0; border-radius: 50%; opacity: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 10px -4px rgba(0, 0, 0, 0.8); transition: opacity 280ms ease; }
.dot.on i { opacity: 1; }
.dot.you { box-shadow: 0 0 0 2px #000, 0 0 0 3.5px var(--hive), 0 0 16px rgba(var(--hive-rgb), 0.5); z-index: 2; }
.dot.whale { box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(255, 255, 255, 0.85); }
/* your vote on its way from the button to its seat */
.fly { position: fixed; z-index: 45; pointer-events: none; }
.fly i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--hive-hi), var(--hive) 55%, var(--hive-lo)); box-shadow: 0 0 18px rgba(var(--hive-rgb), 0.65), 0 0 0 2px #000; }
.pop-label { position: absolute; top: 46%; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink); padding: 3px 8px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); pointer-events: none; animation: rise 1.6s var(--ease-out) forwards; white-space: nowrap; }
.team-short .pop-label { right: 10%; }
.team-long .pop-label { left: 10%; }
@keyframes rise { 0% { opacity: 0; transform: translateY(8px) scale(0.9); } 15% { opacity: 1; transform: translateY(0) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-34px); } }

/* the clock is the mark: past cells white, the cell filling now gold, all six flash gold at the lock */
.clock-wrap { position: relative; }
.clock { position: relative; width: 268px; aspect-ratio: 1; }
.clock-rot { position: absolute; inset: 0; transition: transform 900ms var(--ease-io); }
.cell { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.07); -webkit-mask: url("brand/cell.png") center / contain no-repeat; mask: url("brand/cell.png") center / contain no-repeat; }
.cell i { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.92); opacity: 0; transition: opacity 260ms linear; }
.cell.cur i { background: var(--hive); }
.clock.flash .cell i { opacity: 1 !important; background: var(--hive); transition: opacity 160ms ease-out; }
.clock-mid { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.clock-mid .sec { display: inline-flex; align-items: baseline; }
.clock-mid b { display: inline-block; font-family: var(--mono); font-size: 20px; font-weight: 600; transition: color 200ms ease, text-shadow 200ms ease; }
.clock-mid small { margin-left: 1px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.clock.final .clock-mid b { color: var(--hive); text-shadow: 0 0 18px rgba(var(--hive-rgb), 0.55); }
.lock-banner { position: absolute; left: 50%; top: calc(100% + 6px); transform: translate(-50%, -6px) scale(0.96); opacity: 0; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--hive); color: #000; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px -8px rgba(var(--hive-rgb), 0.6); transition: opacity 180ms ease, transform 220ms var(--ease-out); pointer-events: none; }
.lock-banner.show { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity 240ms var(--ease-out), transform 360ms var(--spring-soft); }

/* the tug of war between the two sides */
.tug { position: relative; max-width: 760px; height: 8px; margin: 40px auto 0; border-radius: 999px; background: #262626; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5); }
.tug-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), #fff); transform-origin: right center; transform: scaleX(0.5); transition: transform 520ms var(--ease-out); }
.tug-rail { position: absolute; inset: 0; pointer-events: none; transform: translateX(50%); transition: transform 520ms var(--ease-out); }
.tug-knot { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--light-pill); box-shadow: var(--light-shadow), 0 0 0 4px rgba(0, 0, 0, 0.6); }

.q { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.025em; margin-top: 32px; }
.vote { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.dock-bar { display: none; }
.dock-bar span { display: block; height: 100%; background: var(--hive); transform-origin: left center; transform: scaleX(0); transition: transform 250ms linear; }
.vbtn { width: 220px; height: 64px; padding: 0 18px 0 12px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--dark-pill); box-shadow: var(--dark-shadow); color: var(--ink); transition: transform 180ms var(--ease-out), filter 200ms ease, box-shadow 240ms ease, opacity 240ms ease; }
.vbtn:active { transform: scale(0.95); }
.vb-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.vb-ic .ic { width: 18px; height: 18px; }
.vb-name { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; margin-right: 22px; }
.vbtn.is-mine { background: var(--light-pill); color: #0a0a0a; box-shadow: var(--light-shadow), 0 0 0 1.5px var(--hive), 0 0 26px -4px rgba(var(--hive-rgb), 0.5); }
.vbtn.is-mine .vb-ic { background: var(--hive); box-shadow: none; color: #000; }
.vote.has-mine .vbtn:not(.is-mine) { opacity: 0.45; }
.vbtn.bump { animation: bump 380ms var(--spring-soft); }
@keyframes bump { 0% { transform: scale(0.96); } 100% { transform: scale(1); } }

.under { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.you-line b { color: var(--hive); font-weight: 600; }
.streak { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--hive-soft); color: var(--hive); font-size: 13px; font-weight: 700; }

/* ---- the minute's result ---- */
.toast { position: fixed; z-index: 30; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 999px; background: rgba(18, 18, 18, 0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 20px 50px -14px rgba(0, 0, 0, 0.95); opacity: 0; transform: translate(-50%, 14px) scale(0.97); transition: opacity 200ms ease, transform 240ms var(--ease-out); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity 260ms var(--ease-out), transform 420ms var(--spring-soft); }
.toast .t-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; }
.toast.lost .t-ic { background: var(--down); color: #000; }
.toast.flat .t-ic { background: #333; color: #fff; }
.toast .t-ic .ic { width: 18px; height: 18px; }
.toast .t-main { font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.toast .t-sub { font-size: 12.5px; color: var(--ink-3); }
.toast .t-you { margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.toast .t-you.right { color: var(--hive); }

/* ---- every call ---- */
.block { max-width: 1120px; margin: 64px auto 0; padding: 0 28px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.panel { background: var(--panel); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.chart-card { padding: 14px 18px 14px; }
.chart { position: relative; height: 360px; touch-action: pan-y; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.chart.on-trade { cursor: pointer; }
.chart > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity 160ms ease; }
.chart.swapping > svg, .chart.swapping .ptags, .chart.swapping .pos-label { opacity: 0; }

/* the chart's two views, as the block's title: BTC, or the hive's own value */
.views { display: flex; align-items: baseline; gap: 18px; }
.views button { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-4); padding: 2px 0; transition: color 200ms ease, transform 160ms var(--ease-out); }
.views button.is-on { color: var(--ink); }
.views button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .views button:not(.is-on):hover { color: var(--ink-2); } }

/* over the chart: the price and its move, and the candle under the pointer */
.mk-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 4px 2px 0; min-height: 34px; }
.mk-px { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.mk-chg { font-size: 13px; font-weight: 600; color: var(--ink); }
.mk-chg.down { color: var(--down); }
.mk-chg .k { margin-left: 6px; color: var(--ink-3); font-weight: 500; }
.mk-ohlc { margin-left: auto; display: flex; gap: 12px; font: 500 11.5px var(--mono); color: var(--ink-3); }
.mk-ohlc b { margin-left: 4px; color: var(--ink-2); font-weight: 500; }
.mk-ohlc .t { color: var(--ink-2); }

/* candles: white up, red down, thin wicks */
.c-candles { transition: clip-path 1000ms var(--ease-out); clip-path: inset(0 0 0 0); }
.chart.intro .c-candles { clip-path: inset(0 100% 0 0); transition: none; }
.c-candles .b-up { fill: rgba(255, 255, 255, 0.88); }
.c-candles .b-down { fill: var(--down); }
.c-candles .w-up line { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
.c-candles .w-down line { stroke: rgba(255, 97, 89, 0.75); stroke-width: 1; }
.chart:not(.candles) .c-candles { display: none; }
.chart[data-view="price"].candles .c-ring, .chart[data-view="price"].candles .c-live { display: none; }
.chart[data-view="price"] .c-dot, .chart[data-view="price"] .c-base { display: none; } /* a parked zero-length line still draws a round cap */

/* the hive's positions: a gold pin where each opened, a line at its entry while it was held */
.run { stroke: var(--hive); stroke-width: 1.25; stroke-dasharray: 1.5 3.5; stroke-linecap: round; opacity: 0.55; }
.run.live { stroke-dasharray: 5 4; opacity: 0.95; }
.pin circle { fill: var(--hive); stroke: #0b0b0b; stroke-width: 1.5; }
.pin path { fill: none; stroke: #0b0b0b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pin.stopped circle { fill: var(--down); }
.c-runs, .c-pins { transition: opacity 500ms ease 300ms; }
.chart.intro .c-runs, .chart.intro .c-pins { opacity: 0; transition: none; }
.lvl-now { stroke: rgba(255, 255, 255, 0.32); stroke-dasharray: 1 3; }
.lvl-stop { stroke: var(--down); stroke-width: 1; stroke-dasharray: 5 4; opacity: 0.75; }
.lvl-k { fill: var(--down); font: 500 10.5px var(--font); opacity: 0.85; }
.c-band { fill: var(--hive); opacity: 0; transition: opacity 150ms ease; pointer-events: none; }
.chart.active.on-trade .c-band { opacity: 0.055; }

/* tags on the scale: BTC now (white), the open position's entry (gold), its stop-loss (red) */
.ptags { position: absolute; inset: 0; pointer-events: none; }
.ptag { position: absolute; right: 0; top: 0; display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 6px; border-radius: 6px; font: 600 11px var(--mono); white-space: nowrap; opacity: 0; transition: transform 360ms var(--ease-out), opacity 200ms ease; }
.ptag.on { opacity: 1; }
.ptag .ic { width: 11px; height: 11px; }
.ptag.now { background: #fff; color: #000; }
.ptag.entry { background: color-mix(in srgb, var(--hive) 9%, #0b0b0b); color: var(--hive); box-shadow: inset 0 0 0 1px rgba(var(--hive-rgb), 0.45); }
.ptag.stop { background: #1d0e0d; color: var(--down); box-shadow: inset 0 0 0 1px rgba(255, 97, 89, 0.45); }

/* the open position's label, riding its entry line */
.pos-label { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow), inset 0 0 0 1px rgba(var(--hive-rgb), 0.35); font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: transform 360ms var(--ease-out), opacity 200ms ease; }
.pos-label.on { opacity: 1; }
.pos-label .ic { width: 12px; height: 12px; color: var(--hive); }
.pos-label b { font-weight: 600; }
.pos-label b.down { color: var(--down); }
.tip .sep { width: 1px; height: 14px; background: var(--ink-4); }
.tip .dim { color: var(--ink-3); }
.tip .down { color: var(--down); }
.c-grid line { stroke: var(--line); }
.c-grid text, .c-x text { fill: var(--ink-3); font: 500 11px var(--mono); }
.c-base { stroke: var(--ink-4); stroke-dasharray: 1.5 4; stroke-linecap: round; }
.c-line { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.c-area { transition: opacity 600ms ease; }
.chart.intro .c-area { opacity: 0; }
.c-zero { stroke: var(--line); }
.c-bar { transition: opacity 160ms ease; }
.c-bar.up { fill: rgba(255, 255, 255, 0.8); }
.c-bar.down { fill: var(--down); opacity: 0.85; }
.c-bar.flat { fill: var(--ink-4); }
.c-bar.live { opacity: 0.45; }
.c-mine { fill: var(--hive); }
.chart.active .c-bar.dim { opacity: 0.18; }
.c-cursor { stroke: #fff; stroke-width: 1; opacity: 0; transition: opacity 150ms ease; }
.c-dot { fill: #000; stroke: #fff; stroke-width: 2.25; opacity: 0; transition: opacity 150ms ease; }
.chart.active .c-cursor { opacity: 0.4; }
.chart.active .c-dot { opacity: 1; }
.c-live { fill: var(--hive); }
.c-ring { fill: var(--hive); transform-box: fill-box; transform-origin: center; animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.45; } 100% { transform: scale(3.4); opacity: 0; } }
.tip { position: absolute; top: 2px; left: 0; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-50%); transition: opacity 140ms ease; }
.chart.active .tip { opacity: 1; }
.tip .t { color: var(--ink-3); font-family: var(--mono); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; height: 32px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 13px; color: var(--ink-2); transition: transform 160ms var(--ease-out), filter 200ms ease; }
.chip:active { transform: scale(0.96); }
.chip b { color: var(--ink); font-weight: 600; }
.chip b.down { color: var(--down); }
.chip-hint { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }

/* ---- feed and leaderboard ---- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.feed-card, .board-card { padding: 18px 20px 10px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feed { list-style: none; margin: 8px 0 0; padding: 0; height: calc(52px * 6); overflow: hidden; }
.feed li { height: 52px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: transform 300ms var(--ease-out), opacity 240ms ease 110ms; }
.feed li.enter { opacity: 0; transform: translateY(-8px); }
.feed li.sys { grid-template-columns: 30px minmax(0, 1fr); }
.feed li.me .nm { color: var(--hive); }
.feed .w { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-left: 6px; }
.sys-ic { width: 30px; height: 30px; display: grid; place-items: center; }
.sys-ic::after { content: ""; width: 20px; height: 20px; background: url("brand/mark.png") center / contain no-repeat; }
.av { width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.av-you { background: radial-gradient(circle at 35% 30%, var(--hive-hi), var(--hive) 55%, var(--hive-lo)); }
.nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag .ic { width: 12px; height: 12px; }
.tag.short { color: var(--ink-2); }
.tag.flat { color: var(--ink-3); }
.board { list-style: none; margin: 8px 0 0; padding: 0; }
.board li { height: 52px; display: grid; grid-template-columns: 26px 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.board .rank { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.board li:first-child .rank { color: var(--hive); }
.board .pct { font-weight: 650; }
.board .pct small { color: var(--ink-3); font-size: 0.8em; }
.me-row { display: grid; grid-template-columns: 26px 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 54px; margin: 8px -10px 0; padding: 0 10px; border-radius: 14px; background: var(--hive-soft); font-size: 14px; font-weight: 600; }
.me-row .nm { color: var(--hive); }
.me-row .meta { text-align: right; }

/* ---- how it works ---- */
/* the pot's position on Hyperliquid, under its value: a live readout, tap for who voted it in */
.hl-pos { display: flex; width: fit-content; max-width: 100%; margin: 14px auto 0; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 40px -24px rgba(0, 0, 0, 0.9); text-align: left; transition: filter 200ms ease, transform 160ms var(--ease-out); }
.hl-pos:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .hl-pos:hover { filter: brightness(1.12); } }
.hp { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 16px; min-width: 0; }
.hp + .hp { box-shadow: inset 1px 0 0 var(--line); }
.hp small { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.hp b { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 13.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color 200ms ease; }
.hp-mkt b, .hp-side b { font-family: var(--font); font-size: 14px; }
.hp b .ic { width: 12px; height: 12px; }
.hp-pnl b.down { color: var(--down); }
.hp-stop b { color: #ff9e98; }
.hl-pos.flat .hp-size, .hl-pos.flat .hp-entry, .hl-pos.flat .hp-pnl, .hl-pos.flat .hp-stop { opacity: 0.45; }

/* the order strip: the crowd's side, then the order the pot would send if the window ended now; a fill for a moment */
.win.ticket .win-score { display: inline-flex; align-items: center; gap: 8px; }
.win.ticket .arrow { color: var(--ink-4); }
.win.ticket .then { color: var(--ink-3); }
.win.ticket .then b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.win.ticket .ord { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 650; }
.win.ticket .ord .ic { width: 12px; height: 12px; }
.win.ticket .ord.buy { background: var(--light-pill); color: #0a0a0a; box-shadow: var(--light-shadow); }
.win.ticket .ord.sell { background: linear-gradient(180deg, #474747, #2b2b2b); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.win.ticket .ord.fill { background: linear-gradient(180deg, var(--hive-hi), var(--hive)); color: #04070d; }
.win.ticket.filled { box-shadow: var(--dark-shadow), 0 0 0 1.5px var(--hive), 0 0 26px -6px rgba(var(--hive-rgb), 0.6); }
.win.ticket.filled .win-k, .win.ticket.filled .win-cells { display: none; }

/* the pot's orders on Hyperliquid, under the chart: every fill, and the stop resting on the book */
.orders { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ord-head { display: flex; align-items: center; gap: 12px; }
.ord-head h3 { margin-right: auto; font-size: 15px; font-weight: 600; }
.ord-head .seg button span { margin-left: 6px; font-family: var(--mono); opacity: 0.55; }
.ord-acct { font-size: 12.5px; color: var(--ink-2); }
.ord-cols, .ord-list li { display: grid; grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 0.7fr) minmax(0, 0.9fr); align-items: center; gap: 12px; padding: 0 8px; }
.ord-cols { margin-top: 12px; height: 26px; font-size: 11.5px; color: var(--ink-3); }
.ord-cols > span { font-family: var(--font); color: var(--ink-3); }
.ord-list { list-style: none; margin: 0; padding: 0; }
.ord-list li { height: 46px; border-top: 1px solid var(--line); font-size: 13px; transition: background-color 180ms ease; }
.ord-list li[data-round] { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .ord-list li[data-round]:hover { background: rgba(255, 255, 255, 0.035); } }
.c-t, .c-sz, .c-px, .c-fee, .c-res { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-t { color: var(--ink-3); font-size: 12.5px; }
.c-o { display: flex; align-items: center; gap: 9px; min-width: 0; }
.c-what { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-sz, .c-px, .c-fee, .c-res { text-align: right; }
.c-fee { color: var(--ink-3); }
.c-word { font-family: var(--font); }
.c-res small { margin-right: 7px; font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--hive); }
.c-res.down { color: var(--down); }
.ord-side { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px 0 7px; border-radius: 999px; font-size: 12px; font-weight: 650; flex: none; }
.ord-side .ic { width: 11px; height: 11px; }
.ord-side.buy { background: var(--light-pill); color: #0a0a0a; box-shadow: var(--light-shadow); }
.ord-side.sell { background: linear-gradient(180deg, #474747, #2b2b2b); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.resting { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font); font-weight: 600; color: var(--hive); }
.resting::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hive); box-shadow: 0 0 8px rgba(var(--hive-rgb), 0.8); }
.ord-list li.ord-empty { display: block; height: auto; padding: 18px 8px; color: var(--ink-3); }
@media (max-width: 640px) {
  .hl-pos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .hp { padding: 9px 12px; box-shadow: none; }
  .hp + .hp { box-shadow: none; }
  .hp-mark { display: none; }
  .hp-side, .hp-size { box-shadow: inset 1px 0 0 var(--line) !important; }
  .hp-entry { box-shadow: inset 0 1px 0 var(--line) !important; }
  .hp-pnl, .hp-stop { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line) !important; }
  .hp b { font-size: 13px; }
  .win.ticket { flex-wrap: wrap; row-gap: 8px; border-radius: 18px; }
  .win.ticket .win-score { width: 100%; justify-content: center; flex-wrap: wrap; row-gap: 6px; }
  .ord-cols, .ord-list li { grid-template-columns: 42px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 0 2px; }
  .c-sz, .c-fee { display: none; }
  .c-what { display: none; }
}

/* payouts: a lit bar a day on the left (the open day dashed, filling with what it would pay now), yours on the right */
.pay-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.pay-days, .pay-mine { position: relative; overflow: hidden; padding: 20px 22px 20px; background: linear-gradient(180deg, #0c121c 0%, #080b12 58%, #06080d 100%); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 70px -40px rgba(0, 0, 0, 0.95); }
.pay-days > *, .pay-mine > * { position: relative; }
/* the floor light under the bars, strongest under today's */
.pay-days { display: flex; flex-direction: column; }
.pay-days::before { content: ""; position: absolute; inset: -8%; background: radial-gradient(34% 40% at 82% 50%, rgba(var(--hive-rgb), 0.17), transparent 72%), radial-gradient(44% 36% at 36% 56%, rgba(var(--hive-rgb), 0.05), transparent 72%); pointer-events: none; animation: sceneGlow 9s ease-in-out infinite alternate; animation-play-state: paused; }
.payouts.live .pay-days::before { animation-play-state: running; }
.pay-mine::before { content: ""; position: absolute; inset: 0; background: url("brand/light-step.svg") center / 100% 100% no-repeat; opacity: 0.42; pointer-events: none; animation: sceneLight 19s ease-in-out infinite alternate; animation-play-state: paused; --flip: scale(-1, 1); }
.payouts.live .pay-mine::before { animation-play-state: running; }
#payNext { font-variant-numeric: tabular-nums; }

/* the bars fill whatever height the row gives the card */
.pay-bars { flex: 1 1 auto; min-height: 168px; display: flex; align-items: stretch; gap: 22px; margin-top: 36px; }
.pb { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
.pb-col { position: relative; flex: 1 1 auto; min-height: 110px; }
.pb-col::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(255, 255, 255, 0.07); }
.pb-col i { position: absolute; left: 0; right: 0; bottom: 0; height: max(3px, calc(var(--h) * 100%)); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--hive-hi) 0%, var(--hive) 26%, var(--hive-lo) 100%); box-shadow: 0 0 26px -6px rgba(var(--hive-rgb), 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.55); transition: height 900ms cubic-bezier(0.23, 1, 0.32, 1) calc(var(--i) * 45ms), opacity 300ms ease; }
.pb-col b { font-style: normal; position: absolute; left: 50%; bottom: 100%; margin-bottom: 8px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity 400ms ease calc(var(--i) * 45ms + 300ms); }
.pb-day { height: 14px; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
/* owed: closed and assigned, not sent yet */
.pb.owed i { background: linear-gradient(180deg, rgba(var(--hive-rgb), 0.5), rgba(var(--hive-rgb), 0.16)); box-shadow: inset 0 0 0 1px rgba(var(--hive-rgb), 0.55), inset 0 2px 0 var(--hive-hi); }
.pb.none i, .pb.slot i { height: 3px; background: rgba(255, 255, 255, 0.12); box-shadow: none; border-radius: 2px; }
.pb.slot i { background: rgba(255, 255, 255, 0.05); }
.pb.none b { color: var(--ink-3); }
/* the open day: its frame dashed, filling with what it would pay if it closed now */
.pb.open .pb-col { border-radius: 9px 9px 4px 4px; background: repeating-linear-gradient(180deg, rgba(var(--hive-rgb), 0.05) 0 1px, transparent 1px 7px); box-shadow: inset 0 0 0 1px rgba(var(--hive-rgb), 0.26); }
.pb.open i { background: linear-gradient(180deg, rgba(var(--hive-rgb), 0.85), rgba(var(--hive-rgb), 0.25)); box-shadow: 0 0 30px -4px rgba(var(--hive-rgb), 0.7); }
.payouts.live .pb.open i { animation: payBreath 3.2s ease-in-out infinite alternate; }
@keyframes payBreath { from { opacity: 0.78; } to { opacity: 1; } }
.pb.open b { color: var(--hive); }
.pb.open .pb-day { color: var(--hive); }
.pb:nth-last-child(2) b { color: #fff; }
/* the rise, the first time the block is seen */
.payouts:not(.in) .pb-col i { height: 3px; }
.payouts:not(.in) .pb-col b { opacity: 0; }

.pay-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--line); }
.pay-stats > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 0; }
.pay-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.pay-stats .meta { display: inline-flex; align-items: center; gap: 7px; }
.pay-stats b { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pay-stats b small { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.sw { width: 9px; height: 9px; border-radius: 3px; }
.sw.funded { background: linear-gradient(180deg, var(--hive-hi), var(--hive-lo)); box-shadow: 0 0 8px rgba(var(--hive-rgb), 0.6); }
.sw.owed { background: rgba(var(--hive-rgb), 0.28); box-shadow: inset 0 0 0 1px rgba(var(--hive-rgb), 0.7); }

.pay-big { margin-top: 12px; font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.pay-sub { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.pay-list { list-style: none; margin: 8px 0 0; padding: 0; }
.pay-list li { display: grid; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-list li:last-child { border-bottom: 0; }
.pay-list.top li { grid-template-columns: 30px minmax(0, 1fr) 60px 84px; height: 54px; }
.pay-list .pd-x { justify-self: start; }
.pay-list.top .nm { display: flex; flex-direction: column; gap: 2px; font-weight: 500; min-width: 0; }
.pay-list.top .nm small { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.pay-list.days li { grid-template-columns: 54px 60px minmax(0, 1fr) auto; height: 44px; font-size: 13.5px; }
.pd-day { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.pd-amt { text-align: right; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--hive); }
.pd-who { color: var(--ink-3); font-size: 12.5px; }
/* a day you've claimed: its amount steps back, with a tick */
.pay-list li.done .pd-amt { color: var(--ink-3); }
.pd-amt .ic { width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; }
.pd-x { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 8px 0 6px; border-radius: 999px; background: linear-gradient(180deg, var(--hive-hi), var(--hive)); color: #04070d; font-size: 11px; font-weight: 700; box-shadow: 0 0 14px -2px rgba(var(--hive-rgb), 0.55); }
.pd-x .ic { width: 11px; height: 11px; }
.pay-claim { width: 100%; height: 46px; margin-top: 16px; }
.pay-claim:disabled { opacity: 0.55; }
.pay-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 1000px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .pay-bars { min-height: 150px; gap: 9px; }
  .pb-col b { font-size: 11px; }
  .pay-stats b { font-size: 18px; }
  .pay-stats > div + div { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pay-mine::before, .pay-days::before, .payouts.live .pb.open i { animation: none; }
  .pb-col i, .pb-col b { transition: none; }
}

/* how it works: three lit cards, each with a small live scene from the site's own pieces (built in app.js) */
.how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 24px; background: linear-gradient(180deg, #0c121c 0%, #080b12 58%, #06080d 100%); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 70px -40px rgba(0, 0, 0, 0.95); }
.scene { position: relative; height: 258px; overflow: hidden; isolation: isolate; }
.scene::before { --flip: scale(1); content: ""; position: absolute; inset: 0; z-index: -2; background: url("brand/light-step.svg") center / 100% 100% no-repeat; opacity: 0.95; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); animation: sceneLight var(--drift, 15s) ease-in-out infinite alternate; }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(58% 52% at 50% 46%, rgba(var(--hive-rgb), 0.18), rgba(var(--hive-rgb), 0) 72%); animation: sceneGlow 7s ease-in-out infinite alternate; }
/* the lights drift slowly, each card on its own tempo so they never move in step; transform only */
@keyframes sceneLight { 0% { transform: var(--flip) translate3d(-3%, 2%, 0) rotate(-1.6deg) scale(1.05); } 100% { transform: var(--flip) translate3d(3%, -2%, 0) rotate(1.6deg) scale(1.1); } }
@keyframes sceneGlow { 0% { opacity: 0.7; transform: scale(0.96); } 100% { opacity: 1; transform: scale(1.04); } }
.s-hold .scene::before { --drift: 14s; }
.s-call .scene::before { --flip: scaleX(-1); --drift: 18s; animation-delay: -6s; }
.s-call .scene::after { animation-delay: -2.4s; }
.s-trade .scene::before { --flip: scale(1.1, -1) translateY(8%); --drift: 16s; animation-delay: -3s; -webkit-mask-image: linear-gradient(0deg, #000 58%, transparent 100%); mask-image: linear-gradient(0deg, #000 58%, transparent 100%); } /* flipped, so its fade is too */
.s-trade .scene::after { animation-delay: -4.6s; }
.how .step:not(.playing) .scene::before, .how .step:not(.playing) .scene::after, .how .step:not(.playing)::before { animation-play-state: paused; }
.step-txt { padding: 4px 24px 24px; }
.step h3 { font-size: 18px; letter-spacing: -0.015em; }
.step p { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
/* the scenes' moving parts ease between frames; a loop only runs while its card is on screen */
.s-banner { position: absolute; left: 50%; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--hive); color: #04070d; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 26px -8px rgba(var(--hive-rgb), 0.65); opacity: 0; transform: translate(-50%, -6px) scale(0.94); transition: opacity 220ms ease, transform 380ms var(--spring-soft); }
.s-banner.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.s-banner .ic { width: 13px; height: 13px; }
/* 1. hold: your coins, your seat landing in the crowd, your weight rising off it */
.h-wallet { position: absolute; left: 20px; top: 18px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 7px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 12.5px; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 380ms var(--ease-out); }
.h-wallet img { width: 18px; height: 18px; }
.h-wallet b { color: var(--ink); font-weight: 650; }
.h-wallet.on { opacity: 1; transform: none; }
.h-crowd { position: absolute; left: 50%; top: 70px; width: 236px; aspect-ratio: 236 / 132; transform: translateX(-50%); }
.hs { position: absolute; width: 12.6%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); transition: box-shadow 300ms ease; }
.hs i { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transform: scale(0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 10px -4px rgba(0, 0, 0, 0.8); transition: opacity 260ms ease, transform 420ms var(--spring-soft); }
.hs.on i { opacity: 1; transform: none; }
.hs.you { z-index: 2; }
.hs.you.on { box-shadow: 0 0 0 2px #05070c, 0 0 0 3.5px var(--hive), 0 0 24px rgba(var(--hive-rgb), 0.6); }
.h-pop { position: absolute; z-index: 3; padding: 3px 8px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow), inset 0 0 0 1px rgba(var(--hive-rgb), 0.35); font: 600 11.5px var(--mono); color: var(--hive); white-space: nowrap; opacity: 0; transform: translate(-50%, 0); transition: opacity 260ms ease, transform 520ms var(--ease-out); }
.h-pop.on { opacity: 1; transform: translate(-50%, -125%); }
/* 2. call: the minute's clock, Long tapped, the lock */
.scene .c-clock { position: absolute; left: 50%; top: 14px; width: 132px; transform: translateX(-50%); } /* the stage's phone sizes for .clock don't apply here */
.c-clock .cell i { transition: opacity 300ms ease, background-color 300ms ease; }
.c-clock .cell i.now { background: var(--hive); }
.c-clock .clock-mid b { font-size: 15px; }
.c-banner { top: 156px; }
.c-btns { position: absolute; left: 50%; bottom: 18px; display: flex; gap: 10px; transform: translateX(-50%); }
.cb { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 13.5px; font-weight: 650; white-space: nowrap; transition: box-shadow 260ms ease; }
.cb .ic { width: 14px; height: 14px; }
.cb em { font-style: normal; }
.cb.mine { background: var(--light-pill); color: #0a0a0a; box-shadow: var(--light-shadow), 0 0 0 1.5px var(--hive), 0 0 22px -4px rgba(var(--hive-rgb), 0.55); }
/* in the two-column grid the cards are wide: the scenes play larger to fill them */
@media (min-width: 1001px) { .how .scene { zoom: 1.22; } }
/* 4. pay: the trade's profit split by holding, right calls multiplied */
.p-head { position: absolute; left: 24px; right: 24px; top: 20px; display: flex; align-items: baseline; justify-content: space-between; opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 380ms var(--ease-out); }
.p-head.on { opacity: 1; transform: none; }
.p-k { font-size: 12.5px; color: var(--ink-3); }
.p-profit { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.p-rows { position: absolute; left: 24px; right: 24px; top: 70px; list-style: none; margin: 0; padding: 0; }
.p-rows li { display: grid; grid-template-columns: 26px minmax(104px, auto) minmax(0, 1fr) 46px 76px; align-items: center; gap: 12px; height: 42px; padding: 0 10px; margin: 0 -10px; border-radius: 12px; opacity: 0; transform: translateY(8px); transition: opacity 260ms ease, transform 380ms var(--ease-out); }
.p-rows li.on { opacity: 1; transform: none; }
.p-rows li.me { background: rgba(var(--hive-rgb), 0.07); }
.p-av { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.p-who { display: flex; flex-direction: column; min-width: 0; font: 600 12.5px var(--mono); white-space: nowrap; }
.p-who small { font: 500 11px var(--font); color: var(--ink-3); }
.p-rows li.me .p-who { color: var(--hive); }
.p-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.p-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.85)); }
.p-x { justify-self: end; display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--hive); color: #04070d; font-size: 11.5px; font-weight: 700; opacity: 0; transform: scale(0.7); transition: opacity 200ms ease, transform 380ms var(--spring-soft); }
.p-rows li.x .p-x { opacity: 1; transform: none; }
.p-amt { text-align: right; font-family: var(--display); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; transition: color 260ms ease, text-shadow 260ms ease; }
.p-rows li.me.x .p-amt { color: var(--hive); text-shadow: 0 0 18px rgba(var(--hive-rgb), 0.6); }
.s-pay .scene::before { --flip: scale(-1, -1); --drift: 20s; animation-delay: -9s; -webkit-mask-image: linear-gradient(0deg, #000 58%, transparent 100%); mask-image: linear-gradient(0deg, #000 58%, transparent 100%); }
/* more markets: the live one lit, the next ones waiting */
.s-markets { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; }
.s-markets::before { --flip: scaleX(-1); content: ""; position: absolute; inset: 0; background: url("brand/light-step.svg") center / 100% 100% no-repeat; opacity: 0.55; pointer-events: none; animation: sceneLight 22s ease-in-out infinite alternate; animation-delay: -5s; }
.s-markets .step-txt { position: relative; padding: 0; }
.mk-row-soon { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.mks { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); }
.mks b { font-family: var(--display); font-size: 17px; font-weight: 650; color: var(--ink-3); }
.mks small { font-size: 11.5px; font-weight: 600; color: var(--hive); }
.mks.live { box-shadow: var(--dark-shadow), 0 0 0 1.5px rgba(var(--hive-rgb), 0.55), 0 0 24px -4px rgba(var(--hive-rgb), 0.5); }
.mks.live b { color: var(--ink); }
.mks.live small { color: var(--ink-3); }
.mks.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--hive); box-shadow: 0 0 10px rgba(var(--hive-rgb), 0.9); }
/* 3. trade: fifteen calls, the hive trades, the trade on the chart */
.t-strip { position: absolute; left: 50%; top: 18px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); transform: translateX(-50%); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.t-strip b { font: 600 12px var(--mono); color: var(--ink); min-width: 34px; }
.t-cells { display: inline-flex; gap: 2.5px; }
.t-cells i { width: 6px; height: 14px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); transition: background-color 200ms ease; }
.t-cells i.long { background: rgba(255, 255, 255, 0.86); }
.t-cells i.short { background: rgba(255, 255, 255, 0.32); }
.t-cells i.live { background: var(--hive); box-shadow: 0 0 10px rgba(var(--hive-rgb), 0.7); }
.t-banner { top: 60px; }
.t-chart { position: absolute; left: 50%; bottom: 14px; width: min(100% - 32px, 380px); aspect-ratio: 300 / 112; transform: translateX(-50%); }
.t-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.t-chart .up rect { fill: rgba(255, 255, 255, 0.88); }
.t-chart .up line { stroke: rgba(255, 255, 255, 0.5); }
.t-chart .dn rect { fill: var(--down); }
.t-chart .dn line { stroke: rgba(255, 97, 89, 0.7); }
.t-after > g { opacity: 0; transition: opacity 180ms ease; }
.t-after > g.on { opacity: 1; }
.t-entry { stroke: var(--hive); stroke-width: 1.2; stroke-dasharray: 4 3; opacity: 0; transition: opacity 260ms ease; }
.t-entry.on { opacity: 0.95; }
.t-pin { opacity: 0; transition: opacity 200ms ease; }
.t-pin.on { opacity: 1; }
.t-pin circle { fill: var(--hive); stroke: #05070c; stroke-width: 1.5; }
.t-pin path { fill: none; stroke: #05070c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.t-label { position: absolute; right: 0; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow), inset 0 0 0 1px rgba(var(--hive-rgb), 0.4); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(45%); transition: opacity 240ms ease; }
.t-label.on { opacity: 1; }
.t-label .ic { width: 12px; height: 12px; color: var(--hive); }
.t-label b { font-weight: 600; font-variant-numeric: tabular-nums; }
.foot { max-width: 1120px; margin: 48px auto 0; padding: 22px 28px 40px; text-align: center; font-size: 12px; color: var(--ink-3); }
.foot a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--ink-4); text-underline-offset: 3px; transition: color 160ms ease; }
.foot a:hover { color: var(--ink); }

/* ---- the call sheet ---- */
.sheet { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 260ms ease; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel { position: relative; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 80px); overflow: auto; padding: 18px 22px 16px; border-radius: 26px; background: #0f0f0f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 40px 80px -20px rgba(0, 0, 0, 0.95); opacity: 0; transform: translateY(14px) scale(0.98); overscroll-behavior: contain; transition: opacity 180ms ease, transform 220ms var(--ease-out); }
.sheet.open .sheet-panel { opacity: 1; transform: none; transition: opacity 240ms var(--ease-out), transform 340ms var(--ease-drawer); }
.grabber { display: none; }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.sheet-top .meta { margin-top: 3px; line-height: 1.4; }
#inTime { font-family: var(--mono); }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-pill); box-shadow: var(--dark-shadow); color: var(--ink-2); }
.live-badge { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--hive-soft); color: var(--hive); font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--hive); flex: none; display: inline-block; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--hive); animation: ping 1.8s var(--ease-out) infinite; }
.result { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 18px 0 4px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.result-call { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.result-call .ic { width: 15px; height: 15px; }
.result-pnl { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.04em; }
.result-sub { font-size: 13px; color: var(--ink-3); }
.split { margin-top: 18px; }
.split-track { position: relative; height: 8px; border-radius: 999px; background: #262626; overflow: hidden; }
.split-fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), #fff); transform-origin: right center; transform: scaleX(0.5); }
.split-knot { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; left: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.9); }
.split-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.split-legend b { color: var(--ink); }
.who-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.who-list { list-style: none; margin: 4px 0 0; padding: 0; }
.who-list li { height: 50px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 68px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.who-list li:last-child { border-bottom: 0; }
.who-list li.me { background: var(--hive-soft); border-radius: 12px; border-bottom-color: transparent; margin: 0 -10px; padding: 0 10px; }
.who-list li.me .nm { color: var(--hive); }
.res { justify-self: end; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.res .ic { width: 13px; height: 13px; }
.res.right { color: var(--ink); }
.res.wrong { color: var(--down); }
.who-more { padding: 12px 0 4px; font-size: 12.5px; color: var(--ink-3); }

.offscreen .c-ring, .offscreen .live-dot::after { animation-play-state: paused; }

/* ---- tablet ---- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .arena { gap: 24px; }
  .clock { width: 220px; }
  .team-pct { font-size: 54px; }
}
/* ---- phone ---- */
@media (max-width: 640px) {
  .bar { height: 56px; padding: 0 16px; gap: 12px; }
  .mark .wordmark { display: none; }
  .btn { height: 34px; padding: 0 14px; font-size: 13px; }
  .stage { padding: 18px 14px 4px; }
  .acct { gap: 6px 10px; }
  .acct-k { width: 100%; font-size: 13px; }
  .acct-bal { font-size: 34px; }
  .arena { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 14px; margin-top: 18px; }
  .clock-wrap { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .clock { width: 196px; }
  .team-short { grid-column: 1; grid-row: 2; }
  .team-long { grid-column: 2; grid-row: 2; }
  .team-pct { font-size: 44px; }
  .crowd { width: 100%; }
  .lock-banner { top: auto; bottom: -8px; }
  .tug { margin-top: 18px; }
  .q { font-size: 20px; margin-top: 22px; }
  .vote { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; margin: 0; gap: 10px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-top: 1px solid var(--line); }
  .dock-bar { display: block; position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
  .vbtn { flex: 1; width: auto; height: 58px; }
  .vb-name { margin-right: 0; }
  .under { flex-wrap: wrap; gap: 10px; margin-top: 12px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); border-radius: 22px; }
  .toast .t-main { font-size: 19px; }
  .block { margin-top: 44px; padding: 0 12px; }
  .chart-card { padding: 12px 12px 12px; }
  .chart { height: 300px; }
  .mk-px { font-size: 24px; }
  .mk-ohlc { display: none; }
  .views { gap: 14px; }
  .views button { font-size: 20px; }
  .chip-hint { width: 100%; margin: 2px 0 0; }
  .duo, .how { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .scene { height: 250px; }
  .s-markets { flex-direction: column; align-items: flex-start; }
  .p-rows li { grid-template-columns: 26px minmax(0, 1fr) 46px 76px; }
  .p-bar { display: none; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  /* the call sheet becomes a bottom sheet you can pull down */
  .sheet { place-items: end center; }
  .sheet-panel { width: 100vw; max-height: 88vh; max-height: 88dvh; border-radius: 26px 26px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1; transition: transform 260ms var(--ease-out); }
  .sheet.open .sheet-panel { transform: translateY(var(--drag, 0px)); transition: transform 420ms var(--ease-drawer); }
  .grabber { display: block; width: 40px; height: 5px; margin: 0 auto 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); }
  .who-list li { grid-template-columns: 30px minmax(0, 1fr) auto 62px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c-ring, .live-dot::after { animation: none; opacity: 0; }
  .ptag, .pos-label, .c-candles, .c-runs, .c-pins { transition: none; }
  body::before, .scene::before, .scene::after, .s-markets::before { animation: none; }
  .clock-rot, .tug-fill, .tug-rail, .dot { transition: none; }
  .pop-label { animation-duration: 0.01s; }
  .win-cells i.live { animation: none; }
}
/* first paint: the stage comes in once, as one wave from the clock (never again on this page) */
@media (prefers-reduced-motion: no-preference) {
  html.js .stage > :is(.acct, .arena, .tug, .win, .q, .vote, .under) { opacity: 0; }
  body.ready .stage > .arena { animation: enter 700ms var(--ease-out) both; --rise: 16px; }
  body.ready .stage > .acct { animation: enter 560ms var(--ease-out) 70ms both; --rise: 8px; }
  body.ready .stage > :is(.tug, .win) { animation: enter 480ms ease 130ms both; --rise: 0px; }
  body.ready .stage > :is(.q, .vote) { animation: enter 560ms var(--ease-out) 170ms both; --rise: 10px; }
  body.ready .stage > .under { animation: enter 480ms ease 230ms both; --rise: 0px; }
}
@media (prefers-reduced-motion: reduce) { html.js .stage > * { opacity: 1; } }
@keyframes enter { from { opacity: 0; transform: translateY(var(--rise, 10px)); } to { opacity: 1; transform: none; } }
/* the strip's live cell stops pulsing off screen */
.offscreen .win-cells i.live { animation-play-state: paused; }

/* ---- connect, you, share ---- */
.sheet-panel.narrow { width: min(440px, calc(100vw - 32px)); }
.wallets { display: grid; gap: 10px; margin-top: 18px; }
.wallet-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; height: 68px; padding: 0 16px 0 12px; border-radius: 18px; background: var(--dark-pill); box-shadow: var(--dark-shadow); text-align: left; transition: transform 160ms var(--ease-out), filter 200ms ease; }
.wallet-row:active { transform: scale(0.98); }
.wallet-row[disabled] { cursor: default; }
.w-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-size: 20px; font-weight: 700; color: #fff; }
.w-logo.mm { background: linear-gradient(160deg, #f6851b, #e2761b); }
.w-logo.ph { background: linear-gradient(160deg, #ab9ff2, #7c6ee6); }
.w-name { font-size: 16px; font-weight: 600; }
.w-state { font-size: 12.5px; color: var(--ink-3); }
.wallet-row.busy .w-state::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; animation: spin 700ms linear infinite; }
.wallet-row.done .w-state { color: var(--hive); }
@keyframes spin { to { transform: rotate(360deg); } }
.connect-foot { margin-top: 16px; font-size: 13px; color: var(--ink-3); text-align: center; }
.connect-foot a { color: var(--ink); font-weight: 600; }

.hist-dots { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); }
.hist-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); }
.hist-dots i.right { background: var(--hive); }
.hist-dots i.wrong { background: var(--down); }
.hist-dots i.open { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }

.you-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.you-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.you-stats b { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.you-stats span { font-size: 12px; color: var(--ink-3); }
.you-list { list-style: none; margin: 14px 0 16px; padding: 0; max-height: 320px; overflow: auto; }
.you-list li { height: 52px; display: grid; grid-template-columns: 52px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.you-list li:last-child { border-bottom: 0; }
.you-list .t { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.you-list .call { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.you-list .empty { display: block; height: auto; padding: 18px 4px; color: var(--ink-3); text-align: center; border: 0; }
.btn-block { width: 100%; height: 46px; }
.btn-dark { background: var(--dark-pill); color: var(--ink); box-shadow: var(--dark-shadow); }

.share-img { display: block; width: 100%; aspect-ratio: 4 / 5; margin-top: 16px; border-radius: 18px; background: #050505; box-shadow: inset 0 0 0 1px var(--line); object-fit: cover; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.share-actions .btn { height: 46px; }
.t-share { margin-left: 4px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--light-pill); box-shadow: var(--light-shadow); color: #0a0a0a; font-size: 13px; font-weight: 650; pointer-events: auto; }
.toast.show { pointer-events: auto; }
@media (max-width: 640px) {
  .sheet-panel.narrow { width: 100vw; }
  .you-list { max-height: 40vh; }
}

/* ---- the 15 minutes the next trade is decided on ---- */
.win { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px auto 0; padding: 8px 14px; border-radius: 999px; background: var(--dark-pill); box-shadow: var(--dark-shadow); font-size: 13px; color: var(--ink-2); transition: filter 200ms ease, transform 160ms var(--ease-out); }
.win:active { transform: scale(0.98); }
.win-k b { color: var(--ink); font-family: var(--mono); font-weight: 600; margin-left: 3px; }
.win-cells { display: inline-flex; gap: 3px; }
.win-cells i { width: 9px; height: 18px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); transition: background-color 300ms ease, transform 300ms var(--spring); }
.win-cells i.long { background: rgba(255, 255, 255, 0.86); }
.win-cells i.short { background: rgba(255, 255, 255, 0.32); }
.win-cells i.flat { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.win-cells i.live { background: var(--hive); animation: livecell 1.6s ease-in-out infinite; }
.win-cells i.missed { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
@keyframes livecell { 50% { opacity: 0.45; } }
.win-score { color: var(--ink-2); white-space: nowrap; }
.win-score b { color: var(--ink); font-weight: 600; }
.win.trading { box-shadow: var(--dark-shadow), 0 0 0 1.5px var(--hive), 0 0 26px -6px rgba(var(--hive-rgb), 0.6); }
@media (hover: hover) and (pointer: fine) { .win:hover { filter: brightness(1.12); } }
.sheet-win { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.sheet-win .win-cells i { width: 12px; height: 22px; }

/* ---- wallets ---- */
.w-logo img { width: 44px; height: 44px; border-radius: 12px; display: block; }
.w-logo.dev { background: radial-gradient(circle at 35% 30%, var(--hive-hi), var(--hive) 55%, var(--hive-lo)); color: #000; font-size: 15px; }
a.wallet-row { color: inherit; }
.wallet-row.install .w-state { color: var(--ink-2); }
.vbtn.signing { pointer-events: none; }
.vbtn.signing .vb-ic::after { content: ""; position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--hive); animation: spin 800ms linear infinite; }
.vb-ic { position: relative; }
.toast.err .t-ic { background: #2a1513; color: var(--down); }
.toast .t-msg { font-size: 15px; font-weight: 600; max-width: 360px; }
.empty-chart { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 14px; }
.you-list .t { font-family: var(--mono); }
@media (max-width: 640px) {
  .win { gap: 10px; padding: 8px 12px; font-size: 12px; margin-top: 16px; }
  .win-cells { gap: 2px; }
  .win-cells i { width: 7px; height: 16px; }
  .win-score { display: none; }
}
/* the strip is a centered pill, as wide as what it holds */
.win { width: fit-content; max-width: 100%; }
