/* The big moments (public/js/moments.js): premium esports, not cartoon. Dark glass, rendered metal art, the same
   upright numbers as the rest of the site, hard hits. The particle canvas (juice.js) sits above the layer. */
.juice-canvas { position: fixed; inset: 0; z-index: 720; pointer-events: none; }
.mo { --gold: #ffcf6b; --gold-2: #f5a623; position: fixed; inset: 0; z-index: 540; display: grid; place-items: center; padding: 24px 16px; overflow-y: auto; overflow-x: hidden; opacity: 0; transition: opacity .18s;
  background: radial-gradient(70% 55% at 50% 42%, rgba(255, 140, 50, .10), transparent 70%), radial-gradient(120% 90% at 50% 120%, rgba(61, 107, 255, .10), transparent 60%), rgba(4, 5, 8, .9); backdrop-filter: blur(12px) saturate(1.2); }
.mo.in { opacity: 1; }
body.mo-open { overflow: hidden; }
.top.mo-over { z-index: 700 !important; }
.mo-stage { position: relative; width: min(620px, 100%); display: grid; justify-items: center; gap: 10px; text-align: center; }
.mo-kick { margin: 0; color: #9aa3ae; font: 600 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.mo-num, .res-sum, .res-sol, .res-pct, .res-reel b, .mo-unit { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }
.mo-hero { width: min(300px, 62vw); aspect-ratio: 1; opacity: 0; }
.mo-hero img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px #000c); }
.mo-amt { opacity: 0; }
.mo-num { font-size: clamp(60px, 12vw, 108px); line-height: .9; letter-spacing: -.01em; color: #fff; text-shadow: 0 6px 30px rgba(255, 170, 70, .35); }
.mo-unit { margin: -4px 0 0; color: var(--gold); font-size: 26px; letter-spacing: .14em; text-transform: uppercase; }
.sheen { background: linear-gradient(100deg, #fff 0 38%, #ffe2a6 46%, #fff8e6 50%, #ffe2a6 54%, #fff 62% 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mo-sheen 2.2s cubic-bezier(.3, .6, .2, 1) infinite; }
@keyframes mo-sheen { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.mo-bump { animation: mo-bump .28s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes mo-bump { 30% { transform: scale(1.16); } }

/* ---- the day's results ---- */
.res { gap: 18px; width: min(760px, 100%); min-height: min(640px, calc(100vh - 48px)); grid-template-rows: auto 1fr auto; align-items: center; }
/* the bar at the top keeps what has been revealed: the total, then your place */
.res-bar-top { display: grid; justify-items: center; gap: 8px; opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .4s; }
.res-bar-top.on { opacity: 1; transform: none; }
.res-chips { display: flex; justify-content: center; gap: 10px; height: 34px; }
.res-chip { display: inline-flex; align-items: center; height: 34px; box-sizing: border-box; visibility: hidden; padding: 0 14px; border-radius: 10px; background: #14171c; border: 1px solid #2a2e36; color: #aeb6c2; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transform: none; }
.res-chip:empty { padding: 0; border: 0; }
.res-chip.on { visibility: visible; animation: res-pop .4s cubic-bezier(.2, .8, .2, 1.5); }
.res-chip b { color: #fff; font: 800 17px/1 Archivo, var(--sans); letter-spacing: .02em; margin: 0 5px; }
.res-chip b.gain { color: var(--over); } .res-chip b.loss { color: var(--under); }
@keyframes res-pop { from { transform: scale(.6); opacity: 0; } }
/* the scenes share one spot; one is on at a time */
.res-scenes { display: grid; width: 100%; }
.res-scene { grid-area: 1 / 1; display: grid; justify-items: center; align-content: center; gap: 18px; opacity: 0; visibility: hidden; transform: translateY(40px) scale(.97); transition: opacity .35s, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s .5s; }
.res-scene.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.res-scene.gone { transform: translateY(-50px) scale(.94); }
.res-head { display: grid; justify-items: center; gap: 8px; }
.s1.on .res-title { animation: res-in .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes res-in { from { opacity: 0; transform: translateX(-50px) skewX(-14deg); } }
.s2 { gap: 12px; }
.res-title { margin: 0; font: 800 clamp(44px, 8.5vw, 80px)/.95 Archivo, var(--sans); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.res-title span { color: var(--ember); }
.res-team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; }
.res-t { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 16px; background: linear-gradient(180deg, #171a20, #101216); border: 1px solid #262a32; opacity: 0; transform: translateY(26px); transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1.2), border-color .3s, box-shadow .3s; }
.res-t.go { opacity: 1; transform: none; }
.res-t.lit.up { border-color: rgba(61, 220, 132, .55); box-shadow: 0 0 24px rgba(61, 220, 132, .15) inset; }
.res-t.lit.down { border-color: rgba(255, 91, 110, .5); }
.res-t.cap { background: linear-gradient(180deg, #0f1730, #0e1016); border-color: #2c4590; }
.res-face { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #2c3038, 0 10px 20px #0008; }
.res-t.cap .res-face { box-shadow: 0 0 0 2px var(--ember), 0 10px 20px #0008; }
.res-face img { width: 100%; height: 100%; object-fit: cover; }
.res-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.res-pts { max-width: 100%; white-space: nowrap; font: 800 22px/1 Archivo, var(--sans); color: #e8ebf0; }
.res-t.up .res-pts { color: var(--over); }
.res-t.down .res-pts { color: var(--under); }
.res-x { position: absolute; top: -12px; right: -8px; padding: 4px 9px; border-radius: 8px; background: var(--ember); color: #fff; font: 800 17px/1 Archivo, var(--sans); box-shadow: 0 8px 18px rgba(61, 107, 255, .45); opacity: 0; }
.res-total { display: grid; justify-items: center; gap: 4px; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .35s; }
.res-total.go { opacity: 1; transform: none; }
.res-sum { font-size: clamp(64px, 13vw, 112px); line-height: .9; color: var(--over); text-shadow: 0 8px 36px rgba(61, 220, 132, .3); }
.res-emblem { width: 190px; height: 190px; object-fit: contain; filter: drop-shadow(0 20px 30px #000c); }
.s2.on .res-emblem { animation: res-emblem .7s cubic-bezier(.2, .8, .2, 1.2) both; }
@keyframes res-emblem { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }
.res-place { display: grid; justify-items: start; gap: 6px; }
.res-reel { height: 96px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.res-col { will-change: transform; }
.res-reel b { display: block; height: 96px; font-size: 96px; line-height: 96px; color: #fff; }
.res-reel sup { font-size: 40px; vertical-align: top; position: relative; top: 8px; margin-left: 2px; color: #9aa3ae; }
.res-of { color: #9aa3ae; font-size: 15px; opacity: 0; transition: opacity .3s; }
.res-of.go { opacity: 1; }
.res-case { width: 240px; aspect-ratio: 1; }
.res-case img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 36px #000c); }
.res-win { display: grid; justify-items: center; gap: 2px; opacity: 0; }
.res-sol { font-size: clamp(56px, 11vw, 96px); line-height: .95; color: #fff; }
.res-beat { display: grid; justify-items: center; gap: 6px; width: min(380px, 100%); }
.res-pct { font-size: 72px; line-height: .9; color: #fff; }
.res-note { margin: 10px 0 0; color: #9aa3ae; }
.res-bar { width: 100%; height: 8px; margin-top: 6px; border-radius: 99px; background: #1b1e24; overflow: hidden; }
.res-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--ember), var(--gold)); }
.res-acts { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; min-height: 54px; opacity: 0; transition: opacity .3s; }
.res-acts.go { opacity: 1; }
.mo-btn { position: relative; padding: 17px 34px; border-radius: 12px; background: linear-gradient(180deg, #5a86ff, #2f5bea); color: #fff; font: 800 22px/1 Archivo, var(--sans); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(61, 107, 255, .4), inset 0 1px 0 #ffffff40; transform: none; transition: transform .12s, filter .15s; }
.mo-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.mo-btn:active { transform: scale(.96); }
.mo-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, transparent 30%, #ffffff55 50%, transparent 70%); background-size: 260% 100%; animation: mo-sheen 2.4s ease-in-out infinite; pointer-events: none; }
.mo-link { color: #9aa3ae; font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .res-team { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .res-t { padding: 10px 4px; border-radius: 12px; }
  .res-face { width: 40px; height: 40px; }
  .res-name { font-size: 11px; }
  .res-pts { font-size: 15px; }
  .res-emblem { width: 120px; height: 120px; }
  .res-place { justify-items: center; }
  .res-case { width: 190px; }
  .res-reel, .res-reel b { height: 72px; line-height: 72px; font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) { .sheen, .mo-btn::after, .mo-bump { animation: none !important; } }

/* ---- round 2 ---- */
/* the italic numbers with a shine were clipped on the right: the shine is painted inside the box, and italic letters
   lean out of it, so give them room */
.sheen { padding: 0 .16em; margin: 0 -.16em; }
/* what the moment is waiting for */
.mo-hint { position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translate(-50%, 12px); z-index: 2; padding: 12px 22px; border-radius: 99px; background: rgba(20, 22, 27, .85); border: 1px solid #2f343d; color: #e8ebf0; font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.mo-hint.on { opacity: 1; transform: translate(-50%, 0); animation: mo-hint 1.4s ease-in-out infinite; }
@keyframes mo-hint { 50% { box-shadow: 0 0 0 6px rgba(255, 160, 60, .08), 0 0 26px rgba(255, 150, 60, .25); color: #fff; } }
.mo { cursor: pointer; }
.mo button { cursor: pointer; }
.mo-plus { position: fixed; z-index: 730; transform: translateX(-50%); color: #ffcf6b; font: 800 20px/1 Archivo, var(--sans); text-shadow: 0 2px 10px rgba(255, 150, 50, .5); pointer-events: none; animation: mo-plus 1.05s cubic-bezier(.2, .8, .2, 1) forwards; }
/* each +N starts under the balance and rises into it */
@keyframes mo-plus { from { opacity: 0; transform: translate(-50%, 46px) scale(.8); } 25% { opacity: 1; transform: translate(-50%, 30px) scale(1.12); } to { opacity: 0; transform: translate(-50%, -2px) scale(.9); } }
/* the league badge: the emblem with its name */
.res-badge { display: grid; justify-items: center; gap: 4px; }
.res-tier { font: 800 26px/1 Archivo, var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #e8ebf0; }
/* the prize case: hidden until it lands, breathing while it waits for taps, glowing hotter with each tap */
.res-case { position: relative; width: 280px; aspect-ratio: 1; opacity: 0; }
.res-case img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 36px #000c); }
.res-case.idle img { animation: res-breathe 1.8s ease-in-out infinite; }
@keyframes res-breathe { 50% { transform: translateY(-6px) scale(1.015); filter: drop-shadow(0 32px 40px #000c) brightness(1.08); } }
.res-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 50, .55), rgba(255, 110, 30, .18) 45%, transparent 70%); opacity: 0; transition: opacity .3s; filter: blur(6px); }
.res-cr { display: flex; align-items: baseline; gap: 12px; font: 800 clamp(52px, 10vw, 88px)/.95 Archivo, var(--sans); color: #fff; }
.res-cr small { font-size: .32em; color: #ffcf6b; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 640px) { .res-case { width: 210px; } .res-tier { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .res-case.idle img, .mo-hint.on { animation: none !important; } }

/* ---- round 3 ---- */
.mo-plus.minus { color: #c9b8ff; animation-name: mo-minus; }
@keyframes mo-minus { from { opacity: 0; transform: translate(-50%, -10px) scale(.9); } 25% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } to { opacity: 0; transform: translate(-50%, 40px) scale(.9); } }

/* the case: light forcing its way out of the lid's seam, then a pillar of light when it bursts */
.res-seam { position: absolute; left: 6%; right: 6%; top: 44%; height: 4%; border-radius: 99px; background: radial-gradient(50% 50% at 50% 50%, #fff6e0, #ffb347 45%, rgba(255, 120, 30, 0) 75%); filter: blur(3px); opacity: 0; mix-blend-mode: screen; transition: opacity .25s; pointer-events: none; }
.res-seam::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 40%; height: 900%; background: linear-gradient(0deg, rgba(255, 190, 90, .55), transparent); clip-path: polygon(8% 100%, 92% 100%, 100% 0, 0 0); filter: blur(10px); opacity: .8; }
.res-pillar { position: absolute; left: 30%; right: 30%; bottom: 45%; height: 0; border-radius: 50% 50% 0 0; background: linear-gradient(0deg, rgba(255, 240, 200, .95), rgba(255, 180, 80, .5) 40%, transparent); filter: blur(8px); opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.res-case.burst .res-pillar { animation: res-pillar 1.1s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes res-pillar { 0% { height: 0; opacity: 1; } 35% { height: 120vh; opacity: 1; } 100% { height: 120vh; opacity: 0; } }

/* cashing out: credits fuse into a SOL coin, which is sent to your wallet */
.cash { gap: 14px; }
.cash-core { --g: 0; position: relative; width: 230px; height: 230px; display: grid; place-items: center; perspective: 700px; }
.cash-glow { position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(150, 110, 255, calc(.15 + var(--g) * .45)), rgba(20, 241, 149, calc(var(--g) * .12)) 45%, transparent 68%); transition: background .2s; }
.cash-coin { position: relative; width: 190px; height: 190px; object-fit: contain; transform: scale(.3); opacity: .9; filter: drop-shadow(0 24px 30px #000c); transition: transform .18s cubic-bezier(.2, .8, .2, 1.4); }
.cash-core.fused .cash-coin { transform: none; opacity: 1; }
.cash-core.fused .cash-glow { background: radial-gradient(circle, rgba(150, 110, 255, .55), rgba(20, 241, 149, .16) 45%, transparent 68%); }
.cash-core.sending .cash-coin { animation: cash-spin 1.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes cash-spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.cash-core.failed .cash-coin { filter: grayscale(.9) brightness(.6); }
.cash-core.failed .cash-glow { opacity: .15; transition: opacity .5s; }
.cash-core.leaving .cash-coin { transform: translate(90px, 150px) scale(.25); opacity: 0; transition: transform .7s cubic-bezier(.5, 0, .75, .4), opacity .6s .1s; }
.cash-core.leaving .cash-glow { opacity: 0; transition: opacity .5s; }
.cash-amt { display: flex; align-items: baseline; gap: 10px; }
.cash-num { font: 800 clamp(50px, 9.5vw, 82px)/.95 Archivo, var(--sans); color: #fff; padding-right: .1em; }
.cash-num.sol { background: linear-gradient(100deg, #d9c8ff, #9f7bff 40%, #6ff0cf 80%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .16em; margin: 0 -.16em; }
.cash-unit { color: #b9a6ff; font: 800 24px/1 Archivo, var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.cash-route { display: flex; align-items: center; gap: 10px; width: min(440px, 100%); opacity: .35; transition: opacity .3s; }
.cash-route.on { opacity: 1; }
.cash-node { padding: 9px 14px; border-radius: 10px; background: #14171c; border: 1px solid #2a2e36; font: 600 12px/1 var(--mono); color: #e8ebf0; white-space: nowrap; transform: none; transition: border-color .3s, box-shadow .3s, color .3s; }
.cash-wallet.landed { border-color: rgba(124, 245, 210, .7); color: #9ff7dc; box-shadow: 0 0 24px rgba(124, 245, 210, .3); }
.cash-line { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #3a3e47 0 6px, transparent 6px 12px); overflow: visible; }
.cash-line i { position: absolute; top: 50%; left: 0; width: 34px; height: 6px; margin-top: -3px; border-radius: 99px; background: linear-gradient(90deg, transparent, #b48cff, #7cf5d2); box-shadow: 0 0 14px #9f7bff; opacity: 0; }
.cash-route.moving .cash-line i { opacity: 1; animation: cash-flow .9s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes cash-flow { from { left: 0; } to { left: calc(100% - 34px); } }
.cash-status { margin: 0; min-height: 22px; color: #c3c9d3; font-size: 15px; }
.cash-status.in { animation: cash-in .35s ease-out; }
@keyframes cash-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 640px) { .cash-core { width: 180px; height: 180px; } .cash-coin { width: 150px; height: 150px; } .mo-hud-num { font-size: 32px; } .mo-hud-coin { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .cash-core.sending .cash-coin, .res-case.burst .res-pillar, .cash-route.moving .cash-line i { animation: none !important; } }

/* ---- round 4 ---- */
/* the 3D layer sits behind the moment's text and draws its own dark backdrop */
.mo-3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 539; opacity: 0; transition: opacity .3s; pointer-events: none; }
.mo-3d.in { opacity: 1; }
.mo.has3d { background: transparent; backdrop-filter: none; }
/* light rays behind something (never on top of it) */
.mo-hero, .res-badge { position: relative; isolation: isolate; }
.mo-rays { position: absolute; inset: -60%; z-index: -1; border-radius: 50%; background: repeating-conic-gradient(rgba(var(--rc, 255, 170, 80), .2) 0 7deg, transparent 7deg 20deg); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 64%); mask-image: radial-gradient(circle, #000 0, transparent 64%); opacity: 0; transition: opacity .6s; animation: mo-rays 24s linear infinite; pointer-events: none; }
.lit > .mo-rays { opacity: 1; }
@keyframes mo-rays { to { transform: rotate(360deg); } }
/* the total: points pour in, it trembles, then it lands */
.res-t { transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1.2), border-color .3s, box-shadow .3s, filter .3s; }
.res-t.spent { opacity: .5; filter: saturate(.6); }
.res-sum { display: inline-block; transition: color .2s; }
.res-sum.neg { color: var(--under); text-shadow: 0 8px 36px rgba(255, 91, 110, .3); }
.res-sum.kick { animation: hud-kick .3s cubic-bezier(.2, .8, .2, 1.4); }
.res-sum.charge { animation: res-charge .09s linear infinite; text-shadow: 0 0 30px rgba(255, 255, 255, .45), 0 0 60px currentColor; }
@keyframes res-charge { 0% { transform: translate(-1.5px, 1px) scale(1.03); } 50% { transform: translate(1.5px, -1px) scale(1.04); } 100% { transform: translate(-1px, -1px) scale(1.03); } }
.res-sum.landed { text-shadow: 0 0 22px currentColor, 0 10px 40px rgba(0, 0, 0, .5); }
@keyframes hud-kick { 0% { transform: scale(1); } 30% { transform: scale(1.14); filter: brightness(1.35); } 100% { transform: scale(1); } }
/* your place: gold when it's a podium, and a stamp under it */
.res-reel { display: inline-block; }
.res-reel.gold b { background: linear-gradient(180deg, #fff3cf, #ffcf6b 55%, #e09a2a); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .12em; }
.res-medal { padding: 6px 12px; border-radius: 8px; background: linear-gradient(180deg, #ffcf6b, #e09a2a); color: #1a1205; font: 800 18px/1 Archivo, var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(255, 170, 60, .35); opacity: 0; }
.res-medal:empty { display: none; }
.res-case { opacity: 0; }
/* the balance in the header grows while coins move into it */
.credchip.mo-big { position: relative; z-index: 2; transform: translateY(16px) scale(2.1); border-color: rgba(153, 69, 255, .6); box-shadow: 0 16px 40px #000a, 0 0 26px rgba(79, 134, 255, .4); }
.cc-num.kick { animation: hud-kick .32s cubic-bezier(.2, .8, .2, 1.4); }
@media (prefers-reduced-motion: reduce) { .mo-rays, .res-sum.charge { animation: none !important; } }
.has3d .res-case { width: min(400px, 74vw); }

/* ---- round 7 ---- */
/* coins in flight draw on a see-through 3D layer above everything, the header too */
.mo-3d.over { z-index: 760; }
/* a moment with a model you can grab and turn */
.mo.can-drag { touch-action: none; }
.mo.grabbing { cursor: grabbing; }
/* the total locks in: light runs through the digits and fades back to its colour */
.res-sum.lock { animation: res-lock .75s cubic-bezier(.2, .8, .2, 1); text-shadow: 0 0 22px currentColor, 0 10px 40px rgba(0, 0, 0, .5); }
@keyframes res-lock { 0% { color: #fff; text-shadow: 0 0 18px #fff, 0 0 60px currentColor, 0 0 120px currentColor; filter: brightness(1.5); } 100% { filter: none; } }
/* your place: the league up top, then the day's table with your row in the middle */
.res-badge.sm { grid-auto-flow: column; align-items: center; gap: 10px; }
.res-badge.sm .res-emblem { width: 92px; height: 92px; }
.res-badge.sm .res-tier { font-size: 24px; }
.res-badge.sm .mo-rays { inset: -120% -40%; }
.res-board { position: relative; width: min(460px, 100%); height: 268px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.res-row { position: absolute; top: 0; left: 6px; right: 6px; height: 46px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; padding: 0 16px; box-sizing: border-box; border-radius: 12px; background: #14171c; border: 1px solid #23272e; transform-origin: 50% 50%; will-change: transform, opacity; }
.res-row .rk { font: 800 22px/1 Archivo, var(--sans); color: #8f98a4; text-align: left; }
.res-row .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; color: #d9dee6; font-weight: 600; font-size: 14px; }
.res-row .pt { font: 800 19px/1 Archivo, var(--sans); color: var(--over); }
.res-row .pt.neg { color: var(--under); }
.res-row.me { z-index: 3; left: 0; right: 0; height: 52px; background: linear-gradient(90deg, #0f1a3a, #0c1328 70%); border-color: rgba(92, 138, 255, .75); box-shadow: 0 0 0 1px rgba(92, 138, 255, .25), 0 12px 32px rgba(0, 0, 0, .6), 0 0 30px rgba(61, 107, 255, .18); }
.res-row.me .rk { color: #fff; font-size: 26px; }
.res-row.me .nm { color: #fff; font-size: 15px; }
.res-row.me .pt { font-size: 22px; }
/* the medal lands on your row with the hit */
.res-row.me.landed .rk { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; color: #1a1205; background: radial-gradient(circle at 35% 30%, #fff3cf, #ffcf6b 45%, #c98a22); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25) inset, 0 6px 16px rgba(0, 0, 0, .5), 0 0 22px rgba(255, 190, 90, .45); animation: res-medal .45s cubic-bezier(.2, .8, .2, 1.5); }
.res-row.me.landed:not(.m1):not(.m2):not(.m3) .rk { color: #fff; background: #23272e; box-shadow: 0 0 0 1px #3a3f48 inset; }
.res-row.me.m2 .rk { background: radial-gradient(circle at 35% 30%, #ffffff, #d6dbe2 45%, #8d96a3); box-shadow: 0 0 0 2px rgba(255, 255, 255, .3) inset, 0 6px 16px rgba(0, 0, 0, .5), 0 0 20px rgba(220, 230, 245, .35); }
.res-row.me.m3 .rk { background: radial-gradient(circle at 35% 30%, #ffe0c2, #d9915a 45%, #8e5126); box-shadow: 0 0 0 2px rgba(255, 255, 255, .22) inset, 0 6px 16px rgba(0, 0, 0, .5), 0 0 20px rgba(230, 150, 90, .4); }
@keyframes res-medal { from { transform: scale(1.9) rotate(-25deg); opacity: 0; } }
.res-of { margin: 2px 0 0; font-size: 16px; transform: translateY(6px); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1.4); }
.res-of.go { transform: none; }
.res-of b { color: #fff; font: 800 20px/1 Archivo, var(--sans); letter-spacing: .02em; }
@media (max-width: 640px) {
  .res-badge.sm .res-emblem { width: 72px; height: 72px; }
  .res-row { grid-template-columns: 42px 1fr auto; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .res-sum.lock, .res-row.me.landed .rk { animation: none !important; } }
/* the 3D stack of credits gets a wider stage than the picture had */
.has3d .mo-hero { width: min(460px, 88vw); aspect-ratio: 1.45; }
.has3d .mo-hero .mo-rays { display: none; }
/* money is SOL: its labels take the SOL violet */
.mo-unit, .res-cr small { color: #b9a6ff; }
/* a mock draft win: one quiet line under the amount */
.res-practice { margin: 8px 0 0; font-size: 13px; color: #8f98a4; text-align: center; }

/* the daily check-in's last scene: places moved, the gap to the top */
.res-stand .res-pct.up { color: var(--over, #3ddc84); }
.res-stand .res-pct.down { color: var(--under, #ff5b6e); }
.res-stand .res-note b { color: #fff; }
