/* Ancient Mustafar source-backed interactive archive. All rules scoped to ma-. */
:root {--ma-bg:#100f16;--ma-panel:#241d22;--ma-border:#815e55;--ma-gold:#eebc8f;--ma-text:#f5e7d5}
.ma-page,.mu-ancient-preview{color:var(--ma-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ma-page{max-width:1690px;margin:0 auto 70px;padding:10px clamp(11px,1.8vw,26px) 45px;background:linear-gradient(175deg,#19151b,#0b0c11 48%,#160f15);border:1px solid #654637;overflow-x:clip;min-height:80vh}
.ma-page *,.mu-ancient-preview *{box-sizing:border-box}
.ma-page a,.mu-ancient-preview a{color:#f5c89d}
.ma-page :is(a,button,input,summary):focus-visible{outline:3px solid #ffe5a5;outline-offset:3px}
.ma-page button{font:inherit}.ma-eyebrow{font-size:.7rem!important;color:#e9b182!important;letter-spacing:.16em!important;font-weight:850!important;text-transform:uppercase!important;margin:0 0 10px!important}
.ma-crumbs{display:flex;gap:11px;flex-wrap:wrap;padding:12px 6px 25px;font-size:.8rem;color:#c0ac9b}.ma-crumbs a{text-decoration:none;font-weight:750}.ma-crumbs span{color:#bd8a69}
.ma-page-head{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:0 10px 24px}
.ma-page-head h1{font-size:clamp(2.7rem,7vw,7.1rem)!important;letter-spacing:-.074em!important;line-height:.96!important;color:#fff0d9!important;font-weight:900!important;margin:0 0 11px!important}
.ma-page-head p:not(.ma-eyebrow){color:#e7c9ae!important;font-size:clamp(1rem,1.5vw,1.2rem)!important;margin:0!important}
.ma-parent{display:inline-block;padding:13px 16px;min-height:45px;text-decoration:none!important;font-size:.84rem;font-weight:850;border:1px solid #ab7255;background:#241a20;color:#ffe1bb!important}
.ma-parent:hover{background:#59372e}
.ma-phasebar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:10px;background:#281e24;border:1px solid #885d4b;border-bottom:0}
.ma-phase{border:1px solid #7c5850;background:#16141b;color:#ead7c5;display:flex;gap:12px;align-items:center;min-height:65px;text-align:left;padding:11px 13px;cursor:pointer}
.ma-phase:hover,.ma-phase[aria-pressed=true]{background:#673b30;border-color:#ffe0a6;color:#fff4e4}
.ma-phase-index{font-family:Georgia,serif;color:#eeb98d;font-size:1.4rem;font-weight:800}.ma-phase-copy{display:flex;flex-direction:column;gap:2px}.ma-phase-copy strong{font-size:.9rem}.ma-phase-copy small{font-size:.7rem;color:#dfc8b5}
.ma-stage{display:flex;flex-direction:column;background:#100e13;border:1px solid #91644f;overflow:hidden;scroll-margin-top:90px}
.ma-scene{width:100%;position:relative;aspect-ratio:1672/941;min-height:0;overflow:hidden;background:#211620}
.ma-scene>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ma-photo-shade{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,#0d081950,transparent 20%,transparent 65%,#140b19a0)}
.ma-pins{position:absolute;inset:0;pointer-events:none;z-index:2}
.ma-pin{left:var(--ma-x);top:var(--ma-y);position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:7px;max-width:195px;pointer-events:auto;background:transparent;border:0;cursor:pointer;padding:4px;color:#fff1dc;text-shadow:0 3px 8px #1a080a}
.ma-pin-dot{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#a74a2e;border:2px solid #ffe2ac;box-shadow:0 0 0 5px #ae56325c,0 4px 14px #120c10}.ma-pin-dot:after{content:'+';font-size:1.12rem;line-height:1;font-weight:900}
.ma-pin-label{background:#171017ed;padding:7px 12px;border:1px solid #cf9b74;line-height:1.2;font-size:clamp(.62rem,.85vw,.86rem);font-weight:900;text-align:center;max-width:190px;text-transform:uppercase;letter-spacing:.035em}
.ma-pin[aria-pressed=true] .ma-pin-label,.ma-pin:hover .ma-pin-label{background:#763d2e;border-color:#ffdda3}.ma-pin[aria-pressed=true] .ma-pin-dot{background:#ee9748}
.ma-fullscreen{position:absolute;z-index:4;bottom:15px;right:15px;min-height:45px;padding:9px 14px;cursor:pointer;background:#150f18e8;border:1px solid #f5c69f;color:#fff0dd;font-size:.85rem;font-weight:800}
.ma-fullscreen:hover{background:#64372f}
.ma-info{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:19px;padding:clamp(16px,2.3vw,28px);background:linear-gradient(115deg,#251b20,#15131a)}
.ma-info-main h2{font-size:clamp(1.6rem,3vw,2.6rem)!important;line-height:1.2!important;font-family:Georgia,serif!important;margin:0 0 9px!important;color:#fff0da!important}
.ma-info-main>p:not(.ma-eyebrow){font-size:clamp(.93rem,1vw,1.05rem)!important;line-height:1.68!important;margin:0 0 11px!important;color:#ead4c1!important}
.ma-focus{background:#432a29;border-left:4px solid #edab75;padding:11px 14px;margin-top:13px}.ma-focus strong{display:block;color:#ffedce;margin-bottom:4px;font-size:1.06rem}
.ma-focus p{font-size:.89rem!important;line-height:1.55!important;color:#ebd5c6!important;margin:0 0 11px!important}.ma-focus a{display:inline-block;min-height:42px;padding:10px 14px;background:#943f30;color:#fff2da!important;text-decoration:none;font-size:.85rem;font-weight:850;border:1px solid #f0b085}.ma-focus a:hover{background:#b35c39}
.ma-provenance{border-left:1px solid #795147;padding-left:20px}.ma-provenance strong{color:#ffca9b;font-size:.82rem;letter-spacing:.025em}.ma-provenance p{font-size:.87rem!important;color:#d7c2b3!important;line-height:1.65!important;margin:11px 0!important}.ma-provenance a{font-size:.82rem;font-weight:800;text-decoration:underline}
.ma-accuracy{margin:0!important;padding:11px 15px!important;background:#20181e;color:#d5bbad!important;font-size:.78rem!important;line-height:1.6!important;border-left:4px solid #bc8756}
.ma-story,.ma-records,.ma-compare-wrap,.ma-people,.ma-sources{margin:33px 0 0;padding:clamp(19px,2.3vw,29px);border:1px solid #714d43;background:#211a20}
.ma-story h2,.ma-records h2,.ma-compare-heading h2,.ma-people h2,.ma-sources h2{font:800 clamp(1.6rem,3vw,2.65rem)/1.18 Georgia,serif!important;color:#f9e8d2!important;margin:0 0 13px!important}
.ma-story>p:not(.ma-eyebrow),.ma-records-head p,.ma-compare-heading p,.ma-sources p{color:#ddc6b7!important;line-height:1.65!important;margin:0 0 17px!important}
.ma-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:20px}
.ma-timeline-stop{cursor:pointer;min-height:75px;padding:15px;border:1px solid #9f6755;background:#2e252c;color:#f8e4ce;text-align:left;display:flex;flex-direction:column;gap:6px}
.ma-timeline-stop span{font-size:.75rem;color:#e7ac7a}.ma-timeline-stop strong{font-size:.94rem}.ma-timeline-stop[aria-pressed=true],.ma-timeline-stop:hover{background:#693d35;border-color:#f9c38b}
.ma-compare-heading{display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap;align-items:end}.ma-compare-heading>span{font-size:.75rem;letter-spacing:.08em;font-weight:800;color:#f6bd86;padding:12px;border:1px solid #9d6c53}
.ma-comparison{position:relative;width:100%;aspect-ratio:1672/941;overflow:hidden;background:#19131a;border:1px solid #91644f}
.ma-comparison img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.ma-compare-front{position:absolute;inset:0;clip-path:inset(0 50% 0 0)}.ma-compare-front img{display:block}
.ma-compare-divider{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:3px;background:#fff3db;box-shadow:0 0 12px #000;pointer-events:none;z-index:2}
.ma-compare-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;width:43px;height:43px;background:#d79266;border:2px solid #fff;color:#291821;font-size:1.3rem;font-weight:900}
.ma-compare-tag{position:absolute;bottom:15px;background:#171119d9;border:1px solid #c19b7d;padding:7px 10px;font-size:.75rem;font-weight:850;letter-spacing:.07em}.ma-compare-before{right:17px}.ma-compare-after{left:17px}
.ma-compare-label{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:16px;color:#f8dfc5;font-weight:850}.ma-compare-label strong{color:#e9b58c;font-size:.86rem}
#ma-compare-slider{display:block;width:100%;margin:10px 0 0;accent-color:#dd7c4e;cursor:ew-resize;height:32px}
.ma-compare-caveat{font-size:.79rem!important;color:#d3b4a2!important;margin:0!important;line-height:1.5!important}
.ma-records-head{display:flex;justify-content:space-between;align-items:end;gap:14px;flex-wrap:wrap}.ma-records-head>a{padding:12px;border:1px solid #b07a55;text-decoration:none!important;font-size:.8rem;font-weight:800}
.ma-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ma-card{display:flex;flex-direction:column;background:#17151b;border:1px solid #69463f;color:#ead4bb!important;text-decoration:none!important;min-width:0;overflow:hidden;padding-bottom:15px;gap:8px}
.ma-card:hover{background:#38282a;border-color:#e2a878}.ma-card-media{display:block;aspect-ratio:16/9;overflow:hidden}.ma-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.ma-card:hover img{transform:scale(1.04)}
.ma-card>*:not(.ma-card-media){margin-left:15px;margin-right:15px}.ma-card-meta{font-size:.65rem;letter-spacing:.09em;font-weight:850;color:#ebae75;text-transform:uppercase}.ma-card strong{font:800 1.3rem/1.2 Georgia,serif!important;color:#fff0db}.ma-card>span:not(.ma-card-media):not(.ma-card-meta):not(.ma-card-open){font-size:.84rem;line-height:1.5;color:#d7c1b1}.ma-card-open{margin-top:auto;color:#f7ba8e;font-size:.79rem;font-weight:850;padding-top:7px}
.ma-people{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:13px;align-items:stretch}.ma-people>a{padding:16px;background:#34252b;border:1px solid #7d5042;color:#f7dec7!important;display:flex;flex-direction:column;gap:8px;text-decoration:none!important;font-size:.81rem}.ma-people>a:hover{background:#593b35}.ma-people>a strong{font-size:1.1rem;color:#fff0d5}.ma-people>a span{line-height:1.5;color:#dac4b6}.ma-sources>div{display:flex;flex-wrap:wrap;gap:10px}.ma-sources a{display:inline-block;border:1px solid #a87658;padding:11px 13px;text-decoration:none!important;font-size:.84rem;font-weight:800}.ma-sources a:hover{background:#56362e}
.ma-dossier-hero{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.55fr);background:#241c22;border:1px solid #926c52;gap:0}
.ma-dossier-head{padding:clamp(20px,3vw,42px);display:flex;flex-direction:column;align-items:start}.ma-dossier-head h1{font:800 clamp(2.1rem,4.3vw,4.4rem)/1.05 Georgia,serif!important;color:#ffefdc!important;letter-spacing:-.03em;margin:0 0 17px!important}.ma-dossier-head>p:not(.ma-eyebrow){color:#e7cbbb!important;font-size:1.1rem!important;line-height:1.6!important}.ma-dossier-head>a{margin-top:auto}
.ma-dossier-hero figure{position:relative;margin:0;overflow:hidden;min-height:345px}.ma-dossier-hero figure img{display:block;width:100%;height:100%;object-fit:cover;min-height:345px}.ma-dossier-hero figcaption{position:absolute;bottom:0;left:0;right:0;background:#120d17e8;color:#ead1bf;padding:12px 15px;font-size:.73rem;line-height:1.5}
.ma-dossier-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.65fr);gap:22px;margin-top:22px}.ma-dossier-article,.ma-dossier-aside{border:1px solid #744e44;background:#241c21;padding:clamp(18px,2.5vw,35px)}
.ma-lead{color:#eacfb5!important;line-height:1.65!important;font-size:1.2rem!important}.ma-dossier-article>section{border-top:1px solid #654740;margin-top:20px;padding-top:20px}.ma-dossier-article h2,.ma-dossier-aside h2{font:800 clamp(1.4rem,2.5vw,2.2rem)/1.2 Georgia,serif!important;color:#ffecda!important;margin:0 0 12px!important}
.ma-dossier-article>section p,.ma-dossier-method p{font-size:1rem!important;line-height:1.8!important;color:#dfc9b8!important;margin:0 0 12px!important}.ma-dossier-method{margin-top:23px;padding:17px;background:#3e2d2b;border-left:4px solid #e2a574}.ma-dossier-method strong{font-size:1.05rem;color:#ffe2c4}
.ma-facts{display:flex;flex-direction:column;gap:11px;margin-bottom:26px}.ma-facts>div{border-bottom:1px solid #765045;padding-bottom:11px}.ma-facts span{display:block;color:#eeaf82;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}.ma-facts strong{color:#fff0dc;font-size:.93rem;line-height:1.45}
.ma-related{display:flex;flex-direction:column;gap:8px;margin-bottom:27px}.ma-related a{border:1px solid #88604b;padding:12px;text-decoration:none!important;font-size:.84rem;font-weight:750}.ma-related a:hover{background:#563932}
.ma-aside-return{display:block;text-align:center;background:#894634;border:1px solid #d99b72;padding:14px;color:#fff1d6!important;font-weight:850;text-decoration:none!important}
.ma-era-mini{margin-top:30px!important}.ma-era-mini>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.ma-mini{display:flex;flex-direction:column;border:1px solid #94604f;text-decoration:none!important;overflow:hidden;font-size:.75rem;font-weight:800}.ma-mini img{aspect-ratio:16/9;width:100%;height:auto;object-fit:cover}.ma-mini span{padding:9px}
.mu-ancient-preview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.9fr);max-width:1760px;margin:23px auto;padding:8px;border:1px solid #aa6c52;background:linear-gradient(120deg,#282027,#110f16)}
.mu-ancient-preview .mu-ancient-image{display:block;min-width:0;overflow:hidden}.mu-ancient-preview img{width:100%;height:100%;display:block;object-fit:cover;min-height:285px}.mu-ancient-body{padding:clamp(17px,2.9vw,38px)}.mu-ancient-body h2{font:800 clamp(2rem,4vw,3.8rem)/1 Georgia,serif!important;color:#fff0d9!important;margin:0 0 15px!important}.mu-ancient-body p:not(.mu-eyebrow){color:#e2cdbb!important;line-height:1.65!important;margin:0 0 15px!important}.mu-ancient-body .mu-ancient-note{font-size:.8rem!important;color:#caaa94!important}.mu-ancient-action{display:inline-block;text-decoration:none!important;font-weight:850;padding:13px 16px;background:#8d4335;border:1px solid #e7a677;color:#fff6e9!important}
.ma-body-locked{overflow:hidden!important}.ma-page.ma-immersed{z-index:300000}.ma-stage.ma-fullscreen-mode{position:fixed!important;inset:0!important;height:100dvh!important;z-index:300010!important;width:100vw!important;max-width:none!important;border:0!important;overflow:hidden;display:flex;flex-direction:column}.ma-stage.ma-fullscreen-mode>.ma-scene{height:76dvh;aspect-ratio:auto;flex:0 0 auto}.ma-stage.ma-fullscreen-mode>.ma-info{height:24dvh;flex:1;overflow:auto}.ma-page.ma-immersed .ma-phasebar{position:fixed!important;top:8px;left:8px;right:145px;z-index:300020!important;max-width:950px;padding:5px;background:#190f17ef}.ma-page.ma-immersed .ma-phase{min-height:42px;padding:5px 9px}.ma-page.ma-immersed .ma-phase-copy small{display:none}
@media(max-width:1130px){.ma-people{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-phase-copy strong{font-size:.82rem}.ma-phase-index{font-size:1.18rem}.ma-dossier-layout{grid-template-columns:minmax(0,1.3fr) minmax(235px,.7fr)}}
@media(max-width:800px){.ma-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-info{grid-template-columns:minmax(0,1fr)}.ma-provenance{border-left:0;border-top:1px solid #7e5146;padding:15px 0 0}.ma-people{grid-template-columns:1fr 1fr}.ma-dossier-hero,.ma-dossier-layout,.mu-ancient-preview{grid-template-columns:minmax(0,1fr)}.ma-dossier-hero figure{min-height:0}.ma-dossier-hero figure img{max-height:430px;min-height:0;aspect-ratio:16/9}.ma-mini img{aspect-ratio:16/9}.ma-page.ma-immersed .ma-phasebar{right:88px}}
@media(max-width:560px){.ma-page{padding:7px 8px 25px}.ma-page-head{padding:0 6px 17px}.ma-page-head h1{font-size:2.7rem!important}.ma-crumbs{padding-bottom:13px}.ma-phasebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px}.ma-phase{min-width:0;min-height:50px;padding:7px}.ma-phase-copy strong{font-size:.76rem}.ma-phase-copy small{font-size:.64rem}.ma-scene{aspect-ratio:5/4}.ma-pin{max-width:106px;gap:3px}.ma-pin-dot{width:20px;height:20px;box-shadow:0 0 0 3px #a54c2b65}.ma-pin-dot:after{font-size:.82rem}.ma-pin-label{font-size:.51rem;padding:4px 6px;max-width:96px}.ma-fullscreen{bottom:6px;right:6px;font-size:.7rem;min-height:38px;padding:6px 9px}.ma-info{padding:13px}.ma-story,.ma-records,.ma-compare-wrap,.ma-people,.ma-sources{padding:13px;margin-top:18px}.ma-timeline{grid-template-columns:1fr 1fr;gap:6px}.ma-timeline-stop{min-height:59px;padding:9px}.ma-card-grid{grid-template-columns:1fr}.ma-compare-heading>span{display:none}.ma-compare-tag{font-size:.58rem;bottom:5px;padding:4px}.ma-people{grid-template-columns:1fr}.ma-dossier-head{padding:18px}.ma-dossier-article,.ma-dossier-aside{padding:16px}.ma-dossier-hero figure figcaption{font-size:.65rem}.ma-era-mini>div{grid-template-columns:1fr 1fr}.ma-page.ma-immersed .ma-phasebar{right:73px;left:3px;top:3px;grid-template-columns:repeat(4,1fr);gap:2px}.ma-page.ma-immersed .ma-phase{padding:3px;min-height:36px}.ma-page.ma-immersed .ma-phase-index{display:none}.ma-page.ma-immersed .ma-phase-copy strong{font-size:.61rem}.ma-stage.ma-fullscreen-mode>.ma-scene{height:57dvh}.ma-stage.ma-fullscreen-mode>.ma-info{height:43dvh;min-height:0}}
@media(prefers-reduced-motion:reduce){.ma-page *,.mu-ancient-preview *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Screenshot QA: the site shell already inserts a breadcrumb trail. Avoid a
   second one and place the immersive image within the opening viewport. */
.ma-page>.ma-crumbs{display:none!important}
.ma-page-head{padding-top:13px;padding-bottom:14px;align-items:center}
.ma-page-head h1{font-size:clamp(2.7rem,5.4vw,5.4rem)!important;line-height:.98!important;margin-bottom:7px!important;letter-spacing:-.064em!important}
.ma-page-head .ma-eyebrow{margin-bottom:6px!important}
.ma-page-head .ma-parent{padding:10px 13px;font-size:.78rem;min-height:40px}
.ma-phase{min-height:58px}
@media(max-width:560px){.ma-page-head{padding:9px 6px 11px}.ma-page-head h1{font-size:clamp(2.05rem,9.4vw,3rem)!important;line-height:1.06!important}.ma-page-head .ma-parent{padding:8px 11px;font-size:.78rem}.ma-phase{min-height:47px}}
