/* Deep Time Atlas, story experience v2 (DTA-109). Look and behaviour from the approved zoom prototype v5.1. */
:root{--b2:#2F6F8F;--cream:#F6F2EA;--ink:#1C1A17;--mute:#716B62;--sea:#B9CBD8;--seaEdge:#A9BCCB;--land:#E9DDC7;--coast:#C9BBA0;--accent:#C94F2B;--lane:#D7673F;--grat:rgba(255,255,255,.45);
  --shelf:#DCC69C;--ice:#FFFFFF;--iceEdge:#8FA3B5;--salt:#EFE6D3;--brine:#C9D8E3;
  --glass:rgba(250,247,241,.42);--ivory:#FBF8F2;--glassB:rgba(255,255,255,.55);--glassHi:rgba(255,255,255,.7);--card:rgba(255,255,255,.6);--halo:rgba(246,242,234,.85);--hair:rgba(28,26,23,.1);--btn:#1C1A17;--btnInk:#fff;
  --serif:"Instrument Serif",Georgia,serif;--sans:"Instrument Sans",Inter,system-ui,sans-serif;color-scheme:light}
html.dark{--b2:#6FB3D2;--cream:#0E0F0E;--ink:#F2EEE6;--mute:#A39C90;--sea:#18201F;--seaEdge:#26302F;--land:#2E2C27;--coast:#46423A;--accent:#E07A50;--lane:#E5875F;--grat:rgba(255,255,255,.06);
  --shelf:#4D4431;--ice:#B9C3CA;--iceEdge:#8D9DA9;--salt:#5C5341;--brine:#1F2A2E;
  --glass:rgba(22,24,23,.48);--ivory:#1C1E1D;--glassB:rgba(255,255,255,.12);--glassHi:rgba(255,255,255,.08);--card:rgba(28,30,29,.66);--halo:rgba(14,15,14,.85);--hair:rgba(255,255,255,.12);--btn:#F2EEE6;--btnInk:#0E0F0E;color-scheme:dark}
@media (prefers-color-scheme:dark){html:not(.light){--b2:#6FB3D2;--cream:#0E0F0E;--ink:#F2EEE6;--mute:#A39C90;--sea:#18201F;--seaEdge:#26302F;--land:#2E2C27;--coast:#46423A;--accent:#E07A50;--lane:#E5875F;--grat:rgba(255,255,255,.06);
  --shelf:#4D4431;--ice:#B9C3CA;--iceEdge:#8D9DA9;--salt:#5C5341;--brine:#1F2A2E;
  --glass:rgba(22,24,23,.48);--ivory:#1C1E1D;--glassB:rgba(255,255,255,.12);--glassHi:rgba(255,255,255,.08);--card:rgba(28,30,29,.66);--halo:rgba(14,15,14,.85);--hair:rgba(255,255,255,.12);--btn:#F2EEE6;--btnInk:#0E0F0E;color-scheme:dark}}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%;background:var(--cream);color:var(--ink);font-family:var(--sans);overflow:hidden;-webkit-font-smoothing:antialiased;font-variant-numeric:lining-nums}
a{color:inherit}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#map{position:absolute;left:0;top:0;opacity:0;pointer-events:none}
.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-bottom-left{display:none}
#cv{position:absolute;inset:0;width:100%;height:100%;display:block}
#ov{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:manipulation}
.glass{background:var(--glass);backdrop-filter:blur(26px) saturate(1.35);-webkit-backdrop-filter:blur(26px) saturate(1.35);border:1px solid var(--glassB);box-shadow:0 12px 40px rgba(28,26,23,.06),inset 0 1px 0 var(--glassHi)}
/* top bar */
.hud{position:absolute;left:0;right:0;top:0;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;z-index:7}
.brand{font-family:var(--serif);font-size:22px;letter-spacing:-.005em;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);pointer-events:auto}
.brand i{width:18px;height:18px;border:1.5px solid var(--ink);border-radius:50%;display:inline-block;position:relative;overflow:hidden}
.brand i:after{content:"";position:absolute;left:2px;right:2px;top:7px;height:4px;border-top:1.5px solid var(--accent);border-radius:50%}
.right{display:flex;gap:10px;align-items:center;pointer-events:auto;min-width:0}
.crumb{font-size:13px;color:var(--mute);display:flex;gap:8px;align-items:center;border-radius:999px;padding:8px 14px;white-space:nowrap;overflow:hidden;max-width:52vw}
.crumb b{color:var(--ink);font-weight:500;overflow:hidden;text-overflow:ellipsis}.crumb span{opacity:.5}
.crumb a{color:var(--mute);cursor:pointer;text-decoration:none}.crumb a:hover{color:var(--ink)}
.esc{font-size:11px;color:var(--mute);border:1px solid var(--hair);border-radius:6px;padding:2px 6px;margin-left:6px}
.navx{font-size:13px;color:var(--mute);text-decoration:none;border-radius:999px;padding:8px 14px;white-space:nowrap}
.navx:hover{color:var(--ink)}
.thm{display:flex;gap:2px;padding:3px;border-radius:999px}
.seg{all:unset;cursor:pointer;padding:5px 9px;border-radius:999px;font:500 11.5px var(--sans);color:var(--mute)}
.seg[aria-pressed="true"]{background:var(--card);color:var(--ink)}
.x{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink);font-size:20px;line-height:1;opacity:0;transition:opacity .4s;pointer-events:none;border:1px solid var(--glassB);background:var(--glass)}
.x.show{opacity:1;pointer-events:auto}
button.x{font-family:var(--sans);padding:0}
/* panels */
.panel{position:absolute;left:32px;top:84px;width:432px;z-index:6;border-radius:22px;padding:26px 28px 22px;transition:opacity .5s,transform .6s cubic-bezier(.2,.7,.2,1);max-height:calc(100vh - 116px);overflow:auto}
.panel.hide{opacity:0;transform:translateX(-24px);pointer-events:none;visibility:hidden;transition:opacity .5s,transform .6s cubic-bezier(.2,.7,.2,1),visibility 0s .6s}
.pclose{position:absolute;right:16px;top:14px;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--mute);font-size:18px;border:1px solid var(--hair);background:none;padding:0}
.pclose:hover{color:var(--ink)}
.kicker{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);margin-bottom:12px;font-weight:500;padding-right:36px}
h1{font-family:var(--serif);font-weight:400;font-size:62px;line-height:.98;margin:0 0 16px;letter-spacing:-.015em}
h1.sm{font-size:44px}
.lede{font-size:15.5px;line-height:1.55;color:var(--ink);opacity:.86;margin:0 0 18px}
.steps{list-style:none;margin:6px 0 0;padding:0;border-top:1px solid var(--hair)}
.steps li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;border-bottom:1px solid var(--hair);font-size:14.5px;cursor:pointer;color:var(--mute)}
.steps li:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.steps li.on{color:var(--ink)}.steps li.on .n{font-weight:600}
.steps li>span:first-child{flex:1 1 auto;min-width:46%}.steps li .y{font-size:12.5px;color:var(--mute);text-align:right;flex:0 1 auto;max-width:54%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.steps li .dot{width:8px;height:8px;border-radius:50%;border:1.5px solid var(--mute);display:inline-block;margin-right:12px;vertical-align:middle;flex:none}
.steps li.gone .dot{border-style:dashed}
.steps li.on .dot,.steps li.done .dot{background:var(--accent);border-color:var(--accent)}
.ctl{display:flex;gap:10px;margin-top:18px;align-items:center;flex-wrap:wrap}
button,.btn{font:inherit;font-size:13.5px;font-weight:500;padding:10px 16px;border-radius:999px;border:1px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
button.pri,.btn.pri{background:var(--btn);color:var(--btnInk);border-color:var(--btn)}
button.ghost{border-color:var(--hair);color:var(--mute)}
button:focus-visible,.btn:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.steps-btn{display:none}
.meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:16px;font-size:12px;color:var(--mute)}
.meta button{all:unset;cursor:pointer;color:var(--mute);text-decoration:underline;text-underline-offset:2px}
.meta button:hover{color:var(--ink)}
/* landing panel extras */
.sform{display:flex;align-items:center;gap:8px;height:48px;padding:0 6px 0 16px;border-radius:24px;background:var(--card);border:1px solid var(--glassB)}
.sform input{flex:1;min-width:0;border:0;outline:none;background:transparent;font:15px var(--sans);color:var(--ink)}
.sform input::placeholder{color:var(--mute)}
.sform button{padding:8px 14px}
#res{display:none;flex-direction:column;margin-top:8px;border-radius:16px;background:var(--card);border:1px solid var(--glassB);max-height:260px;overflow:auto}
#res.on{display:flex}
#res a,#res div{display:flex;justify-content:space-between;gap:10px;padding:10px 14px;text-decoration:none;color:var(--ink);font-size:14px}
#res a:hover,#res a.hi{background:var(--glass)}
#res .k{font-size:12px;color:var(--mute);white-space:nowrap}
#res .soon{color:var(--mute)}
/* DTA-320: the family row and the things under it (the shelf heading's weight, the step list's dot, the catalogue card's grey coming-soon row) */
#res div.fam{font-weight:500;padding-bottom:4px}
#res div.fam .k{font-weight:400}
#res a.in,#res div.in{padding:7px 14px 7px 30px;align-items:center}
#res .in .d{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block;margin-right:10px;flex:none}
#res .in.soon .d{background:transparent;border:1.3px solid var(--mute)}
#res .in b{font-weight:400;display:flex;align-items:center;flex:1 1 auto;min-width:56%;overflow:hidden;white-space:nowrap}
#res .in b span:last-child,#res .in b{text-overflow:ellipsis}
#res .in b span.t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#res .in .k{flex:0 1 auto;max-width:44%;overflow:hidden;text-overflow:ellipsis}
#res a.more{color:var(--mute);cursor:pointer}
#res a.more b{color:var(--ink)}
/* DTA-245: the empty state stays inside the results list. The grey line as now, then the nearest stories as ordinary result rows under a
   small kicker, then one quiet ask; after the tap the ask becomes one line of thanks. */
#res .h{padding:8px 14px 2px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);font-weight:500;border-top:1px solid var(--hair)}
#res a.ask{border-top:1px solid var(--hair);color:var(--mute);cursor:pointer}
#res a.ask b{font-weight:500;color:var(--ink);text-decoration:underline;text-underline-offset:2px}
#res a.ask:hover b,#res a.ask.hi b{color:var(--accent)}
#res div.asked{color:var(--mute);border-top:1px solid var(--hair);display:block;line-height:1.45}
#res div.asked b{color:var(--ink);font-weight:600}
.cap{margin-top:14px;font-size:13.5px;color:var(--mute);line-height:1.5}
.cap a{color:var(--ink);cursor:pointer}
.picks{margin-top:18px;padding-top:14px;border-top:1px solid var(--hair)}
.picks .kicker{margin-bottom:8px}
.picks a{display:flex;justify-content:space-between;gap:10px;padding:8px 0;text-decoration:none;color:var(--ink);font-size:14.5px;cursor:pointer}
.picks a span{font-size:12.5px;color:var(--mute)}
.picks a.soon{color:var(--mute);cursor:default}
/* DTA-261: the end-of-story "Go on to" rows, the front door's picks rows with the reason on the right */
.goon a span{white-space:nowrap}.goon a:hover{color:var(--accent)}
@media (max-width:820px){.goon a span{white-space:normal;text-align:right}}
/* clock */
.clock{position:absolute;right:32px;top:140px;text-align:right;z-index:5;transition:opacity .5s;border-radius:18px;padding:16px 20px 14px;min-width:200px;max-width:320px}
.clock.hide{opacity:0;pointer-events:none}
.clock .big{font-family:var(--serif);font-weight:400;font-size:56px;line-height:.95;letter-spacing:-.02em}
.clock .ago{font-size:12px;color:var(--mute);margin-top:2px}
.clock .sub{font-size:13px;color:var(--ink);margin-top:8px;font-weight:500}
.clock .sub small{display:block;color:var(--mute);font-weight:400;font-size:12px;margin-top:2px}
.clock .sea{margin-top:8px;font-size:12px;color:var(--mute)}
/* card */
.stack{position:absolute;z-index:6;pointer-events:none;transition:opacity .35s;max-width:280px}
.card{width:256px;background:var(--card);backdrop-filter:blur(22px) saturate(1.3);-webkit-backdrop-filter:blur(22px) saturate(1.3);border:1px solid var(--glassB);border-radius:16px;padding:14px 16px;box-shadow:0 8px 28px rgba(28,26,23,.08),inset 0 1px 0 var(--glassHi);transform:translateY(8px);opacity:0;animation:up .55s cubic-bezier(.2,.7,.2,1) forwards;pointer-events:auto}
@keyframes up{to{transform:none;opacity:1}}
.card .t{font-family:var(--serif);font-size:22px;display:flex;align-items:center;gap:10px;letter-spacing:-.01em;line-height:1.1}
.card .t i{width:20px;height:20px;border-radius:6px;background:var(--accent);display:inline-block;flex:none}
.card .m{font-size:12.5px;color:var(--mute);margin-top:4px;display:flow-root}
/* DTA-247: one quiet "Challenge this" on the grey meta line, right-aligned, the same type as the links under the story. It floats at the end of the line, so it adds no height when the last line has room, and drops under it only when it has not */
.card .m a.ch{color:var(--mute);text-decoration:underline;text-underline-offset:2px;cursor:pointer;white-space:nowrap;float:right;margin-left:14px}
.card .m a.ch:hover{color:var(--ink)}
.card .l{font-size:13px;line-height:1.5;margin-top:7px;opacity:.88}
.card .inv{font-size:12.5px;line-height:1.45;margin-top:8px;color:var(--mute)}
.card .inv a{color:var(--accent);font-weight:500;text-decoration:none;cursor:pointer}
/* DTA-260: the corrected line's only link is grey and underlined (the .meta button colours): a correction is a fact to check, not an ask */
.card .inv.fix a{color:var(--mute);font-weight:400;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}.card .inv.fix a:hover{color:var(--ink)}
/* bottom bits */
.level{position:absolute;left:32px;bottom:32px;z-index:5;display:flex;gap:6px;align-items:center;font-size:12.5px;color:var(--mute);padding:9px 14px;border-radius:999px}
.level i{width:26px;height:4px;border-radius:2px;background:var(--hair);display:inline-block}
.level i.on{background:var(--ink)}
.tools{position:absolute;left:32px;bottom:80px;z-index:5;display:flex;gap:8px}
.pill{font-size:12px;color:var(--mute);padding:7px 12px;border-radius:999px;cursor:pointer;display:flex;gap:6px;align-items:center;border:1px solid var(--glassB)}
.pill[aria-pressed="true"]{color:var(--ink)}
.pill i{width:9px;height:9px;border-radius:2px;display:inline-block}
.hint{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);font-size:12.5px;color:var(--mute);z-index:4;transition:opacity .4s;padding:7px 14px;border-radius:999px;white-space:nowrap}
.inset{position:absolute;right:32px;bottom:32px;width:220px;height:130px;border-radius:16px;z-index:5;opacity:0;transition:opacity .5s;overflow:hidden;pointer-events:none}
.inset.show{opacity:1}
.inset svg{width:100%;height:100%;display:block}
.inset .cap2{position:absolute;left:12px;bottom:8px;font-size:11px;color:var(--mute)}
.attr{position:absolute;right:32px;bottom:172px;font-size:10.5px;color:var(--mute);z-index:5;opacity:0;transition:opacity .5s;pointer-events:none;text-align:right}
.attr.show{opacity:.9}
.foot{position:absolute;right:32px;bottom:24px;font-size:11px;color:var(--mute);z-index:4;display:flex;gap:10px}
.foot button{all:unset;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.toast{position:absolute;left:50%;top:84px;transform:translateX(-50%);background:var(--ink);color:var(--cream);font-size:13px;padding:9px 14px;border-radius:999px;opacity:0;transition:opacity .3s;z-index:9;pointer-events:none}
.toast.show{opacity:1}
.lerr{margin:0 0 14px;padding:12px 14px;border-radius:14px;border:1px solid var(--hair);background:var(--card,rgba(255,255,255,.6));font-size:14px;line-height:1.45}.lerr[hidden]{display:none}.lerr b{display:block;font-weight:600;margin-bottom:2px}.lerr .row{display:flex;gap:8px;margin-top:10px}
/* map labels */
.lbl{font-family:var(--serif);font-size:21px;fill:var(--ink);letter-spacing:-.01em;paint-order:stroke;stroke:var(--halo);stroke-width:4px;stroke-linejoin:round}
.lbl2{font-family:var(--sans);font-size:12.5px;fill:var(--mute);paint-order:stroke;stroke:var(--halo);stroke-width:3px;stroke-linejoin:round}
.lbl2.bend{font-weight:600;font-size:13px}
/* dialogs (sources, confirm, privacy) */
.dlg{position:fixed;inset:0;z-index:20;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.18);padding:12px}
.dlg.on{display:flex}
.dlg .box{position:relative;width:min(520px,100%);max-height:calc(100vh - 24px);overflow:auto;border-radius:22px;padding:26px 28px;display:flex;flex-direction:column;gap:12px}
.dlg h3{margin:0;font-family:var(--serif);font-weight:400;font-size:32px;line-height:1.05}
.dlg p,.dlg li{margin:0;font-size:14px;line-height:1.55;opacity:.88}
.dlg ol,.dlg ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}
.dlg h4{margin:8px 0 0;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);font-weight:500}
/* DTA-260: the corrections list at the end of Sources: date, stop, what changed and which source it rests on */
.dlg ul.fix{padding-left:0;list-style:none;gap:8px}
.dlg ul.fix li{display:flex;gap:12px;font-size:13.5px;line-height:1.5}
.dlg ul.fix li time{flex:none;width:92px;color:var(--mute);font-size:12.5px;padding-top:1px}
.dlg ul.fix li b{font-weight:500}
@media (max-width:640px){.dlg ul.fix li{flex-direction:column;gap:2px}.dlg ul.fix li time{width:auto}}
/* DTA-321: the same list for every story at once ("What readers corrected"): a hairline between rows, the story name as the way to the stop, the credit in grey */
.dlg ul.fix.all{gap:0}.dlg ul.fix.all li{padding:10px 0;border-top:1px solid var(--hair)}.dlg ul.fix.all li:first-child{border-top:0;padding-top:2px}
.dlg ul.fix li b a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--hair);text-underline-offset:3px;cursor:pointer}.dlg ul.fix li b a:hover{text-decoration-color:var(--ink)}
.dlg ul.fix li .by{color:var(--mute)}
/* DTA-344: one grey credit line at the foot of Corrections, "With thanks to" in the serif, each name a quiet link to the change in What readers corrected */
.dlg .thanks{margin-top:2px;padding-top:12px;border-top:1px solid var(--hair);font-size:14px;line-height:1.55;color:var(--mute)}
.dlg .thanks[hidden]{display:none}
.dlg .thanks em{font-family:var(--serif);font-style:italic;font-size:17px;color:var(--ink);margin-right:4px}
.dlg .thanks a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--hair);text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.dlg .thanks a:hover{text-decoration-color:var(--ink)}
.dlg ul.fix.all li.here .by{color:var(--ink)}
.dlg .empty{padding:18px 0 6px;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);margin-top:4px}.dlg .empty[hidden]{display:none}
.dlg .empty b{display:block;font-family:var(--serif);font-weight:400;font-size:22px;line-height:1.15;margin-bottom:6px}
.dlg .empty span{font-size:13.5px;color:var(--mute);line-height:1.5;display:block}
.dlg p.msg a[data-fixes]{color:var(--mute);text-decoration:underline;text-underline-offset:2px;cursor:pointer}.dlg p.msg a[data-fixes]:hover{color:var(--ink)}
.dlg label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500}
.dlg label span{font-weight:400;color:var(--mute)}
.dlg textarea,.dlg input[type=text]{font:15px var(--sans);color:var(--ink);background:var(--card);border:1px solid var(--glassB);border-radius:12px;padding:10px 12px;outline:none}
.dlg textarea{min-height:96px;resize:vertical}
.dlg .chk{flex-direction:row;align-items:center;gap:10px;font-weight:400}
.dlg .row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.dlg .msg{font-size:13px;color:var(--mute)}
@media (max-width:820px){
  .brand span{display:none}.hud{padding:12px}.esc,.navx,.thm{display:none}.crumb{font-size:12px;padding:7px 10px}
  .panel{left:12px;right:12px;width:auto;top:auto;bottom:12px;padding:16px 18px 14px;border-radius:20px;max-height:58vh;transform:none}
  .panel.hide{transform:translateY(24px)}
  h1{font-size:34px;margin-bottom:10px}h1.sm{font-size:28px;margin-bottom:8px}.lede{font-size:13.5px;margin-bottom:10px}.kicker{margin-bottom:8px;font-size:10px}
  .steps{display:none;margin-top:4px}.panel.open .steps{display:block}
  .steps-btn{display:inline-flex}
  .steps li{padding:8px 0;font-size:13.5px}.ctl{margin-top:12px;gap:8px}button,.btn{padding:9px 13px;font-size:13px}
  .pclose{right:12px;top:10px;width:30px;height:30px}
  .clock{top:62px;left:12px;right:auto;text-align:left;padding:10px 14px 9px;min-width:0;border-radius:14px;max-width:62vw}.clock .big{font-size:30px}.clock .sub{font-size:12px;margin-top:4px}.clock .sub small{display:inline;margin-left:4px}.clock .ago{display:inline;margin-left:4px}.clock .sea{margin-top:4px}
  .stack{left:12px!important;right:12px;top:auto!important;max-width:none}.card{width:auto;padding:12px 14px}.card .t{font-size:19px}.card .l{font-size:12.5px}
  .hint,.level,.inset,.foot{display:none}.attr{right:12px;bottom:auto;top:62px;font-size:9.5px;max-width:150px;line-height:1.3}
  .tools{left:auto;right:12px;bottom:auto;top:116px;flex-direction:column;align-items:flex-end}
  .x{width:34px;height:34px}
  .sform{height:44px}.picks{margin-top:12px;padding-top:10px}.picks a{padding:6px 0;font-size:13.5px}
  #p1 .picks{display:none}#p1.open .picks{display:block}
}
@media (prefers-reduced-motion:reduce){.card{animation:none;opacity:1;transform:none}.panel,.clock,.stack{transition:none}}

