:root{color-scheme:dark;font-family:"Source Sans 3","PingFang SC","Microsoft YaHei",sans-serif;color:#fff5e4;background:#202b2c}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;letter-spacing:.06em;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #ffdea0;outline-offset:4px}[hidden]{display:none!important}
main{height:100vh;height:100dvh;position:relative;overflow:hidden;isolation:isolate}
#poster,#world,#scrim{position:absolute;inset:0}#poster{background:#535b52 url(assets/landing.webp) 55% 55%/cover;transition:transform 1.8s,background-position 1.8s}
#scrim{pointer-events:none;background:linear-gradient(90deg,#131f20b8 0%,#131f2065 36%,transparent 70%),linear-gradient(0deg,#101b1c8f,transparent 18%,transparent 82%,#15202052)}
#world{outline:0;touch-action:none;visibility:hidden}#world canvas{display:block;width:100%;height:100%}[data-mode=walk] #world{visibility:visible}
[data-mode=walk] #scrim,[data-mode=still] #scrim{background:linear-gradient(180deg,#10181783,transparent 14%,transparent 57%,#172122a6 88%,#172122de)}
header,footer,#home,#walk{position:absolute}header,footer{left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-inline:clamp(20px,5vw,76px);pointer-events:none}header button,footer button{pointer-events:auto}
header{top:max(env(safe-area-inset-top),22px)}footer{bottom:max(env(safe-area-inset-bottom),18px);font-size:.88rem}
#brand{font-family:"Baskervville","Songti SC","Noto Serif CJK SC",serif;font-size:1.16rem;letter-spacing:.15em;text-shadow:0 1px 9px #172422}
header button,footer button,.subtle{border:1px solid #eee6d52f;border-radius:4px;padding:9px 14px;background:#1b2625ad;font-size:.9rem}
button:hover{filter:brightness(1.12)}
#home,#walk{left:clamp(22px,8vw,124px);right:22px}
#home{top:41%;transform:translateY(-25%)}
.kicker{font-size:.94rem;letter-spacing:.18em;margin:0 0 17px;display:flex;align-items:center;gap:12px}.kicker:before{content:"";width:33px;height:1px;background:#f2d99c}
h1,h2{font-family:"Baskervville","Songti SC","Noto Serif CJK SC","STSong",serif;font-weight:500;letter-spacing:.08em}
h1{font-size:clamp(2.8rem,6.3vw,6rem);margin:0;line-height:1.2}.intro{font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.6;margin:16px 0 27px;letter-spacing:.08em}
.primary{padding:12px 25px;border-radius:4px;border:1px solid #f6e6c3;background:#f2dfba;color:#342c21;font-weight:600;min-height:44px}
#walk{bottom:80px}#walk h2{font-size:clamp(1.5rem,3.5vw,2.6rem);margin:0}#walk p{margin:7px 0 15px;line-height:1.6}#caption{text-shadow:0 1px 9px #18201e}.actions{display:flex;align-items:center;gap:10px}
dialog{width:min(90vw,465px);max-height:83dvh;padding:28px;background:#25302c;color:#fcf3e4;border:1px solid #a7977b;border-radius:6px}dialog::backdrop{background:#0f1716b8}dialog h2{font-size:1.65rem;margin:0 25px 18px 0}dialog p{font-size:1rem;line-height:1.85}dialog a{color:#f3d8a5;text-underline-offset:3px}#close{position:absolute;top:10px;right:12px;font-size:1.6rem;border:0;background:none}.credits{font-size:.9rem}
@media(max-width:650px){#poster{background-position:65% center}#home{top:auto;bottom:17%;transform:none}#scrim{background:linear-gradient(0deg,#162323d9 5%,#17242399 29%,transparent 65%,#18242566)}#home .kicker{font-size:.82rem}#walk{bottom:80px}footer{font-size:.78rem}#hint{max-width:58%}}
@media(max-height:480px){header{top:5px}footer{bottom:5px}#home{top:24%;transform:none;bottom:auto}.kicker{margin-bottom:5px}.intro{margin:5px 0 8px}h1{font-size:2.4rem}#walk{bottom:43px}#walk h2{font-size:1.5rem}#walk p{margin:2px 0 5px}.primary{padding:7px 16px;min-height:38px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
#poster{background-position:center 61%}
[data-mode=prayer] #world{visibility:visible}
[data-mode=prayer] #scrim{background:linear-gradient(0deg,#101625a8,transparent 34%,transparent 85%,#141c2988)}
[data-mode=prayer] #brand,[data-mode=prayer] #sources{visibility:hidden}
#status:empty{display:none}
#walk{left:clamp(20px,4vw,65px);width:max-content;max-width:calc(100% - 40px);pointer-events:none}
#walk button{pointer-events:auto}
.actions{flex-wrap:wrap}.subtle{min-height:44px}
#place{font-size:clamp(1.25rem,2.2vw,1.9rem)!important}
#poster.still-vision{background-image:url(assets/shore-vision.webp);background-position:76% center}
@media(max-width:650px){#home{bottom:21%}#walk{bottom:70px}#walk p{font-size:.92rem}#poster{background-position:45% center}}
#touch-walk{display:none}
@media(pointer:coarse){#touch-walk:not([hidden]){position:absolute;right:16px;top:47%;display:grid;gap:6px}#touch-walk button{background:#121d2bb8;border:1px solid #ddcea770;border-radius:4px;padding:10px 13px;min-height:44px;touch-action:none}}
/* Keep the fallback glow aligned with the icon when the concept art is cropped to cover. */
#poster.still-vision::after{
  content:"";position:absolute;left:76%;top:50%;
  width:max(100vw,177.68dvh);height:max(56.28vw,100dvh);
  transform:translate(-76%,-50%);pointer-events:none;mix-blend-mode:screen;
  background:radial-gradient(ellipse 22% 48% at 77% 32%,#fff1b80a 15%,#ffdf8d33 46%,#ffcb6354 59%,#efac4926 78%,transparent);
}
