/* fleemc.net, the One-sheet. Every section is a poster: one graded still, one enormous type moment, small precise credits.
   Silkscreen is drawn on an 8px grid: only 16 / 24 / 32 / 48 / 64 / 96 / 128 / 192 / 256 / 384 / 512px. */

@font-face { font-family: "Silkscreen"; src: url("/fonts/Silkscreen-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/fonts/Silkscreen-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #131316;        /* the deepest coal, the page itself */
  --coal: #19191d;
  --panel: #202026;
  --panel-2: #2a2a31;
  --line: rgba(235, 231, 220, .14);
  --gold: #ffc832;
  --gold-hi: #ffd864;
  --bone: #ebe7dc;
  --dust: #a6a299;
  --fine: #918d85;
  --bronze: #d0915e;
  --hunter: #ec6047;
  --runner: #6cc05b;
  --star: #b8a8ff;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --body: "Atkinson", system-ui, sans-serif;
  --m: clamp(16px, 4.45vw, 64px);   /* page margin */
  --max: 1440px;
  --gap: clamp(16px, 2.2vw, 32px);
  /* stepped pixel corner: two steps of --s */
  --steps: polygon(0 calc(var(--s) * 2), var(--s) calc(var(--s) * 2), var(--s) var(--s), calc(var(--s) * 2) var(--s), calc(var(--s) * 2) 0,
    calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s), calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2),
    100% calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s)), calc(100% - var(--s) * 2) calc(100% - var(--s)), calc(100% - var(--s) * 2) 100%,
    calc(var(--s) * 2) 100%, calc(var(--s) * 2) calc(100% - var(--s)), var(--s) calc(100% - var(--s)), var(--s) calc(100% - var(--s) * 2), 0 calc(100% - var(--s) * 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--bone); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hi); }
