:root{font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif CJK JP",serif;color:#40392f;background:#eee7da;font-size:16px}*{box-sizing:border-box}body{margin:0}button,select,input,textarea{font:inherit}button{cursor:pointer;background:#fff;border:1px solid #cfc2ad;color:#40392f;padding:.7rem 1rem;border-radius:6px;min-height:44px}button:hover{background:#e8dece}button:focus-visible,select:focus-visible{outline:3px solid #946441;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}header{height:86px;background:#382f27;color:white;display:flex;justify-content:space-between;align-items:center;padding:0 28px;gap:16px}.brand{display:flex;align-items:center;gap:13px}.seal{border:1px solid #b99a6b;color:#e7d4ae;font-family:serif;font-size:26px;padding:3px 10px}small{font-size:12px;letter-spacing:.12em}h1{font-family:serif;font-size:23px;margin:4px 0;font-weight:600}h1 span{font-family:sans-serif;font-size:14px;font-weight:400;margin-left:8px;color:#dfd3c2}.actions{display:flex;gap:8px;align-items:center}.actions button{background:transparent;color:white;border-color:#86745e}main{display:grid;grid-template-columns:minmax(0,1fr) 350px;height:calc(100dvh - 86px)}#stage{position:relative;min-height:420px;overflow:hidden;background:#d9d1c2}#canvas,#markers{position:absolute;inset:0}canvas{display:block;width:100%;height:100%;touch-action:none}#markers{pointer-events:none}.marker{pointer-events:auto;position:absolute;min-height:34px;padding:5px 9px;border-radius:30px;background:#594a38;color:white;border:2px solid #fff;box-shadow:0 3px 9px #0003;font-size:13px;white-space:nowrap;transform:translate(-50%,-100%)}.marker.active{background:#92613f}.stage-top{position:absolute;top:20px;left:20px;display:flex;gap:10px;align-items:center;pointer-events:none}.chip,#status{font-size:13px;background:#fffffff0;border-radius:3px;padding:7px 10px}#status{background:#594a38e6;color:white}aside{background:#f7f2e8;overflow:auto;border-left:1px solid #d9cdbc;display:flex;flex-direction:column}.aside-head{padding:24px 25px 18px;border-bottom:1px solid #ded3c2}.aside-head small{color:#786b59}h2{font-family:serif;font-size:26px;margin:8px 0 19px}label{display:block;font-size:14px;margin:0 0 7px}select{width:100%;padding:11px;background:white;border:1px solid #cbbda7;border-radius:5px;color:#40392f}#detail{padding:24px 25px}#detail h3{font-family:serif;font-size:25px;margin:7px 0 12px;line-height:1.5}#detail p{line-height:1.9;font-size:16px}.eyebrow{font-size:13px;color:#95613e}.photo{display:block;width:100%;height:auto;border-radius:3px}.crop{width:100%;background-repeat:no-repeat;border-radius:3px}figure{margin:25px 0 0}figcaption{font-size:13px;line-height:1.7;margin-top:10px;color:#70624f}.credit{font-size:12px;line-height:1.6;color:#796e5f;margin-top:5px}.no-photo{border-top:1px solid #ded3c2;color:#796e5f;padding-top:12px;font-size:14px!important}.nextbar{display:flex;justify-content:space-between;gap:8px;padding:0 25px 20px;margin-top:auto}.nextbar button{font-size:14px}.notice{font-size:12px;line-height:1.8;padding:16px 25px;margin:0;background:#eee5d6;color:#6e614e}.bottom-controls{position:absolute;bottom:20px;left:20px;right:20px;display:flex;gap:14px;align-items:center}.bottom-controls p{font-size:13px;background:#fffD;padding:8px;border-radius:4px}.mode{display:flex;box-shadow:0 2px 9px #0001}.mode button{border-radius:0;white-space:nowrap}.mode button[aria-pressed=true]{background:#594a38;color:#fff}.zoom{display:flex;margin-left:auto}.zoom button{font-size:22px;padding:3px 15px}#loading{position:absolute;inset:0;background:linear-gradient(140deg,#463b2eee,#786953ee);display:grid;place-items:center;color:white;z-index:10}.loadcard{padding:36px;max-width:460px;text-align:center}.loadcard h2{font-size:31px}.muted{font-size:13px;color:#e2d5c0}progress{width:100%;height:7px;accent-color:#c3a575}#map{position:absolute;right:18px;top:20px;width:125px;height:155px;background:#ffffffde;border:1px solid #c5b69e;border-radius:5px;padding:12px}#map span{position:absolute;font-size:12px;right:8px;top:5px}#map svg{width:100%;height:100%;overflow:visible}#map circle{cursor:pointer;fill:#65523b;stroke:white;stroke-width:7}#map circle.active{fill:#a46f46}#walkpad{position:absolute;bottom:95px;left:20px;text-align:center;touch-action:none}#walkpad button{background:#ffffffdd;width:48px;padding:5px}#vr button{position:static!important;transform:none!important;width:auto!important;padding:10px!important;font-size:13px!important;border-radius:6px!important;margin:0!important;bottom:auto!important}#vr a{display:none!important}[hidden]{display:none!important}
@media(max-width:800px){header{height:72px;padding:0 13px}.brand{gap:8px}h1{font-size:19px}h1 span{display:none}.seal{font-size:22px}.actions{gap:4px}.actions button{font-size:13px;padding:7px}main{display:flex;flex-direction:column;height:auto}#stage{height:60dvh;min-height:360px}aside{border-left:0;overflow:visible}.aside-head{padding:20px}.aside-head h2{font-size:23px}.stage-top{left:12px;top:12px;flex-direction:column;align-items:flex-start}#map{width:95px;height:125px;right:12px;top:12px}.bottom-controls{left:12px;right:12px;bottom:12px;gap:5px}.bottom-controls p{display:none}.mode button{font-size:14px;padding:10px}#detail{padding:20px}#detail figure{max-width:500px}#walkpad{bottom:73px}header small{font-size:10px}#vr button{max-width:95px}}

#mountainview{pointer-events:auto;background:#594a38e8;color:white;border-color:#a38e6f;font-size:13px;padding:7px 11px;min-height:36px}#mountainview:disabled{opacity:.7}.terrain-credit{font-size:12px;line-height:1.7;color:#796b57;margin:0;padding:0 25px 14px}

.stage-top{max-width:calc(100% - 170px);flex-wrap:wrap}@media(max-width:800px){.stage-top{max-width:calc(100% - 125px)}}

.site-overview{padding:18px 24px;border-bottom:1px solid #d7c9b4;line-height:1.8}.site-overview summary{cursor:pointer;font-weight:700}.site-overview a{color:#875c39}.site-overview p{font-size:14px}.credit{overflow-wrap:anywhere}

.source-excerpt{white-space:pre-line}.marker.landscape-marker{width:auto;min-width:90px;border-radius:18px;padding:9px 14px;background:#92613f;color:white;font-size:16px;white-space:nowrap}

.marker{min-height:26px;min-width:26px;height:26px;padding:2px 5px;border-width:1.5px;font-size:12px;line-height:19px;transform:none;box-shadow:0 2px 5px #0002}.marker.landscape-marker{min-width:0;width:auto;height:24px;min-height:24px;padding:2px 7px;border-radius:5px;font-size:12px;line-height:17px;background:#69664b;border-color:#efe8d6}.marker.landscape-marker.active{background:#504d35}

.point-video{display:block;width:100%;max-height:70vh;background:#382f27;border-radius:8px}.source-excerpt,#overview-copy{white-space:pre-line}h1{font-size:clamp(17px,2.5vw,28px)}

.source-excerpt,#overview-copy{line-height:2.25}ruby{ruby-position:over}rt{font-size:.55em;letter-spacing:0;font-weight:400}ruby rp{font-size:.6em}
.brand{min-width:0}.brand>div{min-width:0}.actions{flex-shrink:0}@media(max-width:440px){header{gap:8px}header .brand small{display:none}header h1{font-size:16px;line-height:1.4}header .seal{padding:3px 7px}}

header h1 .vr-title{display:block;font-family:sans-serif;font-size:12px;font-weight:400;line-height:1.2;letter-spacing:.08em;margin:2px 0 0;color:#d7bc8b}@media(max-width:800px){header .brand small{display:none}header h1 .vr-title{display:block;font-size:11px}}

/* Sand, clay and aged timber: a quiet archaeological exhibition palette. */
:root{--heritage-serif:"Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif CJK JP",serif;--heritage-ui:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
body{background:#eee7da}header{border-bottom:1px solid #ab906550;color:#f7f0e2}
h1,h2,#detail h3,.seal{font-family:var(--heritage-serif);font-weight:500}h1{letter-spacing:.025em}h2,#detail h3{letter-spacing:.045em}
button,select,.marker,.chip,#status,figcaption,.credit,.notice,.terrain-credit,small,header h1 .vr-title{font-family:var(--heritage-ui)}
button,select{background:#fbf7ee;border-color:#cfc2ad}.actions button{background:transparent;color:#f7f0e2}.actions button:hover{background:#ffffff12}
aside{background:linear-gradient(180deg,#f7f2e8,#f1eadc)}.chip{background:#f8f2e7ed;color:#594a38;border:1px solid #d2c4ad}
#map{background:#f8f2e7e8;border-color:#c5b69e}#map circle{stroke:#f8f2e7}.marker{border-color:#f8f2e7}.marker:hover{background:#796246}.marker.active{background:#92613f}
.bottom-controls p,#walkpad button{background:#faf5ebed}.source-excerpt,#overview-copy{font-feature-settings:"palt";color:#40392f}a{color:#875c39;text-underline-offset:.2em}
header h1 .vr-title{color:#d7bc8b;letter-spacing:.18em}header .brand small{color:#c5b79f}

/* Pale sage interface; dark olive text remains legible on mobile. */
:root,body{color:#2e4035;background:#e8efe3}header{background:#dce7d3;color:#2e4035;border-bottom:1px solid #b8c8ae}
.seal{color:#546a47;border-color:#92a280}header .brand small,header h1 .vr-title{color:#52664b}.actions button{color:#2e4035;border-color:#a8ba9e;background:#eef4e8}.actions button:hover{background:#d0dfc5}
aside{background:linear-gradient(180deg,#f1f6ec,#e6eedf);border-color:#c0cfb6}.aside-head,.no-photo{border-color:#c7d4bf}.notice{background:#dce7d3;color:#4b6048}
button,select{background:#f4f8ef;color:#2e4035;border-color:#b8c8ad}button:hover{background:#dce8d2}button:focus-visible,select:focus-visible{outline-color:#738957}
.chip{background:#eff5e9ed;color:#344831;border-color:#b8c8ad}#status{background:#4a6345eb;color:#fff}#map{background:#eff5e9e8;border-color:#b8c8ad}#map circle{fill:#526c4a;stroke:#edf3e7}#map circle.active{fill:#8b7048}
.marker{background:#4e6747;border-color:#f1f6ec}.marker:hover{background:#657c55}.marker.active{background:#8b7048}.mode button[aria-pressed=true]{background:#4e6747;color:white}
.bottom-controls p,#walkpad button{background:#f0f6e9ed;color:#2e4035}.source-excerpt,#overview-copy{color:#2e4035}.eyebrow,a{color:#546b43}.credit,figcaption,.aside-head small,.no-photo{color:#5b6d53}#stage{background:#adc2d0}

/* Clear black Gothic site title, preserving the pale sage palette. */
header h1{font-family:var(--heritage-ui);font-weight:700;color:#000;letter-spacing:.015em}header h1 .vr-title{font-family:var(--heritage-ui);font-weight:500;color:#000;letter-spacing:.08em}

/* Refined Gothic title: clean, restrained weight and spacing. */
header h1{font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;font-weight:600;letter-spacing:.065em;color:#000}header h1 .vr-title{font-family:inherit;font-weight:500;letter-spacing:.14em;color:#000}

/* Word revision 2: title in Yu Mincho, with supplied ruby and subtitle. */
header{height:auto;min-height:112px;padding-top:12px;padding-bottom:12px}main{height:calc(100dvh - 112px)}
header h1,header h1 .vr-title,header h1 span{font-family:"Yu Mincho","YuMincho","Hiragino Mincho ProN",serif;color:#000;font-weight:600;letter-spacing:.025em}
header h1 #site-title{display:block;font-size:23px;margin:0;line-height:1.7}header h1 #site-tagline{display:block;font-size:13px;margin:1px 0 4px;line-height:1.4}header h1 .vr-title{display:block;font-size:12px;margin:0;line-height:1.3}
header h1 rt{font-size:.43em}header .brand small{display:none}#detail h3{line-height:1.9}
@media(max-width:800px){main{height:auto}header{min-height:118px;gap:6px;flex-wrap:wrap;padding:10px 12px}header h1 #site-title{font-size:clamp(16px,3.6vw,21px)}header h1 #site-tagline{font-size:11px}header .seal{display:none}header .actions{margin-left:auto}.brand{min-width:0}}

.landscape-view{width:100%;margin-top:8px;font-size:14px}
