@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/lodge-font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/lodge-font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/lodge-font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/lodge-font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/lodge-font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/lodge-font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/lodge-font-6.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/lodge-font-7.ttf) format('truetype');
}

:root{color-scheme:dark;--ink:#15111c;--cream:#f3e8d8;--muted:#c1b6bf;--gold:#d2b484;--purple:#9983b5;--line:rgba(218,191,155,.23);font-family:'DM Sans',sans-serif;font-size:16px;color:var(--cream);background:#110e17}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait}button:focus-visible{outline:2px solid #e8cfab;outline-offset:5px}button{touch-action:manipulation}button:hover{color:#fff8e9}button:disabled{opacity:.65}[hidden]{display:none!important}::selection{background:#745772;color:#fff}#game{position:relative;width:100%;height:100svh;min-height:440px;overflow:hidden;background:#15121e}#scene-viewport{position:absolute;inset:0;overflow:hidden;touch-action:pan-y}#world{position:absolute;width:100%;height:100%;left:0;top:0;will-change:transform;transform-origin:50% 50%;user-select:none}#scene-art{position:absolute;width:100%;height:100%;object-fit:fill;pointer-events:none}#scene-light{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 60%,transparent 40%,#120d2120 100%);pointer-events:none}#scene-objects{position:absolute;inset:0}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0d0a18a6 0%,transparent 22%,transparent 65%,#0c0917cb 100%)}.grain{position:absolute;inset:0;pointer-events:none;opacity:.055;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.7' filter='url(%23n)'/%3E%3C/svg%3E")}.hud{position:absolute;top:0;left:0;right:0;padding:28px 34px;display:flex;align-items:center;justify-content:space-between;z-index:4;pointer-events:none}.hud button{pointer-events:auto}.identity{display:flex;align-items:center;gap:14px}.moon-mark{font-family:Georgia,serif;color:var(--gold);font-size:36px;line-height:1}.identity div{display:flex;flex-direction:column;gap:6px}.brand{font-size:12px;letter-spacing:.19em;font-weight:500;color:#e2d6c5}#location{font-family:'Cormorant Garamond',Georgia,serif;font-size:21px;letter-spacing:.025em;color:#e1d6e9}.hud-controls{display:flex;gap:8px}.icon-button{border:1px solid #dbcaad30;background:#15101a75;backdrop-filter:blur(8px);width:40px;height:40px;border-radius:50%;font-size:23px;display:grid;place-items:center;transition:background .2s}.icon-button:hover{background:#574052a0}.icon-button[aria-pressed=true]{color:var(--gold);border-color:#d2b48470}.arrival-title{position:absolute;left:7%;bottom:19%;pointer-events:none;z-index:2;text-shadow:0 2px 18px #100b19a0}.eyebrow{display:block;font-size:11px;letter-spacing:.24em;line-height:1.6;color:var(--gold);font-weight:600}.arrival-title h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(54px,6.9vw,110px);font-weight:400;line-height:.87;letter-spacing:-.025em;margin:23px 0 27px}.arrival-title h1 em{font-weight:400;color:#e6d0ba}.title-line{width:65px;height:1px;background:#d4ad77aa;margin-bottom:18px}.arrival-title p{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(18px,1.5vw,24px);letter-spacing:.01em;color:#ddd2d7}.travel-bar{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 34px;z-index:4;pointer-events:none}.travel-bar button{pointer-events:auto}.travel-button{border:1px solid var(--line);background:#1c1325b0;backdrop-filter:blur(10px);font-size:14px;padding:11px 17px;border-radius:3px;display:flex;gap:11px;align-items:center}.travel-button:hover{border-color:#d2b48499;background:#342437cc}.travel-hint{font-family:'Cormorant Garamond',Georgia,serif;font-size:18px;color:#e3d5dc;display:flex;align-items:center;gap:10px;text-align:center}.small-star{color:var(--gold);font-size:23px}.environment-label{font-size:10px;letter-spacing:.17em;color:#dfd0c48c}.hotspot{position:absolute;background:none;border:0;padding:0;display:flex;align-items:center;justify-content:center;transition:filter .2s;min-width:36px;min-height:36px}.secret-hotspot{cursor:default!important;border:0!important;outline:0!important}.secret-hotspot .marker,.secret-hotspot .hot-label{display:none}.secret-shift{position:absolute;inset:0;pointer-events:none;transition:transform .6s ease,filter .6s ease;background-repeat:no-repeat;background-size:100% 100%;clip-path:polygon(0% 25%,17% 25%,18% 76%,0% 85%)}.secret-shift.active{transform:translate(3px,-2px);filter:brightness(1.035)}.scene-caption{position:absolute;left:50%;transform:translateX(-50%);bottom:110px;text-align:center;z-index:3;pointer-events:none;font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;color:#e4d7db;text-shadow:0 2px 12px #000;max-width:700px;width:80%;line-height:1.5}.scene-caption:empty{display:none}.board-lettering{position:absolute;text-align:center;transform:translate(-50%,-50%);pointer-events:none;width:29%;padding:25px 16px;color:#dfc9a9;text-shadow:0 2px 5px #000}.board-lettering .eyebrow{font-size:12px;letter-spacing:.25em}.board-lettering h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:clamp(28px,3vw,52px);margin:12px 0 30px}.board-lettering p{font-family:'Cormorant Garamond',Georgia,serif;font-size:21px;line-height:1.6;color:#cbbbd0}.record-rule{height:1px;background:#bd96735a;margin:15px auto;width:70%}.record-dashes{font-size:17px;letter-spacing:.25em;line-height:2.8;color:#a9959960}.dialogue{position:absolute;bottom:94px;left:50%;transform:translateX(-50%);width:min(780px,calc(100% - 56px));z-index:8;background:linear-gradient(135deg,#271b30f5,#1d1524f5);border:1px solid #d0aa7552;border-radius:4px;padding:26px 34px 22px;box-shadow:0 20px 70px #0906109c;backdrop-filter:blur(18px);animation:dialogueIn .4s ease}.speaker{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.19em;color:#ecc3dc}.speaker-line{display:block;width:23px;height:1px;background:#d7b57d}.speaker small{color:#b9a7b4;font-size:10px;letter-spacing:.13em;margin-left:4px}.direction{color:#bcaabf;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:18px;margin:17px 0 8px}.dialogue-text{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(23px,2.4vw,30px);line-height:1.32;margin:0;min-height:70px;color:#f5e5e7}.dialogue-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:19px}#dialogue-count{font-size:12px;color:#b39faf;letter-spacing:.13em}#dialogue-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.text-button{border:0;background:transparent;color:#ddc49e;font-size:14px;padding:9px 0 9px 14px;min-height:38px}.text-button:hover{text-decoration:underline;text-underline-offset:5px}.text-button.primary{border:1px solid #b8915c66;padding:10px 18px;background:#8e634c26;border-radius:2px}.lodge-modal{color:var(--cream);background:linear-gradient(140deg,#2a1e31,#19141f);border:1px solid #cda87761;border-radius:5px;padding:38px;width:min(490px,calc(100vw - 32px));box-shadow:0 20px 80px #07030dcc}.lodge-modal::backdrop{background:#0e0914a6;backdrop-filter:blur(6px)}.lodge-modal h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:38px;font-weight:400;line-height:1.15;margin:13px 0 20px}.lodge-modal p{color:#d1c2cf;font-size:16px;line-height:1.75}.lodge-modal .note{font-size:14px;color:#ac9bad;border-top:1px solid var(--line);padding-top:15px}.close-button{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:27px;width:36px;height:36px;color:#bcabb9}.brass-button{background:#b5926030;border:1px solid #c09b65a0;padding:12px 21px;font-size:14px;border-radius:2px;margin-top:12px;min-height:44px}.brass-button:hover{background:#b5926050}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);gap:20px;font-size:16px}.setting-row small{display:block;color:#b6a5b9;font-size:13px;line-height:1.6;margin-top:5px}.setting-row input{accent-color:#c1a076;width:21px;height:21px;flex-shrink:0}.settings-help{font-size:14px!important;color:#b5a5b8!important}#transition{position:absolute;inset:0;background:#100c18;z-index:30;pointer-events:none;opacity:0;transition:opacity .4s;display:flex;align-items:center;justify-content:center}#transition.covered{opacity:1;pointer-events:auto}#transition-text{font-family:'Cormorant Garamond',Georgia,serif;color:#c7b9d1;font-size:26px;font-style:italic;letter-spacing:.03em}#skip-ascent{display:none;position:absolute;bottom:30px;right:34px;border:1px solid var(--line);background:#211529;font-size:14px;padding:11px 17px}body.ascending #skip-ascent{display:block}body.ascending #transition{background:transparent;opacity:1;pointer-events:none}body.ascending #skip-ascent{pointer-events:auto}body.ascending #scene-art{animation:climb 4.5s ease-in forwards;transform-origin:55% 29%}body.ascending .hud,body.ascending .travel-bar{opacity:.3;pointer-events:none}body.ascending .hud button{pointer-events:none}#loading,#load-error{position:absolute;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#15111e;text-align:center;padding:30px}#loading p{font-family:'Cormorant Garamond',Georgia,serif;font-size:23px;color:#c4b3ca}.loading-moon{font-size:60px;color:var(--gold);animation:breathe 2s infinite}#load-error h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:34px;font-weight:400}#load-error p{color:var(--muted)}#toast{position:absolute;left:50%;bottom:100px;transform:translate(-50%,10px);background:#24182ee8;border:1px solid var(--line);padding:13px 21px;max-width:85%;text-align:center;opacity:0;z-index:20;pointer-events:none;font-size:14px;transition:opacity .3s,transform .3s}#toast.show{opacity:1;transform:translate(-50%,0)}#mist{position:absolute;bottom:0;left:-20%;width:140%;height:30%;background:radial-gradient(ellipse at 30% 90%,#b7a2d226,transparent 55%),radial-gradient(ellipse at 75% 80%,#c1acdf20,transparent 50%);pointer-events:none;animation:drift 25s ease-in-out infinite alternate}.pan-controls{position:absolute;bottom:87px;left:50%;transform:translateX(-50%);z-index:5;display:flex;align-items:center;gap:10px;background:#16101ca8;border:1px solid var(--line);border-radius:24px;padding:2px 6px;color:#d0bbc9}.pan-controls button{border:0;background:transparent;width:40px;height:36px;font-size:27px}.pan-controls span{font-size:12px}body[data-scene=abyssal] .scene-caption{font-style:italic;color:#b9a5c7}body[data-scene=exterior] #back-button{visibility:hidden}body:not([data-scene=exterior]) #arrival-title{display:none}body:not([data-scene=exterior]) #mist{opacity:.3}body.gentle *,body.gentle *:before,body.gentle *:after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
@keyframes dialogueIn{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes drift{from{transform:translateX(-3%)}to{transform:translateX(5%)}}@keyframes breathe{50%{opacity:.45}}@keyframes climb{0%{transform:scale(1) translateY(0)}18%{transform:scale(1.12) translateY(3px)}38%{transform:scale(1.29) translateY(-4px)}60%{transform:scale(1.47) translateY(2px)}80%{transform:scale(1.7) translateY(-4px)}100%{transform:scale(2.1) translateY(-16px)}}
@media(max-width:800px){.hud{padding:21px}.brand{font-size:10px;letter-spacing:.12em}#location{font-size:19px}.identity{gap:9px}.moon-mark{font-size:30px}.hud-controls{gap:5px}.icon-button{width:36px;height:36px;font-size:21px}.arrival-title{left:7%;bottom:24%}.arrival-title h1{font-size:68px}.arrival-title .eyebrow{font-size:10px}.travel-bar{padding:19px 21px}.environment-label{display:none}.travel-hint{font-size:16px;max-width:45%;text-align:right}.dialogue{bottom:85px;padding:23px;width:calc(100% - 34px)}.speaker small{display:none}.dialogue-text{font-size:25px}.direction{font-size:17px}.scene-caption{bottom:139px;font-size:20px}.dialogue-bottom{gap:8px}.lodge-modal{padding:32px 25px}.dialogue-open .pan-controls{display:none}.dialogue-open .travel-hint{visibility:hidden}.board-lettering h2{font-size:38px}.board-lettering p{font-size:21px}}
@media(max-width:500px){.hud{padding:18px 15px}.hud-controls{gap:4px}.icon-button{width:34px;height:34px}.brand{max-width:160px;font-size:9px;letter-spacing:.11em}#location{font-size:18px}.arrival-title{bottom:26%;left:7%}.arrival-title h1{font-size:62px}.arrival-title p{font-size:20px;max-width:230px}.arrival-title .eyebrow{max-width:190px;line-height:1.8}.travel-bar{padding:18px 15px}.travel-hint{font-size:15px}.travel-button{padding:10px 12px}.dialogue{bottom:84px}.dialogue-text{font-size:24px}.dialogue-actions{gap:5px}.text-button{font-size:13px}.dialogue-bottom{margin-top:15px}.dialogue-open .scene-caption{display:none}.scene-caption{font-size:18px}.pan-controls{bottom:83px}.dialogue-open .travel-bar{justify-content:center}.dialogue-open .travel-hint{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.scene-caption{bottom:150px}.hotspot:disabled{opacity:1}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.modal-emblems{display:flex;align-items:center;gap:6px;margin-bottom:12px}.modal-emblems:empty{display:none}.normal-emblem{width:35px;height:35px;object-fit:contain}.abyssal-emblem{width:86px;height:86px;object-fit:contain}.environment-label{font-size:12px}.brand{font-size:12px}
#scene-objects{container-type:inline-size}.secret-shift{clip-path:polygon(0% 33%,11.5% 17%,13.4% 19%,13.5% 51.5%,0% 63%)}.board-lettering{width:19.5%;padding:0 8px}.board-lettering h2{font-size:clamp(27px,2.6cqw,46px);margin:10px 0 21px}.board-lettering p{font-size:clamp(16px,1.3cqw,22px);line-height:1.4}.board-lettering .eyebrow{font-size:clamp(10px,.75cqw,13px);letter-spacing:.13em}.record-dashes{font-size:clamp(13px,1cqw,18px);line-height:2.5}

/* SomewhereWarm's original mouse hint, with scene-specific anchors. */
.hotspot .marker{position:absolute;left:var(--hint-x,50%);top:var(--hint-y,50%);width:16px;height:22px;transform:translate(-50%,-50%);color:#ffedc7;pointer-events:none;opacity:.45;filter:drop-shadow(0 2px 2px #031c20);animation:hint-breathe 4.6s ease-in-out infinite;transition:opacity .2s}
.hotspot:nth-of-type(3n) .marker{animation-delay:-1.5s}
.hotspot:nth-of-type(3n + 1) .marker{animation-delay:-3s}
.hotspot:hover .marker,.hotspot:focus-visible .marker{animation:none;opacity:1}
.hotspot .hot-label{position:absolute;top:calc(var(--hint-y,50%) + 23px);left:var(--hint-x,50%);transform:translateX(-50%);color:#fff0d0;background:#211627ed;border:1px solid #e5cb9740;border-radius:3px;font:14px/1.4 'DM Sans',sans-serif;white-space:nowrap;padding:7px 10px;opacity:0;transition:opacity .18s;pointer-events:none;box-shadow:0 4px 15px #0003}
.hotspot:hover .hot-label,.hotspot:focus-visible .hot-label{opacity:1}
.hotspot:disabled .marker,.dialogue-open .marker{opacity:0;animation:none}
.secret-hotspot .marker,.secret-hotspot .hot-label{display:none}
@keyframes hint-breathe{0%,100%{opacity:.18}50%{opacity:.58}}
body.gentle .marker{opacity:.45}
@media(prefers-reduced-motion:reduce){.hotspot .marker{opacity:.45;animation:none}}
/* Let the original lobby and door artwork show through without added texture or haze. */
body:is([data-scene=reception],[data-scene=hall]) .grain,
body:is([data-scene=reception],[data-scene=hall]) #mist{display:none}
/* Keep inscription and future records within the board; hints sit on its bottom rail. */
.board-lettering{top:24%;height:38%;width:20.6%;transform:translateX(-50%);padding:0 .5cqw;display:flex;flex-direction:column;align-items:center;justify-content:space-between}
.board-lettering h2{font-size:2.7cqw;margin:.45cqw 0 .6cqw;line-height:1}
.board-lettering p{font-size:1.25cqw;margin:.65cqw 0;line-height:1.4}
.board-lettering .eyebrow{font-size:.75cqw;white-space:nowrap}
.record-rule{margin:.45cqw auto;flex-shrink:0}
.record-dashes{font-size:1cqw;line-height:2.5}



.sound-volume-setting{padding:20px 0;border-bottom:1px solid #c0a77829}.sound-volume-setting label{display:flex;justify-content:space-between;align-items:center;gap:24px}.sound-volume-setting output{color:#d9bb7e;font-variant-numeric:tabular-nums}.sound-volume-setting input{display:block;width:100%;height:28px;padding:0;margin:12px 0 8px;accent-color:#d2b373;cursor:pointer}.sound-volume-setting input:focus-visible{outline:2px solid #d2b373;outline-offset:5px}.sound-volume-setting small{display:block;color:#b5a697;font-size:13px}
.lobby-choices{display:grid;gap:12px;margin:22px 0}.lobby-choice{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;min-width:0;padding:18px 20px;border:1px solid #cda87761;border-radius:3px;background:linear-gradient(120deg,#48312d80,#241a2a);text-align:left}.lobby-choice strong{font-size:11px;letter-spacing:.18em;color:var(--gold)}.lobby-choice span{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;line-height:1.2}.lobby-choice small{font-size:13px;color:#cbbad0;line-height:1.5}.lobby-choice:not(:disabled):hover{border-color:#e4c593;background:linear-gradient(120deg,#62413090,#332238)}.lobby-choice[data-locked=true]{cursor:not-allowed}.lobby-choices+.note{margin-bottom:22px}