b { font-weight: 700; color: #fff; }
h1, h2, h3, h4 { font-family: var(--pixel); font-weight: 400; margin: 0; line-height: 1; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
h1:focus, [tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--gold); color: #000; padding: 8px 12px; font: 16px var(--pixel); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }

/* --------------------------------------------------------------- shared objects */
.btn, .addr, .search input, .maps-shot { --s: 4px; clip-path: var(--steps); }

.btn { --s: 3px; font: 16px/1 var(--pixel); color: #18140a; background: var(--gold); border: 0; padding: 16px 24px 14px; cursor: pointer;
  text-decoration: none; display: inline-block; white-space: nowrap; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22);
  transition: background-color .15s, color .15s, transform .08s; }
.btn:hover { background: var(--gold-hi); color: #18140a; }
.btn:active { transform: translateY(2px); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .22); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #18140a; }
.btn.ghost { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.btn.ghost:hover { background: var(--gold); color: #18140a; }
.btn.ghost:focus-visible { background: var(--gold); color: #18140a; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #18140a; }
.btn.done { background: var(--bone); }

.empty { color: var(--dust); }
.sub { font-size: 16px; color: var(--dust); margin-bottom: 8px; }

/* the grades. Every still is a film frame: matte blacks lifted to coal, one hue per section */
[class*="grade-"] { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); }
[class*="grade-"] > img { width: 100%; height: 100%; object-fit: cover; }
[class*="grade-"]::before, [class*="grade-"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.grade-night > img { filter: saturate(1.1) contrast(1.45) brightness(.72); }
.grade-night::before { background: #ffb21e; mix-blend-mode: soft-light; opacity: .14; }
.grade-night::after { background:
  radial-gradient(120% 90% at 50% 62%, transparent 35%, rgba(19, 19, 22, .85) 100%),
  linear-gradient(rgba(12, 12, 14, .65), transparent 22%); }

/* duotones: a grey print, re-coloured with the luminance kept (blend "color"), blacks lifted to coal */
.grade-red > img { filter: grayscale(1) contrast(1.7) brightness(.7); }
.grade-violet > img { filter: grayscale(1) contrast(1.6) brightness(.85); }
.grade-dusk > img { filter: grayscale(1) contrast(1.6) brightness(.4); }
.grade-red::before { background: #e04a35; mix-blend-mode: color; }
.grade-violet::before, .grade-dusk::before { background: #b08cff; mix-blend-mode: color; }
.grade-red::after, .grade-violet::after, .grade-dusk::after { background: var(--coal); mix-blend-mode: lighten; }

.grade-cool > img { filter: grayscale(.45) contrast(1.5) brightness(.8); }
.grade-cool::before { background: #5fd0c0; mix-blend-mode: soft-light; opacity: .25; }
.grade-cool::after { background: radial-gradient(110% 100% at 50% 40%, transparent 50%, rgba(19, 19, 22, .7) 100%); }

.grade-gold > img { filter: saturate(.7) sepia(.4) contrast(1.25) brightness(.5); }
.grade-gold::before { background: #ffb21e; mix-blend-mode: soft-light; opacity: .4; }
.grade-gold::after { background: radial-gradient(90% 80% at 50% 45%, transparent 30%, rgba(19, 19, 22, .85) 100%), linear-gradient(transparent 50%, rgba(19, 19, 22, .8)); }

/* --------------------------------------------------------------- top bar */
.bar { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; gap: 40px; padding: 24px max(var(--m), (100vw - var(--max)) / 2 + var(--m)); }
.bar-nav { display: flex; gap: 32px; }
.bar-discord { margin-left: auto; }
.bar a { font: 16px/1 var(--pixel); color: var(--bone); text-decoration: none; padding: 8px 0; }
.bar-nav a:hover { color: var(--gold); }
.bar a.bar-discord { --s: 3px; clip-path: var(--steps); padding: 12px 16px 10px; color: var(--ink); background: var(--bone); }
.bar a.bar-discord:hover { background: var(--gold); color: var(--ink); }
.bar a.bar-discord:focus-visible { outline: none; background: var(--gold); box-shadow: inset 0 0 0 3px var(--ink); }
.bar a.bar-home { display: none; padding: 0; }
.bar-home img { width: 72px; }
.is-player .bar a.bar-home { display: block; }

/* --------------------------------------------------------------- the one-sheet */
.hero {
  --W: min(104vw, 180svh);              /* span of the letters: wider than the screen, so they bleed */
  --iw: calc(var(--W) / .897);          /* the png carries 5% padding each side */
  --ih: calc(var(--iw) * .4394);
  --lh: calc(var(--ih) * .762);         /* cap height of the letters */
  position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 40px;
}
.shot { flex: 1 0 auto; min-height: calc(var(--lh) * .68 + 104px); }
.shot > img { position: absolute; inset: 0; object-position: 50% 64%; }

.title { position: relative; z-index: 2; height: var(--lh); margin-top: calc(var(--lh) * -.68); pointer-events: none; }
.title img { position: absolute; left: 50%; top: calc(var(--ih) * -.118); width: var(--iw); max-width: none; transform: translateX(-50%);
  filter: drop-shadow(0 calc(var(--lh) * .02) calc(var(--lh) * .06) rgba(0, 0, 0, .45)); }

.tagline { position: relative; z-index: 2; margin-top: 24px; text-align: center; font: 32px/1 var(--pixel); color: var(--hunter); letter-spacing: 8px;
  padding-left: 8px; }

.billing { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; margin-top: 40px; }
.billing::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 32px; }
.lede { grid-column: 1 / 5; max-width: 24em; text-wrap: pretty; font-size: 17px; color: var(--bone); }
.addr { grid-column: 5 / 9; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center;
  background: var(--panel); padding: 14px 12px 14px 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.addr-label { grid-column: 1; font-size: 12px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--dust); }
.addr-ip { grid-column: 1; font: 24px/1 var(--pixel); color: #fff; user-select: all; white-space: nowrap; }
.addr .copy { grid-column: 2; grid-row: 1 / 3; }
.release { grid-column: 9 / 13; justify-self: end; text-align: right; }
.release-date { font-family: var(--pixel); line-height: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.release-s { font-size: 16px; color: var(--gold); }
.release-d { font-size: 32px; color: #fff; }
.status { margin-top: 12px; font-size: 14px; color: var(--dust); display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.dot { width: 8px; height: 8px; background: #5a5a60; flex: none; }
.status.up .dot { background: var(--runner); }
.status.round .dot { background: var(--hunter); }
.status.up, .status.round { color: var(--bone); }

/* one quiet load-in: the frame develops, the title settles */
@media (prefers-reduced-motion: no-preference) {
  .shot > img { animation: develop 1.2s cubic-bezier(.2, .7, .2, 1) both; }
  .title img { animation: settle 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes develop { from { opacity: 0; transform: scale(1.03); } }
@keyframes settle { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --------------------------------------------------------------- section rhythm */
h2 { font-size: 32px; color: var(--gold); }
.rounds, .maps, .stats, .join { padding-top: 192px; }

/* --------------------------------------------------------------- the head start */
.rounds-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.rounds-copy { grid-column: 1 / 9; grid-row: 1; position: relative; z-index: 2; }
.rounds-copy h2 { color: var(--bone); }
.clock { margin-top: 32px; }
.clock-n { display: block; font: 512px/.78 var(--pixel); color: var(--gold); margin-left: -64px; letter-spacing: -64px; }
.clock-u { display: block; margin-top: 40px; max-width: 15em; font: 32px/1.25 var(--pixel); color: #fff; }
.rounds-shot { grid-column: 7 / 13; grid-row: 1; aspect-ratio: 5 / 6;
  margin-right: calc(-1 * (var(--m) + max(0px, (100vw - var(--max)) / 2))); }
.rounds-shot > img { object-position: 30% 50%; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: 128px; }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 48px 1fr; align-content: start; row-gap: 16px; }
.step-n { grid-row: 1 / 3; font: 24px/1 var(--pixel); color: var(--dust); }
.steps h3 { font-size: 24px; color: #fff; }
.steps p { grid-column: 2; font-size: 16px; color: var(--bone); max-width: 30em; }
.steps .btn { grid-column: 2; justify-self: start; margin-top: 8px; }
.steps .hunt .step-n { color: var(--hunter); }
.steps .clockout .step-n { color: var(--runner); }

/* --------------------------------------------------------------- starfall */
.starfall { position: relative; margin-top: 192px; min-height: 800px; display: flex; align-items: center; }
.star-shot { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; }
.star-shot > img { object-position: 30% 30%; transform: scale(1.3); transform-origin: 62% 32%; }
.star-body { position: relative; z-index: 2; }
.star-title { font-size: 192px; line-height: .8; color: var(--star); margin-left: -8px; letter-spacing: -8px; }
.star-copy { margin-top: 40px; max-width: 19em; font-size: 20px; line-height: 1.5; color: var(--bone); }
.star-copy b { color: var(--star); }

.economy { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: 96px; }
.economy li { border-top: 1px solid var(--line); padding-top: 24px; }
.eco-t { font-size: 24px; color: #fff; margin-bottom: 12px; }
.eco-t.gold { color: var(--gold); }
.eco-t.violet { color: var(--star); }
.economy p { font-size: 16px; color: var(--dust); max-width: 24em; }

/* --------------------------------------------------------------- maps */
.maps-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.maps-head h2 { grid-column: 1 / 6; font-size: 128px; line-height: .8; color: #fff; letter-spacing: -4px; }
.maps-head p { grid-column: 9 / 13; color: var(--dust); max-width: 22em; justify-self: end; text-align: right; }
.maps-shot { --s: 8px; position: relative; margin: 56px auto 0; width: calc(100% - 2 * var(--m)); max-width: calc(var(--max) - 2 * var(--m)); aspect-ratio: 2.39 / 1; }
.maps-shot > img { object-position: 50% 40%; }
.maps-shot figcaption { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 14px 24px 12px; background: var(--ink); font: 16px/1 var(--pixel); color: var(--gold); }

.lineup { margin-top: 80px; display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 8px; font: 48px/1.2 var(--pixel); }
.lineup li { color: var(--bone); white-space: nowrap; }
.lineup li:nth-child(even) { color: #7a776f; }
.lineup li:last-child { color: var(--gold); }

.sheet { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.sheet figure { position: relative; }
.sheet img { --s: 4px; clip-path: var(--steps); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.8) contrast(1.2) brightness(.9); }
.sheet figcaption { margin-top: 12px; font: 16px/1 var(--pixel); color: var(--bone); }

/* --------------------------------------------------------------- stats */
.stats-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.stats-head h2 { grid-column: 1 / 6; font-size: 128px; line-height: .8; color: #fff; letter-spacing: -4px; }
.search { grid-column: 7 / 13; }
.search label { display: block; margin-bottom: 12px; font-size: 15px; color: var(--dust); }
.search-row { display: flex; gap: 8px; }
.search input { --s: 3px; flex: 1; min-width: 0; font: 24px/1 var(--pixel); color: #fff; background: var(--panel); border: 0; padding: 12px 16px;
  box-shadow: inset 0 0 0 1px var(--panel-2); }
.search input::placeholder { color: #77746d; }
.search input:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--gold); }
.hint { min-height: 1.5em; margin-top: 8px; font-size: 15px; color: var(--dust); }

.stats-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 64px; margin-top: 72px; align-items: end; }
.board { grid-column: 1 / 9; }
.board-rest { grid-column: 9 / 13; }

/* the podium: 2nd, 1st, 3rd standing on their blocks. Same people, different heights. */
.podium-wrap { min-height: 600px; display: flex; flex-direction: column; justify-content: flex-end; }
.podium-wrap > .empty { padding-bottom: 24px; }
.podium-wrap.failed { min-height: 0; }
.podium-wrap.failed > .empty { padding: 24px 0 0; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; align-items: end; margin-top: 24px;
  border-bottom: 1px solid var(--line); }
.podium .p1 { grid-column: 2; grid-row: 1; }
.podium .p2 { grid-column: 1; grid-row: 1; }
.podium .p3 { grid-column: 3; grid-row: 1; }
.spot-link { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--bone); }
.spot-fig { display: block; width: var(--skin); }
.p1 { --skin: 136px; --block: 240px; }
.p2 { --skin: 112px; --block: 184px; }
.p3 { --skin: 112px; --block: 144px; }
.skin { display: block; width: 100%; height: auto; aspect-ratio: 128 / 307; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .5)); }
svg.skin { filter: none; }
.sil-body { fill: var(--panel-2); }
.sil-head { fill: #33333b; }
.sil-arm { fill: #24242a; }
.open .sil-body, .open .sil-head, .open .sil-arm { fill: rgba(235, 231, 220, .04); stroke: rgba(235, 231, 220, .28); stroke-width: .25; stroke-dasharray: .75 .5; }
.spot-name { display: block; width: 100%; margin-top: 20px; font: 24px/1.15 var(--pixel); color: #fff; white-space: nowrap; }
.open .spot-name { white-space: normal; overflow-wrap: anywhere; }
/* a name too long for Silkscreen's 16px floor drops to the body face instead of breaking mid-glyph-run */
.podium .spot-name.wrapped { font: 700 14px/1.2 var(--body) !important; white-space: normal; overflow-wrap: anywhere; }
.p1 .spot-name { font-size: 32px; color: var(--gold); }
.spot-name, .spot-wins { text-wrap: balance; }
.spot-wins { display: block; margin-top: 8px; font-size: 15px; color: var(--dust); }
.spot-wins b { font: 24px/1 var(--pixel); color: var(--bone); }
.p1 .spot-wins b { color: var(--gold); }
.open .spot-name { font-size: 16px; color: var(--dust); }
.open .spot-wins { font-size: 14px; color: var(--fine); }
.spot-block { --s: 8px; clip-path: var(--steps); display: flex; justify-content: center; align-items: flex-start; width: 100%; height: var(--block); margin-top: 20px;
  background: var(--panel); box-shadow: inset 0 8px 0 rgba(255, 255, 255, .07), inset 0 -8px 0 rgba(0, 0, 0, .3); }
.spot-n { font: 128px/.75 var(--pixel); margin-top: 24px; }
.p1 .spot-block { background: var(--gold); box-shadow: inset 0 8px 0 rgba(255, 255, 255, .35), inset 0 -8px 0 rgba(0, 0, 0, .18); }
.p1 .spot-n { font-size: 192px; color: #18140a; margin-top: 32px; }
.p2 .spot-block { background: var(--panel-2); }
.p2 .spot-n { color: var(--bone); }
.p3 .spot-n { color: var(--bronze); }
.spot.open .spot-block { background: var(--coal); box-shadow: inset 0 0 0 2px rgba(235, 231, 220, .1); }
.spot.open .spot-n { color: #3a3a42; }
.spot.open.p1 .spot-n { color: #4a3f1c; }
a.spot-link:hover .spot-name { color: var(--gold-hi); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
a.spot-link:hover .skin { filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .5)) brightness(1.08); }
a.spot-link:focus-visible { outline-offset: 2px; }
a.spot-link:active .spot-block { transform: translateY(2px); }

/* ranks 4 to 10 carry on beside the podium */
.ranks { counter-reset: r 3; }
.ranks li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); counter-increment: r; }
.ranks li::before { content: counter(r); font: 16px/1 var(--pixel); color: var(--dust); }
.ranks a { display: flex; align-items: center; gap: 12px; min-width: 0; color: #fff; text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.ranks a:hover { color: var(--gold); text-decoration: underline; }
.av { width: 24px; height: 24px; flex: none; image-rendering: pixelated; background: var(--panel-2); }
.wins { font: 16px/1 var(--pixel); color: var(--bone); }
.rest-note { font-size: 15px; color: var(--dust); max-width: 22em; padding-bottom: 8px; }
.rest-note + .ranks, .ranks + .rest-note { margin-top: 16px; }

.latest { margin-top: 112px; }
.feed li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.feed li.empty { display: block; border: 0; }
.feed .what { font-weight: 700; color: #fff; }
.feed .r1 .what { color: var(--runner); }
.feed .r2 .what { color: var(--hunter); }
.feed .r3 .what { color: var(--star); }
.feed .when { font-size: 14px; color: var(--dust); text-align: right; }
.feed .who { grid-column: 1 / -1; font-size: 14px; color: var(--dust); }
.feed .who a { color: var(--bone); }
.feed .who a:hover { color: var(--gold); }
/* two columns that read down, then across: newest first stays top left */
.feed-cols { columns: 2; column-gap: calc(var(--gap) * 2); }
.feed-cols li { break-inside: avoid; }
.tagr { font: 16px/1.5 var(--pixel); }
.tagr.w { color: var(--runner); }
.tagr.l { color: var(--hunter); }
.tagr.v { color: var(--star); }

/* --------------------------------------------------------------- join */
.join-shot { height: min(86svh, 820px); min-height: 560px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 72px; }
.join-shot > img { position: absolute; inset: 0; object-position: 50% 40%; }
.join-mark { position: relative; z-index: 2; text-align: center; padding: 0 var(--m); }
.join-mark h2 { color: var(--gold); }
.join-ip { margin: 32px 0 40px; font: 96px/1 var(--pixel); color: #fff; letter-spacing: -2px; text-shadow: 0 4px 0 rgba(0, 0, 0, .5); user-select: all; }
.join-steps { margin-top: 96px; }

/* --------------------------------------------------------------- player one-sheet */
.psheet { position: relative; min-height: min(84svh, 760px); display: flex; align-items: flex-end; padding-top: 128px; }
.psheet-shot { position: absolute; inset: 0; }
.psheet-shot > img { object-position: 50% 0; transform: scale(2); transform-origin: 62% 0; }
.psheet::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(12, 12, 14, .6), transparent 24%, transparent 55%, var(--ink)); }
.psheet-body { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.psheet-id { grid-column: 1 / 9; min-width: 0; padding-bottom: 16px; }
.pname { display: block; font-size: 192px; line-height: .8; color: #fff; white-space: nowrap; letter-spacing: -.04em; margin-left: -.04em;
  text-shadow: 0 .04em 0 rgba(0, 0, 0, .45); }
.pname.wrapped { white-space: normal; overflow-wrap: anywhere; line-height: 1; }
.pmeta { margin: 32px 0 24px; font-size: 15px; color: var(--bone); min-height: 1.55em; }
.pmeta:empty { display: none; }
.pname + .pmeta:empty + .btn { margin-top: 32px; }
.psheet-skin { grid-column: 9 / 13; justify-self: center; width: 224px; margin-bottom: -88px; }
.psheet-skin .skin { filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .6)); }

.pbody { padding-top: 128px; }
.pbody > .empty { padding-top: 8px; }
.pstats { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; align-items: end; }
.pwins { grid-column: 1 / 7; min-width: 0; }
.pwins strong { display: block; font: 384px/.78 var(--pixel); color: var(--gold); font-weight: 400; letter-spacing: -.06em; margin-left: -.06em; white-space: nowrap; }
.pwins span { display: block; margin-top: 32px; font: 32px/1.25 var(--pixel); color: #fff; }
.pnums { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.pnums div { display: flex; flex-direction: column-reverse; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.pnums dd { font: 48px/1 var(--pixel); color: #fff; }
.pnums dd small { font-size: 24px; color: var(--dust); }
.pnums dt { font-size: 14px; line-height: 1.3; color: var(--dust); }
.pnums .g dd { color: var(--runner); }
.pnums .r dd { color: var(--hunter); }
.pnums .v dd { color: var(--star); }
.pnote { margin-top: 48px; max-width: 46em; font-size: 13px; color: var(--fine); }

.psplit { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 72px; margin-top: 128px; align-items: start; }
.psplit > section:first-child { grid-column: 1 / 6; }
.psplit > section:last-child { grid-column: 7 / 13; }
.psplit h2 { font-size: 24px; color: #fff; margin-bottom: 24px; }
.played li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.played .m { font: 24px/1.15 var(--pixel); color: var(--bone); overflow-wrap: anywhere; }
.played li:first-child .m { color: var(--gold); }
.played .c { font-size: 14px; color: var(--dust); text-align: right; }
.pback { margin-top: 96px; }

.nf { max-width: 36em; }
.nf h2 { margin-bottom: 20px; }
.nf p + p { margin-top: 28px; }

/* --------------------------------------------------------------- credits */
.credits { margin-top: 192px; padding: 96px var(--m) 72px; border-top: 1px solid var(--line); text-align: center; display: grid; justify-items: center; }
.credits img { width: 160px; }
.credits-red { margin-top: 8px; font: 16px/1 var(--pixel); color: var(--hunter); letter-spacing: 4px; padding-left: 4px; }
.credits-by { margin-top: 40px; max-width: 34em; font-size: 15px; line-height: 1.6; color: var(--bone); }
.credits-fine { margin-top: 12px; max-width: 46em; font-size: 13px; color: var(--fine); }

/* --------------------------------------------------------------- narrower */
@media (max-width: 1180px) {
  .clock-n { font-size: 384px; letter-spacing: -48px; margin-left: -48px; }
  .star-title { font-size: 128px; letter-spacing: -4px; }
  .join-ip { font-size: 64px; }
  .board, .board-rest { grid-column: 1 / -1; }
  .board-rest { max-width: 560px; }
  .pname { font-size: 128px; }
  .pwins strong { font-size: 256px; }
  .pwins, .pnums { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .bar { gap: 16px; padding-top: 16px; }
  .bar-nav { gap: 20px; }
  .bar-nav .opt { display: none; }

  .tagline { font-size: 24px; letter-spacing: 8px; padding-left: 8px; margin-top: 16px; }
  .billing { grid-template-columns: 1fr; row-gap: 24px; margin-top: 32px; }
  .billing::before { margin-bottom: 0; }
  .lede, .addr, .release { grid-column: 1; }
  .release { justify-self: start; text-align: left; order: -1; }
  .billing::before { order: -2; }
  .release-date { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
  .status { justify-content: flex-start; }

  .rounds, .maps, .stats, .join { padding-top: 128px; }
  .rounds-grid { grid-template-columns: 1fr; }
  .rounds-copy, .rounds-shot { grid-column: 1; }
  .rounds-shot { grid-row: 2; margin: 40px calc(-1 * var(--m)) 0; aspect-ratio: 4 / 3; }
  .clock-n { font-size: 256px; letter-spacing: -32px; margin-left: -32px; }
  .clock-u { font-size: 24px; margin-top: 24px; }
  .steps, .economy { grid-template-columns: 1fr; row-gap: 40px; margin-top: 64px; }

  .starfall { margin-top: 128px; min-height: 0; flex-direction: column; align-items: stretch; }
  .star-shot { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 80svh; }
  .star-shot > img { object-position: 49% 30%; transform-origin: 50% 8%; }
  .star-body { margin-top: -56px; }
  .star-title { font-size: 96px; letter-spacing: -4px; margin-left: -4px; }
  .star-copy { margin-top: 24px; font-size: 18px; }

  .maps-head, .stats-head { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .maps-head h2, .maps-head p, .stats-head h2, .search { grid-column: 1; }
  .maps-head h2, .stats-head h2 { font-size: 96px; letter-spacing: -4px; }
  .maps-head p { justify-self: start; text-align: left; }
  .maps-shot { --s: 4px; width: 100%; aspect-ratio: 4 / 3; margin-top: 40px; }
  .lineup { font-size: 32px; column-gap: 20px; margin-top: 48px; }
  .sheet { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }

  .stats-grid { margin-top: 56px; row-gap: 48px; }
  .podium-wrap { min-height: 440px; }
  .p1 { --skin: 112px; --block: 208px; }
  .p2 { --skin: 96px; --block: 152px; }
  .p3 { --skin: 96px; --block: 112px; }
  .spot-n { font-size: 96px; margin-top: 24px; }
  .p1 .spot-n { font-size: 128px; margin-top: 32px; }
  .spot-name { font-size: 16px; margin-top: 16px; }
  .p1 .spot-name { font-size: 24px; }
  .spot-block { margin-top: 16px; }
  .latest { margin-top: 96px; }
  .feed-cols { columns: 1; }
  .join-ip { font-size: 48px; letter-spacing: 0; }

  .psheet { min-height: 0; padding-top: 96px; }
  .psheet-shot > img { transform: scale(1.8); }
  .psheet-body { grid-template-columns: minmax(0, 1fr); }
  .psheet-id, .psheet-skin { grid-column: 1; }
  .psheet-skin { grid-row: 1; justify-self: start; width: 144px; margin: 0 0 32px; }
  .pname { font-size: 96px; }
  .pmeta { margin: 24px 0 20px; }
  .pbody { padding-top: 72px; }
  .pwins strong { font-size: 192px; }
  .pwins span { font-size: 24px; margin-top: 24px; }
  .pnums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psplit { margin-top: 96px; }
  .psplit > section:first-child, .psplit > section:last-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .bar .bar-discord { padding: 10px 12px 8px; }
  .addr { padding-left: 16px; }
  .addr-ip { font-size: 16px; }
  .release-d { font-size: 24px; }
  .clock-u { font-size: 16px; line-height: 1.5; }
  .star-title { font-size: 64px; letter-spacing: -2px; margin-left: -2px; }
  .star-body { margin-top: -40px; }
  .maps-head h2, .stats-head h2 { font-size: 64px; letter-spacing: -2px; }
  .lineup { font-size: 24px; column-gap: 16px; row-gap: 4px; }
  .sheet { gap: 16px 12px; }
  .search-row { flex-direction: column; }
  .search-row .btn { width: 100%; }

  .podium-wrap { min-height: 320px; }
  .podium { column-gap: 4px; }
  a.spot-link:focus-visible { outline-offset: 0; }
  .p1 { --skin: 72px; --block: 136px; }
  .p2 { --skin: 64px; --block: 96px; }
  .p3 { --skin: 64px; --block: 72px; }
  .spot-n { font-size: 48px; margin-top: 16px; }
  .p1 .spot-n { font-size: 64px; margin-top: 20px; }
  .spot-block { --s: 4px; margin-top: 12px; box-shadow: inset 0 4px 0 rgba(255, 255, 255, .07), inset 0 -4px 0 rgba(0, 0, 0, .3); }
  .p1 .spot-block { box-shadow: inset 0 4px 0 rgba(255, 255, 255, .35), inset 0 -4px 0 rgba(0, 0, 0, .18); }
  .spot-name, .p1 .spot-name { font-size: 16px; margin-top: 12px; }
  .spot-wins { font-size: 13px; margin-top: 4px; }
  .spot-wins b { font-size: 16px; }
  .open .spot-name { font-size: 14px; font-family: var(--body); font-weight: 700; }
  .open .spot-wins { font-size: 12px; }

  .join-shot { min-height: 480px; height: 70svh; }
  .join-ip { font-size: 32px; letter-spacing: -4px; margin: 24px 0 32px; }
  .credits img { width: 120px; }

  .psheet-skin { width: 112px; }
  .pname { font-size: 64px; }
  .pwins strong { font-size: 128px; }
  .pnums { gap: 28px 16px; }
  .pnums dd { font-size: 32px; }
  .pnums dd small { font-size: 16px; }
  .played .m { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
