.home-is-hub .home-adventure-bar,.home-is-hub #home-teaching-entry,.home-is-hub .home-tool-dock{display:none!important}.home-hub-quickbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:5px;background:#e7cc8f;border:2px solid #a17b43;box-shadow:0 3px #8d6b3d;flex-shrink:0;margin-top:5px}.home-hub-quickbar>button{min-height:52px;background:#f4e0b0;color:#6a512d;border:1px solid #b9985c;border-radius:3px;font-size:10px;font-weight:750;padding:5px 2px;box-shadow:inset 1px 1px #fff4d0}.home-hub-quickbar span{display:block;font-size:22px;line-height:24px;margin-bottom:3px}.home-hub-context{padding:8px 10px;margin-top:5px;background:#faf0ce;border:1px solid #c7ad75;flex-shrink:0}.hub-place-title{display:flex;align-items:center;justify-content:space-between;gap:7px}.hub-place-title b{font-size:12px;color:#785631}.hub-place-title>button{font-size:10px;background:none;color:#86734f;min-height:30px}.hub-place-games,.hub-room-activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:5px}.hub-place-games button,.hub-room-activities button{min-height:44px;border:1px solid #d7c08c;border-radius:6px;background:#fff7e1;font-size:10px;color:#78603b;padding:6px 3px}.hub-place-games span,.hub-room-activities span{font-size:17px;margin-right:3px}.hub-room-activities{margin:4px 0 9px}.interior-mode .home-hub-context,.sandbox-building .home-hub-context,.island-editing .home-hub-context,.room-editing .hub-room-activities{display:none}.home-teaching .home-hub-context,.home-teaching .home-hub-quickbar{display:none}.home-is-hub .home-focus-back{min-width:44px!important;min-height:44px!important}.hub-places>p,.hub-places article>p{font-size:12px;line-height:1.8;color:#81916d;margin:8px 0}.hub-places article{padding:12px;background:#fff6df;border:1px solid #e0cca2;border-radius:12px;margin:10px 0}.hub-places article>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.hub-places article b{font-size:13px}.hub-places article button{min-height:44px;border-radius:8px;padding:7px 9px;background:#e8edda;color:#64764f;font-size:11px;margin:6px 4px 0 0}.hub-places article>div:first-child button{font-size:10px;background:none}.hub-life-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hub-life-grid button{padding:12px 8px;background:#f1ebd3;border:1px solid #d4c399;border-radius:12px;min-height:73px;font-size:12px;color:#725f3b}.hub-life-grid span{display:block;font-size:27px;margin-bottom:7px}
#home-game-sheet.home-game-sheet{position:fixed;inset:0;width:min(100vw,560px);max-width:100vw;height:100dvh;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:0;background:#f1f3df;overflow:auto;overscroll-behavior:contain;color:#435d50;box-shadow:0 0 45px #173c3c55}#home-game-sheet::backdrop{background:#183b40d9}.hub-sheet-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:calc(7px + env(safe-area-inset-top)) 10px 7px;background:#efe0b9;border-bottom:2px solid #b49b68;min-height:55px}.hub-sheet-header>button{min-height:44px;min-width:78px;font-size:12px;color:#785f38;background:#fff1c9;border:1px solid #c5ab73;border-radius:8px;padding:7px}.hub-sheet-header>b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:center}.hub-sheet-header>span{font-size:11px;white-space:nowrap}.hub-coach-line{margin:10px 12px;padding:10px 12px;border-left:3px solid #8aac71;border-radius:9px;background:#e6edda;color:#6c7c5b;font-size:12px;line-height:1.7}.hub-local-notice{margin:8px 12px;background:#fff0cf;padding:10px;border-radius:10px;font-size:12px}.hub-local-notice[hidden]{display:none}#home-game-content{padding:0 10px calc(22px + env(safe-area-inset-bottom));min-height:70vh}#home-game-content .lesson{padding-top:0}#home-game-content .front-greeting{margin-top:10px}#home-game-content .chess-screen{padding-top:0}#home-game-sheet .chess-result-backdrop{position:fixed;z-index:30}#home-game-content .front-mode{padding:0}.home-focus .home-hub-context{padding:5px 8px}.home-focus .home-hub-quickbar{margin-top:4px}.home-focus .home-hub-quickbar button{min-height:50px}.home-focus .hub-place-title>button{min-height:26px}.home-is-hub .home-controls-help{display:none}@media(max-width:350px){.hub-place-games button,.hub-room-activities button{font-size:9px}.hub-place-games span,.hub-room-activities span{font-size:14px}.hub-sheet-header>b{font-size:11px}.hub-sheet-header>span{font-size:10px}.home-hub-quickbar{gap:3px}}@media(max-height:650px){.home-focus .home-hub-context{padding:3px 7px}.home-focus .hub-place-title{display:none}.home-focus .home-hub-quickbar button{min-height:48px}.home-focus .hub-place-games{margin-top:0}}
