/* Pool-only enhancement; no global storage, navigation or game rule changes. */
.pool-dock{display:flex;flex-direction:column;gap:6px}.pool-dock>.control-buttons{display:grid;grid-template-columns:52px minmax(0,1fr) 52px}
.pool-friend-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border-radius:12px;background:#195b49;color:white;text-decoration:none;font-weight:700;margin-block:6px}.pool-tools{display:flex;gap:8px;flex-wrap:wrap}.pool-expand{white-space:normal;max-width:140px}.controls details summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:650}.controls .settings-panel{grid-column:1/-1}.controls input[type=range]{min-height:46px}.controls .control-buttons .primary{min-height:56px}.controls #pool-left,.controls #pool-right{min-width:48px;min-height:52px}.hud span,.match-hud{font-size:14px}.match-hud span{min-width:0;overflow-wrap:anywhere}.pool-focus{background:#143e34}.pool-focus>.header,.pool-focus main>.heading,.pool-focus main>.muted,.pool-focus .below,.pool-focus .versus-rules,.pool-focus main>.links,.pool-focus footer,.pool-focus .search-foundation-nav,.pool-focus #lixing-products{display:none!important}.pool-focus main{padding:8px;max-width:1500px}.pool-focus .play-area{margin:0}.pool-focus .settings-panel{display:none}.pool-focus .pool-friend-link{display:none}.pool-focus .note{color:#f5f2df}
@media(max-width:760px){
 main{padding:10px}.header{padding:8px 10px}.heading h1{font-size:24px}.heading .eyebrow{display:none}.heading{gap:8px;flex-wrap:wrap}.heading button{font-size:14px}.layout{gap:8px}.board{padding:4px;border-radius:14px}.stage,.pool-versus .stage{width:100%;max-height:none;aspect-ratio:560/1000;margin:0}.hud{flex-wrap:wrap;gap:7px;padding:6px}.hud strong{font-size:17px}.hud button{min-height:44px;font-size:14px}.hud>div{min-width:54px}.hud span{font-size:14px}.match-hud{font-size:14px;gap:6px;padding:0 5px 7px}.match-hud span{flex:1;padding:7px}.controls{display:flex;gap:8px;padding:12px}.controls>.power{order:0}.controls>.control-buttons{order:1;display:grid;grid-template-columns:52px minmax(0,1fr) 52px}.controls>.guide,.controls>.level-best{order:2}.controls>.settings-panel{order:3}.controls label,.controls button,.controls select,.note{font-size:16px}.controls .guide{font-size:14px}.settings-panel label{display:block;margin-block:10px}.settings-panel .settings-extra details{margin-top:5px}.play-area{padding-bottom:max(12px,env(safe-area-inset-bottom))}.pool-focus main{padding:4px}.pool-focus .hud{padding:4px}.pool-focus .controls{padding:8px}.pool-focus .layout{gap:4px}
}
@media(max-width:760px) and (orientation:portrait){
 .pool-versus .hud>div:first-child{display:none}.hud .pool-expand{max-width:100px}.stage,.pool-versus .stage{width:min(100%,calc(max(260px,100svh - 290px)*.56));margin-inline:auto}.pool-dock{position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fffdf7;border-top:1px solid #becfbe;padding:7px 12px max(8px,env(safe-area-inset-bottom));box-shadow:0 -6px 25px #12362b18}.pool-dock .power-line{font-size:14px}.pool-dock input[type=range]{min-height:38px;height:38px}.controls{margin-bottom:170px}.pool-focus .play-area{padding-bottom:155px}
}
@media(max-height:600px) and (orientation:landscape) and (max-width:1100px){
 .layout{grid-template-columns:minmax(0,1fr) 192px;gap:8px}.stage,.pool-versus .stage{aspect-ratio:1000/560;width:100%;max-height:none}.controls{padding:10px}.controls>.power{margin:0}.controls .guide,.controls .level-best{display:none}.heading .intro,.heading .eyebrow{display:none}.heading h1{font-size:22px}.pool-focus .layout{align-items:center;min-height:calc(100svh - 16px)}.pool-focus .board{padding:4px}.pool-focus .stage{max-height:calc(100svh - 120px);width:auto;aspect-ratio:1000/560;margin:auto}.pool-focus .controls{background:#fffdf5}.pool-focus .hud>div:first-child{display:none}.pool-dock>.control-buttons{grid-template-columns:48px minmax(0,1fr) 48px;gap:6px}.pool-dock .control-buttons .primary{font-size:16px;padding:8px;white-space:nowrap}
}
