/* The catalogue comes before the kitchen scene and member services on every input device. */
.lobby .welcome {display:block;margin-bottom:16px}
.lobby .lobby-header {max-width:none}
.lobby .lobby-header h1 span {display:inline}
.lobby .welcome-intro {margin-top:6px}
.lobby .game-menu {margin:0;padding:clamp(13px,2.3vw,25px);border-radius:22px;background:#fff4e4}
.menu-caption {margin:0 0 10px;color:#714a32;font-size:16px;letter-spacing:.05em}
.mm-menu .game-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mm-menu .game-card {display:grid;grid-template-columns:clamp(78px,10vw,118px) minmax(0,1fr);align-items:stretch;border-radius:16px;border-color:#cdb29b;box-shadow:0 2px 3px #59341d15}
.mm-menu .game-card-art {height:100%;min-height:94px;aspect-ratio:auto;background:#4f342a}
.mm-menu .game-card-art img {position:absolute;inset:0;object-position:center 40%;animation:none}
.mm-menu .game-card-art::before {display:none}
.mm-menu .game-card-copy {padding:9px 13px;gap:2px;justify-content:center;align-items:start}
.mm-menu .game-card-tag {display:none}
.mm-menu .game-card-name {font-size:clamp(17px,2vw,23px);line-height:1.2;color:#402a21}
.mm-menu .game-card-play,.mm-menu .game-card-line {font-size:14px;line-height:1.35;color:#6e4736}
.mm-menu .game-card:not(.has-progress):not(.game-card-gacha) .game-card-line {display:none}
.mm-menu .game-card-enter {display:inline-flex;min-height:0;margin:2px 0 0;padding:0;background:none;color:#8d3f22;font-size:13px;line-height:1.4;letter-spacing:0}
.mm-menu .game-card-enter b {font-size:15px}
.mm-menu .game-card-gacha {border-style:dashed;background:#fff9ee}
.after-menu {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:18px;margin:18px auto}
.after-menu [data-member-prompt] {max-width:550px;width:100%;justify-self:center}
@media(max-width:640px) {
  .lobby .welcome {margin-bottom:10px}
  .lobby .lobby-header {padding:22px 48px 0 2px}
  .lobby .lobby-header h1 {font-size:30px}
  .lobby .lobby-header .brand-name {margin-bottom:4px}
  .mm-menu .game-grid {grid-template-columns:1fr;gap:7px}
  .mm-menu .game-card {grid-template-columns:minmax(64px,24%) minmax(0,1fr)}
  .mm-menu .game-card-art {min-height:81px}
  .mm-menu .game-card-copy {padding:6px 10px}
  .mm-menu .game-card-name {font-size:18px}
  .after-menu {grid-template-columns:1fr}
}

/* These elements exist only while a game's native start panel is open. */
.first-cue {display:grid;grid-template-columns:minmax(85px,38%) 1fr;overflow:hidden;isolation:isolate;align-items:center;text-align:left;border-radius:15px;margin:10px 0;background:#462d23;color:#fff2d4}
.first-cue img {display:block;width:100%;height:clamp(105px,16svh,145px);object-fit:cover;object-position:50% 42%}
.first-cue p {margin:0!important;padding:8px 12px;font:inherit!important;line-height:1.42!important;color:inherit!important;text-align:left!important}
.first-cue strong,.first-cue span,.first-adventure span,.first-rhythm span {display:block}
.first-cue strong {color:#ffdc9b;font-size:clamp(18px,4.5vw,23px);line-height:1.25}
.first-cue span {margin-top:6px;font-size:14px;line-height:1.48}
#modal-panel:has(.first-cue) .member-prompt-top {display:none}
#panel:has(.first-cue) .intro-targets {margin:6px auto}
#panel .first-safe {font-size:14px;margin:5px 0;color:#35564e}
#modal-panel:has(.first-cue) :is(.btn,.text-btn),#panel:has(.first-cue) :is(.btn,.text-btn) {min-height:44px}
.first-rhythm {margin:0 2px;text-align:left;color:#ffdea7;line-height:1.35}
.first-rhythm span {font-size:13px;color:#f0d8ca}
.rhythm-lobby .first-rhythm {display:grid;grid-template-columns:46px 1fr;gap:0 8px;align-items:center}
.rhythm-lobby .first-musician {display:block;grid-column:1;grid-row:1 / 3;align-self:stretch;width:46px;height:43px;object-fit:cover;object-position:50% 24%;border-radius:8px;background:#754e37}
.rhythm-lobby .first-rhythm strong,.rhythm-lobby .first-rhythm span {grid-column:2}
[data-member-modal]:has(.first-cue) .member-prompt {border-color:#d7c7ad;background:#f7eedf;box-shadow:none}
[data-member-modal]:has(.first-cue) .member-prompt-action {border-color:#997453;background:#fff7eb;color:#68472f}
[data-member-modal]:has(.first-cue) .member-prompt-action:disabled {border-color:#c6bcae;background:#f2ece2;color:#716657;opacity:1}
[data-member-modal]:has(.first-cue) .member-prompt :is(strong,p) {color:#644e3c}
.first-adventure {margin:0 0 8px;padding:7px 10px;border-radius:9px;background:#151d29dd;color:#ffe1ab;font-size:13px;line-height:1.4;pointer-events:none}
.first-adventure span {color:#f6ede4}
/* 提示放在出發鈕上方，不壓住美美與裝備欄；新手第一次碰大廳就收起。 */
.first-adventure {transition:opacity .4s ease,visibility .4s}
.first-adventure.is-gone {opacity:0;visibility:hidden}
.first-adventure .touch-cue {display:none}
body.touch .first-adventure .touch-cue {display:block}
body.touch .first-adventure .key-cue {display:none}
@media (orientation:landscape) and (max-height:560px) {
  body.touch .adventure-lobby:has(.first-adventure) {--lobby-controls:92px}
}
@media (orientation:landscape) and (max-height:500px) {
  .first-adventure {margin:0 0 5px;padding:3px 7px}
  .first-cue img {height:75px}
}
