/* BN22 3D map (Map tab) + small fixes */
.maprow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.mapseg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.mapseg button{font:inherit;font-size:12px;padding:5px 12px;border:0;background:var(--panel);color:var(--ink2);cursor:pointer}
.mapseg button.on{background:var(--accent);color:#fff}
.map3dhost{width:100%;height:62vh;min-height:340px;border-radius:10px;overflow:hidden;background:#0b1a14;position:relative}
.map3dhost gmp-map-3d{width:100%;height:100%;display:block}
.map3dboot{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#9aa79f;font-size:13px}
/* A hidden tab (e.g. the flag-gated Claims tab) must actually hide despite the .tab display rule. */
.tabbar .tab[hidden]{display:none!important}
/* tap-a-block panel on the Map tab: block's FOT items + % */
.mapsel{margin-top:8px;border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}
.mapsel-hd{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--line);font-size:13px;color:var(--ink)}
.mapsel-list{max-height:40vh;overflow:auto}
.mapsel-row{display:flex;align-items:center;gap:10px;padding:7px 10px;border-bottom:1px solid var(--line);font-size:12px}
.mapsel-row:last-child{border-bottom:0}
.mapsel-row{flex-wrap:wrap}
.mapsel-row .mapsel-info{flex:1;display:flex;align-items:baseline;gap:6px;min-width:140px}
.mapsel-row .mc{font-weight:700;color:var(--ink2);min-width:46px}
.mapsel-row .mt{flex:1;color:var(--ink2)}
.mapsel-row .mp{font-weight:700;font-variant-numeric:tabular-nums;min-width:42px;text-align:right}
/* header: block subtitle sits next to the block name; controls pushed right by the flex spacer */
.mapsel-hd .mapsel-sub{font-size:11px;color:var(--ink2);font-variant-numeric:tabular-nums}
.mapsel-hd button{font:inherit;font-size:11px;padding:4px 9px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink2);cursor:pointer;flex:none}
.mapsel-hd button[data-mapreset]{color:#c0362c;border-color:#e6b7b2}
/* inline progress slider (0–100%) — full width, wraps below its label + % */
.mapsel-sl{flex:1 0 100%;margin:4px 0 0;-webkit-appearance:none;appearance:none;height:22px;background:transparent;cursor:pointer}
.mapsel-sl::-webkit-slider-runnable-track{height:6px;border-radius:4px;background:var(--line)}
.mapsel-sl::-moz-range-track{height:6px;border-radius:4px;background:var(--line)}
.mapsel-sl::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;margin-top:-7px;border-radius:50%;background:var(--accent);border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.mapsel-sl::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--accent);border:2px solid #fff}
