/* Wire tokens (site/app/globals.css): light mode only, one accent used sparingly. Three meaning colours:
   transport (the sailing), legal (the court chain, ink), disputed (contested positions, brick); each also has a
   line pattern and a word, never colour alone. */
.pmg {
  --bg: #fbfbfa; --paper: #fbfbfa; --ink: #121518; --ink-2: #353a41; --quiet: #646b74; --faint: #8b929b;
  --grid: #e6e8eb; --grid-2: #cfd3d8; --accent: #e8600a;
  --transport: #1d5a85; --back: #7b4f9e; --legal: #121518; --disputed: #a3402a;
  --sea0: #edf3f6; --sea1: #e1ebf1; --sea2: #d3e2eb; --sea3: #c5d8e4; --sea4: #b7cedd;
  --land: #f1eee7; --land-edge: #9d978b; --ice: #ffffff;
  --f-serif: var(--font-serif, "Source Serif 4"), Georgia, "Times New Roman", serif;
  --f-data: var(--font-data, "IBM Plex Sans Condensed"), "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
.pmg, .pmg *, .pmg *::before, .pmg *::after { box-sizing: border-box; }
.pmg { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-serif); font-size: 18px; line-height: 1.45;
  -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
.pmg h1, .pmg h2, .pmg h3, .pmg p, .pmg figure, .pmg blockquote { margin: 0; }
.pmg a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: var(--faint); }
.pmg :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pmg svg { display: block; overflow: visible; }
.pmg .wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1100px) { .pmg .wrap { padding: 0 32px; } }
.pmg .mast { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 8px; border-bottom: 1px solid var(--ink);
  font-family: var(--f-data); font-size: 14px; color: var(--quiet); }
