/* Layout: one object on paper. Title and framed views top-left, About top-right, a small map cluster bottom-right,
   one card bottom-left (the wind, "look through the water", the satellite switch), one instrument bar along the bottom (a two-step sheet on phones).
   Light palette only, by choice. */
:root {
  --ink: #0F2638; --ink-2: #3D5466; --ink-3: #66798A; --hair: rgba(15, 38, 56, 0.10);
  --paper: #EEF2F3; --card: rgba(249, 250, 250, 0.9); --card-solid: #F9FAFA;
  --water: #2F7FB8; --water-ink: #24628F; --water-soft: #D3E6F2;
  --sand: #D9C6A0; --clay: #9C7442; --sun: #E8A04A; --sun-soft: #F6D9AE;
  --ramp: #0F2638; --marina: #2F7FB8; --park: #5E7140;
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --t-xs: 11px; --t-s: 13px; --t-m: 15px; --t-l: 18px; --t-xl: 24px; --t-num: 42px;
  --r: 14px; --shadow: 0 1px 2px rgba(15, 38, 56, 0.05), 0 10px 30px -12px rgba(15, 38, 56, 0.22);
  --bar-h: 244px;
  color-scheme: light;
}
html, body { height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-m)/1.45 var(--font-body); -webkit-font-smoothing: antialiased; overflow: hidden; }
* { box-sizing: border-box; }
button { font: inherit; color: inherit; }
a { color: var(--water-ink); }
:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font: 600 var(--t-xs)/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

