.first-map-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(240px,1fr); gap:20px; margin:18px 0; }
.first-map-graphic { min-width:0; padding:14px; background:#15121b; border:1px solid var(--line); border-radius:12px; }
.first-map-graphic svg { display:block; width:100%; height:auto; }
.first-map-grid { stroke:#a38bbd; stroke-opacity:.09; fill:none; }
.first-map-relation { stroke:#a390b5; stroke-opacity:.4; stroke-width:1.4; stroke-dasharray:5 6; fill:none; }
.first-map-north,.first-map-scale { stroke:#c8b6dc; stroke-width:2; fill:none; }
.first-map-compass,.first-map-small { fill:#b9adca; font-size:17px; }
.first-map-point circle { fill:#292232; stroke:#9a87ad; stroke-width:1.5; }
.first-map-number { fill:#f2edf6; font-size:16px; font-weight:700; }
.first-map-label { fill:#d7cfdf; font-size:16px; paint-order:stroke; stroke:#15121b; stroke-width:5px; stroke-linejoin:round; }
.first-map-point.is-selected circle { fill:#725786; stroke:#e3cef1; stroke-width:3; }
.first-map-point.is-selected .first-map-label { fill:#fff; font-weight:700; }
.first-map-controls { display:grid; align-content:start; gap:14px; min-width:0; }
.first-map-choices { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.first-map-choices button,.first-dungeon-tabs button { min-height:44px; padding:9px 12px; border:1px solid var(--line); border-radius:8px; background:#1b1721; color:var(--ink); font:inherit; font-size:12px; text-align:left; cursor:pointer; }
.first-map-choices button[aria-pressed=true],.first-dungeon-tabs button[aria-selected=true] { border-color:#b89dcc; background:#392c44; color:#f5eafa; }
.first-map-choices button:focus-visible,.first-dungeon-tabs button:focus-visible { outline:2px solid #d7bde9; outline-offset:3px; }
.first-map-detail { padding:16px; min-width:0; border:1px solid var(--line); border-radius:10px; background:#18141e; }
.first-map-detail > img { float:left; width:48px; height:48px; margin:0 12px 8px 0; object-fit:contain; border-radius:7px; }
.first-map-detail h3 { margin:0 0 10px; font-size:15px; }
.first-map-detail p { margin:0 0 10px; font-size:13px; line-height:1.85; }
.first-map-detail a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; }
.first-dungeon-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:16px 0; }
.first-dungeon-tabs button { text-align:center; }
.first-dungeon-panel { min-width:0; }
.first-dungeon-panel figure { margin:0; padding:10px; background:#121014; border:1px solid var(--line); border-radius:12px; }
.first-dungeon-panel figure img { display:block; width:100%; height:auto; max-height:520px; object-fit:contain; background:#080709; border-radius:7px; }
.first-dungeon-panel figcaption { margin:10px 2px 2px; color:var(--muted); font-size:11px; line-height:1.7; }
.first-dungeon-action { padding:14px 16px; border-left:2px solid #9c80b1; background:#1b1621; font-size:14px; line-height:1.85; }
@media (hover:hover) and (pointer:fine) { .first-map-choices button:hover,.first-dungeon-tabs button:hover { border-color:#9d84af; } }
@media (max-width:700px) { .first-map-layout { grid-template-columns:1fr; gap:12px; } .first-map-graphic { padding:8px; } .first-map-label { font-size:20px; } .first-map-number { font-size:18px; } .first-map-choices { grid-template-columns:1fr 1fr; } .first-dungeon-tabs { grid-template-columns:1fr 1fr; gap:6px; } .first-dungeon-panel figure { padding:7px; } .first-dungeon-action { font-size:13px; padding:12px; } }
