/* 공식 CoinEasy 토큰으로 UI를 연결한다. 모형의 자산·상태 구분색은 유지한다. */
.museum{--orange:#FF6A00;--cream:#FFF8EF;--ink:#1A1714;--muted:#6B645B;--brand-line:#E5CFBB;background:var(--cream);color:var(--ink)}
.museum-header{border-top:4px solid var(--orange);background:var(--cream);border-bottom-color:var(--brand-line)}
.museum-brand img{min-width:120px;object-fit:contain}
.museum-header nav a[aria-current=page]{background:#FFE7D4;border-radius:8px;color:var(--ink)}
.header-ticket{color:var(--muted)}.header-ticket i{background:var(--orange)}
.museum .eyebrow{color:#974000}.museum .primary{color:var(--ink);font-weight:700}
.museum .primary:focus-visible,.museum button:focus-visible,.museum summary:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.museum-hero h1 em{color:#A84300}.museum .track>div{background:var(--orange)}
.museum .game-hud{background:#FFFDF9;border-color:var(--brand-line);box-shadow:0 4px 0 #F2DFC9}
.player-identity small,.player-xp b{color:#A84300}.player-xp span,.player-stars>span{color:var(--muted)}
.xp-track{background:#F0E1D1}.xp-track i{background:var(--orange)}
.player-certificate{background:#FFE6D1;border-color:#D78B55;color:var(--ink)}
.branded-collection{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:28px 34px!important;margin:28px 0 24px!important;background:var(--orange);border:1px solid var(--ink);border-radius:20px;box-shadow:4px 4px 0 var(--ink);min-height:210px;overflow:hidden}
.collection-brand-copy{min-width:0;flex:1}.collection-brand-label{display:block;font-size:10px;font-weight:700;letter-spacing:2px;margin-bottom:16px}
.branded-collection .eyebrow{display:none}.branded-collection h1{color:var(--ink);font-size:clamp(25px,3.1vw,40px);line-height:1.3;margin:0 0 12px;letter-spacing:-1.2px}
.branded-collection p{color:var(--ink);font-size:13px;line-height:1.7;max-width:560px;margin:0}
.collection-guide{position:relative;flex:0 0 170px;text-align:center;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center}
.collection-guide img{display:block;width:135px;height:150px;object-fit:contain;filter:drop-shadow(0 7px 4px #5D2D1026)}
.collection-guide>span{font-size:10px;font-weight:700;padding:7px 11px;border:1px solid var(--ink);background:var(--cream);border-radius:20px;white-space:nowrap}
.filters button[aria-pressed=true]{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.exhibit-card{border-color:var(--brand-line)}.exhibit-card:hover{border-color:var(--orange)}.exhibit-number{color:var(--ink);background:var(--cream);border:1px solid #F1D0B6}
.exhibit-card-foot>b{color:var(--ink);background:var(--orange);border-radius:50%;width:27px;height:27px;display:grid;place-items:center}
.museum dialog{background:var(--cream);border-color:var(--ink);box-shadow:4px 4px 0 var(--ink)}
.museum .lesson-top{background:var(--cream);border-bottom:1px solid var(--brand-line);gap:16px;padding-top:12px;padding-bottom:12px}
.lesson-wordmark{width:132px;min-width:132px;height:auto;max-height:none;object-fit:contain;flex:none}
.lesson-brand-name{font-size:8px;letter-spacing:1.5px;font-weight:700;line-height:1.6;padding-left:15px;border-left:1px solid var(--brand-line);white-space:nowrap}
.museum #lesson-breadcrumb{font-size:10px;color:var(--muted)}.museum .lesson-top>#lesson-breadcrumb{margin-left:auto;margin-right:0}
.museum .close-button{color:var(--ink);border:1px solid var(--brand-line);background:#FFFDF9;flex:none}
.museum .lesson-body{padding-top:16px}
.exhibit-theatre{background:var(--cream);border-color:var(--ink);box-shadow:4px 4px 0 var(--ink);border-radius:12px}
.exhibit-theatre>.motion-guide{background:var(--cream);border-right-color:var(--brand-line)}
.mechanism-title>span{color:#974000;font-family:Pretendard,sans-serif;font-size:9px;font-weight:700;letter-spacing:1.1px}
.mechanism-title>h3{color:var(--ink)}
.exhibit-theatre .motion-toolbar [data-motion=play]{background:var(--ink);border-color:var(--ink);color:var(--cream);box-shadow:none;font-weight:700;min-height:38px}
.exhibit-theatre .motion-steps button{background:#FFFDF9;color:var(--muted);border-color:#D6BEA8;min-height:38px}
.exhibit-theatre .motion-steps button i{background:#EBD9C8;color:var(--ink)}
.exhibit-theatre .motion-steps button[aria-current=step]{background:var(--orange);color:var(--ink);border-color:var(--ink);box-shadow:2px 3px 0 var(--ink);font-weight:700}
.exhibit-theatre .motion-steps button[aria-current=step] i{background:var(--ink);color:var(--cream)}
.exhibit-theatre .motion-caption p{color:var(--ink)}
.exhibit-theatre .motion-hint{margin-top:12px;padding-top:0;color:var(--muted)}
.brand-lab-guide{order:2;display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:30px}
.brand-lab-guide>img{width:83px;height:75px;object-fit:contain;flex:none}
.brand-lab-guide span{font-size:8px;font-weight:700;letter-spacing:1px;color:#974000}
.brand-lab-guide p{font-size:13px;font-weight:700;line-height:1.6;margin:7px 0 0;color:var(--ink)}
.spatial-view{background:var(--cream)}
.spatial-toolbar button,.spatial-view-tools>summary{background:#FFFDF9;border-color:#CAB39D;color:var(--ink)}
.spatial-toolbar button[aria-pressed=true]{background:var(--orange);color:var(--ink);border-color:var(--ink)}
.spatial-view-tools>div{background:var(--cream);border-color:var(--brand-line)}.spatial-description{color:var(--muted)}
.exhibit-theatre #interactive-lab .mx-controls{background:#FFF0E3;border-color:var(--brand-line)}
.exhibit-theatre #interactive-lab .mx-controls button{background:#FFFDF9;border-color:#CAB39D;color:var(--ink)}
.exhibit-theatre #interactive-lab .mx-controls button[aria-pressed=true]{background:var(--orange);color:var(--ink);border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}
.exhibit-theatre #interactive-lab .mx-controls input{accent-color:var(--orange)}
.exhibit-theatre #interactive-lab .mx-readout{background:var(--cream);border-color:var(--brand-line)}
.exhibit-theatre #interactive-lab .mx-metric strong,.exhibit-theatre #interactive-lab .mx-metric b{color:var(--ink)}
.exhibit-theatre #interactive-lab .mx-metric small,.exhibit-theatre #interactive-lab .mx-metric span{color:var(--muted)}
.exhibit-theatre #interactive-lab .mx-observation{background:#FFE2CB;color:var(--ink);border-color:var(--brand-line)}
.exhibit-theatre #interactive-lab .mx-observation:before{color:#974000;font-weight:700}
.exhibit-theatre #interactive-lab .mx-caption{background:var(--cream);color:var(--muted)!important}
.discovery-drawer{border-color:var(--brand-line)}.discovery-drawer>summary{color:var(--ink)}
.discovery-drawer>summary>span:last-child{color:var(--muted)}.discovery-drawer .mission-panel{background:#FFFDF9;border-color:var(--brand-line)}
.quest-intro{background:#FFF0E3;border-color:var(--brand-line)}.quest-intro p{color:var(--muted)}
.museum footer{border-color:var(--brand-line)}.museum footer img{min-width:120px}
@media(max-width:900px){.lesson-brand-name{display:none}.branded-collection{padding:23px 26px!important}.collection-guide{flex-basis:140px}.collection-guide img{width:120px;height:135px}.brand-lab-guide{gap:6px}.brand-lab-guide>img{width:68px;height:70px}.brand-lab-guide p{font-size:12px}}
@media(max-width:650px){
 .museum .lesson-top{display:grid;grid-template-columns:120px minmax(0,1fr) 34px;gap:8px 11px;padding:12px}
 .lesson-wordmark{width:120px;min-width:120px;height:auto;grid-column:1;grid-row:1}
 .lesson-brand-name{display:block;border:0;padding:0;font-size:7px;letter-spacing:1px;grid-column:2;grid-row:1;white-space:normal}
 .museum .lesson-top>#lesson-breadcrumb{grid-column:1/3;grid-row:2;margin:0;font-size:9px;line-height:1.5}
 .museum .lesson-top>.close-button{grid-column:3;grid-row:1/3;width:32px;height:32px;align-self:start}
 .museum .lesson-body{padding-top:10px}.exhibit-theatre .motion-toolbar{background:var(--cream);border-color:var(--brand-line)}
 .brand-lab-guide{order:2;margin:0;padding:5px 14px 16px;gap:12px;background:var(--cream)}
 .brand-lab-guide>img{width:66px;height:55px}.brand-lab-guide p{font-size:12px;margin:4px 0 0}.brand-lab-guide p br{display:none}
 .exhibit-theatre #interactive-lab .mx-controls{order:3}.exhibit-theatre #interactive-lab .mx-readout{order:4}.exhibit-theatre #interactive-lab .mx-observation{order:5}.exhibit-theatre #interactive-lab .mx-caption{order:6}
 .branded-collection{padding:22px 19px!important;min-height:0;gap:12px;align-items:flex-start;border-radius:16px}
 .collection-brand-label{font-size:8px;letter-spacing:1px;margin-bottom:12px}.branded-collection h1{font-size:26px;letter-spacing:-.8px}
 .branded-collection p{font-size:11px}.collection-guide{flex-basis:75px;align-self:center}.collection-guide img{width:78px;height:105px}.collection-guide>span{display:none}
 .museum .game-hud{border-radius:12px}.museum-brand>span{color:var(--muted)}
}
@media(max-width:370px){.branded-collection{display:block}.collection-guide{display:none}.lesson-brand-name{font-size:6px;letter-spacing:.5px}}
