.mobile-toggle,.mobile-bottom{display:none}
@media(max-width:900px){
html,body{max-width:100%;overflow-x:clip} .shell:not(.hidden){display:block;min-width:0}.main,.content,.panel,.topbar>div{min-width:0;max-width:100%}
html .shell .sidebar,html.season-decor .shell .sidebar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;padding:10px 14px;background:#081d38!important;border-right:0;overflow:visible;box-shadow:none;z-index:6}
.sidebar .brand{padding:0;min-width:0}.sidebar .brand b{font-size:clamp(15px,4.2vw,21px);color:white;white-space:normal;line-height:1.2}.sidebar .brand small{font-size:9px;color:#b9d4f4;letter-spacing:2px}.sidebar .brand:after{height:6px!important;margin-top:5px!important}
.mobile-toggle{display:block;width:44px;height:44px;border:1px solid #567ca4;border-radius:10px;background:#12365c;color:white;font-size:23px;cursor:pointer}
.sidebar .nav{display:none;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;padding:4px 0}.sidebar.mobile-open .nav{display:grid}.sidebar .nav button{width:100%;min-width:0;white-space:normal;text-align:left;color:#e4efff;font-size:13px;line-height:1.3;min-height:48px;padding:8px;gap:6px}.sidebar .nav button.active{color:white;background:#1268b8}.sidebar .nav .ico{flex-shrink:0}
.topbar{position:relative;top:auto;height:auto;min-height:58px;padding:9px 12px;gap:8px;display:flex;align-items:center}.topbar .crumb{font-size:9px;letter-spacing:.5px}.topbar strong{display:block;font-size:15px;line-height:1.3;overflow-wrap:anywhere}.userbox{flex-shrink:0;max-width:48%;gap:5px}.userbox .avatar{display:none}.userbox b,.userbox small{font-size:10px;overflow-wrap:anywhere}.userbox .btn{min-height:40px;padding:6px 9px;white-space:nowrap}
.content{padding:12px 10px calc(86px + env(safe-area-inset-bottom));overflow-wrap:anywhere}.panel{padding:14px;min-width:0}.panel h2{font-size:19px;line-height:1.3}.content img{max-width:100%}.content iframe{max-width:100%}.content table{display:block;max-width:100%;overflow-x:auto}.field input,.field select,.field textarea{max-width:100%;min-width:0}.formgrid{grid-template-columns:minmax(0,1fr)}
.mobile-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;z-index:8;bottom:0;left:0;right:0;background:#081d38;color:white;padding:5px 4px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #456180;gap:3px}.mobile-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;background:transparent;color:#d5e5fa;border:0;border-radius:9px;font-size:11px;font-weight:700;cursor:pointer}.mobile-bottom button span{font-size:20px;line-height:1}.mobile-bottom button.active{background:#185a92;color:white}.mobile-bottom button:focus-visible,.mobile-toggle:focus-visible{outline:2px solid #ffad42}
html.season-banner #season-greeting{min-height:66px;margin:0 0 10px;padding:8px 39% 8px 11px;font-size:14px;line-height:1.3;background-size:cover,auto 115%;box-shadow:none}html.season-banner #season-greeting.mobile-game-greeting{display:none} .season-preview{font-size:15px;min-height:100px;padding:12px 42% 12px 12px}
#gameRoomBody{margin:0 -8px;min-width:0}#gameRoomBody iframe{display:block;height:76dvh!important;min-height:420px!important;border-radius:10px!important}#gameRoomStatus{font-size:14px;margin:8px 0}.viewer-overlay{z-index:1000}html:has(.viewer-overlay.show) .mobile-bottom{display:none}
#season-particles{display:none!important}
}
@media(max-width:360px){.sidebar .nav{grid-template-columns:1fr}.topbar strong{font-size:13px}.userbox{max-width:44%}.mobile-bottom button{font-size:10px}}
