@font-face {
  font-family: "League Spartan";
  src: url("/fonts/league-spartan.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #0f0f12;
  --navy: #18181b;
  --green: #1fd978;
  --mint: #86efac;
  --white: #ffffff;
  --text: #fafafa;
  --muted: #a1a1aa;
  --glass: rgb(15 15 18 / 68%);
  --glass-high: rgb(24 24 27 / 78%);
  --line: rgb(255 255 255 / 14%);
  --line-bright: rgb(134 239 172 / 42%);
  --display: "League Spartan", "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-family: var(--display);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: transparent;
}

button,
a { color: inherit; font: inherit; }
a { text-decoration: none; }

.gradient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.no-webgl body {
  background:
    radial-gradient(circle at 72% 20%, rgb(134 239 172 / 54%), transparent 42%),
    radial-gradient(circle at 18% 70%, rgb(31 217 120 / 62%), transparent 46%),
    #0f0f12;
}

.no-webgl .gradient-canvas { display: none; }

.page-glow {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 21rem, rgb(15 15 18 / 15%) 45rem),
    linear-gradient(180deg, rgb(15 15 18 / 42%), transparent 22%, transparent 76%, rgb(15 15 18 / 78%));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; }

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 254px);
  height: auto;
  filter: drop-shadow(0 0 20px rgb(31 217 120 / 13%));
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

.live-status {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font: 720 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #656875;
}

.live-status[data-live="true"] i {
  background: var(--white);
  box-shadow: 0 0 6px var(--white), 0 0 18px rgb(255 243 224 / 65%);
}

.admin-link {
  padding: .6rem .88rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9dbe3;
  background: rgb(15 15 18 / 35%);
  font-size: .78rem;
  backdrop-filter: blur(12px);
  transition: border-color 160ms ease, background 160ms ease;
}

.admin-link:hover { border-color: var(--line-bright); background: rgb(255 255 255 / 6%); }

.game-board {
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.round-strip {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(30px, 180px) auto minmax(30px, 180px) minmax(150px, 1fr);
  align-items: center;
  gap: clamp(.8rem, 2.2vw, 2rem);
  min-height: 94px;
  padding: 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(120deg, rgb(15 15 18 / 68%), rgb(24 24 27 / 58%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%), 0 24px 60px rgb(0 0 0 / 12%);
  backdrop-filter: blur(22px) saturate(1.25);
}

.eyebrow,
.round-strip span,
.rail-stat > span {
  display: block;
  color: var(--muted);
  font: 720 .7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.round-strip > div:first-child strong,
.round-pot strong {
  display: block;
  margin-top: .42rem;
  font: 700 .86rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.round-pot { text-align: right; }
.round-pot strong { color: var(--white); font-size: 1rem; text-shadow: 0 0 18px rgb(255 243 224 / 35%); }
.round-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-bright), transparent); }
.round-clock { text-align: center; }

.round-clock strong {
  display: block;
  min-width: 6.5ch;
  margin-top: .22rem;
  font: 820 clamp(2.25rem, 4vw, 3.7rem)/.9 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.09em;
  text-shadow: 0 0 32px rgb(255 243 224 / 18%);
}

.progress-track {
  height: 2px;
  margin-inline: 18px;
  overflow: hidden;
  background: rgb(255 255 255 / 8%);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--white), var(--mint));
  box-shadow: 0 0 18px var(--white);
  transition: width 500ms linear;
}

.table-layout {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(520px, 1fr) minmax(150px, 220px);
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
  min-height: 620px;
}

.rail-panel,
.feed-panel,
.history-panel,
.token-bar {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgb(15 15 18 / 78%), rgb(24 24 27 / 68%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%), 0 26px 60px rgb(0 0 0 / 18%);
  backdrop-filter: blur(24px) saturate(1.2);
}

.rail-panel { position: relative; z-index: 4; overflow: hidden; border-radius: 16px; }
.rail-panel::before,
.feed-panel::before,
.history-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--white), transparent);
  opacity: .45;
  pointer-events: none;
}

.rail-stat { padding: 1.3rem; }
.rail-stat + .rail-stat { border-top: 1px solid var(--line); }

