/* Real rounds share the current frame, spacing and action palette. */
.ia-no-preview [data-ia=preview], .ia-no-preview .ia-preview-note { display: none !important; }
body.connected-room :is(.gl-vote,.gl-top-timer) { display: none !important; }
body.connected-room .ix-watch-layout { --lp-controls-gap: 0px; }
body.connected-room .ix-watch-layout.bar-on { --lp-controls-gap: 48px; }
body.hud-watch.connected-room .live-connected { max-height: calc(100% - 120px); overflow-y: auto; scrollbar-width: thin; }
body.hud-watch.connected-room .live-connected .interaction-arena { border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
body.hud-watch.connected-room .live-connected :is(.ia-topline,.ia-hero-art,.ia-orbit,.ia-meta,.ia-foot button) { display: none !important; }
body.hud-watch.connected-room .live-connected .ia-tabs { display: flex; gap: 6px; border: 0; background: none; padding: 0; margin: 0 0 10px; }
body.hud-watch.connected-room .live-connected .ia-tabs button { flex: 0 1 auto; min-height: 34px; padding: 7px 13px; border: 1px solid #ffffff20; border-radius: 9px; color: #b7bfbb; background: #ffffff05; font: 600 12px 'Plus Jakarta Sans',sans-serif; }
body.hud-watch.connected-room .live-connected .ia-tabs button[aria-pressed=true] { color: #edddb0; border-color: #d8bd6e66; background: #d8bd6e15; }
body.hud-watch.connected-room .live-connected .ia-tabs button svg { width: 15px; height: 15px; }
body.hud-watch.connected-room .live-connected .ia-tabs button i { display: none; }
body.hud-watch.connected-room .live-connected .ia-hero { display: block; min-height: 0; padding: 0; background: none; border: 0; margin-bottom: 10px; }
body.hud-watch.connected-room .live-connected .ia-hero h3 { font: 600 16px/1.3 'Plus Jakarta Sans',sans-serif; letter-spacing: -.025em; margin: 4px 0; }
body.hud-watch.connected-room .live-connected .ia-content { padding: 0; }
body.hud-watch.connected-room .live-connected .ia-kicker-row { display: flex; justify-content: space-between; }
body.hud-watch.connected-room .live-connected .ia-eyebrow { font-size: 9px; color: #a5aaa9; }
body.hud-watch.connected-room .live-connected .ia-clock { font: 500 12px 'Space Grotesk',sans-serif; color: #dfc587; }
body.hud-watch.connected-room .live-connected .ia-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 8px; }
body.hud-watch.connected-room .live-connected .ia-option { min-height: 48px; padding: 10px 13px; border-radius: 10px; background: #ffffff08; border: 1px solid #ffffff20; }
body.hud-watch.connected-room .live-connected .ia-option :is(.ia-option-index,.ia-option-copy small) { display: none; }
body.hud-watch.connected-room .live-connected .ia-option strong { font-size: 14px; }
body.hud-watch.connected-room .live-connected .ia-option[data-action=hit] { color: #89e0ac; background: #3dcc7820; border-color: #60da8b55; }
body.hud-watch.connected-room .live-connected .ia-option[data-action=stand] { color: #ef9da4; background: #db707b20; border-color: #db707b55; }
body.hud-watch.connected-room .live-connected .ia-option[data-action=double] { color: #ebcd86; background: #dcb85a20; border-color: #dcb85a55; }
body.hud-watch.connected-room .live-connected .ia-seg { gap: 8px; margin: 8px 0; }
body.hud-watch.connected-room .live-connected .ia-side { min-height: 43px; border-radius: 10px; font-size: 13px; }
body.hud-watch.connected-room .live-connected .ia-amount { padding: 10px 13px; margin: 10px 0; border-radius: 10px; }
body.hud-watch.connected-room .live-connected .ia-amount-n { font-size: 23px; margin: 5px 0; }
body.hud-watch.connected-room .live-connected .ia-return { padding: 7px 0; }
body.hud-watch.connected-room .live-connected .ia-submit { min-height: 40px; padding: 10px; border-radius: 10px; font-size: 13px; }
body.hud-watch.connected-room .live-connected :is(.ia-rule,.ia-vote-status,.ia-foot) { font-size: 10px; line-height: 1.5; }
body.hud-watch.connected-room .live-connected .ia-foot { border: 0; padding: 6px 0 0; }
body.hud-watch.connected-room .live-connected .ia-locked { padding: 10px 0; color: #c3c9c6; border: 0; background: transparent; }
.live-connected[data-closed=true] .ia-hero { margin: 0; }
body.connected-room .ix-room-panel { background: #101214 !important; }
body.connected-room .ix-room-panel .ia-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 600px) {
  body.hud-watch.connected-room .live-connected { width: calc(100% - 24px); padding: 12px; bottom: calc(var(--lp-controls-gap) + 12px); max-height: calc(100% - 100px); }
  body.hud-watch.connected-room .live-connected .ia-options { grid-template-columns: repeat(auto-fit,minmax(80px,1fr)); }
}

body.hud-watch.connected-room .live-connected .ia-tabs button { flex-direction: row; }
body.hud-watch.connected-room .live-connected .ia-tabs img { width: 17px; height: 17px; }
body.hud-watch.connected-room .live-connected .ia-clock[data-tone=orange] { color: #ffc080; }
body.hud-watch.connected-room .live-connected .ia-clock[data-tone=red] { color: #ff999f; }

body.hud-watch.connected-room .live-connected .ia-clock { display: inline-flex !important; }
body.hud-watch.connected-room .live-connected .ia-tabs { justify-content: flex-start !important; }
body.hud-watch.connected-room .live-connected .ia-tabs button { margin: 0 !important; flex: 0 0 auto !important; order: 0 !important; }
body.hud-watch.connected-room .live-connected .ia-tabs [data-ia-mode=vote] { order: 1 !important; }
body.hud-watch.connected-room .live-connected .ia-option[data-action] { background: var(--action-fill,#ffffff08) !important; border-color: var(--action-line,#ffffff20) !important; color: var(--action-ink,#ededeb) !important; }
body.hud-watch.connected-room .live-connected .ia-option[data-action] strong { color: inherit !important; }
body.hud-watch.connected-room .live-connected [data-action=hit] { --action-ink:#89e0ac; --action-fill:#3dcc7820; --action-line:#60da8b55; }
body.hud-watch.connected-room .live-connected [data-action=stand] { --action-ink:#ef9da4; --action-fill:#db707b20; --action-line:#db707b55; }
body.hud-watch.connected-room .live-connected [data-action=double] { --action-ink:#ebcd86; --action-fill:#dcb85a20; --action-line:#dcb85a55; }

/* House games keep the same compact, bottom-centred interaction surface. */
body.hud-watch.connected-room .house-game-bets { width: min(850px, calc(100% - 32px)); font-family: 'Plus Jakarta Sans',sans-serif; }
.house-game-bets .hb-top,.house-game-bets .hb-footer { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.house-game-bets .hb-top { margin-bottom:12px;font-size:14px; }
.house-game-bets .hb-clock { color:#dfc587;font-variant-numeric:tabular-nums; }
.house-game-bets .hb-clock[data-tone=orange] { color:#ffc080; }
.house-game-bets .hb-clock[data-tone=red] { color:#ff999f; }
.house-game-bets .hb-choices { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px; }
.house-game-bets button,.house-game-bets input,.house-game-bets .hb-submit { font:inherit; }
.house-game-bets .hb-choice { position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:56px;border:1px solid #ffffff22;background:#ffffff05;border-radius:12px;color:#e9ebe6;padding:9px;cursor:pointer;transition:background .2s,border-color .2s; }
.house-game-bets .hb-choice:hover { background:#ffffff10; }
.house-game-bets .hb-choice[aria-pressed=true] { border-color:#e4c78f;background:#dfbb6720;color:#f8dfb0; }
.house-game-bets[data-game=dice] .hb-choice[aria-pressed=true] { border-color:#9fc7ed;background:#9fc7ed20;color:#bbdbfc; }
.house-game-bets .hb-choice strong {font-size:12px;}
.house-game-bets .hb-choice small {font-size:10px;opacity:.7;}
.house-game-bets .hb-position {display:flex;align-items:center;gap:3px;font-size:10px;color:#e5c886;}
.house-game-bets .hb-position img {width:12px;height:12px;}
.house-game-bets .hb-entry {display:flex;align-items:center;gap:9px;margin-top:12px;}
.house-game-bets .hb-chips {display:flex;gap:5px;}
.house-game-bets .hb-chips button {width:39px;height:39px;border-radius:50%;border:2px dashed #959d9b;background:#222a2a;color:#e9ece8;font-size:11px;cursor:pointer;}
.house-game-bets .hb-chips button[aria-pressed=true] {border-color:#ebd096;background:#5a4830;color:#fff1cf;}
.house-game-bets .hb-amount {display:flex;flex:1;min-width:90px;align-items:center;gap:6px;border:1px solid #ffffff22;border-radius:10px;padding:7px 10px;}
.house-game-bets .hb-amount input {min-width:0;width:100%;height:24px;padding:0;border:0;background:transparent;color:#fff;font-size:15px;}
.house-game-bets .hb-submit {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 20px;border:0;border-radius:10px;background:#e2c68e;color:#201b13;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer;}
.house-game-bets .hb-submit:disabled {opacity:.45;cursor:default;}
.house-game-bets .hb-footer {margin-top:8px;color:#aeb7b4;font-size:10px;}
.house-game-bets .hb-footer>span {display:flex;align-items:center;gap:4px;}
.house-game-bets .hb-footer button {border:0;background:none;color:#c6cecb;font-size:10px;padding:8px;cursor:pointer;}
.house-game-bets .hb-hint,.house-game-bets .hb-rules {font-size:10px;line-height:1.6;color:#aeb6b3;margin:8px 0 0;}
.house-game-bets .hb-paytable {display:flex;gap:4px;margin:8px 0 0;overflow-x:auto;}
.house-game-bets .hb-paytable span {flex:1;min-width:32px;text-align:center;border-radius:5px;background:#e4c78f15;color:#e5c886;padding:5px 3px;font-size:9px;}
.house-game-bets .hb-closed {padding:12px 0;color:#d4dcd8;font-size:13px;}
.house-game-bets .hb-receipt {margin:8px 0 0;color:#b9dbc7;font-size:11px;}
.house-game-bets .hb-numbers {display:flex;gap:5px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px;}
.house-game-bets .hb-numbers .hb-choice {min-width:42px;min-height:44px;padding:6px;scroll-snap-align:start;}
.house-game-bets .hb-numbers small {display:none;}
.house-game-bets .hb-red {background:#692e36;}.house-game-bets .hb-black {background:#202528;}.house-game-bets .hb-zero {background:#215b42;}
.house-game-bets .hb-extra {font-size:10px;margin-top:8px;color:#b2bdb7;}.house-game-bets .hb-extra summary {cursor:pointer;padding:4px;}.house-game-bets .hb-extra .hb-choices {margin-top:6px;}
@media(max-width:600px){
 body.hud-watch.connected-room .house-game-bets {padding:12px;width:calc(100% - 20px);}
 .house-game-bets .hb-entry{flex-wrap:wrap;}.house-game-bets .hb-chips button{width:42px;height:44px;}.house-game-bets .hb-chips{flex:1;}.house-game-bets .hb-amount{flex:1;}.house-game-bets .hb-submit{width:100%;}
 .house-game-bets .hb-choices{gap:5px;}.house-game-bets .hb-choice{padding:7px 4px;}.house-game-bets .hb-choice strong{font-size:10px;}.house-game-bets .hb-choice small{font-size:9px;}
}
