.stage-lobby { width: min(100%, 600px); height: 100dvh; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; color: #f8f3df; background: url('../assets/moon2/bg-page.jpg') center / cover fixed; }
.stage-lobby-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stage-lobby-header h1 { margin: 4px 0; font-size: 24px; }
.stage-lobby-header > div > span { font-size: 12px; color: #f5d97d; }
.stage-lobby-tools { display: flex; gap: 6px; flex-shrink: 0; }
.stage-lobby-tools .icon-button { width: 36px; height: 36px; background: #203f48; color: #f5ecc5; border-color: #678384; border-radius: 6px; }
.stage-portrait { position: relative; height: 210px; display: grid; place-items: center; margin: 6px 0; }
.stage-portrait img { width: 190px; height: 190px; object-fit: contain; }
#lobby-stage-state { position: absolute; bottom: 0; right: 4px; padding: 4px 8px; background: #184f47; color: #b7f1cd; border-radius: 4px; font-size: 12px; }
.stage-lobby-title { text-align: center; }
.stage-lobby-title p { margin: 8px 0; font-size: 13px; color: #f2db99; min-height: 18px; }
.stage-lobby-title h2 { margin: 6px 0; font-size: 23px; overflow-wrap: anywhere; line-height: 1.35; }
#lobby-timing { font-variant-numeric: tabular-nums; }
.stage-lobby .command-button { width: 100%; margin-top: 14px; min-height: 48px; background: #f1d176; color: #233936; border-color: #f6e4ad; border-radius: 6px; }
.stage-lobby .command-button:disabled { opacity: .55; cursor: not-allowed; }
.stage-lobby-message { min-height: 20px; line-height: 1.5; font-size: 12px; color: #ffdbc7; margin: 8px 0; }
.stage-lobby-progress { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 16px; margin-top: 12px; font-size: 13px; }
.stage-lobby-progress small { flex-basis: 100%; text-align: center; color: #bccdd0; font-size: 11px; }
.lobby-reward { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 0; margin-top:12px; border-block:1px solid #819997; }
.lobby-reward strong { font-size:14px; }
.lobby-reward p { margin:6px 0; font-size:13px; overflow-wrap:anywhere; }
.lobby-reward span { font-size:12px; color:#d6e9cb; }
.lobby-reward button { padding:9px 12px; border:1px solid #dcce9d; border-radius:5px; background:#efe2a8; color:#244739; flex-shrink:0; cursor:pointer; }
.lobby-reward button:disabled { opacity:.5; cursor:default; }
.lobby-ranking { width:100%; display:flex; justify-content:center; align-items:center; gap:8px; margin-top:10px; padding:10px; background:transparent; border:1px solid #819997; color:#f6eac9; border-radius:5px; cursor:pointer; }
.lobby-ranking svg { width:17px; height:17px; }
.lobby-resume { width: 100%; display: flex; align-items: center; gap: 8px; text-align: left; margin-top: 12px; padding: 10px 12px; border: 1px solid #87c1ae; border-radius: 6px; background: #245b50; color: #dff6db; cursor: pointer; }
.lobby-resume span { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.lobby-resume svg { width: 18px; height: 18px; flex-shrink: 0; }
.stage-schedule { border-top: 1px solid #869ca0; padding-top: 14px; }
.stage-schedule-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stage-schedule-heading h3 { font-size: 16px; margin: 0 0 12px; }
.stage-schedule-heading span { font-size: 12px; color: #cbdbd8; }
.stage-schedule-list { display: grid; gap: 8px; }
.stage-choice { width: 100%; min-height: 74px; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: left; padding: 8px 12px; border: 1px solid #7d989e; border-radius: 6px; background: #173840; color: #f6edce; cursor: pointer; }
.stage-choice[aria-pressed="true"] { border-color: #f3d579; box-shadow: inset 3px 0 #f3d579; background: #27544e; }
.stage-choice img { width: 54px; height: 54px; object-fit: contain; }
.stage-choice strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.stage-choice small { display: block; font-size: 12px; color: #d1dfd9; margin-top: 5px; overflow-wrap: anywhere; }
.stage-choice-state { font-size: 11px; color: #f3d579; max-width: 72px; text-align: right; }
.stage-choice.is-cleared .stage-choice-state::after { content: ' · 已通关'; display: block; color: #b1ecbd; }
#stage-menu-button { position: absolute; top: 44px; left: 36px; width: 30px; height: 26px; border-radius: 4px; z-index: 5; }
.has-stage-menu .sync-detail { left: 72px; max-width: calc(100% - 210px); }
.has-stage-menu .role-bind-entry { display: none; }
@media (min-width: 700px) { .stage-lobby { padding: 22px 32px 32px; } .stage-portrait { height: 230px; } .stage-portrait img { width: 210px; height: 210px; } }
@media (max-width: 350px) { .stage-lobby { padding-inline: 12px; } .stage-lobby-header h1 { font-size: 20px; } .stage-lobby-tools { gap: 4px; } .stage-lobby-tools .icon-button { width: 32px; height: 32px; } .stage-portrait { height: 175px; } .stage-portrait img { width: 165px; height: 165px; } }
