[hidden]{display:none!important}
body:not(.playing){overflow:auto}
body.playing .scene{display:block;min-height:100svh}
.android-app,.android-app body{width:100%;height:100%;min-width:0;overflow:hidden;overscroll-behavior:none}
.android-app body .scene{position:fixed;inset:0;min-height:0;overflow:clip}
.android-app .scene>.entry{max-height:100%;overflow-y:auto;overscroll-behavior:contain}
.android-app .scene>.lobby{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.android-app body.playing .scene{background:linear-gradient(#080d0d80,#080d0db3),var(--android-backdrop) center / cover no-repeat}
.android-app .world .drawer,.android-app .world #drawer-content{overscroll-behavior:contain}
body.playing #status{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);color:#eee2c8;background:#152026;padding:10px 18px;z-index:90}
.world .network-panel{max-width:100%;max-height:100%;overflow:auto;text-align:center}
.world .network-panel .stage-sub{margin-top:9px}
.world .network-panel .choices{flex-wrap:wrap}
.world .network-panel .plain-actions{margin-top:12px}
.world .network-panel select,.world #chat-input,.world #private-notes{background:#142124;border:1px solid #a8905d66;color:#eee2c8;padding:7px 10px}
.world #soul-form{display:flex;flex-direction:column;align-items:center;gap:8px}
.world #soul-form .soul-selects{display:flex;align-items:center;gap:8px}
.world #soul-form select{min-width:80px}
.world .network-talk .speaker-strip p{margin:0}
.world .actor .avatar{pointer-events:none}
.world .map-avatars .avatar{flex-shrink:0}
.world .map-node .map-avatars{max-width:82px}.world .expanded .map-node .map-avatars{max-width:132px}
.world .map-avatars.crowded{width:76px;display:grid;grid-template-columns:repeat(3,1fr);height:auto}
.world .expanded .map-avatars.crowded{width:125px}
.world .network-talk{pointer-events:none}
.world .network-talk .speaker-strip{top:318px}
.world .network-targeting .network-panel{position:absolute;inset:-12px 0 -36px;max-height:none;overflow:visible;pointer-events:none}
.world .network-targeting .plain-actions{position:absolute;bottom:0;left:0;right:0}
.world .network-targeting .plain-actions button{pointer-events:auto}
.world .omen-track{animation:omen-roll 2.6s cubic-bezier(.08,.72,.12,1) var(--omen-delay,0ms) both}
.world .omen-result{animation:omen-reveal 2.9s linear var(--omen-delay,0ms) both}
@keyframes omen-roll{from{transform:translateX(0)}to{transform:translateX(-4608px)}}
@keyframes omen-reveal{0%,85%{opacity:0}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.world .omen-track{animation:none;transform:translateX(-4608px)}.world .omen-result{animation:none}}
.card-flight{position:fixed;transform-origin:top left;z-index:99;pointer-events:none;object-fit:contain}
.world.showing-draw .hand-card:last-child{visibility:hidden}
#talk-time{display:inline-flex;align-items:center;gap:6px;font-size:13px}
#talk-time input{width:55px;padding:5px;color:#f2e6cd;background:#182321;border:1px solid #86734d}
#talk-time button{min-height:32px;padding:4px 8px}
.world .effect-layer{z-index:16;pointer-events:none}.world .effect-layer>*{pointer-events:none}
.world #drawer-content{max-height:calc(100% - 56px);overflow:auto;overflow-wrap:anywhere}
.world #chat-form{display:flex;gap:5px;margin-top:10px}.world #chat-input{width:100%;min-width:0}
.world .discard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.world .discard-grid img{width:100%}
.world #private-notes{display:block;width:100%;height:135px}
.world .clock{font-variant-numeric:tabular-nums}
.world .turn-panel .countdown{margin:12px 0}
.world .talk-actions{display:flex;flex-wrap:wrap;gap:6px}
.world .talk-actions .btn{padding-inline:9px}
.world .network-routes .choice{min-width:118px}
.world .network-actions{margin:24px 0 0}
.world .network-actions .choice{min-width:145px}
.world .network-result .ballot-tally{margin:0 auto}
.world .network-ward .reveal-card{height:248px}
.world .network-result h2{margin-bottom:8px}
