@import"https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,system-ui,sans-serif;color:#f2efe3;background:#111a17;color-scheme:dark;--gold:#e2bd7d;--muted:#c0c4b5;--line:#d7c09642}*{box-sizing:border-box}body{margin:0;overflow:hidden}[hidden]{display:none!important}#world,#veil,#menu,#hud,#loading{position:fixed;inset:0;width:100%;height:100%}#world{display:block;touch-action:none}#veil{pointer-events:none;background:linear-gradient(90deg,#101714f5 0%,#101714de 22%,#10171447 55%,transparent 80%),linear-gradient(0deg,#0d1716e8,transparent 27%,transparent 80%,#15201b73),url(../assets/valley.jpg) 58% center/cover no-repeat}body.playing #veil{background:linear-gradient(0deg,#10171486,transparent 18%,transparent 80%,#10171465)}body:not(.playing) #veil{background:radial-gradient(ellipse at 50% 36%,#0b191529,#07141188 64%,#060d10ed),linear-gradient(0deg,#071310ed,transparent 48%,#07131066),url(../assets/valley.jpg) center/cover no-repeat}#menu{isolation:isolate;overflow:auto;background:linear-gradient(90deg,#06100c55,transparent 35%,transparent 65%,#06100c55)}.title-screen{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 24px 105px;text-align:center;position:relative;z-index:1}.title-crest{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 0 16px #e5c18050);margin-bottom:18px}.title-overline{color:#d1c9a6;letter-spacing:.35em;font-size:.64rem;font-weight:500;margin:0 0 14px}#menu h1{font-family:Cinzel,Georgia,serif;font-size:clamp(4.3rem,11vw,9rem);text-transform:uppercase;letter-spacing:.12em;line-height:1.15;font-weight:500;margin:0 0 10px;padding-left:.12em;color:#f4e7c4;text-shadow:0 3px 5px #06100e,0 0 60px #d8c58e40}.title-tagline{color:#d0d6c4;font-family:Cinzel,Georgia,serif;font-size:clamp(.9rem,1.6vw,1.15rem);letter-spacing:.09em;margin:0}#menu h1{font-size:clamp(2.5rem,9vw,8rem);letter-spacing:.08em;padding-left:.08em}.title-divider{display:flex;align-items:center;gap:13px;width:250px;margin:27px 0 18px}.title-divider span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#d9c28a99)}.title-divider span:last-child{transform:rotate(180deg)}.title-divider i{width:5px;height:5px;border:1px solid #e2bd7d;transform:rotate(45deg)}.title-options{display:flex;flex-direction:column;align-items:stretch;width:min(300px,80vw);gap:5px}.title-options button{position:relative;border:1px solid transparent;background:transparent;min-height:44px;padding:9px 22px;color:#d4d7c8;font-family:Cinzel,Georgia,serif;letter-spacing:.1em;font-size:.94rem;transition:color .2s,background .2s,border-color .2s,transform .2s;text-shadow:0 2px 7px #000}.title-options button:hover,.title-options button:focus-visible{color:#fff0c8;background:linear-gradient(90deg,transparent,#d5be7d20,transparent);border-color:#cbb27755;transform:translateY(-1px)}.title-options .title-play{font-size:1.35rem;font-weight:600;color:#f4d99d;min-height:57px;background:linear-gradient(90deg,transparent,#d5be7d1f,transparent);border-top-color:#d8bd8059;border-bottom-color:#d8bd8059;margin-bottom:6px}.title-play span{display:inline-block;font-family:Georgia,serif;font-size:.8rem;color:#dabc7c;margin:0 25px;transition:transform .2s}.title-play:hover span:first-child{transform:translate(5px)}.title-play:hover span:last-child{transform:translate(-5px)}.title-options .title-reset{font-size:.73rem;color:#a9b3a3;margin-top:4px}.title-save-note{font-size:.64rem;color:#9ba99a;letter-spacing:.04em;margin:20px 0 0}.title-footer{position:absolute;bottom:25px;left:32px;right:32px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#a8b5a4;font-size:.65rem;letter-spacing:.1em;z-index:1}.title-footer>span:nth-child(2){font-family:Cinzel,Georgia,serif;color:#d9c99f}.title-controls{display:flex;align-items:center;gap:8px;letter-spacing:0}.menu-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none}.menu-atmosphere i{position:absolute;bottom:-10px;left:12%;width:3px;height:3px;border-radius:50%;background:#e2cd8b;box-shadow:0 0 10px 2px #e2cd8b66;animation:menu-motes 14s linear infinite;opacity:0}.menu-atmosphere i:nth-child(2){left:24%;animation-delay:-5s;animation-duration:19s}.menu-atmosphere i:nth-child(3){left:38%;animation-delay:-9s}.menu-atmosphere i:nth-child(4){left:48%;animation-delay:-3s;animation-duration:22s}.menu-atmosphere i:nth-child(5){left:59%;animation-delay:-12s}.menu-atmosphere i:nth-child(6){left:71%;animation-delay:-6s;animation-duration:18s}.menu-atmosphere i:nth-child(7){left:83%;animation-delay:-10s}.menu-atmosphere i:nth-child(8){left:93%;animation-delay:-2s;animation-duration:24s}@keyframes menu-motes{0%{transform:translate(0);opacity:0}15%{opacity:.65}80%{opacity:.4}to{transform:translate(-45px,-85vh);opacity:0}}@media(max-width:680px){.title-screen{padding:30px 16px 85px}.title-overline{font-size:.52rem;letter-spacing:.22em}.title-crest{width:58px;height:58px}.title-footer{left:16px;right:16px;bottom:20px;justify-content:center;flex-wrap:wrap;font-size:.55rem;gap:10px 22px}.title-controls{display:none}.title-save-note{font-size:.59rem}}@media(max-height:650px){.title-screen{padding-top:22px;padding-bottom:65px}.title-crest{width:42px;height:42px;margin-bottom:10px}#menu h1{font-size:clamp(3rem,10vh,5rem)}.title-divider{margin:16px 0 10px}.title-options{gap:0}.title-options button{min-height:34px;padding:6px 18px}.title-options .title-play{min-height:44px}.title-save-note{margin-top:10px}.title-footer{bottom:14px}}@media(prefers-reduced-motion:reduce){.menu-atmosphere i{animation:none}.title-options button,.title-play span{transition:none}}button,a{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.masthead,.menu-footer{position:absolute;left:4.5%;right:4.5%;display:flex;align-items:center}.masthead{top:4.2%;gap:12px}.masthead>span:nth-child(2),.menu-footer,.eyebrow,small,#compass{font-size:.74rem;letter-spacing:.16em;font-weight:700}small{display:block;margin-top:4px;color:var(--gold);font-size:.64rem}.sigil{border:1px solid var(--line);color:var(--gold);width:40px;height:40px;display:grid;place-items:center;font-size:1.45rem;flex:none}.top-settings,.hud-menu,.subtle,.game-footer button,.close{background:#111a1766;border:1px solid var(--line);padding:10px 15px}.top-settings{margin-left:auto}.intro{position:absolute;top:50%;left:8%;transform:translateY(-48%);max-width:88%}.eyebrow{color:var(--gold);display:flex;align-items:center;gap:12px}.eyebrow i{width:28px;height:1px;background:var(--gold)}h1,h2,.subtitle,.coordinates strong,.location strong{font-family:Cinzel,Georgia,serif;font-weight:500}h1{font-size:clamp(4.3rem,10vw,10rem);line-height:.98;letter-spacing:-.065em;margin:22px 0 9px;text-shadow:0 5px 55px #0c141499}h1 span{color:var(--gold)}.subtitle{font-size:clamp(1.05rem,2vw,1.6rem);color:#e3d2ab;letter-spacing:.13em;margin:0}.intro-copy{font-size:1rem;line-height:1.72;max-width:345px;color:var(--muted);margin:25px 0 30px}.primary{display:inline-flex;align-items:center;gap:13px;padding:13px 20px;border:1px solid #f1d8a4;background:#e5c389;color:#18201b;font-weight:700;min-height:48px}.primary:hover{background:#f6dbab}.archive-access{margin-left:10px;min-height:48px}.subtle:hover,.top-settings:hover,.hud-menu:hover,.game-footer button:hover{background:#33443a}.coordinates,.location{display:flex;align-items:center;gap:12px}.coordinates{position:absolute;right:5%;bottom:15%;border-left:1px solid var(--gold);background:#12221c96;padding:11px 16px}.coordinates>span{font-size:1.6rem;color:var(--gold)}.coordinates strong,.location strong{display:block;margin-top:4px}.menu-footer{justify-content:space-between;bottom:4%;border-top:1px solid var(--line);padding-top:17px;color:#d4d3c2}.menu-footer i{display:inline-block;background:var(--gold);width:5px;height:5px;border-radius:50%;margin-right:8px}.menu-footer b{color:var(--gold)}kbd{font-size:.72rem;border:1px solid var(--line);border-radius:3px;background:#132019b3;padding:3px 5px;color:#f2d59a}.desktop-guide kbd{margin:0 6px 0 15px}#loading{display:grid;place-content:center;justify-items:center;background:#111b17;z-index:4}#hud{pointer-events:none}#hud button{pointer-events:auto}.location{position:absolute;top:24px;left:24px}#compass{position:absolute;top:33px;left:50%;transform:translate(-50%);color:#f7ddaa;text-shadow:0 2px 4px #000}.hud-menu{position:absolute;right:24px;top:25px}#crosshair{width:6px;height:6px;border:1px solid #fff;border-radius:50%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 5px #000}#prompt{position:absolute;top:calc(50% + 20px);left:50%;transform:translate(-50%);padding:8px 13px;background:#111a17ed;border:1px solid var(--line);white-space:nowrap}.game-footer{position:absolute;display:flex;align-items:center;justify-content:space-between;bottom:23px;left:24px;right:24px;text-shadow:0 2px 5px #000}#toast{position:absolute;right:25px;top:85px;max-width:320px;color:#ffe1a6}#toast:not(:empty){background:#15231dec;border-left:2px solid var(--gold);padding:12px 15px}dialog{width:min(900px,calc(100% - 28px));max-height:85dvh;background:#17231ff5;color:#f5f1e5;border:1px solid var(--line);padding:30px;box-shadow:0 20px 80px #0009;overscroll-behavior:contain}dialog::backdrop{background:#0c1513a1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}dialog h2{font-size:clamp(1.5rem,5vw,2.25rem);margin:14px 0}dialog p,dialog li{line-height:1.6;color:#d6d9cb}dialog .close{float:right}.panel-actions,.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.panel-actions a,.panel-actions button,.tags span{border:1px solid var(--line);padding:8px 12px;background:#23342b;color:#f3d49d}.panel-actions a{text-decoration:none}.panel-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:13px 0;padding:10px 0;border-bottom:1px solid var(--line)}.panel-row select{padding:6px}.project-image{width:100%;max-height:230px;object-fit:cover;border:1px solid var(--line)}video.project-image{margin-top:10px;object-fit:contain;background:#101714}details{margin-top:17px}summary{cursor:pointer;color:var(--gold)}.journal-section{padding:8px 0;border-bottom:1px solid var(--line)}.journal-section ul{padding-left:20px}#touch{position:absolute;inset:auto 17px 72px;display:flex;justify-content:space-between;align-items:end}.dpad,.touch-actions{display:grid;grid-template-columns:repeat(2,auto);gap:5px}#touch button{padding:12px;min-width:46px;background:#132019bb;border:1px solid var(--line);touch-action:none}@media(max-width:680px){.desktop-guide,.coordinates{display:none}.intro{left:6%;max-width:88%}.masthead,.menu-footer{left:6%;right:6%}.menu-footer{letter-spacing:.08em;font-size:.65rem}.location{left:12px;top:15px}.hud-menu{right:12px;top:15px}#compass{top:69px}.game-footer{left:12px;right:12px;font-size:.79rem}.archive-access{margin:8px 0 0;display:block}}@media(max-height:570px){.intro-copy{margin:10px 0}.intro h1{margin:8px 0;font-size:3.7rem}.menu-footer{padding-top:8px}.coordinates{display:none}}#loading{padding:2rem;box-sizing:border-box;text-align:center;background:radial-gradient(ellipse at 50% 40%,#243c32,#101914 70%)}#loading h2{font-family:Georgia,serif;font-size:clamp(1.8rem,5vw,3rem);font-weight:400;margin:.5rem 0 2rem;color:#ecdfbf}#loading .sigil{font-size:3rem;color:#ceb478}#loading progress{width:min(22rem,80vw);height:.45rem;border:0;border-radius:1rem;overflow:hidden;background:#37483b;accent-color:#ceb478}#loading progress::-webkit-progress-bar{background:#37483b}#loading progress::-webkit-progress-value{background:#ceb478;transition:width .25s}#loading progress::-moz-progress-bar{background:#ceb478}#loading-detail{color:#e2d8bc;font-size:1rem;min-height:1.5em}#loading small{color:#a6b0a1;font-size:.875rem;max-width:26rem;line-height:1.6}.exploration-tools{display:flex;gap:8px;flex-shrink:0}.field-map{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:12px}.map-region-label text{fill:#e2d7b4;font:10px system-ui,sans-serif;letter-spacing:.5px}.map-markers circle{stroke:#17231f;stroke-width:1}.map-markers .land-marker{fill:#d7d9b7}.map-markers .sky-marker{fill:#e2bd7d}.map-markers text{fill:#112219;font:700 8px system-ui,sans-serif;text-anchor:middle;pointer-events:none}.map-area-labels text{fill:#ffe0a1;stroke:#112219;stroke-width:4px;paint-order:stroke;font:700 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:1px}.map-legend{padding-left:25px;font-size:.9rem}.map-legend li{padding:5px 0}.map-legend span{display:block;color:var(--muted)}dialog h3{color:var(--gold);margin-top:28px}@media(max-width:680px){.game-footer{gap:8px}.game-footer>span{max-width:46%}.exploration-tools button{padding:10px}}dialog[data-view=map]{padding:12px;width:min(720px,calc(100% - 28px));overflow:hidden}dialog[data-view=map] .close{position:absolute;top:20px;right:20px;z-index:1}dialog[data-view=map] .field-map{height:min(76dvh,760px);background:#152b25}#movement-hint{position:absolute;bottom:22%;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 24px;background:#132019e6;border:1px solid var(--line);border-radius:8px;color:#f2d59a}.movement-keys{display:grid;grid-template-columns:repeat(3,36px);gap:5px}.movement-keys kbd{display:grid;place-items:center;height:36px;font-size:1rem;box-shadow:0 3px #080e0b}.movement-keys kbd:first-child{grid-column:2}.movement-keys kbd:nth-child(2){grid-column:1}#movement-hint>span{font-size:1rem;font-weight:600}#minimap{position:absolute;right:24px;bottom:90px;width:210px;height:210px;border:1px solid var(--line);border-radius:50%;box-shadow:0 8px 24px #0006}#ruin-link-caption{position:fixed;bottom:10%;left:50%;transform:translate(-50%);width:max-content;max-width:90%;padding:10px 20px;border-radius:6px;background:#101912dc;color:#ffe4a5;text-align:center}#flight-controls{position:absolute;left:24px;bottom:90px;display:flex;flex-wrap:wrap;gap:12px;max-width:calc(100% - 290px);padding:12px;background:#132019e6;border:1px solid var(--line);border-radius:8px;font-size:.9rem}#dash-status{flex-basis:100%;color:var(--gold);font-variant-numeric:tabular-nums}@media(max-width:680px){#minimap{top:105px;bottom:auto;right:12px;width:150px;height:150px}#flight-controls{left:12px;bottom:auto;top:105px;max-width:calc(100% - 185px);gap:10px}}
