/* Paid to Play, direction C: editorial light page, one cinematic media tile. */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --line: #d2d2d7;
  --hair: rgba(0, 0, 0, 0.1);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --link: #0066cc;
  --link-on-dark: #2997ff;
  --ok: #1d7a3a;
  --err: #c9271c;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --radius-tile: 28px;
  --radius-sheet: 30px;
  --radius-field: 12px;
  --max: 1200px;
  --gutter: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; letter-spacing: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 980px;
}
.skip:focus { top: 12px; text-decoration: none; }

.hidden { display: none !important; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }

/* ---------- Buttons and links ---------- */

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 980px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none;
  transition: background-color 0.2s ease;
}
.pill:hover { background: var(--accent-hover); text-decoration: none; }
.pill:disabled { opacity: 0.5; cursor: default; }
.pill-block { width: 100%; min-height: 52px; }

.pill-small {
  position: relative;
  min-height: 30px; padding: 0 14px;
  font-size: 13px; font-weight: 500;
}
.pill-small::before { content: ""; position: absolute; inset: -8px -4px; } /* 44px touch area */

.more {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; font-size: 17px;
}
.more svg { width: 8px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.more-light { color: var(--link-on-dark); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: 1024px; height: 52px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
  min-height: 44px; display: inline-flex; align-items: center;
}
.wordmark:hover { text-decoration: none; }

/* ---------- Hero ---------- */

.hero { padding: 12px 12px 0; }

.stage {
  position: relative; isolation: isolate;
  max-width: 1440px; margin: 0 auto;
  min-height: clamp(700px, 92vh, 880px);
  border-radius: var(--radius-tile);
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  color: #fff; text-align: center;
  /* Key art behind, darkened where the text and notification sit so they stay readable. */
  background: #000;
}
.stage::before, .stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage::before { background: url("/img/own/hero-poster-own.jpg") center / cover no-repeat; z-index: -3; }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .stage-video { display: none; } }
.stage::after {
  background:
    radial-gradient(48% 62% at 50% 44%, rgba(0, 0, 0, .86), rgba(0, 0, 0, .62) 60%, rgba(0, 0, 0, .2) 100%),
    linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55));
}
.stage .hero-cta a:not(.btn) { color: #fff; }

.hero h1, .hero-sub { text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }

.hero-copy {
  padding: clamp(84px, 11vw, 132px) var(--gutter) 0;
  max-width: 900px;
}
.hero h1 {
  font-size: clamp(48px, 8.2vw, 96px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 34em;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.86);
}
.hero-cta {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 30px;
}
.stage :focus-visible { outline-color: #fff; }

/* The product shot: a console notification, rendered at device scale. */
.toast {
  margin: auto var(--gutter) clamp(56px, 9vw, 112px);
  width: min(520px, calc(100% - 2 * var(--gutter)));
  text-align: left;
  color: #f5f5f7;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.toast-main {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}
.trophy {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f5f5f7;
}
.trophy svg {
  width: 28px; height: 28px;
  fill: none; stroke: #1d1d1f; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.toast-text { display: flex; flex-direction: column; min-width: 0; }
.toast-kicker { font-size: 13px; color: #a1a1a6; line-height: 1.3; }
.toast-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.toast-meta { font-size: 13px; color: #a1a1a6; line-height: 1.35; }
.toast-pts { display: flex; flex-direction: column; align-items: flex-end; }
.toast-pts b {
  font-size: 28px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.toast-pts span { font-size: 13px; color: #a1a1a6; }
.toast-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 22px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px; color: #a1a1a6;
  font-variant-numeric: tabular-nums;
}
.toast-foot b { font-weight: 500; color: #f5f5f7; }

@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-in 1s cubic-bezier(0.2, 0.75, 0.2, 1) 0.35s both; }
  @keyframes toast-in {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill { transition: none; }
}

/* ---------- Live numbers ---------- */

.stats { padding: clamp(64px, 9vw, 110px) var(--gutter) clamp(72px, 10vw, 120px); }
.stats-grid {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats-grid > div { padding: 4px 24px; border-left: 1px solid var(--hair); }
.stats-grid > div:first-child { border-left: 0; padding-left: 0; }
.stats-grid dt { font-size: 14px; color: var(--ink-2); }
.stats-grid dd {
  margin-top: 6px;
  font-size: clamp(40px, 4.8vw, 56px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stats-grid > div { min-width: 0; }
.stats-grid.has-paid { grid-template-columns: repeat(5, 1fr); }
.stats-grid.has-paid dd { font-size: clamp(32px, 3.4vw, 44px); overflow-wrap: anywhere; }
.stats-grid dd .unit { font-size: 0.5em; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }
.stats-grid dd.stat-note { margin-top: 6px; font-size: 14px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.47; color: var(--ink-2); }

/* ---------- Section bands ---------- */

.band { padding: clamp(88px, 12vw, 150px) 0; background: var(--paper); }
.band-grey { background: var(--paper-2); }

.section-title {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.028em;
}
.section-sub {
  margin-top: 14px; max-width: 32em;
  font-size: clamp(19px, 1.9vw, 23px); line-height: 1.4; letter-spacing: -0.015em;
  color: var(--ink-2);
}

/* ---------- How it works: bento ---------- */

.bento {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.tile {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-tile);
  padding: clamp(30px, 4vw, 48px);
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.tile h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.025em;
}
.tile p { margin-top: 12px; max-width: 26em; font-size: 17px; color: var(--ink-2); }
.step-no {
  position: absolute; top: clamp(26px, 3.4vw, 40px); left: clamp(30px, 4vw, 48px);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: var(--paper-2); color: var(--ink);
}
.tile-link { grid-column: span 7; min-height: 420px; }
.tile-play { grid-column: span 5; min-height: 420px; }
.tile-rare { grid-column: span 5; }
.tile-paid { grid-column: span 7; background: #000; color: #f5f5f7; }
.tile-paid p { color: #a1a1a6; }
.tile-paid .step-no { background: #1d1d1f; color: #f5f5f7; }
.tile .big-figure {
  position: absolute; z-index: 2; left: var(--pad); bottom: 18px; margin: 0;
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.045em;
  color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
  font-variant-numeric: tabular-nums;
}
.tile-rare { justify-content: flex-end; }

/* Pictures in the tiles: full-bleed across the top of the tile, text underneath. */
.tile { --pad: clamp(30px, 4vw, 48px); overflow: hidden; }
.tile-media {
  position: relative; flex: 1 1 auto; min-height: 220px;
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 28px;
  overflow: hidden;
}
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-rare .tile-media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .6));
}
.tile-play .tile-media img { object-position: 64% 40%; }
.tile .step-no { z-index: 2; background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(8px); }
.tile-link, .tile-play { min-height: 560px; }
.tile-rare, .tile-paid { min-height: 500px; }

/* Step 4: the picture sits on the right and fades into the black tile. */
.tile-paid { isolation: isolate; }
.tile-backdrop {
  position: absolute; top: 0; right: 0; bottom: 0; width: 72%; height: 100%; z-index: -2;
  object-fit: cover; object-position: 12% 30%;
}
.tile-paid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, .78) 46%, rgba(0, 0, 0, .2) 72%, rgba(0, 0, 0, 0)),
              linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .7));
}
.tile-paid h3, .tile-paid p { max-width: 15em; }

/* ---------- Points: the tiers (direction B) ----------
   Five tiles, common to rarest. Each step up gets wider, darker and louder:
   plain grey, plain grey, black, then full-bleed GTA VI stills. */

.tiers {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
  font-variant-numeric: tabular-nums;
}
.tier {
  --pad: clamp(26px, 3vw, 36px);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: var(--pad);
  border-radius: var(--radius-tile);
  background: var(--paper-2); color: var(--ink);
  min-height: 340px;
}
.tier-1 { grid-column: span 3; }
.tier-2 { grid-column: span 4; }
.tier-3 { grid-column: span 5; background: #000; color: #f5f5f7; }
.tier-4 { grid-column: span 5; min-height: 580px; }
.tier-5 { grid-column: span 7; min-height: 580px; }

.tier-name { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.15; }
.tier-band { margin-top: 6px; max-width: 22em; font-size: 15px; line-height: 1.4; color: var(--ink-2); }

.tier-pts { margin-top: auto; padding-top: 28px; }
.tier-upto { display: block; font-size: 14px; color: var(--ink-2); }
.tier-num {
  display: inline-block;
  font-weight: 700; letter-spacing: -0.045em; line-height: 0.92;
}
.tier-unit { font-size: 17px; font-weight: 500; color: var(--ink-2); }

/* The payout figure grows with rarity. */
.tier-1 .tier-num { font-size: clamp(48px, 5vw, 60px); }
.tier-2 .tier-num { font-size: clamp(56px, 6vw, 72px); }
.tier-3 .tier-num { font-size: clamp(64px, 7.4vw, 92px); }
.tier-4 .tier-num { font-size: clamp(76px, 9vw, 116px); }
.tier-5 .tier-num { font-size: clamp(84px, 13vw, 168px); }

.tier-eg {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 14px; line-height: 1.45; color: var(--ink-2);
}
.tier-eg b { font-weight: 600; color: var(--ink); }

/* Dark tiles */
.tier-3 .tier-band, .tier-3 .tier-upto, .tier-3 .tier-unit, .tier-3 .tier-eg { color: #a1a1a6; }
.tier-3 .tier-eg { border-top-color: rgba(255, 255, 255, 0.14); }
.tier-3 .tier-eg b { color: #f5f5f7; }

/* Photo tiles: the still fills the tile; a scrim keeps the words readable. */
.tier-photo { background: #000; color: #fff; }
.tier-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tier-4 .tier-img { object-position: 40% 50%; }
.tier-5 .tier-img { object-position: 62% 40%; }
.tier-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.4) 24%, rgba(0, 0, 0, 0) 40%),
    linear-gradient(rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.72) 62%, rgba(0, 0, 0, 0.9));
}
.tier-photo .tier-band, .tier-photo .tier-upto, .tier-photo .tier-unit, .tier-photo .tier-eg { color: rgba(255, 255, 255, 0.82); }
.tier-photo .tier-eg { border-top-color: rgba(255, 255, 255, 0.2); }
.tier-photo .tier-eg b { color: #fff; }

.tiers-rule { max-width: 46em; }
.fine { margin-top: 22px; font-size: 14px; color: var(--ink-2); }

/* One-time rise, common to rarest, when the row scrolls into view (points.js arms it). */
@media (prefers-reduced-motion: no-preference) {
  .tiers.is-armed .tier { opacity: 0; transform: translateY(28px); }
  .tiers.is-in .tier {
    opacity: 1; transform: none;
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  .tiers.is-in .tier-2 { transition-delay: 0.08s; }
  .tiers.is-in .tier-3 { transition-delay: 0.16s; }
  .tiers.is-in .tier-4 { transition-delay: 0.26s; }
  .tiers.is-in .tier-5 { transition-delay: 0.36s; }
}

@media (max-width: 860px) {
  .tier-1, .tier-2 { grid-column: span 6; }
  .tier-3, .tier-4, .tier-5 { grid-column: 1 / -1; }
  .tier-3 { min-height: 300px; }
  .tier-4 { min-height: 460px; }
  .tier-5 { min-height: 540px; }
}
@media (max-width: 560px) {
  .tiers { gap: 14px; }
  .tier-1, .tier-2 { grid-column: 1 / -1; min-height: 0; }
  .tier-3 { min-height: 0; }
  .tier-4 { min-height: 440px; }
  .tier-5 { min-height: 520px; }
  .tier { --pad: 26px; }
}

/* ---------- Linking sheet ---------- */

.wrap-center { text-align: center; }
.wrap-center .section-sub { margin-left: auto; margin-right: auto; }

.sheet {
  margin: clamp(44px, 5vw, 64px) auto 0;
  text-align: left;
  max-width: 600px;
  background: var(--paper);
  border-radius: var(--radius-sheet);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 20px 50px -30px rgba(0, 0, 0, 0.18);
}
.sheet-title { font-size: clamp(24px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.sheet-copy { margin-top: 12px; color: var(--ink-2); }

.fields { margin-top: 28px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }

input {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  font-size: 17px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder { color: var(--ink-3); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18); }
.fields .pill { margin-top: 8px; }

.code {
  margin-top: 24px;
  padding: 26px 16px;
  background: var(--paper-2);
  border-radius: 18px;
  text-align: center;
  font-size: clamp(38px, 7vw, 56px);
  font-weight: 600; letter-spacing: 0.02em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  -webkit-user-select: all; user-select: all;
  cursor: text;
  overflow-wrap: anywhere;
}
.code-note { margin-top: 10px; text-align: center; font-size: 14px; color: var(--ink-2); }

.howto { margin: 28px 0; counter-reset: howto; display: grid; gap: 16px; }
.howto li {
  counter-increment: howto;
  position: relative; padding-left: 44px; min-height: 28px;
}
.howto li::before {
  content: counter(howto);
  position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600;
}

.done-mark {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ok); margin-bottom: 20px;
}
.done-mark svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.msg { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.msg:empty { display: none; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }

/* ---------- Leaderboard and feed ---------- */

.lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); max-width: 1100px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.list-title { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; }
.updated { font-size: 14px; color: var(--ink-2); white-space: nowrap; }

.board li, .feed li {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-variant-numeric: tabular-nums;
}
.board .rank { flex: 0 0 40px; color: var(--ink-2); font-size: 15px; }
.board .who { flex: 1; min-width: 0; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.board .who .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .pts { font-size: 17px; font-weight: 500; white-space: nowrap; }
.board li:nth-child(-n+3):not(.empty) .who { font-size: 19px; letter-spacing: -0.015em; }
.board li:nth-child(-n+3):not(.empty) .rank { color: var(--ink); font-weight: 600; }

.feed .what { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.feed .what b { font-weight: 600; overflow-wrap: anywhere; }
.feed .what > span { font-size: 14px; color: var(--ink-2); }
.feed .what .meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.feed .plus { font-size: 17px; font-weight: 600; white-space: nowrap; }

.lists.has-payouts { grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 64px); }
.lists.has-payouts .list-title { font-size: clamp(28px, 2.8vw, 36px); }
.payouts .what b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payouts .view { flex: 0 0 auto; font-size: 15px; font-weight: 500; color: var(--link); }
.payouts .view:hover { text-decoration: underline; }

.board li.empty, .feed li.empty { color: var(--ink-2); display: block; padding: 22px 0; }

/* ---------- Lookup ---------- */

.lookup { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; max-width: 560px; }
.lookup .seg { grid-column: 1 / -1; justify-self: start; margin-bottom: 4px; }
.lookup input { min-width: 0; }
.lookup .pill { min-height: 52px; }

.me { margin-top: 32px; }
.me > p { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.me > p.msg { font-size: 15px; font-weight: 400; letter-spacing: -0.01em; }
.me-facts { margin-top: 10px; display: grid; gap: 4px; font-size: 17px; color: var(--ink-2); }
.me-facts .warn { color: var(--err); font-weight: 500; }
.me .feed { margin-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */

.foot { background: var(--paper-2); padding: 0 0 48px; }
.foot .wrap > p {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px; line-height: 1.5; color: var(--ink-2); letter-spacing: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-grid.has-paid { grid-template-columns: 1fr 1fr; }
  .stats-grid.has-paid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats-grid.has-paid > div:nth-child(even) { border-left: 1px solid var(--hair); }
  .bento > .tile { grid-column: 1 / -1; min-height: 0; }
  .tile-media { min-height: 260px; }
  .bento > .tile-paid { min-height: 440px; }
  .tile-backdrop { width: 100%; }
  .lists, .lists.has-payouts { grid-template-columns: 1fr; }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .lists.has-payouts { grid-template-columns: 1fr 1fr; }
  .lists.has-payouts > #payouts-col { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --radius-tile: 22px; }
  .hero { padding: 8px 8px 0; }
  .stage { min-height: 640px; }
  .hero-copy { padding-top: 72px; }
  .toast-main { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 16px 16px 14px; }
  .trophy { width: 44px; height: 44px; }
  .trophy svg { width: 24px; height: 24px; }
  .toast-pts b { font-size: 22px; }
  .toast-foot { padding: 10px 16px 12px; }
  .stats-grid > div { padding: 0 0 0 16px; min-width: 0; }
  .stats-grid dd { font-size: 32px; overflow-wrap: anywhere; }
  .bento { gap: 14px; }
  .tile { padding: 28px; --pad: 28px; }
  .step-no { left: 28px; top: 26px; }
  .lookup { grid-template-columns: minmax(0, 1fr); }
  .lookup .seg { justify-self: stretch; }
  .lookup .pill { width: 100%; }
}

/* Hero card live feed (hero-feed.js swaps the content) */
.stage .toast .toast-text, .stage .toast .toast-pts, .stage .toast .trophy { transition: opacity .35s ease, transform .45s cubic-bezier(.2,.75,.2,1); }
.stage .toast.swap-out .toast-text, .stage .toast.swap-out .toast-pts { opacity: 0; transform: translateY(-10px); }
.stage .toast.swap-out .trophy { opacity: .4; transform: scale(.85); }
.stage .toast.swap-in .toast-text, .stage .toast.swap-in .toast-pts { opacity: 0; transform: translateY(10px); transition: none; }
.stage .toast .toast-foot b { display: inline-block; }
.stage .toast .toast-foot b.bump { animation: feed-bump .5s ease; }
@keyframes feed-bump { 40% { transform: scale(1.06); } }

/* ---------- Points: trophy cards (bronze, silver, gold, diamond, damascus) ---------- */
.metal-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.metal-bronze   { --metal: linear-gradient(135deg, #f6cfa6, #c27a45 45%, #8a4a22 70%, #d9965f); --metal-ink: #f0b98a; }
.metal-silver   { --metal: linear-gradient(135deg, #ffffff, #c9ced6 45%, #868c96 70%, #e6e9ee); --metal-ink: #dfe3ea; }
.metal-gold     { --metal: linear-gradient(135deg, #fff3b8, #e9b934 45%, #a5730c 70%, #f6d66a); --metal-ink: #f4cf5a; }
.metal-diamond  { --metal: linear-gradient(135deg, #ffffff, #d6f3ff 35%, #7fd0f5 60%, #e9f9ff 80%, #9bdcfa); --metal-ink: #bfeaff; }
.metal-damascus { --metal: repeating-linear-gradient(115deg, #2f3237 0 6px, #a7adb6 6px 8px, #5e636b 8px 13px, #c9ced6 13px 14px, #2f3237 14px 20px); --metal-ink: #c9ced6; }

.tiers .tier-photo { background: #0b0b0c; }
.tiers .tier-1, .tiers .tier-2, .tiers .tier-3 { min-height: 420px; }
/* metal edge round each card */
.tiers .tier::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 1;
  background: var(--metal);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tiers .tier-name { color: var(--metal-ink); }
.tiers .tier-band b { color: #fff; font-weight: 600; }
.tier-img-1 { object-position: 55% 30%; }
.tier-img-2 { object-position: 50% 50%; }
.tier-img-3 { object-position: 28% 28%; }
.tier-img-4 { object-position: 40% 50%; }
.tier-img-5 { object-position: 62% 40%; }

/* the trophy medal, bigger as it gets rarer */
.medal { position: absolute; top: var(--pad, 32px); right: var(--pad, 32px); z-index: 2; width: 56px; height: 56px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55)); }
.metal-bronze .medal { fill: url(#m-bronze); }
.metal-silver .medal { fill: url(#m-silver); width: 62px; height: 62px; }
.metal-gold .medal { fill: url(#m-gold); width: 68px; height: 68px; }
.metal-diamond .medal { fill: url(#m-diamond); width: 80px; height: 80px; }
.metal-damascus .medal { fill: url(#m-damascus); width: 92px; height: 92px; }
.tiers .tier-name, .tiers .tier-band { padding-right: 96px; }
@media (max-width: 560px) { .tiers .tier-name, .tiers .tier-band { padding-right: 76px; } .medal { transform: scale(.85); transform-origin: top right; } }
/* trophy cards: equal top row, medal sits above the name */
.tiers .tier-1, .tiers .tier-2, .tiers .tier-3 { grid-column: span 4; }
.tiers .medal { position: relative; top: auto; right: auto; display: block; margin-bottom: 18px; }
.tiers .tier-name, .tiers .tier-band { padding-right: 0; }
.tiers .metal-damascus::after { padding: 3px; background: repeating-linear-gradient(135deg, #3a3d42 0 10px, #9aa0a8 10px 13px, #5e636b 13px 22px, #c9ced6 22px 24px, #3a3d42 24px 34px); }
@media (max-width: 860px) { .tiers .tier-1, .tiers .tier-2 { grid-column: span 6; } .tiers .tier-3 { grid-column: 1 / -1; } }
@media (max-width: 560px) { .tiers .tier-1, .tiers .tier-2 { grid-column: 1 / -1; } .tiers .medal { transform: none; } .tiers .tier-1, .tiers .tier-2, .tiers .tier-3 { min-height: 380px; } }
/* stronger shading so the text always reads on busy photos */
.tiers .tier-photo::before {
  background:
    linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.62) 30%, rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0) 56%),
    linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.74) 64%, rgba(0, 0, 0, 0.92));
}
.tiers .tier-1::before, .tiers .tier-2::before, .tiers .tier-3::before { background: linear-gradient(rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.82)); }
.tiers .tier-band, .tiers .tier-name { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.tiers .metal-damascus::after { padding: 2.5px; background: linear-gradient(135deg, #d4d8de, #5e636b 22%, #c9ced6 38%, #2f3237 55%, #aeb3bb 72%, #4a4e55 88%, #d4d8de); }
/* framing for the tier photos */
.tier-img-1 { object-position: 50% 50%; }
.tier-img-2 { object-position: 60% 55%; }
.tier-img-3 { object-position: 35% 40%; }
.tier-img-4 { object-position: 45% 40%; }
.tier-img-5 { object-position: 45% 35%; }
/* real trophies (made with Higgsfield), bigger as the tier gets rarer */
.trophy-art { position: relative; z-index: 2; display: block; width: auto; align-self: flex-start; object-fit: contain; height: 84px; margin: -6px 0 16px -4px; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6)); }
.metal-silver .trophy-art { height: 92px; }
.metal-gold .trophy-art { height: 100px; }
.metal-diamond .trophy-art { height: 124px; }
.metal-damascus .trophy-art { height: 140px; }
@media (max-width: 560px) { .trophy-art { height: 76px; } .metal-diamond .trophy-art { height: 100px; } .metal-damascus .trophy-art { height: 112px; } }
/* Damascus = Miami sunset colourway */
.metal-damascus { --metal: linear-gradient(135deg, #ff5fa8, #b04cff 30%, #ff8a3d 55%, #ff4f8b 75%, #8f5bff); --metal-ink: #ff9ec9; }
.tiers .metal-damascus::after { padding: 2.5px; background: var(--metal); }
.metal-damascus .tier-name { background: linear-gradient(90deg, #ff7ab8, #c08bff 45%, #ffa25e); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }

/* Platform switch (Xbox | PlayStation): real radios, styled as a segmented control */
.seg {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin: 0; padding: 4px; min-width: 0; border: 0;
  background: var(--paper-2); border-radius: 999px;
}
.fields .seg { display: grid; }
.band-grey .lookup .seg { background: rgba(0, 0, 0, 0.06); }
.seg input {
  position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0;
  opacity: 0; pointer-events: none;
}
.seg label {
  display: flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; user-select: none; white-space: nowrap;
}
.seg label:hover { color: var(--ink); }
.seg input:checked + label {
  background: var(--paper); color: var(--ink); font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 0.5px var(--hair);
}
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .seg label { transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease; }
}

/* Small platform tag next to a player name */
.plat {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  height: 20px; padding: 0 7px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-2); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; line-height: 1;
}
.me > p .plat { margin-left: 10px; vertical-align: 3px; }

.hero-platforms { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
