.has-lobby-layout .portal>.intro{min-height:0!important;padding:20px 26px!important;margin-bottom:16px!important;border-radius:20px!important}.has-lobby-layout .intro h1{font-size:26px!important;margin:4px 0 8px!important}.has-lobby-layout .intro img{display:none!important}.has-lobby-layout .intro p{font-size:13px!important}.lobby-hub{border:1px solid #e0d6ef;border-radius:20px;padding:22px;background:#fff;margin:16px 0}.lobby-hub-heading small{font:700 10px system-ui;letter-spacing:2px;color:#9f8bb7}.lobby-hub-heading h2{font:800 24px/1.4 system-ui;margin:6px 0}.lobby-hub-heading p{font:13px/1.7 system-ui;color:#8f7b9d;margin:6px 0 18px}.lobby-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lobby-shortcuts button{padding:16px!important;border:1px solid #e1d5ef!important;border-radius:14px!important;background:#f6f1ff!important;color:#6446af!important;box-shadow:none!important;text-align:left;display:flex;flex-direction:column;gap:6px;cursor:pointer;min-width:0}.lobby-shortcuts button:first-child{background:#6750ca!important;color:#fff!important;border-color:#6750ca!important}.lobby-shortcuts strong{font-size:16px}.lobby-shortcuts span{font-size:11px;opacity:.75}.has-lobby-layout .lobby-access{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;padding:22px!important;gap:14px!important;border:1px solid #e0d6ef!important;background:#fff!important;border-radius:20px!important;align-items:end!important}.lobby-access>label{min-width:0}.lobby-access>.join{grid-column:1/-1!important;border-top:1px solid #ece4f4;padding-top:18px;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:end!important;min-width:0}.lobby-access input{min-width:0;width:100%!important;margin:8px 0 0!important;height:46px!important;box-sizing:border-box!important}.lobby-access>.join input{letter-spacing:3px;text-transform:uppercase}.lobby-access button{min-height:46px!important;font-size:14px!important;margin:0!important;white-space:nowrap}.has-lobby-layout .lobby-room-list{display:block!important;padding:22px!important;border:1px solid #e0d6ef!important;border-radius:20px!important;background:#fff!important;margin:18px 0!important}.lobby-list-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.lobby-list-heading h2{margin:0!important;font-size:20px!important}.lobby-list-heading small{font-size:11px;color:#9a87aa}.lobby-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lobby-room-card{display:flex!important;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;text-align:left;border:1px solid #e1d7ef!important;border-radius:14px!important;padding:17px!important;background:#faf7ff!important;box-shadow:none!important;color:#493765!important;cursor:pointer}.lobby-room-card strong{font-size:15px;overflow-wrap:anywhere}.lobby-room-state{font-size:10px;padding:4px 8px;border-radius:7px;background:#eee7fa;color:#8a6cab}.lobby-room-card[data-room-status=active] .lobby-room-state{background:#e4f4e8;color:#397348}.lobby-room-card[data-room-status=waiting] .lobby-room-state{background:#fff1cf;color:#9b792c}.lobby-room-meta{font-size:12px;color:#a38caf}.lobby-room-card small{font-size:11px;color:#7554af}.lobby-empty{font-size:13px;color:#a18bae;line-height:1.7}.lobby-defaults-note{font-size:12px;color:#8e75a5;background:#f7f2ff;padding:12px;border-radius:10px;line-height:1.7}.has-lobby-layout :is(.lobby-room-list,.ui-picker,.join){scroll-margin-top:16px}.lobby-shortcuts button:focus-visible,.lobby-room-card:focus-visible{outline:3px solid #ac87d3;outline-offset:3px}@media(max-width:600px){.lobby-hub{padding:18px}.lobby-hub-heading h2{font-size:21px}.lobby-shortcuts{gap:7px}.lobby-shortcuts button{padding:12px 9px!important}.lobby-shortcuts strong{font-size:13px}.lobby-shortcuts span{font-size:10px}.has-lobby-layout .lobby-access{padding:18px!important}.lobby-access>.join{gap:8px!important}.lobby-access button{padding:10px 12px!important;font-size:12px!important}.lobby-access>.join input{letter-spacing:1px}.lobby-room-grid{grid-template-columns:1fr}.lobby-list-heading{flex-wrap:wrap;gap:6px}.has-lobby-layout .lobby-room-list{padding:18px!important}.has-lobby-layout .portal>.intro{padding:16px!important}.has-lobby-layout .intro h1{font-size:22px!important}}

/* The new lobby heading replaces the old banner and repeated steps. */
body[data-shared-shell=true].has-lobby-layout main.portal>header,body[data-shared-shell=true].has-lobby-layout main.portal>.intro,body[data-shared-shell=true].has-lobby-layout .ui-steps{display:none!important}
body[data-shared-shell=true].has-lobby-layout .service-panel{margin:0 0 12px!important}
body[data-shared-shell=true].has-lobby-layout .lobby-hub{margin:12px 0!important}
@media(max-width:900px){body.has-lobby-layout .unified-mode-nav{overflow-x:auto!important;padding-bottom:5px!important;scrollbar-width:thin}body.has-lobby-layout .unified-mode-nav a{flex:0 0 115px!important;min-height:60px!important}}

@media(max-width:600px){body.has-lobby-layout .unified-side details{display:none!important}.lobby-hub-heading h2{margin:5px 0!important}.lobby-hub-heading p{margin:5px 0 12px!important;font-size:12px!important}}

.lobby-create{margin:18px 0!important;padding:22px!important;background:#fff!important;border:1px solid #ddd0ed!important;border-radius:20px!important}.lobby-create-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.lobby-create-heading h2{margin:0!important;font-size:20px!important}.lobby-create-heading small{font-size:11px;color:#aa91b4}.lobby-create label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#836494}.lobby-create input,.lobby-create select{width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:44px!important;padding:10px 12px!important;font:13px system-ui!important;background:#faf7ff!important;color:#4e395f!important;border:1px solid #ded1eb!important;border-radius:10px!important}.lobby-create-search{margin-bottom:14px}.lobby-create-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr) minmax(110px,.65fr);gap:12px}.lobby-create-explanation{font-size:12px!important;line-height:1.7!important;color:#9c85a6!important;margin:14px 0!important}.lobby-create-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.lobby-create-footer>span{font-size:11px;color:#ad97b5}.lobby-create-footer>button{font-size:14px!important;padding:12px 20px!important;white-space:nowrap}.lobby-create{scroll-margin-top:16px}@media(max-width:650px){.lobby-create{padding:18px!important}.lobby-create-heading{flex-wrap:wrap;gap:6px}.lobby-create-fields{grid-template-columns:minmax(0,1fr) minmax(100px,.6fr)}.lobby-create-fields>label:first-child{grid-column:1/-1}.lobby-create-footer{flex-direction:column;align-items:stretch}.lobby-create-footer>button{width:100%}}



.lobby-current-atlas{margin-top:14px!important;min-height:40px!important;padding:10px 16px!important;border:1px solid #d9c9ed!important;border-radius:10px!important;background:#f2ecfb!important;color:#6750d8!important;font-size:13px!important;box-shadow:none!important}@media(max-width:650px){.lobby-current-atlas{width:100%}}

.lobby-create-work{display:flex;flex-direction:column;gap:9px;margin:18px 0 12px;color:#806991;font-size:13px;max-width:340px}.lobby-create-work select{width:100%;padding:12px 14px;border:1px solid #ddd0ee;border-radius:12px;background:#f8f3ff;color:#4f386d;font:14px system-ui}@media(max-width:650px){.lobby-create-work{max-width:none;margin-top:12px}}

/* Main lobby: previous home visual language, scoped away from game rooms. */
.has-lobby-layout .lobby-hub{padding:0!important;border:0!important;background:transparent!important}
.has-lobby-layout .portal>.intro{display:none!important}
.lobby-home-hero{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:24px;background:#fff0be;border:1px solid #e9ddb1;border-radius:26px;padding:36px;margin-bottom:28px;overflow:hidden}
.lobby-home-hero small,.lobby-zone-heading small{font:700 10px system-ui;letter-spacing:2px;color:#8c719c}
.lobby-home-hero h2{font:800 clamp(25px,3vw,38px)/1.3 system-ui;color:#30263e;margin:14px 0}
.lobby-home-hero p{font:14px/1.8 system-ui;color:#77657b;max-width:520px}
.lobby-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.lobby-hero-actions button{font:600 13px system-ui!important;min-height:46px;padding:12px 18px!important;border-radius:12px!important}
.lobby-home-art{position:relative;height:220px;min-width:0;pointer-events:none}
.lobby-home-art span{position:absolute;white-space:pre-line;text-align:center;font:800 22px/1.3 system-ui;letter-spacing:2px;background:#6a53ce;color:#fff;border:2px solid #4e399e;border-radius:12px;padding:25px 12px;box-sizing:border-box;width:135px;height:175px;left:5%;top:30px;transform:rotate(-12deg);box-shadow:8px 10px 0 #b69a5130;z-index:1}
.lobby-home-art span+span{left:44%;top:8px;background:#faf5e7;color:#7056b3;border-color:#cbbadd;transform:rotate(12deg);font-size:18px;z-index:0}
.lobby-zone-heading h2{font:750 23px system-ui;margin:8px 0 18px;color:#30263e}
.lobby-zone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lobby-zone-card{min-width:0;display:flex;flex-direction:column;padding:24px;border:1px solid #e1d7ec;border-radius:18px;background:#fff;color:#30263e}
.lobby-zone-card[data-zone=box]{background:#f2edff;border-color:#c9b8eb}.lobby-zone-card[data-zone=balls]{background:#edf7f1}.lobby-zone-card[data-zone=warehouse]{background:#fff6e3}.lobby-zone-card[data-zone=exam]{background:#eef2fc}
.lobby-zone-number{font:800 23px system-ui;color:#a38ab9;margin-bottom:16px}
.lobby-zone-card small{font:12px system-ui;color:#85748f}.lobby-zone-card h3{font:800 23px system-ui;margin:8px 0}.lobby-zone-card p{font:13px/1.8 system-ui;color:#77667e;margin:0 0 20px}
.lobby-zone-card :is(a,button){margin-top:auto!important;display:block;text-align:center;box-sizing:border-box;text-decoration:none;background:#fff!important;color:#634a97!important;border:1px solid #d8cbe8!important;box-shadow:none!important;border-radius:12px!important;padding:13px!important;min-height:46px;font:700 13px system-ui!important;cursor:pointer}
.lobby-zone-card[data-zone=box] button{background:#6850cb!important;color:#fff!important}
.has-lobby-layout[data-lobby-zone=box] .lobby-exam-entry,.has-lobby-layout[data-lobby-zone=exam] .lobby-create{display:none!important}
.has-lobby-layout .lobby-exam-entry{scroll-margin-top:20px;width:100%!important;box-sizing:border-box}
@media(max-width:600px){.lobby-home-hero{padding:24px;grid-template-columns:1fr;margin-bottom:24px}.lobby-home-art{display:none}.lobby-home-hero p{font-size:13px}.lobby-zone-grid{gap:10px}.lobby-zone-card{padding:16px 12px}.lobby-zone-card h3{font-size:20px}.lobby-zone-card p{font-size:12px}.lobby-zone-card small{font-size:10px}.lobby-zone-card :is(a,button){font-size:12px!important;padding:12px 7px!important}.lobby-zone-number{margin-bottom:10px}}
@media(max-width:350px){.lobby-zone-grid{grid-template-columns:1fr}}

.lobby-home-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);padding:28px;gap:28px;background:linear-gradient(120deg,#fff4d5,#f4eaf8)}.lobby-home-art{height:auto;width:100%;border-radius:18px;overflow:hidden;aspect-ratio:3/2;box-shadow:0 10px 25px #583d7020}.lobby-home-art img{display:block;width:100%;height:100%;object-fit:contain}.lobby-home-hero h2{font-size:clamp(25px,3vw,38px)!important}.lobby-hero-actions button+button{background:#fffaf0!important;color:#655080!important;border:1px solid #d9c6e6!important;box-shadow:none!important}@media(max-width:700px){.lobby-home-hero{grid-template-columns:1fr;padding:20px;gap:18px}.lobby-home-art{display:block;max-width:480px;justify-self:center}.lobby-home-hero h2{font-size:25px!important}}
