/* The Great Britain map (set GBMAP; made from design/gbmap/ by design/gbmap/build/make_package.py, so change the study, not this file).
   Every rule is under .gbcard. The map's colours are the site's tokens, redefined for dark mode; the 1963 look is the same in both. */
.gbcard {
  --map-bg: var(--surface); --map-fg: var(--fg); --map-muted: var(--muted); --line: var(--rule); --acc: var(--fg); --card: var(--surface);
  --road: #C4BFB4; --road-fg: #8A857A; --sea: #E9F0F3; --land: #FBFAF7; --coast: #B9C7CE;
  --page-bg: var(--bg); --page-fg: var(--fg); --page-muted: var(--muted);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard { --road: #3A3D44; --road-fg: #8C9099; --sea: #0B1418; --land: #15181C; --coast: #2E4350; } }
:root[data-theme="dark"] .gbcard { --road: #3A3D44; --road-fg: #8C9099; --sea: #0B1418; --land: #15181C; --coast: #2E4350; }
.gbcard { background: var(--map-bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 10px; position: relative; margin-top: 14px; font-family: var(--font); color: var(--map-fg); }
/* the London | Great Britain switch at the top of /maps/ and of /maps/great-britain/: two links, styled as the View buttons */
/* a pale colour on the light land gets a thin keyline; on a dark page every route and key swatch is its lifted colour (--cd, from the study's contrast.py: 3:1 or better on the dark land and sea) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gbcard .geo .ln polyline, :root:not([data-theme="light"]) .gbcard .geo .lnm path, :root:not([data-theme="light"]) .gbcard .zloc polyline { stroke: var(--cd, var(--c)); }
  :root:not([data-theme="light"]) .gbcard .legend i { background: var(--cd, var(--c)); }
  :root:not([data-theme="light"]) .gbcard .geo .cas polyline.kl, :root:not([data-theme="light"]) .gbcard .geo .casm path.kl { stroke: var(--land); stroke-width: calc(3.2px * var(--dk, 1)); }
}
:root[data-theme="dark"] .gbcard .geo .ln polyline, :root[data-theme="dark"] .gbcard .geo .lnm path, :root[data-theme="dark"] .gbcard .zloc polyline { stroke: var(--cd, var(--c)); }
:root[data-theme="dark"] .gbcard .legend i { background: var(--cd, var(--c)); }
:root[data-theme="dark"] .gbcard .geo .cas polyline.kl, :root[data-theme="dark"] .gbcard .geo .casm path.kl { stroke: var(--land); stroke-width: calc(3.2px * var(--dk, 1)); }
/* Set MPT2 (Kyle, 19 November 2026): the page row as tabs on a hairline, so it isn't taken for the map's controls */
.map-switch { display: flex; gap: 24px; flex-wrap: wrap; margin: 6px 0 4px; padding: 0; border-bottom: 1px solid var(--rule); }
.map-switch a { font: 600 .95rem var(--font); padding: 6px 0 8px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.map-switch a:hover { color: var(--fg); }
.map-switch a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--fg); }
.map-switch a:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.gbcard .seg { display: flex; gap: 4px; flex-wrap: wrap; }
.gbcard .seg button { font: 600 .8rem var(--font); padding: 3px 12px; border-radius: 99px; border: 1.5px solid var(--map-fg); background: var(--map-bg); color: var(--map-fg); cursor: pointer; }
.gbcard .seg button[aria-pressed="true"] { background: var(--map-fg); color: var(--map-bg); }
.gbcard .seg button:disabled { opacity: .55; cursor: not-allowed; border-style: dashed; }
.gbcard .seg button:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.gbcard { background: var(--map-bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 10px; position: relative; margin-top: 14px; }
.gbcard .mapctl { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.gbcard .mapctl .lab { font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; font-stretch: 75%; color: var(--map-muted); }
.gbcard .zwrap { position: relative; overflow: hidden; border-radius: 8px; background: var(--sea); width: 100%; aspect-ratio: 846 / 1330; max-height: calc(100svh - 170px); min-height: 300px; }
.gbcard .zwrap:has(svg.geo:focus-visible) { outline: 3px solid var(--map-fg); outline-offset: -3px; }
.gbcard[data-style="b63"] .zwrap { background: var(--map-bg); }
.gbcard svg.geo { position: absolute; will-change: transform; transform-origin: 0 0; display: block; max-width: none; font-family: var(--font); background: transparent; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gbcard svg.geo.zoomed { touch-action: none; cursor: grab; }
.gbcard svg.geo.dragging { cursor: grabbing; }
.gbcard .geo .land-o { fill: var(--land); stroke: var(--coast); stroke-width: calc(.8px * var(--k, 1)); stroke-linejoin: round; }
.gbcard .geo .coast { fill: var(--land); stroke: var(--coast); stroke-width: calc(.8px * var(--k, 1)); stroke-linejoin: round; }
.gbcard .geo .halo, .gbcard .geo .paper { display: none; }
.gbcard .geo .ln63, .gbcard .geo .lb63, .gbcard .geo .tb63 { display: none; }
.gbcard .geo .cas polyline { fill: none; stroke: var(--land); stroke-width: calc(3.2px * var(--dk, 1)); stroke-linejoin: round; stroke-linecap: round; }
.gbcard .geo .ln polyline { fill: none; stroke: var(--c); stroke-width: calc(1.6px * var(--dk, 1)); stroke-linejoin: round; stroke-linecap: round; }
/* UMAP stage 2g (Kyle, 19 Nov): each operator's routes as one path (.lnm) and its casings as one (.casm), so routes sharing
   track are smoothed once, not stacked into a stepped edge; the routes' own polylines are kept, unseen, for the tips and picking */
.gbcard .geo .ln polyline, .gbcard .geo .cas polyline { opacity: 0 !important; }
.gbcard .geo .casm path { fill: none; stroke: var(--land); stroke-width: calc(3.2px * var(--dk, 1)); stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.gbcard .geo .casm path.kl { stroke: var(--map-muted); stroke-width: calc(3.5px * var(--dk, 1)); }
.gbcard .geo .lnm path { fill: none; stroke: var(--c); stroke-width: calc(1.6px * var(--dk, 1)); stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.gbcard.picked .geo .lnm path.dim { opacity: .14; }
.gbcard.picked .geo .casm path.dim { opacity: 0; }
.gbcard[data-style="b63"] .geo .lnm, .gbcard[data-style="b63"] .geo .casm { display: none; }
.gbcard .geo .lnm, .gbcard .geo .casm { transition: opacity .35s ease; }
.gbcard .geo:not(.ready) .lnm, .gbcard .geo:not(.ready) .casm { opacity: 0; }
/* UMAP stage 2b: London's TfL lines, stations and Thames inside the GB map, close in (railmap.js london()) */
.gbcard .geo .tfl .tcas polyline { fill: none; stroke: var(--land); stroke-width: calc(3.8px * var(--dk, 1)); stroke-linejoin: round; stroke-linecap: round; }
.gbcard .geo .tfl .tcas polyline[data-kl] { stroke: var(--map-muted); }
.gbcard .geo .tfl .tln polyline { fill: none; stroke: var(--c); stroke-width: calc(2.2px * var(--dk, 1)); stroke-linejoin: round; stroke-linecap: round; }
.gbcard .geo .tfl .tst circle { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: calc(.8px * var(--dk, 1)); }
/* a split station (Kyle chose A, 20 Nov 2026): its other rings, and the short links joining them, a band outlined as the rings are */
.gbcard .geo .tfl .tsx circle { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: calc(.8px * var(--dk, 1)); pointer-events: none; }
/* SPX (Kyle 21 Nov 2026, option I): a capsule (outline and fill as a ring's; its width set per zoom by railmap.js), the dotted
   walking link, the invisible per-platform targets (tsxtip's wider targets copy them) and a capsule's hidden own ring */
.gbcard .geo .tfl .tsx line { pointer-events: none; stroke-linecap: round; }
.gbcard .geo .tfl .tsx line.o { stroke: var(--map-fg); stroke-width: calc(6px * var(--dk, 1)); }
.gbcard .geo .tfl .tsx line.i { stroke: var(--map-bg); stroke-width: calc(4.4px * var(--dk, 1)); }
.gbcard .geo .tfl .tsx line.wk { stroke: var(--map-fg); stroke-width: calc(1.1px * var(--dk, 1)); stroke-dasharray: calc(1.6px * var(--dk, 1)) calc(1.6px * var(--dk, 1)); stroke-linecap: butt; }
.gbcard .geo .tfl .tsx circle.tgt { fill: none; stroke: none; }
.gbcard .geo .tfl .tst circle.tsxown { fill: transparent; stroke: none; }
.gbcard .geo .triver polyline { fill: none; stroke: var(--sea); stroke-linecap: round; stroke-linejoin: round; }
.gbcard[data-style="b63"] .geo .tfl, .gbcard[data-style="b63"] .geo .triver, .gbcard .geo.no-thames .triver { display: none; }
/* UMAP stage 2b: the coast, Thames and motorways from OS Open Zoomstack closer than 400 m a pixel (railmap.js basemap()), in
   place of the page's own, which bt-on hides. Land: each piece's outline is the coast; Zoomstack's straight cuts between
   pieces (.c) are painted over in the land's colour, so only the real coast shows */
/* UMAP performance study: not hidden but clipped away where the tiles draw (railmap.js ownClip), so past the squares fetched
   the page's own coarser ground shows, not the sea, until the map settles and fetches them */
.gbcard .geo.bt-on .land .coast, .gbcard .geo.bt-on .water, .gbcard .geo.bt-on .mway path { clip-path: url(#bt-out); }
.gbcard .geo .bt-land .f, .gbcard .geo .bt-thames .f { stroke: none; }
/* set MFD (Kyle, 19 Nov 2026, MFD4): England-Scotland and England-Wales (OS Open Zoomstack), faint and dashed so they read as
   neither coast, road nor route; the page's own (band A) and the tiles' (bands B to D); under the routes and stations */
.gbcard .geo .brd path, .gbcard .geo .bt-borders .l { fill: none; stroke: var(--map-muted); stroke-opacity: .6; stroke-width: calc(.75px * var(--k, 1));
  stroke-dasharray: calc(3.5px * var(--k, 1)) calc(2.5px * var(--k, 1)); stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.gbcard .geo.bt-on .brd { clip-path: url(#bt-out); }   /* the page's own outside the tiled squares (the performance package) */
.gbcard[data-style="b63"] .geo .brd, .gbcard[data-style="b63"] .geo .bt-borders, .gbcard .geo.no-borders [data-layer="borders"] { display: none; }
.gbcard .geo .bt-land .f { fill: var(--land); }
.gbcard .geo .bt-land .o { fill: none; stroke: var(--coast); stroke-width: calc(.8px * var(--k, 1)); stroke-linejoin: round; stroke-linecap: round; }   /* the coast: the pieces' outline less the cuts and the tile's square */
/* UMAP stage 2b (Kyle, 18 Nov): the motorways' numbers placed by the labeller at a fixed size (.mws), in place of .mwl */
.gbcard .geo .mway .mwl, .gbcard .geo.zoomed .mway .mwl { display: none; }
.gbcard .geo .lbz .mws rect { fill: var(--road-fg); stroke: none; }
.gbcard .geo .lbz .mws text { fill: var(--road-fg); stroke: var(--map-bg); stroke-width: calc(3px * var(--dk, 1)); stroke-linejoin: round; paint-order: stroke; font-weight: 600; font-stretch: 85%; }   /* UMAP 2e: plain grey with a halo, no box */
.gbcard .geo .bt-thames .f { fill: var(--sea); }
.gbcard .geo .bt-motorways .l { fill: none; stroke: color-mix(in srgb, var(--road) 20%, var(--road-fg)); stroke-width: calc(1.7px * var(--k, 1)); stroke-linejoin: round; stroke-linecap: round; }
.gbcard[data-style="b63"] .geo .bt-land, .gbcard[data-style="b63"] .geo .bt-thames, .gbcard[data-style="b63"] .geo .bt-motorways,
.gbcard[data-style="b63"] .geo .bt-builtup, .gbcard[data-style="b63"] .geo .bt-water, .gbcard[data-style="b63"] .geo .bt-parks, .gbcard[data-style="b63"] .geo .bt-rivers { display: none; }
/* UMAPD stage 3 (Kyle, 19 Nov 2026): built-up areas in a light warm grey at every zoom, countryside plain, parks green on top, lakes
   in the sea's colour, rivers pale; the places' names (railmap.js labels) quieter than the station names. From OS Open Zoomstack. */
.gbcard { --bt-urban: #E7E1D5; --bt-park: #CDE0BF; --bt-river: #C9DAE2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard { --bt-urban: #2E2C26; --bt-park: #274030; --bt-river: #243F4D; } }
:root[data-theme="dark"] .gbcard { --bt-urban: #2E2C26; --bt-park: #274030; --bt-river: #243F4D; }
.gbcard .geo .bt-builtup .f { fill: var(--bt-urban); stroke: none; }
.gbcard .geo .bt-water .f { fill: var(--sea); stroke: none; }
.gbcard .geo .bt-parks .f { fill: var(--bt-park); stroke: none; }
.gbcard .geo .bt-rivers .l { fill: none; stroke: var(--bt-river); stroke-width: calc(1px * var(--k, 1)); stroke-linejoin: round; stroke-linecap: round; }
/* UMAPD stage 4 (Kyle, UMAPD5, 19 Nov 2026): the roads from OS Open Zoomstack, each class quieter than the railway: local streets
   faintest, then B roads, A roads, and the main A roads (primary); the motorways (stage 2b) stay the strongest. Widths are px at
   the map's zoom as the motorways' are. The 1963 look hides them. */
.gbcard { --bt-road-l: #DDD7CA; --bt-road-b: #D6D0C2; --bt-road-a: #CEC8BA; --bt-road-p: #C4BEAF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard { --bt-road-l: #3A382F; --bt-road-b: #413E34; --bt-road-a: #4A463A; --bt-road-p: #565141; } }
:root[data-theme="dark"] .gbcard { --bt-road-l: #3A382F; --bt-road-b: #413E34; --bt-road-a: #4A463A; --bt-road-p: #565141; }
.gbcard .geo .bt-local .l, .gbcard .geo .bt-broads .l, .gbcard .geo .bt-aroads .l, .gbcard .geo .bt-primary .l { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.gbcard .geo .bt-local .l { stroke: var(--bt-road-l); stroke-width: calc(1px * var(--k, 1)); }
.gbcard .geo .bt-broads .l { stroke: var(--bt-road-b); stroke-width: calc(1.3px * var(--k, 1)); }
.gbcard .geo .bt-aroads .l { stroke: var(--bt-road-a); stroke-width: calc(1.6px * var(--k, 1)); }
.gbcard .geo .bt-primary .l { stroke: var(--bt-road-p); stroke-width: calc(1.9px * var(--k, 1)); }
.gbcard[data-style="b63"] .geo .bt-local, .gbcard[data-style="b63"] .geo .bt-broads, .gbcard[data-style="b63"] .geo .bt-aroads, .gbcard[data-style="b63"] .geo .bt-primary { display: none; }
.gbcard .geo .lbz .pl { fill: var(--map-muted); font-stretch: 80%; font-weight: 500; paint-order: stroke; stroke: var(--land); stroke-linejoin: round; pointer-events: none; }
.gbcard .geo .lbz .pl.t0, .gbcard .geo .lbz .pl.t1, .gbcard .geo .lbz .pl.t2 { fill: var(--map-fg); font-weight: 650; }
/* UMAP stage 2b (Kyle, option 3): 'Zoom out for this area', top left in the frame, clear of the buttons, locator and scale */
.gbcard .znote { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 5px 6px 5px 10px; background: var(--map-bg); color: var(--map-fg); border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.gbcard .znote[hidden] { display: none; }
.gbcard .znote button { min-height: 32px; font: 600 .8rem/1.2 var(--font); padding: 5px 10px; border-radius: 6px; border: 1.5px solid var(--map-fg); background: var(--map-bg); color: var(--map-fg); cursor: pointer; }
.gbcard .znote button:focus-visible { outline: 3px solid var(--map-fg); outline-offset: 2px; }
@media (max-width: 480px) { .gbcard .znote span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .gbcard .znote { padding: 4px; } }   /* a phone: the button alone on screen; the words still read */
/* UMAP stage 2b-ii: the London page as the one map: the map beside London's panel on a wide screen, stacked on a narrow one */
.gbcard.onemap-london .om-grid { display: grid; gap: 14px; }
/* the colour modes' colours, as the London map's (site.css .lmap): yes, no, some, not recorded; the decade of a line's oldest trains */
/* Kyle (18 Nov): the Motorways chip in the London page's road colour, as London's M25 was drawn (site.css .lmap --road, 2.4 px) */
.gbcard.onemap-london { --road: #CFC6B4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard.onemap-london { --road: #4A4438; } }
:root[data-theme="dark"] .gbcard.onemap-london { --road: #4A4438; }
.gbcard.onemap-london .geo .mway path, .gbcard.onemap-london .geo .bt-motorways .l { stroke: var(--road); stroke-width: calc(.95px * var(--km, 1)); }   /* thinner zoomed out, as the GB page (Kyle, 19 Nov) */
.gbcard.onemap-london { --air-yes: #0F96D0; --air-no: #D9261C; --air-some: #878D97;
  --t-yes: #1F6FB8; --t-no: #D2601A; --t-some: #8E6BBF; --t-unknown: #B9B6AD;
  --a-1960s: #6E1423; --a-1970s: #A51C30; --a-1980s: #C9472F; --a-1990s: #E07B39; --a-2000s: #4C9BD6; --a-2010s: #1B3F8B; --a-2020s: #5B3FA6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard.onemap-london { --air-yes: #7FD8FF; --air-no: #FF5A3C; --air-some: #A7ADB8;
  --t-yes: #5AA9E6; --t-no: #F08A4B; --t-some: #B79CE0; --t-unknown: #4A4D55;
  --a-1960s: #E8A0A8; --a-1970s: #F0717F; --a-1980s: #F28B6B; --a-1990s: #F4A259; --a-2000s: #7CC0F2; --a-2010s: #A9B8FF; --a-2020s: #C9B2FF; } }
:root[data-theme="dark"] .gbcard.onemap-london { --air-yes: #7FD8FF; --air-no: #FF5A3C; --air-some: #A7ADB8;
  --t-yes: #5AA9E6; --t-no: #F08A4B; --t-some: #B79CE0; --t-unknown: #4A4D55;
  --a-1960s: #E8A0A8; --a-1970s: #F0717F; --a-1980s: #F28B6B; --a-1990s: #F4A259; --a-2000s: #7CC0F2; --a-2010s: #A9B8FF; --a-2020s: #C9B2FF; }
@media (min-width: 1000px) { .gbcard.onemap-london .om-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.gbcard .geo .lparks path { fill: var(--park); stroke: var(--park-line); stroke-width: .8px; vector-effect: non-scaling-stroke; }
.gbcard .geo.no-parks [data-layer="parks"] { display: none; }
/* the Ordnance Survey layers' switches (Kyle, 19 Nov 2026: "a toggle to turn these on and off"): UMAPD stage 3's and 4's groups */
.gbcard .geo.no-builtup [data-layer="builtup"], .gbcard .geo.no-bparks [data-layer="bparks"], .gbcard .geo.no-water [data-layer="lakes"],
.gbcard .geo.no-water [data-layer="rivers"], .gbcard .geo.no-roads [data-layer="roadl"], .gbcard .geo.no-roads [data-layer="roadb"],
.gbcard .geo.no-roads [data-layer="roada"], .gbcard .geo.no-roads [data-layer="roadp"] { display: none; }
.gbcard[data-show="ug"] .geo .tfl .sec-lr { display: none; }
.gbcard[data-pick] .geo .tfl .tln polyline, .gbcard[data-pick] .geo .tfl .tcas polyline { opacity: .15; }   /* a keyline fades with its line */
.gbcard.onemap-london[data-mode="air"] .lmap-th[data-th="air"], .gbcard.onemap-london[data-mode="walk"] .lmap-th[data-th="walk"], .gbcard.onemap-london[data-mode="age"] .lmap-th[data-th="age"] { display: flex; }
.gbcard .geo.lt-on .st circle.twin { display: none; }   /* a station both maps draw: London's dot only, where London's layer shows */
.gbcard.onemap-london .geo.no-routes .st, .gbcard.onemap-london .legend[hidden] { display: none; }   /* National Rail off: no GB dots, nor its operators' key */
@media (max-width: 700px) { .gbcard div.zloc { width: 72px; padding: 2px; } }   /* Kyle (18 Nov): the locator smaller on phones, both map pages */
.gbcard.onemap-london .readout { display: none; }   /* the London page: London's readout, in its panel, says it */
.gbcard .geo .tfl .tst circle { cursor: pointer; }
.gbcard .geo .tfl .tst circle.on { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: calc(1.6px * var(--dk, 1)); transform-box: fill-box; transform-origin: center; transform: scale(2.2); }
.gbcard .geo .tfl .tln polyline.unk { stroke-dasharray: calc(5px * var(--dk, 1)) calc(4px * var(--dk, 1)); }
.gbcard .geo .st circle { fill: var(--map-fg); stroke: var(--map-bg); stroke-width: calc(.7px * var(--dk, 1)); cursor: pointer; }
.gbcard .geo .st circle.ix { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: calc(.9px * var(--dk, 1)); }
.gbcard .geo .st circle[data-t] { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: calc(1.3px * var(--dk, 1)); }
.gbcard .geo.lo .st circle.s:not(.on):not(.sti0):not(.sti1), .gbcard .geo.lo .st circle.ix:not(.hub):not(.on):not(.sti0):not(.sti1) { display: none; }   /* set STI: the busiest two tiers keep their marks */   /* a station selected from the search stays shown when zoomed out */
.gbcard .geo .st circle:hover { fill: var(--map-fg); stroke: var(--map-bg); }
/* the selected station (a click, or the station search: Kyle, 18 November 2026, "I can't see St Albans City highlighted"):
   a ring twice the dot's size, so even an ordinary stop stands out among its neighbours */
.gbcard .geo .st circle.on:not(.hit) { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: calc(1.6px * var(--dk, 1)); transform-box: fill-box; transform-origin: center; transform: scale(2.2); }
.gbcard .geo .st circle.p { display: none; }
.gbcard .geo .lbz text { font-weight: 650; font-stretch: 80%; fill: var(--map-fg); paint-order: stroke; stroke: var(--land); stroke-linejoin: round; pointer-events: none; }
.gbcard .geo .note text { font-size: 6px; font-weight: 600; font-stretch: 80%; fill: var(--map-muted); paint-order: stroke; stroke: var(--land); stroke-width: 2px; stroke-linejoin: round; pointer-events: none; }
.gbcard .geo .mway path { fill: none; stroke: color-mix(in srgb, var(--road) 55%, var(--road-fg)); stroke-width: calc(1.7px * var(--k, 1)); stroke-linejoin: round; stroke-linecap: round; }
/* UMAP stage 2e (Kyle, 19 Nov: 'too prominent'): thinner and paler zoomed out, rising gently with zoom (railmap.js sets --km
   and --mo): 0.95 px at 45% over the whole of Britain, today's 1.7 px at full strength by about 20x; always under the routes */
.gbcard .geo .mway path, .gbcard .geo .bt-motorways .l { stroke-width: calc(.95px * var(--km, 1)); opacity: var(--mo, 1); }
.gbcard .geo .mwl { display: none; }
.gbcard .geo.zoomed .mwl { display: inline; }
.gbcard .geo .mwl rect { fill: var(--road-fg); }
.gbcard .geo .mwl text { fill: var(--map-bg); font-size: 7px; font-weight: 700; font-stretch: 80%; }
.gbcard .geo.no-mway [data-layer="mway"], .gbcard .geo.no-thames [data-layer="thames"], .gbcard .geo.no-st [data-layer="st"], .gbcard .geo.no-lb [data-layer="lb"], .gbcard .geo.no-routes [data-layer="routes"], .gbcard .geo.no-electric [data-layer="electric"], .gbcard .geo.no-metro [data-layer="metro"] { display: none; }
.gbcard .geo .water .sea-est, .gbcard .geo .water .river { fill: var(--sea); stroke: none; }
.gbcard .geo .water .land-est { fill: var(--land); stroke: none; }
.gbcard .geo .water .coast-est { fill: none; stroke: var(--coast); stroke-width: calc(.8px * var(--k, 1)); stroke-linejoin: round; }
.gbcard[data-style="b63"] .geo .water { display: none; }
.gbcard .geo.zooming .lbz { visibility: hidden; }
.gbcard .geo .cas, .gbcard .geo .ln, .gbcard .geo .ln63, .gbcard .geo .st, .gbcard .geo .lb63, .gbcard .geo .note { transition: opacity .35s ease; }
.gbcard .geo:not(.ready) .cas, .gbcard .geo:not(.ready) .ln, .gbcard .geo:not(.ready) .ln63, .gbcard .geo:not(.ready) .st, .gbcard .geo:not(.ready) .lb63, .gbcard .geo:not(.ready) .note { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .geo .cas, .geo .ln, .geo .ln63, .geo .st, .geo .lb63, .geo .note, .geo .lnm, .geo .casm { transition: none; } }
.gbcard .geo .cas polyline.kl { stroke: var(--map-muted); stroke-width: calc(3.5px * var(--dk, 1)); }
.gbcard .legend i.kl { box-shadow: 0 0 0 1px var(--map-muted); }
.gbcard .geo .ovl { pointer-events: none; }
.gbcard .geo .ovl polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: calc(3.4px * var(--k, 1)); }
.gbcard .geo .ovl polyline.u { stroke: var(--map-bg); stroke-width: calc(5px * var(--k, 1)); }
.gbcard[data-style="b63"] .geo .land-o, .gbcard[data-style="b63"] .geo .coast, .gbcard[data-style="b63"] .geo .cas, .gbcard[data-style="b63"] .geo .ln, .gbcard[data-style="b63"] .geo .st, .gbcard[data-style="b63"] .geo .lbz, .gbcard[data-style="b63"] .geo .note { display: none; }
.gbcard[data-style="b63"] .geo .halo { display: inline; fill: none; stroke: url(#hatch63); stroke-width: calc(34px * var(--k, 1)); stroke-linejoin: round; }
.gbcard[data-style="b63"] .geo .paper { display: inline; fill: var(--map-bg); stroke: none; }
.gbcard[data-style="b63"] .geo .ln63, .gbcard[data-style="b63"] .geo .lb63, .gbcard[data-style="b63"] .geo .tb63 { display: inline; }
.gbcard .geo .h { fill: var(--map-fg); opacity: .75; }
.gbcard .geo .ln63 path { fill: none; stroke: var(--map-fg); stroke-linecap: round; stroke-width: calc(var(--w) * .55px * var(--dk, 1)); }
.gbcard .geo .ln63 path.d1 { stroke-dasharray: calc(.06px * var(--dk, 1)) calc(1.4px * var(--dk, 1)); }
.gbcard .geo .ln63 path.d2 { stroke-dasharray: calc(2.2px * var(--dk, 1)) calc(1.3px * var(--dk, 1)); }
.gbcard .geo .lb63 rect { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: .6; }
.gbcard .geo .lb63 .big rect { stroke-width: 1.1; }
.gbcard .geo .lb63 text { font-size: 6.4px; font-weight: 700; font-stretch: 70%; letter-spacing: .03em; fill: var(--map-fg); }
.gbcard .geo .lb63 .big text { font-size: 8.2px; }
.gbcard .geo .tb63 text { fill: var(--map-fg); font-stretch: 68%; }
/* the 1963 key at a fixed screen size (Kyle, 19 Nov 2026): one key unit is 1.45 screen px (railmap.js chrome()), so the title is
   about 15.6 px, the key 11 px and the notes 10 px */
.gbcard .geo .tb63 .t1 { font-size: 10.8px; font-weight: 800; letter-spacing: .04em; }
.gbcard .geo .tb63 .k { font-size: 7.6px; font-weight: 600; }
.gbcard .geo .tb63 .k.sm { font-size: 7px; font-weight: 500; }
.gbcard .geo .tb63 .sc { fill: none; stroke: var(--map-fg); stroke-width: .7; }
/* the key's lines as the map draws the weights (.ln63: 0.55 screen px a unit of weight, the same dashes), in key units of 1.45 px */
.gbcard .geo .tb63 line { stroke: var(--map-fg); stroke-linecap: butt; stroke-width: calc(var(--w) * .3793px); }
.gbcard .geo .tb63 line.d1 { stroke-linecap: round; stroke-dasharray: .0414px .9655px; }
.gbcard .geo .tb63 line.d2 { stroke-dasharray: 1.5172px .8966px; }
/* on a phone the key at a legible size would cover Scotland and the north of England: left off there until the 1963 look has
   a Key panel (proposed: as full screen's, under the zoom buttons); it was about 5 px a letter there, unreadable, before */
@media (max-width: 599.98px) { .gbcard[data-style="b63"] .geo .tb63 { display: none; } }
/* the phone's Key panel's copy of the key (#gb-key63, Stations and maps' panel): its lines in screen px as the map's weights */
.key63 svg line { stroke: currentColor; stroke-linecap: butt; stroke-width: calc(var(--w) * .55px); }
.key63 svg line.d1 { stroke-linecap: round; stroke-dasharray: .06px 1.4px; }
.key63 svg line.d2 { stroke-dasharray: 2.2px 1.3px; }
/* (the 1963 key's 50-mile bar is gone, Kyle 19 Nov 2026: the key is at a fixed screen size) */
.gbcard[data-style="b63"] .geo .mway path { stroke: var(--map-muted); opacity: .55; stroke-width: calc(1.1px * var(--k, 1)); }
/* (the map's own scale shows in the 1963 look at every zoom now, in place of the key's bar) */
.gbcard[data-style="b63"] .legend, .gbcard[data-style="b63"] .readout { display: none; }
.gbcard .zbtns { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; }
.gbcard .zbtns button { min-width: 36px; height: 36px; padding: 0 8px; font: 700 1.15rem/1 var(--font); border-radius: 8px; border: 1.5px solid var(--map-fg); background: var(--map-bg); color: var(--map-fg); cursor: pointer; }
.gbcard .zbtns button.rs { font-size: .74rem; }
.gbcard .zbtns button:focus-visible { outline: 3px solid var(--map-fg); outline-offset: 2px; }
.gbcard .zbtns button[aria-disabled="true"] { opacity: .35; cursor: default; }
.gbcard .zloc { position: absolute; left: 8px; bottom: 8px; width: 120px; background: var(--map-bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px; }
.gbcard .zloc[hidden] { display: none; }
.gbcard .zloc svg { display: block; width: 100%; height: auto; cursor: pointer; touch-action: none; }
.gbcard[data-style="b63"] .zloc polyline { stroke: var(--map-fg); opacity: .5; }
.gbcard .zloc polyline { fill: none; stroke: var(--c); stroke-width: 1; opacity: .38; vector-effect: non-scaling-stroke; }   /* set MCL (MCL4): paler, so the frame reads */
.gbcard .zloc path { fill: var(--land); stroke: var(--coast); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gbcard .zloc rect { fill: none; stroke: var(--map-fg); stroke-width: 2; vector-effect: non-scaling-stroke; }   /* set MCL (MCL4): the frame in the ink, on a halo */
.gbcard .zloc rect.zloc-halo { stroke: var(--map-bg); stroke-width: 5; }
.gbcard .zloc .zloc-x path { fill: none; stroke: var(--map-fg); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.gbcard .zloc .zloc-x path.h { stroke: var(--map-bg); stroke-width: 5; }
.gbcard .zloc.dragging svg { cursor: grabbing; }
.gbcard .zbox { position: absolute; border: 2px solid var(--map-fg); background: color-mix(in srgb, var(--map-fg) 12%, transparent); pointer-events: none; z-index: 2; }
.gbcard .zbtns button[data-z="fs"] { font-size: 1rem; }
.gbcard:fullscreen { overflow: auto; border-radius: 0; padding: 14px; }
.gbcard .zhint { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); background: var(--map-fg); color: var(--map-bg); padding: 7px 13px; border-radius: 8px; font-size: .88rem; font-weight: 600; pointer-events: none; }
.gbcard .zhint[hidden] { display: none; }
.gbcard .zscale { position: absolute; right: 10px; bottom: 8px; display: flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 600; color: var(--map-muted);
    background: color-mix(in srgb, var(--map-bg) 85%, transparent); padding: 2px 6px; border-radius: 4px; pointer-events: none; }
.gbcard .zscale i { display: block; height: 5px; border: 1.3px solid var(--map-fg); border-top: 0; }
.gbcard .readout { min-height: 1.4em; font-size: .86rem; color: var(--map-muted); margin: 6px 2px 0; }
.gbcard .readout b { color: var(--map-fg); }
.gbcard .legend { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 8px 0 2px; padding: 0; font-size: .84rem; color: var(--map-fg); }
.gbcard .legend li { display: flex; align-items: center; gap: 6px; }
.gbcard .legend i { display: inline-block; width: 22px; height: 5px; border-radius: 3px; background: var(--c); }
.gbcard .mapnote { font-size: .8rem; color: var(--map-muted); margin: 8px 2px 0; }
.gbcard .seg a.pill { font: 600 .8rem var(--font); padding: 3px 12px; border-radius: 99px; border: 1.5px solid var(--map-fg); background: var(--map-bg); color: var(--map-fg); text-decoration: none; }
.gbcard .seg a.pill[aria-current="page"] { background: var(--map-fg); color: var(--map-bg); }

/* MTT2: map tips on the Great Britain map (set MTT2, Kyle, 10 November 2026). maptip.js puts an invisible copy behind each
   route and station dot, its stroke a fixed size on screen at any zoom (--dk, one screen pixel in map units, set by railmap.js at each redraw); a tip or a
   click on one is taken as on the original. Hidden with the routes in the 1963 look, and with the stops when zoomed out. */
.gbcard .geo .hits polyline.hit { fill: none; stroke: transparent; stroke-width: calc(var(--dk, 2) * 14); stroke-linejoin: round; stroke-linecap: round; pointer-events: stroke; cursor: pointer; }
.gbcard .geo .st circle.hit, .gbcard .geo .st circle.hit:hover, .gbcard .geo .st circle.hit.on { fill: transparent; stroke: transparent; stroke-width: calc(var(--dk, 2) * 16); pointer-events: all; cursor: pointer; }
.gbcard[data-style="b63"] .geo .hits { display: none; }
.gbcard .geo.zooming .hits, .gbcard .geo.zooming .st circle.hit { pointer-events: none; }

/* ESN: the Eurostar note as an arrow and a label (Kyle, 17 November 2026, option 1; design/maps/esn/) */
.gbcard .geo .es-arrow { fill: none; stroke: var(--c); stroke-width: calc(1.6px * var(--dk, 1)); stroke-dasharray: calc(5px * var(--dk, 1)) calc(3.5px * var(--dk, 1)); pointer-events: none; }
.gbcard .geo .es-head { fill: var(--c); stroke: none; }
.gbcard .geo .lbz text.es-lab { fill: var(--c); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gbcard .geo .es-arrow { stroke: var(--cd, var(--c)); }
  :root:not([data-theme="light"]) .gbcard .geo .es-head, :root:not([data-theme="light"]) .gbcard .geo .lbz text.es-lab { fill: var(--cd, var(--c)); }
}
:root[data-theme="dark"] .gbcard .geo .es-arrow { stroke: var(--cd, var(--c)); }
:root[data-theme="dark"] .gbcard .geo .es-head, :root[data-theme="dark"] .gbcard .geo .lbz text.es-lab { fill: var(--cd, var(--c)); }
/* London's line targets inside the GB map (Stations and maps, 19 Nov 2026; maptip.js): an invisible copy of each line, 14 screen px
   wide as on the London map, for its tip and its click */
.gbcard .geo .thits polyline.hit { fill: none; stroke: transparent; stroke-width: calc(var(--dk, 2) * 14); stroke-linejoin: round; stroke-linecap: round; pointer-events: stroke; cursor: pointer; }
.gbcard .geo.zooming .thits { pointer-events: none; }
/* Set MFD, the map pages' first screen and full screen (Kyle, 19 November 2026; Stations and maps; mapfold.js runs it).
   One bar above the map: Look (its two chips on a wide screen), View and Layers (buttons that open a list), the station search. */
.gbcard { padding: 10px 10px 8px; margin-top: 10px; }
.map-search .ms-say:empty { min-height: 0; margin: 0; }   /* set MPT2: an empty status line takes no room (London's 40 px band) */
.gbcard .mfd-bar { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 8px; position: relative; z-index: 6; }
.gbcard .mfd-bar .seg { flex-wrap: nowrap; }
.gbcard .mfd-pop { position: relative; }
.gbcard .mfd-pb { font: 600 .8rem var(--font); padding: 3px 12px; border-radius: 99px; border: 1.5px solid var(--map-fg); background: var(--map-bg); color: var(--map-fg); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 28px; }
.gbcard .mfd-pb::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); }
.gbcard .mfd-pb[aria-expanded="true"] { background: var(--map-fg); color: var(--map-bg); }
.gbcard .mfd-pb:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.gbcard .mfd-panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 8; background: var(--map-bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 6px 22px rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 6px; min-width: 190px; }
.gbcard .mfd-panel[hidden] { display: none; }
.gbcard .mfd-panel .seg { flex-direction: column; align-items: stretch; }
.gbcard .mfd-panel .seg button { text-align: left; border-radius: 8px; }
@media (min-width: 701px) {   /* Look's chips sit in the bar, and any list marked data-wide="open" (London's View; set LNAV) */
  .gbcard .mfd-pop:is([data-k="look"], [data-wide="open"]) > .mfd-pb { display: none; }
  .gbcard .mfd-pop:is([data-k="look"], [data-wide="open"]) .mfd-panel, .gbcard .mfd-pop:is([data-k="look"], [data-wide="open"]) .mfd-panel[hidden] { position: static; display: flex; border: 0; padding: 0; box-shadow: none; min-width: 0; background: none; }
  .gbcard .mfd-pop:is([data-k="look"], [data-wide="open"]) .mfd-panel .seg { flex-direction: row; }
  .gbcard .mfd-pop:is([data-k="look"], [data-wide="open"]) .mfd-panel .seg button { text-align: center; border-radius: 99px; }
}
/* the station search in the bar: its label read aloud, not drawn; the placeholder and a magnifier say what it is */
.gbcard .mfd-bar .map-search { flex: 1 1 240px; max-width: 360px; min-width: 200px; margin: 0 0 0 auto; }
.gbcard .mfd-bar .map-search .lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gbcard .mfd-bar .map-search input { height: 34px; font-size: .9rem; border-radius: 8px; padding: 0 14px 0 34px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23888' stroke-width='1.8'%3E%3Ccircle cx='6.5' cy='6.5' r='4.7'/%3E%3Cpath d='M10 10l4.5 4.5'/%3E%3C/svg%3E") no-repeat 11px 50%; }
.gbcard .mfd-bar .map-search .ms-say { position: absolute; left: 12px; top: 100%; margin: 2px 0 0; z-index: 4; }
.gbcard .mfd-bar .map-search .ms-say:empty { display: none; }
.gbcard .mfd-bar .map-search ul { z-index: 12; }
@media (max-width: 700px) {
  .gbcard { padding: 8px; }
  .gbcard .mfd-bar { gap: 8px; }
  .gbcard .mfd-bar .map-search { order: -1; flex: 1 1 100%; max-width: none; margin: 0; }
  .gbcard .mfd-bar .map-search input { font-size: 16px; }   /* 16 px or more: a phone doesn't zoom the page on focus */
  .gbcard .mfd-pop[data-k="show"] .mfd-panel { left: auto; right: 0; }   /* ELS: the Electrification look's Show panel from its button's right edge, on the screen */
  .gbcard .mfd-bar .map-search .ms-say { position: static; margin: 4px 2px 0; }   /* MSS: the status line in the bar's flow, between the box and the buttons, not over them */
}
/* full screen: a column, the bar then the map to the bottom; the key a panel on the map, the credit one line on it */
.gbcard .mfd-keybtn, .gbcard .mfd-credit { display: none; }
.gbcard:fullscreen { display: flex; flex-direction: column; padding: 10px; overflow: hidden; }   /* nothing scrolls the card in full screen */
.gbcard:fullscreen .zwrap { flex: none; max-height: none; min-height: 0; }   /* the page's cap (100svh - 170px) and its 300 px floor don't apply in full screen: a phone held sideways has about 276 px of room */
.gbcard:fullscreen .mfd-keybtn { display: block; }
.gbcard.onemap-london:fullscreen .mfd-keybtn { display: none; }   /* London's lines are in its panel */
/* the 1963 look on a phone: the Key button opens the 1963 key in a panel on the map (mapfold.js; 20 Nov 2026) */
.gbcard .key63-panel { display: none; position: absolute; right: 58px; top: 8px; z-index: 9; width: max-content; max-width: calc(100% - 74px); max-height: calc(100% - 16px); overflow: auto; box-sizing: border-box; padding: 10px 12px; background: var(--map-bg); color: var(--map-fg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 22px rgba(0, 0, 0, .2); }
.key63 .t { margin: 0 0 6px; font: 800 .8rem/1.25 var(--font); letter-spacing: .04em; }
.key63 ul { list-style: none; margin: 0; padding: 0; }
.key63 li { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: .8rem; font-weight: 600; }
.key63 li svg { flex: none; }
.key63 .n { margin: 6px 0 0; font-size: .72rem; color: var(--map-muted); max-width: 30ch; }
@media (max-width: 599.98px) {
  .gbcard[data-style="b63"] .mfd-keybtn { display: block; }
  .gbcard[data-style="b63"].key-open .key63-panel { display: block; }
  .gbcard[data-style="b63"].key-open .legend { display: none !important; }   /* in full screen too: the 1963 key, not the operators' */
}
.gbcard:fullscreen .readout, .gbcard:fullscreen .mapnote, .gbcard:fullscreen .legend { display: none; }
/* set ELM: in full screen the supply key is a panel on the map, opened by Key, as the operators' key is in the other looks */
.gbcard:fullscreen .elm-keybox { display: none; }
.gbcard:fullscreen.key-open[data-style="elec"] .elm-keybox { display: block; position: absolute; right: 76px; top: 58px; z-index: 9; width: 300px; max-width: calc(100% - 100px); max-height: calc(100% - 90px); overflow: auto; margin: 0; padding: 12px 14px; background: var(--map-bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 22px rgba(0, 0, 0, .2); }
.gbcard:fullscreen .elm-keybox .elm-key { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.gbcard:fullscreen.key-open[data-style="elec"] .legend { display: none !important; }   /* not the operators' key in this look */
.gbcard:fullscreen.key-open .legend:not([hidden]) { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 6px; position: absolute; right: 76px; top: 58px; z-index: 9; width: 250px; max-height: calc(100% - 90px); overflow: auto; margin: 0; padding: 12px 14px; background: var(--map-bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 22px rgba(0, 0, 0, .2); }
.gbcard:fullscreen .mfd-credit { display: block; position: absolute; right: 190px; bottom: 6px; z-index: 3; margin: 0; font-size: .7rem; color: var(--map-muted); background: color-mix(in srgb, var(--map-bg) 85%, transparent); padding: 1px 8px; border-radius: 4px; white-space: nowrap; pointer-events: none; max-width: calc(100% - 420px); overflow: hidden; text-overflow: ellipsis; }
.gbcard.onemap-london:fullscreen .om-grid { min-height: 0; }
.gbcard.onemap-london:fullscreen .lmap-panel { max-height: calc(100vh - 40px); overflow: auto; }   /* the line list scrolls inside, nothing off the screen */
/* the map not there: JavaScript off (a noscript note) or the map failed to load (a message on the map, "Try again") */
.gbcard .mfd-fail { position: absolute; left: 10px; right: 60px; top: 10px; z-index: 10; padding: 14px 16px; border: 1.5px solid var(--map-fg); border-radius: 10px; background: var(--map-bg); color: var(--map-fg); font-size: .95rem; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.gbcard .mfd-fail[hidden] { display: none; }
.gbcard .mfd-fail button { font: 700 .85rem var(--font); padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--map-fg); background: var(--map-fg); color: var(--map-bg); cursor: pointer; }
.gbcard .mfd-fail button:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.gbcard.map-failed .geo { opacity: .35; }
.mfd-nojs { margin: 8px 0; padding: 14px 16px; border: 1.5px solid var(--fg); border-radius: 10px; }

/* Set LKP A (Kyle, 20 November 2026): the London line list in the one map's card. Each row is one button (the line's colour and
   name) that picks the line out, tinted in its own colour while pressed; its page is the small arrow at the right. The Underground
   view drops the London rail rows; the panel's scrollbar is slim, in the theme's rule colour. */
.gbcard[data-show="ug"] .lmap-key .sec-lr { display: none; }
.lmap-panel { scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.lmap-panel::-webkit-scrollbar { width: 8px; }
.lmap-panel::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 8px; }
.lmap-panel::-webkit-scrollbar-track { background: transparent; }
.lmap-panel .lmap-key li:not(.lkey-h) { flex-basis: 100%; display: flex; align-items: center; gap: 2px; margin: 0; }
.lmap-panel .lkey-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; text-align: left; font: inherit; font-size: .88rem; line-height: 1.25; color: var(--fg); background: none; border: 0; border-radius: 6px; padding: 5px 6px; min-height: 30px; cursor: pointer; }
.lmap-panel .lkey-pick i { flex: none; }
.lmap-panel .lkey-pick:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.lmap-panel .lkey-pick[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 18%, var(--surface)); box-shadow: inset 3px 0 0 var(--c); font-weight: 650; }
.lmap-panel .lkey-go { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 1rem; }
.lmap-panel .lkey-go:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); }
.lmap-panel .lkey-pick:focus-visible, .lmap-panel .lkey-go:focus-visible { outline: 3px solid var(--accent); outline-offset: -1px; }
/* Set ELM round 2 (Kyle, 19 Nov 2026): the electrification look. Appended to gbmap.css by apply_elm.py. Widths are in screen pixels
   (--dk is one screen pixel in map units, as the routes' own; railmap.js sets it at each redraw). */
:root { --m-ac: #0098CB; --m-dc: #9B1FC1; --m-dc15: #D40000; --m-none: #5F6368; --elm-grey: #C4C7CD; }
:root[data-theme="dark"] { --m-ac: #1FB5E8; --m-dc: #C77DF0; --m-dc15: #FF5C5C; --m-none: #9AA0A6; --elm-grey: #3F444C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --m-ac: #1FB5E8; --m-dc: #C77DF0; --m-dc15: #FF5C5C; --m-none: #9AA0A6; --elm-grey: #3F444C; } }
/* the operators' routes grey out (Kyle liked that, 17 Nov), the one keyline casing fades with them; London's own lines dim too */
.gbcard[data-style="elec"] .geo .lnm, .gbcard[data-style="elec"] .geo .casm { opacity: .45; }
.gbcard[data-style="elec"] .geo .lnm path { stroke: var(--elm-grey) !important; }
.gbcard[data-style="elec"] .geo .tfl .tcas, .gbcard[data-style="elec"] .geo .tfl .tln { opacity: .35; }
.gbcard[data-style="elec"] .legend { display: none; }
/* the layer (--elw: 0.65 over the whole of Britain, growing to 1 by 6x, as the motorways thin zoomed out): one line per stretch in its supply's colour, no rim; a gap in the page's own colour under each line keeps it clear of the greyed route */
.gbcard .geo .ovl[data-layer="electric"] { display: none; }
.gbcard[data-style="elec"] .geo .ovl[data-layer="electric"] { display: inline; }
.gbcard .geo .ovl .ec, .gbcard .geo .ovl .eh { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gbcard .geo .ovl .eh { stroke: var(--map-bg); stroke-width: calc(5.6px * var(--dk, 1) * var(--elw, 1)); }
.gbcard .geo .ovl .eh.g { stroke-width: calc(3.8px * var(--dk, 1) * var(--elw, 1)); }
.gbcard .geo .ovl .ec { stroke-width: calc(4px * var(--dk, 1) * var(--elw, 1)); }
.gbcard .geo .ovl .ec[data-c="a"] { stroke: var(--m-ac); }
.gbcard .geo .ovl .ec[data-c="d"], .gbcard .geo .ovl .ec[data-c="x"] { stroke: var(--m-dc); }
.gbcard .geo .ovl .ec[data-c="h"] { stroke: var(--m-dc15); }
.gbcard .geo .ovl .ec[data-c="xb"] { stroke: var(--m-ac); stroke-linecap: butt; stroke-dasharray: calc(7px * var(--dk, 1) * var(--elw, 1)) calc(7px * var(--dk, 1) * var(--elw, 1)); }
.gbcard .geo .ovl .ec[data-c="n"], .gbcard .geo .ovl .ec[data-c="u"], .gbcard .geo .ovl .ec[data-c="p"], .gbcard .geo .ovl .ec[data-c="q"] { stroke: var(--m-none); stroke-width: calc(2.4px * var(--dk, 1) * var(--elw, 1)); }
.gbcard .geo .ovl .ec[data-c="u"] { stroke-linecap: butt; stroke-dasharray: calc(5px * var(--dk, 1) * var(--elw, 1)) calc(4px * var(--dk, 1) * var(--elw, 1)); }
/* Wires planned: proposed and under construction dashed in the AC colour on the grey; the rest of the greys dim */
.gbcard .geo .ovl[data-show="plan"] .ec[data-c="p"], .gbcard .geo .ovl[data-show="plan"] .ec[data-c="q"] { stroke: var(--m-ac); stroke-width: calc(3px * var(--dk, 1) * var(--elw, 1)); stroke-linecap: butt; stroke-dasharray: calc(6px * var(--dk, 1) * var(--elw, 1)) calc(5px * var(--dk, 1) * var(--elw, 1)); }
.gbcard .geo .ovl[data-show="plan"] .ec[data-c="n"], .gbcard .geo .ovl[data-show="plan"] .ec[data-c="u"] { opacity: .4; }
/* the tips (maptip.js, MTT2): the layer's slot has no pointer events, its invisible copies do, while the look is on */
.gbcard .geo .ovl .ehit polyline { fill: none; stroke: transparent; stroke-width: calc(var(--dk, 2) * 12); stroke-linejoin: round; stroke-linecap: round; pointer-events: stroke; }
.gbcard .geo.zooming .ovl .ehit { pointer-events: none; }
.gbcard .geo .ovl .ehit[data-show="ac"] polyline:not([data-c="a"]):not([data-c="x"]), .gbcard .geo .ovl .ehit[data-show="dc"] polyline:not([data-c="d"]):not([data-c="x"]),
.gbcard .geo .ovl .ehit[data-show="dc15"] polyline:not([data-c="h"]), .gbcard .geo .ovl .ehit[data-show="none"] polyline:not([data-c="n"]):not([data-c="u"]):not([data-c="p"]):not([data-c="q"]),
.gbcard .geo .ovl .ehit[data-show="plan"] polyline:not([data-c="p"]):not([data-c="q"]) { display: none; }
/* the Show list (a fourth .mfd-pop after Layers, so the bar keeps its height) and the key, only while the look is on */
.gbcard:not([data-style="elec"]) .mfd-pop[data-k="show"], .gbcard:not([data-style="elec"]) .elm-key, .gbcard:not([data-style="elec"]) .elm-credit { display: none; }
.gbcard .elm-key { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 10px 0 0; font-size: .85rem; align-items: center; }
.gbcard .elm-key li { display: inline-flex; align-items: center; gap: 7px; }
.gbcard .elm-key svg { width: 30px; height: 10px; }
.gbcard .elm-credit { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
@media (prefers-reduced-motion: reduce) { .gbcard .geo .ovl .ec { transition: none; } }

/* Set LNAV (Kyle, 20 November 2026: A, with LNAV2-5 as recommended): the London map's controls in the GB page's bar
   (onemap_london._bar). National Rail is a switch of its own, a dot that fills when on. The side panel keeps the colour keys,
   the readout and the line list; it starts level with the map, is as tall as it on a wide screen (mapfold.js) and ends with
   "Copy link to this view". On a phone the search has its own row, then View, Colour, Layers and National Rail on one. */
.gbcard .lnav-nr button { display: inline-flex; align-items: center; gap: 6px; }
.gbcard .lnav-nr button::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; }
.gbcard .lnav-nr button[aria-pressed="true"]::before { background: currentColor; }
.gbcard.onemap-london .lmap-panel > .lmap-th { margin-top: 0; }
.gbcard.onemap-london[data-mode="line"] .lmap-panel .lmap-read { margin-top: 0; padding-top: 0; border-top: 0; }
.gbcard.onemap-london .lmap-panel .map-share { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--rule); }
.gbcard.onemap-london .lmap-panel .map-share:not(:has(button:not([hidden]))) { display: none; }
.gbcard.onemap-london:fullscreen .lmap-panel { position: static; }   /* site.css's sticky top (the masthead's height) pushed it 34 px below the map in full screen */
.gbcard.onemap-london:fullscreen .om-grid { grid-auto-rows: max-content; }   /* a phone in full screen: the grid's fixed height squeezed the readout's row to its 1.5em floor, under the line list */
@media (max-width: 700px) {
  .gbcard.onemap-london .mfd-bar { gap: 8px 6px; }
  .gbcard.onemap-london .mfd-bar > .mfd-pop, .gbcard.onemap-london .mfd-bar > .lnav-nr { flex: none; }
  .gbcard.onemap-london .mfd-pb, .gbcard.onemap-london .lnav-nr button { padding: 3px 9px; gap: 5px; min-height: 28px; }   /* one height in the row */
  .gbcard.onemap-london .lnav-nr { margin-left: auto; }
}

/* set GBP7 (Kyle, 21 November 2026): Posters and wallpapers on More maps, two editions side by side, each a preview and its files */
.poster-grid { display: grid; gap: 18px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); margin: 12px 0 14px; }
.poster-ed { margin: 0; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; }
.poster-ed img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; background: #E9F0F3; }
.poster-ed .poster-tx { font-size: .92rem; color: var(--muted); line-height: 1.45; }
.poster-ed .poster-tx b { display: block; color: var(--fg); font-size: 1.05rem; margin-bottom: 2px; }
.poster-ed .poster-tx { min-width: 0; }
.poster-dl { list-style: none; padding: 0; margin: 8px 0 0; display: block; }
.poster-dl li { display: block; margin: 0 0 5px; }
.poster-dl a { font-weight: 650; color: var(--fg); }
.poster-dl .by { color: var(--muted); font-size: .85rem; }
@media (max-width: 480px) { .poster-ed { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } }

/* Set SPX, tsxtip (Stations and maps, 21 Nov 2026): a split station's other marks (anything in .tsx with data-of, rings or capsules)
   take the pointer and open the station's tip (maptip.js); their wider invisible targets are as the GB dots' hit copies */
.gbcard .geo .tfl .tsx [data-of] { pointer-events: visiblePainted; cursor: pointer; }
.gbcard .geo .xhits [data-of] { fill: transparent; stroke: transparent; stroke-width: calc(var(--dk, 2) * 16); pointer-events: all; cursor: pointer; }
.gbcard .geo.zooming .xhits { pointer-events: none; }

/* set STI (Kyle, 22 November 2026: C): the busiest stations' names heavier, their rings a little bigger and heavier (railmap.js
   stiTier); tap targets (.hit) copy the classes and stay invisible; SPX's capsules keep their own look */
.gbcard .geo .lbz text.sti0 { font-weight: 800; }
.gbcard .geo .lbz text.sti1 { font-weight: 750; }
.gbcard .geo .st circle.sti0:not(.s):not(.hit), .gbcard .geo .tfl .tst circle.sti0 { stroke-width: calc(1.7px * var(--dk, 1)); }
.gbcard .geo .st circle.sti1:not(.s):not(.hit), .gbcard .geo .tfl .tst circle.sti1 { stroke-width: calc(1.3px * var(--dk, 1)); }
.gbcard .geo .st circle.s.sti0:not(.hit):not(:hover), .gbcard .geo .st circle.s.sti1:not(.hit):not(:hover) { fill: var(--map-bg); stroke: var(--map-fg); stroke-width: calc(1.3px * var(--dk, 1)); }

/* Set CLR: the Closed lines look (CLR1, decided 21 Nov 2026), after ELM's. The operators' routes grey out beneath; the former lines
   (the extra-lines set "closed", "look": "closed": shown only in this look by UMAP's engine, apply_look_sets.py) are drawn on top of
   the ground and under the routes, dots and names; each decade has a switch, which hides its class's groups (line, casing, band). */
/* set MCL (MCL1, Kyle 24 Nov 2026): today's railway is one charcoal line a stretch, Electrification's own lines (railmap.js elec()) over a
   gap in the land's colour; the operators' ribbon isn't drawn (its tap targets stay, and a tap names every operator on the stretch:
   maptip.js); London's lines, the metros and the trams in the same ink */
.gbcard { --clr-now: #444C4E; --clr-one: #C8201E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard { --clr-now: #F5F3E8; --clr-one: #F0443A; } }
:root[data-theme="dark"] .gbcard { --clr-now: #F5F3E8; --clr-one: #F0443A; }
.gbcard[data-style="closed"] .geo:not(.clr-now) .lnm, .gbcard[data-style="closed"] .geo:not(.clr-now) .casm { opacity: .45; }   /* no supply data (London's page): today's grey ribbon, as before */
.gbcard[data-style="closed"] .geo:not(.clr-now) .lnm path { stroke: var(--elm-grey) !important; }
.gbcard[data-style="closed"] .geo:not(.clr-now) .tfl .tcas, .gbcard[data-style="closed"] .geo:not(.clr-now) .tfl .tln { opacity: .35; }
.gbcard[data-style="closed"] .geo.clr-now .lnm, .gbcard[data-style="closed"] .geo.clr-now .casm { display: none; }   /* railmap.js elec() sets .clr-now when it draws the charcoal network */
.gbcard[data-style="closed"] .geo.clr-now .ovl[data-layer="electric"] { display: inline; }
.gbcard[data-style="closed"] .geo.clr-now .ovl .ec { stroke: var(--clr-now) !important; stroke-linecap: round; stroke-dasharray: none; stroke-width: calc(1.7px * var(--dk, 1) * var(--elw, 1)); opacity: 1; }
.gbcard[data-style="closed"] .geo.clr-now .ovl .ec[data-c="xb"], .gbcard[data-style="closed"] .geo.clr-now .ovl .ehit { display: none; }
.gbcard[data-style="closed"] .geo.clr-now .ovl .eh { stroke: var(--land); stroke-width: calc(4.2px * var(--dk, 1) * var(--elw, 1)); }
.gbcard[data-style="closed"] .geo.clr-now .tfl .tcas, .gbcard[data-style="closed"] .geo.clr-now .tfl .tln { opacity: 1; }
.gbcard[data-style="closed"] .geo.clr-now .tfl .tln :is(polyline, path) { stroke: var(--clr-now) !important; }
/* MCL2: the roads, the motorways and their names at half strength in this look */
.gbcard[data-style="closed"] .geo :is(.bt-local, .bt-broads, .bt-aroads, .bt-primary, .bt-motorways, .mway) { opacity: .5; }
.gbcard[data-style="closed"] .geo .mws { opacity: .6; }
/* MCL7: the former lines in one colour, red, unless "Colour by when they closed" is on (data-clr-col="dec"; March 1963 to 1969 is
   red then by its own class, data/geo/lines/closed.json); never the casings (-c) or the tap targets (.xlh) */
.gbcard:not([data-clr-col="dec"]) .geo g[class^="bt-x-closed-"]:not([class$="-c"]):not(.xlh) path { stroke: var(--clr-one) !important; }
.gbcard[data-style="closed"] .legend { display: none; }
.gbcard:not([data-style="closed"]) .mfd-pop[data-k="cshow"], .gbcard:not([data-style="closed"]) .clr-keybox { display: none; }
/* the decades list opens leftward from its button's right edge: left-anchored it ran 72 px past a 375 px phone (test build, 23 Nov) */
.gbcard .mfd-pop[data-k="cshow"] .mfd-panel { left: auto; right: 0; }
.gbcard .geo.no-cd0 [class*="bt-x-closed-d0"], .gbcard .geo.no-cd1 [class*="bt-x-closed-d1"], .gbcard .geo.no-cd2 [class*="bt-x-closed-d2"],
.gbcard .geo.no-cd3 [class*="bt-x-closed-d3"], .gbcard .geo.no-cd4 [class*="bt-x-closed-d4"], .gbcard .geo.no-cd5 [class*="bt-x-closed-d5"],
.gbcard .geo.no-cdu [class*="bt-x-closed-undated"] { display: none !important; }
.gbcard .clr-key { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 10px 0 0; font-size: .85rem; align-items: center; }
.gbcard .clr-key li { display: inline-flex; align-items: center; gap: 7px; } .gbcard .clr-key li.t { font-weight: 700; width: 100%; }
.gbcard .clr-key svg { width: 30px; height: 10px; } .gbcard .clr-key .ck { stroke: var(--ck); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard .clr-key .ck { stroke: var(--ckd); } }
:root[data-theme="dark"] .gbcard .clr-key .ck { stroke: var(--ckd); }
.gbcard .clr-credit { font-size: .8rem; color: var(--map-muted); margin: 6px 0 0; }
.gbcard:fullscreen .clr-keybox { display: none; }
/* set MCL (MCL2): in full screen Key opens this look's key, as ELM's (it opened the operators' key: rule 339 outranked 460) */
.gbcard:fullscreen.key-open[data-style="closed"] .clr-keybox { display: block; position: absolute; right: 76px; top: 58px; z-index: 9; width: 300px; max-width: calc(100% - 100px); max-height: calc(100% - 90px); overflow: auto; margin: 0; padding: 12px 14px; background: var(--map-bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 22px rgba(0, 0, 0, .2); }
.gbcard:fullscreen .clr-keybox .clr-key { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.gbcard:fullscreen.key-open[data-style="closed"] .legend { display: none !important; }
/* set MCL (MCL2, MCL7): today's railway in the keys; the one-colour key by default, the decades' key while their colours are on */
.gbcard .clr-key .cn { stroke: var(--clr-now); } .gbcard .clr-key .c1 { stroke: var(--clr-one); }
.gbcard .clr-key li.h { width: 100%; color: var(--map-muted); font-size: .8rem; }
.gbcard:not([data-clr-col="dec"]) .clr-key6, .gbcard[data-clr-col="dec"] .clr-key1 { display: none; }
.gbcard .clr-none { display: none; margin: 6px 0 0; font-size: .85rem; font-weight: 650; }   /* MCL3: every decade hidden (Hide all, or dec=none) */
.gbcard:has(.geo.no-cd0.no-cd1.no-cd2.no-cd3.no-cd4.no-cd5.no-cdu) .clr-none { display: block; }
/* set MCL (MCL5, MCL7): the Closed list says what it is; its colour switch; each decade's switch shows its line (the colours are
   closed.json's classes, the light and the lifted dark; March 1963 to 1969 and the one colour are --clr-one) */
.gbcard .mfd-head { margin: 0 4px 6px; font: 700 .8rem/1.25 var(--font); color: var(--map-fg); }
.gbcard .clr-coltog { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 6px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--map-bg); color: var(--map-fg); font: 600 .8rem var(--font); cursor: pointer; text-align: left; }
.gbcard .clr-coltog::before { content: ""; flex: none; width: 26px; height: 14px; border-radius: 99px; background: var(--line); box-shadow: inset -12px 0 0 2px var(--map-bg); transition: box-shadow .15s; }
.gbcard .clr-coltog[aria-pressed="true"]::before { background: var(--map-fg); box-shadow: inset 12px 0 0 2px var(--map-bg); }
.gbcard .clr-coltog:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gbcard .clr-coltog::before { transition: none; } }
.gbcard { --sw0: #4A1A5C; --sw1: #5B3FE0; --sw2: #0B8F80; --sw4: #B85CD6; --sw5: #7A1A12; --swu: #857F73; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gbcard { --sw0: #9B81A5; --sw1: #8C79E9; --sw2: #9DD2CC; --sw4: #D8A5E8; --sw5: #B6817D; --swu: #787D86; } }
:root[data-theme="dark"] .gbcard { --sw0: #9B81A5; --sw1: #8C79E9; --sw2: #9DD2CC; --sw4: #D8A5E8; --sw5: #B6817D; --swu: #787D86; }
.gbcard [data-ctl="clr-show"] button { display: flex; align-items: center; gap: 8px; --sw: var(--clr-one); }
.gbcard [data-ctl="clr-show"] button::before { content: ""; flex: none; width: 22px; height: 10px; border-radius: 3px; background: linear-gradient(var(--sw), var(--sw)) center / 16px 3px no-repeat, var(--land); }
.gbcard [data-ctl="clr-show"] button[data-v="cdu"]::before { background: repeating-linear-gradient(90deg, var(--sw) 0 5px, transparent 5px 8px) center / 16px 3px no-repeat, var(--land); }
.gbcard[data-clr-col="dec"] [data-ctl="clr-show"] button[data-v="cd0"] { --sw: var(--sw0); } .gbcard[data-clr-col="dec"] [data-ctl="clr-show"] button[data-v="cd1"] { --sw: var(--sw1); }
.gbcard[data-clr-col="dec"] [data-ctl="clr-show"] button[data-v="cd2"] { --sw: var(--sw2); } .gbcard[data-clr-col="dec"] [data-ctl="clr-show"] button[data-v="cd4"] { --sw: var(--sw4); }
.gbcard[data-clr-col="dec"] [data-ctl="clr-show"] button[data-v="cd5"] { --sw: var(--sw5); } .gbcard[data-clr-col="dec"] [data-ctl="clr-show"] button[data-v="cdu"] { --sw: var(--swu); }
/* set MCL (MCL3): Show all and Hide all at the head of the GB Layers list and the decades list (railmap.js) */
.gbcard .mfd-all { display: flex; gap: 6px; margin: 0 0 6px; padding: 0 0 6px; border-bottom: 1px solid var(--line); }
.gbcard .mfd-all button { flex: 1 1 0; font: 600 .78rem var(--font); padding: 3px 8px; min-height: 28px; border-radius: 99px; border: 1px solid var(--line); background: var(--map-bg); color: var(--map-fg); cursor: pointer; white-space: nowrap; }
.gbcard .mfd-all button:hover { border-color: var(--map-fg); }
.gbcard .mfd-all button[aria-disabled="true"] { color: var(--map-muted); border-style: dashed; cursor: default; }
.gbcard .mfd-all button:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.gbcard .mfd-all-say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* set CTT (Kyle, 23 November 2026; widened to every line layer: "Yes, widen it to all line layers"): the extra lines' wider tap
   targets (railmap.js, the "-h" group over each class): transparent and solid end to end (a dotted or dashed line's gaps take a
   tap), 14 px with a mouse as the routes' .hits; none while the map zooms; hidden with their line by its decade, look and chip
   rules. On a touch screen every line's target on the one map is 24 px (WCAG 2.2 2.5.8 AA): the routes', London's,
   Electrification's (hidden with its Show filter as before) and the extra lines'. Stations keep 16 px: see maptip.js (set CTT) */
.gbcard .geo .xlh path { fill: none; stroke: transparent; stroke-width: calc(14px * var(--dk, 1)); stroke-dasharray: none; stroke-linecap: round; stroke-linejoin: round; pointer-events: stroke; cursor: pointer; }
.gbcard .geo.zooming .xlh path, .gbcard .geo.zooming .hits polyline.hit, .gbcard .geo.zooming .thits polyline.hit, .gbcard .geo.zooming .ovl .ehit polyline { pointer-events: none; }   /* each target's own pointer-events outranked the groups' none */
@media (pointer: coarse) {
  .gbcard .geo .hits polyline.hit, .gbcard .geo .thits polyline.hit, .gbcard .geo .ovl .ehit polyline, .gbcard .geo .xlh path { stroke-width: calc(24px * var(--dk, 1)); }
}

/* WAL: start (set WAL, 25 November 2026): /wallpapers/, Posters and wallpapers. The London poster's card is landscape, so its
   picture column is wider; the page's heading sits under the Maps switch like a section's. */
.poster-ed.poster-land { grid-template-columns: 200px minmax(0, 1fr); }
@media (max-width: 480px) { .poster-ed.poster-land { grid-template-columns: 132px minmax(0, 1fr); } }
.wp-title { margin: 18px 0 6px; }
/* WAL: end */
