:root{font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN",sans-serif;color:#f9f5e9;background:#173d35;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:3px solid #ecc778;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}[hidden]{display:none!important}#stage{height:100dvh;min-height:500px;position:relative;overflow:hidden;outline:0}#scene,#scene canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}header{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:26px 34px;pointer-events:none;background:linear-gradient(#15382aaa,transparent);z-index:3}.brand{display:flex;align-items:center;gap:14px}.mark{font-size:45px;line-height:1}small{font-size:11px;letter-spacing:.18em}h1{font-family:"Yu Mincho",serif;font-size:21px;font-weight:500;letter-spacing:.07em;margin:3px 0 0}.badge{font-size:11px;letter-spacing:.07em;border:1px solid #fff5;padding:8px 13px;border-radius:25px}.overlay{position:absolute;inset:0;z-index:2;background:#183d35}.welcome-art{position:absolute;inset:0;background:linear-gradient(90deg,#16372f33 25%,#173d35 65%),url('../poster.jpg') left center/cover no-repeat;opacity:.85}.welcome-copy{position:absolute;left:61%;top:50%;transform:translateY(-44%);width:34%;max-width:470px}.eyebrow{font-size:10px;letter-spacing:.18em;color:#cfb87c}h2{font-family:"Yu Mincho",serif;font-weight:500;font-size:clamp(34px,3.6vw,57px);line-height:1.5;letter-spacing:.05em;margin:18px 0}p{font-size:14px;line-height:2}.primary{background:#ead5a4;color:#193f35;padding:18px 24px;border-radius:4px;font-weight:600;margin:12px 0;min-width:236px;display:flex;justify-content:space-between;gap:32px}.primary:hover{background:#f5e4bf}.fine{font-size:11px;color:#d2ddd2}.note{font-size:11px;color:#becabf;margin-top:22px}.centered{display:grid;place-items:center;text-align:center;background:#173d35f5;z-index:5}.centered h2{font-size:25px}.centered>div{max-width:560px;padding:30px}.centered .primary{margin:24px auto}.centered a{display:block;margin:25px}.spinner{display:inline-block;width:32px;height:32px;border:2px solid #ffffff30;border-top-color:#ead5a4;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.place{position:absolute;top:118px;left:34px;background:#183b32e6;padding:11px 15px;border-radius:4px;font-size:12px;display:flex;align-items:center;gap:10px}.dot{width:6px;height:6px;background:#ecd7a6;border-radius:50%}#motion-state{padding-left:10px;border-left:1px solid #fff3;color:#c7d5c7;font-size:10px}.actions{position:absolute;right:34px;top:118px;display:flex;gap:8px}.actions button,.touch-turn button{background:#183b32dd;color:#f5eedc;padding:11px 15px;border:1px solid #fff3;border-radius:4px;font-size:12px}#guide{position:absolute;z-index:4;right:34px;top:169px;padding:24px 28px;background:#183b32f5;border:1px solid #fff3;border-radius:5px}#guide p{font-size:12px}.map-wrap{position:absolute;bottom:70px;right:34px;width:332px;background:#153a31e8;border:1px solid #fff3;border-radius:6px;overflow:hidden}#map-toggle{width:100%;background:transparent;color:#dce5d5;font-size:11px;text-align:left;display:flex;justify-content:space-between;padding:13px 16px;letter-spacing:.06em}#map{display:block;width:100%;height:108px}#places{display:flex;justify-content:space-evenly;padding:3px 8px 13px;gap:3px}#places button{background:#ffffff10;color:#e6eddc;padding:7px 5px;border-radius:3px;font-size:10px;flex:1}#places button:hover{background:#ffffff25}.reticle{position:absolute;left:50%;top:50%;width:4px;height:4px;border-radius:50%;background:#fff9;box-shadow:0 0 1px 1px #0005;pointer-events:none}footer{position:absolute;bottom:0;left:0;right:0;padding:19px 34px;display:flex;justify-content:space-between;font-size:10px;color:#e3ebda;background:linear-gradient(transparent,#17392ccc);pointer-events:none}footer a{pointer-events:auto;border-bottom:1px solid #fff5}#joystick{position:absolute;left:38px;bottom:85px;width:126px;height:126px;border:1px solid #f5ecc977;background:#183b3266;border-radius:50%;touch-action:none;user-select:none}#stick{position:absolute;width:52px;height:52px;left:36px;top:36px;border-radius:50%;border:1px solid #fff7;background:#ead5a477;pointer-events:none}.pad-label{position:absolute;bottom:-26px;text-align:center;width:100%;font-size:10px;letter-spacing:.15em;pointer-events:none}.touch-turn{display:none;position:absolute;bottom:100px;right:28px;gap:12px}.touch-turn button{font-size:25px;padding:9px 19px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:700px){header{padding:21px 21px}.brand{gap:8px}.mark{font-size:34px}h1{font-size:17px}.badge{font-size:9px;padding:6px 9px}.welcome-art{background:linear-gradient(0deg,#173d35 17%,#173d3599 58%,#173d3522),url('../poster.jpg') 35% top/auto 74% no-repeat}.welcome-copy{left:8%;top:auto;bottom:28px;transform:none;width:84%;max-width:none}.welcome-copy h2{font-size:34px;margin:13px 0}.welcome-copy p{font-size:12px}.welcome-copy .eyebrow{font-size:9px}.welcome-copy .fine,.welcome-copy .note{font-size:10px}.note{margin-top:14px}.place{left:21px;top:95px;padding:10px 12px}#motion-state{display:none}.actions{right:21px;top:95px}.actions button{padding:10px;font-size:11px}#guide{top:142px;right:21px;left:21px}#joystick{left:25px;bottom:104px;width:112px;height:112px}#stick{left:29px;top:29px}.touch-turn{display:flex;bottom:122px}.map-wrap{right:21px;bottom:270px;width:260px}#map{height:85px}footer{padding:15px 21px 25px;gap:8px;flex-direction:column;font-size:9px}.centered h2{font-size:20px}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}
.character-tools{position:absolute;left:200px;bottom:88px;display:flex;gap:8px}.character-tools button{background:#183b32e8;color:#f1e8ce;border:1px solid #fff4;border-radius:4px;padding:12px 16px;font-size:12px}.character-tools button:hover{background:#2a5749}@media(max-width:700px){.character-tools{left:auto;right:21px;bottom:210px;gap:5px}.character-tools button{font-size:10px;padding:10px 11px}}
#scene{cursor:grab}#scene[data-dragging="true"]{cursor:grabbing}
@media(min-width:701px){.character-tools{left:34px;bottom:70px}#joystick{bottom:145px}}
@media(max-width:700px){.map-wrap{top:146px;bottom:auto}.character-tools{left:21px;right:21px;bottom:76px;justify-content:flex-end}}
@media(max-width:700px){.character-tools{gap:6px}.character-tools button{padding:11px 10px;font-size:10px}#joystick{bottom:120px}}
#stage[data-view="portrait"] #joystick,#stage[data-view="portrait"] .touch-turn{display:none}
#pace{position:absolute;left:51px;bottom:290px;padding:12px 18px;background:#183b32eb;color:#f1e8ce;border:1px solid #fff5;border-radius:24px;font-size:12px;min-height:44px}#pace[aria-pressed="true"]{background:#ead5a4;color:#173d35;border-color:#ead5a4}#stage[data-view="portrait"] #pace{display:none}
@media(max-width:700px){#pace{left:32px;bottom:253px;font-size:11px;padding:11px 15px}.place{top:93px;max-width:155px}.actions{top:139px;left:21px;right:auto}.map-wrap{top:190px}#guide{top:190px;max-height:calc(100dvh - 290px);overflow:auto}.actions button{min-height:40px}#places{flex-wrap:wrap}#places button{min-height:36px}.map-wrap:has(#map-content:not([hidden])){z-index:2}}

/* Keep the two experiences and the selected viewpoint visible at a glance. */
.experience-nav{display:flex;gap:3px;padding:4px;background:#14352de8;border:1px solid #fff4;border-radius:7px;pointer-events:auto}
.experience-nav a,.experience-current{display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 15px;font-size:12px;border-radius:4px;white-space:nowrap}
.experience-current{background:#ead5a4;color:#193f35}
.experience-nav a:not([aria-current]):hover{background:#ffffff20}
.character-tools{align-items:center;flex-wrap:wrap}
.view-choices{display:flex;padding:3px;background:#153a31ed;border:1px solid #fff4;border-radius:6px;gap:2px}
.view-choices button{background:transparent;border-color:transparent;min-height:42px;padding:10px 14px}
.view-choices button[aria-pressed="true"]{background:#ead5a4;color:#193f35;border-color:#ead5a4}
#demo{min-height:48px}#demo[aria-pressed="true"]{border-color:#ead5a4;background:#2a5749}
#stage[data-view="portrait"] #pace{display:block}
#stage:not([data-view="eyes"]) .reticle{display:none}
#photo-hint{position:absolute;z-index:6;bottom:8%;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:14px 20px;margin:0;border-radius:8px;background:#163a31f2;color:#f9f5e9;font-size:13px;text-align:center;pointer-events:none}
#photo-hint span{font-size:11px;color:#e1ddc8}
#stage[data-photo="true"] header,#stage[data-photo="true"] #hud,#stage[data-photo="true"] .qa-control{visibility:hidden;pointer-events:none}
@media(max-width:700px){
  header{padding:16px 21px;align-items:flex-start}.experience-nav{padding:3px;gap:1px}.experience-nav a,.experience-current{font-size:10px;padding:8px;min-height:40px}
  .brand small{font-size:9px}.brand .mark{display:none}h1{font-size:15px}
  .character-tools{left:21px;right:21px;bottom:64px;gap:7px;justify-content:space-between;align-items:stretch;flex-direction:column}
  .view-choices{justify-content:center}.view-choices button{flex:1;font-size:11px;min-height:42px;padding:8px 9px}
  #demo{font-size:12px;min-height:42px;padding:10px}
  #joystick{bottom:192px}.touch-turn{bottom:186px}#pace{left:auto;right:32px;bottom:254px;min-height:44px}
  .map-wrap{width:min(260px,calc(100% - 42px))}#map{height:70px}footer{padding-bottom:16px}
}
@media(max-width:360px){header{padding:14px}.experience-nav a,.experience-current{padding:8px 6px;font-size:9px}.brand small{letter-spacing:.08em}h1{font-size:14px}.actions{left:14px;gap:5px}.character-tools{left:14px;right:14px}}
@media(max-height:600px) and (min-width:701px){#stage{min-height:360px}header{padding:10px 18px}.place{top:78px;left:18px}.actions{top:78px;right:18px}.character-tools{left:120px;bottom:24px}.map-wrap{right:18px;bottom:90px;width:240px}#joystick{left:18px;width:76px;height:76px;bottom:78px}#stick{left:11px;top:11px}#pace{left:18px;bottom:166px}.pad-label,footer{display:none}#guide{top:126px;max-height:calc(100dvh - 145px);overflow:auto}}
