#world-atlas{width:min(1180px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:18px;overflow:auto;background:#142b2b;color:#eee1c3;border:1px solid #c3a362}.atlas-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.atlas-heading h2{font:28px Georgia;margin:6px 0}.atlas-heading small{font-size:10px;letter-spacing:2px}.atlas-heading button{font:12px system-ui;padding:10px 15px}.atlas-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:16px;align-items:start}.atlas-map-pane{min-width:0}.atlas-scroll{overflow:auto;border:1px solid #bd9a56;border-radius:5px;background:#35281e}.atlas-board{position:relative;width:100%;min-width:600px;aspect-ratio:1672/941;overflow:hidden}.atlas-art{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.atlas-legend{background:#1b3732;padding:12px!important;position:static!important;width:auto!important;border:1px solid #5e6e50!important}.atlas-legend h3{font:11px system-ui;letter-spacing:2px;color:#d1b275}.atlas-legend p{font:12px/1.6 system-ui;color:#c0c6aa}.realm-destination{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin:7px 0;text-align:left;padding:9px 10px;background:#172f2b;border-color:#5f6b50}.realm-destination strong{font:17px Georgia}.realm-destination span{font:10px system-ui;margin-top:4px;color:#b8bea3}.realm-destination.available{background:#46583b;border-color:#e4c27a}.realm-destination.available span{color:#f1d897}.realm-destination.planned{opacity:.8}.atlas-city-hit{position:absolute;transform:translate(-50%,-50%);padding:0;background:transparent;border:2px solid transparent;border-radius:7px;box-shadow:none;cursor:pointer}.atlas-city-hit{width:8%;height:4.5%;z-index:2}.atlas-city-hit.available{border-color:#ffe396;box-shadow:0 0 8px #ffe396;background:#fff1a51c}.atlas-city-hit:hover,.atlas-city-hit:focus-visible{background:#ffdc7333;border-color:#ffe396;outline:2px solid #182b2b;outline-offset:2px}.atlas-city-label{display:block;font:12px system-ui;color:#ead3a0;margin-top:12px}#atlas-city{width:100%;margin:7px 0;background:#142b2b;color:#eee1c3;border:1px solid #85714c;padding:7px;font:12px system-ui}#atlas-city-go{width:100%;padding:8px}.atlas-footnote,.atlas-map-help{font:11px/1.5 system-ui;color:#c8bc98;margin:10px 0 0}#atlas-feedback{color:#e0bf7a}.landscape-button{font-size:16px!important}
@media(max-width:700px){#world-atlas{padding:12px}.atlas-layout{grid-template-columns:1fr}.atlas-heading h2{font-size:23px}.atlas-heading small{font-size:8px}.atlas-legend{padding:10px!important}#atlas-regions{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.realm-destination{margin:0;padding:10px}.realm-destination strong{font-size:15px}.atlas-map-help{font-size:10px}}
@media(orientation:landscape) and (max-height:540px){#world-atlas{padding:10px;max-height:calc(100dvh - 12px)}.atlas-heading{margin-bottom:8px}.atlas-heading h2{font-size:22px;margin:3px 0}.atlas-layout{grid-template-columns:minmax(0,1fr) 180px;gap:10px}.atlas-legend h3{margin:3px 0}.atlas-legend>p{font-size:10px;margin:5px 0}.realm-destination{padding:6px 8px;margin:4px 0}.realm-destination strong{font-size:14px}.realm-destination span{font-size:9px;margin-top:2px}.atlas-footnote{font-size:9px;margin:7px 0 0}}

.atlas-territories{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.atlas-territory{fill:transparent;stroke:transparent;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:all;cursor:pointer;transition:fill .12s,stroke .12s}.atlas-territory:hover,.atlas-territory:focus-visible{fill:#ffe28b33;stroke:#ffe6a1;outline:none}.atlas-territory:active{fill:#ffe28b66}

/* A moldura inteira cabe na área disponível sem recorte nem deformação. */
.atlas-scroll{width:min(100%,calc((100dvh - 210px)*1672/941));margin-inline:auto;overflow:visible;background:#101a1a}
.atlas-board{min-width:0;overflow:visible}
.atlas-legend{max-height:calc(100dvh - 170px);overflow:auto}
@media(max-width:700px){.atlas-scroll{width:100%}.atlas-legend{max-height:none}.atlas-heading h2{font-size:21px}}
@media(orientation:landscape) and (max-height:540px){.atlas-scroll{width:min(100%,calc((100dvh - 150px)*1672/941))}.atlas-legend{max-height:calc(100dvh - 120px)}.atlas-map-help{font-size:9px;margin-top:6px}.atlas-heading h2{font-size:20px}}

.atlas-upareas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.atlas-up{fill-opacity:.22;stroke-width:1.4;vector-effect:non-scaling-stroke;pointer-events:all}
.atlas-up.easy{fill:#8a8a8a;stroke:#b5b5b5}.atlas-up.fit{fill:#3fbf5f;stroke:#7df09a}.atlas-up.hard{fill:#d24a3a;stroke:#ff8c7a}
.atlas-boss path{fill:#f2c44d;stroke:#3a2400;stroke-width:1;vector-effect:non-scaling-stroke;pointer-events:all}
.atlas-key{font-size:12px;margin:6px 0 0;color:#eee1c3}.atlas-key .k{display:inline-block;width:10px;height:10px;margin:0 4px 0 10px;border-radius:50%}
.atlas-key .k.easy{background:#8a8a8a}.atlas-key .k.fit{background:#3fbf5f}.atlas-key .k.hard{background:#d24a3a}.atlas-key .k.boss{background:#f2c44d;border-radius:2px;transform:rotate(45deg)}
.atlas-info{margin-top:10px;font-size:12px;max-height:260px;overflow:auto}.atlas-info h3{margin:8px 0 3px;font-size:12px;color:#c3a362}.atlas-info ul{margin:0;padding-left:16px}
