/* 모형을 먼저 만지고, 설명과 학습 기록은 그 다음에 만난다. */
.museum dialog{width:min(1380px,98vw);max-height:97vh;background:#f6f0e4;border:1px solid #57544c;box-shadow:5px 6px 0 #292c32;border-radius:8px}
.museum .lesson-layout{display:block}.museum .lesson-outline{display:none}
.museum .lesson-top{position:sticky;top:0;z-index:5;background:#f6f0e4;border-bottom:1px solid #d2c9b8;padding:10px 25px}
.museum .lesson-body{padding:24px 30px 30px}.museum .lesson-body>h2{font-size:32px;letter-spacing:-1.2px;display:inline-block;margin:7px 0 0}.museum #lesson-meta{display:block;font-size:8px;letter-spacing:1.7px;color:#817361}
.museum .lesson-body>.objective{margin:8px 0 16px;font-size:12px;line-height:1.6;color:#746a5e}
.museum .mission-strip{background:transparent;border:0;border-top:1px solid #d7cdbb;border-radius:0;margin:0 0 16px;padding:11px 0 0;gap:12px;line-height:1.5;font-size:11px}.museum .mission-strip>b{color:#a84a16}.museum .mission-strip>span:last-child{color:#73674e}
.exhibit-theatre{position:relative;grid-template-columns:238px minmax(0,1fr);gap:0;background:#f8f3e8;border:1px solid #62615b;border-radius:6px;box-shadow:4px 4px 0 #373a3f;overflow:hidden;align-items:stretch}
.exhibit-theatre>.motion-guide{grid-column:1;grid-row:1/5;background:#eee8d9;border:0;border-right:1px solid #858174;border-radius:0;padding:20px 17px;align-self:stretch;display:flex;flex-direction:column;min-width:0}
.exhibit-theatre .motion-narrator{order:0;align-items:flex-start;gap:9px}.exhibit-theatre .motion-narrator img{width:31px;height:38px;display:block}.exhibit-theatre .motion-kicker{font-size:8px;letter-spacing:.7px}.exhibit-theatre .motion-analogy{font-size:10px;line-height:1.65;color:#7b705f}.exhibit-theatre .motion-counter{display:none}
.exhibit-theatre .motion-caption{padding-top:24px;min-height:0;order:1}.exhibit-theatre .motion-caption h3{font-size:21px;color:#303135;font-weight:650;line-height:1.4}.exhibit-theatre .motion-caption p{font-size:12px;line-height:1.85;color:#706653}
.exhibit-theatre .motion-toolbar{order:2;display:flex;flex-wrap:wrap;gap:7px;margin-top:15px;padding-top:16px;border-top:1px solid #cec4b1}.exhibit-theatre .motion-toolbar [data-motion=play]{flex-basis:100%;background:#30333a;color:#faf5e7;border:1px solid #30333a;border-radius:20px;font-size:11px;padding:9px;min-height:37px}
.exhibit-theatre .motion-steps{flex-basis:100%;display:flex;flex-wrap:wrap;margin:8px 0 3px;gap:7px;justify-content:flex-start}.exhibit-theatre .motion-steps button{width:29px;height:29px;border:1px solid #b6ac98;color:#554e40;background:transparent}.exhibit-theatre .motion-steps button[aria-current=step]{background:#ffc985;color:#292a2b;border-color:#554c3e;box-shadow:2px 2px 0 #544b3d}
.exhibit-theatre .motion-toolbar>[data-motion]:not([data-motion=play]){border-radius:50%;background:#f8f3e8;min-width:30px;min-height:30px;height:30px;line-height:1;padding:5px}.exhibit-theatre .motion-toolbar [data-motion=prev]{margin-left:0}.exhibit-theatre .motion-hint{order:3;font-size:9px;color:#8b7d68;line-height:1.8;margin-top:16px}
#model-stage{grid-column:2;grid-row:1;min-width:0}#model-stage:empty{display:none}
.spatial-view{position:relative;width:100%;height:530px;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 52% 40%,#fffcf4 0%,#f5efdf 72%);isolation:isolate}
.spatial-view canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline:0}.spatial-view canvas:active{cursor:grabbing}.spatial-view canvas:focus-visible{outline:3px solid #e37424;outline-offset:-4px}
.spatial-topline{position:absolute;top:18px;left:22px;right:22px;display:flex;justify-content:space-between;gap:15px;pointer-events:none;font:9px monospace;letter-spacing:1px;color:#918573}.spatial-live{color:#997044}.spatial-live:before{content:'●';color:#ff6a00;font-size:7px;margin-right:6px}
.spatial-toolbar{display:flex;gap:6px;position:absolute;top:45px;left:20px;z-index:1}.spatial-toolbar button{font:10px Pretendard,sans-serif;min-height:33px;min-width:32px;padding:6px 11px;border:1px solid #b5ad9e;border-radius:20px;background:#fffbf1e8;color:#4e4d48;cursor:pointer;box-shadow:1px 2px 0 #746c5a22}.spatial-toolbar button[aria-pressed=true]{background:#ffd3a1;border-color:#8e5b2f;color:#483422}.spatial-toolbar button:focus-visible{outline:3px solid #ff6a00;outline-offset:3px}
.spatial-gesture{position:absolute;right:22px;bottom:44px;color:#9a8e78;font-size:9px;pointer-events:none}.spatial-description{position:absolute;bottom:15px;left:22px;right:22px;text-align:center;font-size:11px;line-height:1.5;color:#6f6452;margin:0;pointer-events:none}
.spatial-unavailable{padding:16px;background:#fff4dc;font-size:11px;line-height:1.7}
.exhibit-theatre.has-spatial-model #interactive-lab .mx-stage{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;max-height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:normal}
.exhibit-theatre:not(.has-spatial-model) #model-stage{grid-column:1/-1;grid-row:7}
.exhibit-theatre #interactive-lab .mx-stage{grid-column:2;grid-row:1;border:0;border-radius:0;min-height:400px;background:#f8f3e8}
.exhibit-theatre #interactive-lab .mx-controls{grid-column:2;grid-row:2;margin:0;padding:16px 22px;border:0;border-top:1px solid #d5cbb8;background:#f4eddf;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.exhibit-theatre #interactive-lab .mx-controls button{border:1px solid #aaa18e;border-radius:25px;background:#fffbef;min-height:34px;padding:8px 13px;font-size:11px;color:#4c463a}.exhibit-theatre #interactive-lab .mx-controls button[aria-pressed=true]{background:#ffc584;color:#3b3024;border-color:#907151;box-shadow:2px 2px 0 #776046}
.exhibit-theatre #interactive-lab .mx-controls label{font-size:11px}.exhibit-theatre #interactive-lab .mx-controls input{accent-color:#df6a22}.exhibit-theatre #interactive-lab .mf-range{padding:6px 10px;background:transparent;border-color:#d1c5ad;border-radius:7px;flex-basis:180px}
.exhibit-theatre #interactive-lab .mx-readout{grid-column:2;grid-row:3;display:flex;flex-wrap:wrap;gap:0;margin:0;padding:12px 22px;background:#eee7d7;border:0;border-top:1px solid #d2c8b5;border-radius:0}
.exhibit-theatre #interactive-lab .mx-metric{border:0;background:transparent;padding:3px 17px;border-right:1px solid #cfc3ab;border-radius:0;min-width:110px}.exhibit-theatre #interactive-lab .mx-metric:first-child{padding-left:0}.exhibit-theatre #interactive-lab .mx-metric:last-child{border-right:0}.exhibit-theatre #interactive-lab .mx-metric strong,.exhibit-theatre #interactive-lab .mx-metric b{font-size:19px;line-height:1.45;color:#393b3d}.exhibit-theatre #interactive-lab .mx-metric small,.exhibit-theatre #interactive-lab .mx-metric span{font-size:9px}
.exhibit-theatre #interactive-lab .mx-observation{grid-column:1/-1;grid-row:5;background:#ffdf9f;color:#5a431d;border:0;border-top:1px solid #b9a075;margin:0;padding:16px 23px;line-height:1.9;font-size:12px}.exhibit-theatre #interactive-lab .mx-observation:before{content:'관찰 포인트';display:inline;font-size:10px;margin-right:13px;color:#866128}
.exhibit-theatre #interactive-lab .mx-caption{grid-column:1/-1;grid-row:6;padding:9px 23px;margin:0;background:#eee8db;font-size:9px!important;color:#938772!important;line-height:1.7}
.discovery-drawer{margin-top:27px;border-top:1px solid #c9bda7;padding-top:18px}.discovery-drawer>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;font-size:14px;font-weight:650;color:#494334;list-style:none}.discovery-drawer>summary>span:last-child{font-size:10px;font-weight:400;color:#8c7657}.discovery-drawer[open]>summary{margin-bottom:20px}.discovery-drawer .mission-panel{background:#f8f3e8;border:1px solid #ded1ba;box-shadow:none}.discovery-drawer .quest-steps{font-size:10px}.discovery-drawer .quiz{margin-top:25px}
@media(max-width:900px){.museum .lesson-body{padding:20px}.exhibit-theatre{grid-template-columns:190px minmax(0,1fr)}.exhibit-theatre>.motion-guide{padding:17px 13px}.exhibit-theatre .motion-caption h3{font-size:18px}.exhibit-theatre .motion-caption p{font-size:11px}.spatial-view{height:450px}.spatial-topline{font-size:7px}.spatial-gesture{font-size:8px}.spatial-description{font-size:10px}.spatial-toolbar{gap:4px;left:12px}.spatial-toolbar button{font-size:9px;padding:6px 9px}.spatial-live{display:none}}
@media(max-width:650px){.museum dialog{width:100%;max-width:100%;height:100%;max-height:100%;border:0;border-radius:0;box-shadow:none}.museum .lesson-top{padding:8px 16px}.museum .lesson-body{padding:18px 13px 25px}.museum .lesson-body>h2{font-size:25px}.museum .lesson-body>.objective{font-size:11px;margin-bottom:13px}.museum .mission-strip{font-size:9px;margin-bottom:14px}.exhibit-theatre{display:flex;flex-direction:column;overflow:hidden;box-shadow:3px 3px 0 #373a3f}.exhibit-theatre>#model-stage{order:0}.spatial-view{height:390px}.spatial-topline{top:13px;left:13px;right:13px;font-size:7px}.spatial-toolbar{top:36px;left:11px;right:8px;gap:4px;flex-wrap:wrap}.spatial-toolbar button{font-size:9px;min-height:31px;padding:5px 9px}.spatial-description{left:13px;right:13px;bottom:13px;font-size:10px}.spatial-gesture{bottom:43px;right:13px;font-size:8px}.exhibit-theatre>.motion-guide{order:2;border:0;border-top:1px solid #c4b9a3;padding:14px 15px;margin:0}.exhibit-theatre .motion-narrator{display:none}.exhibit-theatre .motion-caption{padding:0;min-height:0}.exhibit-theatre .motion-caption h3{font-size:16px}.exhibit-theatre .motion-caption p{font-size:11px;line-height:1.7}.exhibit-theatre .motion-toolbar{display:flex;margin-top:9px;padding-top:10px;gap:5px}.exhibit-theatre .motion-toolbar [data-motion=play]{flex-basis:auto;min-width:130px;min-height:31px;font-size:10px;padding:6px 10px}.exhibit-theatre .motion-steps{flex-basis:auto;flex:1;gap:5px;justify-content:flex-end;margin:0}.exhibit-theatre .motion-steps button{width:25px;height:25px;min-width:25px;min-height:25px}.exhibit-theatre .motion-toolbar>[data-motion]:not([data-motion=play]){display:none}.exhibit-theatre .motion-hint{display:none}.exhibit-theatre #interactive-lab .mx-controls{order:1;padding:12px 14px;gap:8px}.exhibit-theatre #interactive-lab .mx-controls button{font-size:10px;padding:8px 10px;min-width:0}.exhibit-theatre #interactive-lab .mx-readout{order:3;padding:10px 14px;gap:8px}.exhibit-theatre #interactive-lab .mx-metric{padding:3px 9px;min-width:80px}.exhibit-theatre #interactive-lab .mx-metric strong{font-size:17px}.exhibit-theatre #interactive-lab .mx-stage{order:0;min-height:230px}.exhibit-theatre #interactive-lab .mx-observation{order:4;font-size:11px;padding:13px 15px}.exhibit-theatre #interactive-lab .mx-caption{order:5;padding:9px 15px;font-size:8px!important}.discovery-drawer{margin-top:22px;padding-top:15px}.discovery-drawer>summary{font-size:12px;align-items:flex-start;flex-direction:column;gap:7px}.discovery-drawer>summary>span:last-child{font-size:9px}}
@media(max-width:370px){.spatial-view{height:345px}.spatial-toolbar button{font-size:8px;padding:5px 7px}.exhibit-theatre .motion-toolbar [data-motion=play]{min-width:115px;font-size:9px}.exhibit-theatre .motion-steps{gap:3px}.exhibit-theatre .motion-steps button{width:23px;height:23px;min-width:23px;min-height:23px}}

.exhibit-preview .model-thumbnail{display:block;width:100%;height:auto;aspect-ratio:5/2;object-fit:cover;transition:transform .35s}.exhibit-card:hover .model-thumbnail{transform:scale(1.04)}

.museum-feature .feature-machine{transform:none;background:#f8f3e8;padding:10px;border-color:#cabfa8;box-shadow:5px 6px 0 #19291d77}.featured-object{display:block;width:100%;height:auto;border-radius:6px}.feature-machine>span{display:block;color:#897c63;text-align:center;font-size:10px;padding:12px 5px 5px}
