/* Ascension and tactical combat extend the established illustrated atlas. */
.ascension-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ascension-choices article{padding:16px;background:#f1f8ff;border:1px solid #b9d2eb;border-radius:16px;display:flex;align-items:flex-start;flex-direction:column;gap:10px;min-width:0}.ascension-choices article.chosen{border:2px solid #bc8c24;background:#fffae9}.ascension-choices h3{font-size:24px}.ascension-choices p{font-size:14px;line-height:1.5;flex:1}.ascension-choices small{font-size:14px;color:#486682}.ascension-choices .btn{width:100%;white-space:normal}.mastery-panel{max-width:820px}.mastery-panel>p{margin:12px 0}.mastery-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}.mastery-paths>div{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #b9d2eb;border-radius:14px;background:#f1f8ff}.mastery-paths span{flex:1}.mastery-paths strong,.mastery-paths small{display:block}.mastery-paths small{font-size:14px;margin-top:5px;color:#486682}.duplicate-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.badge.crisis{color:#8e3559;border:1px solid #d793a8;background:#ffe8ef}.territory-defense{margin-top:26px}.defense-region{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;border:1px solid #d1deea;background:#f6faff;padding:14px;border-radius:14px;margin-top:12px}.defense-region>img{width:64px;height:64px;object-fit:cover;border-radius:10px}.defense-region strong,.defense-region small{display:block}.defense-region small{font-size:14px;color:#486682;line-height:1.5;margin:6px 0}.defense-region.warning{border-color:#caa04c;background:#fff9e8}.defense-region.occupied{border-color:#d694aa;background:#fff0f4}.defense-region details{grid-column:1/-1}.defense-region summary{min-height:44px;cursor:pointer;display:flex;align-items:center}.defense-region p{font-size:14px;margin:10px 0}.defense-actions{display:flex;flex-wrap:wrap;gap:10px}.defense-actions .btn{white-space:normal}.target-summary{display:flex;justify-content:space-between;gap:10px;padding:12px 16px;background:#eaf5ff;border-block:1px solid #c7def0;font-size:14px;line-height:1.5}.target-summary>span{min-width:0;overflow-wrap:anywhere}.combat-v9 .combat-hp{flex:1;min-width:100px}.combat-v9 .combat-hp .unit-health{position:static;width:100%;height:9px;margin-bottom:6px}.combat-v9 .combat-controls{gap:18px}.combat-v9 .combat-buttons{flex-wrap:wrap}.combat-v9 .battle-unit{border:0;background:transparent;padding:0;overflow:visible;touch-action:manipulation;color:#214861;cursor:pointer}.combat-v9 .battle-unit:disabled{opacity:1;cursor:default}.combat-v9 .battle-unit .sprite{object-fit:contain;filter:none;transform:none;mix-blend-mode:normal}.combat-v9 .battle-unit.targeted .unit-ground{outline:3px solid #dd7157;outline-offset:6px;background:#ffe09a40}.combat-v9 .battle-unit.targeted-ally .unit-ground{outline:3px solid #359cdb;outline-offset:6px;background:#6fcdff40}.combat-v9 .battle-unit:focus-visible{outline:3px solid #136bb0;outline-offset:6px;border-radius:12px}.unit-intent{position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);background:#eff8ff;color:#234e70;border:1px solid #a5c6e0;border-radius:6px;font-size:12px;padding:3px 5px;white-space:nowrap;pointer-events:none}.unit-intent:empty{display:none}.casting .unit-intent{background:#ffda9a;color:#673315;border-color:#a96c21;font-weight:700}.combat-v9 .battle-unit.defeated{opacity:.35;filter:none;transform:translate(-50%,-100%)}.combat-v9 .battle-unit .unit-name{font-size:14px;max-width:150px;white-space:normal;line-height:1.2;text-wrap:balance}.combat-v9 .battle-unit .unit-name small{font-size:12px}.combat-v9 .battlefield{height:440px}.combat-v9 .unit-art{height:135px}.combat-v9 .unit-art>.sprite{max-height:135px;max-width:125px}.combat-v9 .battle-scene-bottom{font-size:14px}.combat-v9 .local-player{min-height:66px}.combat-v9 .local-player:disabled{opacity:1}.combat-v9 .local-info>span{font-size:14px;line-height:1.45}.combat-v9 .skill-tile .skill-name{font-size:14px}.combat-v9 .skill-tile small{font-size:12px}.combat-v9 .journal-event strong{font-size:14px}.combat-v9 .journal-event span{font-size:13px}.combat-v9 .journal-event time{font-size:12px}.combat-v9 .journal-tabs .btn{font-size:14px;min-height:44px}.combat-v9 .region-side details p{font-size:14px;line-height:1.6;margin-top:12px}.combat-v9 .combat-session small{font-size:14px}.hunt-config-row label,.hunt-sheet label{font-size:14px}.hunt-sheet select{min-height:44px;font-size:16px}.help-note{font-size:14px}.skill-card p{font-size:14px}.skill-card .skill-meta{font-size:14px}.building-upgrade .btn{white-space:normal}.mastery-panel .progress-label{margin:18px 0 8px}.skill-first{min-height:44px}
@media(max-width:850px){.combat-v9{grid-template-columns:minmax(0,1fr)}.combat-v9 .region-side{display:flex;flex-direction:column}.combat-v9 .battlefield{height:390px}.combat-v9 .combat-controls{flex-wrap:wrap}.combat-v9 .combat-hp{flex-basis:100%}.combat-v9 .combat-buttons{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.combat-v9 .combat-buttons .btn{min-height:44px;font-size:14px;padding:8px 6px}.combat-v9 .battle-unit .unit-name{font-size:12px;max-width:108px}.combat-v9 .unit-art{height:104px}.combat-v9 .unit-art>.sprite{max-height:104px;max-width:95px}.combat-v9 .battle-unit{width:100px}.combat-v9 .battle-unit .unit-health{width:70px}.combat-v9 .unit-intent{font-size:12px}.combat-v9 .target-summary{padding:10px;font-size:12px}.combat-v9 .skill-hotbar{grid-template-columns:repeat(4,minmax(0,1fr))}.combat-v9 .skill-tile .skill-name{font-size:12px}.combat-v9 .skill-tile{min-height:126px}.combat-v9 .skill-tile .ability-art{height:48px;width:48px}.combat-v9 .hunt-timer>span{font-size:12px}.combat-v9 .combat-session strong{font-size:23px}.combat-v9 .combat-session small{font-size:12px}.combat-v9 .combat-loot-strip strong{font-size:14px}.combat-v9 .combat-loot-strip small{font-size:12px}.ascension-choices h3{font-size:22px}.ascension-choices{gap:10px}.ascension-choices article{padding:12px}.ascension-choices .btn{font-size:14px}.defense-actions>.btn{width:100%}}
@media(max-width:420px){.mastery-paths{grid-template-columns:1fr}.combat-v9 .battlefield{height:365px}.combat-v9 .unit-art{height:88px}.combat-v9 .unit-art>.sprite{max-width:80px;max-height:88px}.combat-v9 .battle-unit{width:82px}.combat-v9 .battle-unit .unit-name{max-width:95px}.ascension-choices{grid-template-columns:1fr}.ascension-choices article{display:grid;grid-template-columns:56px minmax(0,1fr)}.ascension-choices .ability-art{grid-row:1/3}.ascension-choices p,.ascension-choices .btn{grid-column:1/-1}}

.atlas-marker.scourged .atlas-marker-dot{background:#ffe1e9;border-color:#b85578;color:#852d50}.atlas-marker.scourged .atlas-marker-label{border-color:#b85578;color:#852d50}
