/* Shared fixed outer shell: same footer anchor on every page, no inter-panel gap. */
body .screen:not(.hide):not(#game):not(#result){--shell-bottom:max(12px,env(safe-area-inset-bottom));--nav-height:76px;padding:12px 12px calc(var(--nav-height) + var(--shell-bottom));place-items:start center;background:#def1e9}
body #home .homepanel.duck-lobby{width:min(480px,100%);height:calc(100dvh - var(--nav-height) - var(--shell-bottom) - 12px);max-height:none!important;overflow-y:auto;border-bottom:0!important;border-radius:26px 26px 0 0!important;box-shadow:none!important;scrollbar-gutter:stable}
body .screen:not(#home)>.panel{width:min(480px,100%)!important;height:calc(100dvh - var(--nav-height) - var(--shell-bottom) - 12px)!important;max-height:none!important;margin:0!important;overflow-y:auto;overscroll-behavior:contain;border-bottom:0!important;border-radius:24px 24px 0 0!important;box-shadow:none!important;scrollbar-gutter:stable}
body .lobby-bottom-nav,body .screen>.section-bottom-nav{position:fixed!important;top:auto!important;bottom:var(--shell-bottom)!important;left:50%!important;transform:translateX(-50%)!important;width:min(480px,calc(100% - 24px))!important;height:var(--nav-height);margin:0!important;padding:6px 7px!important;border:3px solid #3d5b5a!important;border-top:2px solid #a9ba9a!important;border-radius:0 0 24px 24px!important;box-shadow:0 7px #80a899!important;background:#fff9e9;z-index:20}
body .new-skin-art{position:absolute;display:block;inset:0;pointer-events:none}
.new-skin-art>img{position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;animation:none!important}
.duck-art-card .new-skin-art{inset:25px 9px 10px}.ava .new-skin-art{inset:0}
.duck-scene:has(.new-skin-art) .scene-prop,.duck-scene:has(.new-skin-art) .scene-fx{display:none}
.duck-scene:has(.new-skin-art) .scene-bubble{white-space:normal;min-width:140px;max-width:210px}
.duck-scene.tier-common:has(.new-skin-art) .scene-portal,.duck-scene.tier-common:has(.new-skin-art) .scene-orbit,.duck-scene.tier-middle:has(.new-skin-art) .scene-portal{display:none}
.pass-ad-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:16px 0}.pass-ad-steps span{padding:12px 2px;border:2px solid #9caf96;border-radius:14px;background:#f0edcf;color:#657c70}.pass-ad-steps .done{background:#d7edb6;color:#42624c}.pass-prototype{padding:10px;border:2px dashed #b9a1d4;background:#f0e8ff;border-radius:12px;font-size:12px;line-height:1.6}.board-tabs-v39{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.board-tabs-v39 button{padding:12px 3px;border:2px solid #a6b88e;background:#edf3d6;border-radius:13px;color:#3f5e58;font-weight:800}.board-tabs-v39 button[aria-pressed=true]{background:#ffe49b;border-color:#b8a15f}
@media(max-width:360px){body .screen:not(.hide):not(#game):not(#result){padding-left:7px;padding-right:7px}body .screen>.section-bottom-nav,body .lobby-bottom-nav{width:calc(100% - 14px)!important}.board-tabs-v39{gap:4px}.board-tabs-v39 button{font-size:11px}}

