/* Isolated responsive web layout. Desktop layout remains unchanged. */
.aura-mobile-members,.aura-mobile-roster-close,.aura-mobile-country-toggle,.aura-mobile-shade{display:none!important}
@media(max-width:760px){
 html.browser-shell,html.browser-shell body{height:100%;overflow:hidden;overscroll-behavior:none}
 html.browser-shell #app{height:100dvh;height:var(--aura-mobile-height,100dvh);display:flex;flex-direction:column;overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px)}
 html.browser-shell .titlebar{flex:0 0 35px;height:35px;min-height:35px;padding-inline:8px;padding-top:env(safe-area-inset-top,0px)}
 html.browser-shell .titlebar .window-buttons{display:none!important}
 html.browser-shell #viewport{height:auto!important;flex:1;min-height:0;overflow:hidden}
 html.browser-shell .screen{min-height:0;padding:7px;gap:7px;overflow:hidden}
 #lobby .topnav{display:flex;flex-wrap:wrap;gap:6px;height:auto;min-height:0;padding:8px;border-radius:12px}
 #lobby .topnav .nav-left{gap:5px}#lobby .topnav .iconbutton{height:40px;min-width:40px;width:40px;border-radius:10px}
 #lobby .topnav .nav-search{order:10;flex:1 0 100%;max-width:none;margin:0}#lobby .nav-search input{height:42px;font-size:16px}#lobby .nav-search .searchicon{top:8px}
 #lobby .topnav .moments-nav-pill{font-size:12px;min-height:40px;padding:5px 9px;margin-inline:auto;white-space:nowrap}#lobby .tagline{display:none}
 #lobby .lobby-layout{display:flex;flex-direction:column;flex:1;min-height:0;gap:6px;overflow:hidden}
 #lobby .rooms-panel{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column}
 #lobby .panel-heading{flex-wrap:wrap;gap:6px;padding:10px;min-height:0;height:auto;flex:none}
 #lobby .panel-heading h1{font-size:19px;margin:0}#lobby .panel-heading p{font-size:12px;margin:3px 0}#lobby .people-sum{font-size:11px;white-space:normal}
 #lobby .rooms-scroll{padding:7px;overflow:auto;flex:1;min-height:0}
 #lobby .room-card{min-height:100px!important;gap:8px;padding:9px!important;max-width:100%;grid-template-columns:48px minmax(0,1fr) auto}
 #lobby .room-card .room-icon{width:48px!important;height:48px!important;min-width:0;object-fit:cover}#lobby .room-main{min-width:0}#lobby .room-title{font-size:15px!important;white-space:normal;overflow-wrap:anywhere}#lobby .room-desc{font-size:11px;white-space:normal;overflow-wrap:anywhere}#lobby .room-meta,#lobby .room-badges{flex-wrap:wrap;gap:3px;font-size:11px}#lobby .room-actions{gap:4px;min-width:0}#lobby .room-actions .small-btn{padding:7px;min-width:0;font-size:12px}#lobby .room-actions .heart{width:36px;height:36px;min-width:0}
 #lobby .countries-panel{display:none;flex:none;max-height:44%;padding:8px}#lobby.aura-mobile-countries .countries-panel{display:flex;order:-1}#lobby .countries-panel h2{font-size:15px;margin:0 0 5px}#lobby .country-item{min-height:48px;padding:5px}#lobby .new-room{min-height:38px;margin:4px 0 0;font-size:13px}
 #lobby .aura-mobile-country-toggle{display:inline-flex!important;align-items:center;justify-content:center;padding:7px 10px;border:1px solid #c9bbec;background:#fff;color:#574183;border-radius:9px;font-size:12px;min-height:34px}
 #lobby .aura-download-actions{display:flex;flex-wrap:wrap;gap:5px;width:100%;justify-content:flex-start}#lobby .aura-download-actions a{font-size:12px;padding:7px 9px}
 #room-view.classic-room{--classic-footer:58px;--classic-roster:0px;--classic-private:100%;height:100%;padding:0 3px 3px;gap:3px;overflow:hidden}
 #room-view.classic-room .room-toolbar{height:51px;min-height:51px;flex:0 0 51px;padding:3px;gap:3px;min-width:0}
 #room-view.classic-room .classic-room-pill{flex:1;max-width:none;min-width:0;height:44px;padding:3px 6px;gap:4px}#room-view.classic-room .classic-room-pill img{width:33px;height:33px}#room-view.classic-room .classic-room-pill span{min-width:0}#room-view.classic-room .classic-room-pill span>b{font-size:12px}
 #room-view.classic-room .toolbar-actions{gap:1px;flex:none}#room-view.classic-room .toolbar-actions button:not([hidden]){width:37px;min-width:37px;height:40px;font-size:19px;padding:3px}#room-view.classic-room .toolbar-actions button svg{width:20px;height:20px}
 #room-view.classic-room .aura-mobile-members{display:grid!important;place-items:center;min-width:39px;height:40px;font-size:18px}
 #room-view.classic-room .room-grid,#room-view.classic-room[data-roster-side] .room-grid,#room-view.classic-room .room-grid.private-open,#room-view.classic-room[data-roster-side] .room-grid.private-open{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr);gap:0;padding:0;min-height:0;overflow:hidden}
 #room-view.classic-room .chat-area,#room-view.classic-room[data-roster-side] .chat-area,#room-view.classic-room[data-roster-side] .private-open .chat-area{grid-column:1!important;grid-row:1;min-width:0;min-height:0;overflow:hidden}
 #room-view.classic-room .roster-area,#room-view.classic-room[data-roster-side] .roster-area{display:none!important;position:absolute;inset:0 auto 0 0;width:min(88%,340px);z-index:20;height:100%;grid-column:1!important;grid-row:1;box-shadow:6px 0 25px #0005;border-radius:8px;overflow:hidden}
 #room-view.classic-room.aura-mobile-roster-open .roster-area{display:flex!important}#room-view.classic-room.aura-mobile-roster-open .aura-mobile-shade{display:block!important;position:absolute;inset:0;z-index:19;border:0;background:#0005}
 #room-view.classic-room .aura-mobile-roster-close{display:flex!important;align-items:center;justify-content:space-between;flex:0 0 42px;background:#f0d9ed;border:0;color:#442d44;padding:8px 12px;font-size:14px;font-weight:700}
 #room-view.classic-room .roster-scroll{min-height:0;flex:1}#room-view.classic-room .member-card{min-height:44px;height:44px;padding:5px 8px}#room-view.classic-room .member-card .member-name{font-size:15px!important}#room-view.classic-room .classic-roster-footer{gap:5px;padding:5px;height:58px;flex:0 0 58px}#room-view.classic-room .classic-roster-footer button{min-height:40px;min-width:37px}#room-view.classic-room .roster-account{max-width:calc(100% - 100px)}
 #room-view.classic-room .stage-row,#room-view.classic-room .private-open .stage-row{width:100%!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:78px!important;height:min(var(--classic-stage-height),32dvh)!important;flex:0 0 min(var(--classic-stage-height),32dvh)!important;min-height:0!important;overflow:auto!important;gap:0;padding:0;justify-items:center}
 #room-view.classic-room .stage-row[hidden]{display:none!important}#room-view.classic-room .mic-seat{width:100%!important;max-width:70px;height:76px;min-width:0}#room-view.classic-room .mic-seat .mic-label{max-width:100%;font-size:10px}#room-view.classic-room .mic-seat .mic-ring,#room-view.classic-room .mic-seat .mic-ring .avatar-circle{width:41px;height:41px;min-width:41px;min-height:41px}
 #room-view.classic-room .chat-main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}#room-view.classic-room .message-text,#room-view.classic-room .message-body{overflow-wrap:anywhere;word-break:break-word}#room-view.classic-room .message-body img:not(.emoji):not(.gif-inline){max-width:100%;height:auto}
 #room-view.classic-room .chat-footer{flex:0 0 58px;height:58px;min-height:58px;gap:4px;padding:5px;min-width:0}#room-view.classic-room .classic-composer-wrap{min-width:0;height:45px}#room-view.classic-room .chat-footer #composer{font-size:max(16px,var(--composer-font,16px))!important;height:43px!important;min-height:43px!important;max-height:43px!important;padding:6px!important}#room-view.classic-room .chat-footer .tool,#room-view.classic-room #send-message,#room-view.classic-room #emoji-btn{min-width:37px;width:37px;height:40px;min-height:40px;flex:none;padding:3px}
 #room-view.classic-room .room-grid.private-open .private-window,#room-view.classic-room[data-roster-side] .room-grid.private-open .private-window{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;z-index:16;grid-column:1!important;grid-row:1;align-self:stretch}#room-view.classic-room .private-window textarea{font-size:16px}#room-view.classic-room .private-window form button{width:40px;height:40px}#room-view.classic-room .private-window header button{min-width:40px;min-height:40px;color:#432943}
 #room-view.classic-room .emoji-panel{position:absolute;left:0!important;right:0!important;bottom:58px!important;width:100%!important;max-width:100%!important;max-height:55%;overflow:auto;z-index:14}#room-view.classic-room .emoji-grid{overflow:auto;max-height:30vh}
 .browser-shell .context-menu{max-width:calc(100vw - 12px)!important;max-height:calc(var(--aura-mobile-height,100dvh) - 12px)!important;overflow:auto}.browser-shell .context-menu button{min-height:40px;white-space:normal}
 .browser-shell .backdrop{padding:8px;align-items:center}.browser-shell .dialog{width:100%!important;max-width:100%!important;max-height:calc(var(--aura-mobile-height,100dvh) - 18px);overflow:auto}.browser-shell .dialog input,.browser-shell .dialog textarea,.browser-shell .dialog select{font-size:16px}
 .browser-shell .rs7{width:96vw!important;max-width:96vw!important;height:90dvh!important;max-height:calc(var(--aura-mobile-height,100dvh) - 12px);overflow:hidden}.browser-shell .rs7-body{display:flex!important;flex-direction:column;min-height:0;overflow:hidden}.browser-shell .rs7 nav{display:flex;overflow:auto;flex:0 0 auto;max-width:100%;gap:4px}.browser-shell .rs7 nav button{flex:none;white-space:nowrap}.browser-shell .rs7-main{flex:1;min-height:0;overflow:auto}.browser-shell .rs7-row{flex-wrap:wrap}
 .browser-shell .moments-layout{grid-template-columns:minmax(0,1fr)!important}.browser-shell .moments-top{flex-wrap:wrap}.browser-shell .moments-head-actions{flex-wrap:wrap}.browser-shell .moment-card{max-width:100%}
}
@media(max-width:360px){#room-view.classic-room .toolbar-actions button:not([hidden]){width:32px;min-width:32px}#lobby .topnav .iconbutton{width:34px;min-width:34px}#lobby .topnav .moments-nav-pill{padding:4px;font-size:11px}}
@media(max-width:760px){
 #room-view.classic-room .v35-roster-handle{display:none!important}
 #room-view.classic-room #game-launcher29{justify-content:center;gap:4px;padding:3px 4px;flex-wrap:wrap;min-height:38px}
 #room-view.classic-room #game-launcher29 button{width:33px;height:33px}
 .g29-popup .g29-top{padding:8px;gap:6px;position:sticky;top:0;z-index:10}.g29-popup .g29-top button{min-height:40px;font-size:12px}.g29-popup #g29-root{padding:6px;overflow-x:hidden}.g29-popup #g28-content{padding:7px}.g29-popup .g28-bar{flex-wrap:wrap}.g29-popup .g28-tiles{gap:5px}.g29-popup .g28-tiles img{width:32px;height:32px}.g29-popup .g28-hand{flex-wrap:wrap}.g29-popup #g29-wager input{max-width:100%;font-size:16px}
}
@media(max-width:760px){
 #lobby .nav-icons68{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;width:100%;gap:5px;padding:3px 0;touch-action:pan-x;scrollbar-width:thin}
 #lobby .nav-icons68 button{flex:0 0 40px!important}
 #lobby .home68 .v32-home-main{flex-wrap:wrap;gap:6px;padding:8px}#lobby .home68 .v32-home-copy{min-width:0;flex:1}
 #room-view.classic-room .roster-area{touch-action:pan-y}
 #room-view.classic-room .aura-mobile-roster-close{touch-action:manipulation}
 .browser-shell .dialog-x{min-width:44px;min-height:44px;z-index:4}
 .browser-shell .premium-grid68{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .browser-shell .premium-card68{min-width:0}.browser-shell .premium-actions68{flex-wrap:wrap}
}
