/* A photographic entrance to the town, with a natural document flow on tablets. */
body.auth-page { --paper:#eef2f3; --surface:#fff; --ink:#142d3a; --muted:#4b626e; --line:#dce4e7; --header-height:80px; min-height:100svh; }
body.auth-page.dark { --paper:#091f2c; --surface:#102d3b; --ink:#f0f6f8; --muted:#c2d1d8; --line:#34505f; }
.auth-entry { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); align-items:start; gap:32px; max-width:1300px; width:calc(100% - 64px); min-height:calc(100svh - 144px); margin:32px auto; }
.auth-visual { min-width:0; position:sticky; top:24px; }
.auth-scene { position:relative; isolation:isolate; height:clamp(580px,calc(100svh - 160px),760px); margin:0; overflow:hidden; border-radius:24px; background:#102b3b; color:#fff; }
.auth-scene-main { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:51% center; z-index:-2; }
.auth-scene::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,#071e2b12 10%,#071e2b18 30%,#071e2bc9 65%,#071e2bf5 100%); }
.auth-location { position:absolute; top:26px; left:26px; display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid #ffffff40; border-radius:9px; background:#0a2435dc; font-size:14px; font-weight:700; }
.auth-location .svg-icon { width:18px; height:18px; color:#f0ce90; }
.auth-castle-peek { position:absolute; top:26px; right:26px; width:clamp(125px,14vw,180px); height:130px; object-fit:cover; object-position:55% 64%; border:3px solid #fff; border-radius:14px; box-shadow:0 8px 30px #071e2b33; }
.auth-story { position:absolute; bottom:34px; left:34px; right:34px; }
body.auth-page .auth-story .eyebrow { color:#f2d295; font-size:12px; font-weight:750; }
body.auth-page .auth-story h2 { color:#fff; font-size:clamp(34px,3.4vw,48px); line-height:1.16; font-weight:750; letter-spacing:-.045em; max-width:14ch; margin:16px 0; }
.auth-story p { font-size:16px; line-height:1.7; color:#f0f5f6; max-width:35ch; margin:0; }
.auth-photo-credits { color:var(--muted); padding:2px 8px 0; font-size:12px; line-height:1.6; }
.auth-photo-credits summary { cursor:pointer; padding:8px 0; font-weight:600; }
.auth-photo-credits p { margin:5px 0 10px; }
.auth-photo-credits a { text-decoration:underline; }
.account-panel { width:100%; min-width:0; background:var(--surface); padding:36px; border:1px solid var(--line); border-radius:24px; box-shadow:0 12px 36px #102b3b08; }
.account-tabs { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:5px; padding:5px; margin-bottom:30px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.account-tabs a { display:flex; align-items:center; justify-content:center; min-height:46px; padding:10px; border-radius:8px; font-size:15px; font-weight:700; line-height:1.4; text-align:center; }
.account-tabs a:hover { text-decoration:none; background:#dbe5e8; }
.account-tabs a[aria-current=page] { color:#fff; background:#123c50; box-shadow:0 2px 5px #102b3b12; }
.account-heading .eyebrow { font-size:12px; color:var(--bronze); }
body.auth-page .account-heading h1 { margin:12px 0; font-size:clamp(29px,2.6vw,36px); line-height:1.2; font-weight:750; letter-spacing:-.04em; }
.account-heading p { font-size:16px; line-height:1.65; color:var(--muted); margin:0; max-width:42ch; }
.auth-page .account-form { gap:20px; margin:28px 0 22px; }
.auth-page .account-form label { font-size:16px; font-weight:650; line-height:1.5; gap:9px; }
.auth-page .account-form input:not([type=checkbox]),.auth-page .account-form select { width:100%; min-height:52px; font-size:16px; padding:13px 14px; background:var(--surface); border:1px solid #aebfc8; border-radius:9px; }
.auth-page .account-form input:focus-visible,.auth-page .account-form select:focus-visible { outline:3px solid #4399ba; outline-offset:2px; }
.account-password-field > label { display:block; margin-bottom:9px; }
.account-password { position:relative; min-width:0; }
.auth-page .account-password input { padding-right:60px!important; }
.password-toggle { position:absolute; inset-inline-end:5px; top:4px; display:grid; place-items:center; width:44px; height:44px; background:transparent; color:var(--muted); border-radius:7px; }
.password-toggle:hover { background:var(--paper); }
.password-toggle .svg-icon { width:22px; height:22px; }
.password-slash { display:none; }
.password-toggle[aria-pressed=true] .password-slash { display:block; }
.auth-page .account-form .fine-print { font-size:14px; margin:0; line-height:1.65; }
.auth-page .visitor-document { margin:2px 0 0; padding:18px; background:var(--paper); border-color:var(--line); }
.auth-page .visitor-document legend { font-size:19px; font-weight:750; }
.auth-page .visitor-document > .fine-print + .fine-print { margin-top:10px; }
.auth-page .visitor-document .checkbox-label { font-size:14px; line-height:1.6; }
.auth-page .visitor-document .checkbox-label input { min-height:0; }
.auth-page .account-submit { width:100%; min-height:54px; font-size:16px; font-weight:750; border-radius:9px; }
.account-privacy { border-top:1px solid var(--line); padding-top:8px; color:var(--muted); font-size:14px; }
.account-privacy summary { display:flex; align-items:center; gap:9px; min-height:44px; cursor:pointer; font-weight:650; list-style:none; }
.account-privacy summary::-webkit-details-marker { display:none; }
.account-privacy summary > .svg-icon { width:19px; height:19px; color:var(--green); }
.account-privacy p { margin:8px 0; line-height:1.7; }
.auth-page.dark .account-tabs a:hover { background:#213e4e; }
.auth-page.dark .account-tabs a[aria-current=page] { background:#c99c51; color:#102b3b; }
.auth-page.dark .account-form input:not([type=checkbox]),.auth-page.dark .account-form select { background:#0c2533; border-color:#66818f; }
@media (min-width:900px) and (max-width:1099px) {
  .auth-entry { grid-template-columns:minmax(0,.8fr) minmax(0,1.1fr); gap:24px; width:calc(100% - 48px); margin:24px auto; }
  .account-panel { padding:28px; }
  .auth-story { left:26px; right:26px; bottom:28px; }
  .auth-castle-peek { width:125px; height:100px; top:22px; right:22px; }
  .auth-location { left:22px; top:22px; font-size:12px; padding:8px; gap:5px; }
}
@media (max-width:899px) {
  .auth-entry { grid-template-columns:minmax(0,1fr); gap:18px; width:calc(100% - 48px); max-width:704px; margin:24px auto; min-height:0; }
  .auth-visual { position:static; }
  .auth-scene { height:250px; border-radius:20px; }
  .auth-scene-main { object-position:center 48%; }
  .auth-story { left:26px; right:26px; bottom:24px; }
  body.auth-page .auth-story h2 { font-size:34px; max-width:17ch; margin:9px 0 0; }
  .auth-story p { display:none; }
  .auth-castle-peek { width:150px; height:105px; top:20px; right:20px; }
  .auth-location { top:20px; left:24px; }
  .account-panel { padding:32px; border-radius:20px; }
  .account-tabs { margin-bottom:24px; }
}
@media (max-width:599px) {
  body.auth-page { --header-height:calc(70px + env(safe-area-inset-top,0px)); }
  .auth-entry { width:calc(100% - 24px); gap:12px; margin:12px auto 24px; }
  .auth-scene { height:190px; border-radius:16px; }
  .auth-location { top:14px; left:16px; max-width:calc(100% - 130px); padding:7px 8px; font-size:12px; }
  .auth-castle-peek { top:14px; right:14px; width:92px; height:75px; border-width:2px; border-radius:10px; }
  .auth-story { left:20px; right:18px; bottom:18px; }
  .auth-story .eyebrow { display:none; }
  body.auth-page .auth-story h2 { font-size:28px; max-width:12ch; line-height:1.16; }
  .auth-photo-credits { font-size:11px; }
  .account-panel { padding:24px 20px; border-radius:16px; }
  body.auth-page .account-heading h1 { font-size:30px; }
  .account-heading p { font-size:16px; }
  .auth-page .account-form { margin-top:24px; }
  .auth-page .visitor-document { padding:15px; }
}
@media (max-width:350px) {
  .account-panel { padding:22px 16px; }
  .auth-location { font-size:11px; gap:4px; padding:7px 6px; }
  body.auth-page .auth-story h2 { font-size:26px; max-width:12ch; }
}