.rail-stat strong {
  display: block;
  margin: .55rem 0 .35rem;
  overflow-wrap: anywhere;
  font: 780 clamp(1.2rem, 2vw, 1.7rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rail-stat small { color: #898e9d; font-size: .75rem; }
.rail-right { padding: 1.35rem; }

.rail-right p {
  position: relative;
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: #d7d9e2;
  font-size: .86rem;
  line-height: 1.45;
}

.rail-right p::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px var(--white);
}

.roulette-stage {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  min-height: 590px;
  place-items: center;
  isolation: isolate;
}

.roulette-stage::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: -2;
  width: min(90%, 650px);
  aspect-ratio: 1;
  border: 1px solid rgb(255 243 224 / 7%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 243 224 / 6%), transparent 62%);
  transform: translateX(-50%);
}

.wheel-camera {
  position: relative;
  width: min(48vw, 610px);
  min-width: 500px;
  aspect-ratio: 1 / .88;
  perspective: 1050px;
  perspective-origin: 50% 32%;
}

.wheel-machine {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  transform: rotateX(57deg) translateY(-1%);
  transform-style: preserve-3d;
}

.wheel-machine::before {
  content: "";
  position: absolute;
  inset: 7%;
  z-index: -3;
  border-radius: 50%;
  background: #03110d;
  box-shadow: 0 28px 34px rgb(0 0 0 / 58%);
  transform: translateY(18px) translateZ(-30px);
}

