﻿/* Shared exhibition surfaces. Page-specific layouts keep their own media sizing. */
body.museum-shell {
    --forest: #103d37;
    --brass: #e5bd79;
    --rim: #c5d2c7;
    --glass: linear-gradient(146deg,rgba(255,255,252,.97),rgba(245,248,241,.89));
    --lift: 0 12px 32px -22px #183f37a6;
    --display: 'Nen Chua Serif','Times New Roman',serif;
    background-color:#f4f1e8;
    background-image:radial-gradient(ellipse at 6% 0%,#d9e8de 0,transparent 40rem),radial-gradient(ellipse at 100% 26rem,#eee2c9 0,transparent 42rem);
    color:#253e36;
}
.museum-shell .body-content {margin:clamp(16px,2.2vw,34px) auto 0;padding-inline:clamp(12px,2.1vw,32px);max-width:1480px;width:100%}
.museum-shell main :is(h1,h2,h3,h4),.museum-shell .navbar-brand {font-family:var(--display);text-wrap:balance}
.museum-shell main :is(h1,h2,h3) {line-height:1.25}
.museum-shell .museum-nav {
    background:linear-gradient(112deg,#092f2d,#154940 60%,#103531);color:#fff9eb;border:0;
    box-shadow:inset 0 -1px #d6ba7f,0 5px 20px #103e3421;padding:.55rem clamp(0px,1vw,18px);position:relative;isolation:isolate;
}
.museum-shell .museum-nav .container-fluid {max-width:1590px}
.museum-shell .museum-nav .navbar-brand {color:#fff9e9;font-weight:650}
.museum-shell .museum-nav .navbar-brand img {background:#faf4e8;border-radius:11px;padding:3px;box-shadow:0 0 0 1px #efd8a74a}
.museum-shell .museum-nav .navbar-nav .nav-link {color:#ecf2e8;font-size:.94rem;min-height:44px}
.museum-shell .museum-nav .navbar-nav .nav-link:is([aria-current],:hover,:focus-visible) {background:#ffffff18;color:#fff2cc}
.museum-shell .museum-nav .nav-link::before {color:#e3c997}
.museum-shell .museum-nav .nav-link::after {background:linear-gradient(90deg,#f0d299,#65cab9)}
.museum-shell .museum-nav .btn,.museum-shell .trang-chu .hero-noi-dung .btn-success {
    color:#262d21;background:linear-gradient(120deg,#f8dfa1,#deb16e);border-color:#ecc78a;box-shadow:inset 0 1px #fff5d5,0 3px 12px #001f2538;
}
.museum-shell .museum-nav .navbar-toggler {background:#f7efd9;border-color:#e7d4aa;min-height:44px}
.museum-shell .body-content>hr {border-color:#a4b7a8;margin-top:2.5rem}
.museum-shell .body-content>footer {color:#416052;padding:.4rem 0 5rem;font-size:.91rem}
.museum-shell .trang-chu .hero-nen-chua {
    min-height:clamp(420px,40vw,595px);border-radius:24px;background:#133d35;color:#fffaf0;
    box-shadow:0 18px 45px -23px #1c473b99; border:1px solid #537467;
}
.museum-shell .trang-chu .hero-nen-chua::before {
    display:block;background:linear-gradient(90deg,#0b2e2df5 0%,#103a32e8 32%,#153c32ab 49%,#18322e13 74%),linear-gradient(0deg,#102c2b88,transparent 40%);
}
.museum-shell .trang-chu .hero-noi-dung {padding:clamp(2rem,5vw,5.6rem);width:min(66%,780px)}
.museum-shell .trang-chu #ten-bao-tang {
    width:auto;white-space:normal;text-align:left;text-transform:none;color:#fff8e9;
    font:600 clamp(3rem,5.8vw,5.8rem)/1.18 var(--display);letter-spacing:-.035em;
}
.museum-shell .trang-chu #ten-bao-tang span {text-transform:uppercase;padding:0;color:#f5ce8d;font:650 .95rem/1.6 'Segoe UI',sans-serif;letter-spacing:.17em;margin:0 0 .8rem}
.museum-shell .trang-chu .hero-phu-de {padding:0;background:none;text-transform:none;color:#ffdda4;font:italic clamp(1.15rem,2vw,1.65rem)/1.5 var(--display)}
.museum-shell .trang-chu .hero-cau-hoi {color:#f1f0df;font-style:normal;max-width:39ch}
.museum-shell .trang-chu .hero-noi-dung .btn-outline-dark {color:#fff8e8;background:#ffffff17;border-color:#ffffff77;backdrop-filter:blur(9px)}
.museum-shell .trang-chu .hero-nen-chua::after {content:"";position:absolute;inset:12px;pointer-events:none;border:1px solid #fff0c63b;border-radius:15px}
.museum-shell .trang-chu .the-gia-tri,.museum-shell .gm-grid>article,.museum-shell .museum-card,
.museum-shell .hd .hd-mission,.museum-shell .tl .tl-card,.museum-shell .kc .kc-panel,.museum-shell .nc1 .nc-card {
    background:var(--glass);border:1px solid var(--rim)!important;border-radius:16px!important;
    box-shadow:inset 0 1px 0 #fff,var(--lift);
}
.museum-shell .trang-chu .the-gia-tri {position:relative;overflow:hidden;padding:1.4rem!important;border-top:3px solid #b9975c!important}
.museum-shell .trang-chu .the-gia-tri img {object-fit:contain}
.museum-shell .trang-chu .gia-tri-hoc-tap h2 {margin-block:.75em!important}
.museum-shell .trang-chu #huong-dan {display:grid;grid-template-columns:minmax(160px,.75fr) 1.4fr;gap:.5rem 2rem;align-content:center;background:#e6ece2;padding:clamp(1.3rem,3vw,2.8rem)!important;border:1px solid var(--rim);border-radius:20px}
.museum-shell #huong-dan h2 {align-self:end;margin-bottom:0}
.museum-shell #huong-dan video {grid-column:2;grid-row:1/3;align-self:center;max-height:420px;border-radius:12px;background:#122822}
.museum-shell :is(.gm-hero,.kc-cover,.nc-cover,.opening,.hd-cover,.tl-cover) {
    position:relative;isolation:isolate;border:1px solid #87a69b;border-radius:22px;box-shadow:0 16px 40px -22px #153a3399;
}
.museum-shell .gm .gm-hero {
    background:linear-gradient(90deg,#103932 10%,#0d4037ea 40%,#163b3355 75%),url('../Chang1/coc-tong-hop.jpg') right center/auto 100% no-repeat,#103932;
    color:#fffbea;padding:clamp(2rem,5vw,4.8rem);overflow:hidden;
}
.museum-shell .gm .gm-hero :is(h1,p,small){color:#fff8e7}
.museum-shell .gm .gm-hero p{max-width:43ch}
.museum-shell :is(.nc-cover,.kc-cover,.tl-cover),.museum-shell #nc1 .opening {
    background:radial-gradient(ellipse at 28% 0,#246356,transparent 65%),#0d3935;
}
.museum-shell .hd .hd-cover {background:linear-gradient(135deg,#fff9e8,#e7efe4 65%)}
.museum-shell .tl .tl-tools {border-block:1px solid #c5d4c9;padding-block:.85rem}
.museum-shell :is(.gm-box,.hd-paper,.tl-guide) {box-shadow:inset 0 1px #fff,0 12px 28px -24px #245846}
.museum-shell .museum-page>h1 {padding:clamp(1.8rem,4vw,3.5rem);border-radius:20px;color:#fff7e6;background:radial-gradient(at 88% 0,#347769,transparent 62%),var(--forest);box-shadow:var(--lift)}
.museum-shell .museum-card h2 {color:var(--forest)}
.museum-shell :is(dialog[open],.nc-chat-panel) {box-shadow:0 22px 80px #12352e45}
.museum-shell .nc-chat-launch {background:linear-gradient(115deg,#13483e,#20594f);border:1px solid #cdb176;box-shadow:0 7px 23px #12332e38}
.museum-shell :is(a,button,summary,input,textarea,select):focus-visible {outline:3px solid #b88237;outline-offset:3px}
@media(min-width:1400px){.museum-shell .museum-nav .navbar-nav .nav-link{padding-inline:.8rem}}
@media(max-width:991.98px){
    .museum-shell .trang-chu .hero-nen-chua {display:grid;grid-template-columns:1fr;padding:0!important;min-height:0}
    .museum-shell .trang-chu .hero-noi-dung {width:100%;padding:clamp(1.4rem,5vw,2.8rem)}
    .museum-shell .trang-chu .hero-nen-chua>.col-lg-6:last-child {position:relative;inset:auto;z-index:0;order:-1;height:clamp(160px,33vw,290px);width:100%}
    .museum-shell .trang-chu .hero-nen-chua::before {display:none}
}
@media(max-width:700px){
    .museum-shell .body-content{padding-inline:12px}.museum-shell .trang-chu #huong-dan {display:block}
    .museum-shell .museum-nav .navbar-brand {margin-right:0}.museum-shell .trang-chu .hero-noi-dung {padding:1.55rem}
    .museum-shell .museum-nav .navbar-nav {border-color:#ffffff38}
    .museum-shell .body-content>footer {padding-bottom:5.5rem}
}
@media(prefers-reduced-motion:no-preference){
    .museum-shell :is(.trang-chu .hero-noi-dung,.gm-hero>h1,.opening-copy,.nc-cover>div,.kc-cover>div,.hd-copy,.tl-cover>div) {animation:museum-arrive .65s cubic-bezier(.2,.7,.2,1) both}
    .museum-shell .museum-reveal {animation:museum-arrive .48s cubic-bezier(.2,.7,.2,1) both}
    .museum-shell .museum-nav::after {content:"";position:absolute;pointer-events:none;bottom:0;left:0;height:2px;width:100%;background:linear-gradient(90deg,transparent,#78ddce,#f7d79c,transparent);transform-origin:left;animation:museum-line 1.1s ease-out both}
    .museum-shell :is(.the-gia-tri,.gm-grid>article,.tl-card,.hd-mission,.museum-card){transition:transform .25s,box-shadow .25s,border-color .25s}
    @media(hover:hover){.museum-shell :is(.the-gia-tri,.gm-grid>article,.tl-card,.hd-mission,.museum-card):hover{transform:translateY(-4px);box-shadow:0 14px 30px -14px #22665666,inset 0 1px #fff}}
    @keyframes museum-arrive {from{opacity:.35;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
    @keyframes museum-line {from{transform:scaleX(.04);opacity:0}to{transform:scaleX(1);opacity:.85}}
}
@media print {.museum-shell{background:white}.museum-shell .body-content{margin:0}.museum-shell .museum-reveal{animation:none}}

.museum-light {display:none}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
    .museum-shell .museum-light {display:block;position:absolute;inset:0;border-radius:inherit;z-index:1;pointer-events:none;opacity:0;transition:opacity .35s;background:radial-gradient(240px circle at var(--x,50%) var(--y,40%),#99fbe51b,transparent)}
    .museum-shell :is(.hero-nen-chua,.gm-hero,.opening,.nc-cover,.kc-cover,.hd-cover,.tl-cover):hover>.museum-light {opacity:1}
}
.museum-shell .museum-nav {
    background:linear-gradient(110deg,rgba(8,43,40,.98),rgba(21,70,61,.94) 65%,rgba(10,45,42,.97));
    backdrop-filter:blur(16px) saturate(120%);
}
.museum-shell .gm-hero::after,.museum-shell .museum-page>h1::after {
    content:"";position:absolute;pointer-events:none;inset:0 0 0 auto;width:33%;opacity:.34;
    background:repeating-radial-gradient(ellipse at 110% 130%,transparent 0 20px,#e5cb8c9c 21px,transparent 22px 38px);
    mask-image:linear-gradient(90deg,transparent,#000);border-radius:inherit;
}
.museum-shell .museum-page>h1 {position:relative;overflow:hidden}
.museum-shell .kc-cover figcaption,.museum-shell .nc-cover figcaption {font-size:.84rem}
.museum-shell .trang-chu .gia-tri-hoc-tap h2::before,.museum-shell .trang-chu .gia-tri-hoc-tap h2::after {
    content:"";display:inline-block;vertical-align:middle;width:clamp(15px,5vw,70px);height:1px;background:#aa8a58;margin-inline:.5em;
}
.museum-shell .gm .gm-hero a,.museum-shell .kc-cover .kc-button,.museum-shell .hd .hd-copy button:first-child {
    border-radius:30px;box-shadow:0 4px 14px #163a3029;
}
@media(max-width:640px){.museum-shell .trang-chu .gia-tri-hoc-tap h2::before,.museum-shell .trang-chu .gia-tri-hoc-tap h2::after{display:none}}

/* Exhibition transitions, reading progress and motion preference. */
.museum-scene {position:relative;isolation:isolate}
.museum-shell .museum-motion-toggle {
    background:#ffffff12;color:#fff0c5;border:1px solid #e8d4a762;border-radius:50%;
    width:36px;height:36px;min-width:36px;display:inline-grid;place-items:center;
    margin:.32rem 0 .32rem .5rem;padding:0;
}
.museum-shell .museum-motion-toggle[hidden]{display:none}
.museum-motion-toggle span{width:9px;height:12px;border-inline:3px solid currentColor}
.museum-motion-off .museum-motion-toggle span{width:0;height:0;border:0;border-block:6px solid transparent;border-left:9px solid currentColor;margin-left:2px}
.museum-reading-line{pointer-events:none;position:fixed;inset:0 0 auto;height:3px;z-index:1050;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,#b58442,#f6dfa6 52%,#5bcec0);box-shadow:0 1px 5px #e0b87562}
@media(max-width:1199.98px){.museum-shell .museum-motion-toggle{width:44px;height:44px;vertical-align:middle;margin:0 .4rem .6rem}}
@media(max-width:700px){
}
@media(prefers-reduced-motion:no-preference){
    .museum-shell:not(.museum-motion-off) .trang-chu .hero-anh {animation:survey-drift 20s ease-in-out infinite alternate;transform-origin:70% 47%}
    .museum-shell:not(.museum-motion-off) .museum-card-enter {animation:survey-card .55s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:var(--card-delay,0ms)}
    .museum-shell:not(.museum-motion-off) main dialog[open]{animation:survey-open .3s cubic-bezier(.2,.75,.2,1)}
    .museum-shell:not(.museum-motion-off) main dialog[open]::backdrop{animation:survey-veil .3s ease-out}
    .museum-shell:not(.museum-motion-off) .museum-nav::after {width:100%;height:2px;animation:survey-nav 9s ease-in-out infinite;background:linear-gradient(90deg,transparent 28%,#9de5d7 44%,#fff3bd 51%,transparent 67%) 0 0 / 300% 100%}
    .museum-shell:not(.museum-motion-off) main :is(.btn,.primary,.hd-mission button,.tl-card button,.kc-button):active {scale:.96;transition:scale .13s ease-out}
    @keyframes survey-drift {from{scale:1.015}to{scale:1.085}}
    @keyframes survey-nav {0%,12%{background-position:100% 0}80%,100%{background-position:0 0}}
    @keyframes survey-card {from{opacity:.15;translate:0 16px}to{opacity:1;translate:0 0}}
    @keyframes survey-open {from{opacity:.25;translate:0 12px;scale:.985}to{opacity:1;translate:0 0;scale:1}}
    @keyframes survey-veil {from{opacity:0}to{opacity:1}}
}
.museum-shell.museum-motion-off :is(.museum-nav,.museum-nav::after,.museum-reveal,.museum-card-enter,.hero-noi-dung,.hd-copy,.opening-copy,.tl-cover>div,.kc-cover>div,.nc-cover>div,.gm-hero>h1){animation:none}
.museum-shell.museum-motion-off .museum-nav::after{animation:none;opacity:0}
@media print{.museum-motion-toggle,.museum-reading-line{display:none!important}}

/* Button finishes are grouped by action rather than by page. */
.museum-shell [data-museum-action="copper"] {--enamel:#f3c879;--edge:#e4a654;--type:#362610;--shine:#fff6cf99;--shadow:#84502544}
.museum-shell [data-museum-action="jade"] {--enamel:#236860;--edge:#164c48;--type:#fffcef;--shine:#a4ead649;--shadow:#16594e40}
.museum-shell [data-museum-action="forest"] {--enamel:#35583f;--edge:#224332;--type:#fff9e8;--shine:#c3e79f49;--shadow:#2847354a}
.museum-shell [data-museum-action="ivory"] {--enamel:#fff6dd;--edge:#e7d7b8;--type:#493921;--shine:#ffffffc5;--shadow:#735c3030}
.museum-shell [data-museum-action="indigo"] {--enamel:#39465d;--edge:#253746;--type:#fff2d5;--shine:#c9ceed46;--shadow:#263a5559}
.museum-shell [data-museum-action="copper"] {--action-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M4%2019c4-5%206-5%209-9M10%205l9-2-2%209-3-4-4-3Z%20M4%2020h6%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E")}
.museum-shell [data-museum-action="jade"] {--action-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%2021l-6-6%20M17%2010a7%207%200%201%201-14%200%207%207%200%200%201%2014%200Z%20M7%2010h6%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E")}
.museum-shell [data-museum-action="forest"] {--action-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M4%204h13l3%203v13H4Z%20M8%204v6h8V4%20M8%2020v-6h8v6%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E")}
.museum-shell [data-museum-action="ivory"] {--action-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%206C9%204%206%204%203%205v13c3-1%206-1%209%201%203-2%206-2%209-1V5c-3-1-6-1-9%201Z%20M12%206v13%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E")}
.museum-shell :is(#menuBaoTang,main,.nc-chat-panel) [data-museum-action],
.museum-shell button.nc-chat-launch[data-museum-action] {
    isolation:isolate;overflow:hidden;vertical-align:middle;display:inline-block;
    min-height:44px;padding:.61em 1.05em;border:1px solid color-mix(in srgb,var(--edge),#675834 24%);
    border-radius:12px;color:var(--type);font-weight:670;text-decoration:none;line-height:1.5;
    background:linear-gradient(108deg,transparent 29%,var(--shine) 46%,transparent 62%) 100% 0 / 320% 100% no-repeat,
               linear-gradient(150deg,var(--enamel) 10%,var(--edge) 100%);
    box-shadow:inset 0 1px 0 #ffffff55,inset 0 -2px 0 #36261018,0 4px 12px -5px var(--shadow);
}
.museum-shell :is(#menuBaoTang,main,.nc-chat-panel) [data-museum-action]{position:relative}
.museum-shell .tl a[data-museum-action]{color:var(--type)!important}
.museum-shell .tl [data-kind][aria-pressed="true"] {--enamel:#285f52;--edge:#16453a;--type:#fff9e8;--shine:#b3e7ce50}
.museum-shell .nc-chat-launch[data-museum-action],.museum-shell #menuBaoTang .btn[data-museum-action]{border-radius:50px}
.museum-shell button.nc-chat-launch[data-museum-action]{position:fixed}
.museum-shell [data-museum-action]:not([data-museum-action="indigo"]):not([data-kind]):not(.nc-chat-panel button)::before{
    content:"";display:inline-block;width:1.12em;height:1.12em;vertical-align:-.18em;margin-inline-end:.45em;
    background:currentColor;mask:var(--action-symbol) center / contain no-repeat;
}
.museum-shell .museum-ink{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(circle,transparent 42%,var(--shine) 60%,transparent 71%);margin:0}
.museum-shell .nc-chat-launch>span:first-child{display:inline-block;color:#ffe6ab}
.museum-shell #menuBaoTang .icon-GiaiMaDauXua{--nav-icon:var(--action-symbol);--action-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='5' cy='17' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M7 17h6a3 3 0 0 0 0-6h-2a2.5 2.5 0 0 1 0-5h5'/%3E%3C/svg%3E")}
.museum-shell .museum-nav .icon-GiaiMaDauXua{--nav-tone:#f3ca88}
.museum-shell .museum-nav .icon-KiemChungLichSu{--nav-tone:#a1e4d8}
.museum-shell .museum-nav .icon-HanhDongViDiSan{--nav-tone:#bdd995}
.museum-shell .museum-nav .icon-NguonTuLieu{--nav-tone:#f1bc98}
.museum-shell .museum-nav .icon-KetNoiGopY{--nav-tone:#c2cdea}
.museum-shell .museum-nav .nav-link::before{color:var(--nav-tone,#e3c997)}
.museum-shell .museum-nav .nav-link::after{background:linear-gradient(90deg,var(--nav-tone,#e3c997),transparent)}
@media(prefers-reduced-motion:no-preference){
    .museum-shell:not(.museum-motion-off) [data-museum-action]{transition:translate .2s,scale .15s,box-shadow .25s,background-position .55s}
    .museum-shell:not(.museum-motion-off) :is(.hero-noi-dung,.gm-hero,.opening,.nc-cover,.hd-copy) [data-museum-action="copper"]{animation:enamel-light 6s ease-in-out infinite}
    .museum-shell:not(.museum-motion-off) [data-museum-action]:focus-visible,
    .museum-shell:not(.museum-motion-off) [data-museum-action]:hover{background-position:0 0,0 0;box-shadow:inset 0 1px #fff8,0 6px 16px -4px var(--shadow)}
    @media(hover:hover) and (pointer:fine){
        .museum-shell:not(.museum-motion-off) [data-museum-action]:hover{translate:0 -2px}
        .museum-shell:not(.museum-motion-off) [data-museum-action]:hover::before,
        .museum-shell:not(.museum-motion-off) .museum-nav .nav-link:hover::before{animation:enamel-lift .45s ease-out}
    }
    .museum-shell:not(.museum-motion-off) [data-museum-action]:active{translate:0 1px;scale:.97}
    @keyframes enamel-light{0%,55%{background-position:100% 0,0 0}83%,100%{background-position:0 0,0 0}}
    @keyframes enamel-lift{0%,100%{transform:translateY(0)}45%{transform:translateY(-2px) rotate(-8deg)}}
}
.museum-shell [data-museum-action]:disabled{opacity:.6;cursor:default}

.museum-shell .museum-nav .icon-PhongTrungBay {
    --nav-tone:#e4bc8f;
    --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='m3 8 9-5 9 5H3Zm2 12h14M3 22h18M6 10v8m4-8v8m4-8v8m4-8v8'/%3E%3C/svg%3E");
}
.gallery-room{color:#fff9e8;background:#123d37;overflow:hidden;border-radius:16px;margin:0 auto;box-shadow:0 12px 40px -20px #173a31}
.gallery-room header{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.65rem clamp(.8rem,2vw,1.5rem)}
.gallery-room h1{color:inherit;font-size:clamp(1.2rem,2vw,1.75rem);margin:0}
.gallery-room button{background:#f2d297;color:#332916;border:0;border-radius:9px;min-height:44px;padding:.45rem .9rem;font-weight:650}
.gallery-viewport{width:100%;height:max(550px,calc(100vh - 190px));height:max(550px,calc(100dvh - 190px));overflow:hidden;background:#251d11}
.gallery-viewport iframe{display:block;border:0;width:100%;height:100%;transform-origin:top left}
.gallery-room:fullscreen,.gallery-room.gallery-expanded{display:flex;flex-direction:column;border-radius:0;background:#123d37}
.gallery-room.gallery-expanded{position:fixed;inset:0;z-index:1100}
.gallery-room:is(:fullscreen,.gallery-expanded) .gallery-viewport{flex:1;min-height:0;height:auto}
body:has(.gallery-expanded){overflow:hidden}

/* A single reading lamp opens the exhibition directory. */
.folio-nav {
    --nav-paper: #faf6ec;
    --nav-ink: #213e35;
    --nav-metal: #e4bf79;
    position: sticky;
    top: 0;
    z-index: 1030;
    pointer-events: none;
    font-family: "Segoe UI", Arial, sans-serif;
}
.folio-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--nav-paper);
    border-bottom: 1px solid #d8cfbc;
    pointer-events: auto;
}
.folio-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1480px;
    min-height: 68px;
    padding: 8px clamp(12px, 2.1vw, 32px);
    margin-inline: auto;
}
.folio-brand, .folio-menu { pointer-events: auto; }
.folio-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--nav-ink);
    text-decoration: none;
}
.folio-brand:hover { color: #704f26; }
.folio-brand img { width: clamp(52px, 6vw, 74px); height: auto; border-radius: 4px; }
.folio-brand small { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.folio-brand strong { display: block; font: 700 1.45rem/1.3 var(--display); }
.folio-nav.is-reading::before, .folio-nav.is-reading .folio-brand:not(:focus-visible) { opacity: 0; pointer-events: none; }
.folio-menu { position: relative; }
.folio-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    list-style: none;
    min-height: 44px;
    min-width: 126px;
    padding: 7px 16px;
    cursor: pointer;
    user-select: none;
    border: 1px solid #405449;
    border-radius: 32px;
    background: #203b33;
    color: #fff8e9;
    font-size: .94rem;
    font-weight: 600;
    box-shadow: 0 3px 9px #192e241a;
}
.folio-switch::-webkit-details-marker { display: none; }
.folio-hide, .folio-menu[open] .folio-show { display: none; }
.folio-menu[open] .folio-hide { display: inline; }
.folio-chevron { width: 7px; height: 7px; margin: -3px 0 0 3px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.folio-menu[open] .folio-chevron { margin-top: 4px; transform: rotate(225deg); }
.folio-lamp { position: relative; width: 22px; height: 26px; color: #c3ae83; }
.folio-lamp::before {
    content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 10px;
    background: currentColor; clip-path: polygon(23% 0, 77% 0, 100% 100%, 0 100%);
}
.folio-lamp::after {
    content: ""; position: absolute; left: 10px; top: 13px; height: 9px; width: 2px; background: currentColor;
}
.folio-lamp i { position: absolute; bottom: 3px; left: 5px; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.folio-lamp i::after { content: ""; position: absolute; bottom: 5px; left: 11px; width: 1px; height: 5px; background: currentColor; }
.folio-menu[open] .folio-lamp { color: #ffe2a1; filter: drop-shadow(0 0 4px #efc473b3); }
.folio-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 9px);
    width: min(548px, calc(100vw - 24px));
    max-height: calc(100vh - 78px);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: 0 18px;
    padding: 16px;
    color: var(--nav-paper);
    background: radial-gradient(ellipse at 92% -22%, #676047 0, transparent 56%), #1a332d;
    border: 1px solid #827659;
    border-radius: 16px;
    box-shadow: 0 18px 48px #0e211e40, 0 2px 8px #0e211e26;
}
.folio-menu:not([open]) .folio-panel { display: none; }
.folio-gallery {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 16px 10px; border: 1px solid #d6c09c; border-radius: 9px;
    background: radial-gradient(ellipse at top, #fbf5e5, #eadcc0);
    color: #293f33; text-align: center; text-decoration: none;
}
.folio-arch {
    width: min(82%, 123px); height: 135px; margin-bottom: 15px; border-radius: 90px 90px 2px 2px;
    border: 3px solid #f4e9d2; outline: 1px solid #a79067;
    background: linear-gradient(0deg, #40342045, transparent), url('../Chang1/coc.jpg') 52% center / cover;
}
.folio-gallery-name { font: 700 1.35rem/1.35 var(--display); }
.folio-visit { display: inline-flex; align-items: center; gap: .55em; margin-top: 5px; font-size: .82rem; color: #694f2b; }
.folio-visit span { font-size: 1.1em; }
.folio-links { align-self: center; padding: 0; margin: 0; list-style: none; }
.folio-links li + li { border-top: 1px solid #bdc6ab35; }
.folio-links a {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 8px;
    color: #f9f3e7; text-decoration: none; font-size: .96rem; line-height: 1.4;
}
.folio-links a::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; }
.folio-links a[aria-current] { color: #ffe0a5; font-weight: 650; }
.folio-links a[aria-current]::before { background: currentColor; }
.folio-gallery[aria-current] { outline: 2px solid #f4ca7d; outline-offset: -4px; }
.folio-links a:is(:hover,:focus-visible) { color: #ffe0a5; background: #fff8e70c; }
.folio-gallery:is(:hover,:focus-visible) { background: #fff1ce; color: #27372e; }
.folio-foot { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; padding-top: 8px; border-top: 1px solid #cfc3a549; }
.folio-foot a { display: inline-flex; align-items: center; gap: .8em; min-height: 44px; padding-inline: 4px; font-size: .88rem; font-weight: 600; color: #ffdc99; text-decoration: none; }
.folio-foot a:hover { text-decoration: underline; }
.museum-shell .folio-foot .museum-motion-toggle { width: auto; min-height: 44px; height: auto; padding: 4px 8px; margin: 0; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 5px; background: transparent; color: #e5e4d5; font-size: .78rem; }
.museum-shell .folio-foot .museum-motion-toggle[hidden] { display: none; }
.folio-foot .museum-motion-toggle span { flex-shrink: 0; }
.museum-shell .folio-panel :focus-visible { outline-color: #edc787; outline-offset: 1px; }
@media (max-width: 540px) {
    .folio-panel { grid-template-columns: 1fr; padding: 13px; }
    .folio-gallery { display: grid; grid-template-columns: 57px 1fr; column-gap: 13px; justify-items: start; text-align: left; padding: 9px 15px; }
    .folio-arch { width: 49px; height: 55px; margin: 0; grid-row: span 2; }
    .folio-gallery-name { align-self: end; font-size: 1.18rem; }
    .folio-visit { align-self: start; margin: 0; }
    .folio-links { margin-top: 6px; }
    .folio-foot { margin-top: 5px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
    .museum-shell:not(.museum-motion-off) .folio-nav::before,
    .museum-shell:not(.museum-motion-off) :is(.folio-brand,.folio-chevron,.folio-lamp) { transition: opacity .18s, transform .22s, filter .22s, color .22s; }
    .museum-shell:not(.museum-motion-off) .folio-menu[open] .folio-panel { transform-origin: top right; animation: folio-open .26s cubic-bezier(.2,.8,.3,1) both; }
    @keyframes folio-open { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
}
@media print { .folio-nav { display: none; } }

.home-archive {
    margin-block: clamp(1.5rem, 4vw, 4rem);
    color: #283b32;
}
.home-archive > h2 {
    margin: 0 0 1.2rem;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
}
.home-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(15px, 2vw, 30px);
}
.home-archive-entry {
    min-width: 0;
    padding: clamp(14px, 2vw, 28px);
    background: #fffdf7;
    border: 1px solid #d6cbb6;
    border-radius: 12px;
}
.home-archive-entry figure { margin: 0; }
.home-archive-entry img { display: block; width: 100%; height: auto; border-radius: 5px; }
.home-archive-entry figcaption {
    padding: .65rem 0;
    color: #51584d;
    font: italic .9rem/1.55 var(--display);
}
.home-archive-text { min-width: 0; padding-top: .6rem; }
.home-archive-text h3 { font-size: clamp(1.12rem, 1.65vw, 1.5rem); color: #254a3e; margin: 0 0 .8rem; }
.home-archive-text p { max-width: 72ch; font-size: 1rem; line-height: 1.72; margin: 0; }
.home-archive-text a { display: inline-block; color: #724b27; padding: .7rem 0; text-underline-offset: .2em; }
.home-archive-feature, .home-archive-map {
    grid-column: 1 / -1;
    display: grid;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}
.home-archive-feature { grid-template-columns: 1.25fr 1fr; border-top: 3px solid #98703c; }
.home-archive-map { grid-template-columns: .8fr 1.2fr; background: #f5f0e3; }
.home-archive-map figure { max-width: 420px; margin-inline: auto; }
.home-archive-map img { max-height: 520px; object-fit: contain; }
@media (max-width: 760px) {
    .home-archive-grid, .home-archive-feature, .home-archive-map { grid-template-columns: minmax(0, 1fr); }
    .home-archive-feature, .home-archive-map { gap: 0; }
    .home-archive-map img { max-height: 440px; }
}



.nc1 .hs-facts { display: grid; grid-template-columns: minmax(6rem, .65fr) minmax(0, 1.5fr); gap: .4rem 1rem; margin: .8rem 0 1rem; }
.nc1 .hs-facts dt { color: #615139; }
.nc1 .hs-facts dd { margin: 0; }
.nc1 .nc-split > div { min-width: 0; }
.nc1 .hs-photo-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }
.nc1 .hs-photo-controls button { min-width: 44px; min-height: 44px; }
.nc1 .hs-photo-controls span { min-width: 4.8rem; text-align: center; font-variant-numeric: tabular-nums; }
.nc1 .hs-narration { margin-block: .9rem; }
.nc1 .hs-narration details { margin: .45rem 0; padding: .65rem .9rem; background: #fffdf6; border: 1px solid #c7bfae; border-radius: .55rem; }
.nc1 .hs-narration summary { cursor: pointer; font-weight: 650; }
.nc1 .hs-narration p { margin: .7rem 0; }
.nc1 .hs-narration audio { display: block; width: 100%; margin-top: .75rem; }
.nc1 .hs-narration button:disabled { color: #655f52; opacity: 1; background: #efede5; }
@media (max-width: 420px) { .nc1 .hs-facts { grid-template-columns: 1fr; gap: .1rem; } .nc1 .hs-facts dd { margin-bottom: .45rem; } }

/* Reading layout for museum content and artifact transcripts. */
.museum-shell .body-content main :where(article > p, section > p, details > p, .home-archive-text > p) {
    max-inline-size: 70ch;
    line-height: 1.65;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

.museum-shell .body-content main :where(article, section, details) > p + p {
    margin-block-start: .65em;
}

.museum-shell .body-content main :where(article, section, details) > :where(h2, h3, h4) {
    overflow-wrap: break-word;
    text-wrap: balance;
}

.museum-shell .nc1 .hs-narration > details:not(.hs-recording) {
    padding: clamp(.75rem, 2vw, 1.25rem);
    text-align: start;
}

.museum-shell .nc1 .hs-narration > details > summary + p {
    margin-block-start: .75em;
}

.museum-shell .nc1 .hs-narration > details > p {
    max-inline-size: 66ch;
    margin-block: 0 .65em;
    line-height: 1.62;
}

.museum-shell .nc1 .hs-narration > details > p:last-child {
    margin-block-end: 0;
}

@media (min-width: 992px) {
    .museum-shell .nc1 .hs-narration > details > p,
    .museum-shell .home-archive-text > p {
        text-align: justify;
        text-align-last: start;
        text-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .museum-shell .nc1 .hs-narration > details > p,
    .museum-shell .home-archive-text > p {
        max-inline-size: none;
        text-align: start;
    }

    .museum-shell .nc1 .hs-narration > details > p {
        line-height: 1.55;
    }
}
