/* Final room layout: the artwork and dance foot geometry remain unchanged. */
body.arcade-room .app-shell{height:100dvh;min-height:0;padding:0 16px 10px;overflow:hidden}
body.arcade-room .topbar{height:88px!important;min-height:0;gap:12px;flex-wrap:nowrap}
body.arcade-room .topbar .brand{width:190px;height:80px}
body.arcade-room .topbar>.room-art-title{position:relative;display:flex;flex:none;flex-direction:column;justify-content:center;align-items:center;width:310px;height:84px;margin:0;padding:12px 28px 15px;isolation:isolate;color:#fff8d5}
body.arcade-room .topbar>.room-art-title .room-art-title-plaque{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:fill}
body.arcade-room .topbar>.room-art-title h1{font:800 26px/1.05 'Baloo 2',sans-serif;margin:0;white-space:nowrap;text-shadow:0 2px #654027}
body.arcade-room .topbar>.room-art-title .room-kicker{font-size:9px;line-height:1.2;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
body.arcade-room .top-actions{min-width:0;margin-left:auto}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode]{height:calc(100dvh - 98px);min-height:0;display:flex;flex-direction:column;gap:8px;margin:0;padding:0;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading{position:static;inset:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;height:44px;min-height:44px;padding:0;margin:0;overflow:visible}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-code-badge{position:static;display:flex;align-items:center;gap:8px;width:auto;min-width:168px;height:44px;min-height:44px;margin:0;padding:4px 10px;border-radius:12px;flex:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-code-badge[hidden]{display:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-code-badge small{font-size:9px;line-height:1.1;width:32px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-code-badge strong{font-size:21px;line-height:1}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-code-badge button{width:32px;height:32px;min-height:32px;padding:4px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading .crew-bottom{position:static;display:block;width:auto;height:44px;min-height:0;padding:0;margin:0;border:0;background:none;box-shadow:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .crew-bottom>span{display:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading .crew-bottom button,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-back{position:static;display:flex;align-items:center;justify-content:center;gap:7px;width:106px;height:44px;min-height:44px;margin:0;padding:5px 10px;font-size:14px;white-space:nowrap;border-radius:12px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .crew-bottom button[hidden]{display:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-back svg,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .crew-bottom button svg{width:20px;height:20px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr);gap:14px;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-left{display:flex;flex-direction:column;min-width:0;min-height:0;gap:10px;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .crew-panel{position:relative;display:flex;flex:1;flex-direction:column;height:auto;min-height:0;padding:0;margin:0;border:0;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .crew-panel>.panel-heading{display:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);align-items:center;justify-items:center;flex:1;width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:0;gap:10px;overflow:hidden;--room-hero-height:calc(var(--room-stage-size,160px) * .68);--plinth-height:calc(var(--room-stage-size,160px) * .27)}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster[data-capacity='1']{grid-template-columns:1fr;max-width:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster[data-capacity='3']{grid-template-columns:repeat(3,minmax(0,1fr))}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster[data-team-rows='true']{grid-template-columns:repeat(var(--team-columns),minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot{position:relative;display:block;flex:none;width:var(--room-stage-size,160px);height:var(--room-stage-size,160px);min-width:0;min-height:0;max-width:none;margin:0;padding:0;border:0;border-radius:16px;background:none;overflow:visible;isolation:isolate}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot:before{content:'';display:block;position:absolute;inset:0;z-index:-2;border:2px solid #a8ecffe0;border-radius:14px;background:linear-gradient(160deg,#baedff55,#187eca8c 78%);box-shadow:inset 0 0 22px #e8ffff45,0 2px 6px #00406440}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot.team-red:before{border-color:#ffd1bd;background:linear-gradient(155deg,#ffcfb56b,#d646477e 78%)}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot.team-blue:before{border-color:#baedff;background:linear-gradient(155deg,#bef8ff6b,#176ee799 78%)}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-art-pedestal{position:absolute;left:0;bottom:0;top:auto;width:100%;height:var(--plinth-height);object-fit:contain;object-position:center bottom;z-index:-1;pointer-events:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .slot-character{display:block;position:absolute;left:50%;top:auto;bottom:calc(var(--plinth-height) * var(--room-ground-factor,.81));width:auto!important;height:calc(var(--room-hero-height) * var(--room-opaque-scale,1));min-height:0;max-height:none;max-width:none;margin:0;object-fit:contain;transform:translate(var(--room-foot-x,-50%),var(--room-foot-y,0%));z-index:0;filter:drop-shadow(0 3px 2px #203b4035)}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .slot-header{position:absolute;inset:5px 6px auto;display:flex;align-items:center;justify-content:space-between;width:auto;height:22px;margin:0;z-index:3;font-size:10px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .slot-header b{font-size:13px;min-width:23px;height:23px;padding:2px;border-radius:8px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .slot-header span{font-size:9px;padding:3px 5px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot>strong{position:absolute;bottom:calc(var(--plinth-height) * .29);left:4%;right:4%;width:92%;margin:0;font-size:clamp(10px,1.2vw,17px);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;z-index:2}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot>small{position:absolute;bottom:calc(var(--plinth-height) * .06);left:4%;right:4%;width:92%;font-size:clamp(8px,.8vw,11px);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;z-index:2}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .empty-seat{top:37%;bottom:auto;left:50%;transform:translate(-50%,-50%);width:clamp(26px,calc(var(--room-stage-size) * .23),60px);height:clamp(26px,calc(var(--room-stage-size) * .23),60px);font-size:clamp(22px,calc(var(--room-stage-size) * .2),48px);line-height:1}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel{position:relative;display:flex;flex-direction:column;flex:0 0 196px;height:196px;min-height:0;max-height:none;margin:0;padding:8px 12px 5px;border-width:10px;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading{height:28px;min-height:28px;margin:0;padding:0;flex:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-log{flex:1;height:auto;min-height:44px;margin:0;padding:3px 6px;overflow-y:auto}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form{display:flex;align-items:center;gap:5px;flex:none;height:38px;min-height:38px;padding:2px 0 0;margin:0}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form input{flex:1;min-width:0;height:34px;min-height:34px;padding:4px 9px;font-size:13px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form button{flex:none;min-height:34px;height:34px;width:74px;padding:3px 8px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-status{margin:0;font-size:10px;line-height:1.1;min-height:0}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-status:empty{display:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-right{display:flex;flex-direction:column;min-width:0;min-height:0;gap:8px;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{flex:1;height:auto;min-height:0;max-height:none;margin:0;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls{height:100%;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start{position:static;inset:auto;display:flex;flex:none;height:auto;min-height:0;margin:0;padding:0 2px 3px;gap:3px;background:none;border:0;box-shadow:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start .start-battle{height:60px;min-height:60px;font-size:26px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start #room-hint{font-size:11px;line-height:1.15;margin:0}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .story-room-panel{position:relative;flex:0 0 190px;height:190px;min-height:0;margin:0;overflow:hidden}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .chat-panel{flex-basis:166px;height:166px}
@media(max-width:1100px){body.arcade-room .topbar>.room-art-title{width:250px;height:74px;padding:10px 22px}body.arcade-room .topbar>.room-art-title h1{font-size:23px}body.arcade-room .topbar .brand{width:155px}body.arcade-room .topbar #music-bar{min-width:120px;max-width:210px}body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-body{grid-template-columns:minmax(0,1.6fr) minmax(285px,1fr);gap:10px}}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room .app-shell{padding:0 8px 5px!important}
 body.arcade-room .topbar{height:48px!important;min-height:48px;gap:6px!important}
 body.arcade-room .topbar .brand{width:100px;height:46px}
 body.arcade-room .topbar>.room-art-title{width:190px;height:48px;padding:5px 18px 7px}
 body.arcade-room .topbar>.room-art-title h1{font-size:18px}
 body.arcade-room .topbar>.room-art-title .room-kicker{font-size:7px}
 body.arcade-room .top-actions{gap:4px}
 body.arcade-room .topbar #music-bar{min-width:90px;max-width:180px;height:40px}
 body.arcade-room .topbar :is(.icon-button,.voice-toggle){width:36px;min-width:36px;height:36px;padding:6px}
 body.arcade-room .topbar .connection{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode]{height:calc(100dvh - 53px);gap:5px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading{height:36px;min-height:36px;gap:5px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-code-badge{min-width:139px;height:36px;min-height:36px;padding:2px 7px;gap:6px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-code-badge strong{font-size:19px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading .crew-bottom{height:36px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading .crew-bottom button,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-back{height:36px;min-height:36px;width:88px;padding:3px 8px;font-size:12px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-body{grid-template-columns:minmax(0,1.55fr) minmax(245px,1fr);gap:8px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-left{gap:5px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster{gap:5px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .slot-header{inset:3px 4px auto;height:17px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .slot-header b{font-size:10px;min-width:18px;height:18px;padding:1px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .slot-header span{font-size:7px;padding:2px 4px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot>strong{font-size:10px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot>small{font-size:8px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-right{gap:4px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{border-width:7px;padding:0;flex:1;min-height:38px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls{padding:2px 4px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .chat-panel{flex:0 0 112px;height:112px;min-height:112px;padding:2px 5px;border-width:7px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading{height:21px;min-height:21px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading h2{font-size:13px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading>span{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-log{min-height:32px;font-size:11px;padding:0 3px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form{height:32px;min-height:32px;padding:1px 0 0}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form input{height:30px;min-height:30px;font-size:11px;padding:3px 6px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form button{height:30px;min-height:30px;width:56px;font-size:11px;padding:3px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form button svg{width:15px;height:15px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start{gap:1px;padding:0 0 2px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start .start-battle{height:38px;min-height:38px;font-size:19px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start #room-hint{font-size:9px;line-height:1.1}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .story-room-panel{flex-basis:100px;height:100px;min-height:100px;padding:5px 9px;border-width:7px;grid-template-columns:70px minmax(0,1fr) 130px;gap:5px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-ribbon{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-boss{width:65px;height:75px;margin:0}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy h2{font-size:17px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy>strong{font-size:9px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy>p,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-reward{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-actions{gap:2px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-boss-facts{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-boss-skills,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .story-room-buttons button{height:32px;min-height:32px;padding:2px 4px;font-size:10px}
}

/* Keep the loadout frame independent of chat after the phone reparent. */
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-right{border:0;padding:0;background:none;border-radius:0;box-shadow:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-right:before,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-right:after{display:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{display:flex;position:relative;flex:1;min-height:0;border:12px solid transparent;border-image:url('../assets/room-art-v1/lobby-gold-frame.webp') 150/21px/1px stretch;padding:4px;background:#fff5d7}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls{flex:1;background:none;border:0;box-shadow:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .room-art-controls-shell{border-image-source:url('../assets/room-art-v1/story-wood-frame.webp')}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel{--room-chat-border:10px}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{border-width:7px;padding:1px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel{--room-chat-border:7px;flex-basis:124px;height:124px;min-height:124px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-log{min-height:40px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls .character-panel{flex:none}
}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>*{order:0;transform:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot:before{width:auto;height:auto;transform:none;inset:0}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel{overflow:visible}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel:after{inset:calc(0px - var(--room-chat-border));border-image-width:17px;z-index:5}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid{flex:none}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .chat-panel{flex-basis:112px;height:112px;min-height:112px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-log{min-height:40px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading{height:19px;min-height:19px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading button{height:20px;min-height:20px;line-height:1;font-size:11px;padding:0 3px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading button svg{width:16px;height:16px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form .room-chat-destination{flex:0 0 51px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-send-channel{width:51px;padding:2px;font-size:10px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form input{padding:3px 4px;font-size:10px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{min-height:52px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start #room-hint{max-height:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster{--room-hero-height:calc(var(--room-stage-size,160px) * .65)!important;--plinth-height:calc(var(--room-stage-size,160px) * .27)!important}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .character-panel{flex:none!important;height:auto!important;min-height:0}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid{flex:none!important;height:auto;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;gap:6px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid>button{height:clamp(64px,10dvh,105px)!important;min-height:64px!important;flex:none}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start #room-hint{position:static;inset:auto;width:auto;background:none;border-radius:0;padding:0 3px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .story-room-panel{display:grid;grid-template-columns:100px minmax(0,1fr) 170px 125px;grid-template-rows:minmax(0,1fr);align-items:center;gap:10px;padding:27px 16px 10px;border:9px solid transparent;border-image:url('../assets/room-art-v1/story-wood-frame.webp') 150/18px/0 stretch;background:#fff3d3;isolation:isolate}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-ribbon{position:absolute;top:-3px;left:12px;right:auto;bottom:auto;width:235px;height:30px;transform:none;font-size:15px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-boss{grid-area:1/1;width:100%;height:110px;margin:0;align-self:center}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy{grid-area:1/2;min-width:0;align-self:center}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy h2{font-size:23px;line-height:1.05;margin:0 0 5px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy>strong{font-size:11px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy>p{font-size:11px;line-height:1.25;margin-top:5px}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-actions{grid-area:1/3;display:flex;flex-direction:column;align-self:center;gap:4px;min-width:0}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-reward{grid-area:1/4;max-height:126px;align-self:center;padding:0}
body.arcade-room .topbar>.room-art-title[data-room-mode='ranked']{padding-top:28px;padding-bottom:17px}
body.arcade-room .topbar>.room-art-title[data-room-mode='ranked'] .room-kicker{position:absolute;bottom:6px;left:15px;right:15px;text-align:center}
@media(max-width:1100px) and (min-height:521px){body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .story-room-panel{grid-template-columns:85px minmax(0,1fr) 140px;padding:24px 10px 7px;gap:7px}body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-reward{display:none}body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy h2{font-size:20px}}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid>button{height:55px!important;min-height:55px!important}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .story-room-panel{grid-template-columns:62px minmax(0,1fr) 100px;grid-template-rows:minmax(0,1fr);height:100px;min-height:100px;padding:4px 7px;gap:5px;border-width:7px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-ribbon,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-reward{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-boss{height:72px;margin:0}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy h2{font-size:16px;line-height:1.05;margin:0 0 3px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-copy>strong{font-size:9px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-actions{display:flex;gap:3px;align-self:center}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-boss-skills,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-actions .story-room-buttons button{height:30px;min-height:30px;font-size:9px;padding:3px}
 body.arcade-room .topbar>.room-art-title[data-room-mode='ranked']{padding-top:15px;padding-bottom:8px}
 body.arcade-room .topbar>.room-art-title[data-room-mode='ranked'] .room-kicker{bottom:1px;font-size:6px}
}

@media(orientation:landscape) and (max-height:375px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{border-width:5px;min-height:58px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid>button{height:44px!important;min-height:44px!important}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .chat-panel{height:110px;min-height:110px;flex-basis:110px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid button>.creature-name{font-size:9px;line-height:10px}
}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .chat-panel{padding-top:0;padding-bottom:0}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-message{display:grid;grid-template-columns:25px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:5px;row-gap:0;margin:2px 0;line-height:1.15}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-message>.chat-avatar{grid-area:1/1/3/2;width:24px;height:24px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-message>strong{grid-area:1/2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-message>time{grid-area:1/3;font-size:8px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-message>.chat-message-body{grid-area:2/2/3/4;font-size:11px;line-height:1.15;overflow-wrap:anywhere}
}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start #room-hint{color:#fff7d9;text-shadow:0 1px 3px #173e50,0 1px 2px #173e50}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-ribbon{clip:auto;overflow:visible;margin:0;max-width:none;width:auto;height:22px;top:4px;left:18px;padding:3px 10px;border-radius:3px;background:#b83232;color:#fff4d3;font-size:13px;line-height:16px}
@media(orientation:landscape) and (max-height:520px){body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-mission-ribbon{display:none}}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel.room-chat-expanded{position:fixed;z-index:100;flex:none;max-height:none;max-width:none;overflow:visible;box-shadow:0 10px 30px #163b5970}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-right{overflow:visible}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form #room-chat-send-channel-button{padding:2px;font-size:10px;gap:1px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-send-channel-button svg{width:8px;height:8px}
}
/* Landscape phone loadout: complete rows inside a separate scroll aperture. */
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-right{gap:2px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--choice-aperture:94px;align-items:center;justify-content:center;border-width:5px;border-image-width:11px;padding:6px 8px;min-height:66px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls{flex:none;width:100%;height:var(--choice-aperture);max-height:100%;padding:0 2px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scroll-snap-type:y proximity}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid>button{height:44px!important;min-height:44px!important;scroll-snap-align:start}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel,body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode][data-room-mode='story'] .chat-panel{height:104px;min-height:104px;flex-basis:104px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .chat-panel>.panel-heading{height:18px;min-height:18px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form .room-chat-destination{flex:0 0 64px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-form #room-chat-send-channel-button{width:64px;gap:3px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-chat-send-channel-button>span{flex:none;overflow:visible;text-overflow:clip}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start .start-battle{height:36px;min-height:36px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start #room-hint{max-height:none;max-width:100%;padding:1px 6px;border:1px solid #e0c784;border-radius:5px;background:#fff4d9f2;color:#285164;text-shadow:none;font-size:9px;line-height:10px}
}
@media(orientation:landscape) and (max-height:375px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--choice-aperture:44px}
}
@media(orientation:landscape) and (min-height:430px) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--choice-aperture:144px}
}

/* Short-room header: native code and primary action move, handlers stay intact. */
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room .topbar>.brand{order:0}
 body.arcade-room .topbar>.room-art-title{order:1}
 body.arcade-room .topbar>.room-code-badge{position:relative;inset:auto;display:flex;align-items:center;gap:5px;flex:none;order:2;width:139px;min-width:0;height:34px;min-height:34px;margin:0;padding:2px 7px;transform:none;border:2px solid #f5d478;border-radius:10px;background:linear-gradient(#10617c,#073b5b);box-shadow:inset 0 1px #54bed4,0 2px #987238;color:#fff6ce}
 body.arcade-room .topbar>.room-code-badge[hidden]{display:none}
 body.arcade-room .topbar>.room-code-badge small{font-size:8px;line-height:1.05;width:29px}
 body.arcade-room .topbar>.room-code-badge strong{font-size:18px;line-height:1;letter-spacing:2px;color:#ffeb99}
 body.arcade-room .topbar>.room-code-badge button{display:grid;place-items:center;width:29px;height:28px;min-height:28px;padding:4px;border:1px solid #93d3de;border-radius:7px;background:linear-gradient(#327d9d,#0a537d);color:#e4fbfa}
 body.arcade-room .topbar>.room-code-badge svg{width:20px;height:20px}
 body.arcade-room .topbar #music-bar{order:3;height:36px;min-height:36px;max-width:180px;min-width:120px;padding:1px 4px;gap:4px;margin-left:auto;border-radius:20px}
 body.arcade-room .topbar>.top-actions{order:4;margin-left:0}
 body.arcade-room .topbar #music-bar>[data-music=toggle],body.arcade-room .topbar #music-bar>[data-music=next]{width:30px;min-width:30px;height:30px;min-height:30px;flex-basis:30px}
 body.arcade-room .topbar #music-bar .radio-home-trigger{height:28px;min-height:28px;padding:2px 5px;font-size:10px;border-radius:11px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:128px;height:36px;min-height:36px;margin:0;padding:0 8px 1px 29px;border:0;outline:0;border-radius:9px;background:transparent url('../assets/room-art-v1/lobby-start-button.webp') center/100% 100% no-repeat;box-shadow:none;color:#583917;font:800 13px/1 'Baloo 2',sans-serif;white-space:nowrap;text-shadow:0 1px #fff0b5}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action:disabled{filter:saturate(.65);opacity:.8;color:#795c2c}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action>i{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action>span{font:inherit;transform:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action[data-action='start']>span{font-size:0}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action[data-action='start']>span:after{content:var(--copy-start,'Start');font:800 16px/1 'Baloo 2',sans-serif}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action.guest-ready-action:not(:disabled){color:#15584b;filter:hue-rotate(22deg)}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-heading>#room-primary-action:focus-visible{outline:2px solid #fff4b2;outline-offset:2px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--choice-aperture:94px;background-clip:padding-box;border-radius:13px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-start{align-items:center;padding:0;gap:0}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-status:empty{display:none}
}
@media(orientation:landscape) and (min-height:390px) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--choice-aperture:144px}
}
@media(orientation:landscape) and (max-height:335px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--choice-aperture:44px}
}
@media(orientation:landscape) and (max-height:520px) and (max-width:760px){
 body.arcade-room .topbar{gap:4px!important}
 body.arcade-room .topbar .brand{width:76px;min-width:76px}
 body.arcade-room .topbar>.room-art-title{width:148px;padding-inline:13px}
 body.arcade-room .topbar>.room-art-title h1{font-size:16px}
 body.arcade-room .topbar>.room-code-badge{width:111px;gap:3px;padding:2px 4px}
 body.arcade-room .topbar>.room-code-badge small{font-size:7px;width:23px}
 body.arcade-room .topbar>.room-code-badge strong{font-size:15px}
 body.arcade-room .topbar>.room-code-badge button{width:25px;padding:3px}
 body.arcade-room .topbar #music-bar{width:126px;min-width:104px;max-width:140px;gap:2px;padding:1px 3px}
 body.arcade-room .topbar :is(.icon-button,.voice-toggle){width:30px;min-width:30px;height:30px;padding:5px}
}

/* The plaque center belongs to the rendered art, not the text's lower edge.
   Casual is 1200x323; ranked/story are contained within the same height box. */
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot{--room-name-center:.35;--room-name-size:clamp(10px,1.2vw,17px);--room-detail-size:clamp(8px,.8vw,11px)}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode='ranked'] #room-roster .room-slot{--room-name-center:.45}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode='story'] #room-roster .room-slot{--room-name-center:.315;--room-name-size:clamp(10px,1.15vw,16px);--room-detail-size:clamp(7px,.7vw,9px)}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot>strong{top:auto;bottom:calc(var(--plinth-height) * var(--room-name-center));left:10%;right:10%;width:80%;height:auto;min-height:0;max-height:none;padding:0;font-size:var(--room-name-size);line-height:1;white-space:nowrap;transform:translateY(calc(50% - .03em))}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot:has(>small)>strong{bottom:calc(var(--plinth-height) * var(--room-name-center) + var(--room-detail-size) * .5 + .5px)}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot>small{top:auto;bottom:calc(var(--plinth-height) * var(--room-name-center) - var(--room-name-size) * .5 - .5px);left:10%;right:10%;width:80%;height:auto;min-height:0;max-height:none;font-size:var(--room-detail-size);line-height:1;transform:translateY(calc(50% + .04em))}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot{--room-name-size:10px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot:has(>small)>strong{bottom:calc(var(--plinth-height) * var(--room-name-center))}
 /* Keep the redundant seat detail in the accessibility tree, not on the rim. */
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-roster .room-slot>small{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* Paint parchment inside the shaped frame rather than behind its square box. */
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{background:#fff5d7;background-clip:border-box;border-radius:18px;isolation:isolate}
body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell:before{display:none}
@media(orientation:landscape) and (max-height:520px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{border-radius:14px}
}
/* Use the desktop's remaining framed area for the selected arena illustration. */
@media(min-height:521px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode='casual'] .room-art-controls{display:flex;flex-direction:column}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode='casual'] .room-map-panel{flex:1 0 150px;height:auto;min-height:150px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode='casual'] .room-map-copy{flex:1;height:auto;min-height:75px}
}

/* A single-row short picker advertises and supports horizontal browsing. */
.room-character-carousel{display:contents}
.room-character-arrow,.room-character-swipe-hint{display:none}
@media(orientation:landscape) and (max-width:760px) and (max-height:375px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--compact-card-height:60px;--choice-aperture:86px;align-items:flex-start}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-character-carousel{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:var(--compact-card-height) 24px;column-gap:5px;row-gap:2px;flex:none;width:100%;min-width:0}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid{display:grid;grid-area:1/1/2/-1;grid-auto-flow:column;grid-auto-columns:calc((100% - 15px)/4);grid-template-columns:none;grid-template-rows:var(--compact-card-height);height:var(--compact-card-height);min-height:var(--compact-card-height);min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;gap:5px;scroll-snap-type:x mandatory;scroll-padding:0;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid::-webkit-scrollbar{display:none}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] #room-character-grid>button{height:var(--compact-card-height)!important;min-height:var(--compact-card-height)!important;scroll-snap-align:start}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-character-arrow{display:grid;place-items:center;width:100%;min-width:32px;height:24px;min-height:24px;margin:0;padding:0;border:1px solid #ad873d;border-radius:6px;background:linear-gradient(#fff5cf,#efd084);box-shadow:inset 0 1px #fffce9;color:#624322;font:800 24px/1 'Nunito Sans',sans-serif;touch-action:manipulation}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-character-arrow:disabled{opacity:.45}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-character-arrow[data-direction='-1']{grid-area:2/1}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-character-arrow[data-direction='1']{grid-area:2/2}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-character-arrow:focus-visible{outline:2px solid #116c85;outline-offset:1px}
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-character-swipe-hint{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(orientation:landscape) and (max-width:760px) and (max-height:335px){
 body.arcade-room #room-screen.room-screen.room-art-v1.room-responsive-v2[data-room-mode] .room-art-controls-shell{--compact-card-height:56px;--choice-aperture:82px}
}