.card .t svg.ic{color:var(--accent);flex:none;margin:-2px 0}
.pinic svg{color:var(--accent);overflow:visible;filter:drop-shadow(0 0 2px var(--halo)) drop-shadow(0 0 1px var(--halo))}

@media (min-width:821px){.steps{max-height:max(170px,calc(100vh - 540px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}}

/* DTA-109 items 15 and 17: step controls and the quiet zoom control */
.ctl .tp{display:flex;gap:8px;align-items:center}
.tb{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--hair);background:transparent;color:var(--ink);cursor:pointer;padding:0;transition:background .2s,opacity .2s}
.tb:hover{background:var(--hair)}.tb:disabled{opacity:.35;cursor:default;background:transparent}
.tb.play{width:48px;height:48px;background:var(--btn);color:var(--btnInk);border-color:transparent}.tb.play:hover{background:var(--btn);opacity:.9}
.tb:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tcap{font-size:12.5px;color:var(--mute);margin-left:4px;flex:1 1 auto;min-width:0;line-height:1.3}
.ctl-r{display:flex;gap:8px;margin-left:auto}
.zoomc{position:absolute;right:32px;top:50%;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:999px}
.zoomc button{width:26px;height:26px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;border-radius:50%;padding:0}
.zoomc button i{width:7px;height:7px;border-radius:50%;border:1.5px solid var(--mute);display:block;transition:all .25s}
.zoomc button.on i{background:var(--ink);border-color:var(--ink);transform:scale(1.15)}
.zoomc button:hover i{border-color:var(--ink)}.zoomc button:focus-visible{outline:2px solid var(--accent)}
#cv{pointer-events:none}
@media (max-width:820px){.zoomc{right:12px;top:36%}.tb{width:44px;height:44px}.tb.play{width:50px;height:50px}.tcap{display:none}}

.pnote{font-size:11.5px;color:var(--mute);margin:10px 0 0;line-height:1.4}

.wnext{margin-top:16px;border-top:1px solid var(--hair);padding-top:14px}
.wnext a{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 0;border-bottom:1px solid var(--hair);cursor:pointer;text-decoration:none;color:var(--ink)}
.wnext a b{font-family:var(--serif);font-weight:400;font-size:18px}.wnext a span{grid-column:1;font-size:12.5px;color:var(--mute)}
.wnext a i{grid-column:2;grid-row:1 / span 2;align-self:center;font-style:normal;font-size:11.5px;color:var(--mute);border:1px solid var(--hair);border-radius:999px;padding:3px 9px}
.wnext a:hover b{color:var(--accent)}
.qmark text{fill:var(--ink)}
/* DTA-303: a leg already travelled is a faint line with its label, badge and "?" hidden; hovered or tapped it comes back for a while */
g.leg{transition:opacity .25s}
g.leg[data-quiet]{opacity:.22}
g.leg[data-quiet] .mbadge-g,g.leg[data-quiet] .qmark,g.leg[data-quiet] text{visibility:hidden}
g.leg[data-quiet].loud{opacity:.8}
g.leg[data-quiet].loud .mbadge-g,g.leg[data-quiet].loud .qmark,g.leg[data-quiet].loud text{visibility:visible}
g.leg .hit{pointer-events:stroke;cursor:pointer}
text.qlbl{opacity:.85}
text.qlbl,text.rlbl{pointer-events:none} /* a label never sits between the pointer and the leg under it, or the hover would flap on and off */

/* DTA-109 item 22: Layers pill and sheet (placement agreed 14 Nov 19:50). Desktop: zoom dots bottom right, pill to their left, sheet opens upwards */
.zoomc{top:auto;bottom:64px;transform:none}
.layers-btn{position:absolute;right:84px;bottom:64px;z-index:6;display:flex;align-items:center;gap:7px}
.tools{display:none}
.inset{bottom:150px}.attr{bottom:290px}
.lsheet{position:absolute;right:84px;bottom:112px;width:340px;z-index:7;border-radius:18px;padding:14px 16px 6px;max-height:calc(100vh - 220px);overflow:auto}
.lsheet .kicker{margin-bottom:6px}
.lrow{display:grid;grid-template-columns:1fr auto;gap:2px 14px;align-items:center;padding:9px 0;border-top:1px solid var(--hair)}
.lrow:first-child{border-top:0}
.lrow b{font-weight:500;font-size:14px}.lrow span{grid-column:1;font-size:12px;color:var(--mute);line-height:1.35}
.lrow .sw{grid-column:2;grid-row:1 / span 2}
.lrow.na b,.lrow.na span{opacity:.45}.lrow.na .sw{opacity:.35;cursor:default}
.hkey{display:block;margin-top:7px}.hkey .bar{display:flex;height:8px;border-radius:4px;overflow:hidden}.hkey .bar i{flex:1;display:block}.hkey .lab{display:flex;justify-content:space-between;gap:6px;font-size:11px;white-space:nowrap;color:var(--mute);margin-top:4px}@media (max-width:640px){.hkey .lab{font-size:10px}}.hkey .lab em{font-style:normal} /* DTA-195: the height key under the Terrain row */
.lna,.lsheet .ks{display:none}
@media (max-width:820px){.lna,.lsheet .ks{display:block}.lsheet .kl{display:none}}
.sw{width:38px;height:22px;border-radius:999px;border:0;background:var(--hair);position:relative;cursor:pointer;padding:0;transition:background .2s}
.sw::after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--cream);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .2s}
.sw[aria-checked="true"]{background:var(--ink)}.sw[aria-checked="true"]::after{transform:translateX(16px)}
.sw:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (max-width:820px){
  .zoomc{top:36%;bottom:auto}
  .layers-btn{right:12px;bottom:auto;top:116px}
  /* DTA-138: a short strip above the story panel: the switches that work at this date in two columns, a name opens its note */
  .lsheet{right:12px;left:12px;width:auto;top:auto;bottom:auto;padding:10px 12px 8px;border-radius:16px}
  .lsheet .kicker{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}
  #lrows{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}
  .lrow{min-height:44px;padding:4px 0;border-top:0;gap:0 8px}
  .lrow b{font-size:13px;line-height:1.2;cursor:pointer;text-decoration:underline dotted;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--hair)}
  .lrow span{display:none}
  .lrow.na{display:none}
  .lrow.open{grid-column:1 / -1}.lrow.open span{display:block;padding-top:2px}
  .lrow .sw{grid-row:1}
  .lna{grid-column:1 / -1;font-size:11.5px;color:var(--mute);padding:4px 0 2px;border-top:1px solid var(--hair);margin-top:2px}
}
.nolabels #ov text,.nolabels .lbl{display:none}
@media (max-width:820px){.sheet-open #stack,.sheet-open #zc{opacity:0!important;pointer-events:none}}

/* DTA-133: a forecast step reads as a guess: italic, dotted underline, smaller so a sentence fits */
#cy.guess { font-style: italic; font-size: 30px; line-height: 1.15; max-width: 220px; text-align: right; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 6px; opacity: .9; }
:root { --veg: #A7B98A; --lake: #8FB7C9; }
html.dark { --veg: #5E7246; --lake: #3E6A80; }
@media (prefers-color-scheme: dark) { html:not(.light) { --veg: #5E7246; --lake: #3E6A80; } }

/* item 20: in a change-in-place act the step list reads as dates, with what happened under each */
.steps .n .dt { display: block; font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
.steps li:not(.on):not(.done) .n .dt { color: var(--mute); }
@media (max-width: 700px) { #cy.guess { font-size: 21px; max-width: 170px; } }

/* DTA-142: the parent story, as a link in the lede and folded under the steps */
.plink { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; }
/* DTA-246: a stop that points to another story; grey with "Coming soon" when that story is not live yet */
.card .inv.soon a{color:var(--mute);font-weight:400;cursor:default}
.meta button.olink{color:var(--ink)}
.longer { margin: 10px 0 4px; border-top: 1px solid var(--rule, rgba(0,0,0,.08)); padding-top: 10px; }
.longer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; letter-spacing: .02em; }
.longer summary::-webkit-details-marker { display: none; }
.longer summary span::before { content: '+'; display: inline-block; width: 14px; color: var(--mute); }
.longer[open] summary span::before { content: '\2212'; }
.longer summary small { color: var(--mute); font-size: 12px; }
.longer ol { list-style: none; margin: 8px 0 10px 14px; padding: 0; }
.longer ol li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; color: var(--mute); }
.longer ol li .y { font-size: 12px; white-space: nowrap; }
.longer .plink.go { display: inline-block; font-size: 13px; margin-left: 14px; }
#cy.words { font-size: 30px; line-height: 1.15; max-width: 220px; text-align: right; }
@media (max-width: 700px) { #cy.words { font-size: 21px; max-width: 62vw; text-align: left; } } /* DTA-149: on a phone the clock reads left to right, like the place under it */
.longer ol li .n { flex: 0 0 auto; }
.longer ol li .y { min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: right; }
@media (max-width: 700px) { .longer { display: none; } #stack { overscroll-behavior: contain; } } /* DTA-152: phone keeps step lists out of the panel (rule 19); the intro link is the way to the longer story */
@media (max-width: 700px) { .attr { bottom: auto !important; height: auto; } } /* DTA-152: the credit line's box was stretched down over the map on phones */

/* DTA-200: roots and branches */
.btabs{display:flex;flex-wrap:wrap;gap:4px;padding:3px;border-radius:18px;border:1px solid var(--hair);margin:2px 0 10px;width:max-content;max-width:100%;box-sizing:border-box} /* DTA-240: long branch names wrap onto a second line inside the panel, never scroll out of it */
.btabs[hidden]{display:none}
.btabs button{font:500 12.5px var(--sans,inherit);padding:6px 12px;border-radius:999px;border:0;color:var(--mute);background:transparent;display:flex;align-items:center;gap:6px;white-space:nowrap;max-width:100%;min-width:0}
.btabs button.on{background:var(--cream);color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.08)}
.btabs i,.bcol h4 i,.brow i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}
/* DTA-265: the branching step list reads in order; the split line, a branch heading and a folded branch are rows of the one list */
.steps li.split{justify-content:center;cursor:default;padding:8px 0;border-bottom:0;font-size:12px}
.steps li.split em{font-family:var(--serif);font-style:italic;font-size:14px;color:var(--mute)}
.steps li.bh{cursor:default;align-items:center;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);padding:12px 0 6px;border-bottom:0}
.steps li.bh>span:first-child,.steps li.fold>span:first-child{display:flex;gap:8px;align-items:center}
.steps li.bh .y{letter-spacing:0;text-transform:none;font-weight:400}
.steps li.bh i,.steps li.fold i{width:9px;height:9px;border-radius:2px;display:inline-block;flex:none}
.steps li.b{padding-left:17px}
.steps li.b .dot{border-color:var(--bc)}.steps li.b.on .dot,.steps li.b.done .dot{background:var(--bc);border-color:var(--bc)}
.steps li.fold{opacity:.65;align-items:center}.steps li.fold>span:first-child{color:var(--mute)}
.steps li.bcols{display:grid;grid-template-columns:1fr 1fr;gap:16px;cursor:default;padding:4px 0 6px;align-items:start}
.bcol h4{margin:8px 0 2px;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);display:flex;gap:6px;align-items:center}
.bcol ol{list-style:none;margin:0;padding:0}
.bcol li{display:block;padding:7px 0;border-bottom:1px solid var(--hair);font-size:13.5px;cursor:pointer;color:var(--mute);line-height:1.3}
.bcol li:last-child{border-bottom:0}
.bcol li>span:first-child{display:block}.bcol li .dot{display:none}
.bcol li .y{display:block;text-align:left;max-width:none;white-space:normal;font-size:12px}
.bcol li.on{color:var(--ink)}.bcol li.on .n{font-weight:600}
.steps li.brow{align-items:center}.steps li.brow>span:first-child{display:flex;gap:10px;align-items:center;color:var(--ink)}

/* DTA-197: how it travelled */
.card .how{margin-top:8px;border-top:1px solid var(--hair)}
.card .how .r{display:flex;gap:10px;align-items:flex-start;padding:7px 0 0;font-size:12.5px;line-height:1.4}
.card .how .r svg{flex:none}.card .how .r .sp{width:26px;flex:none}
.card .how .r b{font-weight:600;display:block;color:var(--ink)}.card .how .r.run b{display:inline}.card .how .r span{color:var(--mute)}
/* DTA-266: the source numeral at the end of a row's line, the same small grey figure as the sources row; a tap opens the Sources list at it */
.card .how .r a.n{font-style:normal;font-size:11px;color:var(--mute);opacity:.75;text-decoration:none;cursor:pointer;margin-left:4px;vertical-align:super;line-height:0}
.card .how .r a.n:hover{color:var(--ink);opacity:1}
.card .how.iname .r .sp{display:none} /* DTA-298: the Indigenous-name row has no badge, so it sits flush with the card's text */
/* DTA-246: a stop that points to another story; grey with "Coming soon" when that story is not live yet */
.card .inv.soon a{color:var(--mute);font-weight:400;cursor:default}
.meta button.olink{color:var(--ink)}
/* DTA-189: sources per stop on the step card, in the hairline-row style of "How it travelled"; the dialog leads with them */
.card .srow{margin-top:8px;border-top:1px solid var(--hair);padding-top:7px}
.card .srow .h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12.5px}
.card .srow .h b{font-weight:600;color:var(--ink)}
.card .srow .h a{color:var(--mute);text-decoration:underline;text-underline-offset:2px;cursor:pointer;white-space:nowrap}
.card .srow .s{display:flex;gap:8px;align-items:baseline;font-size:12px;line-height:1.35;color:var(--mute);padding-top:4px;cursor:pointer}
.card .srow .s i{font-style:normal;min-width:16px;text-align:right;opacity:.6;flex:none}
.card .srow .s:hover span{color:var(--ink)}
/* DTA-346: under a source whose link moved or went, one quieter line, on the card and in the dialog; the archived copy is the link */
.card .srow .s>span{display:flex;flex-direction:column;gap:1px}
.card .srow .s .n{font-size:11.5px;color:var(--mute);opacity:.85}
.card .srow .s .n a{color:var(--mute);text-decoration:underline;text-underline-offset:2px}
.card .srow .s .n a:hover{color:var(--ink)}
.dlg ol li .n{display:block;font-size:12.5px;color:var(--mute);line-height:1.45;margin-top:1px}
.dlg ol li .n a{color:var(--mute);text-decoration-color:var(--hair)}
.dlg ol li .n a:hover{text-decoration-color:var(--ink)}
.dlg .forstop{background:var(--card);border:1px solid var(--glassB);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.dlg .forstop .kicker{margin:0}
.dlg li.hi{color:var(--ink);opacity:1;font-weight:500}
/* DTA-267: "What we are not sure of", the quiet box at the top of the Sources dialog, and the "?" on an open step in the step list */
.steps li .q{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:1px solid var(--mute);font-size:10px;font-weight:600;line-height:1;color:var(--mute);margin-left:8px;vertical-align:1px;flex:none}
.dlg .notsure{border-radius:14px;padding:12px 14px;background:var(--glassHi);border:1px solid var(--hair)}
.dlg .notsure h4{margin-top:0}
.dlg ul.open{list-style:none;margin:0;padding:0;gap:0}
.dlg ul.open li{display:block;padding:8px 0;border-bottom:1px solid var(--hair);font-size:14px;line-height:1.5;opacity:1}
.dlg ul.open li:last-child{border-bottom:0;padding-bottom:2px}
.dlg ul.open li b{font-weight:600}.dlg ul.open li b a{color:var(--ink);text-decoration:none;cursor:pointer}.dlg ul.open li b a:hover{text-decoration:underline;text-underline-offset:3px}
.dlg ul.open li .w{color:var(--mute)}
.dlg ul.open li .go{color:var(--accent);font-weight:500;text-decoration:none;cursor:pointer;white-space:nowrap}

/* DTA-258: a stop that turns a layer on says so in the card's last row, with the Layers sheet's own switch */
/* DTA-302: the hand-over card between branches is the step card with the branch's square, a Continue button and a thin line that fills */
.card.hand .t i.b{background:var(--bc)}
.card.hand .go{display:flex;align-items:center;gap:12px;margin-top:12px}
.card.hand .go button{padding:8px 14px;font-size:13px;white-space:nowrap}
.card.hand .go span{font-size:12px;color:var(--mute)}
.card.hand .bar{height:2px;background:var(--hair);border-radius:2px;margin-top:12px;overflow:hidden}
.card.hand .bar i{display:block;height:100%;width:0;background:var(--bc)}
.card.hand .bar[data-run] i{animation:handfill linear forwards}
@keyframes handfill{from{width:0}to{width:100%}}
.order{font-size:12px;color:var(--mute);margin-top:8px}
@media (max-width:820px){.card.hand{display:flex;flex-direction:column}.card.hand .l{order:5;margin-top:10px}.card.hand .go{margin-top:10px}} /* phone: Continue before the context line, so it is never scrolled out of reach */
.steps li.bh.next .y{color:var(--ink);font-weight:600}
.steps li.bh.next span:first-child{color:var(--ink)}
.card .lay{margin-top:8px;border-top:1px solid var(--hair)}
.card .lay .r{display:flex;align-items:flex-start;gap:10px;padding:8px 0 0;font-size:12.5px;line-height:1.4;color:var(--mute)}
.card .lay .sw{flex:none;width:32px;height:19px;margin-top:1px}.card .lay .sw::after{width:13px;height:13px}.card .lay .sw[aria-checked="true"]::after{transform:translateX(13px)}
.card .lay .r>span{flex:1 1 auto;min-width:0}
.card .lay b{font-weight:600;color:var(--ink)}
.card .lay a{margin-left:auto;padding-left:8px;color:var(--mute);text-decoration:underline;text-underline-offset:2px;cursor:pointer;white-space:nowrap}
.card .lay a:hover,.card .lay a:focus-visible{color:var(--ink)}
/* DTA-257: a disputed stop. The card is wider so the two readings sit side by side on the sources row's hairline */
.card.wide{width:340px}
.card .srow.dis .two{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;margin-top:6px}
.card .srow.dis .two>div+div{border-left:1px solid var(--hair);padding-left:14px}
.card .srow.dis .two .y{font-family:var(--serif);font-size:19px;line-height:1.05;color:var(--ink)}
.card .srow.dis .two .w{font-size:12px;line-height:1.4;color:var(--mute);margin-top:4px}
.card .srow.dis .two .s{padding-top:6px}
.clock .sea.dis{margin-top:6px}
@media (max-width:640px){.card.wide{width:auto}.card .srow.dis .two{gap:0 12px}.card .srow.dis .two>div+div{padding-left:12px}.card .srow.dis .two .y{font-size:17px}}
/* DTA-311: a card taller than its box says so. While there is more below, three quiet things: the thin scrollbar the step list uses,
   a fade of the card's own glass over the last 72 px, and one grey line in the fade, "More below", with the panel's chevron. A tap on
   the line scrolls one screen of card. At the end, or on a card that fits, the fade and the line go (opacity, 250 ms). */
.stack{border-radius:16px;scrollbar-width:thin;scrollbar-color:var(--hair) transparent}
.stack::-webkit-scrollbar{width:6px}.stack::-webkit-scrollbar-thumb{background:var(--hair);border-radius:3px}
.stack .cue{position:sticky;bottom:0;height:0;display:none;pointer-events:none}
.stack.scrolls .cue{display:block}
.stack .cue .fade{position:absolute;left:0;right:0;bottom:0;height:72px;pointer-events:none;opacity:1;transition:opacity .25s;background:linear-gradient(to bottom,var(--fade0) 0%,var(--fadeTo) 70%)}
.stack .cue .more{position:absolute;left:0;right:0;bottom:9px;display:flex;justify-content:center;transition:opacity .25s}
.stack .cue .more span{pointer-events:auto;cursor:pointer;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--mute);border-radius:6px;padding:0 4px}
.stack .cue .more span:hover,.stack .cue .more span:focus-visible{color:var(--ink);outline:none}
.stack .cue .more span svg{flex:none}
.stack.end .cue .fade,.stack.end .cue .more{opacity:0}.stack.end .cue .more span{pointer-events:none}
:root{--fade0:rgba(248,245,239,0);--fadeTo:#F8F5EF}
html.dark{--fade0:rgba(29,31,30,0);--fadeTo:#1D1F1E}
@media (prefers-color-scheme:dark){html:not(.light){--fade0:rgba(29,31,30,0);--fadeTo:#1D1F1E}}
@media (max-width:640px){.stack .cue .fade{height:56px}.stack .cue .more{bottom:6px}}

/* DTA-201: the Buildings layer's labels, the pins' serif and sans */
.bld .bl{font-family:var(--serif);font-size:15px;fill:var(--ink);paint-order:stroke;stroke:var(--halo);stroke-width:3px;stroke-linejoin:round}
.bld .bm{font-family:var(--sans);font-size:11px;fill:var(--mute);paint-order:stroke;stroke:var(--halo);stroke-width:3px;stroke-linejoin:round}

/* DTA-272 (mockup /phone-fold/, pattern reuse): on a phone, while a step past the first is shown, the story panel folds to two rows, the
   story's title on one line with "About" and the transport row as it is. The intro, read at the start, sits behind a tap on the title;
   the step card and the stop get the room back. A tap on the title opens the panel to what it is today, with "Hide" where "About" was,
   over a faint veil; Hide, the veil or the next step folds it again. The desktop never folds. */
.ttl,.veil{display:none}
@media (max-width:820px){
  .panel .ttl{display:none;width:100%;align-items:center;gap:10px;padding:2px 4px 10px;margin:0;border:0;background:none;border-radius:0;color:var(--ink);font:inherit;text-align:left;font-weight:400}
  .panel.fold .ttl,.panel.peek .ttl{display:flex}
  .panel .ttl b{font:400 17px/1.2 var(--serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto;min-width:0}
  .panel .ttl span{font-size:12px;color:var(--mute);display:flex;align-items:center;gap:5px;white-space:nowrap;margin-left:auto;flex:none}
  .panel .ttl svg{flex:none}
  .panel.fold{padding:12px 14px 12px;overflow:hidden}
  .panel.fold.open{overflow:auto}
  .panel.fold .pclose,.panel.fold .kicker,.panel.fold h1,.panel.fold .lede,.panel.fold:not(.open) .btabs,.panel.fold .meta,.panel.fold .wnext,.panel.fold .goon{display:none}
  .panel.fold .ctl{margin-top:0}
  .panel.fold.open .steps{margin:0 0 10px}
  .panel.peek .ttl{justify-content:flex-end;padding:0 30px 4px 0;margin-top:-4px}
  .panel.peek .ttl b{display:none}
  .veil{display:block;position:absolute;inset:0;z-index:5;background:rgba(28,26,23,.08);border:0;padding:0;border-radius:0;cursor:default}
  .veil[hidden]{display:none!important}
}

/* DTA-335: on desktop the story panel is a column that fits the screen. The transport row, the end row and the Sources row keep their full
   height; the step list gives up room first (down to about three rows) and then the introduction does, scrolling inside itself with a fade at
   its foot. So Play, the step count, Sources and Suggest a correction are in view at open on every story, however long its introduction. */
@media (min-width:821px){
  #p2,#p3{display:flex;flex-direction:column}
  #p2>*,#p3>*{flex:none}
  #p2>.steps,#p3>.steps{flex:0 3 auto;min-height:120px;margin-top:0}
  #p2>.lede,#p3>.lede{flex:0 1 auto;min-height:72px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  #p2>.lede.more,#p3>.lede.more{-webkit-mask-image:linear-gradient(#000 calc(100% - 2.4em),transparent);mask-image:linear-gradient(#000 calc(100% - 2.4em),transparent)}
}
/* DTA-345: a place page (mockup /place-jamaica/, pattern reuse). The story panel holding a place: three blocks the site already has.
   Its first name is the step card's shape inside the panel; First land is the step list's rows; Stories that pass through are the
   search result rows, each a story with the stop it opens at. A row pointed at lights its stop and shows that stop's own card. */
.pb .sec{margin-top:18px;padding-top:12px;border-top:1px solid var(--hair)}
.pb .sec .kicker{margin-bottom:8px;display:flex;justify-content:space-between;align-items:baseline;padding-right:0}
.pb .sec .kicker a,.pb .sec .kicker span.n{letter-spacing:0;text-transform:none;font-weight:400;font-size:12px;color:var(--mute)}
.pb .sec .kicker a{text-decoration:underline;text-underline-offset:2px;cursor:pointer}.pb .sec .kicker a:hover{color:var(--ink)}
.pb .who{background:var(--card);border:1px solid var(--glassB);border-radius:16px;padding:13px 16px;box-shadow:0 8px 28px rgba(28,26,23,.06)}
.pb .who .t{font-family:var(--serif);font-size:24px;line-height:1.1;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pb .who .t small{font-family:var(--sans);font-size:12.5px;color:var(--mute)}
.pb .who .m{font-size:12.5px;color:var(--mute);margin-top:4px;line-height:1.45}
.pb .who .l{font-size:13px;line-height:1.5;margin-top:7px;opacity:.9}
.pb .who .l a.n{font-style:normal;color:var(--mute);font-size:11px;vertical-align:super;margin-left:2px;text-decoration:none;cursor:pointer}
.pb ol.steps{list-style:none;margin:0;padding:0;display:block;max-height:none;border-top:0} /* the place page's rows always show, on a phone too */.pb .steps li{cursor:pointer}.pb .steps li.hov,.pb .steps li:hover{color:var(--ink)}
.pb .steps li .y.g{font-style:italic;font-family:var(--serif);font-size:13.5px}
.pb .rows{display:flex;flex-direction:column;border-radius:16px;background:var(--card);border:1px solid var(--glassB);overflow:hidden}
.pb .rows a{display:flex;justify-content:space-between;gap:10px;padding:10px 14px;text-decoration:none;color:var(--ink);font-size:14px;align-items:baseline;cursor:pointer}
.pb .rows a+a{border-top:1px solid var(--hair)}
.pb .rows a:hover,.pb .rows a.hov,.pb .rows a:focus-visible{background:var(--glass);outline:none}
.pb .rows a b{font-weight:500}
.pb .rows a .w{display:block;font-size:12px;color:var(--mute);margin-top:2px}
.pb .rows .k{font-size:12px;color:var(--mute);white-space:nowrap;text-align:right}
.pb .rows a.soon{color:var(--mute)}.pb .rows a.soon b{font-weight:400}
.pstack{position:absolute;z-index:6;width:280px;pointer-events:none}
.pstack .card .go{font-size:12px;color:var(--mute);margin-top:8px}
@media (max-width:820px){.pstack{left:12px;right:12px;width:auto}}
