/* ------------------------------------------------------------------
   Fonts
   "PP Neue Corp" (Pangram Pangram) is the display font used in the
   Figma file. It's a commercial font — drop the licensed file at
   fonts/PPNeueCorp-NormalUltrabold.woff2 and it's used automatically.
   Until then, variable Archivo (900 weight, 86% width) stands in,
   sized to match its letter height and line widths.
   ------------------------------------------------------------------ */
@font-face {
  font-family: "PP Neue Corp";
  src: url("fonts/PPNeueCorp-NormalUltrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Corp Fallback";
  src: url("fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  size-adjust: 103.5%;
}

/* ------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------ */
:root {
  --bg: #0d1015;
  --bar: #151c27;
  --panel: #252e3c;
  --panel-edge: #364151;
  --muted: #6d7a96;
  --text: #d7dbe4;
  --num: #d0cfcb;
  --display: "PP Neue Corp", "Neue Corp Fallback", sans-serif;
  --body: "Rubik", system-ui, sans-serif;
}

body[data-board="razed"] {
  --accent: #52b7fe;
  --accent-soft: #5dbcff;
  --brand-grad: linear-gradient(90deg, #0096ff 0%, #5dbcff 100%);
  --visit-edge: #d5e2fb;
  --visit-logo-w: 68.465px;
  --visit-logo-h: 13.693px;
  --visit-gap: 5px;
  --bg-top: 52px;
}
body[data-board="razedio"] {
  --accent: #ffc812;
  --accent-soft: #ffc812;
  --brand-grad: linear-gradient(90deg, #c7a432 0%, #ffc812 100%);
  --visit-edge: #f5e09a;
  --visit-logo-w: 71px;
  --visit-logo-h: 14px;
  --visit-gap: 6px;
  --bg-top: 53px;
}

/* Everything set in the display face. font-stretch only affects the
   Archivo fallback; PP Neue Corp has a single width and ignores it. */
body :is(.title__pool, .title__lb, .card__place, .card__name, .th__dollar, .legal__title) {
  font-weight: 900;
  font-stretch: 86%;
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; }
p, h1, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.accent { color: var(--accent); }

/* Read by screen readers and search engines; the visible headline is split
   across two styled lines, so the page needs one heading that reads whole. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  white-space: nowrap;
  transition: filter .15s ease, transform .15s ease, background-color .15s ease;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .picker__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--dark {
  background: var(--panel);
  box-shadow: inset 0 1px 0 0 var(--panel-edge);
}

/* ------------------------------------------------------------------
   Top bar
   ------------------------------------------------------------------ */
.topbar {
  position: relative;
  z-index: 5;
  height: 66px;
  background: var(--bar);
}
.topbar__inner {
  position: relative;
  max-width: 1426px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: flex-start; height: 40px; }
.brand__logo { width: 54px; height: 38px; margin-top: 1px; object-fit: cover; }
.brand__wordmark { width: 146px; height: 22px; margin: 9.4px 0 0 18.84px; }

.nav-lb {
  position: absolute;
  left: 50%;
  top: 13px;
  width: 214px;
  transform: translateX(-50%);
  gap: 15px;
  color: #d3d3d3;
}
.nav-lb:active { transform: translate(-50%, 1px); }
.nav-lb img { width: 20px; height: 20px; }

.nav-visit {
  width: 179px;
  gap: 5px;
  background: linear-gradient(90deg, #9bb9f1 0%, #abc2ec 100%);
  box-shadow: inset 0 1px 0 0 #d5e2fb;
  color: #151c27;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
}
.nav-visit > span:first-child { transform: translateY(0.35px); }
.nav-visit__logo { width: 61px; height: 12px; margin-top: 1px; }


/* ------------------------------------------------------------------
   Hero background
   ------------------------------------------------------------------ */
.hero-bg {
  position: absolute;
  left: 50%;
  top: var(--bg-top);
  width: 1920px;
  height: 924px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
/* Wider than the design (big monitors, or zoomed out): keep the artwork at
   its designed size and fade its edges into the page instead of stretching. */
@media (min-width: 1921px) {
  .hero-bg {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%),
      linear-gradient(180deg, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%),
      linear-gradient(180deg, #000 78%, transparent 100%);
    mask-composite: intersect;
  }
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: opacity .3s ease;
}
.hero-bg img.is-swapping { opacity: 0; }

/* ------------------------------------------------------------------
   Board layout
   ------------------------------------------------------------------ */
.main { position: relative; z-index: 1; padding: 0 16px 120px; }
.board {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity .2s ease, transform .2s ease;
}
.board.is-swapping { opacity: 0; transform: translateY(6px); }

/* Title ------------------------------------------------------------ */
.title {
  position: relative;
  width: 100%;
  max-width: 917px;
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.picker { display: flex; gap: 5px; }
.picker__btn {
  position: relative;
  width: 141px;
  height: 32px;
  border-radius: 6px;
  background: #13161c;
  box-shadow: inset 0 1px 0 0 #1e242d;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.picker__btn[aria-selected="true"] {
  background: var(--panel);
  box-shadow: inset 0 1px 0 0 var(--panel-edge);
  cursor: default;
}
.picker__logo {
  position: absolute;
  top: 9px;
  height: 15px;
  overflow: hidden;
  opacity: .5;
  transition: opacity .15s ease;
}
.picker__btn[aria-selected="true"] .picker__logo { opacity: 1; }
.picker__btn:not([aria-selected="true"]):hover .picker__logo { opacity: .8; }
.picker__logo img { position: absolute; max-width: none; }
.picker__logo--razed { left: 33px; width: 75px; }
.picker__logo--razed img { left: 1.99%; top: 5.26%; width: 97.07%; height: 89.47%; }
.picker__logo--razedio { left: 31px; width: 79px; }
.picker__logo--razedio img { left: -3.8%; top: -20.53%; width: 107.59%; height: 134.39%; }

.title__text {
  position: relative;
  width: 522px;
  height: 167px;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}
.title__pool, .title__lb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 800;
}
.title__pool { top: 0; font-size: 56px; line-height: 85px; }
.title__lb {
  top: 48.15px;
  font-size: 70px;
  line-height: 106px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title__amount {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title__monthly {
  background: linear-gradient(180deg, #f9f9f9 0%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title__sub {
  position: absolute;
  left: 50%;
  top: 150px;
  transform: translateX(-50%);
  font-size: 14px;
  line-height: 17px;
  font-weight: 600;
  color: var(--muted);
}
.title__sub .accent { color: var(--accent-soft); }

.title__actions { display: flex; gap: 4px; margin-top: 22px; }
.code-btn { width: 206px; gap: 16px; color: #efefef; padding-right: 2px; }
.code-btn img { width: 17.1px; height: 17.95px; margin-top: -1px; }
.code-btn.is-copied { box-shadow: inset 0 1px 0 0 var(--panel-edge), 0 0 0 1px var(--accent); }

.visit-btn {
  width: 206px;
  gap: var(--visit-gap);
  background: var(--brand-grad);
  box-shadow: inset 0 1px 0 0 var(--visit-edge);
  color: #151c27;
}
.visit-btn__logo { width: var(--visit-logo-w); height: var(--visit-logo-h); margin-top: 2px; }

/* Floating symbols (hover animations) ------------------------------ */
.symbol {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}
.symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(var(--rot));
  animation: float 4.5s ease-in-out infinite;
  will-change: transform;
}
.symbol--right img { animation-delay: -2.2s; }
.symbol:hover img {
  animation: wiggle .9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot)); }
  50%      { transform: translateY(-8px) rotate(calc(var(--rot) + 3deg)); }
}
@keyframes wiggle {
  0%, 100% { transform: scale(1.18) rotate(var(--rot)); }
  25%      { transform: scale(1.22) rotate(calc(var(--rot) - 8deg)); }
  75%      { transform: scale(1.22) rotate(calc(var(--rot) + 8deg)); }
}

body[data-board="razed"] .symbol--left  { left: calc(50% - 367px); top: 89px; width: 79.432px; height: 79.432px; }
body[data-board="razed"] .symbol--left img  { --rot: 15deg; width: 64.856px; height: 64.856px; }
body[data-board="razed"] .symbol--right { left: calc(50% + 292px); top: 60px; width: 45.611px; height: 33.467px; }
body[data-board="razed"] .symbol--right img { --rot: -13.31deg; width: 41.03px; height: 24.683px; flex: none; }

body[data-board="razedio"] .symbol--left  { left: calc(50% - 411px); top: 145px; width: 88.923px; height: 76.786px; }
body[data-board="razedio"] .symbol--left img  { --rot: 17.85deg; width: 75.245px; height: 56.434px; flex: none; }
body[data-board="razedio"] .symbol--right { left: calc(50% + 304px); top: 65px; width: 74.945px; height: 62.54px; }
body[data-board="razedio"] .symbol--right img { --rot: -12.72deg; width: 65.705px; height: 49.279px; flex: none; }

/* Podium ----------------------------------------------------------- */
.podium {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 37px;
  margin-top: 50px;
}
.card {
  --c-border: #719cb9;
  --c-badge: #a3c4da;
  --c-dollar: #97b6ca;
  --c-wager: linear-gradient(180deg, #acd2eb 0%, #719cb9 100%);
  position: relative;
  flex: none;
  width: 281px;
  height: 349px;
  margin-top: 15px;
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card--1 {
  order: 2;
  margin-top: 0;
  --c-border: #52b8ff;
  --c-badge: #94d3ff;
  --c-dollar: #52b7fe;
  --c-wager: linear-gradient(0deg, #0096ff 0%, #84cdff 100%);
}
body[data-board="razedio"] .card--1 {
  --c-border: #ffc812;
  --c-badge: #efd990;
  --c-dollar: #ffc812;
  --c-wager: linear-gradient(0deg, #cda10f 0%, #ffe078 100%);
}
.card--2 { order: 1; }
.card--3 {
  order: 3;
  --c-border: #c07a60;
  --c-badge: #e6b3a0;
  --c-dollar: #c07a60;
  --c-wager: linear-gradient(0deg, #c07a60 0%, #efaf97 100%);
}
.card__box { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__details {
  position: absolute;
  left: 20px;
  top: 18px;
  width: 242px;
  height: 313px;
  text-align: center;
}
.card__avatar {
  position: absolute;
  left: 60px;
  top: 0;
  width: 121px;
  height: 121px;
}
.card__avatar-img {
  position: absolute;
  inset: 0;
  border: 2px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  background: #1a2130;
}
.card__avatar-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
/* No picture from the API: the board's own user glyph, quietly centred. */
.card__avatar-img.is-empty { display: grid; place-items: center; }
.card__avatar-img.is-empty .avatar-fallback { width: 42px; height: 46px; object-fit: contain; opacity: .45; }
.row__avatar { display: grid; place-items: center; }
.row__avatar .avatar-fallback { width: 15px; height: 17px; object-fit: contain; opacity: .45; }
.card__place {
  position: absolute;
  left: 0;
  top: 0;
  width: 33px;
  height: 31px;
  border: 2px solid var(--c-border);
  border-radius: 6px 0 6px 0;
  background: rgba(37, 46, 60, .59);
  color: var(--c-badge);
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 27px;
}
.grad-text {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card__name {
  position: absolute;
  left: 0;
  right: 0;
  top: 123px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  line-height: 49px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: linear-gradient(180deg, #f3f3f3 0%, #c2c2c2 100%);
}
.card__wager {
  position: absolute;
  left: 0;
  top: 178px;
  width: 242px;
  height: 54px;
  border-radius: 31px;
  background: var(--panel);
  font-weight: 600;
}
.card__wager-label {
  position: absolute;
  left: 0; right: 0;
  top: 5px;
  font-size: 14px;
  line-height: 17px;
  background-image: linear-gradient(180deg, #f3f3f3 0%, #c2c2c2 100%);
}
.card__wager-amount {
  position: absolute;
  left: 0; right: 0;
  top: 24px;
  font-size: 20px;
  line-height: 24px;
  background-image: var(--c-wager);
}
.card__prize {
  position: absolute;
  left: 0; right: 0;
  top: 241px;
  font-weight: 700;
  font-size: 40px;
  line-height: 47px;
  color: var(--num);
  white-space: nowrap;
}
.card__prize .d { color: var(--c-dollar); }
.card__tag {
  position: absolute;
  left: 74px;
  top: 289px;
  width: 94px;
  height: 24px;
  border-radius: 31px;
  background: var(--panel);
}
.card__tag img { position: absolute; left: 20px; top: 5px; width: 13px; height: 13px; }
.card__tag span {
  position: absolute;
  left: 39px;
  top: 4px;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  background-image: linear-gradient(180deg, #f3f3f3 0%, #c2c2c2 100%);
}

/* Countdown -------------------------------------------------------- */
.timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 31px;
}
.timer__label {
  width: 367px;
  height: 30px;
  border-radius: 12px;
  background: rgba(28, 35, 51, .65);
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  padding-top: 6px;
  text-align: center;
}
.timer__value {
  margin-top: 11px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  color: var(--muted);
  white-space: pre;
  font-variant-numeric: tabular-nums;
}
.timer__value b { font-weight: 600; color: var(--num); }

/* Table ------------------------------------------------------------ */
.table { width: 100%; max-width: 811px; margin-top: 44px; }
.table__head {
  display: grid;
  grid-template-columns: 200px 280px 1fr auto;
  align-items: center;
  height: 24px;
  padding: 0 16px 0 10px;
  color: #dfdfdf;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
}
.th { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.th img { flex: none; }
.th:nth-child(2) img { width: 12.83px; height: 14px; }
.th--wagered { gap: 7px; }
.th__dollar {
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  line-height: 24px;
  width: 11px;
  text-align: center;
}
.th--reward { gap: 8px; justify-self: end; }

.table__rows {
  list-style: none;
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.row {
  display: grid;
  grid-template-columns: 190px 286px 1fr auto;
  align-items: center;
  height: 58px;
  padding: 0 20px 0 16px;
  border-radius: 8px;
  background: linear-gradient(270deg, #11141c 80%, #161d2d 100%);
  transition: filter .15s ease, transform .15s ease;
}
.row:nth-child(even) { background: linear-gradient(270deg, #171b26 80%, #222b41 100%); }
.row:hover { filter: brightness(1.15); }
.row__place {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #2c3448;
  color: #dadada;
  font-weight: 800;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
}
.row:nth-child(even) .row__place { background: #374058; }
.row__user { display: flex; align-items: center; gap: 9px; min-width: 0; }
.row__user img, .row__user .row__avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  background: #2c3448;
}
.row__name, .row__wagered, .row__reward {
  font-size: 16px;
  line-height: 19px;
  color: var(--text);
  white-space: nowrap;
}
.row__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.row__wagered { font-weight: 600; }
.row__reward { font-weight: 800; text-align: right; }
.row .d { color: var(--accent); }

/* Toast ------------------------------------------------------------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 50;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 0 var(--panel-edge), 0 10px 30px rgba(0, 0, 0, .45);
  color: #efefef;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .accent { color: var(--accent); }

/* Read by screen readers and search engines; the visible headline is split
   across two styled lines, so the page needs one heading that reads whole. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 44px 0 28px;
  background: var(--bar);
  border-top: 1px solid #1e2633;
}
.footer__wrap { max-width: 1426px; margin: 0 auto; padding: 0 24px; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 40px 64px;
  align-items: start;
}
.footer__marks { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer__age {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #364151;
  color: #aab3c6;
  font-size: 11px;
  font-weight: 700;
}
.footer__aware { height: 18px; width: auto; opacity: .75; transition: opacity .15s ease; }
.footer__marks a:hover .footer__aware { opacity: 1; }
.footer__note {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.footer__note strong { color: var(--accent); font-weight: 600; }
.footer__col { display: flex; flex-direction: column; }
.footer h4 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer__col a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  color: #aab3c6;
  font-size: 14.5px;
  white-space: nowrap;
  transition: color .15s ease;
}
.footer__col a:hover { color: #efefef; }
.footer__col svg { width: 16px; height: 16px; color: var(--muted); transition: color .15s ease; }
.footer__col a:hover svg { color: var(--brand, var(--accent)); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #1e2633;
  color: var(--muted);
  font-size: 13px;
}
.footer__policies { display: flex; gap: 26px; }
.footer__policies a {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .15s ease;
}
.footer__policies a:hover { color: var(--accent); }

/* ------------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------------ */
.legal { position: relative; z-index: 1; padding: 72px 24px 110px; }
.legal__wrap { max-width: 760px; margin: 0 auto; }
.legal__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: #d9d9d9;
}
.legal__lede { margin-top: 14px; color: #aab3c6; font-size: 16.5px; line-height: 1.6; }
.legal__updated { margin-top: 16px; color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.prose { margin-top: 30px; padding-top: 30px; border-top: 1px solid #1e2633; }
.prose h2 { margin: 36px 0 10px; color: #efefef; font-size: 21px; font-weight: 600; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #aab3c6; font-size: 15.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: #364151; }
.prose strong { color: #efefef; font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose code {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--panel);
  color: #efefef;
  font-size: 13.5px;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1460px) {
  .topbar__inner { padding: 0 24px; }
}

@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .symbol { display: none; }
  .podium { flex-direction: column; align-items: center; gap: 20px; }
  .card { margin-top: 0; }
  .card--1 { order: 1; }
  .card--2 { order: 2; }
}

@media (max-width: 720px) {
  .topbar__inner { padding: 0 16px; }
  .footer__wrap { padding: 0 16px; }
  .footer__col a { padding: 10px 0; }
  .footer .brand__wordmark { display: block; }
  .legal { padding: 48px 16px 80px; }
  .brand__wordmark { display: none; }
  .nav-lb { position: static; transform: none; width: auto; padding: 0 16px; gap: 10px; }
  .nav-lb:active { transform: translateY(1px); }
  .nav-lb span { display: none; }
  .nav-visit { width: 150px; }

  .title__text { width: 100%; height: 132px; }
  .title__pool { font-size: 36px; line-height: 52px; }
  .title__lb { top: 34px; font-size: 48px; line-height: 72px; }
  .title__sub { top: 104px; white-space: normal; width: 100%; max-width: 340px; font-size: 13px; }
  .title__actions { flex-direction: column; margin-top: 30px; }

  .timer__label { width: 100%; max-width: 367px; }
  .timer__value { font-size: 15px; }

  .table__head { grid-template-columns: 64px 1fr auto auto; gap: 12px; padding: 0 12px; font-size: 14px; }
  .th { gap: 6px; }
  .th--wagered { gap: 5px; }
  .row { grid-template-columns: 64px 1fr auto auto; gap: 12px; padding: 0 12px; }
  .row__name, .row__wagered, .row__reward { font-size: 14px; }
  .row__user img, .row__user .row__avatar { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
  .th--wagered, .row__wagered { display: none; }
  .table__head { grid-template-columns: 64px 1fr auto; }
  .row { grid-template-columns: 64px 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .symbol img, .symbol:hover img { animation: none; }
  .board, .hero-bg img, .card, .row { transition: none; }
}
