.empire-map-page .empire-map-wrap{max-width:1240px}.empire-map-header{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:18px}.empire-map-header h1{font-size:clamp(30px,5vw,44px);margin:0 0 5px;line-height:1.05}.empire-map-header p{margin:0;color:var(--dim)}.empire-map-brand{width:190px;height:auto;flex-shrink:0}.empire-map-state{display:inline-block;padding:4px 9px;border:1px solid #58c9c0;color:#9be3dd;font-size:15px;margin-bottom:12px}.empire-map-context{font-size:16px;max-width:77ch;margin:0 0 18px;color:var(--dim)}.empire-map-toolbar{display:flex;gap:12px;align-items:end;justify-content:space-between;margin-bottom:12px}.empire-team-picker{display:block;flex:1;max-width:480px;font-size:16px}.empire-team-picker select{display:block;width:100%;min-height:48px;margin-top:6px;background:#132a38;border:1px solid #73929e;border-radius:4px;padding:10px 12px;font:inherit;color:#f5f1e8}.empire-map-zoom{display:flex;gap:6px}.empire-map-zoom button{min-width:46px;min-height:46px;background:#132a38;color:#f5f1e8;border:1px solid #73929e;border-radius:4px;padding:8px 12px;font:inherit;font-size:20px;cursor:pointer}.empire-map-zoom button:last-child{font-size:16px}.empire-map-zoom button:disabled{opacity:.4;cursor:default}.empire-map-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px}.empire-map-stage{position:relative;background:#071621;border:1px solid #54717f;border-radius:5px;overflow:hidden;min-width:0}.empire-map-stage canvas{display:block;width:100%;height:470px;touch-action:none;cursor:grab}.empire-map-stage canvas:active{cursor:grabbing}.empire-map-stage canvas:focus-visible{outline:3px solid #ff9a80;outline-offset:-4px}.empire-map-caption{margin:0;padding:10px 12px;font-size:14px;line-height:1.4;color:var(--dim);border-top:1px solid #344c5a;display:flex;gap:8px;justify-content:space-between}.empire-team-card{border-top:3px solid #58c9c0;background:#102331;padding:20px;align-self:start;min-width:0}.empire-team-card h2{font-size:29px;line-height:1.1;margin:0 0 16px}.empire-team-card p{font-size:17px}.empire-team-card dl{margin:0}.empire-team-card dt{font-size:14px;color:var(--dim);margin-top:14px}.empire-team-card dd{margin:3px 0 0;font-size:18px}.empire-team-card .small{font-size:15px;line-height:1.5;color:var(--dim)}.empire-team-card a{overflow-wrap:anywhere}.empire-map-footer{margin:22px 0 0;display:flex;flex-wrap:wrap;gap:12px 25px}.empire-map-footer a{display:inline-flex;align-items:center;min-height:44px}.empire-map-legend{font-size:15px;color:var(--dim);margin:12px 0 0}.empire-map-legend span{display:inline-block;width:12px;height:12px;background:#344c5a;border:1px solid #718794;margin-right:5px}.empire-map-page .block{padding-block:30px}.empire-map-page button:focus-visible,.empire-team-picker select:focus-visible{outline:3px solid #ff9a80;outline-offset:3px}.empire-map-fallback{padding:15px;border:1px solid #ff9a80;margin-bottom:16px}
@media(max-width:800px){.empire-map-grid{grid-template-columns:1fr}.empire-map-header{align-items:start}.empire-map-brand{width:150px}.empire-team-card{padding:18px}.empire-map-stage canvas{height:380px}.empire-team-card h2{font-size:27px}.empire-map-toolbar{align-items:end}.empire-map-zoom button{padding-inline:10px}.empire-map-context{font-size:15px}}
@media(max-width:480px){.empire-map-page .block{padding-block:22px}.empire-map-header{display:block;margin-bottom:12px}.empire-map-brand{width:180px;margin-bottom:16px}.empire-map-header h1{font-size:32px}.empire-map-state{font-size:14px;margin-bottom:10px}.empire-map-header p{font-size:16px}.empire-map-toolbar{display:block}.empire-map-zoom{margin-top:12px}.empire-map-zoom button{min-width:50px;min-height:46px}.empire-map-stage canvas{height:340px}.empire-map-caption{font-size:13px}.empire-map-grid{gap:15px}.empire-map-footer{gap:4px 20px}}

.empire-map-notes{margin-top:20px}.empire-map-notes summary{min-height:44px;cursor:pointer}.empire-map-notes .empire-map-context{margin-top:10px}@media(max-width:480px){.empire-map-brand{display:none}}

/* Optional private wording trial; stays inside the existing closed map notes. */
.empire-season-notes{max-width:74ch;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.empire-season-notes h2{font-size:21px;line-height:1.25;margin:0 0 12px}.empire-season-notes p{font-size:16px;line-height:1.55}.empire-debut-clue{margin:0 0 12px;color:var(--paper)}.empire-debut-context{margin:0 0 6px;color:var(--dim)}
