/* MULLIGAN: polished picker, matchup board, live-slate sheet. */
body.sheet-open { overflow: hidden; }
.lg { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); flex: none; }
.lg.ph { display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); font: 800 13px var(--f-head); color: var(--ink); filter: none; }
.st { font: 800 11px var(--f-body); letter-spacing: .06em; }
.st.in { color: #ff6b78; }
.st.post { color: var(--mute); }
.st.pre { color: var(--mute); }
.prog { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.prog .bar { flex: 1; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.prog .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ffd964, #e0a216); transition: width .45s cubic-bezier(.2, .9, .3, 1.2); }
.prog b { font: 800 18px var(--f-head); white-space: nowrap; }
.prog b small { font: 600 12px var(--f-body); color: var(--mute); }
.prog .done { font: 800 11px var(--f-body); color: #1a1200; background: var(--gold); padding: 3px 9px; border-radius: 999px; }
.quick-picks { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.quick-picks .mini:disabled { opacity: .35; }

/* pick cards */
.g2 { padding: 12px; animation: rise .45s both; animation-delay: calc(var(--d) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.vs2 { display: grid; grid-template-columns: 1fr 58px 1fr; gap: 6px; align-items: stretch; }
.tm { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; padding: 14px 6px 12px; min-height: 124px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(180deg, color-mix(in srgb, var(--tc, #797b80) 22%, #0e0e0f), #0e0a18); color: var(--ink); transition: transform .18s cubic-bezier(.2, .9, .3, 1.3), box-shadow .2s, border-color .2s; overflow: hidden; }
.tm .lg { width: 52px; height: 52px; transition: transform .25s cubic-bezier(.2, .9, .3, 1.5); }
.tm b { font: 800 16px var(--f-head); text-align: center; line-height: 1.05; }
.tm small { font: 600 11px var(--f-body); color: var(--mute); }
.tm .chk { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #1a1200; color: #1a1200; font: 900 13px var(--f-body); font-style: normal; transform: scale(0); transition: transform .25s cubic-bezier(.2, .9, .3, 1.6); background: var(--gold); }
.tm:not(:disabled):hover { transform: translateY(-2px); border-color: rgba(245, 197, 66, .55); }
.tm:not(:disabled):active { transform: scale(.97); }
.tm.pick { background: linear-gradient(180deg, color-mix(in srgb, var(--tc, #797b80) 55%, #f5c542 20%), color-mix(in srgb, var(--tc, #797b80) 35%, #0e0a18)); border-color: var(--gold); box-shadow: 0 0 0 2px rgba(245, 197, 66, .55), 0 8px 22px rgba(245, 197, 66, .2); color: #fff; }
.tm.pick small { color: #f3e7c3; }
.tm.pick .lg { transform: scale(1.12); }
.tm.pick .chk { transform: scale(1); }
.tm.just { animation: pop .38s cubic-bezier(.2, .9, .3, 1.5); }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
.tm.win::after { content: 'WON'; position: absolute; left: 8px; top: 8px; font: 800 10px var(--f-body); letter-spacing: .1em; padding: 2px 7px; border-radius: 6px; background: var(--money); color: #03210f; }
.tm.lose { opacity: .5; }
.tm:disabled { cursor: default; }
.vs2 .mid, .mb-mid { display: grid; align-content: center; justify-items: center; gap: 3px; text-align: center; }
.vsb { font: 800 13px var(--f-head); color: var(--mute); letter-spacing: .1em; }
.score { font: 800 22px var(--f-head); white-space: nowrap; }
.score i { color: var(--mute); font-style: normal; margin: 0 2px; }
.vs2 .mid small, .mb-mid small { font: 700 10px var(--f-body); color: var(--gold); line-height: 1.2; }
.game .res.lk { color: var(--mute); }

/* matchup board */
.mb { padding: 12px; margin-bottom: 10px; animation: rise .5s both; animation-delay: calc(var(--d) * 55ms); }
.mb-top { display: flex; justify-content: space-between; font: 600 11px var(--f-body); color: var(--mute); margin-bottom: 8px; }
.mb-vs { display: grid; grid-template-columns: 1fr 70px 1fr; gap: 6px; align-items: start; }
.mb-team { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 20%, #0e0e0f), #0e0a18); border: 1px solid rgba(255, 255, 255, .08); }
.mb-team .lg { width: 48px; height: 48px; }
.mb-team b { font: 800 14px var(--f-head); text-align: center; line-height: 1.05; }
.mb-team small { font: 600 10px var(--f-body); color: var(--mute); }
.mb-team.win { border-color: var(--money); box-shadow: 0 0 0 1px var(--money); }
.mb-team.lose { opacity: .5; }
.mb-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; min-height: 24px; margin-top: 6px; }
.mb-faces em { font: 600 11px var(--f-body); color: var(--mute); font-style: normal; }
.mb-faces .av.sm { width: 28px; height: 28px; border-radius: 9px; font-size: 15px; box-shadow: none; border: 2px solid transparent; }
.mpf.ok .av { border-color: var(--money); }
.mpf.no .av { opacity: .4; }
.mb-mid { padding-top: 22px; }
.mb-split { height: 5px; border-radius: 4px; background: #797b80; margin: 10px 0 4px; overflow: hidden; }
.mb-split i { display: block; height: 100%; background: var(--gold); transition: width .5s; }
.mb-split.off { opacity: .25; }
.mb-note { text-align: center; font: 600 11px var(--f-body); color: var(--mute); }

/* live slate sheet */
.sheet-bg { position: fixed; inset: 0; z-index: 250; background: rgba(0, 0, 0, .7); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: min(640px, 100%); max-height: 88vh; display: flex; flex-direction: column; background: #0e0916; border: 1px solid rgba(245, 197, 66, .3); border-radius: 22px 22px 0 0; padding: 14px 14px 0; animation: up .3s cubic-bezier(.2, .9, .3, 1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sheet-hd b { font: 800 22px var(--f-serif); }
.sheet-hd .x { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: var(--ink); }
.sheet-list { flex: 1; overflow-y: auto; display: grid; gap: 6px; align-content: start; padding-bottom: 8px; min-height: 160px; }
.pick-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); text-align: left; transition: .12s; width: 100%; }
.pick-row .lg { width: 34px; height: 34px; }
.pick-row .pr-t { flex: 1; min-width: 0; display: grid; }
.pick-row b { font: 700 14px var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-row b i { color: var(--mute); font-style: normal; font-weight: 500; }
.pick-row small { color: var(--mute); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-row .tick { flex: none; min-width: 26px; text-align: center; font: 800 12px var(--f-body); color: #1a1200; }
.pick-row.on { border-color: var(--gold); background: rgba(245, 197, 66, .12); }
.pick-row.on .tick { background: var(--gold); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; }
.pick-row.dis { opacity: .45; }
.pick-row.dis .tick { color: var(--mute); }
.sheet-ft { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); background: #0e0916; position: sticky; bottom: 0; }
.sheet-ft .btn { flex: 1; }
.sheet-ft .btn:disabled { opacity: .4; pointer-events: none; }
@media (max-width: 420px) { .tm { min-height: 112px; padding: 12px 4px 10px; } .tm .lg { width: 44px; height: 44px; } .tm b { font-size: 14px; } .vs2 { grid-template-columns: 1fr 48px 1fr; } .tabs button { font-size: 11px; padding: 10px 2px; } }
@media (prefers-reduced-motion: reduce) { .g2, .mb, .tm, .sheet { animation: none !important; } }
