/* Apresentação do atlas; regras de combate e progressão permanecem nos módulos originais. */
main.expedicao-shell.exp-map-first{max-width:1680px;width:calc(100% - 28px);margin:14px auto 28px;padding:0;color:#172f42}
.exp-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 22px;background:#102b3c;border:3px double #bc9855;border-bottom:0;color:#f5dfa5}
.exp-heading h1{font:700 29px Georgia,serif;margin:2px 0;color:#f5dfa5}
.exp-heading>div>span{font:9px Georgia,serif;letter-spacing:2px;color:#d8bc7f}
.exp-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.exp-map-first .exp-toolbar .ghost{margin:0!important;font:700 12px Georgia,serif!important;padding:10px 15px!important;background:linear-gradient(#25495b,#102b3c);color:#ffe5a9;border:1px solid #bb9650;border-radius:3px}
main.exp-map-first .atlas{border:5px double #b4914a;border-radius:0 0 6px 6px;box-shadow:0 8px 24px #17170f66;overflow:hidden}
main.exp-map-first .workspace{gap:18px}
main.exp-map-first .map-top{top:15px;left:15px;align-items:center}
main.exp-map-first .map-top>div{background:#112e3de8;border:1px solid #bc9855;border-radius:3px;padding:9px 15px;box-shadow:0 3px 12px #0004}
main.exp-map-first #mapTitle{font:700 16px Georgia,serif;color:#ffe5ab}
main.exp-map-first #mapCaption{color:#efe2c6;font-size:11px;margin-top:3px}
main.exp-map-first #mapBack{background:#102b3c;color:#ffe5ab;border:1px solid #bc9855;border-radius:50%;width:38px;height:38px}
main.exp-map-first .world-viewport{height:clamp(430px,72svh,900px);min-height:430px;background:#152f35}
main.exp-map-first .region-viewport .map{height:clamp(470px,72svh,900px);min-height:470px}
main.exp-map-first .atlas-controls{background:#102b3cde;border:1px solid #b49250;border-radius:4px;color:#f3e1bb;padding:6px 10px}
main.exp-map-first .atlas-controls .ghost{color:#f7e4ba;background:#183c4d;border-color:#a0834d}
main.exp-map-first .country-pin{filter:drop-shadow(0 3px 3px #0008)}
main.exp-map-first .country-pin span{background:#122e3eee;color:#ffe7ad;border-color:#b59049;border-radius:2px;font-family:Georgia,serif}
main.exp-map-first .place-art{border:3px double #e0bb66;box-shadow:0 3px 12px #0008}
main.exp-map-first .place strong{font-family:Georgia,serif;color:#ffebbb;background:#142c3be8;border:1px solid #b18b46;padding:5px 9px}
main.exp-map-first .details,#stageDialog{background:#f2e5c6 url('../img/cabecalho-2026/pergaminho.png') center/700px;border:4px double #ad8a45;border-radius:5px;color:#172f42;box-shadow:0 5px 22px #19202944}
main.exp-map-first .details{padding:22px}
main.exp-map-first .details h2,#stageDialog h2{font:700 26px Georgia,serif;color:#17364a}
main.exp-map-first .country-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
main.exp-map-first .country-list button{background:#fff4d65c;border:1px solid #b59a63;border-radius:3px;color:#17364a}
main.exp-map-first .preview-note{margin-top:14px;background:#f2e5c6c9;color:#564931;border:1px solid #b59a63;font-size:11px;border-radius:3px}
#stageDialog{position:fixed;inset:145px auto auto max(24px,calc((100vw - 1640px)/2));margin:0;width:450px;max-width:calc(100vw - 32px);max-height:calc(100svh - 170px);padding:16px;scrollbar-color:#ab8847 #ede0bf}
#stageDialog::backdrop{background:#0b1c3026;backdrop-filter:none}
#stageDialog .details{background:transparent!important;padding:0;border:0;box-shadow:none}
#stageDialog .stage-type{color:#76531f;letter-spacing:2px;font-size:10px}
#stageDialog .stage-tabs{gap:6px}
#stageDialog .stage-tabs button{background:#eee0be;border:1px solid #b69958;color:#263849;border-radius:3px}
#stageDialog .stage-tabs button[aria-pressed="true"]{background:#153647;color:#ffe8b4;border-color:#bb8f39}
#stageDialog .drops{grid-template-columns:1fr;gap:7px}
#stageDialog .drop{background:#fff8e66b;border:1px solid #c3a76c;border-radius:3px;padding:8px}
#stageDialog .drop img{width:52px;height:52px;object-fit:contain;background:#d9c99c55;border:1px solid #b79a58;border-radius:3px}
#stageDialog .drop strong{color:#18384a;font-size:12px}
#stageDialog .drop small{color:#62573e}
#stageDialog .drop b{color:#78591c}
#stageDialog .reward-heading{background:#163749;color:#ffe7b1;padding:8px 10px;border:1px solid #ab8847}
#stageDialog .reward-heading h3{color:inherit;margin:0;font:700 15px Georgia,serif}
#stageDialog #enter{background:linear-gradient(#d6ae57,#a77426);border:2px double #71501f;color:#201e15;font-weight:800;border-radius:3px}
#stageDialog .primary{background:linear-gradient(#285065,#112e40);color:#ffe7b1;border:1px solid #a78543;border-radius:3px}
#stageDialog .ghost{border-color:#a78543;border-radius:3px;color:#173649}
#stageDialog .facts{background:#dcca9d40;border-block:1px solid #bc9c62}
#stageDialog .foot{color:#655a43;font-size:10px}
#stageDialog button:disabled{opacity:.55}
.exp-map-first button:focus-visible,#stageDialog button:focus-visible{outline:3px solid #eeae32;outline-offset:3px}
@media(max-width:700px){
 main.expedicao-shell.exp-map-first{width:calc(100% - 12px);margin:8px auto}
 .exp-heading{padding:10px;gap:8px;align-items:flex-start}.exp-heading h1{font-size:21px}.exp-heading>div>span{font-size:7px;letter-spacing:1px}
 .exp-map-first .exp-toolbar .ghost{padding:7px 9px!important;font-size:10px!important}
 .exp-toolbar{max-width:155px;gap:5px}
 main.exp-map-first .world-viewport{height:58svh;min-height:370px}
 main.exp-map-first .map-top{top:8px;left:8px}
 main.exp-map-first .map-top>div{padding:7px 10px}
 main.exp-map-first #mapTitle{font-size:13px}
 #stageDialog{inset:70px auto auto 12px;width:calc(100vw - 24px);max-width:none;max-height:calc(100svh - 90px);padding:12px}
}/* Neutraliza o título genérico dos cards antigos. */
#stageDialog .details h2{background:#153647!important;color:#ffe7b1!important;border:1px solid #ac8945;border-radius:3px;padding:10px 12px;font:700 23px Georgia,serif}
#stageDialog .reward-heading span{color:#e4c995}

/* Atlas imersivo: o cenário ocupa a página, como na proposta aprovada. */
body.np-body:has(.exp-map-first){background:#10292d!important}
main.expedicao-shell.exp-map-first{position:relative;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
main.exp-map-first .exp-heading{position:absolute;inset:0 0 auto;z-index:25;min-height:110px;padding:20px 32px;border:0;background:linear-gradient(#071c24eb,#071c2470,transparent);pointer-events:none;align-items:flex-start}
main.exp-map-first .exp-heading h1{font:700 clamp(28px,3vw,48px) Georgia,serif;color:#ffe8b2!important;text-shadow:0 3px 7px #000;margin:2px 0;background:none!important;border:0!important;padding:0!important}
main.exp-map-first .exp-heading>div>span{color:#f4e8ce;font-size:10px;letter-spacing:2px}
main.exp-map-first .exp-toolbar{pointer-events:auto}
main.exp-map-first .exp-toolbar .ghost{background:#f0dfb6 url('../img/cabecalho-2026/pergaminho.png') center/700px;color:#2d281b;border:3px double #ad8642;font-size:13px!important;box-shadow:0 3px 12px #0005}
main.exp-map-first .atlas{border:0!important;border-radius:0!important;box-shadow:none}
main.exp-map-first .world-viewport{height:max(580px,calc(100svh - var(--exp-header-space,130px)));min-height:580px;background:#16363e}
main.exp-map-first .region-viewport .map{height:max(580px,calc(100svh - var(--exp-header-space,130px)));min-height:580px}
main.exp-map-first .map-top{top:112px;left:30px}
main.exp-map-first .map-top>div{background:#102730c9;padding:7px 10px;border-color:#bc985577}
main.exp-map-first #mapTitle{background:none!important;border:0!important;padding:0!important;color:#ffe5ab!important}
main.exp-map-first .country-pin.great span,main.exp-map-first .country-pin span{background:#efdfb9 url('../img/cabecalho-2026/pergaminho.png') center/700px!important;color:#242519!important;border:2px solid #987338!important;border-radius:3px;padding:6px 10px;font:700 12px Georgia,serif;text-shadow:none}
main.exp-map-first .country-pin.great i{background:#ecd49a;color:#573e1a;border:2px solid #9e782f;box-shadow:0 0 12px #ffe4a1aa}
main.exp-map-first #boundaries{opacity:.3}
main.exp-map-first .atlas-controls{right:22px;bottom:15px;opacity:.85}
main.exp-map-first .workspace>.details{margin:0;padding:22px 32px;border:0;border-top:4px double #ae8d4c;border-radius:0;box-shadow:none}
main.exp-map-first .workspace{gap:0}
main.exp-map-first .details h2{background:none!important;border:0!important;color:#233a41!important;padding:0!important;margin:6px 0 10px!important;box-shadow:none!important}
main.exp-map-first .preview-note{margin:0;padding:16px 32px;background:#e9dab6;border:0;border-radius:0}
#stageDialog{top:240px;left:22px;width:425px;max-height:calc(100svh - 260px);border:6px double #937038;box-shadow:0 8px 35px #0009;padding:14px}
#stageScenery{display:block;width:100%;height:108px;object-fit:cover;border:3px double #a07d3e;margin:4px 0 12px}
#stageDialog #closeStage{position:absolute;right:19px;top:19px;z-index:1;background:#f4e5c7eF;padding:5px 9px}
#stageDialog .details h2{background:none!important;border:0!important;color:#253631!important;padding:0;font:700 26px Georgia,serif}
#stageDialog .stage-tabs button{min-height:58px;background:#ecdbb7}
#stageDialog .stage-tabs button[aria-pressed="true"]{background:#d9b261;color:#2f2614;border:2px solid #88601e}
#stageDialog .stage-tabs button b{color:#ad7a27}
#stageDialog .stage-tabs button:last-child b{color:#793d8c}
#stageDialog .reward-heading{background:transparent;color:#342f22;border:0;border-top:1px solid #ae8c4f;padding:10px 0}
#stageDialog .drops{grid-template-columns:repeat(2,minmax(0,1fr))}
#stageDialog .drop{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
#stageDialog .drop img{width:66px;height:66px}
#stageDialog .drop small{font-size:10px}
#stageDialog .drop strong{font-size:11px}
@media(max-width:700px){
 main.exp-map-first .exp-heading{padding:14px 12px;min-height:105px}
 main.exp-map-first .exp-heading h1{font-size:27px}
 main.exp-map-first .exp-heading>div>span{font-size:7px;letter-spacing:.5px}
 main.exp-map-first .map-top{top:110px;left:12px}
 main.exp-map-first .world-viewport,main.exp-map-first .region-viewport .map{min-height:570px;height:calc(100svh - 105px)}
 #stageDialog{top:80px;left:12px;width:calc(100vw - 24px);max-height:calc(100svh - 100px)}
 main.exp-map-first .workspace>.details{padding:18px}
}
