/* The registration desk and camp share one shell. The floating combat chat
   is reparented on entry and intentionally receives none of these rules. */
#socialLobby {
 --ink:#f3ead6;--muted:#b2c0b8;--gold:#ecce8e;--edge:#a2ab913d;
 background:radial-gradient(ellipse at 22% 15%,#314538 0,transparent 55%),#101e20;color:var(--ink);
 font-family:"Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
 padding:0 max(3vw,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(3vw,env(safe-area-inset-left));
}
#socialLobby .lobby-header{display:flex;align-items:center;justify-content:flex-start;gap:20px;width:100%;max-width:1380px;margin:auto;min-height:66px;padding:8px 0;border:0;box-sizing:border-box}
#socialLobby .brand{display:inline-flex;align-items:center;gap:12px;padding:4px 0;font:700 19px Georgia,"Noto Serif KR",serif;letter-spacing:-.055em;color:var(--ink)}
#socialLobby .brand i{display:grid;place-items:center;color:var(--gold);font:24px Georgia,serif;width:32px;height:32px;border:1px solid #d8b77884;border-radius:50%;box-shadow:inset 0 0 0 3px #142624,inset 0 0 0 4px #c9ab702e}
#socialLobby .lobby-shop{margin-left:auto;text-decoration:none;color:var(--ink);font-size:14px}
#socialLobby .rewards-nav-button{margin:0;border:0;border-left:1px solid var(--edge);border-radius:0;background:none;padding:6px 0 6px 17px;color:var(--gold);font:inherit;font-size:14px}
.muster-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);min-height:min(640px,calc(100dvh - 92px));max-width:1380px;margin:0 auto;border:1px solid #98a28955;border-radius:16px;overflow:hidden;background:#152724;box-shadow:0 16px 54px #07141160}
.muster-camp{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:clamp(105px,18vw,220px);min-width:0;background:#203328}
.camp-painting{position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#14201bb3 0%,transparent 26%,transparent 38%,#13241d40 52%,#13241de6 76%,#13241d 80%),url('./assets/landing-24/adventurers.webp') 64% 40%/cover no-repeat;background-size:cover,auto 80%;background-position:center,72% 0;background-color:#13241d}
.camp-heading,.camp-sheet{padding:clamp(20px,3.5vw,54px)}
.camp-heading{display:flex;align-items:center;gap:14px;color:#fff4d9;text-shadow:0 2px 14px #201b12}
.camp-heading h1{margin:0;font:600 clamp(30px,3.5vw,54px)/1.2 Georgia,"Noto Serif KR",Batang,serif;letter-spacing:-.07em}
.camp-compass{font:36px Georgia,serif;color:#edd09a}
.camp-sheet{padding-top:0}
#socialLobby .lobby-profile{display:block;background:none;border:0;padding:0}
.camp-id{display:flex;align-items:center;gap:14px;min-width:0}
#socialLobby .camp-id canvas{width:68px;height:68px;flex:none;background:radial-gradient(ellipse at 50% 85%,#73866d,#263b36 72%);border:1px solid #c6ad7780;border-radius:50%}
.camp-id>.camp-identity{min-width:0;text-shadow:0 1px 4px #12201b}
#socialLobby .camp-id span,#socialLobby .camp-id small{display:block;color:var(--gold);font-size:12px;line-height:1.5;margin:0;padding:0}
#socialLobby .camp-id strong{font:650 clamp(23px,2.2vw,34px)/1.2 Georgia,"Noto Serif KR",serif;color:#fff5df;overflow-wrap:anywhere;letter-spacing:-.04em}
#socialLobby .camp-id small{color:var(--muted);overflow-wrap:anywhere}
.camp-tools{display:flex;flex-wrap:wrap;gap:4px 14px;margin:10px 0 12px}
#socialLobby .camp-tools button{color:#e1e3d4;border:0;background:none;font:inherit;font-size:12px;padding:6px 0;text-underline-offset:4px}
#socialLobby .camp-tools button:hover,#socialLobby .lobby-shop:hover{text-decoration:underline}
.lobby-departures{display:flex;gap:8px;flex-wrap:wrap}
#socialLobby .camp-depart,#socialLobby .desk-create{border:1px solid #f1d9a2;border-radius:6px;line-height:1.2;font-family:inherit;font-size:15px;font-weight:700;min-height:47px;padding:10px 18px;background:linear-gradient(115deg,#f3deb0,#d9b772);color:#292b21;cursor:pointer}
.camp-depart{flex:1}
#socialLobby #resumeRoom:not(.hidden) + #lobbySolo{background:#1a302b;color:#eee2c5;border-color:var(--edge)}
.muster-desk{min-width:0;padding:clamp(22px,3.5vw,55px);border-left:1px solid #d7c19048;background:linear-gradient(165deg,#243a37,#182c2a 50%,#142724)}
.desk-tabs{display:flex;gap:clamp(12px,2vw,32px);border-bottom:1px solid var(--edge)}
.desk-tabs button{position:relative;padding:0 0 12px;border:0;background:transparent;color:var(--muted);line-height:1.4;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer}
.desk-tabs button[aria-selected=true]{color:#ffe4aa}
.desk-tabs button[aria-selected=true]::after{content:"";position:absolute;inset:auto 0 -1px;height:3px;background:var(--gold)}
#socialLobby [role=tabpanel][hidden]{display:none!important}
.desk-panel{padding-top:clamp(20px,3vw,40px);min-width:0}
#socialLobby .lobby-room-heading{margin:0 0 18px;gap:12px;align-items:center}
#socialLobby .lobby-room-heading h2,#socialLobby .notice-heading h2{font:600 clamp(22px,2.4vw,34px)/1.25 Georgia,"Noto Serif KR",serif;margin:0;letter-spacing:-.055em;color:var(--ink)}
#socialLobby .lobby-room-heading small{margin:4px 0 0;display:block;color:var(--muted);font-size:12px}
#socialLobby .text-btn{color:var(--gold);font-size:12px;background:transparent;border:0;padding:8px}
#socialLobby .rooms-list{max-height:clamp(168px,32dvh,380px);min-height:0}
#socialLobby .room-row{border:0;border-top:1px solid var(--edge);background:transparent;border-radius:0;margin:0;padding:14px 2px;gap:12px}
#socialLobby .room-row strong{color:#fff0d7;font-size:15px}
#socialLobby .room-row small{color:var(--muted);font-size:11px}
#socialLobby .room-row button,#socialLobby #chatForm button{background:#e5c78e;color:#24342d;border:0;border-radius:4px;min-height:34px}
#socialLobby .room-empty{display:grid;place-content:center;justify-items:center;gap:8px;padding:22px 10px;min-height:135px;background:radial-gradient(ellipse at center,#3a51453d,transparent 74%);border-block:1px solid var(--edge);border-radius:0}
#socialLobby .room-empty>span{color:var(--gold);font:36px Georgia,serif}
#socialLobby .room-empty small{color:var(--muted);font-size:12px}
#socialLobby .desk-create{display:block;width:100%;background:#354a3e;color:#ffe4ae;border-color:#b29d6d99;margin:15px 0 6px}
#socialLobby .camp-depart:enabled:hover,#socialLobby .desk-create:enabled:hover{filter:brightness(1.09)}
.camp-rules{color:var(--muted);font-size:12px;line-height:1.6}
.camp-rules summary{padding:8px 0;cursor:pointer}.camp-rules p{margin:0}
#socialLobby .channel-chat,#socialLobby .notice-board{border:0;background:transparent;padding:0;margin:0;box-shadow:none;border-radius:0}
#socialLobby .channel-chat>header{padding:0 0 15px}
#socialLobby #chatTitle{font-size:18px}
#socialLobby .chat-messages{height:clamp(95px,21dvh,250px);padding:12px 2px}
#socialLobby .channel-chat form{padding:12px 0 0}
#socialLobby .notice-board [data-list]{max-height:34dvh}
#socialLobby :focus-visible{outline:2px solid #ffe2a2;outline-offset:3px}
@media(max-height:590px) and (orientation:landscape){
 #socialLobby{padding-bottom:max(8px,env(safe-area-inset-bottom))}
 #socialLobby .lobby-header{min-height:40px;padding:2px 0;gap:12px}
 #socialLobby .brand{font-size:15px}.muster-layout{grid-template-columns:minmax(0,.89fr) minmax(0,1fr);min-height:calc(100dvh - 52px);border-radius:10px}
 .muster-camp{gap:36px}.camp-heading{padding:14px 18px}.camp-heading h1{font-size:26px}.camp-compass{font-size:20px}
 .camp-sheet{padding:0 18px 12px}.camp-painting{background-size:cover,auto 88%;background-position:center,71% -5px}
 #socialLobby .camp-id canvas{width:44px;height:44px}#socialLobby .camp-id strong{font-size:20px}
 .camp-id{gap:8px}.camp-tools{gap:0 10px;margin:2px 0 3px}#socialLobby .camp-tools button{font-size:11px}
 .muster-desk{padding:14px 18px}.desk-tabs button{font-size:13px;padding-bottom:7px}.desk-panel{padding-top:12px}
 #socialLobby .lobby-room-heading{margin:0 0 8px}#socialLobby .lobby-room-heading h2,#socialLobby .notice-heading h2{font-size:21px}
 #socialLobby .rooms-list{max-height:32dvh}#socialLobby .room-row{padding:6px 0}#socialLobby .room-empty{min-height:74px;padding:6px;gap:3px}#socialLobby .room-empty>span{font-size:24px}
 #socialLobby .desk-create,#socialLobby .camp-depart{min-height:36px;font-size:13px;padding:7px 10px}#socialLobby .desk-create{margin:8px 0 2px}
 #socialLobby .channel-chat>header{padding:0 0 5px}#socialLobby .chat-messages{height:19dvh}#socialLobby .channel-chat form{padding-top:5px}
}
@media(max-width:640px) and (orientation:portrait){
 .muster-layout{grid-template-columns:1fr}.muster-camp{gap:75px}.muster-desk{border-left:0;border-top:1px solid var(--edge)}
 #socialLobby .lobby-header{min-height:48px;gap:9px}#socialLobby .brand{font-size:16px}
}

.create-room-dialog .create-room-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #b4b28a44}
.create-room-heading h2{margin:0;font-size:21px}
.create-room-heading button{flex-shrink:0;min-height:40px;padding:8px 16px;border:1px solid #bfa46f;border-radius:6px;color:#f3dcaa;background:#233e33}
.create-room-dialog .create-room{margin:0;padding:16px 22px 20px}
.create-room-dialog .create-room>label:first-child{margin-top:0}
.create-room-dialog .create-room>label small{letter-spacing:0}
.create-room-dialog #roomPasswordHint{margin:4px 0 12px;color:#bfd0bf}
.create-room-dialog .room-option{min-height:32px}
.create-room-dialog #createRoomError:empty{display:none}
.create-room-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.create-room-dialog footer #cancelCreateRoom{margin:0}
@media(max-height:450px) and (orientation:landscape){
 .create-room-dialog{max-height:95dvh}
 .create-room-dialog .create-room-heading{padding:6px 16px}
 .create-room-dialog .create-room{padding:8px 16px}
 .create-room-dialog .create-room>label{margin:6px 0 3px}
 .create-room-dialog .create-room>input{padding:7px 10px}
 .create-room-dialog #roomPasswordHint,.create-room-dialog footer{margin:4px 0}
}
.solo-chapter-dialog{box-sizing:border-box;max-height:90dvh;overflow:auto;padding:18px}
.solo-chapter-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.solo-chapter-dialog h2{margin:0;font-size:20px}
.solo-chapter-list{display:grid;gap:7px}
.solo-chapter-list button{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 12px;min-height:46px;padding:10px 14px;text-align:left;border:1px solid #9baa89;border-radius:7px;background:#224438;color:#f6f0d8}
.solo-chapter-list button[aria-current]{border-color:#e5c68a}
.solo-chapter-list button:enabled:is(:hover,:focus-visible){background:#335846;outline:2px solid #e5c68a;outline-offset:1px}
.solo-chapter-list button:disabled{opacity:1;color:#acb8ac;background:#23332f;border-color:#55665c}
.solo-chapter-list span{font-size:12px}
