/* Layout: a chart-table. Map and ranking on the left, readouts and forecast ledger on the right; one column with a bottom nav on phones. */
:root {
  color-scheme: light;
  --bg: #E9F6F7; --surface: #FFFFFF; --surface-2: #DCEEF2; --ink: #0C2D48; --ink-2: #3A5870; --ink-3: #587489; --line: #C5DDE6;
  --accent: #DE3F2A; --accent-ink: #FFFFFF; --brand: #0A8CA6; --water: #0A7F96; --ocean: #BEE3EE; --grid: #A9D2DE; --grid-text: #4C7487;
  --ok: #178A55; --warn: #A86500; --bad: #C42B1C; --land: #F3EBD3; --coast: #7FB7C6;
  --q0: #A9BAC6; --q1: #4FB2EA; --q2: #25BBA3; --q3: #F7B731; --q4: #E5412F;
  --qt0: #0C2D48; --qt1: #062A44; --qt2: #05261F; --qt3: #3B2A00; --qt4: #FFFFFF;
  --s1: #2F7DF6; --s2: #FF6B4A; --s3: #12B886; --s4: #8B5CF6;
  --h-swell1: #2F7DF6; --h-swell2: #B35CE6; --h-chop: #3BB273; --h-sea: #0EA5E9; --h-wind: #7C6CF0; --h-tide: #0B7FB3; --h-water: #1EB6D8;
  --h-air: #FF8A3D; --h-sky: #F2A900; --h-pressure: #E05D8A; --h-sun: #FF9F1C; --h-moon: #6B7FD7; --h-size: #12B886; --h-score: #DE3F2A;
  --hp: 100%; --ico-ink: #FFFFFF; --tint: 12%; --shadow: color-mix(in srgb, var(--ink) 40%, transparent);
  --f-display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', sans-serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: 16px; --r: 14px; --r-lg: 20px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08141F; --surface: #0F2233; --surface-2: #17304A; --ink: #E8F3F7; --ink-2: #AFC6D3; --ink-3: #8CA7B7; --line: #23425A;
  --accent: #FF7A5C; --accent-ink: #2A0A04; --brand: #3CC4DA; --water: #4FD0E0; --ocean: #0B2A3E; --grid: #1B405A; --grid-text: #7FA4B8;
  --ok: #4CD08F; --warn: #F2B04A; --bad: #FF8A7A; --land: #1E3A44; --coast: #3F7A8C;
  --q0: #4B6377; --q1: #3C9BD6; --q2: #2CC4AC; --q3: #F5BD3E; --q4: #FF6F52;
  --qt0: #E8F3F7; --qt1: #04141F; --qt2: #04201B; --qt3: #2B1F00; --qt4: #2A0A04;
  --s1: #5A9BFF; --s2: #FF8A6B; --s3: #34D399; --s4: #A78BFA;
  --hp: 72%; --ico-ink: #06131D; --tint: 20%; --shadow: #000;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--f-body); -webkit-text-size-adjust: 100%; overflow: hidden; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
a { color: var(--water); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */
.app { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "head" "main" "nav"; min-width: 0; }
.top { grid-area: head; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px var(--gut); background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand svg { flex: none; color: var(--accent); }
.brand-name { font: 700 19px/1 var(--f-display); letter-spacing: -0.01em; }
.brand-sub { font: 400 11px/1.2 var(--f-mono); color: var(--ink-3); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-r { display: flex; align-items: center; gap: 8px; flex: none; }
.status { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg); border-radius: 99px; padding: 4px 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .04em; }
.brand-name { white-space: nowrap; }
@media (max-width: 560px) { .brand-sub { display: none; } }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.status[data-m="live"] i { background: var(--ok); } .status[data-m="demo"] i { background: var(--accent); } .status[data-m="demo"] { border-color: var(--accent); } .status[data-m="offline"] i { background: var(--accent); } .status[data-m="offline"] { border-color: var(--accent); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.seg button { border: 0; background: transparent; padding: 5px 9px; font: 500 11px/1.2 var(--f-mono); color: var(--ink-2); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pop { position: absolute; z-index: 40; top: 54px; right: var(--gut); left: var(--gut); max-width: 440px; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pop h3 { font: 700 15px var(--f-display); margin-bottom: 6px; } .pop p { color: var(--ink-2); margin-top: 6px; }

.nav { grid-area: nav; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 20; }
.nav button { border: 0; background: transparent; padding: 9px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 500 11px/1 var(--f-mono); letter-spacing: .03em; color: var(--ink-2); min-width: 0; }
.nav button svg { width: 20px; height: 20px; }
.nav button[aria-current="true"] { color: var(--accent); box-shadow: inset 0 2px 0 var(--accent); }

.scout { grid-area: main; display: flex; flex-direction: column; min-height: 0; min-width: 0; background: var(--bg); }
.detail { grid-area: main; overflow-y: auto; min-height: 0; min-width: 0; overscroll-behavior: contain; }
.app[data-view="scout"] .detail { display: none; }
.app:not([data-view="scout"]) .scout { display: none; }
.detail [data-tab] { display: none; }
.app[data-view="now"] #tab-now, .app[data-view="forecast"] #tab-forecast, .app[data-view="cams"] #tab-cams, .app[data-view="me"] #tab-me { display: block; }

@media (max-width: 899px) { .dhead { position: static; } }
@media (min-width: 900px) {
  .app { grid-template-columns: minmax(360px, 42%) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "head head" "scout nav" "scout main"; }
  .scout { grid-area: scout; display: flex !important; border-right: 1px solid var(--line); }
  .detail { display: block !important; }
  .app[data-view="scout"] #tab-now { display: block; }
  .nav { border-top: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px; padding: 0 12px; }
  .nav button { flex-direction: row; padding: 11px 14px; font-size: 12px; }
  .nav button[data-go="scout"] { display: none; }
  .nav button[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
}

/* ---------- scout ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px var(--gut); background: var(--surface); border-bottom: 1px solid var(--line); }
.fld { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 130px; }
.fld > span, .lbl { font: 500 10px/1 var(--f-mono); color: var(--ink-3); }
select, input[type="search"], input[type="text"], input[type="url"] { width: 100%; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 7px 8px; }
.search { display: flex; gap: 6px; flex: 2 1 200px; align-items: flex-end; min-width: 0; position: relative; }
.search input { flex: 1; }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 7px 11px; font-weight: 600; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.sm { padding: 4px 8px; font-size: 12px; }
.mapwrap { position: relative; flex: 0 0 clamp(250px, 46%, 520px); min-height: 220px; border-bottom: 1px solid var(--line); }
#map { position: absolute; inset: 0; }
.maptools { position: absolute; left: 8px; top: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; pointer-events: none; z-index: 5; }
.maptools > * { pointer-events: auto; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.maptools .seg, .maptools .btn, .chk { background: var(--surface); }
.chk { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 8px; font: 500 11px/1.2 var(--f-mono); }
.chk input { margin: 0; accent-color: var(--accent); }
.results { position: absolute; z-index: 35; left: var(--gut); right: var(--gut); top: 100%; margin-top: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); max-width: 520px; }
.results button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.results button:last-child { border-bottom: 0; } .results button small { display: block; color: var(--ink-3); font-size: 12px; }
.results .msg { padding: 10px 12px; color: var(--ink-2); }

.sm { overflow: hidden; background: var(--ocean); touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.sm.pinning { cursor: crosshair; }
.sm canvas, .sm-tiles, .sm-marks { position: absolute; left: 0; top: 0; }
.sm-tiles, .sm-marks, .sm-layer { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.sm-tile { position: absolute; left: 0; top: 0; max-width: none !important; will-change: transform; }
.sm-ctl { position: absolute; right: 8px; bottom: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; z-index: 6; background: var(--surface); }
.sm-ctl button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 20px; line-height: 1; } .sm-ctl button + button { border-top: 1px solid var(--line); }
.sm-attr { position: absolute; left: 0; bottom: 0; background: color-mix(in srgb, var(--surface) 80%, transparent); font: 400 9.5px/1.5 var(--f-mono); padding: 1px 6px; color: var(--ink-2); max-width: 85%; z-index: 4; }
.sm-note { position: absolute; left: 8px; right: 50px; bottom: 26px; background: var(--surface); border: 1px solid var(--accent); border-radius: 12px; padding: 6px 9px; font: 400 11.5px/1.4 var(--f-body); z-index: 6; }
.sm-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); background: var(--ink); color: var(--bg); border-radius: 99px; padding: 6px 14px; font-weight: 600; z-index: 7; white-space: nowrap; }
.mk { position: absolute; left: 0; top: 0; margin: 0; padding: 0; border: 0; background: transparent; width: 0; height: 0; cursor: pointer; }
.mk .dot { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 11px/1 var(--f-mono); border: 2px solid var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.35); background: var(--q0); color: var(--qt0); }
.mk .dot[data-b="0"] { background: var(--q0); color: var(--qt0); } .mk .dot[data-b="1"] { background: var(--q1); color: var(--qt1); } .mk .dot[data-b="2"] { background: var(--q2); color: var(--qt2); }
.mk .dot[data-b="3"] { background: var(--q3); color: var(--qt3); } .mk .dot[data-b="4"] { background: var(--q4); color: var(--qt4); }
.mk .dot.un { background: var(--surface-2); color: var(--ink-3); }
.mk.pin .dot { border-radius: 4px 50% 50% 50%; transform: rotate(-45deg); }
.mk.pin .dot span { transform: rotate(45deg); }
.mk.sel .dot { box-shadow: 0 0 0 3px var(--accent), 0 2px 6px rgba(0,0,0,.4); width: 32px; height: 32px; left: -16px; top: -16px; }
.mk .lab { position: absolute; left: 18px; top: -9px; white-space: nowrap; font: 600 11px/1.1 var(--f-body); background: color-mix(in srgb, var(--surface) 88%, transparent); border-radius: 8px; padding: 2px 4px; color: var(--ink); pointer-events: none; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }

.rank { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 8px; }
.rank-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px var(--gut) 6px; position: sticky; top: 0; background: var(--bg); z-index: 2; }
.rank-h h2 { font: 700 15px var(--f-display); } .rank-h span { font: 400 11px var(--f-mono); color: var(--ink-3); text-align: right; }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 9px var(--gut); }
.row:hover { background: var(--surface-2); } .row[aria-current="true"] { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.chipq { width: 44px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 500 15px/1 var(--f-mono); background: var(--q0); color: var(--qt0); }
.chipq[data-b="0"] { background: var(--q0); color: var(--qt0); } .chipq[data-b="1"] { background: var(--q1); color: var(--qt1); } .chipq[data-b="2"] { background: var(--q2); color: var(--qt2); }
.chipq[data-b="3"] { background: var(--q3); color: var(--qt3); } .chipq[data-b="4"] { background: var(--q4); color: var(--qt4); } .chipq.un { background: var(--surface-2); color: var(--ink-3); }
.row .n { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .m { font: 400 11.5px/1.35 var(--f-mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { padding: 18px var(--gut); color: var(--ink-2); }
.yourpins { padding: 4px var(--gut) 12px; color: var(--ink-3); font-size: 12px; }

/* ---------- detail ---------- */
.dhead { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; }
.dhead h1 { font: 700 clamp(20px, 5.4vw, 28px)/1.05 var(--f-display); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.dhead .meta { font: 400 11.5px/1.4 var(--f-mono); color: var(--ink-2); margin-top: 4px; }
.dhead .picker { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dhead .picker select { flex: 1 1 200px; width: auto; }
.dhead .picker .fld select { flex: 0 0 auto; }
.badge { text-align: center; min-width: 78px; border-radius: 12px; padding: 7px 10px 6px; background: var(--q0); color: var(--qt0); }
.badge[data-b="0"] { background: var(--q0); color: var(--qt0); } .badge[data-b="1"] { background: var(--q1); color: var(--qt1); } .badge[data-b="2"] { background: var(--q2); color: var(--qt2); }
.badge[data-b="3"] { background: var(--q3); color: var(--qt3); } .badge[data-b="4"] { background: var(--q4); color: var(--qt4); } .badge.un { background: var(--surface-2); color: var(--ink-3); }
.badge b { display: block; font: 700 30px/1 var(--f-display); } .badge span { font: 500 10px/1 var(--f-mono); }
.pane { padding: 14px var(--gut) 28px; display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
.demo-note { border: 1px solid var(--accent); border-radius: 12px; padding: 9px 12px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); font-size: 13px; }
.verdict { font: 500 16px/1.4 var(--f-body); } .verdict b { font-family: var(--f-display); }
.sec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sec > h2 { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--f-mono); color: var(--ink-2); }
.sec > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec > h2 small { order: 3; font: 400 11px var(--f-mono); letter-spacing: 0; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr)); gap: 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; min-width: 0; }
.card .k { font: 500 10px/1 var(--f-mono); color: var(--ink-3); display: flex; justify-content: space-between; gap: 6px; }
.card .v { font: 700 28px/1.1 var(--f-display); margin-top: 7px; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.card .v small { font: 500 12px var(--f-mono); color: var(--ink-2); letter-spacing: 0; }
.card .s { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; overflow-wrap: anywhere; }
.card.wide { grid-column: 1 / -1; }
.compass { display: inline-block; vertical-align: -3px; color: var(--water); }
.tag { display: inline-block; font: 500 10.5px/1 var(--f-mono); padding: 3px 6px; border-radius: 8px; background: var(--surface-2); color: var(--ink); }
.tag.off { background: color-mix(in srgb, var(--ok) 18%, var(--surface)); color: var(--ok); } .tag.on { background: color-mix(in srgb, var(--bad) 14%, var(--surface)); color: var(--bad); } .tag.cross { background: color-mix(in srgb, var(--warn) 16%, var(--surface)); color: var(--warn); }
.parts { display: grid; gap: 7px; }
.part { display: grid; grid-template-columns: 82px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font: 400 12px var(--f-mono); }
.bar { height: 8px; background: var(--surface-2); border-radius: 2px; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--water); }
details.how { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 10px 12px; } details.how summary { cursor: pointer; font-weight: 600; } details.how p { margin-top: 8px; color: var(--ink-2); }
.note { font-size: 12px; color: var(--ink-3); }
.err { border: 1px solid var(--bad); border-radius: 12px; padding: 12px; background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }

.ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.planner { display: grid; gap: 3px; min-width: 0; }
.pl-row { display: grid; grid-template-columns: 52px repeat(17, minmax(0, 1fr)); gap: 2px; align-items: center; }
.pl-row > b { font: 500 11px var(--f-mono); color: var(--ink-2); white-space: nowrap; }
.pl-cell { height: 26px; border: 0; padding: 0; border-radius: 2px; font: 500 9.5px var(--f-mono); background: var(--q0); color: var(--qt0); }
.pl-cell[data-b="0"] { background: var(--q0); color: var(--qt0); } .pl-cell[data-b="1"] { background: var(--q1); color: var(--qt1); } .pl-cell[data-b="2"] { background: var(--q2); color: var(--qt2); }
.pl-cell[data-b="3"] { background: var(--q3); color: var(--qt3); } .pl-cell[data-b="4"] { background: var(--q4); color: var(--qt4); } .pl-cell.past { opacity: .3; } .pl-cell.dark { background: var(--surface-2); color: var(--ink-3); }
.pl-cell[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 1px; position: relative; z-index: 1; }
.pl-axis { display: grid; grid-template-columns: 52px repeat(17, minmax(0, 1fr)); gap: 2px; font: 400 9.5px var(--f-mono); color: var(--ink-3); } .pl-axis span { text-align: left; white-space: nowrap; overflow: visible; }
.readout { min-height: 40px; font: 400 12.5px/1.5 var(--f-mono); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 400 11px var(--f-mono); color: var(--ink-2); } .legend span { display: inline-flex; align-items: center; gap: 5px; } .legend i { width: 14px; height: 8px; border-radius: 2px; display: inline-block; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.day { flex: 0 0 118px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; text-align: left; }
.day .d { font: 500 11px var(--f-mono); color: var(--ink-2); } .day .h { font: 700 21px/1.15 var(--f-display); margin-top: 4px; } .day .h small { font: 500 11px var(--f-mono); color: var(--ink-2); }
.day .w { font: 400 11px/1.4 var(--f-mono); color: var(--ink-2); margin-top: 4px; } .day .sc { height: 5px; border-radius: 2px; margin-top: 7px; background: var(--q0); }
.day .sc[data-b="1"] { background: var(--q1); } .day .sc[data-b="2"] { background: var(--q2); } .day .sc[data-b="3"] { background: var(--q3); } .day .sc[data-b="4"] { background: var(--q4); }
.chartbox { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 4px; min-width: 0; }
.chartbox h3 { font: 600 13px var(--f-body); display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; } .chartbox h3 small { font: 400 11px var(--f-mono); color: var(--ink-3); }
.chartbox svg { display: block; width: 100%; overflow: visible; touch-action: pan-y; }
.chartbox .tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 6px 8px; font: 400 11.5px/1.45 var(--f-mono); white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.chartbox .tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table.t { border-collapse: collapse; width: 100%; font: 400 12px var(--f-mono); min-width: 560px; } table.t th, table.t td { padding: 6px 9px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } table.t th { position: sticky; top: 0; background: var(--surface-2); font-weight: 500; }
table.t tr.dayrow td { background: var(--surface-2); font-weight: 500; color: var(--ink-2); }

.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.link { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.link:hover { border-color: var(--accent); } .link b { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; } .link b::after { content: "\2197"; color: var(--accent); } .link span { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 5px 11px; font: 500 12px var(--f-mono); } .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.embed { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--ocean); aspect-ratio: 4 / 3; max-height: 560px; width: 100%; } .embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.mycam { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; } .mycam a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.form { display: flex; gap: 8px; flex-wrap: wrap; } .form input { flex: 1 1 180px; width: auto; }
.skel { color: var(--ink-3); padding: 24px var(--gut); font: 400 13px var(--f-mono); }
.toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 9px 14px; border-radius: 16px; z-index: 60; max-width: min(92vw, 440px); font-size: 13px; }
@media (min-width: 900px) { .toast { bottom: 24px; } }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
.modal[hidden] { display: none; }
.modal-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; width: min(100%, 420px); padding: 16px; display: grid; gap: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.modal-card h3 { font: 700 18px var(--f-display); }
.modal-card input[type="text"] { font-size: 16px; padding: 9px 10px; }
.card.tap, .badge.tap { cursor: pointer; } .card.tap:hover { border-color: var(--accent); } .card.tap .k::after { content: "\203A"; font: 500 16px/0.7 var(--f-mono); color: var(--ink-3); } .card.tap:focus-visible, .badge.tap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile-card { grid-template-columns: minmax(0, 1fr); width: min(100%, 760px); max-height: 90vh; overflow: auto; align-content: start; }
.tile-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; position: sticky; top: -16px; z-index: 3; background: var(--surface); padding: 12px 0 6px; margin-top: -12px; }
.tile-top .note { margin: 2px 0 0; } .tile-top .btn { flex: none; white-space: nowrap; }
.tfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 8px; }
.tfacts > div { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: grid; gap: 3px; align-content: start; min-width: 0; }
.tfacts span { font: 500 10px/1.2 var(--f-mono); color: var(--ink-3); }
.tfacts b { font: 700 17px/1.2 var(--f-display); overflow-wrap: anywhere; } .tfacts small { font-size: 12px; color: var(--ink-2); }
.tscroll { overflow-x: auto; } .moonrow { display: flex; align-items: center; gap: 14px; font: 700 18px var(--f-display); } .moonrow small { font: 400 13px var(--f-body, system-ui); color: var(--ink-2); }
@media (min-width: 600px) { .tile-card { padding-top: 16px; } }
.modal-btns { display: flex; gap: 8px; justify-content: flex-end; }
@media (min-width: 600px) { .modal { align-items: center; } }
.cmp { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; justify-items: center; }
@media (min-width: 560px) { .cmp { grid-template-columns: minmax(240px, 300px) 1fr; justify-items: stretch; } }
.cmp-fig svg { display: block; width: 100%; max-width: 300px; margin: 0 auto; height: auto; }
.cmp-leg { display: grid; gap: 9px; width: 100%; }
.lg { display: grid; grid-template-columns: 14px 1fr; gap: 9px; align-items: start; font-size: 13px; }
.lg i { width: 12px; height: 12px; border-radius: 8px; margin-top: 3px; display: block; }
.lg i.sand { background: #d8b15d; } .row .mini { display: block; }
.lg span { color: var(--ink-2); font-size: 12px; }
.cmp-ctl { display: flex; align-items: center; gap: 10px; margin-top: 8px; font: 500 11px var(--f-mono); color: var(--ink-2); }
.cmp-ctl input[type="range"] { flex: 1; min-width: 0; accent-color: var(--accent); }
.cmp-ctl output { min-width: 84px; text-align: right; color: var(--ink); }
.buoys { display: grid; gap: 10px; }
.bchips { display: flex; gap: 6px; flex-wrap: wrap; }
.bchips .chip small { display: block; font: 400 10px var(--f-mono); opacity: .8; }
.bnote { font-size: 12px; color: var(--ink-3); }
.alert { border: 1px solid var(--line); border-left: 4px solid var(--ink-3); border-radius: 12px; background: var(--surface); padding: 8px 10px; margin-bottom: 8px; font-size: 13px; }
.alert[data-t="bad"] { border-left-color: #d03a2f; } .alert[data-t="warn"] { border-left-color: #e0912a; } .alert[data-t="ok"] { border-left-color: #2e9d6b; }
.alert summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; } .alert summary::-webkit-details-marker { display: none; }
.alert summary b { font-weight: 700; } .alert summary span { color: var(--ink-2); font-size: 12px; }
.alert p { margin-top: 6px; color: var(--ink-2); white-space: pre-line; font-size: 12.5px; }
.srf .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.srf .pill { border: 1px solid var(--line); border-radius: 99px; padding: 3px 9px; font: 500 12px var(--f-body); background: var(--bg); }
.srf .pill[data-t="bad"] { border-color: #d03a2f; color: #d03a2f; } .srf .pill[data-t="warn"] { border-color: #e0912a; } .srf .pill[data-t="ok"] { border-color: #2e9d6b; }
.srf pre { white-space: pre-wrap; font: 400 12px/1.5 var(--f-mono); color: var(--ink-2); margin-top: 8px; }
.chk select { width: auto; font-size: 12px; padding: 2px 4px; margin-left: 2px; }
.camgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.camgrid a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: inherit; text-decoration: none; }
.camgrid img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.camgrid span { display: block; padding: 6px 8px; font-size: 12px; } .camgrid small { display: block; color: var(--ink-3); font: 400 10.5px var(--f-mono); }
.mcs { display: grid; gap: 6px; margin-bottom: 10px; font-size: 13px; }
.nav button { position: relative; } .app[data-view="me"] .dhead { display: none; }
.bdg { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 15px; height: 15px; border-radius: 99px; background: var(--accent); color: #fff; font: 700 10px/15px var(--f-mono); text-align: center; padding: 0 3px; } .bdg[hidden] { display: none; }
.form2 { display: flex; gap: 10px; flex-wrap: wrap; } .form2 .fld { flex: 1 1 160px; }
textarea { width: 100%; font: 400 14px/1.4 var(--f-body); padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); resize: vertical; }
.acts { margin-top: -2px; } .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.mynote { margin-top: 6px; display: grid; gap: 6px; } .mynote .fld select { width: auto; }
.logrow { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 3px; font-size: 13px; } .logrow .st { color: #d8a021; letter-spacing: 1px; } .logrow small { color: var(--ink-3); font: 400 11px var(--f-mono); }
.wtl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0; } .wtl input[type="range"] { flex: 1 1 140px; }
.finder { max-height: 52vh; overflow: auto; display: grid; }
.frow { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.frow small { display: block; color: var(--ink-3); font: 400 11px var(--f-mono); }

.sm:not(.zl) .mk .lab { display: none; } .mk.sel .lab { display: block !important; }
@media (prefers-reduced-motion: no-preference) { .card, .row, .day, .link { transition: border-color .15s, background .15s; } }

/* ---------- v2 look: sunny, colourful, rounded ---------- */
body { font-variant-numeric: tabular-nums; }
.top { box-shadow: 0 6px 18px -14px var(--shadow); }
.top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; background: var(--surface); pointer-events: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 0H40V3Q30 8 20 3T0 3Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 8px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 0H40V3Q30 8 20 3T0 3Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 8px; }
.brand-name { font-size: 21px; letter-spacing: -0.02em; }
.logo { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #FFC93C, #FF7A59 55%, #E5412F); box-shadow: 0 6px 12px -6px #E5412F; }
.logo svg { width: 28px; height: 28px; color: #fff; }
.status { background: var(--surface-2); border-color: transparent; padding: 6px 11px; font-weight: 600; letter-spacing: .02em; }
.seg { border-radius: 99px; padding: 2px; background: var(--surface-2); border-color: transparent; }
.seg button { border-radius: 99px; padding: 5px 11px; font-weight: 600; }
.seg button + button { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
:root[data-theme="dark"] .seg button[aria-pressed="true"] { color: #04141F; }
.themer { position: relative; flex: none; width: 54px; height: 30px; border-radius: 99px; border: 0; padding: 0; background: linear-gradient(90deg, #9FDCF5, #FFE08A); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); transition: background .25s; }
.themer .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .25s; color: #F59E0B; }
.themer svg { width: 15px; height: 15px; }
.themer .moon { display: none; }
:root[data-theme="dark"] .themer { background: linear-gradient(90deg, #1B2B5E, #3C4A9A); }
:root[data-theme="dark"] .themer .knob { transform: translateX(24px); background: #E8F0FF; color: #3C4A9A; }
:root[data-theme="dark"] .themer .sun { display: none; } :root[data-theme="dark"] .themer .moon { display: block; }
@media (max-width: 440px) { .top { gap: 6px; } .top-r { gap: 5px; } .status { padding: 6px 8px; font-size: 10.5px; } .seg button { padding: 5px 8px; } .brand { gap: 8px; } .brand-name { font-size: 19px; } .logo { width: 32px; height: 32px; } .themer { width: 48px; height: 28px; } .themer .knob { width: 22px; height: 22px; } :root[data-theme="dark"] .themer .knob { transform: translateX(20px); } }

.nav { border-top: 0; box-shadow: 0 -8px 20px -16px var(--shadow); padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)); gap: 2px; }
.nav button { border-radius: 16px; padding: 7px 4px 6px; font: 600 11px/1 var(--f-body); letter-spacing: 0; }
.nav button[aria-current="true"] { box-shadow: none; background: color-mix(in srgb, var(--accent) 13%, var(--surface)); color: var(--accent); }
@media (min-width: 900px) { .nav { box-shadow: 0 8px 18px -16px var(--shadow); padding: 4px 12px; } .nav button { padding: 8px 14px; } .nav button[aria-current="true"] { box-shadow: none; } }

.scout, .detail { background: linear-gradient(var(--surface-2), var(--bg) 260px) no-repeat, var(--bg); }
.scout { background: var(--bg); }
.tools { background: var(--surface); border-bottom: 0; padding-bottom: 12px; }
.fld > span, .lbl { font: 600 12px/1.2 var(--f-body); color: var(--ink-2); }
select, input[type="search"], input[type="text"], input[type="url"], input[type="number"], input[type="datetime-local"], textarea { border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); padding: 8px 10px; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.btn { border-radius: 99px; border-width: 1.5px; padding: 8px 14px; background: var(--surface); }
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn.pri, .btn[aria-pressed="true"].pri { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 14px -8px var(--accent); }
.btn.pri:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
:root[data-theme="dark"] .btn[aria-pressed="true"] { color: #04141F; }
.btn.sm { padding: 5px 11px; }
.mapwrap { border-bottom: 0; margin: 0 var(--gut); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 10px 24px -16px var(--shadow); outline: 1.5px solid var(--line); outline-offset: -1.5px; }
.maptools .seg, .maptools .btn, .chk { background: var(--surface); border-radius: 99px; }
.chk { border: 0; padding: 4px 9px; font-weight: 600; font-size: 11px; } .maptools { gap: 5px; }
.sm-ctl { border-radius: 14px; border: 0; box-shadow: 0 4px 12px -6px var(--shadow); }
.mk .dot { border-width: 2.5px; font-weight: 700; }
.rank-h { background: var(--bg); padding-top: 14px; }
.rank-h h2 { font-size: 18px; }
.rank { padding: 0 var(--gut) 12px; }
.rank-h { margin: 0 calc(-1 * var(--gut)); }
.row { border: 0; border-radius: var(--r); background: var(--surface); margin-bottom: 8px; width: 100%; padding: 9px 12px 9px 9px; box-shadow: 0 6px 16px -14px var(--shadow); }
.row:hover { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.row[aria-current="true"] { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); box-shadow: inset 0 0 0 2px var(--accent); }
.chipq { width: 46px; height: 40px; border-radius: 14px; font: 700 17px/1 var(--f-display); }
.row .n { font-size: 15px; }
.yourpins { padding-left: 0; }

/* hero scene */
.dhead { position: static; display: block; padding: 0; border-bottom: 0; background: var(--surface); }
.scene-wrap { position: relative; height: 190px; overflow: hidden; border-radius: 28px; margin: 0 var(--gut); background: #BDE8FA; }
@media (min-width: 900px) { .scene-wrap { height: 230px; } }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.scene-wrap { isolation: isolate; }
:root[data-theme="dark"] .scene[data-ph="day"], :root[data-theme="dark"] .scene[data-ph="dawn"] { filter: brightness(.8) saturate(1.1); }
.scene [data-tile] { cursor: pointer; } .scene [data-tile]:hover { filter: brightness(1.07); }
.scene [data-tile]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.scene text { font-family: var(--f-body); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .scene .sw { animation: swell var(--dur, 14s) linear infinite; } .scene .sw.b { animation-duration: calc(var(--dur, 14s) * 1.35); animation-direction: reverse; }
  .scene .cl { animation: drift 16s ease-in-out infinite alternate; } .scene .cl:nth-child(2n) { animation-duration: 22s; animation-direction: alternate-reverse; }
  .scene .sock { animation: flap 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 0 50%; }
  .scene .bob { animation: bob 3.2s ease-in-out infinite alternate; }
  .scene .tw { animation: twinkle 3s ease-in-out infinite alternate; }
}
@keyframes swell { to { transform: translateX(calc(-1 * var(--wl, 120px))); } }
@keyframes drift { to { transform: translateX(16px); } }
@keyframes flap { to { transform: skewY(5deg) scaleX(.96); } }
@keyframes bob { to { transform: translateY(2.5px); } }
@keyframes twinkle { to { opacity: .35; } }
.hd { padding: 12px var(--gut) 10px; }
.ttl { min-width: 0; }
.dhead h1 { font-size: clamp(20px, 5.4vw, 28px); }
.dhead .meta { font: 500 12px/1.35 var(--f-body); color: var(--ink-2); margin-top: 3px; }
.badge-slot { position: relative; z-index: 3; height: 0; } .badge-slot .badge { position: absolute; left: var(--gut); top: -52px; }
.dbody { padding: 26px var(--gut) 12px; display: grid; gap: 8px; }
.dbody .picker:first-child { padding-left: 0; }
.dbody .picker { grid-column: auto; }
.badge { min-width: 84px; border-radius: 24px 24px 24px 8px; padding: 9px 12px 8px; box-shadow: 0 10px 20px -10px var(--shadow); border: 3px solid color-mix(in srgb, var(--surface) 85%, transparent); }
.badge b { font-size: 34px; } .badge span { font: 700 12px/1 var(--f-body); }
.badge.tap:hover { filter: brightness(1.05); }

/* sections, tiles */
.pane { gap: 22px; padding-top: 18px; }
.sec { gap: 12px; }
.sec > h2 { font: 700 19px/1.15 var(--f-display); letter-spacing: -0.01em; color: var(--ink); gap: 9px; }
.sec > h2::before { content: ""; flex: none; width: 26px; height: 10px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1.5 6C4.500 1 6.500 1 9 5.500s4.500 4.500 8 0S21.500 1 24.500 5.500' fill='none' stroke='black' stroke-width='2.600' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1.5 6C4.500 1 6.500 1 9 5.500s4.500 4.500 8 0S21.500 1 24.500 5.500' fill='none' stroke='black' stroke-width='2.600' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec > h2::after { display: none; }
.sec > h2 small { order: 0; margin-left: auto; font: 500 12px/1.2 var(--f-body); color: var(--ink-3); text-align: right; }
.card { border-radius: var(--r-lg); border: 1.5px solid var(--line); padding: 13px 14px; box-shadow: 0 10px 22px -18px var(--shadow); }
.card .k { font: 600 13px/1.2 var(--f-body); color: var(--ink-2); align-items: center; }
.card .v { font-size: 32px; margin-top: 8px; }
.card .v small { font: 600 13px var(--f-body); }
.card.t { --tc: color-mix(in srgb, var(--th) var(--hp), white); background: linear-gradient(165deg, color-mix(in srgb, var(--tc) var(--tint), var(--surface)), var(--surface) 75%); border-color: color-mix(in srgb, var(--tc) 38%, var(--line)); position: relative; overflow: hidden; }
.card.t .k { color: var(--ink); font-size: 13.5px; gap: 8px; justify-content: flex-start; }
.card.t.tap .k::after { margin-left: auto; color: var(--tc); font-size: 20px; }
.card.t.tap:hover { border-color: var(--tc); transform: translateY(-2px); box-shadow: 0 14px 24px -16px var(--tc); }
.t-swell1 { --th: var(--h-swell1); } .t-swell2 { --th: var(--h-swell2); } .t-chop { --th: var(--h-chop); } .t-sea { --th: var(--h-sea); } .t-wind { --th: var(--h-wind); } .t-tide { --th: var(--h-tide); }
.t-water { --th: var(--h-water); } .t-air { --th: var(--h-air); } .t-sky { --th: var(--h-sky); } .t-pressure { --th: var(--h-pressure); } .t-sun { --th: var(--h-sun); } .t-moon { --th: var(--h-moon); } .t-size { --th: var(--h-size); } .t-score { --th: var(--h-score); }
.ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tc, var(--brand)); color: var(--ico-ink); display: grid; place-items: center; }
.ico svg { width: 16px; height: 16px; }
.spark { display: block; width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.spark .a { fill: var(--tc); opacity: .2; } .spark .l { fill: none; stroke: var(--tc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .spark .d { fill: var(--surface); stroke: var(--tc); stroke-width: 2.4; }
.spark .h { stroke: color-mix(in srgb, var(--tc) 45%, transparent); stroke-width: 1.5; stroke-dasharray: 3 4; fill: none; } .spark .s { fill: var(--tc); }
.tag { border-radius: 99px; padding: 4px 9px; font: 700 11.5px/1 var(--f-body); }
.verdict { font: 500 17px/1.45 var(--f-body); background: color-mix(in srgb, var(--q1) 11%, var(--surface)); border-radius: var(--r-lg); padding: 12px 14px; border: 1.5px solid color-mix(in srgb, var(--q1) 30%, var(--line)); }
.demo-note { border-radius: var(--r); }
.bar { height: 10px; border-radius: 99px; } .bar i { border-radius: 99px; background: linear-gradient(90deg, var(--s1), var(--s3)); }
details.how { border-radius: var(--r); }
.cmp-fig { cursor: pointer; }
.cmp-ctl output { font-weight: 700; }

/* forecast */
.chip { border-radius: 99px; border-width: 1.5px; padding: 6px 13px; font: 600 13px var(--f-body); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { color: #04141F; }
.day { flex: 0 0 132px; border-radius: var(--r-lg); border: 1.5px solid var(--line); padding: 0; overflow: hidden; background: var(--surface); box-shadow: 0 8px 18px -16px var(--shadow); }
.day .art { display: block; width: 100%; height: 46px; }
.day .in { padding: 8px 11px 11px; }
.day .d { font: 700 13px var(--f-body); color: var(--ink); }
.day .h { font: 700 24px/1.1 var(--f-display); } .day .h small { font: 600 12px var(--f-body); }
.day .w { font: 500 11.5px/1.45 var(--f-body); }
.day .sc { height: 7px; border-radius: 99px; }
.readout { border-radius: var(--r); font: 500 13px/1.5 var(--f-body); }
.pl-cell { border-radius: 6px; height: 28px; } .pl-row > b { font-weight: 600; }
.chartbox { border-radius: var(--r-lg); border-width: 1.5px; padding: 12px 12px 6px; box-shadow: 0 10px 22px -18px var(--shadow); }
.chartbox h3 { font: 700 15px var(--f-display); align-items: center; gap: 8px; flex-wrap: wrap; }
.chartbox h3 small { font: 500 12px var(--f-body); flex: 1 1 100%; order: 3; margin-top: -2px; }
.chartbox h3 .more { margin-left: auto; font: 700 12px var(--f-body); color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border: 0; border-radius: 99px; padding: 5px 11px; }
.chartbox h3 .more:hover { background: color-mix(in srgb, var(--brand) 22%, var(--surface)); }
#tile .chartbox .more { display: none; }
.chartbox .tip { border-radius: 12px; }
.tablewrap { border-radius: var(--r-lg); }
.legend { font: 600 12px var(--f-body); }
.link { border-radius: var(--r); border-width: 1.5px; }
.camgrid a { border-radius: var(--r); border-width: 1.5px; }
.embed { border-radius: var(--r-lg); }

/* modal */
.modal { background: color-mix(in srgb, #04141F 55%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-card { border-radius: 26px; border-width: 0; padding: 18px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.5); }
.modal-card h3 { font-size: 20px; }
.tile-card { --tc: color-mix(in srgb, var(--th, var(--brand)) var(--hp), white); border-top: 8px solid var(--tc); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) var(--tint), var(--surface)), var(--surface) 160px); }
.tile-top { background: transparent; }
.tile-top h3 { display: flex; align-items: center; gap: 10px; } .tile-top .ico { width: 34px; height: 34px; } .tile-top .ico svg { width: 19px; height: 19px; }
.tfacts > div { border-radius: var(--r); border: 0; background: color-mix(in srgb, var(--tc, var(--brand)) 10%, var(--surface-2)); padding: 10px 12px; }
.tfacts span { font: 600 12px/1.2 var(--f-body); } .tfacts b { font-size: 19px; }
.toast { border-radius: 99px; padding: 10px 18px; font-weight: 600; }
.pop { border-radius: 20px; }
.alert { border-radius: var(--r); }
.err { border-radius: var(--r); }
.srf .pill { border-radius: 99px; }

/* ---------- account, sharing, layout editing ---------- */
.acctbtn { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.acctbtn svg { width: 18px; height: 18px; } .acctbtn:hover { background: color-mix(in srgb, var(--brand) 18%, var(--surface-2)); }
.acctbtn .adot { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); border: 2px solid var(--surface); }
.acctbtn .adot[hidden] { display: none; }
@media (max-width: 440px) { .acctbtn { width: 28px; height: 28px; } .status #status-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .status { padding: 8px; } }
.acct-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.acct-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.desk-only { display: none; } @media (min-width: 900px) { .desk-only { display: inline-block; } }
.xlist { display: grid; gap: 6px; }
.xrow { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.xrow input { margin-top: 3px; accent-color: var(--brand); } .xrow b { display: block; font-size: 14px; } .xrow small { color: var(--ink-2); font-size: 12.5px; }
.xrow.off { opacity: .55; cursor: default; }
#x-text, #i-text { font: 400 11.5px/1.4 ui-monospace, Menlo, monospace; }
.acct-msg { min-height: 1.3em; font-size: 13px; color: var(--bad); font-weight: 600; } .acct-msg.ok { color: var(--ok); }
.acct-sub { display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: var(--surface-2); }
#acct-form .fld input { font-size: 16px; }
.nav .layb { display: none; }
.lay-banner { display: none; }
@media (min-width: 900px) {
  .nav { grid-template-columns: repeat(4, auto) 1fr; }
  .nav .layb { display: inline-flex; align-items: center; gap: 7px; justify-self: end; align-self: center; border: 1.5px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 13px; font: 600 12px/1 var(--f-body); color: var(--ink-2); margin: 4px 0; }
  .layb svg { width: 16px; height: 16px; } .layb:hover { border-color: var(--brand); color: var(--brand); }
  .layb[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
  :root[data-theme="dark"] .layb[aria-pressed="true"] { color: #04141F; }
  .lay-banner { position: sticky; top: 0; z-index: 25; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px var(--gut); background: var(--brand); color: #fff; border-radius: 0 0 18px 18px; box-shadow: 0 10px 20px -14px var(--shadow); font-size: 13px; }
  .lay-banner[hidden] { display: none; } .lay-banner .sp { flex: 1; }
  :root[data-theme="dark"] .lay-banner { color: #04141F; }
  .lay-banner .btn { color: var(--ink); } .lay-banner .btn.pri { color: var(--accent-ink); }
}
.lay-bar { display: none; }
body.editing .lay-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 16%, var(--surface)); font: 700 13px var(--f-body); color: var(--ink); }
.lay-grip { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff; cursor: grab; flex: none; touch-action: none; }
:root[data-theme="dark"] .lay-grip { color: #04141F; }
.lay-grip svg { width: 14px; height: 14px; } .lay-grip:active { cursor: grabbing; }
.lay-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lay-bar button { border: 0; background: var(--surface); color: var(--ink); border-radius: 99px; padding: 5px 11px; font: 700 12px var(--f-body); box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 25%, transparent); }
.lay-bar button:hover { color: var(--brand); }
body.editing .pane > .lay-edit { outline: 2px dashed color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 6px; border-radius: 4px; }
body.editing .pane > .lay-edit > :not(.lay-bar) { pointer-events: none; }
body:not(.editing) .lay-hide { display: none !important; }
body.editing .lay-hide { opacity: .4; }
.lay-drag { opacity: .35; } .lay-before { box-shadow: 0 -5px 0 -1px var(--accent); } .lay-after { box-shadow: 0 5px 0 -1px var(--accent); }

/* ---------- group 1: swell arrival, compare, alerts ---------- */
.arr { cursor: pointer; }
.arr-h { font: 700 19px/1.25 var(--f-display, var(--f-body)); color: var(--ink); }
.arr-s { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.arr-b { padding-top: 10px; border-top: 1px dashed var(--line); line-height: 1.5; color: var(--ink-2); }
.cmp-chart { width: 100%; height: auto; display: block; color: var(--ink); margin: 8px 0 0; }
.cmp-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin: 6px 0 10px; color: var(--ink-2); }
.cmp-leg span { display: inline-flex; align-items: center; gap: 6px; }
.cmp-sum { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, var(--surface-2)); font-size: 14px; line-height: 1.45; }
.cmp-tbl { display: grid; gap: 6px; }
.cmp-sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
#cmpm-pick { margin: 8px 0 4px; max-height: 120px; overflow: auto; }
.alertbox { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }

/* ---------- group 2: planner filters, presets, recovery, trips ---------- */
.plan-f { display: grid; gap: 8px; margin: 0 0 10px; }
.plan-r { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.plan-r > span { min-width: 36px; font-size: 13px; color: var(--ink-2); }
.pl-cell.pl-off { opacity: .22; filter: saturate(.3); }
.plan-m { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, var(--surface-2)); font-size: 14px; display: grid; gap: 6px; }
.plan-l { display: grid; gap: 4px; }
.plan-l > div { display: flex; justify-content: space-between; gap: 12px; }
.lp-mine { display: inline-flex; align-items: center; gap: 2px; }
.lp-x { border: 0; background: none; color: var(--ink-2); font-size: 18px; line-height: 1; padding: 2px 6px; cursor: pointer; }
.lp-save { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.rc-code { font: 600 22px/1.3 var(--f-mono); letter-spacing: .06em; text-align: center; padding: 16px 10px; margin: 8px 0 4px; border-radius: 12px; border: 1px dashed var(--line); background: var(--surface-2); user-select: all; word-break: break-all; }
.acct-bak { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.acct-bak p { margin: 4px 0 8px; }
.trip-ed { display: grid; gap: 10px; margin-top: 8px; }
.trip-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#tripm-top { margin: 8px 0; }
.trip-grid { display: grid; gap: 4px; margin-top: 10px; }
.trip-grid .th { font-weight: 600; font-size: 13px; padding: 4px 6px; }
.trip-grid .td { border-radius: 10px; background: var(--surface-2); padding: 6px 8px; font-size: 12.5px; min-width: 0; }
.trip-grid .td.dl { background: none; font: 500 12px var(--f-mono); color: var(--ink-2); align-self: center; padding-left: 0; }
.trip-grid .td.na { color: var(--ink-2); opacity: .7; align-self: center; }
.trip-grid .cellb { border: 1px solid transparent; display: flex; gap: 8px; align-items: center; text-align: left; cursor: pointer; font-family: inherit; color: inherit; }
.trip-grid .cellb.star { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.trip-grid .cellb .m { line-height: 1.35; color: var(--ink-2); }
.trip-pack { display: grid; gap: 6px; margin-top: 12px; }
.trip-pack > div { display: grid; gap: 1px; font-size: 13px; }
.trip-pack span { color: var(--ink-2); }
#tripm .modal-card, #cmpm .modal-card { width: min(100%, 820px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; align-content: start; }
.trip-grid .cellb { flex-wrap: wrap; }

/* ---------- group 3: rain advisory, crowd, sources ---------- */
.adv { padding: 10px 12px; border-radius: 12px; border-left: 4px solid var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--surface-2)); }
.adv[data-t="warn"] { border-left-color: #e5a32b; background: color-mix(in srgb, #e5a32b 14%, var(--surface-2)); }
.adv[data-t="bad"] { border-left-color: #d1493f; background: color-mix(in srgb, #d1493f 13%, var(--surface-2)); }
.adv p { margin: 4px 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.adv-n { font-size: 13px; color: var(--ink-2); }
.crowd-h { font-size: 16px; margin-bottom: 8px; }
.crowd-row { display: flex; gap: 2px; align-items: flex-end; height: 54px; }
.crowd-c { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.crowd-c i { display: block; width: 100%; height: calc(8% + var(--c) * 80%); border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--brand) calc(25% + var(--c) * 75%), var(--surface-2)); }
.crowd-c small { font: 500 10px var(--f-mono); color: var(--ink-2); height: 12px; }
.crowd-p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.agree { display: grid; gap: 8px; }
.agree > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.agree-k { font-weight: 600; min-width: 48px; }
.agree small { color: var(--ink-2); font-size: 12.5px; }
.src { margin-top: 12px; }
.src summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.src ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.src li { display: grid; gap: 1px; font-size: 13px; }
.src li span { color: var(--ink-2); }

/* ---------- group 4: animation ---------- */
.sm-flow { pointer-events: none; width: 100%; height: 100%; }
.mapplay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px var(--gut) 0; font: 500 11px var(--f-mono); color: var(--ink-2); }
.mapplay input[type="range"] { flex: 1 1 160px; min-width: 120px; accent-color: var(--accent); }
.mapplay output { min-width: 72px; color: var(--ink); }
.mapplay .mp-note { flex: 1 1 100%; font: 400 12.5px var(--f-body, inherit); color: var(--ink-2); }
.mapplay .mp-note:empty { display: none; }
.scene-card { padding: 0; overflow: hidden; }
canvas.scene { display: block; width: 100%; height: clamp(170px, 34vw, 250px); background: #14324a; }
.scene-cap { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 9px 12px; font-size: 13px; color: var(--ink-2); }
.scene-cap b { color: var(--ink); }
.an-strip { position: relative; display: flex; height: 26px; margin-top: 10px; border-radius: 8px; overflow: hidden; cursor: pointer; touch-action: none; background: var(--surface-2); }
.an-c { flex: 1; min-width: 0; background: var(--line); }
.an-c[data-b="0"] { background: var(--q0); } .an-c[data-b="1"] { background: var(--q1); } .an-c[data-b="2"] { background: var(--q2); } .an-c[data-b="3"] { background: var(--q3); } .an-c[data-b="4"] { background: var(--q4); }
.an-c.dk { background: color-mix(in srgb, var(--ink) 22%, var(--surface-2)); }
.an-ph { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; box-shadow: 0 0 0 1.5px var(--bg); pointer-events: none; }
.an-days { position: relative; height: 16px; font: 500 10px var(--f-mono); color: var(--ink-2); }
.an-days span { position: absolute; top: 2px; transform: translateX(-50%); }
.rp-chart { display: block; width: 100%; height: 96px; margin-top: 10px; border-radius: 10px; background: var(--surface-2); cursor: pointer; touch-action: none; }
.rp-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.rp-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }

/* ---------- group 5: fit, accuracy, offline ---------- */
.fit-h { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; line-height: 1.35; }
.fit-big { display: inline-flex; align-items: center; justify-content: center; min-width: 74px; height: 74px; border-radius: 50%; font: 700 22px var(--f-mono); color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 5px var(--q0); }
.fit-big[data-b="1"] { box-shadow: inset 0 0 0 5px var(--q1); } .fit-big[data-b="2"] { box-shadow: inset 0 0 0 5px var(--q2); } .fit-big[data-b="3"] { box-shadow: inset 0 0 0 5px var(--q3); }
.fit-r { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; font-size: 14px; line-height: 1.45; }
.fit-t { flex: 0 0 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 700 12px var(--f-mono); font-style: normal; color: #fff; background: var(--ink-3); }
.fit-t.ok { background: #1f9d6b; } .fit-t.mid { background: #d39a1c; } .fit-t.no { background: #d1493f; }
.acc-t th, .acc-t td { vertical-align: top; }
.acc-t td small { color: var(--ink-2); }
@media (max-width: 560px) { .trip-grid .cellb { flex-direction: column; align-items: flex-start; gap: 4px; } .trip-dates { grid-template-columns: 1fr; } }

/* ---------- group 6: glance, crews, accessibility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }
.top { flex-wrap: wrap; }
.glance { flex: 1 1 100%; min-width: 0; }
.gl-btn { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 6px 10px; }
.gl-btn .chipq { flex: none; width: 40px; height: 32px; font-size: 14px; }
.gl-t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gl-t b { font-size: 13px; line-height: 1.25; } .gl-t small { color: var(--ink-3); font-size: 12px; line-height: 1.3; }
.gl-x { margin-top: 6px; }
html[data-glance] .app > :not(.top):not(.skip):not(.toast), html[data-glance] .top > :not(.glance):not(.brand) { display: none !important; }
html[data-glance] .top { padding-top: 18px; }
html[data-glance] .gl-btn { padding: 18px 16px; gap: 16px; border-radius: 18px; }
html[data-glance] .gl-btn .chipq { width: 72px; height: 60px; font-size: 26px; border-radius: 16px; }
html[data-glance] .gl-t b { font-size: 22px; } html[data-glance] .gl-t small { font-size: 15px; }
.crew .cr-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; } .crew .cr-h small { color: var(--ink-3); }
.cr-pick { margin: 8px 0 2px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.cr-list { display: flex; flex-direction: column; margin-top: 6px; }
.cr-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.cr-row .chipq { flex: none; width: 40px; height: 32px; font-size: 14px; }
.cr-n { flex: 1; min-width: 0; display: flex; flex-direction: column; } .cr-n small { color: var(--ink-3); font-size: 12px; }
.cr-act, .cr-forms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: flex-end; }
.cr-forms form { display: flex; gap: 6px; align-items: flex-end; flex: 1 1 220px; }
.chartbox svg[tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
/* text size: zoom the whole app (percent heights already adjust for zoom) */
html[data-text="large"] body { zoom: 1.15; }
html[data-text="xl"] body { zoom: 1.32; }
/* high contrast */
:root[data-contrast="high"] { --ink: #000; --ink-2: #0B2236; --ink-3: #1B3448; --line: #3F5B70; --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #E6EEF2; --accent: #B01E0C; --brand: #00566B; --water: #004E61; --ok: #0B6A3E; --warn: #7A4600; --bad: #A01408; --grid-text: #1B3448; }
:root[data-theme="dark"][data-contrast="high"] { --ink: #FFFFFF; --ink-2: #EAF4F8; --ink-3: #CFE2EC; --line: #8DB0C4; --bg: #000; --surface: #04101A; --surface-2: #0E2436; --accent: #FF9A80; --brand: #6FE0F2; --water: #7AE3F2; --ok: #6FE3A6; --warn: #FFC66B; --bad: #FFA699; --grid-text: #CFE2EC; }
:root[data-contrast="high"] .card, :root[data-contrast="high"] .btn, :root[data-contrast="high"] select, :root[data-contrast="high"] input, :root[data-contrast="high"] .chk, :root[data-contrast="high"] .row { border-color: var(--ink-2); }
:root[data-contrast="high"] :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
:root[data-contrast="high"] a { text-decoration: underline; }
/* no motion at all when asked */
:root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.help-card { max-width: 720px; max-height: min(88vh, 900px); display: flex; flex-direction: column; gap: 10px; }
.help-body { overflow-y: auto; min-height: 0; padding-right: 2px; }
.help-sec { margin-top: 14px; } .help-sec h3 { font-size: 15px; margin-bottom: 4px; }
.help-sec details { border-top: 1px solid var(--line); padding: 2px 0; } .help-sec summary { cursor: pointer; padding: 9px 0; font-weight: 600; }
.help-a { padding: 0 0 10px; color: var(--ink-2); line-height: 1.5; } .help-a p { margin: 0 0 8px; } .help-a ul, .help-a ol { margin: 0 0 8px; padding-left: 20px; } .help-a li { margin-bottom: 4px; }
.tour-tip { position: fixed; z-index: 400; background: var(--surface); color: var(--ink); border: 1px solid var(--ink-2); border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 40px -12px var(--shadow); width: max-content; }
.tour-tip[hidden] { display: none; } .tour-tip b { display: block; font-size: 15px; margin: 2px 0 4px; } .tour-tip p { margin: 0 0 10px; color: var(--ink-2); line-height: 1.45; font-size: 13px; }
.tour-n { font-size: 11px; color: var(--ink-3); } .tour-b { display: flex; gap: 6px; flex-wrap: wrap; }
.tour-off { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--ink-3); font-size: 12px; text-decoration: underline; }
.tour-tip::before { content: ""; position: absolute; left: var(--ax, 50%); width: 12px; height: 12px; background: var(--surface); border: 1px solid var(--ink-2); transform: translateX(-50%) rotate(45deg); }
.tour-tip[data-pos="below"]::before { top: -7px; border-right: 0; border-bottom: 0; } .tour-tip[data-pos="above"]::before { bottom: -7px; border-left: 0; border-top: 0; } .tour-tip[data-pos="mid"]::before, .tour-tip[data-pos="over"]::before { display: none; }
.tour-hl { outline: 3px solid var(--accent) !important; outline-offset: 3px; border-radius: 12px; position: relative; z-index: 350; }
