/* Landscape follow-up: room-mounted label scaling and upload notice clearance. */
@media(max-width:900px), (max-width:1000px) and (max-height:500px){
 #tank-display{box-sizing:border-box;font-size:var(--tank-label-size,5px)!important;line-height:1.15;letter-spacing:0;overflow:hidden}
 #tank-display>span,#tank-display>strong{display:block;max-width:100%;white-space:nowrap;flex-shrink:0}
 #transfer-status{position:fixed;box-sizing:border-box;left:12px!important;right:12px!important;top:auto!important;bottom:calc(var(--mobile-message-bottom) + var(--mobile-stack-offset,0px))!important;transform:none!important;width:auto!important;max-width:none!important;margin:0!important;max-height:var(--mobile-message-limit,30dvh);overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere;white-space:normal;font-size:10px;line-height:1.5;letter-spacing:.5px;padding:8px 12px}
}
@media(max-width:900px), (max-width:1000px) and (max-height:500px){
 html[data-subject-cinematic="playing"] #chapter-ribbon{visibility:hidden;pointer-events:none}
}

@media(max-width:1000px) and (max-height:500px) and (orientation:landscape){
 #experiment-notice,body:has(#world[data-scene="chamber"]) #chapter-ribbon{position:fixed;box-sizing:border-box;top:auto!important;left:12px!important;right:12px!important;bottom:calc(var(--mobile-message-bottom) + var(--mobile-stack-offset,0px))!important;transform:none!important;width:auto!important;max-width:none!important;max-height:var(--mobile-message-limit,25dvh);margin:0!important;overflow:auto;overscroll-behavior:contain}
 #experiment-notice{padding:8px 12px}#experiment-notice p{font-size:11px;line-height:1.45;margin:0 0 3px}
}
