/* Readable rounded type at every viewport size, including immersive panels. */
:root{--ink:#293c30;--muted:#535f52;--copper:#795039}
body{font-size:18px;line-height:1.85}
.brand{font-size:24px}
.brand small{font-size:14px;letter-spacing:.12em}
.site-header nav,.site-header nav a{font-size:17px}
.eyebrow,.room-heading .eyebrow{font-size:14px;line-height:1.7;letter-spacing:.05em;flex-wrap:wrap}
.chapter{color:var(--muted)}
.room-english{font-size:14px;letter-spacing:.05em}
h1>span{font-size:24px}
.intro-note{max-width:440px;flex-shrink:1}
.intro-note .intro-lead{font-size:20px}
.intro-note p{font-size:18px;line-height:1.9}
.stage-label,.stage.immersive .stage-label{font-size:18px;background:#faf9f1;color:var(--ink)}
.stage-label small{font-size:12px;letter-spacing:.05em;color:var(--muted)}
.panorama-badge{font-size:14px;background:#293c30}
.entrance-copy{max-width:calc(100% - 32px)}
.entrance-sub{font-size:22px}
.enter-button{font-size:24px;min-height:64px}
.entrance-caption{max-width:460px;margin-inline:auto;font-size:16px;line-height:1.8;background:#293c30;padding:8px 16px;color:#fffdf4;text-shadow:none}
.stage-footer{font-size:15px;line-height:1.8;gap:10px 24px}
.stage-footer span:first-child{align-items:flex-start}
.outline-circle{flex:none;margin-top:8px}
.section-heading>p{font-size:18px;line-height:1.85}
.heading-count{font-size:16px}
.filter{font-size:16px;min-height:46px;padding:8px 18px}
.filter span{font-size:14px;opacity:1}
.product-title{font-size:23px;line-height:1.6;align-items:flex-start}
.product-title span{font-size:22px}
.product-meta{font-size:14px;line-height:1.7;flex-wrap:wrap;gap:4px 12px}
.product-caption{font-size:17px;line-height:1.8}
.collection-note{font-size:16px;line-height:1.9}
.about-label{font-size:14px}
.about p{font-size:18px;line-height:1.9}
.text-link{font-size:17px;line-height:1.8}
.site-footer,.site-footer>span{font-size:14px;line-height:1.8}
.site-footer .brand{font-size:20px}
.room-notes-label{font-size:26px}
.room-notes-label small,.room-notes-label .room-notes-description{font-size:16px;line-height:1.8}
.room-notes-toggle,.room-notes-close{font-size:17px}

/* Solid, high-contrast labels and generous touch targets over the illustration. */
.marker{font-size:18px;gap:0;padding:6px;width:max-content;max-width:calc(100vw - 24px);color:var(--ink);text-shadow:none;filter:drop-shadow(0 3px 7px #15291e66)}
.marker-dot{width:42px;height:42px;flex:none;border:2px solid #faf9f1;background:#304837;color:#fffdf4;font-size:17px;box-shadow:none;margin-right:-7px;z-index:1}
.marker-label{background:#fffdf4;color:#25382b;border:2px solid #304837;border-radius:10px;padding:9px 15px 9px 17px;font-size:18px;line-height:1.45;white-space:normal;max-width:230px;text-align:left}
.marker:hover .marker-label{background:#eef3e5}
.glass,.viewer-top .glass,.catalog-button{font-size:17px;line-height:1.5;min-height:48px;padding:10px 16px;background:#293c30;color:#fffdf4;border-color:#c8d4bc}
.glass.icon,.viewer-top .glass.icon,.look-controls .glass.icon{height:48px;min-width:48px;padding:0;font-size:25px}
.catalog-button span:first-child{width:25px;height:25px;font-size:15px;border-color:#dbe5ce}
.drag-hint{font-size:17px;background:#293c30;padding:7px 12px;border-radius:6px;text-shadow:none}
.viewer-bottom{gap:14px}
.look-controls{gap:7px}
.help-panel{background:#293c30;max-height:calc(100dvh - 180px);overflow:auto}
.help-panel strong{font-size:23px;line-height:1.6}
.help-panel p{font-size:17px;line-height:1.9}
.help-panel small{font-size:15px;color:#e7eedb}
.toast,.fallback{font-size:17px;line-height:1.8}
.toast{background:#293c30;max-width:calc(100% - 30px);width:max-content}

/* Reading panels: body copy never shrinks to fit beside an illustration. */
dialog{width:min(1100px,calc(100% - 48px));max-width:calc(100% - 24px);max-height:calc(100dvh - 36px);background:#fffdf6;color:var(--ink);font-size:18px;overscroll-behavior:contain;scroll-padding-top:80px}
dialog::backdrop{background:#142019b8;backdrop-filter:blur(5px)}
.dialog-toolbar{position:sticky;top:0;z-index:10;display:flex;justify-content:flex-end;padding:10px 14px;background:#fffdf6;border-bottom:1px solid var(--line)}
.dialog-close{position:static;float:none;display:flex;align-items:center;justify-content:center;gap:14px;width:auto;min-width:112px;height:46px;padding:8px 16px;margin:0;border:1px solid #63745c;border-radius:8px;background:#edf2e7;color:#293c30;font:500 17px/1.5 var(--sans)}
.dialog-close span{font-size:26px;line-height:1}
.dialog-close:hover{background:#dfe8d5}
.detail-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start}
.detail-visual{align-self:start;position:sticky;top:86px;padding:25px 0 25px 25px}
.detail-visual .food-image{border-radius:8px}
.detail-body{padding:30px 34px 36px}
.detail-body .eyebrow{font-size:15px;color:#516144}
.detail-body h2{font-size:32px;line-height:1.55;margin:13px 0 20px;letter-spacing:.03em}
.detail-body .detail-desc{font-size:18px;line-height:1.9;margin-bottom:25px}
.detail-body h3{font-size:22px;line-height:1.6;margin-bottom:12px}
.detail-body ul{font-size:18px;line-height:1.85;padding-left:1.25em;margin-bottom:26px}
.detail-body li+li{margin-top:8px}
.detail-note{font-size:16px;line-height:1.9;color:#485744;background:#edf2e7;border:0;border-radius:8px;padding:17px 19px}
.detail-tag{font-size:15px;line-height:1.7;padding:6px 12px;color:#4b5a42;border-color:#a5b396}
.catalog-head{padding:22px 32px 26px}
.catalog-head h2{font-size:34px}
.catalog-head p:last-child{font-size:18px;color:var(--muted);margin-top:8px}
.catalog-grid{gap:30px 24px;padding:0 32px 32px}
.catalog-grid .product-title{font-size:21px;line-height:1.65}
.catalog-grid .product-meta{font-size:14px}
.catalog-grid .product-info{padding-block:12px 16px}

@media(max-width:1100px){
 .intro{flex-direction:column;align-items:flex-start;gap:25px}
 .intro-note{border-left:0;padding-left:0;max-width:none}
 .intro-note .desktop-break{display:none}
 .section-heading{flex-wrap:wrap}
}
@media(max-width:800px){
 .detail-layout{grid-template-columns:1fr}
 .detail-visual{position:static;width:220px;max-width:60%;padding:0;margin:22px auto 0}
 .detail-body{padding:25px 30px 32px}
 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .viewer-bottom{flex-wrap:wrap}
 .stage.immersive .stage-label{top:86px}
}
@media(max-width:650px){
 .site-header{height:auto;min-height:110px;padding-block:18px;flex-wrap:wrap;gap:15px}
 .brand{font-size:21px}
 .brand small{font-size:13px}
 .site-header nav{width:100%;gap:16px;justify-content:space-between;flex-wrap:wrap}
 .site-header nav a,.site-header nav a:first-child,.site-header nav a:last-child{display:block;font-size:15px;padding:0}
 .room-heading{gap:16px;align-items:flex-start}
 .room-heading .eyebrow{font-size:13px;gap:6px;letter-spacing:0}
 .room-heading .chapter{border-left:0;padding-left:0}
 .room-english{font-size:12px;line-height:1.7;letter-spacing:0}
 h1>span{font-size:21px}
 .intro-note .intro-lead{font-size:20px}
 .intro-note p{font-size:17px;line-height:1.85}
 .stage-label,.stage.immersive .stage-label{font-size:17px;padding:9px 11px;gap:9px}
 .stage-label small{font-size:12px}
 .panorama-badge{display:none}
 .gallery-number{width:34px;height:42px;font-size:22px}
 .entrance-sub{font-size:21px}
 .enter-button{font-size:22px;min-width:245px;min-height:60px}
 .entrance-caption{font-size:15px;line-height:1.75;padding:9px 12px}
 .stage-footer{font-size:14px;line-height:1.85}
 .stage-footer span:last-child{margin-top:10px}
 .eyebrow{font-size:13px;letter-spacing:.02em}
 .section-heading>p{font-size:17px}
 .heading-count{font-size:15px}
 .filter{font-size:15px;padding:8px 14px;min-height:44px}
 .filter span{font-size:14px}
 .product-grid{grid-template-columns:1fr;gap:30px}
 .product-title{font-size:22px}
 .product-meta{font-size:14px}
 .product-caption{font-size:17px}
 .collection-note{font-size:16px}
 .about p{font-size:18px}
 .site-footer>span{font-size:14px}
 .room-notes>summary{gap:13px;padding:20px 16px}
 .room-notes-label{font-size:24px;flex-basis:calc(100% - 52px)}
 .room-notes-label small,.room-notes-label .room-notes-description{font-size:15px;line-height:1.8}
 .room-notes-toggle{font-size:17px;width:100%;text-align:right}
 .room-notes-close{font-size:17px}
 .marker-label{font-size:17px;max-width:205px;padding:9px 13px 9px 16px}
 .marker-dot{width:40px;height:40px;font-size:16px}
 .viewer-top{inset:12px 12px auto}
 .viewer-top .glass{font-size:15px;padding:9px 12px;min-height:46px}
 .viewer-top .glass.icon{height:46px;min-width:46px;font-size:23px}
 .viewer-bottom{display:grid;grid-template-columns:1fr;justify-items:center;gap:10px;inset:auto 12px 14px}
 .look-controls{max-width:none;flex-wrap:nowrap;gap:6px}
 .look-controls .glass.icon{height:46px;min-width:46px;font-size:25px}
 .catalog-button{font-size:17px;padding:10px 17px;min-height:48px}
 .catalog-button span{margin-left:9px}
 .help-panel{top:152px;right:12px;padding:20px;max-height:calc(100dvh - 285px)}
 .help-panel p{font-size:17px}
 .help-panel small{font-size:15px}
 .toast{bottom:132px;font-size:16px}
 dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:10px}
 .dialog-toolbar{padding:9px 12px}
 .dialog-close{font-size:17px;min-width:110px}
 .detail-visual{width:180px;margin-top:20px}
 .detail-body{padding:22px 22px 28px}
 .detail-body .eyebrow{font-size:15px}
 .detail-body h2{font-size:28px;line-height:1.6}
 .detail-body .detail-desc,.detail-body ul{font-size:18px}
 .detail-note{font-size:16px;padding:15px}
 .detail-tag{font-size:15px}
 .catalog-head{padding:20px 22px}
 .catalog-head .eyebrow{font-size:13px}
 .catalog-head h2{font-size:30px}
 .catalog-head p:last-child{font-size:17px}
 .catalog-grid{grid-template-columns:1fr;padding:0 20px 26px;gap:20px}
 .catalog-grid .product-card{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:16px}
 .catalog-grid .product-title{font-size:20px;line-height:1.65}
 .catalog-grid .product-meta{font-size:14px}
 .catalog-grid .product-info{padding-block:6px 14px}
}

/* Common exit control for every exhibition room. Keep the full label readable. */
.room-exit{display:flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0}
@media(max-width:420px){
 .room-exit .exit-english{display:block}
 .stage.immersive .stage-label{top:96px}
}
/* Keep the atmosphere toggle separate from Exit and the viewing tools. */
.viewer-top .marker-toggle{position:absolute;right:0;top:60px;white-space:nowrap;min-width:230px}
@media(max-width:800px){
 .viewer-top{display:grid;grid-template-columns:auto auto;gap:8px;align-items:center}
 .viewer-tools{justify-self:end}
 .viewer-top .marker-toggle{position:static;grid-column:1/-1;justify-self:end}
 .stage.immersive .stage-label{top:140px}
 .help-panel{top:222px;max-height:calc(100dvh - 355px)}
}
@media(max-width:420px){
 .stage.immersive .stage-label{top:156px}
}