*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#050408;color:#faeed9;font:15px system-ui,sans-serif;--gold:#e9bf79}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #ffdc95;outline-offset:4px}[hidden]{display:none!important}
#world,#scene,.vignette,#flash,#portal{position:absolute;inset:0}#scene canvas{display:block;width:100%;height:100%;touch-action:none}.vignette,#flash,#portal{pointer-events:none}.vignette{background:linear-gradient(0deg,#08060be6 0%,transparent 38%,transparent 79%,#08060b83 100%);box-shadow:inset 0 0 135px #07050986}.top{position:absolute;top:0;left:0;right:0;padding:26px 4vw;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.top button{pointer-events:auto}.brand{display:flex;gap:11px;align-items:center;color:#fff0d5;font:24px Georgia,serif}.seal{display:block;flex:none;width:49px;height:49px}.brand small{display:block;color:var(--gold);font:8px system-ui;letter-spacing:.27em;margin-top:4px}.nav,.sound,.close,.secondary{background:#160f13d9;border:1px solid #a2774f86;border-radius:5px;color:#f6dcb4;padding:8px 12px}.sound{position:absolute;bottom:25px;right:4vw;padding:6px 11px;text-align:center;font-size:20px}.sound[aria-pressed=false]{opacity:.65}
#lamp-target{position:absolute;width:142px;height:88px;transform:translate(-50%,-50%);touch-action:none;cursor:grab;user-select:none;border-radius:50%;z-index:1}#lamp-target:active{cursor:grabbing}#lamp-target:focus-visible{outline-offset:2px}
.interaction{position:absolute;left:50%;bottom:9.5%;width:min(680px,90vw);transform:translateX(-50%);text-align:center;pointer-events:none;text-shadow:0 2px 12px #050407}.eyebrow{margin:0;color:var(--gold);font-size:10px;font-weight:750;letter-spacing:.26em}.interaction h1{font:clamp(28px,4.8vw,62px)/.98 Georgia,serif;font-weight:400;letter-spacing:-.037em;margin:9px 0}.interaction h1:empty,.interaction .eyebrow:empty{display:none}.interaction #detail{margin:0 auto;color:#fae9d1;line-height:1.5;max-width:520px;font-size:clamp(13px,1.5vw,16px)}#world[data-state=idle] .interaction #detail{color:#cfc4b0;font-size:13px}#strokes{display:flex;justify-content:center;gap:7px;margin-top:10px;height:5px}#strokes i{display:block;width:18px;height:2px;background:#ffd99a48;border-radius:6px}#strokes i.lit{background:#ffdda4;box-shadow:0 0 8px #ffc578}#world:not([data-state=idle]) #strokes{display:none}#world:not([data-state=idle]):not([data-state=room]) .top{opacity:.42}#world:not([data-state=idle]):not([data-state=room]) #vault{visibility:hidden}
#portal{opacity:0;background:radial-gradient(ellipse at 50% 48%,#f7e9ca 0%,#ccb7ff 17%,#5864cb 38%,#0a0b1b 79%);mix-blend-mode:screen}#flash{opacity:0;background:#f8d586;mix-blend-mode:screen}#world[data-state=realm] .vignette,#world[data-state=threshold] .vignette,#world[data-state=homeward] .vignette{background:linear-gradient(0deg,#050613de,transparent 34%,transparent 78%,#05061366)}
dialog{width:min(660px,92vw);max-height:86dvh;padding:0;color:#faebd4;background:#161015;border:1px solid #9a714b;border-radius:11px;box-shadow:0 18px 90px #000c}dialog::backdrop{background:#08060bce;backdrop-filter:blur(6px)}.pane{padding:clamp(15px,4vw,28px)}.pane header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.pane h2{font:clamp(28px,5vw,43px) Georgia;margin:5px 0}.close{font-size:24px;line-height:1;padding:4px 10px}.entry{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #af835747}.entry>span{font-size:24px;text-align:center;color:var(--gold)}.entry h3{font:22px Georgia;margin:1px 0 4px}.entry p{margin:3px 0;color:#d9c5af;font-size:13px}.entry a{color:#efc48b;font-size:12px}.action{background:#efc57f;color:#24160e;border:1px solid #f8d897;border-radius:4px;font-weight:700;padding:8px 11px;white-space:nowrap;font-size:13px}#chambers{padding-top:10px;border-top:1px solid #af835747;margin-top:15px;display:flex;gap:7px;flex-wrap:wrap}#chambers p{width:100%;margin:0 0 3px}.empty{margin:12px 0;color:#d8c2a9}
@media(max-width:600px){.top{padding:17px 4vw}.brand{font-size:21px}.seal{width:40px;height:40px}.brand small{font-size:7px}.nav{font-size:12px;padding:7px 8px}.sound{bottom:14px}.interaction{bottom:12%}.entry{grid-template-columns:24px 1fr auto;gap:7px}.entry h3{font-size:18px}}
#wish-open{position:absolute;bottom:27px;left:4vw;border:0;background:#110d1582;border-radius:4px;color:#eacb9d;font-size:12px;padding:7px 8px}#world:not([data-state=idle]) #wish-open{visibility:hidden}#wish-form label{display:block;margin:0 0 8px}#wish-form textarea{resize:vertical;min-height:94px;max-height:35vh;width:100%;background:#0d0b11;color:#f8e9d4;border:1px solid #94734b;border-radius:5px;padding:10px;font:inherit}#wish-form p{font-size:12px;color:#d9c0a5}#wish-receipt{min-height:18px}#offer-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:17px;pointer-events:auto}#offer-actions button{white-space:normal;max-width:100%}#world[data-state=offer] .interaction{bottom:12%}@media(max-width:600px){#wish-open{bottom:15px}}
@media(max-width:600px){.brand{gap:8px}.brand small{max-width:126px;letter-spacing:.16em}}
.about-document{height:auto;min-height:100%;overflow:auto}
.about-page{height:auto;min-height:100%;overflow:auto;background:radial-gradient(ellipse at 65% 0%,#25203d 0%,#100d18 32%,#08070b 61%)}.about-shell{max-width:945px;margin:auto;padding:26px clamp(18px,5vw,64px) 50px}.about-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.about-header a,.about-footer a{text-decoration:none}.about-header .nav{font-size:13px;white-space:nowrap}.about-story{max-width:685px;margin:clamp(57px,11vw,129px) auto 0}.about-story h1{font:400 clamp(40px,7vw,78px)/.99 Georgia,serif;letter-spacing:-.042em;margin:13px 0 25px;color:#ffead0}.about-story h2{font:400 clamp(23px,4vw,34px)/1.17 Georgia,serif;margin:0 0 10px;color:#f8d9a7}.about-story p:not(.eyebrow){font-size:16px;line-height:1.65;color:#e5d5c4;margin:0 0 14px}.about-story .about-lede{font-size:clamp(17px,2.5vw,20px)!important}.about-story section{margin-top:30px}.about-source,.about-footer{border-top:1px solid #a77c454d;padding-top:21px}.about-story a,.about-footer a{color:#f4ce89}.about-footer{max-width:685px;margin:24px auto 0;display:flex;flex-wrap:wrap;gap:21px;font-size:13px}
#thought{position:absolute;z-index:2;max-width:min(250px,64vw);padding:12px 17px;margin:0;border:1px solid #ab8250;border-radius:51% 48% 49% 43% / 34% 58% 35% 54%;background:#f8e8c9;color:#291e2c;font:italic clamp(14px,2.1vw,18px)/1.32 Georgia,serif;text-align:center;box-shadow:0 5px 24px #08051389;opacity:0;pointer-events:none}#thought::before,#thought::after{content:"";position:absolute;border-radius:50%;background:#f8e8c9;border:1px solid #ab8250}#thought::before{width:12px;height:9px;left:13px;bottom:-10px}#thought::after{width:6px;height:5px;left:5px;bottom:-17px}.story-link{display:inline-block;margin-top:16px;color:#efc48b;font-size:12px}#world[data-state=transmute] .interaction h1{color:#ffe2a0;text-shadow:0 0 23px #dc7e2b,0 2px 12px #070302;font-variant-numeric:tabular-nums}
