/* BOZOKO Brand & Fit 0.9.0 — additive UI layer. Gameplay assets are unchanged. */
:root{--bz-night:#0A0E29;--bz-navy:#2D325A;--bz-blue:#304B78;--bz-teal:#2494A2;--bz-mint:#56BDA2;--bz-gold:#DBB13B;--bz-paper:#F1F5FC;--bz-muted:#ADBBD0;--bz-panel:#151F36;--bz-line:#a9c4e426;--bz-font:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--bz-radius:16px}
.bz-ready body{font-family:var(--bz-font);-webkit-font-smoothing:antialiased;background:radial-gradient(ellipse at 0 0,#1a3446 0,transparent 45%),var(--bz-night);color:var(--bz-paper)}
.bz-ready button,.bz-ready input,.bz-ready select{font-family:inherit}
.bz-ready :is(button,a,input,select,summary):focus-visible{outline:3px solid var(--bz-gold);outline-offset:3px}
.bz-ready .bz-brand{display:inline-flex!important;align-items:center!important;flex-shrink:0;gap:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:44px;line-height:1;letter-spacing:0!important}
.bz-ready .bz-logo{display:block!important;width:151px!important;height:auto!important;max-height:40px;object-fit:contain;filter:none!important;transform:none!important}
.bz-tools{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;position:relative}
.bz-tool{display:inline-flex;justify-content:center;align-items:center;border:1px solid var(--bz-line);background:#ffffff06;color:var(--bz-paper);border-radius:10px;padding:8px 12px;min-height:38px;line-height:1.25;font-size:12px!important;letter-spacing:0;font-weight:650;cursor:pointer;white-space:nowrap;box-shadow:none}
.bz-tool:hover{background:#ffffff10}.bz-tool[aria-pressed=true]{color:var(--bz-gold);border-color:#dbb13b77}
.bz-notice{position:absolute;right:0;top:100%;z-index:99;width:260px;padding:14px;background:var(--bz-panel);border:1px solid var(--bz-line);border-radius:12px;color:var(--bz-paper);font-size:13px;line-height:1.5}
.bz-info{background:var(--bz-panel)!important;color:var(--bz-paper)!important;border:1px solid #758daf66!important;border-radius:20px!important;padding:22px!important;width:min(720px,calc(100% - 32px))!important;max-width:720px!important;max-height:calc(100dvh - 32px)!important;box-shadow:0 20px 100px #0008;overflow:auto}
.bz-info::backdrop{background:#04091ecc;backdrop-filter:blur(5px)}
.bz-info-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.bz-info-head h2{font-size:25px!important;line-height:1.2;color:var(--bz-paper)!important;letter-spacing:-.03em}.bz-info-content>p,.bz-info-foot{font-size:14px!important;line-height:1.65!important;color:var(--bz-muted)!important;margin:12px 0!important}
.bz-info .sidebar{display:grid!important;grid-template-columns:1fr!important;width:auto!important;gap:14px!important}.bz-info :is(.side-card,.info-card){padding:16px!important}.bz-info :is(.bottom-notes,.save-option){display:flex;flex-wrap:wrap;gap:14px}.bz-info .privacy-note{font-size:12px!important}.bz-info .howto{display:block!important;margin:0;padding:16px}.bz-info .mini-demo{display:none}.bz-info .info-card h2{font-size:20px!important}.bz-info-foot{border-top:1px solid var(--bz-line);padding-top:14px;font-size:12px!important}.bz-home-tools{display:none}
.bz-ready :is(.masthead,.topbar,.top){border-bottom-color:var(--bz-line)}
.bz-ready :is(.shell>.topbar,.app>.masthead){height:auto;min-height:62px;gap:14px;padding:8px 0}.bz-ready :is(.top-actions,.utility){align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.bz-ready .game-nav{display:flex;align-items:center;gap:20px;min-height:38px;padding:0;font-size:12px}.bz-ready .game-nav a{padding:9px 0 7px;min-height:36px;color:var(--bz-muted)}.bz-ready .game-nav a[aria-current]{color:var(--bz-gold);border-bottom:2px solid var(--bz-gold)}.bz-ready .game-nav .bz-all-games{color:var(--bz-paper);font-weight:700}
.bz-ready :is(.app,.shell){max-width:1440px}.bz-ready :is(.shell>footer,.app>.footer){min-height:36px;padding:10px 0;margin-top:12px;font-size:11px;line-height:1.5;border-top:1px solid var(--bz-line)}
.bz-ready :is(.layout){grid-template-columns:minmax(0,1fr)}
.bz-ready:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero{padding:12px 0 18px}.bz-ready:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero h1{font-size:44px;letter-spacing:-.05em;margin:4px 0;line-height:1.08}.bz-ready .hero-note{font-size:12px}
.bz-ready dialog{max-height:calc(100dvh - 28px);overflow:auto}
/* Shared compact chrome only when the browser has usable landscape space. */
.bz-compact :is(.shell,.app){padding-left:24px;padding-right:24px}
.bz-compact :is(.shell>.topbar,.app>.masthead){min-height:54px;padding:6px 0}
.bz-compact :is(.topbar,.masthead) :is(.button,.icon-button){min-height:36px;padding:7px 11px;font-size:12px}
.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero{padding:8px 0 12px;min-height:60px}
.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero h1{font-size:32px;line-height:1.1;margin:0}
.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero .eyebrow{display:none}
.bz-compact :is(.hero-note,.hero-number){display:none!important}
.bz-compact :is(.hero-lead,.tagline,.hero .lead){font-size:13px;margin:4px 0 0;line-height:1.35}
.bz-compact :is(.shell>footer,.app>.footer){padding:6px 0;margin-top:7px;font-size:10px;min-height:28px}
/* High Five: dice + banking left; full two-column scorecard right. No page scaling. */
.bz-compact[data-bz-page="roll-riot"] .play-panel{display:grid;grid-template-columns:238px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:0 20px;padding:0 16px 10px;border-radius:18px}
.bz-compact[data-bz-page="roll-riot"] .roundbar{grid-column:1/-1;min-height:36px;gap:14px}.bz-compact[data-bz-page="roll-riot"] .roundbar p strong{font-size:16px}
.bz-compact[data-bz-page="roll-riot"] .dice-area{grid-column:1;grid-row:2/4;display:flex;flex-direction:column;gap:14px;justify-content:flex-start;padding:16px 0 4px;align-self:start}
.bz-compact[data-bz-page="roll-riot"] .dice-tray{flex:none;width:100%}.bz-compact[data-bz-page="roll-riot"] .dice{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px 12px;max-width:234px;margin:auto}
.bz-compact[data-bz-page="roll-riot"] .die{grid-column:span 2;width:100%;max-width:70px}.bz-compact[data-bz-page="roll-riot"] .die:nth-child(4){grid-column:2/4}.bz-compact[data-bz-page="roll-riot"] .die:nth-child(5){grid-column:4/6}
.bz-compact[data-bz-page="roll-riot"] .die-face{gap:4px;padding:11px;border-radius:13px}.bz-compact[data-bz-page="roll-riot"] .die-caption{font-size:9px;padding:4px;margin-top:8px}.bz-compact[data-bz-page="roll-riot"] .hold-note{font-size:12px;line-height:1.45;margin-top:10px}
.bz-compact[data-bz-page="roll-riot"] .roll-controls{width:100%;max-width:234px}.bz-compact[data-bz-page="roll-riot"] .roll-button{min-height:44px;font-size:16px}.bz-compact[data-bz-page="roll-riot"] .roll-controls p{font-size:12px;min-height:0;margin-top:8px;line-height:1.4}
.bz-compact[data-bz-page="roll-riot"] .scorecard-head{grid-column:2;grid-row:2;margin:9px 0 7px;align-items:center}.bz-compact[data-bz-page="roll-riot"] .scorecard-head h2{font-size:17px}.bz-compact[data-bz-page="roll-riot"] .scorecard-head p{display:none}.bz-compact[data-bz-page="roll-riot"] .legend{font-size:11px}
.bz-compact[data-bz-page="roll-riot"] .score-columns{grid-column:2;grid-row:3;gap:12px}.bz-compact[data-bz-page="roll-riot"] .score-section{border-radius:12px}.bz-compact[data-bz-page="roll-riot"] .section-head{padding:8px 12px}.bz-compact[data-bz-page="roll-riot"] .section-head h3{font-size:14px;margin:0}.bz-compact[data-bz-page="roll-riot"] .section-head .eyebrow{display:none}.bz-compact[data-bz-page="roll-riot"] .column-labels{display:none}
.bz-compact[data-bz-page="roll-riot"] .score-row{min-height:clamp(34px,calc((100dvh - 310px)/8),46px);height:clamp(34px,calc((100dvh - 310px)/8),46px);padding:4px 10px;gap:8px}.bz-compact[data-bz-page="roll-riot"] .row-copy strong{font-size:13px}.bz-compact[data-bz-page="roll-riot"] .row-copy small{display:none}.bz-compact[data-bz-page="roll-riot"] .row-icon{width:25px;height:25px;font-size:11px}.bz-compact[data-bz-page="roll-riot"] .row-icon.mini-face{width:23px;height:23px;padding:4px;gap:2px}.bz-compact[data-bz-page="roll-riot"] .score-value{font-size:17px;padding:2px 5px;min-width:36px}
.bz-compact[data-bz-page="roll-riot"] .section-subtotal{padding:6px 0;margin:0 11px;font-size:12px}.bz-compact[data-bz-page="roll-riot"] .section-subtotal strong{font-size:16px}.bz-compact[data-bz-page="roll-riot"] .combo-subtotal{margin-top:auto;padding:8px 0}.bz-compact[data-bz-page="roll-riot"] .bonus-box{margin:0 9px 9px;padding:7px 9px}.bz-compact[data-bz-page="roll-riot"] .bonus-title{font-size:11px}.bz-compact[data-bz-page="roll-riot"] .bonus-box progress{margin:6px 0;height:5px}.bz-compact[data-bz-page="roll-riot"] .bonus-box p{font-size:10px;line-height:1.3}
.bz-compact[data-bz-page="roll-riot"] .grand-total{grid-column:2;grid-row:4;margin:8px 0 0;padding:8px 13px;min-height:48px;gap:12px}.bz-compact[data-bz-page="roll-riot"] .grand-total p{font-size:10px;margin:0}.bz-compact[data-bz-page="roll-riot"] .total-number strong{font-size:29px}.bz-compact[data-bz-page="roll-riot"] .total-expression{font-size:14px}
.bz-compact[data-bz-page="roll-riot"] .selection-bar{grid-column:1;grid-row:4/6;flex-direction:column;align-items:stretch;justify-content:center;padding:10px;margin:8px 0 0;gap:8px}.bz-compact[data-bz-page="roll-riot"] .selection-bar p{font-size:12px;line-height:1.45;margin:3px 0 0}.bz-compact[data-bz-page="roll-riot"] .selection-bar button{min-height:40px;width:100%;min-width:0;font-size:13px}.bz-compact[data-bz-page="roll-riot"] .status{grid-column:2;grid-row:5;font-size:11px;line-height:1.4;min-height:0;margin:5px 0 0;padding:0}.bz-compact[data-bz-page="roll-riot"] .finished-banner{grid-column:1/-1;margin-top:8px;padding:10px}
/* Bolt Rush: preserve original nut artwork. Bench left, all actions right. */
.bz-compact[data-bz-page="bolt-rush"] .stage{display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-template-rows:auto auto auto 1fr;border-radius:18px;padding:0 14px 14px;gap:0 16px}
.bz-compact[data-bz-page="bolt-rush"] .stage-head{grid-column:1/-1;padding:10px 0;min-height:54px}.bz-compact[data-bz-page="bolt-rush"] .level-number{width:34px;height:36px;font-size:15px;border-radius:10px}.bz-compact[data-bz-page="bolt-rush"] .level-title h2{font-size:18px}.bz-compact[data-bz-page="bolt-rush"] .stage-head .eyebrow{font-size:9px}.bz-compact[data-bz-page="bolt-rush"] .small-button{min-height:36px;padding:7px 10px}.bz-compact[data-bz-page="bolt-rush"] #focusButton{display:none}
.bz-compact[data-bz-page="bolt-rush"] .bench-wrap{grid-column:1;grid-row:2/5;margin:0;padding:9px 10px 7px;min-width:0}.bz-compact[data-bz-page="bolt-rush"] .bolt-board{display:grid;grid-template-columns:repeat(var(--bz-bolt-cols,5),minmax(0,1fr));grid-template-rows:repeat(var(--bz-bolt-rows,2),minmax(0,1fr));height:clamp(240px,calc(100dvh - 270px),570px);min-height:0;gap:7px 3px;padding:0 3px 0;align-items:stretch}
.bz-compact[data-bz-page="bolt-rush"] .bolt{width:100%;max-width:none;height:100%;min-height:0;padding:0;display:flex;flex-direction:column;align-items:center}.bz-compact[data-bz-page="bolt-rush"] .bolt>svg{height:calc(100% - 26px);width:100%;min-height:0;flex:1}.bz-compact[data-bz-page="bolt-rush"] .bolt-number{height:23px;line-height:21px;font-size:11px;flex-shrink:0}.bz-compact[data-bz-page="bolt-rush"] .bench-top,.bz-compact[data-bz-page="bolt-rush"] .bench-bottom{font-size:9px;line-height:1.3;padding:4px 0}
.bz-compact[data-bz-page="bolt-rush"] .difficulty{grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr 1fr;margin:0 0 12px;padding:4px;gap:4px}.bz-compact[data-bz-page="bolt-rush"] .difficulty button{min-height:36px;padding:7px}
.bz-compact[data-bz-page="bolt-rush"] .score-strip{grid-column:2;grid-row:3;display:grid;grid-template-columns:1fr 1fr;padding:9px 0;gap:12px 0;border:1px solid var(--bz-line);border-radius:12px}.bz-compact[data-bz-page="bolt-rush"] .score-strip>div:nth-child(2n){border:0}.bz-compact[data-bz-page="bolt-rush"] .score-strip strong{font-size:24px}.bz-compact[data-bz-page="bolt-rush"] .score-strip span{font-size:9px}
.bz-compact[data-bz-page="bolt-rush"] .control-zone{grid-column:2;grid-row:4;padding:8px 0 0}.bz-compact[data-bz-page="bolt-rush"] .status{font-size:13px;line-height:1.5;min-height:64px;margin:0 0 8px;padding:0}.bz-compact[data-bz-page="bolt-rush"] .game-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bz-compact[data-bz-page="bolt-rush"] .game-actions .button{min-width:0;padding:9px;min-height:42px;font-size:12px}.bz-compact[data-bz-page="bolt-rush"] .finish-banner{flex-direction:column;align-items:stretch;margin-top:8px;padding-top:8px;font-size:12px}
/* Splash Run: large square canvas and a compact control console. */
.bz-compact[data-bz-page="splash-run"] .arena{display:grid;grid-template-columns:minmax(0,1fr) 266px;grid-template-rows:auto auto auto auto auto 1fr;padding:0 14px 14px;gap:0 18px;border-radius:18px}
.bz-compact[data-bz-page="splash-run"] .arena-heading{grid-column:1/-1;min-height:54px;padding:10px 0;gap:10px}.bz-compact[data-bz-page="splash-run"] .arena-heading h2{font-size:18px;margin:0}.bz-compact[data-bz-page="splash-run"] .level-badge{width:34px;height:36px;border-radius:10px;font-size:15px}.bz-compact[data-bz-page="splash-run"] .arena-heading .button{min-height:36px;padding:6px 12px}
.bz-compact[data-bz-page="splash-run"] .board-wrap{grid-column:1;grid-row:2/7;margin:0;padding:8px 12px;display:flex;flex-direction:column;justify-content:center}.bz-compact[data-bz-page="splash-run"] .paintgrid{width:min(100%,calc(100dvh - 275px));max-width:560px;gap:2px;padding:6px}.bz-compact[data-bz-page="splash-run"] .board-meta{padding:0 0 6px;font-size:9px}.bz-compact[data-bz-page="splash-run"] .board-footer{margin-top:7px;padding-top:6px;font-size:9px}.bz-compact[data-bz-page="splash-run"] .paintgrid .cell{min-height:0}
.bz-compact[data-bz-page="splash-run"] .difficulty{grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr 1fr;margin:0 0 10px;padding:4px;gap:4px}.bz-compact[data-bz-page="splash-run"] .difficulty button{min-height:34px;padding:6px;font-size:12px}
.bz-compact[data-bz-page="splash-run"] .hud{grid-column:2;grid-row:3;grid-template-columns:1fr 1fr;gap:7px 0;padding:6px;border:1px solid var(--bz-line);border-radius:12px}.bz-compact[data-bz-page="splash-run"] .hud>div:nth-child(2n){border:0}.bz-compact[data-bz-page="splash-run"] .hud span{font-size:9px}.bz-compact[data-bz-page="splash-run"] .hud strong{font-size:22px;line-height:1.3}
.bz-compact[data-bz-page="splash-run"] .coverage-wrap{grid-column:2;grid-row:4;margin:9px 0 0;padding:0}.bz-compact[data-bz-page="splash-run"] .message{grid-column:2;grid-row:5;min-height:0;font-size:12px;line-height:1.5;padding:10px 0;margin:0;text-align:left}
.bz-compact[data-bz-page="splash-run"] .play-controls{grid-column:2;grid-row:6;padding:0;gap:12px;flex-direction:column;align-items:stretch;justify-content:flex-start}.bz-compact[data-bz-page="splash-run"] .dpad{justify-content:center;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,40px)}.bz-compact[data-bz-page="splash-run"] .utility-controls{display:flex;justify-content:space-between;gap:5px}.bz-compact[data-bz-page="splash-run"] .utility-controls .button{min-height:40px;padding:8px;font-size:12px;gap:3px}.bz-compact[data-bz-page="splash-run"] .completion-banner{grid-column:1/-1;margin-top:8px}
/* ChromaShift: preserve the current cross-change rules and its four logical colours. */
.bz-ready[data-bz-page="chromashift"] .top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-height:62px;padding:8px 0}.bz-ready[data-bz-page="chromashift"] .top>.release{display:none}.bz-ready[data-bz-page="chromashift"] .levelrow{margin-left:auto}.bz-ready[data-bz-page="chromashift"] .shell{margin:0 auto;padding-top:0}.bz-ready[data-bz-page="chromashift"] .panel{border-radius:18px;background:linear-gradient(130deg,#1b2c41,var(--bz-panel));border:1px solid var(--bz-line)}
.bz-compact[data-bz-page="chromashift"] .panel{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:12px 20px;padding:15px 20px;margin-top:8px}.bz-compact[data-bz-page="chromashift"] .panel>h1{grid-column:1/-1;font-size:32px;line-height:1.2;margin:0;letter-spacing:-.04em}.bz-compact[data-bz-page="chromashift"] .panel>.lead{grid-column:2;grid-row:2;font-size:14px;line-height:1.6;margin:0}.bz-compact[data-bz-page="chromashift"] .hud{grid-column:2;grid-row:3;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.bz-compact[data-bz-page="chromashift"] .stat{font-size:13px;padding:12px;background:#ffffff07;border:1px solid var(--bz-line);border-radius:10px}.bz-compact[data-bz-page="chromashift"] .game{grid-column:1;grid-row:2/6;display:block;min-height:0;padding:0;margin:0}.bz-compact[data-bz-page="chromashift"] .chromagrid{width:min(100%,calc(100dvh - 265px));max-width:480px;margin:8px auto;gap:6px}.bz-compact[data-bz-page="chromashift"] .ctile{width:100%;height:auto;aspect-ratio:1;font-size:24px;border-radius:12px}.bz-compact[data-bz-page="chromashift"] .colour-cycle{font-size:11px;margin:0;gap:6px}.bz-compact[data-bz-page="chromashift"] .colour-step{padding:4px 8px}.bz-compact[data-bz-page="chromashift"] .cycle-note{font-size:11px;margin:5px 0 8px}.bz-compact[data-bz-page="chromashift"] .bz-chroma-controls{grid-column:2;grid-row:4;display:flex;flex-direction:column;align-items:stretch;margin:0;gap:10px}.bz-compact[data-bz-page="chromashift"] .bz-chroma-controls .btn{font-size:13px;min-height:44px}.bz-compact[data-bz-page="chromashift"] .notice{grid-column:2;grid-row:5;min-height:35px;font-size:13px;line-height:1.5;margin:0}.bz-compact[data-bz-page="chromashift"] .footer{font-size:10px;margin:7px 0;padding:6px 0}
/* Main site and original eight solo games. */
.bz-ready[data-bz-page="home"] .site-header{background:var(--bz-night);border-bottom:1px solid var(--bz-line)}.bz-ready[data-bz-page="home"] .header-inner{max-width:1440px;min-height:66px;padding:10px 24px}.bz-ready[data-bz-page="home"] .main-nav a{font-weight:650;font-size:13px}.bz-ready[data-bz-page="home"] .hr-home .hero h1{letter-spacing:-.05em}.bz-ready[data-bz-page="home"] .button{border-radius:12px}.bz-ready[data-bz-page="home"] .hr-card{border-radius:var(--bz-radius)}
.bz-compact[data-bz-page="home"].bz-playing .bz-home-tools{display:flex}.bz-compact[data-bz-page="home"].bz-playing .main-nav{display:none}.bz-compact[data-bz-page="home"].bz-playing .header-inner{min-height:54px;padding-top:6px;padding-bottom:6px;gap:16px}.bz-compact[data-bz-page="home"].bz-playing .profile-toggle{width:38px;height:38px;margin-left:0}.bz-compact[data-bz-page="home"].bz-playing .bz-home-tools{margin-left:auto}
.bz-compact[data-bz-page="home"].bz-playing .bz-play-shell{padding:8px 24px;min-height:0;max-width:1320px;position:relative}.bz-compact[data-bz-page="home"].bz-playing .bz-play-shell>.back-link{display:inline-flex;min-height:30px;margin:0;font-size:12px;padding:4px 0}.bz-compact[data-bz-page="home"].bz-playing .run-head{max-width:1200px;margin:0 auto 8px;min-height:46px}.bz-compact[data-bz-page="home"].bz-playing .run-title h1{font-size:28px;line-height:1.2}.bz-compact[data-bz-page="home"].bz-playing .run-title .eyebrow{font-size:9px;margin-bottom:1px}.bz-compact[data-bz-page="home"].bz-playing .run-title>.icon{width:30px;height:30px}.bz-compact[data-bz-page="home"].bz-playing .run-controls .button{min-height:36px;padding:6px 12px}.bz-compact[data-bz-page="home"].bz-playing .game-arena{max-width:1200px;border-radius:16px}.bz-compact[data-bz-page="home"].bz-playing .run-stats{padding:9px 18px;min-height:40px}.bz-compact[data-bz-page="home"].bz-playing .run-time{font-size:20px}.bz-compact[data-bz-page="home"].bz-playing .game-stage{padding:14px 20px;min-height:0}.bz-compact[data-bz-page="home"].bz-playing .game-live{min-height:0;padding:0 14px 8px;font-size:12px;line-height:1.4}.bz-compact[data-bz-page="home"].bz-playing .game-live:empty{padding:0;min-height:4px}.bz-compact[data-bz-page="home"].bz-playing .run-foot{max-width:1200px;margin:6px auto 0}.bz-compact[data-bz-page="home"].bz-playing .run-foot p{font-size:10px;line-height:1.3}.bz-compact[data-bz-page="home"].bz-playing .site-footer{display:none}.bz-compact[data-bz-page="home"].bz-playing :is(#bozoko-together-entry,.bozoko-together-entry){display:none}
.bz-compact[data-bz-page="home"] :is(.engine-maze,.engine-slide,.engine-grid,.engine-star,.engine-echo){display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:12px 24px}
.bz-compact[data-bz-page="home"] :is(.engine-maze,.engine-slide,.engine-grid,.engine-star,.engine-echo)>.game-instructions{grid-column:2;margin:0;font-size:13px;line-height:1.65;text-align:left}
.bz-compact[data-bz-page="home"] :is(.maze-board,.slide-board,.sudoku-board,.star-board,.echo-board){grid-column:1;grid-row:1/7;width:min(100%,calc(100dvh - 240px));max-width:500px;margin:0 auto}
.bz-compact[data-bz-page="home"] :is(.direction-controls,.number-pad,.goal-order,.echo-message,.countdown){grid-column:2;margin:0 auto}.bz-compact[data-bz-page="home"] :is(.engine-grid,.engine-echo)>.button{grid-column:2;min-height:44px;margin:0;font-size:12px}
.bz-compact[data-bz-page="home"] .direction-controls{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,44px);gap:7px}.bz-compact[data-bz-page="home"] .number-pad{flex-wrap:wrap;gap:7px}.bz-compact[data-bz-page="home"] .number-key{width:43px;min-height:43px}.bz-compact[data-bz-page="home"] .goal-order{font-size:13px}.bz-compact[data-bz-page="home"] .countdown{min-height:40px;font-size:38px}.bz-compact[data-bz-page="home"] .countdown-small{font-size:20px}.bz-compact[data-bz-page="home"] .echo-message{font-size:21px;line-height:1.4;min-height:50px}.bz-compact[data-bz-page="home"] .echo-board{width:min(100%,calc((100dvh - 245px)*1.15));max-width:580px}.bz-compact[data-bz-page="home"] .star-cell{padding:8px}.bz-compact[data-bz-page="home"] .maze-dot{font-size:24px}
.bz-compact[data-bz-page="home"] .engine-pairs{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px 24px;align-items:center}.bz-compact[data-bz-page="home"] .engine-pairs>.game-instructions{grid-column:2;font-size:14px;line-height:1.6;text-align:left;margin:0}.bz-compact[data-bz-page="home"] :is(.pair-board,.pairs-board){grid-column:1;grid-row:1/4;width:min(100%,calc((100dvh - 250px)*var(--bz-pair-cols,4)/var(--bz-pair-rows,4)));max-width:580px;margin:0 auto;gap:8px}.bz-compact[data-bz-page="home"] .pair-card{aspect-ratio:1;padding:8px;border-radius:12px;min-width:0}.bz-compact[data-bz-page="home"] .pair-card .icon{width:40px;height:40px;max-width:90%}
.bz-compact[data-bz-page="home"] .engine-word{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.3fr);gap:10px 24px;align-items:center}.bz-compact[data-bz-page="home"] .engine-word>.word-board{grid-column:1;grid-row:1/8;margin:auto;max-width:320px;width:min(100%,calc((100dvh - 260px)*.75));gap:5px}.bz-compact[data-bz-page="home"] .engine-word>*:not(.word-board){grid-column:2;margin:0 auto}.bz-compact[data-bz-page="home"] .engine-word .word-message{min-height:34px;line-height:1.5;font-size:13px}.bz-compact[data-bz-page="home"] .engine-word .word-clue{font-size:14px;min-height:24px}.bz-compact[data-bz-page="home"] .word-keyboard{width:100%;gap:7px}.bz-compact[data-bz-page="home"] .word-key{height:42px}.bz-compact[data-bz-page="home"] .engine-word .button{min-height:38px;font-size:12px}.bz-compact[data-bz-page="home"] .engine-word .word-legend{font-size:11px;gap:15px}.bz-compact[data-bz-page="home"] .engine-word>.game-instructions{font-size:12px;line-height:1.5}.bz-compact[data-bz-page="home"] .letter-cell{font-size:24px;min-width:0;height:auto;aspect-ratio:1}
.bz-compact[data-bz-page="home"] .engine-maths{max-width:100%;display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:12px 26px}.bz-compact[data-bz-page="home"] .engine-maths .maths-area{grid-column:1;grid-row:1/4;width:100%;max-width:680px;margin:auto}.bz-compact[data-bz-page="home"] .engine-maths>.game-instructions{grid-column:2;margin:0;font-size:14px;text-align:left}.bz-compact[data-bz-page="home"] .equation{font-size:44px;margin:10px 0 16px;line-height:1.2}.bz-compact[data-bz-page="home"] .maths-option{min-height:72px;padding:15px}.bz-compact[data-bz-page="home"] .maths-feedback{min-height:28px;margin:10px 0 0}
.bz-compact[data-bz-page="home"].bz-setup .page-shell{padding:12px 24px;min-height:0}.bz-compact[data-bz-page="home"].bz-setup .setup-card{padding:20px;max-width:1000px}.bz-compact[data-bz-page="home"].bz-setup .setup-icon{width:42px;height:42px;margin-bottom:5px}.bz-compact[data-bz-page="home"].bz-setup .setup-card h1{font-size:32px}.bz-compact[data-bz-page="home"].bz-setup .setup-card>.page-lead{font-size:14px;margin:7px auto 12px;max-width:760px}.bz-compact[data-bz-page="home"].bz-setup .setup-section{margin:12px 0}.bz-compact[data-bz-page="home"].bz-setup .setup-section h2{font-size:15px;margin:8px 0}.bz-compact[data-bz-page="home"].bz-setup .mode-card{padding:10px;min-height:0}.bz-compact[data-bz-page="home"].bz-setup .mode-card>.icon{width:26px;height:26px}.bz-compact[data-bz-page="home"].bz-setup .setup-card>.button{margin-top:10px;min-height:44px;padding:10px 24px}.bz-compact[data-bz-page="home"].bz-setup .setup-note{margin-top:10px;font-size:11px}
/* Together: use BOZOKO's dark shell while keeping each player's distinct tokens. */
.bz-ready[data-bz-page="together"]{--paper:#0A0E29;--ink:#F1F5FC;--muted:#ADBBD0;--border:#a9c4e426;font-family:var(--bz-font);color-scheme:dark}
.bz-ready[data-bz-page="together"] .topbar-inner{max-width:1440px;padding:9px 24px;min-height:60px}.bz-ready[data-bz-page="together"] .topbar nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}.bz-ready[data-bz-page="together"] .beta{font-size:10px;letter-spacing:.12em}.bz-ready[data-bz-page="together"] #app{max-width:1400px;padding:20px 24px 30px;min-height:0}
.bz-ready[data-bz-page="together"] :is(.game-card,.setup-card,.game-stage,.results,.score-seat,.board-cover){background:linear-gradient(135deg,#1e2e45,var(--bz-panel));border-color:var(--bz-line);border-radius:16px;color:var(--bz-paper)}
.bz-ready[data-bz-page="together"] :is(.section-heading .eyebrow,.setup-intro>.eyebrow,.setup-card>.eyebrow,.mini-label,.match-heading .eyebrow,.results>.eyebrow){color:var(--bz-mint)}.bz-ready[data-bz-page="together"] :is(.small-tag,.seat-chip){background:#ffffff09;color:var(--bz-muted)}.bz-ready[data-bz-page="together"] :is(.genre,.game-card>p:not(.mini-label),.rules,.small-print){color:var(--bz-muted)}
.bz-ready[data-bz-page="together"] :is(.choice,.secondary){background:#26354f;border-color:#819ab644;color:var(--bz-paper)}.bz-ready[data-bz-page="together"] .choice[aria-pressed=true]{background:var(--bz-mint);color:var(--bz-night);border-color:var(--bz-mint)}.bz-ready[data-bz-page="together"] .primary{background:var(--bz-gold);color:var(--bz-night);box-shadow:0 2px 0 #937122}.bz-ready[data-bz-page="together"] .card-button{background:var(--bz-gold);color:var(--bz-night)}.bz-ready[data-bz-page="together"] .together-note{background:#14352f;border-color:#56bda233}.bz-ready[data-bz-page="together"] .together-note p{color:#bad9ce}
.bz-ready[data-bz-page="together"] :is(.question-card,.quiz-card){background:#101a2e}.bz-ready[data-bz-page="together"] :is(.answer,.quiz-answer){background:#23344c;color:var(--bz-paper);border-color:#829fb443}.bz-ready[data-bz-page="together"] .answer small{color:#b7cbde}.bz-ready[data-bz-page="together"] .quiz-answer small{background:#0a0e29;color:var(--bz-paper)}.bz-ready[data-bz-page="together"] :is(.answer,.quiz-answer).correct{background:#1b4c3b;color:#e2f8ef;border-color:var(--bz-mint)}.bz-ready[data-bz-page="together"] :is(.answer,.quiz-answer).wrong{background:#594235;color:#fff1da;border-color:var(--bz-gold)}.bz-ready[data-bz-page="together"] .quiz-answer.removed-answer{background:#0e192b;color:#a8bcd1}.bz-ready[data-bz-page="together"] :is(.quiz-stop,.column-button){background:#23354e;color:var(--bz-paper);border-color:#abcbe433}.bz-ready[data-bz-page="together"] .quiz-stop.current{color:var(--bz-gold);background:#0a0e29}.bz-ready[data-bz-page="together"] .quiz-stop.complete{background:#23473f;color:#a4edd4}.bz-ready[data-bz-page="together"] .line-board{background:#263c60;border-color:#587297}.bz-ready[data-bz-page="together"] .line-cell:not(.filled){background:#111a2e}.bz-ready[data-bz-page="together"] .dot{background:#d9e7fa}.bz-ready[data-bz-page="together"] .edge:after{background:#486180}.bz-ready[data-bz-page="together"] .edge.taken:after{background:var(--player)}.bz-ready[data-bz-page="together"] .dot-box:not(.claimed){background:#1c2b43}.bz-ready[data-bz-page="together"] .site-footer{background:#0a0e29;color:var(--bz-muted);border-top:1px solid var(--bz-line);padding:12px 24px}.bz-ready[data-bz-page="together"] dialog{background:var(--bz-panel);color:var(--bz-paper);border:1px solid var(--bz-line)}.bz-ready[data-bz-page="together"] .modal-body>p:not(.eyebrow){color:var(--bz-muted)}.bz-ready[data-bz-page="together"] .quiz-theme-tags span{background:#19372f;color:#c6eadc;border-color:#56bda255}.bz-ready[data-bz-page="together"] .quiz-answer:hover:not(:disabled){background:#2c4561}.bz-ready[data-bz-page="together"] .answer:hover:not(:disabled){background:#2c4561}
.bz-compact[data-bz-page="together"].bz-playing #app{padding:8px 24px 10px}.bz-compact[data-bz-page="together"].bz-playing .match-heading{margin:0 0 8px;min-height:40px}.bz-compact[data-bz-page="together"].bz-playing .match-heading h1{font-size:25px;margin:0}.bz-compact[data-bz-page="together"].bz-playing .match-heading .eyebrow{font-size:9px}.bz-compact[data-bz-page="together"].bz-playing .scorebar{margin:0 0 10px;gap:8px}.bz-compact[data-bz-page="together"].bz-playing .score-seat{padding:7px 12px;min-height:48px;border-radius:12px}.bz-compact[data-bz-page="together"].bz-playing .score-seat.active{padding:6px 11px}.bz-compact[data-bz-page="together"].bz-playing .score-value{font-size:20px}.bz-compact[data-bz-page="together"].bz-playing .game-stage{padding:12px 18px;max-width:1280px}.bz-compact[data-bz-page="together"].bz-playing .turn-notice{font-size:13px;margin:0 0 9px;gap:8px}.bz-compact[data-bz-page="together"].bz-playing .feedback{font-size:13px;margin:8px auto;min-height:20px}.bz-compact[data-bz-page="together"].bz-playing .actions{margin:9px 0 0;gap:10px}.bz-compact[data-bz-page="together"].bz-playing .actions .button{min-height:40px;padding:8px 15px}.bz-compact[data-bz-page="together"].bz-playing .match-footer{font-size:10px;margin-top:8px}.bz-compact[data-bz-page="together"].bz-playing .site-footer{padding:7px 24px}.bz-compact[data-bz-page="together"].bz-playing .footer-inner{font-size:11px}
.bz-compact[data-bz-page="together"] .quiz-progress{margin:0 0 9px;max-width:100%;justify-content:center}.bz-compact[data-bz-page="together"] .quiz-stop{height:28px;width:34px;font-size:14px;border-radius:8px}.bz-compact[data-bz-page="together"] .quiz-card{padding:15px 20px;margin:0;border-radius:14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:9px 22px}.bz-compact[data-bz-page="together"] .quiz-category{grid-column:1;grid-row:1;margin:0;gap:11px}.bz-compact[data-bz-page="together"] .quiz-symbol{width:40px;height:40px;font-size:23px;border-radius:12px}.bz-compact[data-bz-page="together"] .quiz-prompt{grid-column:1;grid-row:2;font-size:21px;line-height:1.4;margin:0}.bz-compact[data-bz-page="together"] .quiz-answers{grid-column:2;grid-row:1/4;gap:9px;align-content:center}.bz-compact[data-bz-page="together"] .quiz-answer{min-height:70px;padding:12px;gap:9px}.bz-compact[data-bz-page="together"] .quiz-answer strong{font-size:14px;line-height:1.4}.bz-compact[data-bz-page="together"] .quiz-help-row{grid-column:1;grid-row:3;margin:0;align-items:center;gap:12px}.bz-compact[data-bz-page="together"] .quiz-hint{font-size:11px}.bz-compact[data-bz-page="together"] .quiz-help-row .button{padding:8px 12px;min-height:40px}.bz-compact[data-bz-page="together"] .quiz-reveal{grid-column:1/-1;grid-row:4;margin:4px 0 0;padding:10px 14px}.bz-compact[data-bz-page="together"] .reveal-fact{font-size:13px;line-height:1.5;margin-top:3px}.bz-compact[data-bz-page="together"] .reveal-result{font-size:13px}
.bz-compact[data-bz-page="together"] .pairs-board{width:min(100%,calc(100dvh - 320px));max-width:550px;gap:7px}.bz-compact[data-bz-page="together"] .pairs-board.cards-24{grid-template-columns:repeat(6,1fr);width:min(100%,calc((100dvh - 320px)*1.5));max-width:670px}.bz-compact[data-bz-page="together"] .pair-card{border-radius:10px}.bz-compact[data-bz-page="together"] .pair-symbol{font-size:30px}.bz-compact[data-bz-page="together"] .card-back{font-size:28px}
.bz-compact[data-bz-page="together"] .dots-board{width:min(100%,calc(100dvh - 310px));max-width:520px;margin:0 auto}.bz-compact[data-bz-page="together"] .line-wrap{width:min(100%,calc((100dvh - 370px)*1.7));max-width:700px}.bz-compact[data-bz-page="together"] .column-controls{margin-bottom:5px}.bz-compact[data-bz-page="together"] .column-button{min-height:36px}.bz-compact[data-bz-page="together"] .line-board{padding:8px}.bz-compact[data-bz-page="together"] .line-cell{font-size:20px}.bz-compact[data-bz-page="together"] .dice-panel{margin:10px 0;gap:35px}.bz-compact[data-bz-page="together"] .die{width:110px;height:110px;font-size:96px}.bz-compact[data-bz-page="together"] .pot>strong{font-size:52px}.bz-compact[data-bz-page="together"] .question-card{max-width:860px;padding:14px;display:grid;grid-template-columns:.9fr 1fr;gap:14px}.bz-compact[data-bz-page="together"] .question-card>.eyebrow{grid-column:1;align-self:end}.bz-compact[data-bz-page="together"] .equation{grid-column:1;grid-row:2;font-size:42px;margin:0;align-self:start}.bz-compact[data-bz-page="together"] .question-card>.answer-grid{grid-column:2;grid-row:1/3}.bz-compact[data-bz-page="together"] .answer{min-height:68px;padding:12px}
.bz-compact[data-bz-page="together"].bz-setup #app{padding:10px 24px}.bz-compact[data-bz-page="together"].bz-setup .page-top{margin-bottom:10px}.bz-compact[data-bz-page="together"].bz-setup .setup-layout{gap:30px;grid-template-columns:1.1fr 1fr}.bz-compact[data-bz-page="together"].bz-setup .setup-intro{padding:0 10px}.bz-compact[data-bz-page="together"].bz-setup .large-icon{float:left;width:45px;height:45px;font-size:28px;margin:0 12px 10px 0}.bz-compact[data-bz-page="together"].bz-setup .setup-intro h1{font-size:32px;margin:4px 0 12px}.bz-compact[data-bz-page="together"].bz-setup .setup-intro .lead{font-size:14px;margin:12px 0}.bz-compact[data-bz-page="together"].bz-setup .setup-intro h2{font-size:18px}.bz-compact[data-bz-page="together"].bz-setup .rules{font-size:13px;line-height:1.5}.bz-compact[data-bz-page="together"].bz-setup .rules li{margin:8px 0}.bz-compact[data-bz-page="together"].bz-setup .quiz-theme-tags{gap:6px;margin-top:12px}.bz-compact[data-bz-page="together"].bz-setup .quiz-theme-tags span{font-size:11px;padding:4px 7px}.bz-compact[data-bz-page="together"].bz-setup .setup-card{padding:18px}.bz-compact[data-bz-page="together"].bz-setup .setup-card>h2{font-size:23px;margin-bottom:14px}.bz-compact[data-bz-page="together"].bz-setup .setting-group{margin-bottom:13px}.bz-compact[data-bz-page="together"].bz-setup .setting-group legend{margin-bottom:6px;font-size:13px}.bz-compact[data-bz-page="together"].bz-setup .choice{min-height:40px;padding:7px;font-size:12px}.bz-compact[data-bz-page="together"].bz-setup .setting-help{margin:0 0 8px;font-size:11px}.bz-compact[data-bz-page="together"].bz-setup .seat-preview{margin:10px 0}.bz-compact[data-bz-page="together"].bz-setup .small-print{font-size:10px;margin-top:9px}
/* Beacon has its own viewport-sized canvas. Keep its controls/coordinates intact. */
.bz-ready[data-bz-page="beacon-blitz"] #home .wordmark{min-height:44px;width:151px}.bz-ready[data-bz-page="beacon-blitz"] #hud .bz-logo{width:132px!important;max-height:36px}.bz-ready[data-bz-page="beacon-blitz"] .bz-beacon-tools{position:absolute;right:24px;top:22px;z-index:10}.bz-ready[data-bz-page="beacon-blitz"] .bz-beacon-tools .bz-tool{background:#0a0e29dc}.bz-ready[data-bz-page="beacon-blitz"] #home>.version{display:none}
/* On narrow screens or enlarged text, allow normal scrolling instead of clipping content. */
@media(max-width:959px){.bz-ready .bz-tools{gap:5px}.bz-ready .bz-tool{min-height:40px;font-size:11px!important;padding:8px}.bz-ready .bz-logo{width:133px!important}.bz-ready :is(.shell>.topbar,.app>.masthead){align-items:flex-start;flex-wrap:wrap;padding:10px 0}.bz-ready :is(.shell,.app){padding-left:16px;padding-right:16px}.bz-ready .game-nav{gap:16px}.bz-ready[data-bz-page="together"] .topbar-inner{flex-wrap:wrap;padding:10px 16px}.bz-ready[data-bz-page="together"] .topbar nav{width:100%;justify-content:space-between}.bz-ready[data-bz-page="together"] .beta{font-size:9px}.bz-ready[data-bz-page="home"] .header-inner{padding:10px 16px}.bz-ready[data-bz-page="chromashift"] .bz-chroma-controls{justify-content:center;display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.bz-ready[data-bz-page="chromashift"] .game{min-height:0}.bz-ready[data-bz-page="chromashift"] .chromagrid{width:100%;max-width:420px}.bz-ready[data-bz-page="chromashift"] .ctile{height:auto;aspect-ratio:1;min-height:0}}
@media(prefers-reduced-motion:reduce){.bz-ready *, .bz-ready *::before,.bz-ready *::after{scroll-behavior:auto!important}.bz-tool{transition:none}}
/* Compact viewport refinements: keep the title and its short line on one row. */
.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero{min-height:48px;padding:7px 0 10px}
.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero>div:first-child{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero h1{font-size:29px}
.bz-compact .game-nav{min-height:32px}.bz-compact .game-nav a{padding:6px 0 5px;min-height:31px}
.bz-compact[data-bz-page="roll-riot"] .dice-area{grid-row:2/6;padding-top:11px;gap:10px}
.bz-compact[data-bz-page="roll-riot"] .dice-area>.selection-bar{display:flex;width:100%;margin:0;padding:9px;gap:6px;flex:none}
.bz-compact[data-bz-page="roll-riot"] .play-panel{grid-template-rows:36px auto auto auto auto}
.bz-compact[data-bz-page="roll-riot"] .score-row{min-height:clamp(32px,calc((100dvh - 378px)/8),40px);height:clamp(32px,calc((100dvh - 378px)/8),40px)}
.bz-compact[data-bz-page="roll-riot"] .section-head{padding:7px 11px}.bz-compact[data-bz-page="roll-riot"] .grand-total{min-height:44px;padding:6px 12px}.bz-compact[data-bz-page="roll-riot"] .scorecard-head{margin:7px 0 6px}.bz-compact[data-bz-page="roll-riot"] .dice{gap:7px 12px}.bz-compact[data-bz-page="roll-riot"] .hold-note{margin-top:6px;font-size:11px}.bz-compact[data-bz-page="roll-riot"] .die{max-width:65px}.bz-compact[data-bz-page="roll-riot"] .roll-controls p{min-height:0;margin-top:6px;font-size:11px}
.bz-compact[data-bz-page="bolt-rush"] .bolt-board{height:clamp(215px,calc(100dvh - 292px),570px)}.bz-compact[data-bz-page="bolt-rush"] .score-strip{padding:7px 0;gap:7px 0}.bz-compact[data-bz-page="bolt-rush"] .status{min-height:54px;font-size:12px}
.bz-compact[data-bz-page="splash-run"] .paintgrid{width:min(100%,calc(100dvh - 309px))}.bz-compact[data-bz-page="splash-run"] .board-wrap{padding:8px 12px}.bz-compact[data-bz-page="splash-run"] .difficulty button{min-height:32px}.bz-compact[data-bz-page="splash-run"] .dpad{grid-template-rows:repeat(2,37px)}
.bz-ready[data-bz-page="home"].bz-playing .bz-home-tools{display:flex}
/* Height budget includes browser toolbars: compact play is tested at 650 and 600 CSS pixels. */
.bz-compact .bz-brand{min-height:40px}.bz-compact .bz-logo{max-height:36px}
.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero{min-height:43px;padding:5px 0 7px}.bz-compact:not([data-bz-page="home"]):not([data-bz-page="together"]):not([data-bz-page="beacon-blitz"]) .hero h1{font-size:28px}
.bz-compact :is(.shell>footer,.app>.footer) a{min-height:18px;line-height:1.2}
.bz-compact[data-bz-page="roll-riot"] .section-head{line-height:1.2;padding:6px 11px}.bz-compact[data-bz-page="roll-riot"] .section-symbol{font-size:16px;line-height:1.2}.bz-compact[data-bz-page="roll-riot"] .section-head h3{line-height:1.2}.bz-compact[data-bz-page="roll-riot"] .section-subtotal{padding:5px 0;line-height:1.2}.bz-compact[data-bz-page="roll-riot"] .section-subtotal strong{line-height:1.2}.bz-compact[data-bz-page="roll-riot"] .bonus-box{padding:6px 8px}.bz-compact[data-bz-page="roll-riot"] .bonus-title{line-height:1.2}.bz-compact[data-bz-page="roll-riot"] .bonus-box progress{height:4px;margin:5px 0}.bz-compact[data-bz-page="roll-riot"] .bonus-box p{margin:0;line-height:1.2}
.bz-compact[data-bz-page="roll-riot"] .die{max-width:60px}.bz-compact[data-bz-page="roll-riot"] .die-face{padding:10px;gap:3px}.bz-compact[data-bz-page="roll-riot"] .die-caption{line-height:10px;padding:2px 4px;margin-top:6px}.bz-compact[data-bz-page="roll-riot"] .dice-area>.selection-bar{padding:8px;gap:6px}.bz-compact[data-bz-page="roll-riot"] #selectionEyebrow{display:none}.bz-compact[data-bz-page="roll-riot"] .selection-bar p{margin:0;font-size:12px;line-height:1.3}.bz-compact[data-bz-page="roll-riot"] .grand-total{line-height:1.2}.bz-compact[data-bz-page="roll-riot"] .total-number{line-height:1.1}.bz-compact[data-bz-page="roll-riot"] .total-number strong{font-size:28px;line-height:1.1}
.bz-compact[data-bz-page="bolt-rush"] .stage-head{min-height:48px;padding:6px 0}.bz-compact[data-bz-page="bolt-rush"] .level-title h2{font-size:17px;line-height:1.15;margin-top:1px}.bz-compact[data-bz-page="bolt-rush"] .stage-head .eyebrow{line-height:1.2}.bz-compact[data-bz-page="bolt-rush"] .bolt-board{height:clamp(210px,calc(100dvh - 302px),570px)}
.bz-compact[data-bz-page="splash-run"] .arena-heading{min-height:48px;padding:6px 0}.bz-compact[data-bz-page="splash-run"] .hud{gap:5px 0;padding:5px}.bz-compact[data-bz-page="splash-run"] .hud span{line-height:1.2}.bz-compact[data-bz-page="splash-run"] .hud strong{font-size:20px;line-height:1.2}.bz-compact[data-bz-page="splash-run"] .message{padding:6px 0}.bz-compact[data-bz-page="splash-run"] .paintgrid{width:min(100%,calc(100dvh - 319px))}
.bz-compact[data-bz-page="chromashift"] .shell{padding-bottom:0}.bz-compact[data-bz-page="chromashift"] .panel{padding:12px 18px;gap:9px 18px}.bz-compact[data-bz-page="chromashift"] .panel>h1{font-size:28px}.bz-compact[data-bz-page="chromashift"] .chromagrid{width:min(100%,calc(100dvh - 315px))}
.bz-compact[data-bz-page="home"] :is(.maze-board,.slide-board,.sudoku-board,.star-board){width:min(100%,calc(100dvh - 277px))}.bz-compact[data-bz-page="home"].bz-playing .bz-home-tools{order:1}.bz-compact[data-bz-page="home"].bz-playing .profile-toggle{order:2}
.bz-interface-tag{font-size:10px;letter-spacing:.04em;color:var(--bz-muted);white-space:nowrap}.bz-ready[data-bz-page="together"] .site-footer>.bz-interface-tag{display:block;text-align:right;margin-top:3px}
.bz-compact[data-bz-page="home"] .engine-word>.word-board{width:min(100%,calc((100dvh - 277px)*var(--bz-word-cols,5)/var(--bz-word-rows,6)))}
.bz-compact[data-bz-page="roll-riot"] .status{margin:3px 0 0;line-height:1.2}.bz-compact[data-bz-page="roll-riot"] .play-panel{padding-bottom:6px}.bz-compact[data-bz-page="roll-riot"] .scorecard-head{margin:5px 0}.bz-compact[data-bz-page="roll-riot"] .roll-controls p{display:none}
.bz-ready[data-bz-page="together"] :is(.equation,.pot>strong,.solo-result-score,.result-title){color:var(--bz-paper)}.bz-ready[data-bz-page="together"] .solo-result-score strong{color:var(--bz-gold)}.bz-ready[data-bz-page="together"] .card-button:hover{color:var(--bz-paper)}
@media(min-width:960px) and (min-height:500px) and (max-height:620px){
 .bz-compact[data-bz-page="roll-riot"] .die{max-width:53px}.bz-compact[data-bz-page="roll-riot"] .dice-area{gap:8px;padding-top:7px}.bz-compact[data-bz-page="roll-riot"] .die-face{padding:8px;gap:3px}.bz-compact[data-bz-page="roll-riot"] .die-caption{font-size:8px;margin-top:5px;line-height:9px}.bz-compact[data-bz-page="roll-riot"] .dice{gap:7px}.bz-compact[data-bz-page="roll-riot"] .hold-note{font-size:11px;line-height:1.3;margin-top:4px}.bz-compact[data-bz-page="roll-riot"] .score-row{height:31px;min-height:31px}.bz-compact[data-bz-page="roll-riot"] .row-copy strong{font-size:12px}.bz-compact[data-bz-page="roll-riot"] .grand-total{min-height:40px}.bz-compact[data-bz-page="roll-riot"] .bonus-box{margin-bottom:6px;padding:5px 7px}.bz-compact[data-bz-page="roll-riot"] .bonus-box p{display:none}.bz-compact[data-bz-page="roll-riot"] .section-head h3{font-size:13px}.bz-compact[data-bz-page="roll-riot"] .scorecard-head h2{font-size:15px}
 .bz-compact[data-bz-page="bolt-rush"] .difficulty button{min-height:32px}.bz-compact[data-bz-page="bolt-rush"] .difficulty{margin-bottom:8px}.bz-compact[data-bz-page="bolt-rush"] .score-strip strong{font-size:21px}.bz-compact[data-bz-page="bolt-rush"] .score-strip{gap:5px 0;padding:5px}.bz-compact[data-bz-page="bolt-rush"] .status{min-height:45px;margin-bottom:6px;font-size:12px}.bz-compact[data-bz-page="bolt-rush"] .game-actions .button{min-height:38px;padding:7px}.bz-compact[data-bz-page="bolt-rush"] .control-zone{padding-top:6px}
 .bz-compact[data-bz-page="splash-run"] .difficulty button{min-height:30px}.bz-compact[data-bz-page="splash-run"] .difficulty{margin-bottom:7px}.bz-compact[data-bz-page="splash-run"] .hud{gap:3px 0;padding:4px}.bz-compact[data-bz-page="splash-run"] .hud strong{font-size:18px}.bz-compact[data-bz-page="splash-run"] .dpad{grid-template-rows:repeat(2,34px)}.bz-compact[data-bz-page="splash-run"] .utility-controls .button{min-height:36px}.bz-compact[data-bz-page="splash-run"] .message{padding:5px 0}.bz-compact[data-bz-page="splash-run"] .play-controls{gap:8px}
}
.bz-compact[data-bz-page="roll-riot"] .roundbar{min-height:32px}.bz-compact[data-bz-page="roll-riot"] .play-panel{grid-template-rows:32px auto auto auto auto}.bz-compact[data-bz-page="roll-riot"] .score-row{min-height:clamp(31px,calc((100dvh - 390px)/8),40px);height:clamp(31px,calc((100dvh - 390px)/8),40px)}.bz-compact[data-bz-page="roll-riot"] .shell>footer{min-height:22px;padding:3px 0;margin-top:5px}
.bz-compact[data-bz-page="together"] .topbar-inner{min-height:54px;padding-top:6px;padding-bottom:6px}.bz-compact[data-bz-page="together"] .page-top{min-height:30px;margin-bottom:7px}.bz-compact[data-bz-page="together"] .page-top .text-button{min-height:30px;padding:4px 0;font-size:12px}.bz-compact[data-bz-page="together"] .page-top .eyebrow{font-size:9px}.bz-compact[data-bz-page="together"].bz-playing .match-heading{min-height:36px;margin-bottom:7px}.bz-compact[data-bz-page="together"].bz-playing .match-heading .button{min-height:34px;padding:6px 14px;font-size:12px}.bz-compact[data-bz-page="together"].bz-playing .match-heading h1{font-size:24px;line-height:1.1}.bz-compact[data-bz-page="together"].bz-playing .score-seat{padding:5px 10px;min-height:43px}.bz-compact[data-bz-page="together"].bz-playing .score-seat.active{padding:4px 9px}.bz-compact[data-bz-page="together"].bz-playing .score-seat .player-mark{height:29px;width:29px;font-size:19px}.bz-compact[data-bz-page="together"].bz-playing .scorebar{margin-bottom:8px}.bz-compact[data-bz-page="together"].bz-playing .score-seat strong{font-size:12px;line-height:1.3}.bz-compact[data-bz-page="together"].bz-playing .score-seat .seat-status{line-height:1.3;font-size:10px}.bz-compact[data-bz-page="together"].bz-playing .game-stage{padding:10px 18px}.bz-compact[data-bz-page="together"].bz-playing .game-stage>.small-print{margin-top:6px;font-size:10px;line-height:1.4}.bz-compact[data-bz-page="together"].bz-playing .game-stage>[data-next]{min-height:38px;margin-top:7px;padding:7px 20px;font-size:13px}
.bz-compact[data-bz-page="together"] .line-wrap{width:min(100%,calc((100dvh - 345px)*var(--bz-line-cols,7)/var(--bz-line-rows,6)))}.bz-compact[data-bz-page="together"] .column-controls{padding:0 8px}.bz-compact[data-bz-page="together"] .column-button{min-height:32px;padding:0;font-size:12px;line-height:1}.bz-compact[data-bz-page="together"] .column-button span{font-size:20px;line-height:1}.bz-compact[data-bz-page="together"] .column-button small{line-height:1;font-size:10px}.bz-compact[data-bz-page="together"] .dots-board{width:min(100%,calc(100dvh - 340px))}.bz-compact[data-bz-page="together"] .pairs-board.cards-24{width:min(100%,calc((100dvh - 380px)*1.5))}
.bz-compact[data-bz-page="together"] .quiz-card{gap:8px 20px;padding:12px 18px}.bz-compact[data-bz-page="together"] .quiz-prompt{font-size:19px}.bz-compact[data-bz-page="together"] .quiz-reveal{margin-top:0;padding:8px 12px}.bz-compact[data-bz-page="together"] .quiz-tagline{font-size:11px;line-height:1.4}.bz-compact[data-bz-page="together"] .quiz-card .quiz-answer{min-height:60px;padding:10px}.bz-compact[data-bz-page="together"] .quiz-progress{margin-bottom:7px}.bz-compact[data-bz-page="together"] .turn-notice{margin-bottom:7px}
.bz-compact[data-bz-page="together"].bz-playing .site-footer .bz-interface-tag{display:none}.bz-compact[data-bz-page="together"].bz-playing .site-footer{padding:6px 24px}.bz-compact[data-bz-page="together"].bz-playing .footer-inner{line-height:1.3}
/* During a match, retain navigation in the header rather than a second footer. */
.bz-compact[data-bz-page="together"].bz-playing .site-footer{display:none}
.bz-compact[data-bz-page="together"].bz-playing .match-footer{margin:6px 0 0;padding:0;line-height:1.3;font-size:10px}
.bz-compact[data-bz-page="together"] .line-wrap{width:min(100%,calc((100dvh - 365px)*var(--bz-line-cols,7)/var(--bz-line-rows,6)))}
.bz-compact[data-bz-page="together"].bz-playing #app{padding-bottom:2px}
.bz-compact[data-bz-page="together"].bz-playing .match-footer{display:none}
.bz-compact[data-bz-page="home"][data-bz-engine="word"] .game-stage{padding-bottom:7px}
@media(max-width:959px){
 .bz-tools .bz-layout-toggle{display:none}
 .bz-ready[data-bz-page="roll-riot"] .dice-area{flex-direction:column;align-items:center;gap:18px;padding-left:0;padding-right:0}
 .bz-ready[data-bz-page="roll-riot"] .dice-tray{width:100%;min-width:0;max-width:500px}
 .bz-ready[data-bz-page="roll-riot"] .dice{width:100%;max-width:100%;gap:8px}
 .bz-ready[data-bz-page="roll-riot"] .die{min-width:0;max-width:86px}
 .bz-ready[data-bz-page="roll-riot"] .roll-controls{width:100%;min-width:0;max-width:500px}
}
.bz-compact[data-bz-page="home"] .engine-maths .equation{padding:8px 0}