.app { position: relative; height: 100%; width: 100%; overflow: hidden; isolation: isolate; background: radial-gradient(120% 70% at 50% 0%, #E3ECF1 0%, var(--paper) 55%), var(--paper); }
.app::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.stage { position: absolute; inset: 0; touch-action: none; cursor: grab; outline: none; }
.stage.dragging { cursor: grabbing; }
.stage:focus-visible { outline: 2px solid var(--water); outline-offset: -4px; border-radius: 0; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 900ms ease; }
#gl.on { opacity: 1; }
.labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.labels, .bar svg, .chart, .spark, .cluster, .stage, .lowerleft { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.year-mark { position: absolute; z-index: 2; left: 300px; bottom: calc(var(--bar-h) + 40px); font: 600 64px/1 var(--font-display); letter-spacing: -0.04em; color: rgba(15, 38, 56, 0.13); pointer-events: none; font-variant-numeric: tabular-nums; }

/* ---- labels on the model */
.lbl { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; }
.lbl.town { font: 600 10px/1 var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(15, 38, 56, 0.6); text-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 2px rgba(255, 255, 255, 0.9); }
.lbl.river { font: italic 600 13px/1 var(--font-body); letter-spacing: 0.04em; color: var(--water-ink); text-shadow: 0 0 6px rgba(255, 255, 255, 0.85); }
.lbl.road { font: 600 10px/1 var(--font-display); letter-spacing: 0.06em; color: var(--ink-2); background: rgba(249, 250, 250, 0.84); padding: 3px 5px; border-radius: 3px; }
.lbl.overflow { font: italic 600 11.5px/1 var(--font-body); color: var(--water-ink); background: rgba(249, 250, 250, 0.86); padding: 3px 6px; border-radius: 3px; }
.lbl.dam { font: 600 12px/1 var(--font-display); letter-spacing: 0.02em; color: var(--ink); background: rgba(249, 250, 250, 0.92); padding: 6px 9px; border-radius: 999px; box-shadow: 0 1px 2px rgba(15, 38, 56, 0.12); display: inline-flex; gap: 8px; align-items: baseline; }
.lbl.dam a { pointer-events: auto; font: 500 11px/1 var(--font-body); color: var(--water-ink); text-decoration: none; }
.lbl.dam a:hover { text-decoration: underline; }
.lbl.dam .dambtn { all: unset; cursor: pointer; } .lbl.dam .dambtn:hover { text-decoration: underline; text-underline-offset: 3px; } .lbl.dam .dambtn:focus-visible { outline: 2px solid var(--water); outline-offset: 4px; border-radius: 4px; }
.lbl.depth { font: italic 600 10.5px/1 var(--font-body); color: #1D4A73; text-shadow: 0 0 3px rgba(255, 255, 255, 0.95), 0 0 1px rgba(255, 255, 255, 0.95); transform-origin: 50% 50%; }

.pin { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; --c: var(--ramp); }
.pin[data-type="marina"] { --c: var(--marina); }
.pin[data-type="trail"], .pin[data-type="park"] { --c: var(--park); }
.pin[data-type="dam"] { --c: var(--clay); }
.pin .stem { position: absolute; left: -0.5px; bottom: 0; width: 1px; height: 14px; background: rgba(15, 38, 56, 0.55); }
.pin .stem::after { content: ""; position: absolute; left: -2px; bottom: 0; width: 5px; height: 1px; background: rgba(15, 38, 56, 0.55); }
.pin .dot { position: absolute; left: -10px; top: -28px; width: 20px; height: 20px; pointer-events: auto; border-radius: 50%; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; }
.pin .dot::before { content: ""; position: absolute; left: 6.5px; top: 6.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px #FAFBFB; transition: transform 140ms ease; }
.pin .dot:hover::before, .pin .dot:focus-visible::before, .pin.show .dot::before { transform: scale(1.5); }
.pin .dot:focus-visible { outline: 2px solid var(--water); outline-offset: 0; }
.pin.sel { z-index: 3; }
.pin.sel .dot::before { transform: scale(1.7); box-shadow: inset 0 0 0 1px #FAFBFB, 0 0 0 3px rgba(250, 251, 251, 0.85); }
.pin.sel .tag { display: none !important; }
.pin.mini .stem { display: none; }
.pin.mini .dot { top: -10px; }
.pin.mini .dot::before { width: 6px; height: 6px; left: 7px; top: 7px; opacity: 0.85; }
.pin .tag { position: absolute; left: 0; top: -30px; transform: translate(-50%, -100%); background: rgba(249, 250, 250, 0.94); border-radius: 7px; padding: 3px 7px 4px; box-shadow: 0 1px 2px rgba(15, 38, 56, 0.12); white-space: nowrap; display: none; gap: 1px; pointer-events: none; }
.pin.below .tag { top: 4px; transform: translate(-50%, 0); }
.pin .tag .nm { font: 600 11.5px/1.25 var(--font-display); color: var(--ink); display: block; }
.pin .tag i { display: none; font: 400 12px/1.2 var(--font-body); font-style: normal; color: var(--ink-3); }
.pin.named .tag, .pin.show .tag { display: grid; pointer-events: auto; cursor: pointer; }
.pin.show { z-index: 3; }
.pin.show .tag { pointer-events: auto; padding: 6px 9px 7px; background: var(--card-solid); box-shadow: var(--shadow); }
.pin.show .tag .nm { font-size: 13px; }
.pin.show .tag i { display: block; }

/* ---- chrome */
.scrim { position: absolute; z-index: 2; inset: 0 auto auto 0; width: 760px; height: 280px; pointer-events: none; background: radial-gradient(ellipse at 0 0, rgba(238, 242, 243, 0.97) 0%, rgba(238, 242, 243, 0.85) 38%, rgba(238, 242, 243, 0) 74%); }
.brand { position: absolute; z-index: 3; left: 28px; top: 24px; display: grid; gap: 6px; pointer-events: none; max-width: 440px; }
.brand h1 { margin: 0; font: 600 28px/1.08 var(--font-display); letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.brand h2 { margin: 0; font: 400 var(--t-m)/1.45 var(--font-body); color: var(--ink-2); white-space: nowrap; transition: opacity 300ms ease; } /* one line */
.brand h2.quiet { opacity: 0; }
/* Map | 3D (D-020): a small segmented switch beside the title; on phones it leads the row of framed views */
.brand-row { display: flex; align-items: center; gap: 14px; }
.view-switch { display: inline-flex; flex: none; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--hair); pointer-events: auto; }
.view-switch a { padding: 6px 12px; border-radius: 999px; font: 600 12px/1 var(--font-display); letter-spacing: 0.02em; color: var(--ink-2); text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.view-switch a:hover { color: var(--ink); }
.view-switch a[aria-current="page"] { background: var(--ink); color: #fff; }
.views { position: absolute; z-index: 3; left: 22px; top: 112px; display: flex; flex-wrap: wrap; gap: 2px; max-width: 560px; }
.views { transition: transform 300ms ease; } .views.up { transform: translateY(var(--dek-shift, 0)); }
.views button { border: 0; background: none; padding: 6px 9px; border-radius: 999px; font: 600 12px/1 var(--font-display); letter-spacing: 0.02em; color: var(--ink-2); cursor: pointer; }
.views button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.views button[aria-pressed="true"] { color: var(--ink); background: var(--card-solid); box-shadow: var(--shadow); }
.topright { position: absolute; z-index: 3; right: 18px; top: 18px; display: flex; align-items: center; gap: 10px; padding: 2px 8px 2px 6px; border-radius: 999px; background: rgba(238, 242, 243, 0.78); }
.linkbtn { border: 0; background: none; cursor: pointer; padding: 6px 4px; font: 600 12px/1 var(--font-display); letter-spacing: 0.02em; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(15, 38, 56, 0.25); text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.seg { display: inline-flex; background: rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 2px; box-shadow: inset 0 0 0 1px var(--hair); }
.seg button { border: 0; background: none; cursor: pointer; padding: 5px 9px; border-radius: 999px; font: 600 12px/1 var(--font-display); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.cluster { position: absolute; z-index: 3; right: 22px; bottom: calc(var(--bar-h) + 40px); display: grid; gap: 6px; justify-items: center; }
.cluster button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--card-solid); box-shadow: var(--shadow), inset 0 0 0 1px var(--hair); cursor: pointer; font: 500 20px/1 var(--font-body); color: var(--ink); display: grid; place-items: center; }
.cluster button:hover { background: #fff; }
.cluster #zoomIn { border-radius: 10px 10px 2px 2px; }
.cluster #zoomOut { border-radius: 2px 2px 10px 10px; margin-top: -5px; }
.cluster .compass { border-radius: 50%; touch-action: none; }
.cluster .compass svg { width: 26px; height: 26px; }
.cluster #north { transform-origin: 12px 12px; transform-box: view-box; }
.cluster .tilt { font: 600 11px/1 var(--font-display); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

.hint { position: absolute; z-index: 4; left: 50%; top: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font: 500 13px/1.3 var(--font-body); padding: 8px 8px 8px 16px; border-radius: 999px; box-shadow: var(--shadow); transition: opacity 400ms ease; white-space: nowrap; }
.hint button { border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; }
.hint.fade { opacity: 0; }
.hint button.go { width: auto; height: 26px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 12px/1 var(--font-display); letter-spacing: 0.01em; }
.hint button.go:hover { background: var(--sun-soft); }

/* place card */
.poipop { position: absolute; z-index: 4; left: 0; top: 0; width: 264px; background: var(--card-solid); border-radius: 12px; box-shadow: var(--shadow), 0 0 0 1px var(--hair); padding: 12px 40px 12px 14px; outline: none; }
.poipop::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: var(--card-solid); transform: rotate(45deg); box-shadow: 1px 1px 0 var(--hair); }
.poipop.below::after { bottom: auto; top: -6px; box-shadow: -1px -1px 0 var(--hair); }
.pp-item { display: grid; gap: 3px; justify-items: start; }
.pp-item + .pp-item { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair); }
.pp-kind { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--t-xs)/1.2 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); --c: var(--ramp); }
.pp-kind[data-type="marina"] { --c: var(--marina); } .pp-kind[data-type="trail"], .pp-kind[data-type="park"] { --c: var(--park); } .pp-kind[data-type="dam"] { --c: var(--clay); }
.pp-kind i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.poipop h2 { margin: 0; font: 600 16px/1.25 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.pp-detail { margin: 0; font-size: var(--t-s); line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }
.pp-link { margin-top: 3px; font: 600 13px/1.2 var(--font-display); color: var(--water-ink); text-decoration: none; }
.pp-link:hover { text-decoration: underline; }
.pp-x { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; cursor: pointer; font: 400 20px/1 var(--font-body); color: var(--ink-2); }
.pp-x:hover { background: rgba(15, 38, 56, 0.07); color: var(--ink); }

/* tour */
.tour { position: absolute; inset: 0; z-index: 30; }
.tour-hole { position: absolute; border-radius: 12px; box-shadow: 0 0 0 200vmax rgba(15, 38, 56, 0.42), inset 0 0 0 2px rgba(255, 255, 255, 0.9); transition: left 350ms ease, top 350ms ease, width 350ms ease, height 350ms ease; pointer-events: none; }
.tour-card { position: absolute; left: 0; top: 0; width: min(340px, calc(100% - 24px)); background: var(--card-solid); border-radius: var(--r); box-shadow: 0 30px 80px -20px rgba(15, 38, 56, 0.45); padding: 14px 16px 14px; display: grid; gap: 8px; }
.tour-card .step { font: 600 var(--t-xs)/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.tour-card .dots { display: inline-flex; gap: 5px; }
.tour-card .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15, 38, 56, 0.18); }
.tour-card .dots i.on { background: var(--ink); }
.tour-card p { margin: 0; font-size: var(--t-m); line-height: 1.45; text-wrap: pretty; }
.tour-card .nav { display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.tour-card .nav .linkbtn { margin-left: auto; }

.copy, .copy-peek { color: var(--ink-3); }
.copy-peek { display: none; }
.keyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--t-s); color: var(--ink-2); }
.keyrow .keyhead { font: 600 var(--t-xs)/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.keyrow span { display: inline-flex; align-items: center; gap: 6px; }
.keyrow span[hidden] { display: none; }
.keyrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.keyrow .k-line i { width: 16px; height: 3px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 38, 56, 0.25); }
.probe { position: absolute; z-index: 4; left: 0; top: 0; pointer-events: none; background: var(--card-solid); border-radius: 9px; padding: 7px 11px 8px; box-shadow: var(--shadow); display: grid; gap: 2px; white-space: nowrap; transition: opacity 300ms ease; }
.probe b { font: 600 15px/1.2 var(--font-display); letter-spacing: -0.01em; }
.probe span { font-size: 11.5px; color: var(--ink-3); }

/* lower left: one card above the level readout, on the same left edge and at the same width as its column: the wind (a link
   to /wind/), looking through the water, and the satellite switch */
.lowerleft { position: absolute; z-index: 3; left: 24px; bottom: calc(var(--bar-h) + 36px); width: 286px; display: grid; gap: 8px; pointer-events: none; }
.lowerleft > * { pointer-events: auto; }
.imgcredit { display: none; }
.llcard { display: grid; background: var(--card); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); border-radius: var(--r); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.6); overflow: hidden; }
.ll-wind:not([hidden]) + .claritycard, .ll-layer { border-top: 1px solid var(--hair); }
.ll-wind, .ll-layer { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; margin: 0; padding: 8px 12px; border: 0; background: none; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; font: inherit; }
.ll-wind:hover, .ll-layer:hover { background: rgba(255, 255, 255, 0.6); }
.ll-wind:focus-visible, .ll-layer:focus-visible, .lakebedchip:focus-visible { outline: 2px solid var(--water-ink); outline-offset: -2px; border-radius: var(--r); }
.ll-txt { display: grid; gap: 1px; min-width: 0; flex: 1 1 auto; }
.ll-main { font: 600 14px/1.2 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-sub { font: 400 11.5px/1.25 var(--font-body); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-wind .go { flex: none; color: var(--ink-3); font-size: 18px; line-height: 1; padding-right: 2px; }
.ll-wind:hover .go { color: var(--ink); }
/* the wind glyph: an arrow pointing the way the wind blows on the map as turned, a ring for calm, a dashed ring for no reading */
.ll-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--water-soft); color: var(--water-ink); }
.ll-ic svg { width: 22px; height: 22px; overflow: visible; }
#windArrow { transform-origin: 12px 12px; transform-box: view-box; }
.ll-wind .calmring, .ll-wind .noread { display: none; }
.ll-wind[data-icon="calm"] .calmring, .ll-wind[data-icon="none"] .noread { display: inline; }
.ll-wind[data-icon="calm"] #windArrow, .ll-wind[data-icon="none"] #windArrow { display: none; }
.ll-wind[data-icon="none"] .ll-ic { background: rgba(15, 38, 56, 0.06); color: var(--ink-3); }
/* the satellite switch: a crop of the photo, the word and its source, and a switch. While the photo loads (fetch, decode, upload) the ring
   fills with the download (a travelling arc when its size is unknown), the crop breathes, a light runs along the switch and a slow sheen
   crosses the map; all stop when the photo is drawn. Reduced motion: no movement, the words say "Loading" instead. */
.ll-thumb { position: relative; flex: none; width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px var(--hair); }
.ll-thumb canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px; }
.ll-thumb .ring { position: absolute; inset: -3px; width: 38px; height: 38px; pointer-events: none; }
.ll-thumb .ring rect { fill: none; stroke: var(--water); stroke-width: 4; stroke-dasharray: 0 100; transition: stroke-dasharray 200ms linear; opacity: 0; }
.ll-layer.loading .ring rect { opacity: 1; }
.ll-layer.loading.indet .ring rect { stroke-dasharray: 24 76; animation: ringrun 1.3s linear infinite; }
.ll-layer.loading .ll-thumb canvas { animation: thumbbreathe 1.6s ease-in-out infinite; }
.ll-layer.loading .sw { overflow: hidden; }
.ll-layer.loading .sw::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-100%); animation: swrun 1.3s ease-in-out infinite; }
@keyframes ringrun { to { stroke-dashoffset: -100; } }
@keyframes thumbbreathe { 50% { opacity: 0.55; } }
@keyframes swrun { to { transform: translateX(100%); } }
/* the sheen over the map while the photo loads: a wide, soft band of light, slowly across, under the labels */
.satsheen { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 400ms ease; }
.satsheen.on { opacity: 1; }
.satsheen::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(-100%); }
.satsheen.on::before { animation: sheen 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes sheen { to { transform: translateX(190%); } }
/* a failed load: one short line above the card, for a few seconds */
.layermsg { margin: 0; justify-self: start; font-size: 12px; line-height: 1.3; color: var(--ink); background: var(--card); padding: 6px 11px; border-radius: 9px; box-shadow: var(--shadow); transition: opacity 300ms ease; }
.layermsg.fade { opacity: 0; }
.layermsg[hidden] { display: none; }
.sw { flex: none; position: relative; width: 30px; height: 18px; border-radius: 9px; background: rgba(15, 38, 56, 0.18); transition: background 200ms ease; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 38, 56, 0.3); transition: transform 200ms ease; }
.ll-layer[aria-pressed="true"] .sw { background: var(--water-ink); }
.ll-layer[aria-pressed="true"] .sw::after { transform: translateX(12px); }
/* keep the switch's place while the imagery list loads, so the card does not change height */
.ll-layer[hidden] { display: flex !important; visibility: hidden; }
.claritycard { display: grid; gap: 3px; padding: 10px 12px 10px; }
.cc-title { font: 600 13px/1.2 var(--font-display); letter-spacing: -0.005em; color: var(--ink); }
.cc-ends { display: flex; justify-content: space-between; margin-top: -2px; }
.cc-ends button { border: 0; background: none; padding: 4px 6px; margin: -4px -6px; font: 500 10.5px/1 var(--font-body); color: var(--ink-3); cursor: pointer; border-radius: 4px; }
.cc-ends button:hover { color: var(--ink); text-decoration: underline; }
.lakebedchip { display: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #2F7FB8, #BFE0E6); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #2F7FB8, #BFE0E6); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); }
.cc-depth { display: grid; gap: 3px; margin-top: 3px; overflow: hidden; max-height: 40px; transition: max-height 300ms ease, opacity 300ms ease; }
.cc-depth.off { max-height: 0; opacity: 0; margin-top: 0; }
.dl-ramp { height: 10px; border-radius: 3px; background: linear-gradient(90deg, #BFE0E6 0%, #8CC6D6 12%, #5AA3C4 28%, #367FAE 48%, #1F5A8C 72%, #13335C 100%); }
.dl-ticks { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--font-body); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dl-src { font-size: 10.5px; color: var(--ink-3); }

/* the instrument bar */
/* one row the bar's height: an implicit auto row would grow with its content (the chart's SVG once sized itself from its last viewBox) and push the chart off the bottom */
.bar { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; height: var(--bar-h); display: grid; grid-template-columns: 286px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  background: var(--card); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); border-radius: var(--r); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.grab { display: none; }
.readout { padding: 14px 18px 12px 22px; display: grid; align-content: start; gap: 4px; border-right: 1px solid var(--hair); min-width: 0; }
.mode { display: flex; align-items: center; gap: 8px; min-height: 16px; }
.mode .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); flex: none; }
.mode.whatif .dot { background: var(--water); box-shadow: 0 0 0 3px var(--water-soft); }
.level { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.level .big { font: 600 var(--t-num)/0.95 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.level .unit { font: 600 var(--t-s)/1 var(--font-display); color: var(--ink-2); }
.date { font-size: var(--t-s); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact { font: 600 var(--t-m)/1.3 var(--font-display); letter-spacing: -0.01em; margin-top: 2px; }
.fact.dry { color: var(--clay); }
.fact.wet { color: var(--water-ink); }
.support { font: 600 12px/1.35 var(--font-body); color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* Today / Noteworthy / Play: one segmented control (Today pressed by default) */
.chips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 6px; }
.modeseg { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(15, 38, 56, 0.06); }
.modeseg .tl-btn { background: none; padding: 0 6px; height: 26px; }
.modeseg .tl-btn:hover { background: rgba(255, 255, 255, 0.7); }
.modeseg .tl-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; background: rgba(15, 38, 56, 0.05); border-radius: 999px; padding: 0 11px; height: 28px; font: 600 12px/1 var(--font-display); color: var(--ink); white-space: nowrap; }
.tl-btn:hover { background: rgba(15, 38, 56, 0.09); }
.tl-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tl-btn.story { background: var(--ink); color: #fff; }
.tl-btn.story:hover { background: #1d3a50; }
.tl-btn:disabled { opacity: 0.4; cursor: default; }
.tl-btn svg { width: 10px; height: 10px; }
.tl { padding: 12px 10px 8px 18px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 2px; min-width: 0; }
.tl-head { display: flex; align-items: baseline; gap: 8px; }
.tl-head .eyebrow { margin-right: auto; }
.axis-hint { font-size: 11px; color: var(--ink-3); }
.cc-phone { display: none; }
.chart { position: relative; min-height: 0; touch-action: none; cursor: ew-resize; outline: none; border-radius: 6px; }
.chart:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; }
.chart svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; } /* out of flow: the chart is sized by the grid, never by its drawing */
.chart text { font: 500 10.5px var(--font-body); fill: var(--ink-3); }
.chart .ev text { font: 600 10.5px var(--font-display); fill: var(--ink); }
.chart .ev text.val { font: 500 10.5px var(--font-body); fill: var(--ink-2); }
.chart .ax text { font: 600 10px var(--font-display); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.chart .staff { pointer-events: none; }
.staffhit { position: absolute; top: 0; bottom: 0; right: 0; width: 40px; cursor: ns-resize; touch-action: none; border-radius: 6px; }
.staffhit:focus-visible { outline: 2px solid var(--water); outline-offset: -2px; }
.chart .pulse { animation: pulse 600ms ease 1; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.6); } }
.tl-foot { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; padding-right: 8px; }
.scalenote, .cite { margin: 0; font-size: 11px; line-height: 1.35; color: var(--ink-3); white-space: nowrap; }
.cite { text-align: right; overflow: hidden; text-overflow: ellipsis; }
.spark { display: none; }

/* story */
.storycard { display: none; }
.bar.story { grid-template-columns: 286px minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.bar.story .readout { grid-row: 1; }
.bar.story .chips { display: none; }
.bar.story .tl { grid-column: 3; grid-row: 1; padding: 46px 18px 14px 6px; grid-template-rows: minmax(0, 1fr); }
.bar.story .tl-head, .bar.story .tl-foot { display: none; }
.bar.story .storycard { display: grid; grid-column: 2; grid-row: 1; padding: 16px 12px 12px 18px; grid-template-columns: minmax(0, 1fr); gap: 5px; align-content: start; }
.storycard h2 { margin: 0; font: 600 var(--t-l)/1.2 var(--font-display); letter-spacing: -0.015em; grid-column: 1; outline: none; text-wrap: balance; }
.storycard .step { font: 600 var(--t-xs)/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); grid-column: 1; display: flex; align-items: center; gap: 10px; }
.storycard .dots { display: inline-flex; gap: 5px; }
.storycard .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15, 38, 56, 0.18); }
.storycard .dots i.on { background: var(--ink); }
.storycard p { margin: 0; grid-column: 1; max-width: 72ch; font-size: var(--t-m); line-height: 1.45; text-wrap: pretty; }
.storycard .src { font-size: 11.5px; color: var(--ink-3); }
.storycard .nav { display: flex; gap: 6px; align-items: start; margin-top: 4px; }

