:root {
  
  --brand: #0B3954; --brand-tile: #154B6B; --brand-line: #2B6082; --brand-muted: #BFD6E6; --brand-accent: #8FD9C7;
  --bg: #eef3f7;
  --panel: #ffffff;
  --fg: #16212b;
  --muted: #5f6d7a;
  --line: #dfe5eb;
  --accent: #1f6390;
  --accent-soft: #e3edf5;
  --accent-fg: #ffffff;
  --warn-bg: #fff6e0;
  --warn-line: #f0c96a;
  --s-frozen: #ffffff;
  --s-partial: #5b9bd5;
  --s-open: #2b6cb0;
  --s-unknown: #b8bec4;
  --sidebar: 360px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11171c; --panel: #192128; --fg: #e6edf3; --muted: #93a1ad; --line: #2a343d;
    --accent: #7fb3e8; --accent-soft: #1f2d3b; --accent-fg: #0d1620;
    --warn-bg: #2c2513; --warn-line: #7a6326;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 12.5px; }

.layout { display: grid; grid-template-columns: var(--sidebar) 1fr; height: 100%; }
.sidebar { background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column;
  min-height: 0; overflow-y: auto; padding: 18px 18px 14px; gap: 18px; }
.map-wrap { position: relative; min-width: 0; }
#map { position: absolute; inset: 0; background: var(--bg); }
.side-top { margin: -18px -18px 0; padding: 16px 18px 18px; background: var(--brand); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.side-top .search input { border: 0; }
.side-top .near-btn { margin-top: 0; background: var(--brand-tile); border-color: var(--brand-line); color: #fff; }
.side-top .near-btn svg { color: var(--brand-accent); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand p { color: var(--brand-muted); }
.logo { width: 32px; height: 32px; color: #fff; flex: none; }
h1 { font-size: 19px; margin: 0; }
.brand p { margin: 2px 0 0; font-size: 12.5px; }
h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
h2 .muted { text-transform: none; letter-spacing: 0; }
.block.grow { flex: 1 1 auto; min-height: 160px; display: flex; flex-direction: column; }

.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px;
  border: 1.5px solid #6b8bab; flex: none; }
.s-frozen { background: var(--s-frozen); border: 2px solid #1d3a57 !important; }
.s-partial { background: var(--s-partial); border-color: #1f4f82 !important; }
.s-open { background: var(--s-open); border-color: #1f4f82; }
.s-unknown { background: var(--s-unknown); border-color: #8d959c; }

.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14px; }
.legend li { display: flex; align-items: center; }
.legend .count { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }

.disclaimer { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 10px 12px;
  font-size: 13px; line-height: 1.45; }
.disclaimer strong { display: block; margin-bottom: 2px; }

.lake-list { list-style: none; margin: 0; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.lake-list li { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-top: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.lake-list li:first-child { border-top: 0; }
.lake-list li:hover { background: var(--accent-soft); }
.lake-list .val { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }

.source { font-size: 11.5px; line-height: 1.45; color: var(--muted); margin: 0; }
.source a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 13px; }

.search { position: relative; }
.search input { width: 100%; font: inherit; font-size: 15px; padding: 9px 12px 9px 34px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--fg); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.search svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search ul { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.14); max-height: 300px; overflow: auto; }
.search li { padding: 7px 10px; border-radius: 7px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.search li small { color: var(--muted); }
.search li[aria-selected="true"], .search li:hover { background: var(--accent-soft); }

.notice { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: 8px 12px; font-size: 13px; }

.maplibregl-popup-content { background: var(--panel); color: var(--fg); border-radius: 12px; padding: 12px 14px; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.maplibregl-popup-tip { border-top-color: var(--panel) !important; border-bottom-color: var(--panel) !important; }
.maplibregl-popup-close-button { color: var(--muted); font-size: 18px; }
.pop h3 { margin: 0 0 2px; font-size: 15px; }
.pop p { margin: 4px 0; font-size: 13px; }
.pop a { color: var(--accent); font-weight: 600; text-decoration: none; }

body.page { background: var(--bg); height: auto; min-height: 100vh; line-height: 1.5; }
.site-head { background: var(--brand); color: #fff; }
.site-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; min-height: 62px; display: flex; align-items: center; gap: 22px; }
.site-head a { color: #dbe8f2; text-decoration: none; font-weight: 600; font-size: 15px; }
.site-head a:hover, .site-head a.on { color: #fff; }
.site-head .brand-link { color: #fff; font-size: 23px; font-weight: 800; display: inline-flex; align-items: center; gap: 9px; letter-spacing: -0.015em; white-space: nowrap; }
.logo-mark { width: 36px; height: 36px; color: #fff; flex: none; }
.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a { white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a.on { border-bottom-color: var(--brand-accent); }
.hsearch { flex: 1; max-width: 380px; display: flex; align-items: center; gap: 8px; background: var(--brand-tile);
  border: 1px solid var(--brand-line); border-radius: 10px; padding: 0 12px; color: var(--brand-muted); }
.hsearch svg { width: 18px; height: 18px; flex: none; }
.hsearch input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; padding: 9px 0; outline: none; }
.hsearch input::placeholder { color: var(--brand-muted); }
.hsearch:focus-within { border-color: var(--brand-accent); }
.head-ico, .head-menu { display: none; }
.head-ico svg, .head-menu summary svg { width: 26px; height: 26px; color: #fff; display: block; }
.head-menu summary { list-style: none; cursor: pointer; }
.head-menu summary::-webkit-details-marker { display: none; }
.page main a:not(.cta):not(.chip) { color: var(--accent); }
@media (max-width: 900px) { .site-nav { gap: 14px; } .site-nav a { font-size: 14px; } .hsearch { max-width: 260px; } }
@media (max-width: 760px) {
  .site-in { padding: 10px 16px; gap: 16px; min-height: 56px; }
  .site-head .brand-link { font-size: 21px; } .logo-mark { width: 32px !important; height: 32px !important; }
  .site-head .hsearch, .site-nav { display: none; }
  .head-ico { display: block; margin-left: auto; } .head-menu { display: block; position: relative; margin-left: auto; } .head-ico + .head-menu { margin-left: 0; }
  .head-menu nav { position: absolute; right: -6px; top: 40px; z-index: 50; background: var(--panel); border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.22); padding: 8px 0; min-width: 210px; display: flex; flex-direction: column; }
  .head-menu nav a { color: var(--fg); padding: 11px 18px; font-size: 16px; }
  .head-menu nav a.on { color: var(--accent); }
}
.foot-links a { margin-right: 4px; }
.page h2 { font-size: 17px; font-weight: 650; text-transform: none; letter-spacing: 0; color: var(--fg); margin: 0 0 10px; }
.lake-head { margin: 4px 0 18px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: #7A8894; margin-bottom: 4px; }
.crumb a, .page main .crumb a { color: #7A8894; text-decoration: none; }
.crumb a:hover { color: var(--accent); text-decoration: underline; }
.lake-head h1 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -0.015em; }
.lake-head .sub { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.lake-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.lake-main, .lake-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 980px) { .lake-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; } }
.now { background: var(--brand); color: #fff; border-radius: 16px; padding: 24px 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) { .now { grid-template-columns: minmax(0, 1fr) minmax(200px, 260px); gap: 32px; }
  .now.now-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
  .now-split > .now-main { padding-right: 28px; }
  .now-split > .now-half { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 639px) { .now-split { gap: 0; } .now-split > .now-half { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; margin-top: 20px; } }

.now-lab { display: flex; align-items: center; gap: 7px; }
.now-lab svg { width: 17px; height: 17px; fill: none; stroke: #A9DCF2; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.now .now-big { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; margin: 8px 0 6px; }
.now-src .late, .now-src.warn-text { color: #FFD7A8; }
.now .now-cd { margin-top: 14px; font-size: 17px; font-weight: 600; }
.now-cd small { font-size: 13px; font-weight: 400; color: var(--brand-muted); margin-left: 4px; }
.now-chip { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand); background: #FFD7A8; border-radius: 6px;
  padding: 1px 7px; margin-left: 6px; vertical-align: middle; letter-spacing: 0; }
.now .now-warn { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; background: #FFF6E0; color: #5A4300;
  border-radius: 10px; padding: 9px 11px; font-size: 13px; line-height: 1.35; }
.now-warn b { color: #3E2E00; }
.now-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); margin-top: 12px; overflow: hidden; }
.now-bar i { display: block; height: 100%; background: #A9DCF2; border-radius: 4px; }
.now p { margin: 0; }
.now-label { font-size: 14px; font-weight: 600; color: var(--brand-muted); }
.now-val { font-size: 64px; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 2px 0 2px !important; }
.now-word { font-size: 34px; }
.now-src { font-size: 13px; color: var(--brand-muted); }
.now-trend { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; margin-top: 14px !important; }
.now-trend svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.now-note { font-size: 13.5px; color: var(--brand-muted); margin-top: 4px !important; }
.now-badge { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.4; color: #D7F2EA;
  background: rgba(143,217,199,.12); border-radius: 10px; padding: 8px 12px; margin-top: 14px !important; }
.now-badge span { color: var(--brand-accent); }
.now-others { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--brand-muted); }
.now-stats { margin: 0; display: flex; flex-direction: column; align-self: center; }
.stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-top: 0; }
.stat dt { font-size: 14px; color: var(--brand-muted); }
.stat dd { margin: 0; text-align: right; display: flex; flex-direction: column; }
.stat dd b { font-size: 16px; white-space: nowrap; }
.stat dd span { font-size: 12px; color: var(--brand-muted); }
.page-main { max-width: 1120px; margin: 0 auto; padding: 20px 20px 40px; }
.page-main > h1 { font-size: 30px; margin: 10px 0 0; }
.page-main .sub { margin: 2px 0 0; color: var(--muted); }
.page-main .lead { font-size: 18px; margin: 12px 0 14px; }
.page-main .disclaimer { margin: 0 0 16px; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.card { background: var(--panel); border: 0; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(11,57,84,.08); }
.card h2 { margin-bottom: 6px; }
.card p { margin: 4px 0; }
.card .big { font-size: 26px; font-weight: 650; margin: 2px 0; display: flex; align-items: center; }
.card .big .dot { width: 18px; height: 18px; }
.card .warn { color: #a5620a; font-size: 13.5px; }
.kv { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.kv th { text-align: left; font-weight: 400; color: var(--muted); padding: 3px 8px 3px 0; }
.kv td { text-align: right; padding: 3px 0; font-variant-numeric: tabular-nums; }
.cta { display: inline-block; background: var(--accent); color: var(--accent-fg) !important; text-decoration: none; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.h2 { margin-top: 26px; }
.chip { display: inline-flex; justify-content: center; min-width: 44px; border-radius: 8px; padding: 2px 6px; font-weight: 700; color: #14212b; font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sky { width: 24px; height: 24px; display: inline-block; }

.fkey { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }
.fboxes { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .fboxes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fboxes li { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.fday { background: #E3EDF5; color: var(--brand); font-size: 14px; padding: 7px 8px; text-align: center; white-space: nowrap; }
.fday b { font-weight: 700; }
.fboxes li.today { border-color: var(--brand); }
.fboxes li.today .fday { background: var(--brand); color: #fff; }
.fsky { display: flex; flex-direction: column; align-items: center; padding: 12px 6px 4px; }
.fsky .sym { width: 68px; height: 68px; display: block; }
.fsky span { font-size: 12px; color: #3F4F5B; text-align: center; line-height: 1.3; min-height: 1.3em; }
.fwater { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px 8px; }
.fwater span { font-size: 12px; color: var(--muted); }
.fboxes .chip { font-size: 22px; min-width: 58px; padding: 3px 8px; border-radius: 9px; }
.fvals { margin: 0; padding: 4px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.fvals div { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 14px; }
.fvals dt { color: var(--muted); font-size: 13px; display: flex; align-items: center; }
.fvals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fvals .fair { padding-bottom: 4px; border-bottom: 1px solid #EEF2F5; margin-bottom: 2px; }
.fvals .fair dd { font-size: 14.5px; }
@media (min-width: 600px) and (max-width: 1180px) { .fvals .fair dt { font-size: 12px; } }
.fvals .sep { color: #9AA8B3; font-weight: 400; }
.fvals svg { width: 18px; height: 18px; }
.fwind svg path { fill: none; stroke: #2C6E8F; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wchip { display: inline-flex; justify-content: center; border-radius: 9px; padding: 4px 10px; font-size: 15px; font-weight: 700; }
.wchip.frost { background: #CFE6F5; color: var(--brand); }
.wchip.zero { background: #E3EAF0; color: var(--brand); }
.wchip.thaw { background: #FFD7A8; color: #5A3300; }
.fgust dt, .fgust dd { color: #9A4A00 !important; }
.fgust dt { font-size: 12px !important; font-weight: 600; }
.fgust dd { font-size: 13px; }
@media (max-width: 380px) { .fvals { padding: 4px 8px 8px; } .fsky .sym { width: 56px; height: 56px; } }
.nlist { list-style: none; margin: 0; padding: 0; }
.nlist a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.nlist small { color: var(--muted); }
.ad { display: none; }              
body.ads .ad { display: block; min-height: 250px; margin: 0 0 14px; }
.card.wide { grid-column: 1 / -1; }
.near a { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; font-size: 14px; color: var(--fg); }
.near .dot { width: 10px; height: 10px; margin-right: 6px; }
.letters { columns: 3 200px; column-gap: 24px; }
.letter { break-inside: avoid; margin-bottom: 14px; }
.letter ul { list-style: none; padding: 0; margin: 0; }
.letter a { color: var(--accent); }
.letter small { color: var(--muted); }
.page-foot { max-width: 1120px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--line); background: transparent; font-size: 12px; color: var(--muted); }

.near-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: inherit; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); background: var(--panel); color: var(--accent); border-radius: 10px; padding: 7px 12px; cursor: pointer; }
.near-btn svg { width: 16px; height: 16px; }
.near-btn:disabled { opacity: .6; cursor: progress; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { display: inline-flex; gap: 6px; align-items: baseline; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
  text-decoration: none; color: var(--fg); font-size: 14px; background: var(--panel); }
.chips a:hover { background: var(--accent-soft); }
.chips small { color: var(--muted); font-size: 12px; }
.linkbtn { font: inherit; font-size: 12px; text-transform: none; letter-spacing: 0; border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0 0 0 6px; font-weight: 600; }

.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { font: inherit; font-size: 14px; border: 0; border-radius: 8px; padding: 7px 8px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.source.note { font-size: 12.5px; }
.links { display: grid; gap: 4px; }
.links a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14px; }

.tdot, .adot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -2px;
  border: 1.5px solid #5d6b78; flex: none; }
.card .big .tdot, .card .big .adot { width: 18px; height: 18px; }
.adot.a0 { background: #2c7bb6; }
.adot.a1 { background: #ffffaa; }
.adot.a2 { background: #fdae61; }
.adot.a3 { background: #d7191c; }

.spark { width: 100%; height: auto; margin-top: 8px; border-bottom: 1px solid var(--line); }
.spark .ax { font-size: 9px; fill: var(--muted); }
.pt-asema { fill: var(--accent); }
.pt-wiki { fill: #e07b39; }
.pt-sat { fill: #8a63b8; }
.key { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 3px 0 8px; vertical-align: 0; }
.key.sq { border-radius: 0; }
.key.pt-asema { background: var(--accent); } .key.pt-wiki { background: #e07b39; } .key.pt-sat { background: #8a63b8; }
.pt-nayte { fill: #2f8f5b; } .key.pt-nayte { background: #2f8f5b; }
.others { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.profile td:nth-child(2) { width: 55%; text-align: left; }
.hbar { display: inline-block; height: 10px; border-radius: 3px; vertical-align: middle; }

.page-head nav { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: flex-end; }
table.list { border-collapse: collapse; width: 100%; font-size: 15px; }
table.list td, table.list th { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); text-align: left; }
table.list th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
table.list .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.list a, ul.plain a, ul.cols a { color: var(--accent); }
table.list small, ul.plain small, ul.cols small { color: var(--muted); }
ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
ul.cols { columns: 3 180px; list-style: none; padding: 0; }

details.method { margin: 14px 0; border-radius: 12px; padding: 10px 14px; background: var(--panel); box-shadow: 0 1px 2px rgba(11,57,84,.08); }
details.method summary { cursor: pointer; font-weight: 600; }
details.method p { font-size: 14px; color: var(--muted); }

.fchart { width: 100%; height: auto; max-width: 720px; display: block; margin: 6px 0 2px; }
.fchart .ax { font-size: 13px; fill: var(--muted); }
.fchart .band { fill: var(--accent); opacity: .14; }
.fchart .fline { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.fchart .fzone { fill: var(--accent-soft); opacity: .5; }
.fchart .today { stroke: var(--muted); stroke-dasharray: 2 2; }
.fdays { list-style: none; padding: 0; margin: 8px 0 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.fdays li { border: 1px solid var(--line); border-radius: 8px; padding: 5px 7px; display: grid; font-size: 13px; }
.fdays li span { color: var(--muted); font-size: 12px; }
.fdays li b { font-size: 17px; }
.fdays li small { color: var(--muted); }

@media (max-width: 600px) {
  .fchart .ax { font-size: 24px; }
  .fdays { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68px; overflow-x: auto; padding-bottom: 4px; }
  .now-val { font-size: 56px; }
  .lake-head h1 { font-size: 28px; }
  .now { padding: 20px; }
}

@media (max-width: 760px) {
  .layout { display: flex; flex-direction: column; height: auto; min-height: 100%; }
  .sidebar { display: contents; }
  .sidebar > * { order: 3; margin-left: 14px !important; margin-right: 14px !important; }
  .sidebar > .side-top { order: 1; margin: 0 !important; padding: 14px; }
  .sidebar > .block, .sidebar > .disclaimer, .sidebar > .seg, .sidebar > .links { margin-top: 14px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .page-head nav { justify-content: flex-start; }
  .sidebar > .source:last-child { padding-bottom: 18px; }
  .map-wrap { order: 2; height: 58vh; min-height: 320px; flex: none; }
  body { background: var(--panel); }
}

.toc { font-size: 14.5px; margin: 0 0 16px; line-height: 1.7; }
.page-main section[id] { scroll-margin-top: 16px; margin-bottom: 16px; }
.page-foot p { margin: 0 0 6px; }

.arisk { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 6px; }
.arisk-l { display: block; font-size: 13px; color: var(--muted); }
.arisk-v { display: block; font-size: 24px; font-weight: 700; line-height: 1.2; }
.arisk-v.r0 { color: #2f7d55; } .arisk-v.r1 { color: #8a6a00; } .arisk-v.r2 { color: #c25a12; } .arisk-v.r3 { color: #b3171a; }
.ameter { display: flex; gap: 3px; flex: none; }
.ameter i { width: 18px; height: 10px; border-radius: 3px; background: var(--line); }
.ameter i.on.r0 { background: #4a9d6e; } .ameter i.on.r1 { background: #e5c13a; }
.ameter i.on.r2 { background: #f08c3a; } .ameter i.on.r3 { background: #d7191c; }
.arisk-why { margin: 0 0 10px; font-size: 14px; }
.afacts { margin: 10px 0; padding-left: 18px; font-size: 14px; }
.afacts li { margin: 3px 0; }
.afacts .warn-li { color: #b3501a; font-weight: 600; }
.aadvice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 9px 11px;
  font-size: 13.5px; margin: 10px 0; }
@media (prefers-color-scheme: dark) {
  .arisk-v.r0 { color: #7fcf9f; } .arisk-v.r1 { color: #f0d36a; } .arisk-v.r2 { color: #f6a764; } .arisk-v.r3 { color: #ff7b7b; }
  .afacts .warn-li { color: #f6a764; }
}
.aobs { display: flex; align-items: flex-start; margin: 6px 0; font-size: 14px; }
.aobs .adot { margin-top: 3px; }
.arisk + .aobs, .arisk-why + .aobs { border-top: 1px solid var(--line); padding-top: 10px; }
.aobs .warn-b { color: #b3501a; }
.aobs + .others { margin-top: 0; }
@media (prefers-color-scheme: dark) { .aobs .warn-b { color: #f6a764; } }

.day-band { background: var(--brand); color: #fff; padding: 22px 20px 30px; }
.day-in { max-width: 1080px; margin: 0 auto; }
.day-band .kick { color: var(--brand-accent); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.day-band h1 { font-size: 34px; line-height: 1.15; margin: 6px 0 8px; font-weight: 800; max-width: 900px; }
.day-lead { color: #cfe0ec; max-width: 760px; margin: 0 0 18px; font-size: 16.5px; line-height: 1.5; }
.day-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bigsearch { flex: 1 1 360px; max-width: 580px; display: flex; align-items: center; gap: 10px; background: #fff;
  border-radius: 14px; padding: 0 16px; box-shadow: 0 6px 20px rgba(0,0,0,.18); color: var(--brand); }
.bigsearch svg { width: 22px; height: 22px; flex: none; }
.bigsearch input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; padding: 14px 0; background: transparent; color: #16212b; }
.bigsearch.light { border: 1px solid var(--line); box-shadow: none; }
.nearb { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-tile); border: 1px solid var(--brand-line);
  color: #fff !important; border-radius: 999px; padding: 10px 16px; font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nearb svg { width: 18px; height: 18px; color: var(--brand-accent); }
.nearb.busy { opacity: .6; }
.page-search { margin: 8px 0 18px; } .page-search .nearb { background: var(--brand); }
.sec { font-size: 21px !important; font-weight: 750 !important; margin: 26px 0 12px !important; }
.page-main > .sec:first-child { margin-top: 6px !important; }
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reg h3 { margin: 0 0 4px; font-size: 15px; }
.rbig { font-size: 24px; font-weight: 800; margin: 0; line-height: 1.2; }
.rsub, .rnote { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.rbar { height: 6px; border-radius: 3px; background: var(--accent-soft); margin-top: 10px; overflow: hidden; }
.rbar i { display: block; height: 100%; background: var(--s-partial); }
.cgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; }
.kicker { font-size: 12px !important; text-transform: uppercase; letter-spacing: .08em !important; color: var(--muted) !important; }
.hlist { list-style: none; margin: 0; padding: 0; }
.hlist.card { padding: 4px 16px; }
.hlist li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; color: var(--fg) !important;
  text-decoration: none; border-top: 1px solid var(--line); font-size: 15px; }
.hlist li:first-child a { border-top: 0; }
.hlist li a:hover span { color: var(--accent); }
.hlist small { color: var(--muted); margin-left: 6px; font-size: 13px; }
.hlist em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); }
.hlist .chip { flex: none; }
.more { margin: 8px 0 0; }
.chip.rc0 { background: #d6eedf; } .chip.rc1 { background: #f6e7a8; } .chip.rc2 { background: #f9c9a0; } .chip.rc3 { background: #f4a3a3; }
.mapcard { position: relative; display: block; padding: 10px !important; background: #dfe9f1 !important; text-decoration: none; min-height: 260px; }
.dotmap { display: block; width: 100%; max-height: 420px; }
.mapbtn { position: absolute; right: 12px; bottom: 12px; background: var(--brand); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 650; font-size: 14px; }
@media (max-width: 900px) { .regions { grid-template-columns: 1fr 1fr; } .cgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .day-band { padding: 16px 16px 22px; } .day-band h1 { font-size: 25px; } .day-lead { font-size: 15.5px; }
  .regions { gap: 10px; } .rbig { font-size: 20px; } .cgrid { grid-template-columns: 1fr; }
  .bigsearch { flex-basis: 100%; }
}
@media (prefers-color-scheme: dark) { .mapcard { background: #1b2732 !important; } .hlist li a { color: var(--fg) !important; } }

.page-foot a { color: var(--accent); }
.page-main table.list + h2.h2, .page-main .hlist.card + h2.h2, .page-main .disclaimer + h2.h2 { margin-top: 24px; }
@media (max-width: 600px) { .dotmap { max-height: 300px; } .mapcard { min-height: 0; } }

.hsearch, .bigsearch { position: relative; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px 0;
  background: var(--panel); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.22); text-align: left; }
.sugg li a { display: block; padding: 9px 16px; color: var(--fg) !important; text-decoration: none; font-size: 15px; font-weight: 500; }
.sugg li a small { color: var(--muted); margin-left: 6px; }
.sugg li.on a, .sugg li a:hover { background: var(--accent-soft); }
.sugg .hint, .sugg .none { padding: 6px 16px; font-size: 13px; color: var(--muted); }
.sugg .mun a { display: flex; align-items: center; gap: 8px; }
.sugg .mun svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.sugg .mun + li:not(.mun) { border-top: 1px solid var(--line); }
.cgrid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .cgrid.two { grid-template-columns: 1fr; } }

body.mapbody { display: flex; flex-direction: column; height: 100vh; }
.mapbody .layout { flex: 1; min-height: 0; height: auto; }

.mapbody .side-top { background: transparent; color: var(--fg); margin: 0; padding: 0; gap: 8px; }
.mapbody .side-top .brand .logo, .mapbody .side-top .brand h1 { display: none; }
.mapbody .side-top .search input { border: 1px solid var(--line); background: var(--panel); color: var(--fg); }
.mapbody .side-top .brand p { color: var(--muted); margin: 0; font-size: 12.5px; }
.mapbody .side-top .near-btn { background: var(--accent-soft); border-color: var(--line); color: var(--brand); }
.mapbody .side-top .near-btn svg { color: var(--accent); }
@media (max-width: 760px) { body.mapbody { display: block; height: auto; } }
@media (max-width: 760px) { .mapbody .sidebar > .side-top { padding: 10px 14px 12px !important; } }

.reg h3 { margin: 0; }
.rhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; min-height: 40px; }
.rhead .sym { flex: none; margin: -4px -4px 0 0; }
.rlabel { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.rwx { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.reg { display: flex; flex-direction: column; }
.regwrap { display: grid; grid-template-columns: 250px 1fr; gap: 14px; align-items: stretch; }
.regwrap .regions { grid-template-columns: 1fr 1fr; }
.regwrap .mapcard { min-height: 0; padding: 0 !important; overflow: hidden; background: var(--map-sea) !important; }
.regwrap .dotmap { position: absolute; inset: 8px 8px 8px 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-height: none; }
.dotmap .nbr { fill: var(--map-nbr); }
.dotmap .fin { fill: var(--map-land); stroke: var(--map-coast); stroke-width: .6; stroke-linejoin: round; }
.dotmap .rborder { fill: none; stroke: var(--map-coast); stroke-width: .8; stroke-dasharray: 3 2.5; stroke-linejoin: round; }
.dotmap .rlab text { font-family: inherit; font-size: 14px; font-weight: 700; fill: var(--fg); text-anchor: middle;
  paint-order: stroke; stroke: var(--map-land); stroke-width: 4px; stroke-linejoin: round; }
.dotmap .dots circle { stroke: rgba(30, 50, 70, .4); stroke-width: .35; }
.dotmap .dots .ice { fill: var(--s-partial); }
.dotmap .dots .nd { fill: #cfd8df; }
:root { --map-sea: #e4ebf0; --map-nbr: #e9eef2; --map-land: #ffffff; --map-coast: #9db3c2; }
@media (prefers-color-scheme: dark) { :root { --map-sea: #14212c; --map-nbr: #1d2a35; --map-land: #2a3946; --map-coast: #4d6475; } }
.cgrid.front { margin-top: 16px; align-items: stretch; }
.cgrid.front > .card { display: flex; flex-direction: column; }
.cgrid.front > .card .more { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .regwrap { grid-template-columns: 210px 1fr; } }
.regwrap .mapbtn { top: 10px; right: 10px; bottom: auto; left: auto; }
@media (max-width: 600px) {
  .regwrap { grid-template-columns: 1fr; }
  .regwrap .mapcard { height: 420px; }
}

.rtrend { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--fg); display: flex; gap: 6px; align-items: baseline; }
.rtrend .tarrow { color: var(--accent); font-size: 15px; min-width: 1em; }
.mlinks { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px !important; }
.mchip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--brand) !important;
  text-decoration: none; font-size: 14px; font-weight: 600; }
.mchip:hover { background: var(--line); }
.mchip.more { background: transparent; color: var(--accent) !important; }
.about { margin-top: 8px; max-width: 760px; }
.about p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 10px; }

#map .maplibregl-canvas { opacity: 0; transition: opacity .25s; }
#map.ready .maplibregl-canvas { opacity: 1; }

.legend li.empty { opacity: .4; }
.lake-list .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lake-list .nm small { color: var(--muted); font-size: 12px; margin-left: 4px; }
details.note summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 12.5px; }
details.note p { margin: 6px 0 0; }
.pop h3 small { font-weight: 400; color: var(--muted); font-size: 12.5px; }

.recent-row { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.75); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.recent-row a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.recent-row a:hover span { text-decoration: underline; }
.recent-row .chip { color: var(--fg); font-size: 12.5px; padding: 1px 7px; }
.block.grow[hidden], details.note[hidden] { display: none; }

.abc { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.abc a { min-width: 32px; text-align: center; padding: 5px 8px; border-radius: 8px; background: var(--accent-soft);
  color: var(--brand); text-decoration: none; font-weight: 600; }
.abc a.on { background: var(--brand); color: #fff; }
.abc-list a { text-decoration: none; }
.abc-list b { display: inline-block; min-width: 1.4em; font-size: 18px; }

.season-txt { margin-top: 0 !important; }
.season-chart { display: block; margin: 8px 0 2px; }
.season-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 6px !important; }
.season-key i { display: inline-block; vertical-align: middle; margin-right: 4px; }
.lg-line { width: 18px; height: 3px; border-radius: 2px; }
.lg-dash { width: 18px; border-top: 2px dashed #7d8a97; }
.lg-band { width: 14px; height: 10px; background: rgba(138,150,163,.35); }
.howto { margin: 0; padding-left: 18px; }
.howto li { margin: 4px 0; }
.wk-txt { margin-top: 10px !important; }
.wkstrip, .wkmonths { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; }
.wkstrip { margin: 6px 0 2px; }
.wkstrip i { display: block; height: 22px; border-radius: 4px; }
.wkmonths span { white-space: nowrap; overflow: visible; }
.wk0 { background: var(--line); }
.wk1 { background: #9ccfe8; }
.wk2 { background: #1f8a5b; }
.wkkey { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 8px !important; }
.wkkey i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.h3 { font-size: 14.5px; font-weight: 600; margin: 14px 0 6px; }
.lake-intro { font-size: 16px; margin: 6px 0 4px; max-width: 70ch; }
.faq h3 { font-size: 15px; margin: 12px 0 2px; }
.faq h3:first-of-type { margin-top: 4px; }
.faq p { margin: 0 0 4px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.foot-legal a { margin-left: 4px; }
.legal h2 { font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--fg); }
.legal ul { padding-left: 18px; }
.fb { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.fb label { font-weight: 600; margin-top: 6px; }
.fb textarea, .fb input[type=email] { font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); }
.fb .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb button { align-self: flex-start; margin-top: 8px; border: 0; cursor: pointer; }
.fb button:disabled { opacity: .6; cursor: wait; }
.fb-status { min-height: 1.4em; font-weight: 600; }
.sources { padding-left: 18px; }
.sources li { margin: 6px 0; }
@media (prefers-color-scheme: dark) {
  .mchip, .abc a { color: var(--accent) !important; }
  .mchip:hover { background: var(--line); }
  .abc a.on { background: var(--accent); color: var(--accent-fg) !important; }
  .mapbody .side-top .search input { background: var(--bg); }
  .mapbody .side-top .near-btn { color: var(--fg); }
  .fboxes li { background: var(--panel); }
  .fday { background: var(--accent-soft); color: var(--fg); }
  .fboxes li.today { border-color: var(--accent); }
  .fboxes li.today .fday { background: var(--accent); color: var(--accent-fg); }
  .fsky span { color: var(--muted); }
  .fvals .fair { border-bottom-color: var(--line); }
  .fwind svg path { stroke: var(--accent); }
}