.wheel-shadow {
  position: absolute;
  top: 63%;
  left: 50%;
  z-index: -1;
  width: min(50vw, 620px);
  height: 142px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(0 0 0 / 78%) 0 34%, rgb(1 18 13 / 46%) 55%, transparent 76%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wheel-rotor {
  --wheel-fill: conic-gradient(from -10deg, #1fd978 0 12.5%, #18181b 12.5% 25%, #1fd978 25% 37.5%, #18181b 37.5% 50%, #1fd978 50% 62.5%, #18181b 62.5% 75%, #1fd978 75% 87.5%, #18181b 87.5% 100%);
  --segment-angle: 45deg;
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.wheel-rotor::before,
.wheel-rotor::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }

.wheel-rotor::before {
  z-index: -2;
  background: radial-gradient(circle, #27272a 0 58%, #0f0f12 78%, #050706 100%);
  box-shadow: none;
  transform: translateZ(-22px);
}

.wheel-rotor::after {
  z-index: -1;
  inset: 2%;
  border: 2px solid rgb(255 243 224 / 54%);
  background: #141416;
  box-shadow: inset 0 0 0 8px #030407, inset 0 0 0 10px rgb(255 255 255 / 13%), 0 0 0 5px #030407;
  transform: translateZ(2px);
}

.wheel-rim {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 13px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#141416, #141416) padding-box,
    conic-gradient(from 20deg, #ffffff, #3f3f46 11%, #1fd978 26%, #27272a 42%, #ffffff 53%, #86efac 69%, #3f3f46 84%, #ffffff) border-box;
  box-shadow: inset 0 0 0 3px #09090b, inset 0 0 24px #000, 0 0 0 4px #0f0f12, 0 0 40px rgb(31 217 120 / 14%);
  transform: translateZ(26px);
  pointer-events: none;
}

.wheel-bowl {
  position: absolute;
  inset: 9%;
  z-index: 4;
  border: 4px solid rgb(255 243 224 / 55%);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 72%, rgb(0 0 0 / 54%) 84%, #141416 85% 100%);
  box-shadow: inset 0 0 24px #000;
  transform: translateZ(30px);
  pointer-events: none;
}

.wheel-face {
  position: absolute;
  inset: 13%;
  z-index: 3;
  overflow: hidden;
  border: 3px solid #020307;
  border-radius: 50%;
  background: var(--wheel-fill);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 62%), inset 0 0 0 7px #141416, inset 0 0 38px rgb(0 0 0 / 70%);
  transform: translateZ(24px);
}

.wheel-face::before {
  content: "";
  position: absolute;
  inset: 1.5%;
  z-index: 2;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, rgb(255 255 255 / 13%), transparent 43%);
  pointer-events: none;
}

.wheel-spokes {
  position: absolute;
  inset: 13%;
  z-index: 6;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -10deg,
    transparent 0 calc(var(--segment-angle) - 1.45deg),
    rgb(2 18 13 / 92%) calc(var(--segment-angle) - 1.45deg) calc(var(--segment-angle) - .95deg),
    rgb(226 255 239 / 92%) calc(var(--segment-angle) - .95deg) calc(var(--segment-angle) - .38deg),
    rgb(35 117 81 / 96%) calc(var(--segment-angle) - .38deg) var(--segment-angle)
  );
  filter: drop-shadow(0 2px 1px rgb(0 0 0 / 75%)) drop-shadow(0 0 4px rgb(79 239 155 / 34%));
  transform: translateZ(36px);
  -webkit-mask: radial-gradient(circle, transparent 0 30%, #000 31% 96%, transparent 97%);
  mask: radial-gradient(circle, transparent 0 30%, #000 31% 96%, transparent 97%);
  pointer-events: none;
}

.inner-rail {
  position: absolute;
  inset: 30%;
  z-index: 4;
  border: 7px solid #05070e;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #27272a, #141416 64%, #09090b);
  box-shadow: 0 0 0 2px rgb(255 243 224 / 64%), inset 0 0 28px #000, 0 8px 18px rgb(0 0 0 / 78%);
}

.wheel-center-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 14;
  width: 25%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid #eafff3;
  border-radius: 50%;
  background: #071914;
  box-shadow: 0 0 0 7px #08251d, 0 16px 28px rgb(0 0 0 / 56%), inset 0 3px 0 rgb(255 255 255 / 38%), 0 0 34px rgb(31 217 120 / 40%);
  transform: translate(-50%, -50%) translateZ(76px);
  backface-visibility: hidden;
  pointer-events: none;
}

.wheel-center-lock::after {
  content: "";
  position: absolute;
  inset: 4%;
  z-index: 2;
  border: 2px solid rgb(134 239 172 / 65%);
  border-radius: 50%;
  box-shadow: inset 0 0 18px rgb(31 217 120 / 30%);
}

.wheel-center-lock img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.wheel-labels {
  position: absolute;
  inset: 13%;
  z-index: 7;
  overflow: hidden;
  border-radius: 50%;
  transform: translateZ(38px);
  pointer-events: none;
}

.wheel-labels span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  padding: .28rem .48rem .25rem 14%;
  transform-origin: 0 50%;
  color: var(--white);
  background: linear-gradient(90deg, transparent 0 34%, rgb(2 20 15 / 84%) 48% 100%);
  font: 850 clamp(.48rem, .76vw, .72rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: right;
  text-shadow: 0 1px 3px #000, 0 0 8px #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ball-orbit {
  position: absolute;
  inset: 11%;
  z-index: 12;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
  transform: translateZ(66px);
  pointer-events: none;
}

.ball-orbit i {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, #ffffff 42%, #a1a1aa 72%, #18181b);
  box-shadow: 0 4px 8px #000, 0 0 16px rgb(255 243 224 / 52%);
  transform: translate(-50%, -50%);
}

.pointer-crown {
  position: absolute;
  top: 9%;
  left: 50%;
  z-index: 20;
  width: 70px;
  height: 82px;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 5px rgb(0 0 0 / 52%));
  pointer-events: none;
}

.pointer-crown::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 50px;
  height: 42px;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: radial-gradient(circle at 38% 30%, var(--white), #52525b 72%);
  box-shadow: inset 0 0 0 5px #070912, 0 0 18px rgb(255 243 224 / 24%);
  transform: translateX(-50%);
}

.pointer-crown i {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 2;
  width: 25px;
  height: 25px;
  border: 3px solid #eafff3;
  border-radius: 50%;
  background: #0b2b22;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / 46%);
  transform: translateX(-50%);
}

.pointer-crown::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 50%;
  width: 28px;
  height: 45px;
  clip-path: polygon(8% 0, 92% 0, 50% 100%);
  background: linear-gradient(90deg, #3f3f46, var(--white) 48%, #52525b);
  transform: translateX(-50%);
}

.wheel-note {
  position: absolute;
  bottom: 1.4rem;
  z-index: 15;
  margin: 0;
  padding: .55rem .78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8dae3;
  background: rgb(15 15 18 / 72%);
  font: 710 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.wheel-rotor.spinning { animation: wheel-spin 5.2s cubic-bezier(.08, .6, .1, 1) both; }
.ball-orbit.spinning { animation: ball-spin 5.2s cubic-bezier(.1, .55, .12, 1) both; }

@keyframes wheel-spin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(2160deg); }
}

@keyframes ball-spin {
  from { transform: translateZ(66px) rotateZ(0deg); }
  to { transform: translateZ(66px) rotateZ(-2880deg); }
}

.token-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 54px;
  padding: .7rem 1rem;
  border-radius: 14px;
}