.stage-msg { position: absolute; z-index: 4; left: 50%; top: 42%; transform: translate(-50%, -50%); text-align: center; display: grid; gap: 10px; justify-items: center; color: var(--ink-2); max-width: min(420px, calc(100% - 48px)); pointer-events: none; }
.stage-msg .bar2 { width: 160px; height: 2px; background: rgba(15, 38, 56, 0.1); border-radius: 2px; overflow: hidden; }
.stage-msg .bar2 i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 300ms ease; }
.stage-msg p { margin: 0; font-size: var(--t-s); }
.fallback { position: absolute; inset: 150px 80px calc(var(--bar-h) + 40px) 300px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
.fallback svg { width: 100%; height: 100%; }
.fl-note { margin: 0; font-size: var(--t-s); color: var(--ink-2); text-align: center; }

dialog { border: 0; border-radius: var(--r); padding: 0; max-width: min(620px, calc(100% - 32px)); max-height: min(82vh, 760px); color: var(--ink); background: var(--card-solid); box-shadow: 0 30px 80px -20px rgba(15, 38, 56, 0.45); }
dialog::backdrop { background: rgba(15, 38, 56, 0.25); }
.about { position: relative; padding: 0 26px 22px; display: grid; gap: 14px; overflow: auto; max-height: min(82vh, 760px); }
.about-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 10px; background: var(--card-solid); }
.about h2 { margin: 0; font: 600 var(--t-xl)/1.15 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.about h3 { margin: 6px 0 0; font: 600 var(--t-xs)/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.about p, .about li { margin: 0; font-size: var(--t-m); line-height: 1.5; max-width: 62ch; text-wrap: pretty; }
.about ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.about ul ul { margin-top: 6px; gap: 3px; }
.about ul ul li { font-size: var(--t-s); color: var(--ink-2); }
.xbtn { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(15, 38, 56, 0.06); cursor: pointer; font: 400 24px/1 var(--font-body); color: var(--ink); }
.xbtn:hover { background: rgba(15, 38, 56, 0.11); }
.about .ve-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: var(--t-m); }

@media (max-width: 1099px) and (min-width: 761px) { .brand h2 { display: none; } .views { top: 70px; } .year-mark { left: 40px; } .fallback { left: 40px; } }

/* ---- phones: two rows of chrome, a short sheet that opens to the full instrument */
@media (max-width: 760px) {
  .scrim { width: 100%; height: 110px; background: linear-gradient(180deg, rgba(238, 242, 243, 0.95) 0%, rgba(238, 242, 243, 0.7) 55%, rgba(238, 242, 243, 0) 100%); }
  .brand { left: 16px; top: 14px; right: 120px; }
  .brand h1 { font-size: 20px; }
  .brand h2 { display: none; }
  .topright { right: 10px; top: 8px; }
  .linkbtn { padding: 10px 8px; }
  .views { left: 0; right: 0; top: 48px; flex-wrap: nowrap; overflow-x: auto; padding: 4px 12px 8px; max-width: none; scrollbar-width: none; scroll-snap-type: x mandatory;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .views::-webkit-scrollbar { display: none; }
  .views button { flex: none; background: rgba(255, 255, 255, 0.7); scroll-snap-align: start; }
  .views button:last-child { margin-right: 64px; }
  .cluster { right: 12px; top: 104px; bottom: auto; }
  .cluster #zoomIn, .cluster #zoomOut { display: none; }
  .cluster button { width: 34px; height: 34px; }
  .hint { top: 96px; font-size: 12.5px; padding: 7px 7px 7px 13px; max-width: calc(100% - 24px); }
  /* one row of three 44 px cells on the map's lower edge: the wind, Lakebed, Satellite (the clarity slider is in the sheet) */
  .lowerleft { left: 12px; right: 12px; width: auto; bottom: calc(var(--sheet-h, 160px) + 12px); justify-items: start; }
  .lowerleft .llcard { justify-self: stretch; }
  .claritycard { display: none; }
  .imgcredit { display: block; margin: 0; font-size: 10.5px; color: var(--ink-2); background: var(--card); padding: 4px 9px; border-radius: 8px; box-shadow: var(--shadow); }
  .imgcredit[hidden] { display: none; }
  .llcard { display: flex; align-items: stretch; max-width: 100%; border-radius: 14px; background: rgba(249, 250, 250, 0.94); }
  .ll-layer { border-top: 0; }
  .ll-wind:not([hidden]) ~ .lakebedchip, .ll-layer { border-left: 1px solid var(--hair); }
  .ll-wind, .ll-layer, .lakebedchip { width: auto; height: 44px; min-height: 44px; padding: 0 12px; gap: 8px; }
  .ll-wind { flex: 1 1 auto; min-width: 0; }
  .lakebedchip, .ll-layer { flex: none; }
  .ll-wind .w-src { display: none; }
  .lakebedchip[aria-pressed="true"] + .ll-layer[aria-pressed="true"] { border-left-color: rgba(255, 255, 255, 0.22); }
  .ll-wind .go, .ll-layer .ll-sub, .ll-layer .sw { display: none; }
  .ll-ic { width: 26px; height: 26px; }
  .ll-ic svg { width: 18px; height: 18px; }
  .ll-main { font-size: 13px; }
  .ll-sub { font-size: 10.5px; }
  .ll-thumb, .ll-thumb canvas { width: 26px; height: 26px; border-radius: 7px; }
  .ll-thumb .ring { width: 32px; height: 32px; }
  .lakebedchip { display: inline-flex; align-items: center; flex: none; border: 0; border-radius: 0; background: none; font: 600 13px/1 var(--font-display); color: var(--ink); cursor: pointer; }
  .lakebedchip[aria-pressed="true"], .ll-layer[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .ll-layer[aria-pressed="true"] .ll-thumb { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.8); }
  /* with the sheet open the map is short: the wind cell steps aside so the row does not sit over the dam end of the lake */
  body:has(.bar.open) .ll-wind { display: none; }
  body:has(.bar.open) .lowerleft .llcard { justify-self: start; }
  .year-mark { left: 16px; bottom: calc(var(--sheet-h, 160px) + 70px); font-size: 48px; }
  .bar { left: 0; right: 0; bottom: 0; height: auto; max-height: 78%; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; border-radius: 18px 18px 0 0;
    background: rgba(249, 250, 250, 0.97); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -10px 30px -14px rgba(15, 38, 56, 0.3);
    padding-bottom: env(safe-area-inset-bottom, 0px); overflow: auto; }
  .grab { display: block; justify-self: center; width: 100%; height: 22px; border: 0; background: none; cursor: pointer; position: relative; }
  .grab::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(15, 38, 56, 0.22); }
  .support { white-space: normal; }
  .readout { border-right: 0; padding: 0 16px 6px; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: end; }
  .mode { grid-column: 1 / -1; }
  .readout .date { grid-column: 1 / -1; grid-row: 2; margin-top: -2px; }
  .level { grid-row: 3; }
  .level .big { font-size: 36px; }
  .fact { grid-row: 3; grid-column: 2; margin: 0; font-size: 14px; align-self: center; white-space: normal; }
  .support, .chips { grid-column: 1 / -1; display: none; }
  .modeseg .tl-btn { height: 34px; }
  .spark { display: block; height: 44px; margin: 4px 16px 2px; touch-action: none; cursor: ew-resize; }
  .copy-peek { display: block; margin: 0 16px 6px; font-size: 10px; line-height: 1.2; text-align: right; }
  .bar.open .copy-peek, .bar.story .copy-peek { display: none; }
  .poipop { width: min(264px, calc(100% - 16px)); }
  .spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .tl { display: none; padding: 4px 16px 12px; grid-template-rows: auto auto 150px auto; }
  .bar.open .tl { display: grid; }
  .bar.open .spark { display: none; }
  .bar.open .support, .bar.open .chips { display: grid; }
  .bar.open .support { display: block; }
  .axis-hint { display: none; }
  .cc-phone { display: grid; gap: 2px; margin: 6px 0 8px; }
  .chart { height: 150px; }
  .tl-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cite { text-align: left; white-space: normal; }
  .fallback { inset: 100px 16px calc(var(--sheet-h, 160px) + 8px) 16px; }
  .bar.story { display: flex; flex-direction: column; }
  .bar.story .storycard { grid-template-columns: minmax(0, 1fr); padding: 0 16px 12px; order: 2; }
  .bar.story .storycard .nav { grid-column: 1; grid-row: auto; }
  .bar.story .readout { display: none; }
  .bar.story .spark { display: block; height: 32px; }
  .bar.story .tl { display: none; }
}
@media (prefers-reduced-motion: reduce) { #gl, .pin .dot::before, .cc-depth, .tour-hole, .probe, .brand h2, .views, .layermsg, .ll-thumb .ring rect { transition: none; } .chart .pulse { animation: none; }
  .ll-layer.loading .ll-thumb canvas, .ll-layer.loading.indet .ring rect { animation: none; } .ll-layer.loading .sw::before { content: none; } .satsheen { display: none; } }

/* ---- site page additions (lakebelton.com/3d-map/) */
[hidden] { display: none !important; }
/* a static poster under the canvas: shown until the first 3D frame fades in, and kept without WebGL or JavaScript */
.poster { position: absolute; inset: 0; display: block; pointer-events: none; transition: opacity 900ms ease; }
.poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; /* centred: posterStart() in app.js assumes it */ display: block; }
.poster.off { opacity: 0; transition: opacity 250ms ease 900ms; } /* the canvas fades in over it (same framing), then it goes */
/* the quiet site mark, top right beside Tour and About */
.sitemark { display: inline-flex; align-items: center; gap: 7px; padding: 4px 4px 4px 2px; margin-right: 6px; font: 600 12px/1 var(--font-display); letter-spacing: 0.02em; color: var(--ink-2); text-decoration: none; border-radius: 6px; }
.sitemark img { width: 20px; height: 20px; border-radius: 5px; }
.sitemark:hover { color: var(--ink); }
.sitemark:hover span { text-decoration: underline; text-underline-offset: 3px; }
/* the site footer closes the About panel */
.about footer { margin: 8px -26px -22px; background: #1A252F; text-align: center; padding: 26px 16px 22px; }
.about .footer-content { max-width: 560px; margin: 0 auto; display: grid; justify-items: center; gap: 12px; }
.about .footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.about .footer-logo { width: 28px; height: 28px; }
.about .footer-wordmark { font: 700 13px/1 var(--font-display); letter-spacing: 0.08em; color: #fff; text-transform: uppercase; }
.about .footer-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 18px; width: 100%; margin: 4px 0 6px; text-align: center; }
.about .footer-group-label { margin: 0 0 6px; font: 700 10px/1.6 var(--font-display); letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); max-width: none; }
.about .footer-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; line-height: 1.35; }
.about .footer-group li { margin: 0; font-size: 13px; }
.about .footer-group a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.about .footer-group a:hover { color: #fff; }
@media (max-width: 560px) { .about .footer-map { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; justify-self: center; } .about .footer-group a { display: inline-block; padding: 4px 0; } .about .footer-group ul { gap: 0; } }
.about .footer-links { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.55); max-width: none; }
.about .footer-links a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.about .footer-links a:hover { color: rgba(255, 255, 255, 0.9); }
.about .app-store-badge { margin: 0 !important; }
@media (max-width: 760px) {
  .sitemark { margin-right: 0; padding: 8px 4px; }
  .sitemark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .about { padding: 0 18px 18px; }
  .about footer { margin: 8px -18px -18px; }
}
@media (prefers-reduced-motion: reduce) { .poster, .poster.off { transition: none; } }
/* the loading line sits on the poster: give it a quiet card so it stays readable */
.stage-msg { background: rgba(249, 250, 250, 0.9); padding: 12px 18px 10px; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 38, 56, 0.08); }
.cluster button { padding: 0; }

