:root{--game-shell-max:1480px;--game-shell-gutter:12px}
.common-game-header{height:64px!important;min-height:64px;width:100%;margin:0 0 16px;padding:10px 14px;display:flex;align-items:center;gap:20px;border:1px solid #292817;border-radius:16px;background:rgba(8,9,12,.96);box-shadow:0 16px 55px #0008;color:#f5f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.common-game-title{flex:0 0 auto;color:#fff;text-decoration:none;font-size:18px;font-weight:900;letter-spacing:-.02em}
.common-game-nav{display:flex;align-items:center;gap:4px}
.common-game-nav a{min-height:44px;padding:9px 12px;border-radius:9px;color:#7f8797;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap;display:flex;align-items:center;justify-content:center}
.common-game-nav a:hover,.common-game-nav a.active{background:#24200d;color:#ffd62d}
.common-game-actions{min-width:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px}
.common-game-header>.top-actions,.common-game-header>.header-actions{min-width:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px}
.common-game-header .live-pill{height:38px;border:1px solid #2c313b;border-radius:10px;background:#11141a;color:#d7dbe3;display:flex;align-items:center;gap:7px;padding:0 10px;font-size:9px;font-weight:850}
.common-game-header .live-pill i{width:7px;height:7px;margin:0;border-radius:50%;background:#32e89a;box-shadow:0 0 10px #32e89a}
.common-game-header .balance-pill{height:38px;border:1px solid #30343d;border-radius:10px;background:#11141a;display:flex;align-items:center;gap:7px;padding:0 11px;color:#757e8d;font-size:9px;white-space:nowrap}
.common-game-header .balance-pill b{color:#f5f6f8;font-size:12px}
.common-game-header .toolbar-button,.common-game-header .toolbar-square,.common-game-header .round-icon,.common-game-header .history-button,.common-game-header .promo-button{height:38px;border-radius:10px}
.common-game-header .promo-trigger,.common-game-header .board-icon-btn,.common-game-header .board-history-btn{height:38px;border-radius:10px}
.common-game-header .game-head-tools{display:flex;gap:7px}
.common-game-header .board-icon-btn{width:38px}
.main:has(>.common-game-header)>.topbar{display:none}
.common-game-header .toolbar-square,.common-game-header .round-icon{width:38px}
.common-game-header .player-pill{display:none}
.bubbles-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:18px;padding:4px;border-radius:11px;background:#080a0f}
.bubbles-mode-tabs button{height:38px;border:0;border-radius:8px;background:transparent;color:#687386;font-size:11px;font-weight:850;cursor:pointer}
.bubbles-mode-tabs button.active{border:1px solid #68540b;background:#24200b;color:#ffd62d}
@media(max-width:900px){.common-game-header{height:auto!important;flex-wrap:wrap;gap:8px}.common-game-nav{order:3;width:100%;overflow-x:auto}.common-game-nav a{flex:1;text-align:center}.common-game-actions{gap:5px}.common-game-header .live-pill{display:none}}
@media(max-width:560px){.common-game-header{margin-bottom:8px;padding:8px}.common-game-title{font-size:16px}.common-game-actions{max-width:calc(100% - 85px)}.common-game-header .balance-pill{display:none}.common-game-nav a{padding:8px 7px;font-size:10px}}
@media(min-width:851px){.shell:has(>.common-game-header){padding:var(--game-shell-gutter)}.shell:has(>.common-game-header)>.common-game-header,.shell:has(>.common-game-header)>.game-layout{max-width:var(--game-shell-max)}.bubbles-app:has(>.common-game-header){width:min(var(--game-shell-max),calc(100% - 24px));margin:var(--game-shell-gutter) auto 28px;min-height:calc(100vh - 24px)}}
