/* HOUSE BAND — party: setup, slot machine, handoff, ballot, results, podium */
body.in-party #hud-take, body.in-party #hud-roll, body.in-party #shelf-btn { display: none; }
.mode-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.mode-card { appearance: none; text-align: left; background: rgba(255,255,255,.05); border: 1px solid var(--panel-border); border-radius: 14px; padding: 10px 12px; color: var(--text); cursor: pointer; display: flex; flex-direction: column; gap: 3px; transition: background .15s, border-color .15s; }
.mode-card .ico { font-size: 22px; } .mode-card strong { font: 700 15px var(--font-display); } .mode-card span:last-child { color: var(--muted); font-size: 12px; }
.mode-card.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, transparent); }
.mode-card:disabled { opacity: .45; cursor: default; }
.pt-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.pt-left, .pt-right { min-width: 0; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; } .field-head label, .field label { font: 600 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } .field-head span { color: var(--muted); font-size: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pt-players { display: flex; flex-direction: column; gap: 6px; max-height: 40vh; overflow: auto; }
.pt-row { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--panel-border); border-radius: 12px; padding: 6px 8px; }
.pt-row .sw { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255,255,255,.3); cursor: pointer; flex: none; }
.pt-row input { flex: 1; min-width: 0; width: auto; padding: 7px 10px; font-size: 14px; }
.pt-row .sel.small { padding: 5px 24px 5px 8px; font-size: 12px; }
.pt-row .bot-tag { color: var(--muted); font-size: 12px; white-space: nowrap; }
.pt-row.bot input { opacity: .7; }
.pt-adds { display: flex; gap: 6px; margin-top: 8px; }
.round-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 22px; padding: 22px 30px; min-width: min(520px, 90vw); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: cardIn .4s var(--ease); z-index: 3; }
.rc-round { font: 600 12px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rc-line { font: 700 15px var(--font-mono); letter-spacing: .18em; color: var(--accent); }
.rc-name { font: 800 clamp(26px, 5vw, 44px)/1.05 var(--font-display); margin: 6px 0; }
.rc-meta { display: flex; justify-content: center; gap: 18px; font: 600 14px var(--font-mono); color: var(--muted); }
.round-card.rolling .rc-line, .round-card.rolling .rc-name, .round-card.rolling .rc-meta span { opacity: .55; transition: opacity .2s; }
.round-card .lock { opacity: 1 !important; color: var(--text); animation: chordBump .35s var(--ease); }
.round-card.rolling .rc-line.lock { color: var(--accent); } .round-card.rolling .rc-meta span.lock { color: var(--warm); }
.rc-icon { font-size: 54px; line-height: 1; margin: 4px 0 8px; }
.rc-twist { font: 800 clamp(28px, 5vw, 44px)/1.05 var(--font-display); color: var(--warm); }
.rc-rule { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.rc-rule b { color: var(--text); }
.panel.handoff, .panel.ballot { text-align: center; width: min(600px, 94vw); }
.ho-label { font: 600 12px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ho-name { font: 800 clamp(40px, 8vw, 64px)/1 var(--font-display); margin: 6px 0 4px; text-shadow: 0 0 30px currentColor; }
.ho-sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.ho-toys { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; max-height: 26vh; overflow: auto; }
.ho-fixed { font: 700 16px var(--font-display); padding: 10px 14px; background: rgba(255,255,255,.06); border-radius: 12px; }
.ho-row { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ho-foot { color: var(--muted); font-size: 12px; margin-top: 12px; }
.bl-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.bl-row { appearance: none; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--panel-border); border-radius: 14px; padding: 10px 12px; color: var(--text); cursor: pointer; text-align: left; transition: background .15s, border-color .15s; width: 100%; }
.bl-row:hover { background: rgba(255,255,255,.09); }
.bl-row.ranked { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.bl-row .rank, .rs-row .rank { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font: 800 14px var(--font-display); flex: none; }
.bl-row.ranked .rank { background: var(--c); color: #14100a; }
.bl-row .sw, .rs-row .sw { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.bl-row .who, .rs-row .who { font: 700 16px var(--font-display); flex: 1; }
.chips-mini { display: flex; gap: 4px; flex-wrap: wrap; } .chips-mini i { font: 600 11px var(--font-ui); font-style: normal; color: var(--muted); background: rgba(255,255,255,.06); padding: 3px 8px; border-radius: 999px; }
.bl-row .replay { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.panel.results, .panel.final { width: min(640px, 94vw); text-align: center; }
.rs-sub { color: var(--muted); margin: -6px 0 12px; }
.rs-rows { display: flex; flex-direction: column; gap: 6px; }
.rs-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--panel-border); border-radius: 14px; padding: 9px 12px; animation: cardIn .5s var(--ease) both; text-align: left; }
.rs-row.winner { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.rs-row .pts { display: flex; flex-direction: column; align-items: flex-end; } .rs-row .pts b { font: 800 18px var(--font-display); color: var(--warm); } .rs-row .pts small { color: var(--muted); font-size: 11px; }
.rs-row .total { font: 700 14px var(--font-mono); color: var(--muted); min-width: 52px; text-align: right; }
.rs-standings { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0; }
.rs-standings span { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--font-ui); background: rgba(255,255,255,.05); border-radius: 999px; padding: 5px 12px; } .rs-standings i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.rs-actions { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 12px; margin: 10px 0 8px; height: 190px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 30%; animation: cardIn .6s var(--ease) both; }
.pod-1 { animation-delay: .5s; } .pod-2 { animation-delay: .25s; } .pod-3 { animation-delay: .1s; }
.pod-name { font: 800 18px var(--font-display); color: var(--c); }
.pod-block { width: 100%; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, transparent), color-mix(in srgb, var(--c) 30%, transparent)); display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; font: 800 28px var(--font-display); color: #14100a; box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 30%, transparent); }
.pod-1 .pod-block { height: 120px; } .pod-2 .pod-block { height: 86px; } .pod-3 .pod-block { height: 64px; }
.pod-pts { font: 700 13px var(--font-mono); color: var(--muted); }
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 12px 0; }
.award { background: rgba(255,255,255,.05); border: 1px solid var(--c); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; animation: cardIn .5s var(--ease) both; }
.award b { font: 700 14px var(--font-display); color: var(--c); } .award span { font-weight: 600; } .award small { color: var(--muted); font-size: 11px; }
@media (max-width: 720px) { .mode-row { grid-template-columns: repeat(2, 1fr); } .pt-body { grid-template-columns: 1fr; } .podium { height: 160px; } .ho-name { font-size: 40px; } .pt-players { max-height: 30vh; } }
