/* Shared account controls across the game and adventure shells. */
.museum-account-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:42px;padding:9px 13px;border:1px solid #e2e8f0;border-radius:10px;background:#ffffff;color:#172033;font-family:inherit;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none;white-space:nowrap}
.museum-account-link:hover{background:#f8fafc}
.museum-account-link:focus-visible{outline:3px solid #e8a832;outline-offset:3px}
.museum-account-ui #adventureAccountMenuButton,.museum-account-ui #adventureAccountMenu{display:none!important}
.museum-account-page .adventure-auth-layout{margin-top:24px}.museum-account-page .adventure-auth-visual{display:none}.museum-account-page .adventure-auth-layout{display:block;max-width:560px;margin:24px auto}.museum-account-page .adventure-auth-panel{padding:0;background:transparent}.museum-account-page .adventure-auth-box{max-width:none}
.museum-account-back{display:inline-block;color:#475569;margin:10px 0;text-decoration:underline;text-underline-offset:4px}
.museum-account-home{max-width:760px;margin:28px auto;color:#172033}.museum-account-home h1{font-size:32px;margin:0 0 10px}.museum-account-home>p{line-height:1.7}.museum-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.museum-account-grid a{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;text-decoration:none;color:#172033}.museum-account-grid span{font-size:14px;color:#64748b;line-height:1.6}
.museum-account-ui .adventure-place-brand{min-width:0}.museum-account-ui .escape-brand{min-width:0}.museum-account-ui .adventure-header-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:600px){.museum-account-link{font-size:12px;padding:8px 11px;min-height:40px}.museum-account-ui .adventure-header-actions>.adventure-review-link{display:none}.museum-account-ui #adventurePlaceCards,.museum-account-ui .escape-access-badge{display:none}.museum-account-ui .review-mode-badge{display:none}.museum-account-ui .adventure-place-brand img{display:none}.museum-account-ui .adventure-place-brand span{font-size:13px}.museum-account-ui .escape-brand img{display:none}.museum-account-ui .escape-brand span{font-size:13px}.museum-account-grid{grid-template-columns:1fr}.museum-account-home{margin:20px 0}.museum-account-page .adventure-auth-layout{margin-top:12px}}

.museum-account-page #adventureLogin{max-width:600px;margin:0 auto;padding:8px 20px 24px;border:0}.museum-account-page .adventure-main{padding:16px 20px}.museum-account-page .museum-account-back{margin-left:0}
/* Auth forms need normal layout: container containment left dynamic errors without a box in Chrome. */
.museum-account-page .adventure-app{container-type:normal}

.museum-entitlements{padding:20px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;margin-bottom:24px}.museum-entitlements h2{font-size:19px;margin:0 0 12px}.museum-entitlements p,.museum-entitlements li{font-size:14px;line-height:1.75;color:#64748b}.museum-entitlements a{color:#c2410c;text-underline-offset:4px}
/* One account entry in the header; service identity is already shown in the tabs. */
html.museum-account-ui body .gameland-topbar .review-mode-badge{display:none!important}
.museum-account-link{height:40px;min-height:40px;padding:8px 12px;border-radius:10px;box-sizing:border-box}
/* Match the existing orange navigation and dark text; keep the game artwork dominant. */
html.museum-account-ui .history-entry-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border:1px solid #e2e8f0;border-radius:12px;background:#f6f7fa}
html.museum-account-ui .history-entry-switch button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:60px;padding:8px;border:1px solid transparent;border-radius:9px;background:transparent;color:#475569;box-shadow:none;font-family:inherit}
html.museum-account-ui .history-entry-switch button[aria-selected="true"]{background:#fff3e7;border-color:#fed7aa;color:#c2410c;box-shadow:none}
html.museum-account-ui .history-entry-switch button:hover{background:#fffaf5}
html.museum-account-ui .history-entry-switch .museum-service-icon{display:block;width:30px;height:30px;flex:0 0 30px;object-fit:contain}
html.museum-account-ui .history-entry-switch .history-entry-label{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;line-height:1.3;min-width:0}
html.museum-account-ui .history-entry-label strong{font-size:13px;font-weight:800;white-space:nowrap}
html.museum-account-ui .history-entry-label small{font-size:10px;font-weight:500;color:#64748b;white-space:nowrap}
html.museum-account-ui .history-entry-switch button[aria-selected="true"] small{color:#9a5b32}
@media(max-width:380px){html.museum-account-ui .history-entry-switch button{gap:6px;padding:7px 4px;min-height:58px}html.museum-account-ui .history-entry-switch .museum-service-icon{width:27px;height:27px;flex-basis:27px}html.museum-account-ui .history-entry-label strong{font-size:12px}.museum-account-link{padding-inline:10px}}

/* The shared account route belongs to the museum, rather than a single adventure. */
body.museum-account-page{background:#f5f6fa}
body.museum-account-page .adventure-app{background:#f5f6fa;min-height:100dvh;--adv-ink:#172033;--adv-muted:#64748b;--adv-line:#e2e8f0}
body.museum-account-page .adventure-topbar{justify-content:flex-start;min-height:72px;padding:14px 24px;background:#fff;border-bottom:1px solid #e2e8f0;gap:14px}
body.museum-account-page .adventure-brand{gap:0;flex:0 1 auto}
body.museum-account-page .museum-account-wordmark{display:block;width:110px;height:32px;object-fit:contain}
.museum-account-header-back{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#172033;text-decoration:none}
.museum-account-header-back:hover{background:#f8fafc}
.museum-account-header-caption{margin-left:auto;color:#64748b;font-size:12px;white-space:nowrap}
body.museum-account-page .adventure-header-actions,body.museum-account-page .adventure-footer{display:none}
body.museum-account-page .adventure-main{padding:40px 20px 64px}
body.museum-account-page #adventureLogin{max-width:480px;padding:0;margin:0 auto;background:transparent}
body.museum-account-page .adventure-auth-layout{max-width:none;margin:0}
body.museum-account-page .adventure-auth-panel{display:block;padding:32px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 8px 28px rgba(23,32,51,.04)}
body.museum-account-page .adventure-auth-box{width:100%}
body.museum-account-page .adventure-auth-box h2{color:#172033;font-size:24px;letter-spacing:-.04em;word-break:keep-all}
body.museum-account-page .adventure-auth-box>p{margin:10px 0 24px;color:#64748b;font-size:14px;line-height:1.7;word-break:keep-all}
body.museum-account-page .adventure-auth-tabs{padding:4px;margin:0 0 24px;border:1px solid #e2e8f0;border-radius:12px;background:#f6f7fa}
body.museum-account-page .adventure-tab{min-height:44px;border-radius:9px;border:1px solid transparent;color:#64748b;background:transparent}
body.museum-account-page .adventure-tab[aria-selected="true"]{color:#c2410c;background:#fff3e7;border-color:#fed7aa}
body.museum-account-page .adventure-form{gap:18px}
body.museum-account-page .adventure-form-field{gap:8px}
body.museum-account-page .adventure-form-field span{color:#334155;font-size:13px;font-weight:700}
body.museum-account-page .adventure-form input{min-height:50px;border-color:#cbd5e1;border-radius:10px;font-size:16px;color:#172033}
body.museum-account-page .adventure-form input::placeholder{color:#8591a1;font-size:14px}
body.museum-account-page .adventure-button{min-height:50px;background:#f97316;border-color:#f97316;border-radius:12px;font-size:16px}
body.museum-account-page .adventure-button:not(:disabled):hover{background:#ea580c}
body.museum-account-page .adventure-button .ms,body.museum-account-page .adventure-privacy .ms{display:none}
body.museum-account-page .adventure-inline-action{font-size:13px;color:#64748b;min-height:44px;padding:8px 0;margin-top:-8px}
body.museum-account-page .adventure-privacy{color:#64748b;font-size:12px;line-height:1.7}
body.museum-account-page .adventure-auth-box>.museum-account-free-note{margin:20px 0 0;padding-top:18px;border-top:1px solid #e2e8f0;font-size:12px}
body.museum-account-page .adventure-app :is(button,a,input):focus-visible{outline:3px solid #fdba74;outline-offset:3px}
@media(max-width:600px){
  body.museum-account-page .adventure-topbar{padding:12px 16px;min-height:64px;gap:12px}
  body.museum-account-page .adventure-main{padding:24px 16px 40px}
  body.museum-account-page .adventure-auth-panel{padding:24px 20px;border-radius:16px}
  body.museum-account-page .adventure-auth-box h2{font-size:22px}
  body.museum-account-page .adventure-auth-box>p{font-size:13px}
}
/* Shared account status appears after reservation lookup and before missions. */
.gameland-card-status{margin:14px 0;padding:14px 16px;border:1px solid #c7dcd3;border-radius:14px;background:#eff7f2;color:#234e43;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.gameland-card-status p{margin:0 0 8px}
.gameland-card-status button{min-height:44px;padding:10px 16px;border:0;border-radius:10px;background:#1d614f;color:white;font:inherit;font-weight:700}

.gameland-card-status>a{display:inline-block;min-height:44px;padding:10px 8px;margin-left:6px;color:inherit;box-sizing:border-box}
