.roll-zone.is-mishimash-suppressed { display: none !important; }
body.mishimash-active .landing { grid-template-rows: minmax(0, 1fr) 0 !important; }
body.mishimash-active .game-tab-content { overflow-y: auto; }
body.mishimash-active .game-tab-content[data-game-id="mishimash"][data-game-component="roll"] { min-width: 0; max-width: 100%; box-sizing: border-box; overflow: hidden; padding: 0 8px; }
.mishimash-host { width: 100%; max-width: 100%; min-width: 0; min-height: 100%; padding: 0; box-sizing: border-box; }
.mishimash-game { width: 100%; max-width: 720px; min-width: 0; height: 450px; margin: 0 auto; box-sizing: border-box; display: grid; grid-template-rows: 48px 184px 58px 48px 96px; gap: 4px; }
.mishimash-hud { min-width: 0; padding: 5px 8px; display: grid; grid-template-columns: minmax(0,1.35fr) repeat(3,minmax(0,1fr)); gap: 4px; background: linear-gradient(145deg,#211914,#151318); border-color: color-mix(in srgb,#f97316 38%,var(--cubiri-border,#525866)); }
.mishimash-hud-item { min-width: 0; display: grid; align-content: center; text-align: center; }
.mishimash-hud-item span { overflow: hidden; font-size: 9px; line-height: 1.1; letter-spacing: .04em; opacity: .62; white-space: nowrap; }
.mishimash-hud-item strong { overflow: hidden; color: #fff; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.mishimash-dice { position: relative; width: 100%; height: 184px; min-height: 184px; overflow: hidden; }
.mishimash-dice-canvas { position: absolute; inset: 0; }
.mishimash-dice-canvas[hidden] { display: none; }
.mishimash-dice .canonical-d6-webgl { display: block; width: 100%; height: 100%; touch-action: none; }
.mishimash-dice-hits { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.mishimash-dice-hit-row { height: 50%; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3.3vw, 18px); }
.mishimash-dice-hits.count-1 .mishimash-dice-hit-row,
.mishimash-dice-hits.count-2 .mishimash-dice-hit-row,
.mishimash-dice-hits.count-3 .mishimash-dice-hit-row { height: 100%; }
.mishimash-die-hit { position: relative; width: clamp(74px, 21.6vw, 88px); height: 77px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 16px; background: transparent; pointer-events: auto; cursor: pointer; }
.mishimash-die-hit:disabled { cursor: default; }
.mishimash-groups { height: 58px; min-height: 58px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4px 6px; overflow: hidden; }
.mishimash-groups button { position: relative; min-height: 30px; border: 1px solid color-mix(in srgb, var(--cubiri-brand-purple) 30%, var(--cubiri-border, #525866)); border-radius: 11px; padding: 6px 10px; background: linear-gradient(145deg, color-mix(in srgb, var(--cubiri-brand-purple) 13%, #191923), #12131a); color: #f8fafc; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.mishimash-groups button.is-selected { border-color: transparent; background: linear-gradient(#17151f, #17151f) padding-box, var(--cubiri-brand-gradient) border-box; color: #fff; box-shadow: -5px 0 13px color-mix(in srgb, var(--cubiri-brand-purple) 34%, transparent), 0 0 14px color-mix(in srgb, var(--cubiri-brand-pink) 28%, transparent), 5px 0 13px color-mix(in srgb, var(--cubiri-brand-orange) 28%, transparent); }
.mishimash-message-zone { height: 48px; min-height: 48px; display: grid; grid-template-rows: 1fr 18px; align-items: center; overflow: hidden; }
.mishimash-status { min-height: 22px; margin: 0; text-align: center; font-weight: 700; }
.mishimash-status.is-bust { color: var(--cubiri-action-destructive, #ef4444); }
.mishimash-event { min-height: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 12px; text-align: center; color: #f8fafc; }
.mishimash-event strong { width: 100%; font-size: 16px; color: transparent; background: var(--cubiri-brand-gradient); background-clip: text; -webkit-background-clip: text; }
.mishimash-event-details { color: color-mix(in srgb, #fff 86%, transparent); font-size: 70%; line-height: 1.2; font-weight: 750; white-space: nowrap; }
.mishimash-controls { height: 96px; min-height: 96px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 44px 44px; gap: 8px; }
.mishimash-controls button { min-width: 0; min-height: 44px; font-size: 20.4px; font-weight: 800; }
.mishimash-roll { grid-column: 1 / -1; grid-row: 2; width: 100%; }
.mishimash-new-game { grid-column: 1; grid-row: 1; background: transparent; }
.mishimash-bank { grid-column: 2; grid-row: 1; box-sizing: border-box; overflow: visible; border-radius: var(--cubiri-radius-control); border-color: color-mix(in srgb, var(--cubiri-brand-pink) 72%, transparent); background: radial-gradient(circle at 30% 10%, rgba(255,255,255,.15), transparent 38%), linear-gradient(90deg, color-mix(in srgb, var(--cubiri-brand-pink) 58%, #24131d), color-mix(in srgb, var(--cubiri-brand-pink) 34%, #151116)); color: #fff; box-shadow: 0 7px 20px color-mix(in srgb, var(--cubiri-brand-pink) 22%, transparent), inset 0 1px 0 rgb(255 255 255 / .08); }
.mishimash-bank:disabled { opacity: .36; cursor: default; border-color: var(--cubiri-border, #525866); background: var(--cubiri-surface, #1b1d25); box-shadow: none; }
.mishimash-confirm { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.68); }
.mishimash-confirm-box { width: min(360px, 100%); box-sizing: border-box; padding: 18px; text-align: center; }
.mishimash-confirm-box h2 { margin: 0 0 8px; }
.mishimash-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mishimash-confirm-actions button { min-height: 44px; }
.mishimash-active .discovery.is-game-view[data-game-tab="players"] .game-tab-content[data-game-id="mishimash"],
.mishimash-active .discovery.is-game-view[data-game-tab="rules"] .game-tab-content[data-game-id="mishimash"] { min-width: 0; box-sizing: border-box; overflow-y: auto; overflow-x: hidden; padding: 8px 12px 24px; }
.mishimash-players { width: min(100%, 470px); max-width: 100%; margin-inline: auto; padding: var(--cubiri-card-padding); box-sizing: border-box; display: grid; gap: 12px; }
.mishimash-players h2, .mishimash-players label { margin: 0; font-size: 11px; letter-spacing: .08em; opacity: .68; }
.mishimash-player-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.mishimash-player-options .cubiri-option { min-width: 0; min-height: 42px; padding: 6px 2px; }
.mishimash-player-names { display: grid; gap: 8px; }
.mishimash-player-names input, .mishimash-players input[type="number"] { width: 100%; min-height: 44px; box-sizing: border-box; border: 1px solid var(--cubiri-border, #525866); border-radius: var(--cubiri-radius-control); padding: 8px 11px; background: var(--cubiri-surface, #171923); color: inherit; font: inherit; }
@media (min-height: 760px) { .mishimash-game { margin-top: 6px; } }