.pmg .mast b { font-family: var(--f-serif); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.pmg .k { font-family: var(--f-data); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.pmg header.top { padding: 28px 0 8px; max-width: 900px; }
.pmg h1 { font-family: var(--f-serif); font-weight: 700; font-size: clamp(34px, 5.4vw, 64px); line-height: .98; letter-spacing: -.03em;
  margin: 8px 0 12px; text-wrap: balance; }
.pmg .dek { font-size: clamp(18px, 2vw, 21px); line-height: 1.38; color: var(--ink-2); text-wrap: pretty; max-width: 760px; }
.pmg .hint { margin-top: 10px; font-family: var(--f-data); font-size: 14px; color: var(--quiet); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pmg .hint button { font: inherit; color: var(--ink); background: none; border: 1px solid var(--grid-2); border-radius: 2px; padding: 3px 10px; cursor: pointer; }
.pmg .hint button:hover { border-color: var(--ink); }
.pmg section.g { margin: 28px 0 8px; }
.pmg section.g + section.g { border-top: 1px solid var(--ink); padding-top: 22px; margin-top: 44px; }
.pmg section.g h2 { font-family: var(--f-serif); font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.pmg section.g .enc { font-family: var(--f-data); font-size: 15px; color: var(--quiet); margin: 6px 0 14px; max-width: 760px; }
.pmg .pm-credit { font-family: var(--f-data); font-size: 13px; color: var(--quiet); line-height: 1.4; margin-top: 10px; max-width: 900px; }
.pmg .pm-g1 .stage { position: relative; }
.pmg .pm-g1 .stage svg { width: 100%; height: auto; overflow: hidden; }
.pmg .pm-g1 .phone-part + .phone-part { margin-top: 18px; }
.pmg .phone-part .cap { font-family: var(--f-data); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin: 0 0 6px; }

/* SVG type: two sizes on the surface (17 and 13), the date line in data caps */
.pmg .t-lbl { font-family: var(--f-serif); font-size: 17px; font-weight: 600; fill: var(--ink); }
.pmg .t-sub { font-family: var(--f-data); font-size: 13px; fill: var(--quiet); }
.pmg .t-date { font-family: var(--f-data); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink-2); }
.pmg .t-verb { font-family: var(--f-data); font-size: 13px; font-style: italic; fill: var(--ink-2); }
.pmg .t-place { font-family: var(--f-data); font-size: 13px; font-weight: 500; fill: var(--ink); }
.pmg .t-place.big { font-size: 15px; font-weight: 600; }
.pmg .t-country { font-family: var(--f-data); font-size: 12px; letter-spacing: .22em; fill: #8d8778; }
.pmg .t-sea { font-family: var(--f-serif); font-style: italic; font-size: 14px; letter-spacing: .3em; fill: #5b7b92; }
.pmg .t-grat { font-family: var(--f-data); font-size: 11px; fill: #6d8aa0; }
.pmg .halo { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.pmg .halo-sea { paint-order: stroke; stroke: var(--sea2); stroke-width: 3.5px; stroke-linejoin: round; }
.pmg .halo-land { paint-order: stroke; stroke: var(--land); stroke-width: 4px; stroke-linejoin: round; }

/* marks: everything with evidence behind it is a button */
.pmg .mark { cursor: pointer; outline: none; }
.pmg .mark .hit { fill: transparent; stroke: none; }
.pmg .mark:hover .t-lbl, .pmg .mark:focus-visible .t-lbl, .pmg .mark.on .t-lbl { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pmg .mark:focus-visible .hit, .pmg .mark.on .hit { fill: rgba(232, 96, 10, .07); stroke: var(--accent); stroke-width: 1.5; }
.pmg .mark:hover .t-verb, .pmg .mark.on .t-verb { fill: var(--ink); }
.pmg .ev-dot { fill: var(--paper); stroke: var(--quiet); stroke-width: 1; }
.pmg .mark:hover .ev-dot, .pmg .mark.on .ev-dot, .pmg .mark:focus-visible .ev-dot { fill: var(--accent); stroke: var(--accent); }

/* the strip */
.pmg .strip-bg { fill: var(--paper); }
.pmg .pm-spine { stroke: var(--legal); stroke-width: 2; fill: none; }
.pmg .pm-spine.held { stroke: var(--accent); stroke-width: 3; }
.pmg .pm-spine.next { stroke: var(--legal); stroke-dasharray: 3 4; stroke-width: 1.5; }
.pmg .node-sq { fill: var(--paper); stroke: var(--legal); stroke-width: 2; }
.pmg .node-sq.finding { fill: var(--paper); stroke-dasharray: 3 2; }
.pmg .node-sq.court { fill: var(--legal); }
.pmg .node-sq.govt { fill: var(--paper); }
.pmg .chip { fill: var(--paper); stroke: var(--disputed); stroke-dasharray: 4 3; stroke-width: 1.2; }
.pmg .t-chip { font-family: var(--f-data); font-size: 13px; fill: var(--disputed); }
.pmg .connector { fill: none; stroke: var(--legal); stroke-width: 2; }

/* the map */
.pmg .sea0 { fill: var(--sea0); } .pmg .d200 { fill: var(--sea1); } .pmg .d1000 { fill: var(--sea2); } .pmg .d2000 { fill: var(--sea3); } .pmg .d3000 { fill: var(--sea4); }
.pmg .land { fill: var(--land); stroke: var(--land-edge); stroke-width: .5; stroke-linejoin: round; }
.pmg .ice { fill: var(--ice); stroke: #d9dfe4; stroke-width: .35; }
.pmg .grat { fill: none; stroke: #ffffff; stroke-width: .7; stroke-opacity: .8; }
.pmg .arc { fill: none; stroke: var(--transport); stroke-width: 2; stroke-dasharray: 1.5 5; stroke-linecap: round; }
.pmg .track { fill: none; stroke: var(--transport); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.pmg .leghit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; }
.pmg .leg { cursor: pointer; outline: none; transition: opacity .15s; }
.pmg .route.hl .leg:not(.on), .pmg .route.sel .leg:not(.sel):not(.on) { opacity: .15; }
.pmg .leg.on .bgtrack, .pmg .leg.sel .bgtrack { stroke-opacity: 1; stroke-width: 2.2; }
.pmg .leg.on .track, .pmg .leg.sel .track { stroke-width: 3.2; }
/* the crossing whose source is open stays picked out until the source closes */
.pmg .leg.sel, .pmg .leg.sel path { opacity: 1 !important; }
.pmg .leg:focus-visible .bgtrack, .pmg .leg:focus-visible .track { stroke: var(--accent); }
.pmg .chips { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 10px 0 6px; font-family: var(--f-data); font-size: 14px; }
.pmg .chips-h { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin-right: 4px; }
.pmg .chip-leg { font: inherit; color: var(--ink-2); background: #fff; border: 1px solid var(--grid-2); border-radius: 14px; padding: 3px 11px; cursor: pointer; }
.pmg .chip-leg b { color: var(--transport); font-weight: 600; }
.pmg .chip-leg.last { border-color: var(--transport); }
.pmg .chip-leg:hover, .pmg .chip-leg.lit, .pmg .chip-leg:focus-visible { border-color: var(--transport); background: #eef4f9; }
.pmg #pm-chooser { position: fixed; z-index: 25; background: #fff; border: 1px solid var(--ink); box-shadow: 0 6px 20px rgba(18,21,24,.18); padding: 4px; display: flex; flex-direction: column; font-family: var(--f-data); font-size: 14px; }
.pmg #pm-chooser[hidden] { display: none; }
.pmg #pm-chooser button { font: inherit; text-align: left; background: none; border: 0; padding: 6px 10px; cursor: pointer; }
.pmg #pm-chooser button:hover, .pmg #pm-chooser button:focus-visible { background: #eef4f9; }
.pmg .pm-g1 .stage svg.low { overflow: visible; }
/* the two directions: to Barentsburg (blue) and back to Murmansk (purple); the key says which is which */
.pmg .leg.rev .bgtrack, .pmg .leg.rev .track { stroke: var(--back); }
.pmg .chip-leg.rev b { color: var(--back); }
.pmg .chip-leg.rev:hover, .pmg .chip-leg.rev.lit, .pmg .chip-leg.rev:focus-visible { border-color: var(--back); background: #f3eff8; }
.pmg .dirkey text { font-family: var(--f-data); font-size: 13px; fill: var(--ink-2); }
/* the quay close-up floats on the map: it can be moved aside or closed, and opened again */
.pmg .mapwrap { position: relative; }
.pmg .quaycard { position: absolute; z-index: 5; background: #fbfbfa; border: 1px solid var(--ink); box-shadow: 0 6px 22px rgba(18,21,24,.2); touch-action: none; }
.pmg .quaycard[hidden] { display: none; }
/* movable cards: the grab hand anywhere on the card, a lift on hover, a stronger lift while moving */
.pmg .movable { cursor: grab; user-select: none; -webkit-user-select: none; transition: box-shadow .15s, transform .15s; }
.pmg .movable:hover { box-shadow: 0 14px 38px rgba(18, 21, 24, .26); }
.pmg .movable.dragging { cursor: grabbing; box-shadow: 0 20px 48px rgba(18, 21, 24, .32); transition: none; }
.pmg .movable button, .pmg .movable a { cursor: pointer; }
.pmg .movable > .grip { position: absolute; right: 8px; top: 6px; font: 16px/1 var(--f-data); color: var(--faint); pointer-events: none; transition: color .15s; }
.pmg .movable:hover > .grip { color: var(--ink); }
.pmg .quaycard > .grip { right: 40px; top: 9px; }
.pmg .quaycard .qc-h { display: flex; align-items: center; gap: 8px; padding: 6px 4px 6px 10px; user-select: none; border-bottom: 1px solid var(--grid-2); outline: none; }
.pmg .quaycard .qc-h:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.pmg .quaycard .qc-grip { color: var(--faint); font: 14px/1 var(--f-data); letter-spacing: -2px; }
.pmg .quaycard .qc-t { flex: 1; font-family: var(--f-data); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pmg .quaycard .qc-x { font: 600 20px/1 var(--f-data); background: none; border: 0; padding: 2px 8px; cursor: pointer; color: var(--ink); }
.pmg .quaycard .qc-x:hover { color: var(--accent); }
.pmg .quaycard svg { width: 100% !important; }
.pmg .qc-open { position: absolute; z-index: 5; font-family: var(--f-data); font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 2px; padding: 5px 10px; cursor: pointer; box-shadow: 0 2px 8px rgba(18,21,24,.15); }
.pmg .qc-open[hidden] { display: none; }
.pmg .qc-open:hover { border-color: var(--accent); }
.pmg .pm-g1 .stage svg.qc-lead { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.pmg .qc-lead line { stroke: var(--ink); stroke-width: 1; }

.pmg .bgtrack { fill: none; stroke: var(--transport); stroke-width: 1.5; stroke-opacity: .7; stroke-linejoin: round; }
.pmg .mark:hover .bgtrack, .pmg .mark.on .bgtrack { stroke-opacity: .7; }
.pmg .oldroute { fill: none; stroke: #6f7680; stroke-width: 1.2; stroke-dasharray: 6 4; }
.pmg .place-dot { fill: var(--ink); stroke: var(--paper); stroke-width: 1.2; }
.pmg .held-ring { fill: none; stroke: var(--accent); stroke-width: 2; }
.pmg .leader { fill: none; stroke: var(--ink); stroke-width: 1; }
.pmg .frame-edge { stroke: var(--ink); stroke-width: 1; }

/* the ship drawing */
.pmg .hull { fill: #2f6aa8; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; }
.pmg .hull-under { fill: #8fa3b1; stroke: none; opacity: .35; }
.pmg .boot { fill: #1c3f66; stroke: none; }
.pmg .sup { fill: #fdfdfb; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.pmg .win { fill: #2e3a44; stroke: none; }
.pmg .port { fill: #dfe9f3; stroke: none; }
.pmg .plan { fill: #2f6aa8; stroke: var(--accent); stroke-width: 1.4; }
.pmg .pier { fill: none; stroke: #7d776c; stroke-width: 2.4; stroke-linecap: square; }
.pmg .bldg { fill: #d8d3c8; stroke: #a49d90; stroke-width: .5; }
.pmg .road { fill: none; stroke: #ffffff; stroke-width: 1.6; }
.pmg .zland { fill: var(--land); stroke: var(--land-edge); stroke-width: .8; }
.pmg .zsea { fill: var(--sea1); }
.pmg .berthfix { fill: var(--transport); opacity: .8; }
.pmg .rig { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; }
.pmg .funnel { fill: #fdfdfb; stroke: var(--ink); stroke-width: 1; }
.pmg .funnel-band { fill: #2b4558; }
.pmg .boat { fill: #e2592a; stroke: var(--ink); stroke-width: .8; }
.pmg .quay { fill: #b9b4aa; stroke: var(--ink); stroke-width: .8; }
.pmg .moor { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.pmg .water { stroke: #9fb6c6; stroke-width: 1; fill: none; }

/* relationship diagram */
.pmg .pm-rel svg { width: 100%; height: auto; max-width: 1040px; }
.pmg .rbox { fill: #ffffff; stroke: var(--grid-2); stroke-width: 1; }
.pmg .mark:hover .rbox, .pmg .mark.on .rbox, .pmg .mark:focus-visible .rbox { stroke: var(--accent); stroke-width: 1.5; }
.pmg .re { fill: none; stroke-width: 1.8; }
.pmg .re.operate { stroke: var(--ink-2); }
.pmg .re.charter { stroke: var(--transport); stroke-dasharray: 8 4; }
.pmg .re.challenge { stroke: var(--disputed); }
.pmg .re.rejected { stroke: var(--ink); }
.pmg .re.possible { stroke: var(--disputed); stroke-dasharray: 1.5 4; stroke-linecap: round; }
.pmg .re.legal { stroke: var(--ink); stroke-width: 2.4; }
.pmg .re.owns { stroke: #8b929b; stroke-width: 4.2; }
.pmg .pm-legend text { font-family: var(--f-data); font-size: 13px; fill: var(--ink-2); }

/* the arguments table */
.pmg table.args { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 4px; }
.pmg table.args caption { text-align: left; }
.pmg table.args th, .pmg table.args td { vertical-align: top; text-align: left; padding: 0; }
.pmg table.args thead th { font-family: var(--f-data); font-size: 14px; font-weight: 600; color: var(--ink); padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); }
.pmg table.args thead th:first-child { width: 15%; }
.pmg table.args tbody th { font-family: var(--f-serif); font-size: 18px; font-weight: 700; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--grid-2); }
.pmg table.args td { border-bottom: 1px solid var(--grid-2); padding: 8px 12px 8px 0; }
.pmg .cell { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 1px solid transparent; border-radius: 2px; padding: 6px 8px; cursor: pointer; min-height: 64px; }
.pmg .cell .l { display: block; font-family: var(--f-serif); font-size: 16px; font-weight: 400; line-height: 1.38; }
.pmg .cell .s { display: block; margin-top: 4px; font-family: var(--f-data); font-size: 13px; color: var(--quiet); }
.pmg .cell.absent .l { font-weight: 400; color: var(--quiet); font-style: italic; }
.pmg .cell:hover, .pmg .cell.on { border-color: var(--grid-2); background: #fff; }
.pmg .cell:hover .l, .pmg .cell.on .l { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pmg .cell.on { border-color: var(--accent); }
.pmg .dec { display: block; margin-top: 6px; font-weight: 400; }
.pmg .dec .cell { min-height: 0; padding: 4px 6px; margin-left: -6px; }
.pmg .dec .cell .l { font-size: 14px; }
@media (max-width: 759px) {
  .pmg table.args thead { display: none; }
  .pmg table.args, .pmg table.args tbody, .pmg table.args tr { display: block; }
  .pmg table.args tr { display: grid; grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--grid-2); padding: 10px 0 12px; }
  .pmg table.args tbody th { grid-column: 1 / -1; border: 0; padding: 4px 0 6px; }
  .pmg table.args td { display: block; border: 0; padding: 4px 0; }
  .pmg table.args td::before { content: attr(data-col); display: block; font-family: var(--f-data); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); margin: 0 0 2px 8px; }
  .pmg .cell { min-height: 0; }
}

/* the evidence panel */
.pmg #pm-ev { position: fixed; z-index: 20; background: #fff; color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 10px 34px rgba(18,21,24,.18);
  right: 20px; top: 20px; width: 400px; max-height: calc(100vh - 40px); overflow: auto; padding: 16px 18px 18px; }
/* desktop: the mirror of the story cards, same distance from the right edge as they keep from the left, centred in height */
@media (min-width: 760px) { .pmg #pm-ev { right: max(32px, calc((100vw - 1320px) / 2 + 32px)); top: 50%; transform: translateY(-50%); width: 410px; max-height: calc(100vh - 120px); } }
.pmg #pm-ev[hidden] { display: none; }
.pmg #pm-ev .ev-x { position: absolute; right: 8px; top: 6px; font: 600 22px/1 var(--f-data); background: none; border: 0; padding: 6px 8px; cursor: pointer; color: var(--ink); }
.pmg #pm-ev h3 { font-family: var(--f-serif); font-size: 21px; line-height: 1.15; margin: 4px 28px 10px 0; }
.pmg #pm-ev .ev-note { font-family: var(--f-data); font-size: 15px; color: var(--ink-2); }
.pmg .evq { border-top: 1px solid var(--grid-2); padding-top: 10px; margin-top: 10px; }
.pmg .evq .sum { font-family: var(--f-serif); font-size: 17px; line-height: 1.4; color: var(--ink); }
.pmg .evq .src { font-family: var(--f-data); font-size: 13px; color: var(--quiet); margin-top: 6px; }
.pmg .evq blockquote { font-family: var(--f-serif); font-size: 17px; line-height: 1.4; border-left: 3px solid var(--ink); padding-left: 10px; }
.pmg .evq blockquote.orig { margin-top: 8px; font-size: 15px; color: var(--quiet); border-left-color: var(--grid-2); }
.pmg .evq .tr { font-family: var(--f-data); font-size: 12px; color: var(--quiet); margin-top: 4px; padding-left: 13px; }
.pmg .evq figcaption { font-family: var(--f-data); font-size: 13px; color: var(--quiet); margin-top: 8px; }
.pmg .evq figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 759px) {
  .pmg #pm-ev { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 72vh; border-width: 1px 0 0; padding: 14px 16px 22px; }
}
.pmg .method { margin: 48px 0 60px; border-top: 1px solid var(--ink); padding-top: 14px; font-family: var(--f-data); font-size: 14px; color: var(--ink-2); max-width: 900px; }
.pmg .method h2 { font-family: var(--f-data); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin-bottom: 6px; }
.pmg .method p + p { margin-top: 8px; }
.pmg .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the full-screen map: pinned while the story scrolls over it in cards */
.pmg section.g.sc { margin: 0; padding: 0; border: 0; }
.pmg .sc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--sea0); z-index: 0; }
.pmg .sc-stage > svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; overflow: hidden; }
.pmg .sc-stage .world path { vector-effect: non-scaling-stroke; }
.pmg .sc-stage .land, .pmg .sc-stage .zland { stroke-width: .6; }
.pmg .sc-stage .zland { stroke: none; }
.pmg .sc-stage .bldg { stroke: none; }
.pmg .sc-stage .road { stroke-width: 1.4; }
.pmg .sc-stage .pier { stroke-width: 2.6; }
.pmg .sc-stage .bgtrack { stroke-width: 1.6; }
.pmg .sc-stage .track { stroke-width: 3; }
.pmg .sc-stage .leghit { stroke-width: 16; }
.pmg .sc-stage .sc-old { fill: none; stroke: #6f7680; stroke-width: 1.4; stroke-dasharray: 6 4; }
.pmg .sc-stage .plan { stroke-width: 1.6; }
.pmg .sc-stage .held-ring.pulse { animation: pm-pulse 2.2s ease-out infinite; }
@keyframes pm-pulse { 0% { r: 6.5; opacity: 1; } 70% { r: 20; opacity: 0; } 100% { r: 20; opacity: 0; } }
.pmg .sc-steps { position: relative; margin-top: -100vh; margin-top: -100svh; z-index: 2; pointer-events: none; }
.pmg .sc-step { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 12vh 16px; }
.pmg .sc-step.first { align-items: flex-start; padding-top: 10vh; }
.pmg .sc-card { position: relative; pointer-events: auto; background: rgba(251, 251, 250, .97); border: 1px solid var(--ink); box-shadow: 0 8px 28px rgba(18, 21, 24, .16); padding: 16px 18px 18px; width: 100%; max-width: 410px; font-family: var(--f-data); }
.pmg .sc-card.title { max-width: 560px; }
.pmg .sc-card h1 { font-size: clamp(32px, 4.4vw, 54px); margin: 6px 0 10px; }
.pmg .sc-card .dek { font-size: 18px; }
.pmg .sc-kick { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px; }
.pmg .sc-card .sc-verb { display: block; font: italic 14px var(--f-data); color: var(--ink-2); background: none; border: 0; padding: 0 0 8px; margin: 0 0 8px; border-bottom: 1px solid var(--grid-2); width: 100%; text-align: left; cursor: pointer; }
.pmg .sc-card .sc-verb::before { content: "↓ "; font-style: normal; }
.pmg .sc-mark { font: 600 21px/1.2 var(--f-serif); color: var(--ink); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--grid-2); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.pmg .sc-mark:hover, .pmg .sc-mark.on, .pmg .sc-verb:hover { text-decoration-color: var(--accent); }
.pmg .sc-sub { font-size: 15px; color: var(--quiet); margin-top: 4px; line-height: 1.35; }
.pmg .sc-note { display: inline-block; margin: 8px 6px 0 0; font: 14px var(--f-data); color: var(--disputed); background: #fff; border: 1.2px dashed var(--disputed); border-radius: 2px; padding: 3px 8px; cursor: pointer; text-align: left; }
.pmg .sc-card .chips { margin: 10px 0 0; }
.pmg .sc-card .chips-h { display: none; }
.pmg .sc-card .chip-leg { font-size: 13px; padding: 2px 9px; }
.pmg .sc-key { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.pmg .sc-key i { display: inline-block; width: 26px; height: 3px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.pmg .sc-next { list-style: none; margin: 8px 0 0; padding: 0; }
.pmg .sc-next li { padding: 8px 0; border-top: 1px dashed var(--grid-2); }
.pmg .sc-next .sc-mark { font-size: 17px; }
.pmg .sc-card .court { display: inline-block; width: 11px; height: 11px; background: var(--ink); margin-right: 7px; vertical-align: -1px; }
.pmg .sc-card .court.open { background: none; border: 2px solid var(--ink); }
.pmg .sc-card .court.held { background: var(--accent); }
.pmg .sc-card svg { width: 100%; height: auto; }
.pmg .sc-lbl { pointer-events: none; }
.pmg .sc-lbl .t-place.big, .pmg .sc-lbl .t-lbl { pointer-events: none; }
@media (min-width: 900px) { .pmg .sc-step { padding-left: max(32px, calc((100vw - 1320px) / 2 + 32px)); } }
@media (max-width: 899px) {
  .pmg .sc-step { align-items: center; padding: 0 10px; }
  .pmg .sc-step.first { align-items: center; padding-top: 0; }
  .pmg .sc-card { max-width: none; padding: 12px 14px 14px; }
  .pmg .sc-mark { font-size: 19px; }
  .pmg .sc-card .dek { font-size: 16px; }
}
.pmg .sc-after { height: 0; }
/* the chapter bar: jump back and forward without scrolling through the story */
.pmg #pm-toc { position: fixed; z-index: 15; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; gap: 2px; padding: 0 max(16px, calc((100vw - 1320px) / 2 + 24px)); background: rgba(251, 251, 250, .96); border-bottom: 1px solid var(--ink); font-family: var(--f-data); overflow-x: auto; scrollbar-width: none; transform: translateY(-100%); transition: transform .2s; }
.pmg #pm-toc::-webkit-scrollbar { display: none; }
.pmg #pm-toc.show { transform: none; }
.pmg #pm-toc .toc-k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin-right: 10px; white-space: nowrap; }
.pmg #pm-toc a { flex: none; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 9px 10px 8px; border-bottom: 3px solid transparent; white-space: nowrap; }
.pmg #pm-toc a:hover { color: var(--ink); background: #fff; }
.pmg #pm-toc a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.pmg #pm-toc a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pmg .method, .pmg #g2, .pmg #g3 { scroll-margin-top: 56px; }
@media (prefers-reduced-motion: reduce) { .pmg #pm-toc { transition: none; } }
/* the label that follows the pointer over a route line */
.pmg #pm-legtip { position: fixed; z-index: 18; pointer-events: none; background: #fff; border: 1px solid var(--ink); box-shadow: 0 6px 20px rgba(18,21,24,.16); padding: 7px 10px 8px; font-family: var(--f-data); font-size: 14px; color: var(--ink); max-width: 300px; }
.pmg #pm-legtip[hidden] { display: none; }
.pmg #pm-legtip .lt-row { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.pmg #pm-legtip .lt-row + .lt-row { margin-top: 3px; }
.pmg #pm-legtip i { flex: none; width: 14px; height: 3px; background: var(--transport); }
.pmg #pm-legtip i.rev { background: var(--back); }
.pmg #pm-legtip b { font-weight: 600; }
.pmg #pm-legtip .lt-k { font-size: 12px; color: var(--quiet); margin-top: 5px; }
/* the timeline: the dated moments of the story along the bottom of the map, built as the cards arrive. The axis is
   ordinal (moments evenly spaced); "//" marks the years left out, so the spacing is never read as time. */
.pmg .pm-tl { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; background: rgba(251, 251, 250, .97); border-top: 1px solid var(--ink);
  font-family: var(--f-data); color: var(--ink); padding: 6px max(16px, calc((100vw - 1320px) / 2 + 32px)) 8px; }
.pmg .pm-tl.static { position: relative; z-index: auto; border: 1px solid var(--grid-2); padding: 6px 12px 8px; margin: 0 0 12px; }
.pmg .tl-head { display: flex; align-items: baseline; gap: 12px; min-height: 22px; }
.pmg .tl-k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); white-space: nowrap; }
.pmg .tl-cap { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmg .tl-cap b { font-weight: 600; }
.pmg .pm-tl.wide .tl-cap { visibility: hidden; }
.pmg .tl-nav { display: flex; gap: 6px; visibility: hidden; }
.pmg .pm-tl.done .tl-nav { visibility: visible; }
.pmg .tl-nav button { font: 600 13px var(--f-data); color: var(--ink); background: #fff; border: 1px solid var(--ink); padding: 3px 10px; cursor: pointer; }
.pmg .tl-nav button:disabled { color: var(--faint); border-color: var(--grid-2); cursor: default; }
.pmg .tl-nav button:focus-visible, .pmg .tl-m:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pmg .tl-scroll { overflow-x: auto; scrollbar-width: none; }
.pmg .tl-scroll::-webkit-scrollbar { display: none; }
.pmg .tl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(var(--tl-min, 0px), 1fr); }
.pmg .tl-list li { position: relative; min-width: 0; }
.pmg .tl-m { display: block; width: 100%; background: none; border: 0; padding: 4px 3px 2px; margin: 0; text-align: center; cursor: pointer; color: inherit; font: inherit; }
.pmg .tl-m[disabled] { cursor: default; }
.pmg .tl-dot { display: block; width: 11px; height: 11px; margin: 0 auto 4px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink);
  transform: scale(0); transition: transform .22s ease-out; }
.pmg .tl-date { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; opacity: 0; transition: opacity .2s .3s; }
.pmg .tl-lbl { display: none; font-size: 12.5px; line-height: 1.2; color: var(--ink-2); margin-top: 2px; text-wrap: balance; opacity: 0; transition: opacity .2s .3s; }
.pmg .pm-tl.wide .tl-lbl { display: block; }
.pmg .tl-seg { position: absolute; top: 9.5px; left: -50%; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s .15s; pointer-events: none; z-index: -1; }
.pmg .tl-list { position: relative; z-index: 0; }
.pmg .tl-brk { position: absolute; top: 2px; left: 0; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: var(--quiet); background: rgba(251, 251, 250, .97); padding: 0 2px; line-height: 1; opacity: 0; transition: opacity .2s .3s; pointer-events: none; }
.pmg .pm-tl li.on .tl-dot { transform: none; }
.pmg .pm-tl li.on .tl-date, .pmg .pm-tl li.on .tl-lbl { opacity: 1; }
.pmg .pm-tl li.on.seg .tl-seg { transform: none; }
.pmg .pm-tl li.on.seg .tl-brk { opacity: 1; }
.pmg .pm-tl li.cur .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 96, 10, .22); }
.pmg .pm-tl li.cur .tl-date { color: var(--accent); }
.pmg .pm-tl li.cur .tl-lbl { color: var(--ink); }
.pmg .tl-m:hover .tl-date { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 899px) { .pmg .pm-tl { padding: 4px 10px 6px; } .pmg .tl-k { display: none; } }
@media (prefers-reduced-motion: reduce) { .pmg .tl-dot, .pmg .tl-date, .pmg .tl-lbl, .pmg .tl-seg, .pmg .tl-brk { transition: none; } }
/* share still */

/* inside the In depth article (mode "article"): the figures' headings, the map's credit under the section */
.pmg .pm-fig-h { font-family: var(--f-serif); font-size: clamp(21px, 2.2vw, 25px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 12px; }
.pmg .pm-credit.pm-wide { max-width: 752px; margin: 8px auto 0; padding: 0 16px; }
/* the article's timeline (round 2): the label also on a phone, and the way out of the graphic beside Previous / Next */
@media (max-width: 899px) { .pmg .pm-tl.art .tl-k { display: inline; } }
.pmg .tl-skip { flex: none; font: 600 13px var(--f-data); color: #fff; background: var(--ink); border: 1px solid var(--ink); padding: 3px 10px; cursor: pointer; white-space: nowrap; }
.pmg .tl-skip:hover { background: var(--ink-2); }
.pmg .tl-skip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pmg .tl-skip-s { display: none; }
@media (max-width: 599px) { .pmg .tl-skip-l { display: none; } .pmg .tl-skip-s { display: inline; } .pmg .pm-tl.art .tl-nav button { padding: 3px 7px; } }