/* ---- design pass (D-014): loading line, overlaps, and 44 px touch targets on phones */
.stage-msg { width: max-content; } /* one line on the poster, not a two-line wrap at half the stage width */
.stage-msg p { text-wrap: balance; }
.hint button { position: relative; }
.hint button::after { content: ""; position: absolute; inset: -9px; }
.hint button.go::after { inset: -9px 0; }
/* a place card is open: the other names step back, so none is half covered by the card */
.app:has(#poipop:not([hidden])) .pin:not(.sel) .tag { opacity: 0.3; transition: opacity 200ms ease; }
@media (max-width: 760px) {
  .hint { left: 12px; right: 64px; width: fit-content; margin: 0 auto; transform: none; max-width: none; white-space: normal; border-radius: 18px; }
  .topright { top: 2px; gap: 2px; }
  .linkbtn { min-height: 44px; display: inline-flex; align-items: center; }
  .sitemark { padding: 12px; }
  .views { padding: 6px 12px; }
  /* the switch leads the views row; the views scroll to its right */
  .view-switch { position: absolute; left: -4px; top: 38px; background: rgba(255, 255, 255, 0.85); }
  .view-switch a { padding: 10px 13px; }
  .view-switch::after { content: ""; position: absolute; right: -9px; top: 9px; bottom: 9px; width: 1px; background: rgba(15, 38, 56, 0.18); }
  .views { left: 114px; padding-left: 8px; }
  .views button { position: relative; padding: 10px 12px; }
  .views button::after { content: ""; position: absolute; inset: -6px 0; }
  .cluster { gap: 8px; }
  .cluster button { position: relative; }
  .cluster button { width: 40px; height: 40px; }
  .cluster button::after { content: ""; position: absolute; inset: -2px; }
  .tl-btn { position: relative; height: 36px; padding: 0 14px; }
  .tl-btn::after { content: ""; position: absolute; inset: -4px 0; }
  .cc-ends button { padding: 17px 8px; margin: -17px -8px; }
  #clarity2 { height: 44px; margin: -11px 0; }
  .pp-x { right: 0; top: 0; width: 44px; height: 44px; border-radius: 12px; }
  .pin .dot { left: -16px; top: -34px; width: 32px; height: 32px; }
  .pin .dot::before { left: 12.5px; top: 12.5px; }
  .pin.mini .dot { top: -16px; }
  .pin.mini .dot::before { left: 13px; top: 13px; }
  /* the sheet: the clarity slider first, then the chart under its own heading */
  .cc-phone { order: -1; }
}
