/* App pages (draft, my team, leaderboard): the lineup site's layout in this site's look (black, Inter Tight,
   ember accent). A page head, the today/yesterday strip, then one view. */
.play { --warn: #f5c35c; --glow: rgba(61, 107, 255, .14); }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gut); }
.gain { color: var(--over); } .loss { color: var(--under); } .dim { color: var(--smoke); }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 22px; }
.loading { padding: 60px 0; }
#view:focus { outline: none; }

/* ---------- top bar ---------- */
.play .top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 12px var(--gut); background: rgba(8, 9, 12, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.navpills { display: flex; gap: 4px; padding: 5px; margin: 0 auto; border-radius: 99px; background: var(--panel); border: 1px solid var(--rule); }
.navpills a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; color: var(--smoke); transition: color .2s, background .2s; }
.navpills a:hover { color: var(--ash); }
.navpills a.on { background: var(--ash); color: #000; }
.ldot { width: 6px; height: 6px; border-radius: 50%; background: var(--over); animation: blink 1.6s ease-in-out infinite; }
.ldot[hidden] { display: none; }
@keyframes blink { 50% { opacity: .3; } }
.right { position: relative; display: flex; align-items: center; gap: 12px; }
.demo { color: #a9bfff; background: var(--ember-deep); border-radius: 99px; padding: 6px 10px; font-size: 10px; }
.wallet { background: #1b1d22; border-radius: 99px; padding: 10px 16px; font: 700 13px/1 var(--sans); letter-spacing: 0; } /* an address keeps its own capitals */
.wallet:hover { background: #23262d; }
.pop { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: var(--panel); border: 1px solid var(--rule); border-radius: 18px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 24px 60px #000a; }
.pop[hidden] { display: none; }
.rowf { display: flex; gap: 8px; margin-top: 8px; }
.pop input { flex: 1; min-width: 0; background: var(--panel2); border: 1px solid var(--rule); border-radius: 99px; color: var(--ash); padding: 10px 14px; font: inherit; font-size: 14px; }
.poprow { display: flex; justify-content: space-between; align-items: center; }
.poprow[hidden], .demo[hidden] { display: none; }
.fine { color: var(--smoke); font-size: 13px; line-height: 1.45; }
.fine a, .ctx a { color: var(--ember); font-weight: 600; }

/* ---------- page head ---------- */
.phead { padding: 64px 0 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ember); font-size: 12px; letter-spacing: .14em; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--ember); }
.hrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.phead h1 { font-size: clamp(46px, 7vw, 96px); font-weight: 700; letter-spacing: -.05em; line-height: .92; }
.phead h1 em { font-style: normal; color: var(--ember); }
.hchips { display: grid; gap: 10px; justify-items: end; max-width: 460px; } /* narrow enough to sit beside the title; the chips wrap inside it */
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 99px; background: var(--panel); border: 1px solid var(--rule); color: var(--smoke); font-size: 11px; }
.chip b { color: var(--ash); font-weight: 600; }
.ctx { color: var(--smoke); margin-top: 20px; max-width: 70ch; font-size: 17px; }
.ctx b { color: var(--ash); font-weight: 600; }
.intro { color: var(--smoke); margin-top: 8px; max-width: 70ch; font-size: 17px; }
.intro[hidden] { display: none; }

/* segmented buttons: leagues, sorting, days */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 99px; background: var(--panel); border: 1px solid var(--rule); }
.seg button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; color: var(--smoke); font-size: 11px; white-space: nowrap; transition: background .2s, color .2s; }
.seg button:hover { color: var(--ash); }
.seg button.on { background: var(--ash); color: #000; }
.seg button i { font-style: normal; font-size: 9px; padding: 3px 6px; border-radius: 99px; background: #23262d; color: var(--smoke); }
.seg button i.live { background: var(--ember-deep); color: #a9bfff; }
.seg button.on i { background: #00000018; color: #000; }

/* ---------- the strip: today and yesterday, always named by their day ---------- */
.rstrip { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; margin-bottom: 28px; }
.rcard { display: grid; gap: 7px; align-content: center; padding: 16px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--rule); min-width: 0; transition: border-color .2s, transform .2s; }
a.rcard:hover { border-color: #3a3e47; transform: translateY(-1px); }
.rcard.active { border-color: var(--ember); background: linear-gradient(160deg, var(--ember-deep), var(--panel) 70%); }
.rh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rcard h4 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.ry { font-size: 15px; color: #c9cdd4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ry b { color: var(--ash); }
.rs { color: var(--smoke); font-size: 10px; }
.rtag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; font: 600 10px/1 var(--mono); letter-spacing: .12em; white-space: nowrap; }
.rtag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
.rtag.live { color: var(--over); background: var(--over-bg); }
.rtag.draft { color: var(--warn); background: #2b2210; }
.rtag.final { color: var(--smoke); background: var(--panel2); }
.rmid { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 0 10px; min-width: 170px; text-align: center; }
.rmid small { color: var(--smoke); font-size: 10px; }
.rmid b { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ember); }

/* ---------- empty states ---------- */
.empty { padding: 48px 28px; text-align: center; display: grid; gap: 14px; justify-items: center; color: var(--smoke); }
.empty h3 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.035em; color: var(--ash); }
.empty p { margin: 0; max-width: 48ch; }

/* ---------- draft: team on the left, traders on the right ---------- */
.dgrid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.builder { position: sticky; top: 84px; display: grid; overflow: hidden; }
.bhead { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 26px; border-bottom: 1px solid var(--rule); }
.bhead h3 { font-size: 24px; font-weight: 700; letter-spacing: -.035em; margin-bottom: 6px; }
.lockbox { display: inline-flex; align-items: center; gap: 10px; color: var(--smoke); font-size: 14px; }
.lockbox b { font-size: 22px; color: var(--ash); font-variant-numeric: tabular-nums; }
.stage { padding: 6px 14px 0; background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--glow), transparent 70%); }
.formation { --capH: 176px; --pad: 28px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: start; padding: var(--pad) 4px 18px; }
.formation::before { content: ''; position: absolute; left: 4%; right: 4%; top: calc(var(--pad) + var(--capH) / 2); height: 1px; background: linear-gradient(90deg, transparent, #1d2c5c, transparent); }
.formation::after { content: ''; position: absolute; left: 50%; top: calc(var(--pad) + var(--capH) / 2); width: min(380px, 64%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(61, 107, 255, .12); pointer-events: none; }
/* the budget: what is left in big type, and a bar with one block per pick, sized by its price */
.budget { display: grid; gap: 14px; padding: 18px 26px 20px; border-bottom: 1px solid var(--rule); }
.bud-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.bud-num { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.bud-num b { font-size: 52px; font-weight: 700; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.bud-of { color: var(--smoke); font-size: 15px; font-weight: 500; }
.bud-next { font-size: 13px; font-weight: 600; color: var(--over); }
.bud-next.loss, .bud-num b.loss { color: var(--under); }
.bud-hint { color: var(--smoke); font-size: 12px; text-align: right; }
.bud-bar { display: flex; height: 28px; border-radius: 9px; overflow: hidden; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--rule); contain: layout paint style; }
.bseg { flex: none; width: 0; height: 100%; display: grid; place-items: center; background: #3a3e47; box-shadow: inset -2px 0 0 var(--panel); transition: width .18s cubic-bezier(.2, .8, .3, 1); }
.bseg span { font: 600 11px/1 var(--mono); color: var(--ash); }
.bseg.cap { background: var(--ember); }
.bseg.cap span { color: #fff; }
.bseg.prev { background: repeating-linear-gradient(135deg, rgba(61, 107, 255, .32) 0 6px, rgba(61, 107, 255, .14) 6px 12px); box-shadow: inset 0 0 0 1px var(--ember); }
.bseg.prev span { color: #a9bfff; }
.bseg.prev.over { background: repeating-linear-gradient(135deg, rgba(255, 91, 110, .38) 0 6px, rgba(255, 91, 110, .16) 6px 12px); box-shadow: inset 0 0 0 1px var(--under); }
.bseg.prev.over span { color: var(--under); }
.hintline { padding: 0 26px 18px; color: var(--smoke); font-size: 12px; text-align: center; }
.bfoot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 26px 22px; border-top: 1px solid var(--rule); }
.savebar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; flex: 1 1 280px; }
.savebar .pill { min-width: 170px; padding: 15px 22px; }
.saved { color: var(--smoke); font-size: 13px; min-height: 18px; flex: 1 1 160px; }
.saved .ok, .wsec .ok { color: var(--over); }
.linkish { color: var(--ember); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* the five circles: one centre line, details underneath, the captain in the middle */
/* one column exactly as wide as the slot, so a long name or chip can never stretch a circle past its neighbours */
.slot { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 10px; text-align: center; min-width: 0; }
.dwrap { height: var(--capH); width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.dbox { position: relative; width: 100%; max-width: 108px; aspect-ratio: 1; }
.slot.cap .dbox { max-width: var(--capH); }
.disc { position: relative; overflow: hidden; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--rule), 0 14px 30px -12px #000c; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, opacity .2s; color: var(--smoke); font: 400 28px/1 var(--mono); touch-action: none; user-select: none; -webkit-user-select: none; }
button.disc { cursor: grab; }
button.disc:hover { transform: translateY(-3px); }
.slot.cap .disc { box-shadow: 0 0 0 2px var(--ember), 0 0 50px -8px var(--ember); }
.slot.emptyslot .disc { border: 1px dashed #3a3e47; box-shadow: none; }
.slot.cap.emptyslot .disc { border-color: #2c4590; }
.sinfo { display: grid; justify-items: center; align-content: start; gap: 7px; min-height: 84px; width: 100%; min-width: 0; transition: opacity .2s; }
.slot b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; min-height: 17px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sprice { font: 600 14px/1 var(--mono); padding: 6px 10px; border-radius: 8px; background: #23262d; color: var(--ash); font-variant-numeric: tabular-nums; }
.slot.cap .sprice { background: var(--ember); color: #fff; }
.chip24 { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--rule); font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; }
.chip24 i { font-style: normal; font-weight: 400; color: var(--smoke); }
.slot:not(.cap) .chip24 i { display: none; } /* the side circles are too narrow for "today"; the captain keeps it */
.slot small { font-size: 10px; letter-spacing: .1em; color: var(--smoke); text-transform: uppercase; }
.slot.cap small { color: var(--ember); }
.x { position: absolute; top: -2px; right: -2px; width: 24px; height: 24px; border-radius: 50%; background: #1b1d22; box-shadow: inset 0 0 0 1px #3a3e47; display: grid; place-items: center; font: 500 14px/1 var(--mono); color: var(--smoke); opacity: 0; transition: opacity .2s; }
.slot:hover .x, .x:focus-visible { opacity: 1; }
@media (hover: none) { .x { opacity: 1; } }
.slot.landing .disc, .slot.lifted .disc { opacity: 0; }
.slot.lifted .sinfo { opacity: .3; }

/* faces: a round picture in any size */
.orb { position: relative; display: block; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--panel2); box-shadow: 0 0 0 2px #ffffff0f; }
.orb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.orb.lg { width: 64px; height: 64px; }
.orb.sm { width: 26px; height: 26px; }
.orb.xs { width: 28px; height: 28px; }
.orb.big { width: 72px; height: 72px; box-shadow: 0 0 0 2px var(--ember); }
.orb.fill { position: absolute; inset: 0; width: 100%; height: 100%; box-shadow: none; }

/* the trader cards */
.pool { overflow: hidden; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 20px; border-bottom: 1px solid var(--rule); }
.search { position: relative; flex: 1 1 200px; max-width: 360px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
.input { width: 100%; padding: 13px 16px 13px 42px; border-radius: 99px; border: 1px solid var(--rule); background: var(--panel2); color: var(--ash); font: 500 15px/1.2 var(--sans); }
.input:focus { outline: none; border-color: var(--ember); }
.input::placeholder { color: var(--smoke); }
.pool-scroll { max-height: 830px; overflow: auto; overscroll-behavior: contain; }
#list { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; padding: 14px; }
#list .empty { grid-column: 1 / -1; }
.tcard { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; padding: 16px 10px 12px; border-radius: 18px; background: var(--panel2); border: 1px solid transparent; cursor: pointer; transition: border-color .2s, transform .2s, opacity .2s; user-select: none; -webkit-user-select: none; min-width: 0; }
.tcard:hover { border-color: #3a3e47; transform: translateY(-2px); }
.tcard .orb.lg { margin-bottom: 6px; cursor: grab; touch-action: none; transition: opacity .2s; }
.tcard .nm { font-size: 16px; font-weight: 700; letter-spacing: -.02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard .sub { font-size: 10px; color: var(--smoke); }
.tcard .chg { font-size: 13px; font-weight: 600; margin-top: 6px; }
.tcard .price { position: absolute; top: 10px; right: 10px; display: grid; gap: 3px; min-width: 40px; padding: 6px 8px 7px; border-radius: 10px; background: #23262d; color: var(--ash); font-size: 16px; font-weight: 600; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.tcard .price small { font-size: 8px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.tcard.on .price { background: var(--ember); color: #fff; }
.tcard.dear .price { background: var(--under-bg); color: var(--under); }
.tcard.on { border-color: var(--ember); background: linear-gradient(160deg, var(--ember-deep), var(--panel2) 75%); }
.tcard.on .orb { opacity: .4; }
.tcard.dis { opacity: .5; }
.tcard.dis:hover { transform: none; }
.onteam { position: absolute; left: 50%; top: 36px; transform: translateX(-50%); padding: 6px 11px; border-radius: 99px; background: #08090cea; box-shadow: 0 0 0 1px var(--ember); font-size: 11px; white-space: nowrap; pointer-events: none; }
.onteam.hard { box-shadow: 0 0 0 1px #3a3e47; color: var(--smoke); }
.tcard.dragging-src { opacity: .35; }

/* dragging: the face hangs from the cursor on a thread */
body.is-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
body.is-dragging * { cursor: grabbing !important; }
.is-dragging .slot.emptyslot .disc { border-color: var(--ember); }
/* A ring around each circle: open circles breathe while you drag, the one under the face lights up, and a face
   that lands sends one ring out. Rings only fade and grow (the compositor does that without repainting), and the
   circle and its picture never change size. */
.dbox::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ember); opacity: 0; pointer-events: none; transition: opacity .12s, transform .12s; }
.is-dragging .slot.emptyslot .dbox::after { animation: breathe 1.3s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .4; transform: scale(1.05); } }
.slot.hot .dbox::after { opacity: 1; transform: scale(1.06); animation: none; }
.builder.over { border-color: #2c4590; }
.slot.arrived .dbox::after { animation: ring .45s cubic-bezier(.2, .7, .3, 1); }
@keyframes ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.25); } }
.builder.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
/* The dragged face: its own layers, moved only by transforms, and no filters (a filter would be repainted every frame). */
.orb-drag { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 400; pointer-events: none; will-change: transform; contain: layout style; }
.orb-drag .swing { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
.orb-drag .thread { position: absolute; left: -.5px; top: 0; width: 1px; height: 20px; background: linear-gradient(var(--ember), rgba(61, 107, 255, .25)); }
.orb-drag .body { position: absolute; left: -36px; top: 20px; width: 72px; display: grid; justify-items: center; gap: 8px; transform: scale(var(--s, .5)); transform-origin: 50% 36px; transition: transform .16s cubic-bezier(.2, .8, .3, 1); will-change: transform; }
.orb-drag .orb.big { box-shadow: 0 0 0 2px var(--ember), 0 18px 28px -10px #000d; }
/* while dragging: nothing under the cursor reacts to hovering, and the header stops blurring what is behind it */
body.is-dragging .tcard { transition: none; }
body.is-dragging .tcard:hover { transform: none; border-color: transparent; }
body.is-dragging .tcard.on:hover { border-color: var(--ember); }
body.is-dragging.play .top { backdrop-filter: none; background: rgba(8, 9, 12, .97); }
.orb-drag em { font: 600 12px/1 var(--sans); font-style: normal; padding: 5px 10px; border-radius: 99px; background: #08090cee; box-shadow: inset 0 0 0 1px #3a3e47; white-space: nowrap; }
.orb-fly { position: fixed; left: 0; top: 0; z-index: 390; pointer-events: none; will-change: transform, opacity; }
.orb-fly .orb { width: 100% !important; height: 100% !important; opacity: 1 !important; margin: 0 !important; box-shadow: none; }

/* ---------- my team ---------- */
.mgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.scorecard { padding: 30px; display: grid; gap: 26px; position: relative; overflow: hidden; }
.scorecard::before { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); pointer-events: none; }
.sc-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; position: relative; }
.bigscore { font-size: clamp(64px, 9vw, 124px); font-weight: 700; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; margin-top: 10px; }
.sc-side { display: grid; gap: 14px; text-align: right; }
.sc-side b { display: block; font-size: 26px; margin-top: 8px; }
.ctable { display: grid; gap: 6px; }
.chead, .crow { display: grid; grid-template-columns: 40px minmax(0, 1.4fr) .7fr 1fr .7fr 1fr; gap: 12px; align-items: center; padding: 12px 14px; }
.chead { color: var(--smoke); font-size: 10px; }
.chead span:nth-child(n+3) { text-align: right; }
.crow { border-radius: 14px; background: var(--panel2); }
.crow.cap { background: linear-gradient(90deg, var(--ember-deep), var(--panel2)); box-shadow: inset 0 0 0 1px #1d2c5c; }
.crow .nm { min-width: 0; }
.crow .nm b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow .nm small { color: var(--smoke); font-size: 11px; }
.crow .v { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.crow .pts { font-size: 16px; font-weight: 700; }
.side { display: grid; gap: 28px; }
.card { padding: 26px; display: grid; gap: 14px; }
.card h3 { font-size: 24px; font-weight: 700; letter-spacing: -.035em; }
.cb-row { display: grid; grid-template-columns: 140px 1fr 76px; gap: 12px; align-items: center; padding: 4px 0; }
.cb-name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; min-width: 0; }
.cb-name span:not(.orb) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-tag { font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: 6px; background: var(--ember); color: #fff; }
.cb-track { position: relative; height: 22px; }
.cb-zero { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #ffffff40; }
.cb-bar { position: absolute; top: 3px; height: 16px; }
.cb-bar.up { background: var(--over); border-radius: 0 4px 4px 0; }
.cb-bar.down { background: var(--under); border-radius: 4px 0 0 4px; }
.cb-row b { text-align: right; font-size: 13px; }
.cb-total { display: flex; justify-content: space-between; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--smoke); font-size: 11px; }
.cb-total b { font-size: 16px; letter-spacing: 0; }
.timeline { display: grid; }
.tl { display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: start; padding: 10px 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 7px; top: 26px; bottom: -10px; width: 1px; background: var(--rule); }
.tl:last-child::before { display: none; }
.tl > i { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--smoke); margin-top: 3px; background: var(--panel); position: relative; }
.tl.done > i { background: var(--ember); box-shadow: none; }
.tl.now > i { box-shadow: inset 0 0 0 4px var(--ember); }
.tl b { display: block; font-size: 15px; font-weight: 600; }
.tl small { color: var(--smoke); font-size: 13px; }
.tl .t { color: var(--smoke); font-size: 12px; }

/* ---------- leaderboard ---------- */
.controls { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs .seg { flex-wrap: nowrap; }
.td { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.td.live { background: var(--over); } .td.drafting { background: var(--warn); } .td.final { background: var(--smoke); }
.seg button.on .td.final { background: #0006; }
.controls .search { width: min(320px, 100%); flex: none; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: end; margin-bottom: 28px; }
.pod { padding: 26px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.pod.p1 { padding-block: 40px; border-color: #1d2c5c; background: linear-gradient(160deg, var(--ember-deep), var(--panel) 70%); }
.pod .rk { position: absolute; right: 22px; top: 18px; font-size: 84px; font-weight: 800; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px #3a3e47; }
.pod.p1 .rk { font-size: 112px; -webkit-text-stroke-color: var(--ember); }
.pod .lab { font-size: 10px; }
.pod .pn { font-size: 26px; font-weight: 700; letter-spacing: -.035em; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .sc { font-size: 40px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pod.p1 .sc { font-size: 52px; }
.pod .pz { color: var(--over); min-height: 12px; }
.faces { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.faces .f { position: relative; }
.faces .f.cap .orb { box-shadow: 0 0 0 2px var(--ember); }
.faces .f i { position: absolute; bottom: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--ember); color: #fff; font: 600 8px/14px var(--mono); font-style: normal; text-align: center; }
.table { overflow: hidden; margin-bottom: 28px; }
.tscroll { overflow-x: auto; }
.tscroll > div { min-width: 720px; }
.thead, .trow { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.5fr) 120px 110px; gap: 16px; align-items: center; padding: 14px 24px; }
.thead { color: var(--smoke); font-size: 10px; border-bottom: 1px solid var(--rule); }
.thead .ra { text-align: right; }
.trow { border-bottom: 1px solid var(--rule); transition: background .2s; }
.trow:last-child { border-bottom: 0; }
.trow:hover { background: #ffffff05; }
.trow.you { background: var(--ember-deep); box-shadow: inset 3px 0 0 var(--ember); }
.trow .r { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--smoke); }
.trow .p { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .s { text-align: right; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.trow .z { text-align: right; font-size: 13px; color: var(--over); }
.tag { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: var(--ember); color: #fff; font-size: 10px; vertical-align: 2px; }
.tfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 24px; border-top: 1px solid var(--rule); color: var(--smoke); font-size: 12px; }
.more { display: flex; justify-content: center; padding: 16px; }
.pill.small { padding: 9px 14px; font-size: 11px; }
.season { padding: 24px 26px; margin-bottom: 60px; }
.shead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.shead h3 { font-size: 24px; font-weight: 700; letter-spacing: -.035em; }
.shead .lab { font-size: 10px; }
.brow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.brow .n { color: var(--smoke); font-size: 12px; padding-top: 2px; }
.brow b { font-weight: 600; font-variant-numeric: tabular-nums; }
.brow.me { color: var(--ember); }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ash); color: #000; border-radius: 99px; padding: 12px 20px; font-weight: 600; font-size: 14px; max-width: min(92vw, 560px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--under); }

/* the coin: wallet, contest switch, team tabs, payouts */
.navpills a[hidden], .seg[hidden], .wsec[hidden], .teamtabs[hidden], .hchips[hidden], .rstrip[hidden] { display: none; }
a.demo:hover { filter: brightness(1.15); }
.segs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.wsec { display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.wbtn { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--rule); font-weight: 600; font-size: 14px; color: var(--ash); transition: border-color .2s; }
.wbtn:hover, .wbtn:focus-visible { border-color: var(--ember); outline: none; }
.wbtn img { width: 22px; height: 22px; border-radius: 6px; }
.teamtabs { padding: 14px 26px 0; }
.teamtabs .seg { flex-wrap: wrap; }
.tx { color: var(--ember); font-size: 12px; white-space: nowrap; }
.tno { color: var(--smoke); font-size: 12px; font-weight: 400; }
.outnote { background: var(--ember-deep); border: 1px solid #2c4590; color: #a9bfff; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.payouts { margin-bottom: 28px; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px 48px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.prow b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.prow .tx { text-align: right; }
.pfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--rule); }

/* ---------- in a game: the way back, and the rules folded away ---------- */
.backpill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 11px 18px 11px 14px; border-radius: 99px; background: var(--panel); border: 1px solid var(--rule); color: var(--ash); font: 600 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; transition: border-color .2s, transform .15s; }
.backpill span { font-size: 18px; line-height: 1; transition: transform .2s; }
.backpill:hover { border-color: var(--ash); }
.backpill:hover span { transform: translateX(-3px); }
.backpill[hidden], .eyebrow[hidden] { display: none; }
.phead .hrow:first-child, .backpill + .eyebrow[hidden] + .hrow { margin-top: 0; }
.chip .ldot { width: 6px; height: 6px; }
.how { margin-top: 4px; max-width: 64ch; }
.how summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ash); font: 600 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; list-style: none; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--rule); }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: '+'; font-size: 15px; color: var(--smoke); }
.how[open] summary::after { content: '\2212'; }
.how ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--smoke); font-size: 15px; line-height: 1.5; }

/* ---------- the lobby: pick a game ---------- */
.picker { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 6px 0 4px; }
.ptrack { position: relative; display: grid; justify-items: center; padding: 18px 0 26px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.pslot { grid-area: 1 / 1; width: min(450px, 66%); transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .45s; will-change: transform; }
.pslot .gcard { height: 100%; }
.pslot:not(.on) .gcard { cursor: pointer; }
.pslot.on .gcard { box-shadow: 0 34px 80px #000b; border-color: #3a3e47; }
.pslot.on .gcard.paid { border-color: #2c4590; }
.pslot img, .pslot a { -webkit-user-drag: none; }
.parrow { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--rule); color: var(--ash); font-size: 30px; line-height: 1; padding-bottom: 4px; transition: border-color .2s, transform .15s, opacity .2s; }
.parrow:hover:not(:disabled) { border-color: var(--ash); }
.parrow:active:not(:disabled) { transform: scale(.93); }
.parrow:disabled { opacity: .25; cursor: default; }
.ptabs { display: grid; justify-items: center; margin-bottom: 22px; }
.ptabs .seg { flex-wrap: wrap; justify-content: center; }
.ptabs svg { width: 12px; height: 12px; vertical-align: -1px; }
.ptabs .ldot { display: inline-block; vertical-align: middle; }
.gplay { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; padding: 15px 20px; border-radius: 99px; background: var(--ember); color: #fff; font: 700 13px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; transition: filter .15s; }
.gplay small { font-size: 10px; font-weight: 400; opacity: .85; text-transform: none; letter-spacing: 0; }
.gplay small b { font-weight: 600; }
.gcard.free .gplay { background: var(--ash); color: #000; }
.pslot:not(.on) .gplay { visibility: hidden; }
a.gcard:hover .gplay { filter: brightness(1.1); }
.glock { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--smoke); }
.glock svg { width: 12px; height: 12px; }
@media (max-width: 640px) {
  .picker { grid-template-columns: minmax(0, 1fr); }
  .parrow { display: none; }
  .pslot { width: 80%; }
  .ptrack { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
}

/* ---------- the old lobby grid (kept for the shape of a game card) ---------- */
.eyebrow a.back { color: inherit; } .eyebrow a.back:hover { color: var(--ash); }
.seg a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; color: var(--smoke); font-size: 11px; white-space: nowrap; transition: background .2s, color .2s; }
.seg a:hover { color: var(--ash); }
.seg a.on { background: var(--ash); color: #000; }
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
@media (max-width: 1100px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .games { grid-template-columns: minmax(0, 1fr); } }
.gcard { position: relative; display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--rule); color: var(--ash); transition: border-color .2s, transform .2s, box-shadow .2s; }
a.gcard:hover { border-color: #3a3e47; transform: translateY(-2px); box-shadow: 0 18px 40px #0008; }
.gcard.paid { background: linear-gradient(180deg, rgba(61, 107, 255, .07), transparent 55%), var(--panel); }
.gcard.paid:hover { border-color: #2c4590; }
.gtop { display: flex; justify-content: space-between; align-items: center; min-height: 22px; }
.gtag { font-size: 11px; color: var(--smoke); }
.gcard.paid .gtag { color: #a9bfff; }
.gcard h3 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.gcard h3 em { font-style: normal; color: var(--ember); }
.gprize { display: grid; gap: 4px; }
.gprize b { font-size: 38px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.gprize .lab { font-size: 10px; }
.gfacts { list-style: none; margin: 0; padding: 0; display: grid; }
.gfacts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.gfacts b { font-weight: 600; }
.gfoot { display: grid; gap: 8px; padding-top: 4px; }
.gst { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ember); font-weight: 600; }
.gst.ok { color: var(--over); }
.gst.live { color: var(--ash); font-weight: 500; }
.gst.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--over); animation: blink 1.6s ease-in-out infinite; }
.gclock { font-size: 10px; } .gclock b { color: var(--ash); font-weight: 600; }
.gcard.soon { opacity: .62; border-style: dashed; }
.gcard.soon .gprize b { font-size: 20px; letter-spacing: -.02em; }
.gnote { margin: 0; color: var(--smoke); font-size: 13px; line-height: 1.45; }
.lobbynote { margin: 0 0 64px; max-width: 70ch; }

/* ---------- shop: credits in, credits out ---------- */
/* your credits: a coin, the number, "credits" (the moments grow this same pill while coins fly into it) */
.credchip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 6px; border-radius: 99px; background: #14161b; border: 1px solid var(--rule); color: var(--ash); white-space: nowrap; transform-origin: 100% 0; transition: border-color .2s, transform .4s cubic-bezier(.2, .8, .2, 1.3), box-shadow .3s; }
.credchip:hover { border-color: #2c4590; }
.cc-coin { display: inline-grid; width: 17px; height: 14px; } .cc-coin svg { width: 100%; height: 100%; }
.cc-num { font: 700 15px/1 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; display: inline-block; color: #fff; }
.cc-unit { color: var(--smoke); font: 700 11px/1 var(--sans); letter-spacing: .06em; }
.credchip[hidden] { display: none; }
.shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 64px; }
.shop .panel { min-width: 0; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.shop h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.shop p { margin: 0; }
.shop .lab.small { font-size: 10px; margin-top: 6px; }
.bignum { font-size: clamp(56px, 7vw, 92px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.sres > b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 6px; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; }
.kv b { font-weight: 600; font-variant-numeric: tabular-nums; }
.amt { display: flex; align-items: center; gap: 10px; background: var(--panel2); border: 1px solid var(--rule); border-radius: 14px; padding: 2px 16px; transition: border-color .2s; }
.amt:focus-within { border-color: var(--ember); }
.amt input { flex: 1; width: 100%; min-width: 0; background: none; border: 0; outline: none; color: var(--ash); font: 600 22px/1 var(--mono); padding: 14px 0; }
.amt input::placeholder { color: #3a3e47; }
.amt span { color: var(--smoke); font: 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.amt.wide input { font-size: 13px; font-weight: 400; }
.sbuy .seg { justify-self: start; }
.sbuy > .pill, .sout > .pill { justify-self: start; min-width: 180px; padding: 15px 22px; }
#buyNote:empty, #outNote:empty { display: none; }
.sbuy.wide, .shist, .sown { grid-column: 1 / -1; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.srow b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.srow .tx { text-align: right; }
.stag { font: 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--smoke); }
.stag.go { color: var(--warn); } .stag.ok { color: var(--over); } .stag.back { color: #a9bfff; }
.stag a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sown .rowf { flex-wrap: wrap; }
/* the cash-out: SOL rises in the ring while the credits count down, then it settles full and green */
.jar { display: flex; align-items: center; gap: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.ring { position: relative; width: 108px; height: 108px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-content: center; justify-items: center; background: var(--panel2); border: 1px solid var(--rule); transition: border-color .4s, box-shadow .6s; }
.ring b { position: relative; font-size: 19px; font-weight: 600; }
.ring .lab { position: relative; font-size: 10px; color: var(--smoke); }
.ring i { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(61, 107, 255, .32), rgba(61, 107, 255, .12)); }
.jar.filling .ring i { animation: slosh 1.8s ease-in-out infinite alternate; }
.jar.filling.fresh .ring i { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both, slosh 1.8s 1s ease-in-out infinite alternate; }
.jar.full .ring { border-color: rgba(61, 220, 132, .5); animation: landed .7s cubic-bezier(.2, .8, .2, 1); }
.jar.full .ring i { height: 100%; background: linear-gradient(180deg, rgba(61, 220, 132, .26), rgba(61, 220, 132, .1)); animation: topup .8s cubic-bezier(.2, .8, .2, 1) both; }
.jar.back .ring i { height: 0; }
@keyframes rise { from { height: 0; } to { height: 58%; } }
@keyframes slosh { from { height: 52%; } to { height: 66%; } }
@keyframes topup { from { height: 60%; } to { height: 100%; } }
@keyframes landed { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(61, 220, 132, .35); } 40% { transform: scale(1.06); } 100% { transform: scale(1); box-shadow: 0 0 0 22px rgba(61, 220, 132, 0); } }

/* the shop's shelves: boosts and the rotating stock, as cards you can scroll through */
.shelf, .shelf-h.wide { grid-column: 1 / -1; }
.shelf { display: grid; gap: 14px; margin-top: 22px; }
.shelf-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.shelf-h h3 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.035em; }
.shelf-h p { margin: 4px 0 0; max-width: 62ch; }
.shelf-h.wide { margin-top: 30px; }
.irow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 14px; overflow-x: auto; padding: 16px 2px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #2c3038 transparent; }
.irow > * { scroll-snap-align: start; }
.irow.hasmore { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
.r-common { --rc: #9aa3ae; } .r-rare { --rc: #4da3ff; } .r-epic { --rc: #b07cff; } .r-legendary { --rc: #ffc542; }
.icard { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 20px; background: radial-gradient(130% 70% at 50% 0%, color-mix(in srgb, var(--rc) 15%, transparent), transparent 62%), var(--panel); border: 1px solid color-mix(in srgb, var(--rc) 26%, var(--rule)); transition: transform .2s, box-shadow .2s; }
.icard:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #0009, 0 0 0 1px color-mix(in srgb, var(--rc) 40%, transparent); }
.icard.bundle { background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 60%), var(--panel); }
.icard.sold { opacity: .5; }
.ii { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--rc) 38%, #1b1d22), color-mix(in srgb, var(--rc) 10%, #121418)); box-shadow: inset 0 1px 0 #ffffff24, 0 10px 24px color-mix(in srgb, var(--rc) 22%, transparent); }
.ii svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ii.sm { width: 44px; height: 44px; border-radius: 13px; } .ii.sm svg { width: 24px; height: 24px; }
.ii.xs { width: 28px; height: 28px; border-radius: 9px; box-shadow: none; } .ii.xs svg { width: 17px; height: 17px; stroke-width: 2.6; }
.aa { font-weight: 800; font-size: 26px; letter-spacing: -.04em; }
.ii.sm .aa { font-size: 17px; }
.rar { font-size: 10px; color: var(--rc); margin-top: 6px; }
.icard h4 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.icard h4 .ttl { margin: 0; font-size: 12px; }
.icard p { margin: 0; color: var(--smoke); font-size: 13px; line-height: 1.45; }
.ifoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.ifoot .lab { font-size: 10px; } .ifoot b { color: var(--ash); }
.ifoot s { color: #5c626d; }
.buy { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 99px; background: var(--ash); color: #000; font: 700 13px/1 var(--mono); transition: transform .15s, filter .15s; }
.buy:hover { transform: translateY(-1px) scale(1.04); }
.buy:active { transform: scale(.95); }
.buy.own { background: #1b1d22; color: var(--ash); border: 1px solid var(--rule); }
.cc { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe08a, #f2a516 60%, #b8730a); box-shadow: inset 0 0 0 1.5px #0000002e; }
.owned { color: var(--over); font-size: 11px; }
.ribbon { position: absolute; top: -10px; right: 14px; box-shadow: 0 6px 16px #0008; padding: 6px 10px; border-radius: 99px; background: var(--ember); color: #fff; font-size: 10px; }
.gives { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.give { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; background: #ffffff0a; font-size: 13px; }
.left { display: grid; gap: 6px; }
.left .lab { font-size: 10px; color: var(--rc); }
.left .bar { height: 5px; border-radius: 99px; background: #24272e; overflow: hidden; }
.left .bar i { display: block; height: 100%; border-radius: 99px; background: var(--rc); }
/* your credits, and the boosts you own */
.sbal-h { display: flex; justify-content: space-between; align-items: center; }
.mute { width: 34px; height: 34px; border-radius: 50%; background: #1b1d22; font-size: 14px; color: var(--ash); }
.sbal-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.invrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--rule); }
.inv { display: inline-flex; align-items: center; gap: 7px; } .inv b { font-size: 15px; }
.inv.bump .ii { animation: bump .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes bump { 40% { transform: scale(1.4); } }
/* the daily reward */
.daily, .slook { display: grid; gap: 14px; align-content: start; }
.dh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dh h3 { margin: 4px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.dday { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 10px 4px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--rule); text-align: center; }
.dday .lab { font-size: 9px; color: var(--smoke); }
.dday small { font-size: 10px; line-height: 1.2; color: var(--smoke); }
.dday.got { opacity: .45; }
.dday.got small::before { content: '\2713\00a0'; color: var(--over); }
.dday.today { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(61, 107, 255, .16); }
.dday.today small { color: var(--ash); }
.chip.hot { color: #fff; background: var(--ember); border-color: var(--ember); }
.claim { justify-self: start; min-width: 180px; padding: 15px 22px; }
.claim.glow { animation: glow 1.8s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(61, 107, 255, .16), 0 0 30px rgba(61, 107, 255, .45); } }
/* your look */
.cbar { height: 6px; border-radius: 99px; background: var(--panel2); overflow: hidden; }
.cbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ember), #ffc542); }
.preview { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--panel2); }
.pline { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.pline > b:last-child { margin-left: auto; }
.eqrow { display: grid; gap: 8px; }
.eqs { display: flex; gap: 6px; flex-wrap: wrap; }
.eqb { padding: 8px 13px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--rule); color: var(--ash); font-size: 13px; }
.eqb.on { border-color: var(--ash); }
/* the moment you get something */
.yay { animation: yay .85s cubic-bezier(.2, .8, .2, 1); }
@keyframes yay { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rc, #3d6bff) 60%, transparent); } 30% { transform: scale(1.04); } 100% { box-shadow: 0 0 0 28px transparent; transform: scale(1); } }
.plus1 { position: fixed; z-index: 400; transform: translate(-50%, 0); color: var(--over); font-size: 22px; font-weight: 700; pointer-events: none; animation: plus .9s ease-out forwards; }
@keyframes plus { to { transform: translate(-50%, -52px); opacity: 0; } }
.orb-fly > .ii { width: 100% !important; height: 100% !important; }
/* name colours and titles, wherever a manager's name is drawn */
.nc-ember { color: #ff6a3d; } .nc-mint { color: #3ddc84; } .nc-ice { color: #7cc7ff; } .nc-rose { color: #ff7aa8; } .nc-violet { color: #b39bff; }
.nc-gold { background: linear-gradient(180deg, #ffeaa8, #f5b82e 55%, #c9861a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nc-holo { background: linear-gradient(90deg, #ff7aa8, #ffc542, #3ddc84, #7cc7ff, #b39bff, #ff7aa8); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo 4s linear infinite; }
@keyframes holo { to { background-position: 200% 0; } }
.ttl { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 99px; background: #1b1d22; border: 1px solid var(--rule); color: var(--ash); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }

/* boosts on a live team (my team page) */
.boosts { display: grid; gap: 12px; }
.boosts p { margin: 0; }
.bpick { display: grid; gap: 6px; max-height: 340px; overflow-y: auto; }
.bwho { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--rule); color: var(--ash); text-align: left; transition: border-color .15s; }
.bwho:hover { border-color: var(--ember); }
.bwho span { display: grid; } .bwho small { color: var(--smoke); font-size: 11px; }
.bdone { color: var(--over); font-size: 11px; align-self: center; }
.crow.kept { opacity: .6; }
.cb-tag.kept { background: #23262d; color: var(--smoke); }
.linkish { justify-self: start; color: var(--smoke); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* phones and narrow windows: the budget and the save button stay at the bottom of the screen */
.mbar { display: none; }

@media (max-width: 1000px) {
  .mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 99px; background: rgba(20, 22, 27, .96); border: 1px solid var(--rule); box-shadow: 0 16px 40px #000c; }
  .mbar b { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
  .mbar .pill { padding: 13px 18px; }
  .dgrid { padding-bottom: 96px; }
  .play .toast { bottom: 92px; }
  .dgrid, .mgrid { grid-template-columns: minmax(0, 1fr); }
  .mgrid > * { min-width: 0; }
  .builder { position: static; }
  .sc-side { text-align: left; }
  .podium { grid-template-columns: 1fr; }
  .pod.p1 { order: -1; }
}
@media (max-width: 820px) {
  .rstrip { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rmid { padding: 4px 0; min-width: 0; grid-auto-flow: column; justify-content: center; align-items: baseline; gap: 12px; }
  .hchips { justify-items: start; }
  .chips { justify-content: flex-start; }
  .demo { display: none; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 66px; overflow-x: auto; padding-bottom: 6px; }
  .irow { grid-auto-columns: minmax(220px, 78%); }
  .days { scrollbar-width: thin; scrollbar-color: #2c3038 transparent; }
  .srow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .srow > :nth-child(2) { grid-row: 2; grid-column: 1; font-size: 12px; }
  .srow > :nth-child(3) { grid-row: 1 / 3; grid-column: 2; }
  .cc-unit { display: none; }
}
@media (max-width: 700px) {
  .phead { padding-top: 40px; }
  .formation { --capH: 128px; --pad: 20px; gap: 4px; }
  .dbox { max-width: 78px; }
  .slot.cap .dbox { max-width: var(--capH); }
  .sinfo { min-height: 56px; gap: 5px; }
  .slot b { font-size: 12px; }
  .chip24 { padding: 4px 6px; font-size: 10px; gap: 3px; }
  .chip24 i, .slot small { display: none; }
  .lockbox > span { display: none; }
  .lockbox b { font-size: 18px; }
  .formation::after { display: none; }
  .bhead, .bfoot, .hintline { padding-inline: 18px; }
  .bmeta { text-align: left; }
  .savebar .pill { width: 100%; }
  #list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 8px; }
  .pool-scroll { max-height: none; overflow: visible; }
  .scorecard, .card { padding: 20px; }
  .chead, .crow { grid-template-columns: 36px minmax(0, 1fr) .8fr .9fr; gap: 8px; }
  .chead span:nth-child(3), .crow .v:nth-child(3), .chead span:nth-child(5), .crow .v:nth-child(5) { display: none; }
  .cb-row { grid-template-columns: 100px 1fr 60px; }
  .tscroll > div { min-width: 0; }
  .thead, .trow { grid-template-columns: 44px minmax(0, 1fr) 96px; gap: 10px; padding-inline: 14px; }
  .thead span:nth-child(3), .thead span:nth-child(5), .trow .faces, .trow .z { display: none; }
}
@media (max-width: 640px) {
  /* the sections move to their own row under the logo and the balance */
  .play .top { flex-wrap: wrap; row-gap: 10px; }
  .navpills { order: 3; width: 100%; justify-content: space-between; }
  .navpills a { flex: 1; justify-content: center; padding: 10px 6px; font-size: 11px; }
  .right { margin-left: auto; }
  .wallet { padding: 9px 12px; font-size: 11px; white-space: nowrap; }
  .wallet .who { display: none; }
  .logo { font-size: 22px; }
  .pop { width: min(300px, calc(100vw - 32px)); }
  .budget { padding: 14px 16px 16px; }
  .bud-num b { font-size: 40px; }
  .bud-hint { font-size: 11px; }
  .sprice { font-size: 12px; padding: 5px 8px; }
  .tcard .price { top: 7px; right: 7px; min-width: 32px; padding: 5px 6px 6px; font-size: 14px; }
  .segs { justify-content: flex-start; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; }
  .prow > span:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--smoke); font-size: 12px; }
  .teamtabs { padding: 12px 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .orb-drag .body { transition: none; }
  .slot.arrived .dbox::after, .is-dragging .slot.emptyslot .dbox::after, .builder.shake, .ldot, .rtag i { animation: none; }
  .jar .ring, .jar .ring i { animation: none !important; }
  .claim.glow, .nc-holo, .yay, .inv.bump .ii { animation: none !important; }
}

/* ---- the front page: "Draft traders. Win SOL." and the draft right under it ---- */
body.home .phead { padding: clamp(56px, 11vh, 120px) 0 clamp(40px, 8vh, 80px); }
body.home .phead h1 { font-size: clamp(56px, 10.5vw, 148px); line-height: .9; letter-spacing: -.055em; }
body.home .phead .ctx { margin-top: 26px; font-size: clamp(17px, 1.6vw, 21px); max-width: 46ch; color: var(--smoke); }
.herobtn { display: block; margin-top: 30px; }
.pill.big { padding: 20px 34px; font-size: 15px; letter-spacing: .06em; }
.dsec-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding-top: 28px; margin-bottom: 14px; scroll-margin-top: 84px; border-top: 1px solid var(--rule); }
.dsec-h h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.dsec-h p { margin-top: 10px; }
.dsec-h p b { color: var(--ash); font-weight: 600; }
.dsec-h + .how { margin-bottom: 22px; }
/* the SOL coin, small, wherever an amount is shown */
.ccs { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; object-fit: contain; }
.ccs.big { width: .8em; height: .8em; vertical-align: -.06em; margin-right: .18em; }
.cc-unit { color: #b9a6ff; }

/* ---- picking a league for the team just drafted ---- */
.chooser { position: fixed; inset: 0; z-index: 520; display: grid; place-items: center; padding: 20px 16px; background: rgba(4, 5, 8, .78); backdrop-filter: blur(6px); overflow-y: auto; opacity: 0; transition: opacity .2s; }
.chooser.in { opacity: 1; }
.chbox { width: min(980px, 100%); padding: 26px; border-radius: 24px; background: var(--panel); border: 1px solid var(--rule); box-shadow: 0 30px 80px #000c; transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.chooser.in .chbox { transform: none; }
.chh { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.chh h3 { margin-top: 6px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.chx { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); color: var(--smoke); font-size: 22px; line-height: 1; }
.chx:hover { color: var(--ash); border-color: var(--ash); }
.chteam { display: flex; gap: 10px; align-items: center; margin: 18px 0 22px; }
.chteam .f { position: relative; }
.chteam .f.cap .orb { box-shadow: 0 0 0 2px var(--ember); }
.chteam .f i { position: absolute; bottom: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ember); color: #fff; font: 600 9px/16px var(--mono); font-style: normal; text-align: center; }
.lcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.lcard { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 18px; background: var(--panel2); border: 1px solid var(--rule); }
.lcard.free { border-color: #3a3f48; }
.lcard h4 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.lcard.soon { opacity: .6; }
.lcard.soon p { font-size: 13px; }
.lfacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.lfacts li { display: flex; justify-content: space-between; gap: 10px; }
.lfacts b { font-weight: 600; }
.lmine { font-size: 13px; color: var(--smoke); }
.lbtns { display: grid; gap: 8px; margin-top: 4px; }
.lbtns .pill { justify-content: center; width: 100%; }
.chbox .fine { margin-top: 16px; }

/* ---- a manager's team, on hover ---- */
.trow[data-tm], .pod[data-tm] { cursor: default; }
.tmpop { position: absolute; z-index: 300; width: 300px; padding: 14px 16px; border-radius: 16px; background: #15181d; border: 1px solid #2c3038; box-shadow: 0 20px 50px #000b; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.tmpop.on { opacity: 1; transform: none; }
.tmh { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); }
.tmh > b:last-child { margin-left: auto; font-size: 15px; }
.tmrows { display: grid; gap: 8px; }
.tmr { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.tmn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmn i { margin-left: 6px; padding: 2px 6px; border-radius: 6px; background: var(--ember); color: #fff; font-size: 10px; font-style: normal; }
.tmkept { margin-top: 8px; font-size: 12px; }
.tmpop p.dim { font-size: 13px; }
@media (max-width: 640px) {
  .chbox { padding: 20px 16px; }
  .lcards { grid-template-columns: 1fr; }
  .tmpop { width: min(330px, calc(100vw - 24px)); }
}
.ctx a.pill { color: #fff; }
.sbal .bignum { display: flex; align-items: center; gap: .14em; white-space: nowrap; }
.sbal .bignum small { font-size: .3em; align-self: flex-end; margin: 0 0 .45em .2em; letter-spacing: .08em; }

/* ---- round 9: the front page's floating faces, the league picker carousel, the clean leaderboard ---- */
body.home .phead { position: relative; overflow: hidden; min-height: min(calc(100svh - 70px), 940px); display: grid; align-items: center; text-align: center; padding: 70px 0; }
body.home .phead .wrap { position: relative; z-index: 6; pointer-events: none; }
body.home .phead .wrap a, body.home .phead .wrap button { pointer-events: auto; }
body.home .phead .hrow { justify-content: center; }
body.home .phead .ctx { margin-left: auto; margin-right: auto; text-shadow: 0 2px 18px #000; }
body.home .phead h1 { text-shadow: 0 6px 40px #000c; }
.hfield { position: absolute; inset: 0; z-index: 1; }
.hfield[hidden] { display: none; }
.hfield .bub { position: absolute; display: block; border-radius: 50%; will-change: transform; z-index: 1; }
.hfield .shadows { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hfield .shd { position: absolute; left: 0; top: 0; border-radius: 50%; background: var(--panel2) center / cover; filter: blur(calc(var(--d) * .09)) saturate(1.3) brightness(.65); will-change: transform, opacity; }
.hfield .bub.hot, .hfield .bub:focus-visible { z-index: 9 !important; }
.hfield .bub .img { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; background: var(--panel2) center / cover; transition: opacity .6s ease, transform .8s cubic-bezier(.22, 1, .36, 1), filter .3s ease;
  box-shadow: inset 0 0 0 1px #ffffff26, inset calc(var(--d) * -.07) calc(var(--d) * -.1) calc(var(--d) * .18) #000a, inset calc(var(--d) * .04) calc(var(--d) * .05) calc(var(--d) * .1) #ffffff1f; }
.hfield .bub .gloss { position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #ffffff50, #ffffff12 20%, transparent 42%); pointer-events: none; will-change: translate; }
.hfield .bub.mid .img { filter: brightness(.9) saturate(.95); }
.hfield .bub.far .img { filter: brightness(.78) saturate(.88) blur(.5px); }
.hfield .bub.hot .img { filter: none; }
.hfield .bub.swap .img { opacity: 0; transform: scale(.88); transition: opacity .36s ease, transform .36s ease; }
.hfield .bub .tag { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 2px); white-space: nowrap; background: var(--ash); color: #000; border-radius: 99px; padding: 6px 11px; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.hfield .bub .tag b { color: var(--ember); font-weight: 600; margin-left: 4px; }
.hfield .bub.hot .tag { opacity: 1; transform: translate(-50%, 8px); }

/* league cards: the emblem, and (in the picker) the buttons that put a team in */
.gcard { position: relative; }
.gemb { position: absolute; top: 18px; right: 18px; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 14px #0009); pointer-events: none; }
.gcard .gtop .rtag { margin-right: 84px; }
.gbtns { display: grid; gap: 8px; }
.gcard button.gplay { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.gcard button.gplay.ghost { background: #1b1d22; color: var(--ash); }
.gcard button.gplay:disabled { background: var(--panel2); color: var(--smoke); cursor: default; }
.chooser .chbox { width: min(1000px, 100%); }
.chooser .picker { margin-top: 6px; }
.chooser .ptabs { margin-top: 14px; }
.chfine { text-align: center; }

/* the league page's one line: where the day is, and what's at stake */
.lstat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; margin-right: 12px; border-radius: 99px; background: var(--panel); border: 1px solid var(--rule); color: var(--ash); font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.lstat b { font-weight: 600; color: var(--ash); }
.lstat.live { border-color: #2c5a3f; }
.lfacts2 { color: var(--smoke); vertical-align: middle; }

/* the leaderboard: one table, nothing else */
.lboard { border-radius: 20px; background: var(--panel); border: 1px solid var(--rule); overflow: hidden; }
.lboard.pin { margin-bottom: 10px; }
.lhead, .lrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) 130px; gap: 14px; align-items: center; padding: 0 26px; }
.lboard.withprize .lhead, .lboard.withprize .lrow { grid-template-columns: 58px minmax(0, 1fr) 130px 120px; }
.lhead { padding-top: 14px; padding-bottom: 10px; color: var(--smoke); font-size: 11px; border-bottom: 1px solid var(--rule); }
.lhead span:nth-child(n+3) { text-align: right; }
.lrow { min-height: 64px; border-bottom: 1px solid var(--rule); transition: background .15s; }
.lrow:last-child { border-bottom: 0; }
.lrow:hover { background: #15181d; }
.lrow.you { background: linear-gradient(90deg, #0f1a3a, transparent 70%); box-shadow: inset 3px 0 0 var(--ember); }
.lrk { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 800 15px/1 var(--sans); color: var(--smoke); }
.lrk.m1 { color: #1a1205; background: radial-gradient(circle at 35% 30%, #fff3cf, #ffcf6b 45%, #c98a22); }
.lrk.m2 { color: #15171b; background: radial-gradient(circle at 35% 30%, #ffffff, #d6dbe2 45%, #8d96a3); }
.lrk.m3 { color: #1d1006; background: radial-gradient(circle at 35% 30%, #ffe0c2, #d9915a 45%, #8e5126); }
.lnm { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 16px; }
.lnm .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lpt { text-align: right; font: 800 18px/1 var(--sans); letter-spacing: -.01em; }
.lpz { text-align: right; color: var(--over); font-size: 14px; }
.lmore { display: flex; justify-content: center; margin-top: 14px; }
.lnote { margin-top: 14px; text-align: center; color: var(--smoke); font-size: 14px; }
.lempty { padding: 56px 24px; text-align: center; border-radius: 20px; background: var(--panel); border: 1px solid var(--rule); display: grid; justify-items: center; gap: 12px; }
.lempty h3 { font-size: 24px; letter-spacing: -.03em; }
.lempty p { color: var(--smoke); max-width: 46ch; }
.ldays { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--rule); }
.ldays button { color: var(--smoke); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.ldays button:hover { color: var(--ash); }
@media (max-width: 640px) {
  .lhead, .lrow, .lboard.withprize .lhead, .lboard.withprize .lrow { grid-template-columns: 40px minmax(0, 1fr) 92px; padding: 0 14px; gap: 10px; }
  .lboard.withprize .lpz, .lboard.withprize .lhead span:nth-child(4) { display: none; }
  .lpt { font-size: 19px; }
  .gemb { width: 56px; height: 56px; }
}
.gprize b.soft { font: 600 17px/1.3 var(--sans); color: var(--smoke); letter-spacing: 0; }

/* ---- round 10: traders as cards, the glow over the draft, the leaderboard with faces, your team on top ---- */
/* the draft's cards: a frame in their metal, and a soft light that sweeps across them every few seconds */
.tcard { isolation: isolate; } /* not clipped: the edge light glows a little past the card */
.tcard.t-gold { border-color: rgba(255, 200, 110, .26); background: linear-gradient(165deg, #2b2113, var(--panel2) 62%); }
.tcard.t-silver { border-color: rgba(205, 215, 230, .16); background: linear-gradient(165deg, #20242b, var(--panel2) 62%); }
.tcard.t-bronze { border-color: rgba(214, 150, 105, .14); background: linear-gradient(165deg, #241a15, var(--panel2) 62%); }
.tcard::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: linear-gradient(var(--sw-ang, 110deg), transparent 30%, rgba(255, 255, 255, calc(.07 * var(--sw-k, 1))) 42%, rgba(255, 255, 255, calc(.17 * var(--sw-k, 1))) 50%, rgba(255, 255, 255, calc(.07 * var(--sw-k, 1))) 58%, transparent 70%); background-size: 300% 100%; background-position: 160% 0; animation: tsweep var(--sw-dur, 7s) cubic-bezier(.45, .05, .35, 1) var(--sw-delay, 0s) infinite; }
.tcard.t-gold::after { background-image: linear-gradient(var(--sw-ang, 110deg), transparent 30%, rgba(255, 220, 150, calc(.09 * var(--sw-k, 1))) 42%, rgba(255, 236, 190, calc(.22 * var(--sw-k, 1))) 50%, rgba(255, 220, 150, calc(.09 * var(--sw-k, 1))) 58%, transparent 70%); }
@keyframes tsweep { 0%, 45% { background-position: 160% 0; } 85%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .tcard::after, .tcd-holo, .slot .disc::after { animation: none !important; opacity: 0; } }

/* a trader card, like a collectible: the metal is the price (gold, silver, bronze) */
.tcd { display: grid; justify-items: center; gap: 10px; }
.tcd-face { position: relative; width: 150px; aspect-ratio: .72; padding: 12px 10px; border-radius: 14px; display: grid; justify-items: center; align-content: start; gap: 5px; overflow: hidden; color: #15171b;
  background: linear-gradient(160deg, #f4f5f7, #dcdfe4 52%, #c2c7cf); box-shadow: inset 0 0 0 1px #ffffffa0, 0 0 0 4px #24272d, 0 0 0 5px #9aa0aa, 0 18px 40px #000b, 0 0 34px rgba(255, 255, 255, .1); }
.tcd.gold .tcd-face { background: linear-gradient(160deg, #fff6dc, #f0cf80 52%, #c8953a); box-shadow: inset 0 0 0 1px #fff5d0b0, 0 0 0 4px #2a2214, 0 0 0 5px #d9a64a, 0 18px 40px #000b, 0 0 36px rgba(255, 196, 90, .18); }
.tcd.bronze .tcd-face { background: linear-gradient(160deg, #f7e5d5, #dba886 52%, #a96b44); box-shadow: inset 0 0 0 1px #ffe9d8a0, 0 0 0 4px #271b14, 0 0 0 5px #b98059, 0 18px 40px #000b, 0 0 30px rgba(220, 140, 90, .12); }
.tcd-holo { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .6) 44%, rgba(255, 255, 255, 0) 60%); background-size: 280% 100%; background-position: 160% 0; mix-blend-mode: soft-light; animation: tsweep 6s ease-in-out infinite; }
.tcd-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font: 700 10px/1 var(--mono); opacity: .65; }
.tcd-top i { font: 800 12px/1 var(--sans); letter-spacing: -.04em; }
.tcd .orb.tcd-orb { width: 80px; height: 80px; margin-top: 6px; box-shadow: 0 0 0 3px #fff, 0 8px 16px #0006; }
.tcd-nm { margin-top: 8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.tcd-sub { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.tcd.cap .tcd-face { width: 172px; padding-bottom: 40px; }
.tcd.cap .orb.tcd-orb { width: 92px; height: 92px; }
.tcd-arm { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 6px; background: #15171c; color: #fff; font: 600 11px/1 var(--sans); }
.tcd-arm i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ember); color: #fff; font: 700 10px/1 var(--mono); font-style: normal; }
.tcd-pts { font-size: 14px; font-weight: 600; }
.tcd.sm { gap: 6px; }
.tcd.sm .tcd-face { width: 92px; padding: 7px 6px; gap: 2px; border-radius: 10px; box-shadow: inset 0 0 0 1px #ffffffa0, 0 0 0 3px #24272d, 0 0 0 4px #9aa0aa, 0 10px 22px #000a; }
.tcd.sm.gold .tcd-face { box-shadow: inset 0 0 0 1px #fff5d0b0, 0 0 0 3px #2a2214, 0 0 0 4px #d9a64a, 0 10px 22px #000a; }
.tcd.sm.bronze .tcd-face { box-shadow: inset 0 0 0 1px #ffe9d8a0, 0 0 0 3px #271b14, 0 0 0 4px #b98059, 0 10px 22px #000a; }
.tcd.sm.cap .tcd-face { width: 104px; padding-bottom: 26px; }
.tcd.sm .orb.tcd-orb { width: 46px; height: 46px; margin-top: 2px; box-shadow: 0 0 0 2px #fff, 0 4px 10px #0005; }
.tcd.sm.cap .orb.tcd-orb { width: 52px; height: 52px; }
.tcd.sm .tcd-top { font-size: 8px; }
.tcd.sm .tcd-top i { font-size: 9px; }
.tcd.sm .tcd-nm { margin-top: 4px; font-size: 11px; }
.tcd.sm .tcd-sub { display: none; }
.tcd.sm .tcd-arm { padding: 6px 4px; font-size: 9px; gap: 4px; }
.tcd.sm .tcd-arm i { width: 13px; height: 13px; font-size: 8px; }
.tcd.sm .tcd-pts { font-size: 12px; }

/* your team, on top of the leaderboard */
.myteam { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 20px; align-items: center; margin-bottom: 14px; padding: 18px 22px; border-radius: 20px; background: linear-gradient(100deg, #0d1733, var(--panel) 55%); border: 1px solid #1d3170; cursor: pointer; transition: border-color .2s, transform .2s; }
.myteam:hover { border-color: var(--ember); transform: translateY(-1px); }
.mt-sum { display: grid; gap: 4px; align-content: center; }
.mt-pts { font: 800 32px/1 var(--sans); letter-spacing: -.02em; }
.mt-pts.dim { font: 600 18px/1.2 var(--sans); }
.mt-place { color: var(--ash); font-weight: 600; }
.mt-win { color: var(--over); font-size: 14px; }
.mt-more { margin-top: 6px; color: var(--ember); }
.mt-cards { display: flex; justify-content: flex-end; align-items: flex-end; gap: 12px; flex-wrap: wrap; }

/* the table, with each team's five faces */
.lhead, .lrow { grid-template-columns: 58px minmax(0, 1fr) 150px 130px; }
.lboard.withprize .lhead, .lboard.withprize .lrow { grid-template-columns: 58px minmax(0, 1fr) 150px 130px 120px; }
.lhead span:nth-child(3) { text-align: left; }
.lrow { cursor: pointer; }
.lfaces { display: flex; align-items: center; }
.lf + .lf { margin-left: -7px; }
.lf .orb.xs { box-shadow: 0 0 0 2px var(--panel); }
.lf.cap .orb.xs { box-shadow: 0 0 0 2px var(--ember); }
.orb.q { display: grid; place-items: center; color: var(--smoke); font: 600 12px/1 var(--mono); background: #1d2026; }
.lfaces.hid { opacity: .5; }

/* a team, as cards */
.tmodal { position: fixed; inset: 0; z-index: 520; display: grid; place-items: center; padding: 20px 16px; background: rgba(4, 5, 8, .8); backdrop-filter: blur(6px); overflow-y: auto; opacity: 0; transition: opacity .2s; }
.tmodal.in { opacity: 1; }
.tmo-box { width: min(1000px, 100%); padding: 24px 28px; border-radius: 24px; background: var(--panel); border: 1px solid var(--rule); box-shadow: 0 30px 80px #000c; transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.tmodal.in .tmo-box { transform: none; }
.tmo-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.tmo-name { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 4px; }
.tmo-cards { display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding: 34px 6px 26px; overflow-x: auto; }
.tmo-cards .tcd { animation: tdeal .5s cubic-bezier(.2, .8, .2, 1.2) both; }
.tmo-cards .tcd:nth-child(2) { animation-delay: .05s; }
.tmo-cards .tcd:nth-child(3) { animation-delay: .1s; }
.tmo-cards .tcd:nth-child(4) { animation-delay: .15s; }
.tmo-cards .tcd:nth-child(5) { animation-delay: .2s; }
@keyframes tdeal { from { opacity: 0; transform: translateY(26px) rotate(-3deg) scale(.94); } }
.tmo-foot { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
.tmo-foot > b { font: 800 24px/1 var(--sans); letter-spacing: -.02em; }
.tmo-foot .pill { margin-left: auto; }
.tmo-win { color: var(--over); }
.tmo-kept { text-align: center; margin-bottom: 12px; font-size: 13px; }
.tmo-hidden { display: grid; justify-items: center; gap: 12px; padding: 40px 10px; text-align: center; color: var(--smoke); }
.tmo-hidden .orb { width: 56px; height: 56px; font-size: 20px; }
@media (max-width: 640px) {
  .myteam { grid-template-columns: 1fr; padding: 16px; }
  .mt-cards { justify-content: center; gap: 8px; }
  .tcd.sm .tcd-face { width: 58px; padding: 5px 4px; }
  .tcd.sm.cap .tcd-face { width: 66px; padding-bottom: 20px; }
  .tcd.sm .orb.tcd-orb { width: 34px; height: 34px; }
  .tcd.sm.cap .orb.tcd-orb { width: 38px; height: 38px; }
  .tcd.sm .tcd-nm, .tcd.sm .tcd-top { display: none; }
  .tcd.sm .tcd-arm { font-size: 0; padding: 4px; }
  .tcd.sm .tcd-arm i { font-size: 8px; }
  .lhead, .lrow, .lboard.withprize .lhead, .lboard.withprize .lrow { grid-template-columns: 40px minmax(0, 1fr) 92px; }
  .lfaces, .lhead span:nth-child(3) { display: none; }
  .tmo-box { padding: 18px 14px; }
  .tmo-cards { justify-content: flex-start; gap: 12px; }
  .tcd-face { width: 124px; }
  .tcd.cap .tcd-face { width: 140px; }
}
/* the team window never wider than the screen: the cards scroll inside it */
.tmodal { grid-template-columns: minmax(0, min(1000px, 100%)); justify-content: center; }
.tmodal .tmo-box { width: 100%; min-width: 0; }
@media (max-width: 640px) {
  .mt-cards { flex-wrap: nowrap; gap: 6px; overflow-x: auto; justify-content: flex-start; }
  .tcd.sm .tcd-pts { font-size: 10.5px; }
  .tcd.sm { min-width: 0; }
}

/* ---- round 11: the shop's real item art, SOL you can see, an item up close ---- */
.ii { overflow: hidden; }
.ii .iart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.icard { cursor: pointer; }
.icard .ii { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; margin-bottom: 4px; box-shadow: inset 0 0 0 1px #ffffff14, 0 14px 30px color-mix(in srgb, var(--rc) 22%, transparent); }
.icard .ii .iart { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.icard:hover .ii .iart { transform: scale(1.06); }
.dday { cursor: pointer; }
/* SOL, unmistakable: the Solana mark, the amount, "SOL" */
.solmark { display: inline-block; width: 15px; height: 13px; flex: none; }
.solp { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 99px; background: #13151b; border: 1px solid #2a2e38; color: var(--ash); white-space: nowrap; }
.solp b { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.solp small { font-weight: 700; font-size: 10px; letter-spacing: .08em; background: linear-gradient(90deg, #b07cff, #4fe3b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sbal .bignum .solmark { width: .62em; height: .54em; margin-right: .14em; }
.sconnect { display: grid; gap: 12px; justify-items: start; margin: 8px 0 4px; }
/* an item, up close */
.imo-box .tmo-h { align-items: center; }
.imo-body { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 28px; padding-top: 22px; align-items: start; }
.imo-art { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 1px #ffffff1a, 0 24px 60px color-mix(in srgb, var(--rc) 35%, transparent), 0 0 80px color-mix(in srgb, var(--rc) 20%, transparent); animation: imo-in .45s cubic-bezier(.2, .8, .2, 1.2) both; }
.imo-art img { width: 100%; height: 100%; object-fit: cover; }
@keyframes imo-in { from { opacity: 0; transform: scale(.9) rotate(-3deg); } }
.imo-txt { display: grid; gap: 14px; align-content: start; }
.imo-txt h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.imo-txt h3 .ttl { font-size: 18px; }
.imo-about { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--smoke); font-size: 15px; line-height: 1.5; }
.imo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--rule); }
.imo-foot .pill { margin-left: auto; }
@media (max-width: 640px) {
  .imo-body { grid-template-columns: 1fr; gap: 18px; }
  .imo-art { width: min(260px, 100%); justify-self: center; }
  .imo-foot .pill { margin-left: 0; width: 100%; }
}

/* ---- the loading screen: the page appears whole, not piece by piece ---- */
.boot { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: var(--ink); transition: opacity .5s ease, visibility 0s .5s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot-in { display: grid; justify-items: center; gap: 18px; }
.boot-logo { font: 800 30px/1 var(--sans); font-stretch: 112%; letter-spacing: -.03em; color: var(--ash); }
.boot-logo i { font-style: normal; color: var(--ember); }
.boot-bar { width: 140px; height: 2px; border-radius: 2px; background: #1c1f27; overflow: hidden; }
.boot-bar i { display: block; width: 40%; height: 100%; background: var(--ember); animation: bootbar 1s ease-in-out infinite; }
@keyframes bootbar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .boot-bar i { animation: none; width: 100%; } }

/* ---- the rules: four steps, then a card per topic ---- */
.rsteps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rsteps li { position: relative; padding: 22px 20px 20px; border-radius: 18px; background: linear-gradient(180deg, #11162a, #0c0e14); border: 1px solid #1f2742; display: grid; gap: 8px; align-content: start; }
.rsteps .rnum { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #fff; font: 800 16px/1 var(--sans); box-shadow: 0 6px 20px rgba(61, 107, 255, .35); }
.rsteps h4 { margin: 6px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-stretch: 108%; }
.rsteps p { margin: 0; color: var(--smoke); font-size: 14px; line-height: 1.45; }
.rules { columns: 2; column-gap: 12px; }
.rsec { break-inside: avoid; margin: 0 0 12px; padding: 20px 22px 18px; border-radius: 18px; background: #0d0f15; border: 1px solid var(--rule); }
.rsec h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-stretch: 112%; color: var(--ember-hi); }
.rsec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rsec li { position: relative; padding-left: 16px; color: var(--ash); font-size: 14.5px; line-height: 1.5; }
.rsec li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #3a4670; }
.rsec li b { color: #fff; }
@media (max-width: 900px) { .rsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rules { columns: 1; } .rsteps { grid-template-columns: 1fr; } .rsteps li { grid-template-columns: auto 1fr; column-gap: 14px; } .rsteps .rnum { grid-row: span 2; } .rsteps h4 { margin: 0; align-self: center; } }

/* ---- round 12 ---- */
/* your five faces catch the light too, each at its own moment */
.slot:not(.emptyslot) .disc::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 50%; pointer-events: none; background: linear-gradient(var(--sw-ang, 120deg), transparent 34%, rgba(255, 255, 255, .1) 44%, rgba(255, 255, 255, .36) 50%, rgba(255, 255, 255, .1) 56%, transparent 66%); background-size: 300% 100%; background-position: 160% 0; mix-blend-mode: screen; animation: tsweep var(--sw-dur, 7s) cubic-bezier(.45, .05, .35, 1) var(--sw-delay, 0s) infinite; }

/* a team's cards: all the same blue, so the five read as one set; what each trader is up sits on the card */
.tcd .tcd-face { color: #fff; background: radial-gradient(120% 60% at 50% 0%, rgba(150, 180, 255, .45), transparent 62%), linear-gradient(165deg, #4470ff, #2648d6 50%, #13277c);
  box-shadow: inset 0 0 0 1px rgba(200, 216, 255, .5), 0 0 0 4px #0b1230, 0 0 0 5px #5d84ff, 0 18px 40px #000b, 0 0 34px rgba(61, 107, 255, .28); }
.tcd.cap .tcd-face { box-shadow: inset 0 0 0 1px rgba(220, 230, 255, .7), 0 0 0 4px #0b1230, 0 0 0 6px #9db6ff, 0 18px 40px #000b, 0 0 50px rgba(61, 107, 255, .45); }
.tcd.sm .tcd-face { box-shadow: inset 0 0 0 1px rgba(200, 216, 255, .5), 0 0 0 3px #0b1230, 0 0 0 4px #5d84ff, 0 10px 22px #000a; }
.tcd.sm.cap .tcd-face { box-shadow: inset 0 0 0 1px rgba(220, 230, 255, .7), 0 0 0 3px #0b1230, 0 0 0 5px #9db6ff, 0 10px 22px #000a, 0 0 30px rgba(61, 107, 255, .4); }
.tcd .tcd-top { opacity: .8; }
.tcd .orb.tcd-orb { box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 8px 16px #0006; }
.tcd.sm .orb.tcd-orb { box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 4px 10px #0005; }
.tcd .tcd-sub { opacity: .72; }
.tcd .tcd-holo { mix-blend-mode: overlay; animation-duration: var(--sw-dur, 6s); animation-delay: var(--sw-delay, 0s); }
.tcd .tcd-arm { background: #0b1230; }
.tcd .tcd-arm i { background: #fff; color: #13277c; }
.tcd-up { position: absolute; left: 50%; bottom: 10px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 10px; border-radius: 9px; background: rgba(6, 12, 34, .74); box-shadow: inset 0 0 0 1px rgba(160, 185, 255, .25); color: #fff; font: 800 15px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.tcd-up.gain { color: #4ff09a; } .tcd-up.loss { color: #ff6b7d; }
.tcd-up small { color: #a9bbea; font: 700 9px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.tcd.cap .tcd-up { bottom: 41px; }
.tcd.cap .orb.tcd-orb { width: 80px; height: 80px; } /* room for the number between the name and the armband */
.tcd.sm .tcd-up { bottom: 7px; gap: 3px; padding: 4px 6px; border-radius: 6px; font-size: 11px; }
.tcd.sm .tcd-up small { font-size: 7px; }
.tcd.sm.cap .tcd-up { bottom: 30px; }

/* name styles with some life in them: each a gradient with its own glow; rare and up get a glint that runs across */
.nm[class*="nc-"] { -webkit-background-clip: text; background-clip: text; color: transparent; }
.nc-ice, .nc-rose, .nc-gold, .nc-violet, .nc-holo { background-repeat: no-repeat, repeat; } /* the glint passes once; the colours behind it repeat */
.nc-ember { background-image: linear-gradient(100deg, #ffd36b, #ff7a2f 25%, #ff3d2e 50%, #ff7a2f 75%, #ffd36b); background-size: 200% 100%; animation: nc-flow 3s linear infinite; filter: drop-shadow(0 0 6px rgba(255, 90, 40, .45)); }
.nc-mint { background-image: linear-gradient(100deg, #c9ffe3, #3ddc84 30%, #14c0a2 60%, #3ddc84 80%, #c9ffe3); background-size: 200% 100%; animation: nc-flow 4s linear infinite; filter: drop-shadow(0 0 6px rgba(61, 220, 132, .4)); }
.nc-ice { background-image: linear-gradient(110deg, transparent 42%, #fff 50%, transparent 58%), linear-gradient(180deg, #f0faff, #9ad8ff 45%, #4a96ff); background-size: 300% 100%, 100% 100%; animation: nc-glint 3.2s ease-in-out infinite; filter: drop-shadow(0 0 7px rgba(124, 199, 255, .6)); }
.nc-rose { background-image: linear-gradient(110deg, transparent 42%, #fff 50%, transparent 58%), linear-gradient(180deg, #ffd1e3, #ff7aa8 50%, #d63d8f); background-size: 300% 100%, 100% 100%; animation: nc-glint 3.6s ease-in-out infinite; filter: drop-shadow(0 0 7px rgba(255, 110, 170, .5)); }
.nc-gold { background-image: linear-gradient(110deg, transparent 40%, #fffbe8 50%, transparent 60%), linear-gradient(180deg, #fff1bd, #f5c242 48%, #c98a22 70%, #f3cf6a); background-size: 300% 100%, 100% 100%; animation: nc-glint 2.6s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255, 196, 80, .5)); }
.nc-violet { background-image: linear-gradient(110deg, transparent 42%, #fff 50%, transparent 58%), linear-gradient(100deg, #c9a6ff, #9945ff 30%, #4f86ff 60%, #19fb9b 85%, #c9a6ff); background-size: 300% 100%, 200% 100%; animation: nc-flowglint 4s linear infinite; filter: drop-shadow(0 0 8px rgba(153, 69, 255, .55)); }
.nc-holo { background-image: linear-gradient(110deg, transparent 42%, #fff 50%, transparent 58%), linear-gradient(90deg, #ff7aa8, #ffc542, #3ddc84, #7cc7ff, #b39bff, #ff7aa8); background-size: 300% 100%, 200% 100%; animation: nc-flowglint 3s linear infinite, nc-pulse 2.4s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .35)); }
@keyframes nc-flow { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@keyframes nc-glint { 0%, 50% { background-position: 150% 0, 0 0; } 100% { background-position: -50% 0, 0 0; } }
@keyframes nc-flowglint { 0% { background-position: 150% 0, 0% 0; } 40% { background-position: -50% 0, -80% 0; } 100% { background-position: -50% 0, -200% 0; } }
@keyframes nc-pulse { 50% { filter: drop-shadow(0 0 13px rgba(255, 255, 255, .55)); } }
/* titles wear their rarity */
.ttl.r-rare { border-color: rgba(92, 138, 255, .55); background: linear-gradient(180deg, #16244f, #0e1430); color: #d3e2ff; }
.ttl.r-epic { border-color: rgba(179, 140, 255, .6); background: linear-gradient(180deg, #2b1a55, #160e2f); color: #ebe0ff; box-shadow: 0 0 12px rgba(150, 100, 255, .25); }
.ttl.r-legendary { position: relative; overflow: hidden; border-color: rgba(255, 207, 107, .75); background: linear-gradient(180deg, #3d2c0c, #1d1406); color: #fff3cf; box-shadow: 0 0 14px rgba(255, 190, 80, .28); }
.ttl.r-mythic { border-color: transparent; background: linear-gradient(#170f24, #170f24) padding-box, linear-gradient(90deg, #ff5a8c, #ffc94d, #5ad2ff, #b06bff, #ff5a8c) border-box; background-size: 100% 100%, 300% 100%; color: #fff; box-shadow: 0 0 14px rgba(176, 107, 255, .35); animation: tmythic 5s linear infinite; }
@keyframes tmythic { to { background-position: 0 0, 300% 0; } }
.ttl.r-legendary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255, 245, 210, .55) 50%, transparent 60%) no-repeat; background-size: 300% 100%; animation: tsweep 3.4s ease-in-out infinite; pointer-events: none; }
.ttl[title] { cursor: help; }
@media (prefers-reduced-motion: reduce) { .nm[class*="nc-"], .ttl.r-legendary::after, .ttl.r-mythic, .bdg.r-mythic img { animation: none !important; } }
/* the shop: a line about each name style and title */
.iline { margin: -2px 0 0; color: var(--smoke); font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.imo-line { margin: 0; color: var(--ash); font-size: 17px; line-height: 1.45; }
/* the number sits in the card's flow, under the name, so it never covers anything (a card grows if it must) */
.tcd .tcd-face { display: flex; flex-direction: column; align-items: center; overflow: clip; }
.tcd .tcd-face > * { flex: none; }
.tcd-up, .tcd.cap .tcd-up, .tcd.sm .tcd-up, .tcd.sm.cap .tcd-up { position: static; transform: none; margin-top: auto; }
@media (max-width: 640px) { .tcd.sm .tcd-up { padding: 3px 4px; font-size: 9px; } .tcd.sm .tcd-up small { display: none; } }

/* ---- round 13: a light round the edge, a glow drifting inside ---- */
@property --ea { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --hx { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
@property --hy { syntax: '<percentage>'; inherits: false; initial-value: 30%; }
@keyframes edge-run { from { --ea: 0deg; } to { --ea: 360deg; } }
@keyframes glx { from { --hx: 16%; } to { --hx: 84%; } }
@keyframes gly { from { --hy: 10%; } to { --hy: 72%; } }
/* the edge light: a short bright arc with a soft tail, running round the border, glowing just past it */
.edge { --edc: 130, 165, 255; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; filter: drop-shadow(0 0 2px rgba(var(--edc), .9)) drop-shadow(0 0 7px rgba(var(--edc), .5)); }
.edge > i { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ea), transparent 0deg 285deg, rgba(var(--edc), .25) 318deg, rgba(var(--edc), .85) 346deg, #fff 354deg, rgba(var(--edc), 0) 360deg);
  -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, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: edge-run var(--ed, 16s) linear var(--edl, 0s) infinite; }
.tcard.t-gold .edge { --edc: 255, 210, 130; }
.tcard.t-bronze .edge { --edc: 235, 165, 120; }
.tcard.t-silver .edge { --edc: 205, 218, 240; }
.tcard.on .edge { --edc: 120, 160, 255; }
.tcard.dis .edge { opacity: .45; }
/* the draft's cards: no stripe, a soft glow that drifts about inside, in the card's own colour */
.tcard::after, .tcard.t-gold::after { --glc: 90, 130, 255; z-index: -1; background: radial-gradient(70% 50% at var(--hx) var(--hy), rgba(var(--glc), calc(.2 * var(--sw-k, 1))), transparent 72%); background-size: auto; background-position: 0 0; background-repeat: no-repeat;
  animation: glx var(--gx, 9s) ease-in-out var(--gxd, 0s) infinite alternate, gly var(--gy, 6s) ease-in-out var(--gyd, 0s) infinite alternate; }
.tcard.t-gold::after { --glc: 255, 196, 100; }
.tcard.t-silver::after { --glc: 190, 210, 255; }
.tcard.t-bronze::after { --glc: 230, 150, 100; }
/* your five faces: a glossy light that wanders over each face, and the edge light round it */
.slot:not(.emptyslot) .disc::after { background: radial-gradient(42% 34% at var(--hx) var(--hy), rgba(255, 255, 255, .26), rgba(255, 255, 255, .06) 55%, transparent 76%); background-size: auto; background-position: 0 0; background-repeat: no-repeat; mix-blend-mode: screen;
  animation: glx var(--gx, 9s) ease-in-out var(--gxd, 0s) infinite alternate, gly var(--gy, 6s) ease-in-out var(--gyd, 0s) infinite alternate; }
.dbox > .edge.round { border-radius: 50%; z-index: 2; }
.dbox > .edge.round > i { padding: 2px; }
.slot.cap .dbox > .edge.round { --edc: 150, 185, 255; }
.slot.landing .edge, .slot.lifted .edge { opacity: 0; }
/* a team's cards: the same drifting glow and the edge light; the face no longer clips, so the light can glow past it */
.tcd .tcd-face { overflow: visible; }
.tcd .tcd-arm { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.tcd .tcd-holo { border-radius: inherit; background: radial-gradient(60% 42% at var(--hx) var(--hy), rgba(255, 255, 255, .42), transparent 72%); background-size: auto; background-position: 0 0; background-repeat: no-repeat; mix-blend-mode: overlay;
  animation: glx var(--gx, 9s) ease-in-out var(--gxd, 0s) infinite alternate, gly var(--gy, 6s) ease-in-out var(--gyd, 0s) infinite alternate; }
.tcd .edge { --edc: 175, 200, 255; }
.tcd.cap .edge { --edc: 220, 232, 255; }
@media (prefers-reduced-motion: reduce) { .edge > i, .tcard::after, .slot .disc::after, .tcd .tcd-holo { animation: none !important; } .edge { display: none; } }
/* tuned: a brighter edge light, and an inner glow that reads as light, not a tint */
.edge { filter: drop-shadow(0 0 2px rgba(var(--edc), 1)) drop-shadow(0 0 9px rgba(var(--edc), .6)); }
.edge > i { padding: 2px; background: conic-gradient(from var(--ea), transparent 0deg 262deg, rgba(var(--edc), .3) 305deg, rgba(var(--edc), .95) 343deg, #fff 353deg, rgba(var(--edc), 0) 360deg); }
.dbox > .edge.round > i { padding: 2.5px; }
.tcard.t-gold .edge { --edc: 255, 214, 140; }
.tcard::after, .tcard.t-gold::after { --glc: 120, 155, 255; background: radial-gradient(46% 34% at var(--hx) var(--hy), rgba(var(--glc), calc(.26 * var(--sw-k, 1))), rgba(var(--glc), calc(.07 * var(--sw-k, 1))) 50%, transparent 72%); background-size: auto; background-repeat: no-repeat; mix-blend-mode: screen; }
.tcard.t-gold::after { --glc: 255, 222, 160; }
.tcard.t-silver::after { --glc: 205, 220, 255; }
.tcard.t-bronze::after { --glc: 245, 185, 140; }
/* the faces' edge light sits just outside the face, against the dark, so it reads */
.dbox > .edge.round { inset: -4px; filter: drop-shadow(0 0 3px rgba(var(--edc), 1)) drop-shadow(0 0 10px rgba(var(--edc), .7)); }
.dbox > .edge.round > i { padding: 2.5px; }

/* ---- round 14: the reflection is back, calm: one soft pass every 11-17 s, each card and face on its own time.
   The band is drawn at a moving spot (--sx) on a gradient the size of the card, so there is nothing to tile or jump. ---- */
@property --sx { syntax: '<percentage>'; inherits: false; initial-value: -40%; }
@keyframes refl { 0% { --sx: -40%; } 30% { --sx: 140%; } 100% { --sx: 140%; } }
.tcard::after, .tcard.t-gold::after { --rc: 255, 255, 255; z-index: 2; mix-blend-mode: normal; background-size: auto; background-position: 0 0; background-repeat: no-repeat;
  background-image: linear-gradient(var(--sw-ang, 115deg), transparent calc(var(--sx) - 24%), rgba(var(--rc), calc(.04 * var(--sw-k, 1))) calc(var(--sx) - 10%), rgba(var(--rc), calc(.1 * var(--sw-k, 1))) var(--sx), rgba(var(--rc), calc(.04 * var(--sw-k, 1))) calc(var(--sx) + 10%), transparent calc(var(--sx) + 24%));
  animation: refl var(--sw-dur, 14s) cubic-bezier(.45, 0, .55, 1) var(--sw-delay, 0s) infinite; }
.tcard.t-gold::after { --rc: 255, 234, 190; }
.slot:not(.emptyslot) .disc::after { background-size: auto; background-position: 0 0; background-repeat: no-repeat; mix-blend-mode: screen;
  background-image: linear-gradient(var(--sw-ang, 120deg), transparent calc(var(--sx) - 22%), rgba(255, 255, 255, .07) calc(var(--sx) - 9%), rgba(255, 255, 255, .22) var(--sx), rgba(255, 255, 255, .07) calc(var(--sx) + 9%), transparent calc(var(--sx) + 22%));
  animation: refl var(--sw-dur, 14s) cubic-bezier(.45, 0, .55, 1) var(--sw-delay, 0s) infinite; }
.tcd .tcd-holo { background-size: auto; background-position: 0 0; background-repeat: no-repeat; mix-blend-mode: soft-light;
  background-image: linear-gradient(var(--sw-ang, 115deg), transparent calc(var(--sx) - 24%), rgba(255, 255, 255, .16) calc(var(--sx) - 10%), rgba(255, 255, 255, .42) var(--sx), rgba(255, 255, 255, .16) calc(var(--sx) + 10%), transparent calc(var(--sx) + 24%));
  animation: refl var(--sw-dur, 14s) cubic-bezier(.45, 0, .55, 1) var(--sw-delay, 0s) infinite; }
/* a touch under the round-12 strength (.17 / .36), which the user liked */
.tcard::after, .tcard.t-gold::after { background-image: linear-gradient(var(--sw-ang, 115deg), transparent calc(var(--sx) - 24%), rgba(var(--rc), calc(.055 * var(--sw-k, 1))) calc(var(--sx) - 10%), rgba(var(--rc), calc(.14 * var(--sw-k, 1))) var(--sx), rgba(var(--rc), calc(.055 * var(--sw-k, 1))) calc(var(--sx) + 10%), transparent calc(var(--sx) + 24%)); }
.slot:not(.emptyslot) .disc::after { background-image: linear-gradient(var(--sw-ang, 120deg), transparent calc(var(--sx) - 22%), rgba(255, 255, 255, .09) calc(var(--sx) - 9%), rgba(255, 255, 255, .28) var(--sx), rgba(255, 255, 255, .09) calc(var(--sx) + 9%), transparent calc(var(--sx) + 22%)); }

/* ---- the mock draft on the front page: a 12-team board in snake order, the traders left, your team ---- */
.mockdraft { padding-top: 8px; padding-bottom: 40px; scroll-margin-top: 80px; }
.md { display: grid; gap: 18px; }
.md-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.md-head { max-width: 560px; display: grid; gap: 8px; }
.md-eyebrow { color: var(--ember-hi); }
.md-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-stretch: 108%; }
.md-head h2 em, .md-endh h3 em { font-style: normal; color: var(--ember); }
.md-head p { margin: 0; color: var(--smoke); font-size: 15px; line-height: 1.5; }
.md-status { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-height: 52px; }
.md-say { font-size: 15px; color: var(--ash); }
.md-say b { color: #fff; }
.md-on { color: #fff; font-weight: 700; }
.md-big { font: 800 30px/1 var(--sans); letter-spacing: -.02em; color: #fff; padding: 8px 14px; border-radius: 12px; background: var(--ember); box-shadow: 0 8px 26px rgba(61, 107, 255, .4); font-variant-numeric: tabular-nums; }
.md-note { position: absolute; right: 0; top: 100%; margin-top: 6px; padding: 7px 12px; border-radius: 10px; background: #1b1d22; border: 1px solid var(--rule); font-size: 13px; color: var(--ash); white-space: nowrap; animation: md-in .25s ease both; }
/* the board: one column per team, one row per round; it scrolls sideways on small screens */
.md-wrap { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 6px; scrollbar-width: thin; }
.md-board { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 12), minmax(96px, 1fr)); gap: 6px; min-width: calc(var(--cols, 12) * 98px); }
.md-th { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #111317; border: 1px solid var(--rule); min-width: 0; }
.md-th b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-th small { font-size: 11px; color: var(--smoke); }
.md-th.me { background: linear-gradient(180deg, #16244f, #0e1430); border-color: rgba(92, 138, 255, .6); }
.md-th.me b { color: #fff; }
.md-cell { position: relative; min-height: 92px; padding: 8px; border-radius: 10px; background: #0d0f14; border: 1px solid #1a1d24; display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; min-width: 0; }
.md-cell.me { border-color: rgba(92, 138, 255, .28); }
.md-no { position: absolute; top: 6px; right: 8px; font-size: 11px; font-weight: 700; color: #59606b; font-variant-numeric: tabular-nums; }
.md-dir { position: absolute; bottom: 5px; left: 8px; font-style: normal; font-size: 12px; color: #3b414c; }
.md-cell b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 700; color: #fff; }
.md-cell small { font-size: 11px; }
.md-cell small em, .md-slot em, .md-pnl, .md-sum { font-style: normal; font-weight: 700; }
.md-orb { width: 34px; height: 34px; }
.md-cell.f .md-dir { display: none; }
.md-cell.f.app-pump { background: linear-gradient(165deg, rgba(61, 220, 132, .2), rgba(61, 220, 132, .05) 70%); border-color: rgba(61, 220, 132, .35); }
.md-cell.f.app-fomo { background: linear-gradient(165deg, rgba(150, 120, 255, .24), rgba(150, 120, 255, .06) 70%); border-color: rgba(150, 120, 255, .4); }
.md-cell.f.me { box-shadow: 0 0 0 2px var(--ember), 0 8px 22px rgba(61, 107, 255, .3); }
.md-cell.f .md-no { color: rgba(255, 255, 255, .55); }
.md-cell.md-popin { animation: md-pop .38s cubic-bezier(.2, .8, .2, 1.3) both; }
.md-cell.now { background: linear-gradient(165deg, #1f3a8f, #142763); border-color: #7ea0ff; box-shadow: 0 0 0 1px #7ea0ff, 0 10px 30px rgba(61, 107, 255, .45); }
.md-cell.now .md-no { color: #cfe0ff; }
.md-clock { font: 800 18px/1 var(--sans); color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.md-cell.now:not(.me) .md-clock { font-size: 12px; font-weight: 600; color: #cfe0ff; animation: md-blink 1s ease-in-out infinite; }
@keyframes md-pop { from { transform: scale(.82); opacity: .2; } }
@keyframes md-in { from { opacity: 0; transform: translateY(-4px); } }
@keyframes md-blink { 50% { opacity: .45; } }
/* under the board: your team, and the traders still left */
.md-low { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 14px; align-items: start; }
.md-mine, .md-pool { padding: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--rule); display: grid; gap: 12px; }
.md-mine > b, .md-poolh b { font-size: 15px; }
.md-slots { display: grid; gap: 8px; }
.md-slot { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; border-radius: 12px; background: #0d0f14; border: 1px dashed #262a33; font-size: 13px; }
.md-slot.f { border: 1px solid rgba(92, 138, 255, .35); background: linear-gradient(90deg, #121b3a, #0d0f14); }
.md-slot span { display: grid; gap: 2px; min-width: 0; }
.md-slot b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-slot small { font-size: 12px; color: var(--smoke); }
.md-ph { font-weight: 700; color: #59606b; font-variant-numeric: tabular-nums; }
.md-poolh { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.md-q { width: min(240px, 60%); padding: 9px 14px; border-radius: 99px; background: #0d0f14; border: 1px solid var(--rule); color: var(--ash); font: 500 14px var(--sans); }
.md-list { display: grid; gap: 6px; max-height: 420px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.md-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: #0d0f14; border: 1px solid #1a1d24; color: var(--ash); text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, background .15s, transform .15s; }
.md-row:disabled { cursor: default; opacity: .62; }
.md-pool.live .md-row:hover { border-color: #7ea0ff; background: #111a36; transform: translateX(2px); }
.md-rn { display: grid; gap: 2px; min-width: 0; }
.md-rn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.md-app { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.md-app.app-pump { color: #6ee7a8; }
.md-app.app-fomo { color: #b8a6ff; }
.md-pnl { font-size: 14px; display: grid; justify-items: end; }
.md-pnl small { font-size: 10.5px; font-weight: 500; color: var(--smoke); }
.md-go { padding: 7px 12px; border-radius: 99px; background: #1b1d22; color: var(--smoke); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.md-pool.live .md-go { background: var(--ember); color: #fff; }
.md-pool.live { border-color: rgba(92, 138, 255, .55); box-shadow: 0 0 0 1px rgba(92, 138, 255, .25); }
.md-none { margin: 8px 4px; }
/* the end: where you would finish, every team's five and their total */
.md-end { display: grid; gap: 16px; padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--rule); animation: md-in .35s ease both; }
.md-endh { display: grid; gap: 8px; }
.md-endh h3 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.md-endh p { margin: 0; color: var(--smoke); font-size: 15px; line-height: 1.5; max-width: 640px; }
.md-endh p b { color: #fff; }
.md-table { display: grid; gap: 6px; }
.md-tr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 90px; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: #0d0f14; border: 1px solid #1a1d24; }
.md-tr.me { border-color: rgba(92, 138, 255, .6); background: linear-gradient(90deg, #16244f, #0d0f14); }
.md-tr b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-rk { font-weight: 800; color: var(--smoke); font-variant-numeric: tabular-nums; }
.md-faces { display: flex; }
.md-faces .md-orb { width: 28px; height: 28px; margin-left: -6px; box-shadow: 0 0 0 2px #0d0f14; }
.md-faces .md-orb:first-child { margin-left: 0; }
.md-sum { text-align: right; }
.md-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.herobtn .pill.ghost { margin-left: 10px; }
@media (max-width: 760px) {
  .md-low { grid-template-columns: 1fr; }
  .md-status { width: 100%; }
  .md-tr { grid-template-columns: 28px minmax(0, 1fr) 80px; }
  .md-faces { display: none; }
  .md-note { position: static; margin: 0; white-space: normal; }
  .herobtn .pill.ghost { margin: 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .md-cell.md-popin, .md-end, .md-note, .md-cell.now .md-clock { animation: none !important; } }
/* the board can be wider than the page column; hidden parts stay hidden */
.mockdraft { max-width: min(1320px, calc(100% - 32px)); }
.md-end[hidden], .md-low[hidden] { display: none; }
/* phones: the daily draft bar steps aside during the mock draft; the trader list gives names more room */
body.mock-in .mbar { display: none !important; }
@media (max-width: 760px) { .md-row { gap: 8px; padding: 8px; } .md-pnl small { display: none; } .md-pnl { font-size: 13px; } .md-go { padding: 6px 10px; font-size: 11px; } .md-board { grid-template-columns: repeat(var(--cols, 12), 84px); min-width: 0; } .md-cell { min-height: 84px; } }

/* ---- mock draft, round 2: your pick opens over the page; your team in a row under the board ---- */
.md-ov { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 12, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.md-ov.in { opacity: 1; }
.md-ovbox { width: min(560px, 100%); max-height: min(86vh, 760px); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 12px; padding: 20px; border-radius: 22px; background: var(--panel); border: 1px solid rgba(92, 138, 255, .45); box-shadow: 0 30px 80px #000c, 0 0 0 1px rgba(92, 138, 255, .15); transform: translateY(14px) scale(.98); transition: transform .28s cubic-bezier(.2, .8, .2, 1.2); }
.md-ov.in .md-ovbox { transform: none; }
.md-ovh { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.md-ovh h3 { margin: 6px 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.md-ovh p { margin: 0; color: var(--smoke); font-size: 14px; line-height: 1.45; }
.md-ovbox .md-q { width: 100%; }
.md-ovbox .md-list { max-height: none; min-height: 0; overflow-y: auto; }
.md-ovbox .md-row:hover { border-color: #7ea0ff; background: #111a36; transform: translateX(2px); }
.md-ovbox .md-go { background: var(--ember); color: #fff; }
.md-row.best { border-color: rgba(92, 138, 255, .6); background: linear-gradient(90deg, #142048, #0d0f14); }
.md-peek { justify-self: center; padding: 6px 10px; background: none; border: 0; color: var(--smoke); font: 600 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.md-peek:hover { color: var(--ash); }
.md-back { position: fixed; left: 50%; bottom: 18px; z-index: 390; transform: translateX(-50%); padding: 14px 22px; border-radius: 99px; border: 0; background: var(--ember); color: #fff; font: 700 15px var(--sans); box-shadow: 0 12px 30px rgba(61, 107, 255, .5); cursor: pointer; animation: md-in .25s ease both; }
.md-back b { font-variant-numeric: tabular-nums; }
.md-cell.now.me { cursor: pointer; }
.md-mine { padding: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--rule); display: grid; gap: 12px; }
.md-mine .md-slots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .md-mine .md-slots { grid-template-columns: 1fr; }
  .md-ovbox { padding: 16px; max-height: 92vh; border-radius: 18px; }
  .md-ovh h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .md-ov, .md-ovbox, .md-back { transition: none; animation: none; } }

/* ---- leagues, played as games: a card per league, your games; a game's waiting room and its table ---- */
.lg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lg-card { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--rule); }
.lg-card.paid { background: linear-gradient(180deg, rgba(61, 107, 255, .08), transparent 55%), var(--panel); }
.lg-card.shut { opacity: .6; }
.lg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lg-top .gemb { position: static; width: 56px; height: 56px; } /* in the card's own row, not pinned to a corner like the old league cards */
.lg-top .lab { color: var(--smoke); }
.lg-card h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.lg-card h3 em { font-style: normal; color: var(--ember); }
.lg-prize { margin: 0; font-size: 15px; color: var(--ash); }
.lg-prize b { color: #fff; }
.lg-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--smoke); font-size: 13.5px; }
.lg-facts li::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 9px 2px 0; border-radius: 50%; background: #3a4670; }
.lg-live { margin: 2px 0 4px; font-size: 13px; color: var(--smoke); }
.lg-live b { color: #fff; }
.lg-card .pill { justify-self: stretch; justify-content: center; text-align: center; }
.lg-my { margin-top: 26px; display: grid; gap: 8px; }
.lg-my h3 { margin: 0 0 4px; font-size: 18px; }
.lg-mine { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--rule); color: var(--ash); }
.lg-mine:hover { border-color: #3a4670; }
.lg-mine span { color: var(--smoke); font-size: 14px; }
.lg-go { color: var(--ember-hi) !important; }
/* a game */
.gm { display: grid; gap: 16px; }
.gm-card { display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--rule); }
.gm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.gm-head h3 { margin: 6px 0 6px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.gm-head h3 em { font-style: normal; color: var(--ember); }
.gm-head p { margin: 0; font-size: 15px; }
.gm-head p b { color: #fff; }
.gm-eyebrow { color: var(--ember-hi); }
.gm-bots { display: grid; justify-items: end; gap: 6px; }
.gm-bots b { font: 800 30px/1 var(--sans); font-variant-numeric: tabular-nums; color: #fff; }
.gm-seats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gm-seat { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 14px; background: #0d0f14; border: 1px dashed #262a33; text-align: center; min-width: 0; }
.gm-seat.f { border: 1px solid #262a33; background: #111317; animation: md-in .3s ease both; }
.gm-seat.me { border-color: rgba(92, 138, 255, .6); background: linear-gradient(180deg, #16244f, #0e1430); }
.gm-seat b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.gm-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1b1d22; color: var(--smoke); font: 800 18px/1 var(--sans); }
.gm-seat.f .gm-av { background: #22283a; color: #fff; }
.gm-seat.me .gm-av { background: var(--ember); }
.gm-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.gm-table { display: grid; gap: 6px; }
.gm-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 110px auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #0d0f14; border: 1px solid #1a1d24; cursor: pointer; }
.gm-row:hover { border-color: #3a3e47; }
.gm-row.me { border-color: rgba(92, 138, 255, .6); background: linear-gradient(90deg, #16244f, #0d0f14); }
.gm-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-won { padding: 5px 10px; border-radius: 99px; background: rgba(61, 220, 132, .14); color: var(--over); font-size: 12px; font-weight: 700; white-space: nowrap; }
.gm-detail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 4px 6px 10px; }
.gm-dp { display: grid; justify-items: center; gap: 6px; padding: 12px 8px; border-radius: 12px; background: #111317; border: 1px solid var(--rule); text-align: center; min-width: 0; }
.gm-dp span { display: grid; gap: 2px; min-width: 0; max-width: 100%; }
.gm-dp b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.gm-dp small { color: var(--smoke); font-size: 11px; }
.gm-dp em { font-style: normal; font-weight: 800; font-size: 14px; }
@media (max-width: 1000px) { .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-mine { grid-template-columns: 1fr auto; }
  .lg-mine span:nth-child(2) { grid-column: 1; }
  .gm-seats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gm-row { grid-template-columns: 30px minmax(0, 1fr) 90px; }
  .gm-row .md-faces, .gm-row .gm-won { display: none; }
  .gm-detail { grid-template-columns: 1fr 1fr; }
  .gm-card { padding: 18px; }
}

/* ---- the coach: the tutorial's bubbles ---- */
.coach { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.coach-block { position: absolute; inset: 0; pointer-events: auto; }
.coach.flat .coach-block { background: rgba(3, 5, 12, .6); }
.coach-ring { position: fixed; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 2px var(--ember-hi), 0 0 0 9999px rgba(3, 5, 12, .6), 0 0 40px rgba(61, 107, 255, .45); }
.coach-bubble { position: fixed; width: min(390px, calc(100vw - 32px)); display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 15px 16px; border-radius: 18px; background: #111523; border: 1px solid rgba(126, 160, 255, .5); box-shadow: 0 22px 54px #000c; pointer-events: auto; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1.2); }
.coach.in .coach-bubble { opacity: 1; transform: none; }
.coach-bubble.mid { left: 50%; top: 50%; transform: translate(-50%, -46%); }
.coach.in .coach-bubble.mid { transform: translate(-50%, -50%); }
.coach-bubble.sheet { left: 16px; right: 16px; top: auto !important; bottom: 16px; width: auto; }
.coach-av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ember); color: #fff; font: 800 13px/1 var(--sans); letter-spacing: -.02em; box-shadow: 0 6px 18px rgba(61, 107, 255, .5); }
.coach-body { display: grid; gap: 8px; min-width: 0; }
.coach-t { font-size: 16.5px; color: #fff; letter-spacing: -.01em; }
.coach-body p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ash); }
.coach-body p b { color: #fff; }
.coach-acts { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.coach-alt { padding: 4px 0; background: none; border: 0; color: var(--smoke); font: 600 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .coach-bubble, .coach-ring { transition: none; } }

/* ---- private games, invites, and notifications in the waiting room ---- */
.lg-priv { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 22px 24px; }
.lg-priv h3 { margin: 6px 0 6px; font-size: 22px; }
.lg-priv h3 em { font-style: normal; color: var(--ember-hi); }
.lg-priv p { margin: 0; max-width: 560px; }
.pg { display: grid; justify-items: center; }
.pg-card { width: min(640px, 100%); display: grid; gap: 22px; padding: 26px; }
.pg-step h3 { margin: 0 0 4px; font-size: 18px; }
.pg-step > p { margin: 0 0 12px; }
.pg-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-opt { min-width: 64px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--rule); background: #12151d; color: #fff; font: 700 14px var(--sans); cursor: pointer; }
.pg-opts.sizes .pg-opt { min-width: 44px; padding: 10px 0; }
.pg-opt.on { border-color: var(--ember-hi); background: rgba(61, 107, 255, .18); box-shadow: 0 0 0 1px var(--ember-hi) inset; }
.pg-opt:disabled { opacity: .4; cursor: not-allowed; }
.pg-custom { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pg-custom input { width: 110px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--rule); background: #0d1017; color: #fff; font: 700 15px var(--sans); }
.pg-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #0d1017; border: 1px solid var(--rule); }
.pg-sum b { font: 800 22px Archivo, var(--sans); color: #fff; }
.gm-invite { display: grid; gap: 8px; margin: 4px 0 16px; }
.gm-link { display: flex; gap: 8px; }
.gm-link input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rule); background: #0d1017; color: #fff; font: 600 14px var(--mono, monospace); }
.gm-alerts { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #0d1017; border: 1px solid var(--rule); }
.gm-alerts:empty { display: none; }
.gm-al { color: var(--ash); font-size: 14px; }
.gm-al.on { color: var(--over, #3ddc84); }
.pj h3 em { font-style: normal; color: var(--ember-hi); }
@media (max-width: 640px) { .lg-priv { flex-direction: column; align-items: stretch; } .gm-alerts { flex-direction: column; align-items: stretch; } .pg-card { padding: 18px; } }

/* ---- the draft list ---- */
.gm-dl { margin-top: 16px; }
.md .gm-dl { margin-top: 18px; padding: 18px; border-radius: 16px; background: #0d1017; border: 1px solid var(--rule); }
.dl { display: grid; gap: 10px; }
.dl-h h4 { margin: 0 0 2px; font-size: 16px; }
.dl-h p { margin: 0; font-size: 13.5px; }
.dl-list { display: grid; gap: 6px; }
.dl-row { display: grid; grid-template-columns: 22px 32px 1fr auto auto auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: #12151d; border: 1px solid var(--rule); }
.dl-row.taken { opacity: .45; }
.dl-row.taken b { text-decoration: line-through; }
.dl-n { font: 800 13px var(--sans); color: var(--smoke); text-align: center; }
.dl-row .orb, .dl-add .orb { width: 32px; height: 32px; }
.dl-row b, .dl-add b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.dl-row em, .dl-add em { font-style: normal; font-size: 13px; font-weight: 700; }
.dl-acts { display: flex; gap: 4px; }
.dl-acts button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--rule); background: #0d1017; color: #fff; cursor: pointer; }
.dl-acts button:hover { border-color: var(--ember-hi); }
.dl-empty { margin: 0; font-size: 13.5px; }
.dl-q { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rule); background: #0d1017; color: #fff; font: 600 14px var(--sans); }
.dl-adds { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.dl-add { display: grid; grid-template-columns: 32px 1fr auto auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; border: 1px dashed var(--rule); background: transparent; color: #fff; text-align: left; cursor: pointer; }
.dl-add:hover { border-color: var(--ember-hi); border-style: solid; }
.dl-plus { font: 800 18px var(--sans); color: var(--ember-hi); }
.gm-away { display: inline-flex; align-items: center; gap: 10px; margin-left: 12px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 91, 110, .12); color: #ffd0d6; font-size: 13px; }
@media (max-width: 640px) { .dl-row { grid-template-columns: 22px 32px 1fr auto; } .dl-row em, .dl-row small { display: none; } .gm-away { margin: 8px 0 0; } }

/* ---- a trader's numbers under their name in the pick list ---- */
.md-ovbox .md-row { grid-template-columns: auto minmax(0, 1fr) auto auto auto; cursor: pointer; }
.md-more { color: var(--smoke); font-size: 12px; transition: transform .2s; }
.md-row[aria-expanded="true"] .md-more { transform: rotate(180deg); color: #fff; }
button.md-go { border: 0; font-family: var(--sans); cursor: pointer; }
.md-stats { margin: 4px 2px 6px; padding: 12px 14px; border-radius: 12px; background: #0b0d13; border: 1px solid #1a1d24; }
.ts { display: grid; gap: 10px; }
.ts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px 12px; }
.ts-grid div { display: grid; gap: 1px; }
.ts-grid span, .ts-coins > span, .ts-h { color: var(--smoke); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ts-grid b { color: #fff; font: 800 15px Archivo, var(--sans); }
.ts-grid b.gain { color: var(--over, #3ddc84); }
.ts-grid b.loss { color: var(--under, #ff5b6e); }
.ts-grid small { color: var(--smoke); font-size: 11.5px; }
.ts-coins { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ts-coins i { font-style: normal; padding: 3px 8px; border-radius: 99px; background: #161a24; color: #fff; font: 700 12px var(--sans); }
.ts-h { margin: 2px 0 0; }
.ts-x { color: #9db4ff; font-size: 13px; font-weight: 600; }
.ts-load { margin: 0; font-size: 13px; }
/* ---- a live game's trades ---- */
.gm-feed { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: #0d1017; border: 1px solid var(--rule); display: grid; gap: 6px; }
.gm-feed h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 15px; }
.gf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--over, #3ddc84); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: gf-pulse 1.6s infinite; }
@keyframes gf-pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.gf-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 13.5px; color: var(--ash); }
.gf-row .orb { width: 28px; height: 28px; }
.gf-row b { color: #fff; }
.gf-row.me { background: rgba(61, 107, 255, .1); }
.gf-row small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gf-dot { animation: none; } }

/* ---- share cards ---- */
.sh-ov { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 12, .78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; }
.sh-ov.in { opacity: 1; }
.sh-box { position: relative; width: min(760px, 100%); display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: #111523; border: 1px solid rgba(126, 160, 255, .4); box-shadow: 0 30px 80px #000c; }
.sh-img { width: 100%; border-radius: 12px; display: block; }
.sh-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-fine { margin: 0; color: var(--smoke); font-size: 12.5px; }
.sh-x { position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); background: #0d1017; color: #fff; font-size: 20px; cursor: pointer; }

/* ---- the season, a player, the open books ---- */
.lg-season { margin-top: 18px; padding: 20px 22px; display: grid; gap: 6px; }
.lg-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.lg-sh h3 { margin: 0; font-size: 18px; }
.lg-sh a, .lg-books a { color: #9db4ff; font-size: 13.5px; font-weight: 600; }
.lg-books { margin: 8px 0 0; }
.pl-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.pl-row:hover { background: #121623; }
.pl-row.me { background: rgba(61, 107, 255, .12); }
.pl-nm { min-width: 0; overflow: hidden; }
.pl-gw { font-size: 13px; }
.pl { display: grid; gap: 14px; }
.pl-tabs { justify-self: start; }
.pl-list { padding: 10px; display: grid; gap: 2px; }
.pl-fine { margin: 0; font-size: 13px; }
.bk, .pf { display: grid; gap: 16px; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.bk-c { display: grid; gap: 4px; padding: 16px 18px; }
.bk-c b { font: 800 26px Archivo, var(--sans); color: #fff; }
.bk-c small { font-size: 12.5px; }
.bk-how, .bk-burns, .pf-recent, .pf-head { padding: 20px 22px; }
.bk-how h3, .bk-burns h3, .pf-recent h3 { margin: 0 0 8px; }
.bk-how p { margin: 0 0 8px; color: var(--ash); line-height: 1.5; }
.bk-how a, .bk-burns a { color: #9db4ff; }
.bk-rec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bk-rec input { flex: 1; min-width: 160px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rule); background: #0d1017; color: #fff; font: 600 14px var(--sans); }
.pf-head h2 { margin: 6px 0 6px; font-size: 34px; }
.pf-head p { margin: 0; }
@media (max-width: 640px) { .pl-row { grid-template-columns: 30px minmax(0, 1fr) auto; } .pl-gw { display: none; } }

/* ---- profiles and achievements ---- */
.me, .pf { display: grid; gap: 16px; }
.me-card { position: relative; border-radius: 20px; overflow: hidden; background: #0d1017; border: 1px solid var(--rule); }
.me-banner { position: relative; aspect-ratio: 3 / 1; max-height: 260px; width: 100%; display: grid; place-items: center; background: linear-gradient(120deg, #111a36, #0b0d13 60%) center / cover no-repeat; }
.me-up { position: absolute; right: 14px; bottom: 14px; }
.me-id { position: relative; display: flex; align-items: flex-end; gap: 16px; padding: 0 22px 20px; margin-top: -48px; flex-wrap: wrap; }
.me-pfp { width: 112px; height: 112px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #151924; border: 4px solid #0d1017; box-shadow: 0 10px 30px #000a; }
.me-pfp img { width: 100%; height: 100%; object-fit: cover; }
.me-pfp b { font: 800 44px Archivo, var(--sans); color: #fff; }
.me-pfpbtn { position: absolute; left: 22px; bottom: 20px; width: 112px; padding: 4px 0; border: 0; border-radius: 0 0 56px 56px; background: rgba(3, 5, 12, .7); color: #fff; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.me-who { flex: 1; min-width: 200px; padding-bottom: 6px; }
.me-who h2 { margin: 0 0 4px; font-size: 30px; }
.me-who a { color: #9db4ff; font-size: 13.5px; font-weight: 600; }
.me-who p { margin: 0; }
.me-fine { margin: 0 22px 18px; }
.pf-show { display: flex; gap: 10px; padding-bottom: 6px; }
.me-sec { padding: 20px 22px; display: grid; gap: 10px; }
.me-sec h3 { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.me-sec h3 small { font-size: 13px; font-weight: 600; }
.me-sec > p { margin: 0; }
.me-name input { flex: 1; max-width: 320px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rule); background: #0d1017; color: #fff; font: 700 15px var(--sans); }
.me-show { display: flex; flex-wrap: wrap; gap: 8px; }
.me-bd { display: grid; justify-items: center; gap: 6px; width: 104px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--rule); background: #12151d; color: var(--ash); font: 600 12px var(--sans); cursor: pointer; }
.me-bd.on { border-color: var(--ember-hi); background: rgba(61, 107, 255, .14); color: #fff; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.ach { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #0f121a; border: 1px solid #1a1d24; }
.ach.got { background: #12172a; border-color: #263357; }
.ach b { color: #fff; font-size: 14.5px; }
.ach p { margin: 2px 0 6px; font-size: 12.5px; line-height: 1.35; }
.ach small { font-size: 11.5px; }
.ach-done { color: var(--over, #3ddc84); font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .05em; }
.ach-bar { display: block; height: 5px; border-radius: 99px; background: #1b1f2b; overflow: hidden; margin-bottom: 4px; }
.ach-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ember); }
/* a badge: its art, whole, glowing in its rarity's colour (mythic: through the rainbow) */
.bdg { --s: 56px; --c: rgba(170, 180, 200, .35); width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; }
.bdg img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 calc(var(--s) * .1) var(--c)); }
.bdg.r-rare { --c: rgba(92, 138, 255, .55); }
.bdg.r-epic { --c: rgba(176, 107, 255, .6); }
.bdg.r-legendary { --c: rgba(255, 201, 77, .6); }
.bdg.r-mythic img { animation: mythic 6s linear infinite; }
@keyframes mythic { 0% { filter: drop-shadow(0 0 calc(var(--s) * .12) rgba(255, 90, 140, .7)); } 33% { filter: drop-shadow(0 0 calc(var(--s) * .12) rgba(90, 200, 255, .7)); } 66% { filter: drop-shadow(0 0 calc(var(--s) * .12) rgba(170, 255, 120, .7)); } 100% { filter: drop-shadow(0 0 calc(var(--s) * .12) rgba(255, 90, 140, .7)); } }
.bdg.off img { filter: grayscale(1) brightness(.75); opacity: .55; animation: none; }
.pl-av { width: 26px; height: 26px; flex: none; display: inline-grid; place-items: center; margin-right: 8px; vertical-align: middle; border-radius: 50%; overflow: hidden; background: #1a1e2a; font: 800 12px var(--sans); color: #fff; }
.pl-av img, .gm-av img { width: 100%; height: 100%; object-fit: cover; }
.gm-av { overflow: hidden; }
.gm-pfp { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; margin-right: 8px; vertical-align: middle; }
/* just earned */
.ach-box { text-align: center; justify-items: center; width: min(520px, 100%); padding: 28px 24px; }
.ach-kick { color: var(--ember-hi); letter-spacing: .12em; }
.ach-big { display: flex; gap: 14px; justify-content: center; padding: 10px 0; animation: ach-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.ach-box h3 { margin: 0; font-size: 24px; }
.ach-box p { margin: 0; }
.ach-box .sh-acts { justify-content: center; }
@keyframes ach-pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 640px) { .me-id { margin-top: -36px; } .me-pfp, .me-pfpbtn { width: 88px; } .me-pfp { height: 88px; } .me-who h2 { font-size: 24px; } .ach-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ach-big { animation: none; } }

/* the account menu's Profile row, and your picture on the wallet button */
.pop-prof { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--rule); color: #fff; text-decoration: none; }
.pop-prof:hover, .pop-prof:focus-visible { border-color: var(--ember-hi); }
.pop-av, .wav { display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: #1a1e2a; font: 800 15px var(--sans); color: #fff; }
.pop-av { width: 40px; height: 40px; }
.pop-av img, .wav img { width: 100%; height: 100%; object-fit: cover; }
.pop-pt { display: grid; gap: 1px; min-width: 0; }
.pop-pt b { font-size: 15px; }
.pop-pt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.pop-go { color: var(--ember-hi); font-weight: 800; }
.wallet { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; }
.wallet .wav { display: inline-grid; width: 26px; height: 26px; font-size: 12px; }