.token-bar > span {
  color: var(--muted);
  font: 720 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.token-bar code {
  min-width: 0;
  overflow: hidden;
  color: #e5e6ec;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-bar button {
  padding: .42rem .72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  background: rgb(255 255 255 / 5%);
  font-size: .73rem;
  font-weight: 760;
  cursor: pointer;
}

.feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .72fr);
  gap: 1rem;
  padding: 1rem 0 4rem;
}

.feed-panel,
.history-panel { position: relative; overflow: hidden; border-radius: 18px; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

h2 { margin: .35rem 0 0; font-size: 1.3rem; font-weight: 680; letter-spacing: -.035em; }

.count-pill {
  padding: .42rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d5d7df;
  background: rgb(255 255 255 / 3%);
  font: 710 .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.entry-list { display: grid; grid-template-columns: 1fr 1fr; }

.entry-card {
  min-height: 138px;
  padding: 1.15rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.entry-card:hover { background: rgb(255 255 255 / 3%); }
.entry-card:nth-child(even) { border-right: 0; }

.entry-card .slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8d92a1;
  font: 710 .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.entry-card .slot b { color: var(--white); }
.entry-card blockquote { margin: .9rem 0 .8rem; font-size: .94rem; line-height: 1.5; }
.entry-card code { color: #9297a7; font-size: .71rem; }
.rounds-list { display: grid; }
.round-item { padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line); }
.round-item:last-child { border-bottom: 0; }

.round-meta {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: #9297a7;
  font: 710 .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.round-item strong { display: block; margin: .75rem 0 .35rem; overflow-wrap: anywhere; font-size: .88rem; }
.round-item p { margin: 0; color: #9fa4b3; font-size: .77rem; line-height: 1.5; }
.status-paid { color: var(--white); }
.status-dry_run { color: var(--mint); }
.status-payment_failed { color: #ff7d75; }

.empty-state {
  grid-column: 1 / -1;
  padding: 2.5rem 1.4rem;
  color: #a4a8b6;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  color: #9397a4;
  font-size: .73rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  padding: .75rem 1rem;
  border: 1px solid rgb(255 243 224 / 65%);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  font-size: .78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible { opacity: 1; transform: translateY(0); }

/* Logo-led visual system */
body { font-weight: 560; }

.page-glow {
  background:
    radial-gradient(circle at 50% 44%, transparent 0 20rem, rgb(5 35 27 / 20%) 47rem),
    linear-gradient(180deg, rgb(4 18 16 / 38%), transparent 24%, transparent 72%, rgb(4 18 16 / 86%));
}

.site-header {
  min-height: 94px;
  padding-inline: clamp(.7rem, 2vw, 1.25rem);
  border-bottom: 0;
}

.brand-logo {
  width: clamp(230px, 22vw, 330px);
  filter: drop-shadow(0 10px 24px rgb(0 0 0 / 34%));
}

.header-actions { gap: .75rem; }

.live-status {
  padding: .65rem .85rem;
  border: 2px solid rgb(16 42 37 / 78%);
  border-radius: 14px;
  color: #d7e7df;
  background: rgb(7 25 21 / 72%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
  font: 800 .69rem/1 var(--display);
}

.live-status[data-live="true"] i {
  background: var(--green);
  box-shadow: 0 0 0 3px rgb(31 217 120 / 15%), 0 0 18px var(--green);
}

.admin-link,
.token-bar button {
  border: 2px solid #102a25;
  border-radius: 14px;
  color: #09251c;
  background: linear-gradient(180deg, #58efa4, #1fd978 72%);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 32%), 0 5px 0 #0a3125, 0 11px 24px rgb(0 0 0 / 26%);
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.admin-link:hover,
.token-bar button:hover {
  border-color: #153d32;
  background: linear-gradient(180deg, #7af4b7, #2fe48a 72%);
  transform: translateY(-1px);
}

.game-board { padding-top: .4rem; border-bottom: 0; }

.round-strip {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  border: 2px solid #143b31;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 9%), transparent 22%),
    linear-gradient(130deg, rgb(8 29 25 / 94%), rgb(13 21 20 / 88%));
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 12%), inset 0 -7px 0 rgb(0 0 0 / 18%), 0 18px 0 rgb(3 20 15 / 28%), 0 34px 70px rgb(0 0 0 / 22%);
}

.round-strip::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, #86efac, #1fd978 65%, #0b6e45);
}

.eyebrow,
.round-strip span,
.rail-stat > span,
.token-bar > span {
  color: #9fc7b5;
  font: 800 .7rem/1.1 var(--display);
  letter-spacing: .15em;
}

.round-strip > div:first-child strong,
.round-pot strong,
.rail-stat strong,
.wheel-labels span,
.wheel-note,
.count-pill,
.entry-card .slot,
.round-meta {
  font-family: var(--display);
}

.round-strip > div:first-child strong {
  color: #f8fffb;
  font-size: 1rem;
  font-weight: 850;
}

.round-pot strong {
  color: #47e995;
  font-size: 1.18rem;
  font-weight: 900;
  text-shadow: 0 0 22px rgb(31 217 120 / 38%);
}

.round-rule { height: 3px; border-radius: 99px; background: linear-gradient(90deg, transparent, #38e88d, transparent); }

.round-clock strong {
  color: #f9fffb;
  font: 900 clamp(2.6rem, 4.6vw, 4.3rem)/.82 var(--display);
  letter-spacing: -.055em;
  text-shadow: 0 4px 0 #123d31, 0 12px 32px rgb(0 0 0 / 35%);
}

.progress-track { height: 7px; margin: -7px 28px 0; border-radius: 99px; background: #071713; }
.progress-bar { border-radius: inherit; background: linear-gradient(90deg, #1fd978, #86efac, #fff); box-shadow: 0 0 24px #1fd978; }

.rail-panel,
.feed-panel,
.history-panel,
.token-bar {
  border: 2px solid #143b31;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 6%), transparent 18%),
    linear-gradient(145deg, rgb(8 28 24 / 91%), rgb(15 21 20 / 88%));
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 8%), inset 0 -5px 0 rgb(0 0 0 / 14%), 0 18px 44px rgb(0 0 0 / 22%);
}

.rail-panel,
.feed-panel,
.history-panel { border-radius: 24px; }

.rail-panel::before,
.feed-panel::before,
.history-panel::before {
  width: 6px;
  background: linear-gradient(180deg, #86efac, #1fd978 62%, #0b6e45);
  opacity: 1;
}

.rail-stat + .rail-stat { border-top: 2px solid #143b31; }
.rail-stat strong { color: #f9fffb; font-weight: 900; letter-spacing: -.03em; }
.rail-stat small { color: #83a895; font-weight: 600; }

.rail-right p { color: #e8f4ee; font-weight: 650; }
.rail-right p::before { width: 8px; height: 8px; background: #41e992; box-shadow: 0 0 14px #1fd978; }

.roulette-stage::before {
  border: 2px solid rgb(92 239 165 / 15%);
  background: radial-gradient(circle, rgb(31 217 120 / 13%), transparent 64%);
  box-shadow: 0 0 110px rgb(31 217 120 / 7%);
}

.wheel-rotor::before {
  background: radial-gradient(circle, #173f34 0 58%, #071814 78%, #03110d 100%);
  box-shadow: none;
}

.wheel-rotor::after {
  border-color: rgb(134 239 172 / 76%);
  background: #091713;
  box-shadow: inset 0 0 0 8px #030b09, inset 0 0 0 11px rgb(134 239 172 / 24%), 0 0 0 5px #061511;
}

.wheel-rim {
  border-width: 16px;
  background:
    linear-gradient(#0d241e, #071612) padding-box,
    conic-gradient(from 20deg, #f8fff9, #1fd978 16%, #0d3328 31%, #86efac 49%, #f8fff9 55%, #1fd978 72%, #0d3328 88%, #f8fff9) border-box;
  box-shadow: inset 0 0 0 4px #06110e, inset 0 0 24px #000, 0 0 0 5px #102d25, 0 0 42px rgb(31 217 120 / 28%);
}

.wheel-bowl { border-color: rgb(134 239 172 / 72%); }
.wheel-face { border: 4px solid #071612; box-shadow: inset 0 0 0 3px #f7fff9, inset 0 0 0 9px #0e2c24, inset 0 0 38px rgb(0 0 0 / 65%); }
.inner-rail { border-color: #061b15; background: radial-gradient(circle at 40% 34%, #265746, #0b241c 64%, #06130f); box-shadow: 0 0 0 3px #72efa9, inset 0 0 28px #000, 0 0 20px rgb(0 0 0 / 78%); }

.wheel-labels span { font-weight: 900; letter-spacing: .03em; }

.ball-orbit i {
  border: 2px solid #d9ffea;
  background: radial-gradient(circle at 32% 25%, #fff, #bfffdc 38%, #3ae68e 70%, #0a3a2a);
  box-shadow: 0 5px 8px #000, 0 0 20px #1fd978;
}

.pointer-crown::before {
  border: 3px solid #eafff3;
  background: radial-gradient(circle at 34% 25%, #86efac, #1fd978 62%, #0b6e45);
  box-shadow: inset 0 0 0 5px #0a2b21, 0 0 22px rgb(31 217 120 / 45%);
}

.pointer-crown i { border-color: #eafff3; background: radial-gradient(circle at 36% 30%, #6ff2ae, #0b6e45 74%); }
.pointer-crown::after { background: linear-gradient(90deg, #0a4934, #effff6 48%, #168654); }

.wheel-note {
  padding: .7rem 1rem;
  border: 2px solid #123e31;
  border-radius: 14px;
  color: #09251c;
  background: linear-gradient(180deg, #6ff2ae, #1fd978);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 28%), 0 6px 0 #092d22, 0 12px 26px rgb(0 0 0 / 24%);
  font-weight: 900;
}

.token-bar { min-height: 64px; border-radius: 18px; }
.token-bar code { color: #d8f1e5; font-weight: 700; }

.section-heading { min-height: 92px; border-bottom: 2px solid #143b31; }
h2 { color: #f7fff9; font-size: 1.55rem; font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; }

.count-pill {
  border: 2px solid #153d32;
  border-radius: 12px;
  color: #09251c;
  background: #37e58d;
  font-weight: 900;
  letter-spacing: .07em;
}

.entry-card { border-right: 2px solid #143b31; border-bottom: 2px solid #143b31; }
.entry-card:hover { background: rgb(31 217 120 / 8%); }
.entry-card .slot { color: #89ac9b; font-weight: 800; }
.entry-card .slot b { color: #52eb99; }
.entry-card blockquote { color: #f1faf5; font-weight: 620; }
.entry-card code { color: #8db4a1; }
.round-item { border-bottom: 2px solid #143b31; }
.round-item strong { color: #f4fff8; font-weight: 800; }
.status-paid { color: #41e992; }
.status-dry_run { color: #b4f7ce; }

.toast {
  border: 2px solid #102a25;
  border-radius: 14px;
  color: #09251c;
  background: linear-gradient(180deg, #86efac, #1fd978);
  box-shadow: 0 7px 0 #092d22, 0 16px 34px rgb(0 0 0 / 35%);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .table-layout { grid-template-columns: 150px minmax(500px, 1fr); }
  .rail-right { display: none; }
  .wheel-camera { width: min(63vw, 610px); }
}

@media (max-width: 820px) {
  .round-strip { grid-template-columns: 1fr auto 1fr; }
  .round-rule { display: none; }
  .table-layout { grid-template-columns: 1fr; gap: 0; }
  .rail-left { display: grid; z-index: 6; grid-template-columns: 1fr 1fr; order: 2; }
  .rail-stat + .rail-stat { border-top: 0; border-left: 1px solid var(--line); }
  .roulette-stage { min-height: 560px; order: 1; }
  .wheel-camera { width: min(90vw, 590px); min-width: 0; }
  .pointer-crown { top: 9%; }
  .feed-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .site-header,
  main,
  footer { width: min(100% - 24px, 1380px); }
  .site-header { min-height: 66px; }
  .brand-logo { width: 172px; }
  .header-actions { gap: .65rem; }
  .live-status span { display: none; }
  .game-board { padding-top: .75rem; }
  .round-strip { grid-template-columns: 1fr 1fr; gap: .75rem; min-height: 94px; padding-inline: .9rem; border-radius: 14px; }
  .round-strip > div:first-child { display: none; }
  .round-clock { text-align: left; }
  .round-pot { text-align: right; }
  .round-clock strong { font-size: 2.42rem; }
  .progress-track { margin-inline: 14px; }
  .roulette-stage { min-height: 430px; }
  .wheel-camera { width: min(105vw, 470px); }
  .pointer-crown { top: 8%; transform: translateX(-50%) scale(.78); }
  .wheel-note { bottom: .4rem; }
  .rail-stat { padding: 1rem; }
  .rail-stat strong { font-size: 1.17rem; }
  .token-bar { grid-template-columns: 1fr auto; margin-top: .8rem; border-radius: 12px; }
  .token-bar > span { grid-column: 1 / -1; }
  .entry-list { grid-template-columns: 1fr; }
  .entry-card { border-right: 0; }
  .feed-panel,
  .history-panel { border-radius: 14px; }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
