.maps-page { max-width: 1240px; margin: 0 auto; padding: 32px 40px 72px; display: flex; flex-direction: column; gap: 40px; }
.maps-page h1 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: 44px; letter-spacing: 1px; color: var(--text-hi); }
.maps-page .lead { margin: 10px 0 0; font-size: 18px; line-height: 1.65; color: var(--text-body); max-width: 760px; }
.maps-page section { display: flex; flex-direction: column; gap: 16px; }
.maps-page h2 { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-weight: 800; font-size: 24px; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; }
.px { image-rendering: pixelated; }

.road { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.chapter { display: flex; flex-direction: column; gap: 8px; }
.slot { display: flex; align-items: center; gap: 12px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; text-align: start; cursor: pointer; }
.slot:hover { border-color: var(--line-gold); }
.slot[aria-pressed="true"] { border-color: var(--gold); background: var(--selection-fill); }
.slot img { width: 56px; height: 56px; border-radius: 6px; image-rendering: pixelated; flex: none; }
.slot span, .gate span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.slot b { font-weight: 600; font-size: 15px; color: var(--text-hi); }
.slot i, .gate i { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slot em { font-style: normal; font-size: 12px; font-weight: 600; }
.gate { display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: var(--deep); border: 1px solid var(--line-gold); border-radius: 8px; }
.gate img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.gate i { color: var(--gold); letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.gate b { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--text-hi); }

.maps-page section.map-detail { flex-direction: row; align-items: flex-start; }
.map-detail { display: flex; flex-wrap: wrap; gap: 28px; padding: 24px; }
.md-art { flex: 1 1 300px; max-width: 420px; }
.md-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; image-rendering: pixelated; }
.md-text { flex: 999 1 420px; display: flex; flex-direction: column; gap: 14px; }
.kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.md-text h3 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: 34px; color: var(--text-hi); }
.facts { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 12px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.facts dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--text-hi); }
.foes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.foes li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; background: var(--deep); border: 1px solid var(--line-soft); border-radius: 8px; text-align: center; }
.foes li.elite { border-color: var(--line-gold); }
.foes li.boss { border-color: var(--gold); }
.foe-art { height: 84px; display: flex; align-items: flex-end; justify-content: center; }
.foe-art img { max-height: 84px; max-width: 110px; }
.foes b { font-size: 14px; font-weight: 600; color: var(--text-hi); line-height: 1.25; }
.foes i { font-style: normal; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.foes .elite i, .foes .boss i { color: var(--gold); }
[hidden] { display: none !important; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.flow li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 8px; }
.flow b { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--text-hi); }
.flow p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-body); }
.body { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-body); max-width: 820px; }
.table { overflow-x: auto; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 8px; max-width: 820px; }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line-soft); }
.table th { font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.table tr:last-child td { border-bottom: 0; }
.data-note { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .maps-page { padding: 24px 16px 56px; }
  .maps-page h1 { font-size: 32px; }
  .table th, .table td { padding: 10px; }
  .table table { font-size: 14px; }
}
