/* FishLoon — brand palette (Wolky, 2026-12-04): graphite #23272e +
   steel blue #4f9dd8, big plain type, simple cards.
   Status colours are SEMANTIC ONLY: green = open, orange = restricted,
   red = closed — always paired with a text label, never colour alone. */
:root {
  --navy: #23272e;
  --navy2: #30353c;
  --ink: #1d2024;
  --accent: #4f9dd8;
  --accent-dark: #2273ac;
  --accent-hover: #3585c4;
  --paper: #f4f5f6;
  --card: #ffffff;
  --line: #d9dcdf;
  --muted: #5c666e;
  --green: #2fa84f;
  --green-text: #1e7a36;
  --green-lt: #7ed491;
  --warn: #f58220;
  --warn-text: #b85c00;
  --warn-lt: #ffb25e;
  --red: #c0392b;
  --red-lt: var(--red-lt);
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
a { color: var(--accent-dark); }
header.site {
  background: var(--navy);
  color: #fff;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
header.site img { width: 44px; height: 44px; border-radius: 10px; }
header.site .brand { font-size: 1.45rem; font-weight: 800; color: #fff; text-decoration: none; }
header.site .brand span { color: var(--accent); }
header.site nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
header.site nav a { color: #d8dee3; text-decoration: none; font-weight: 600; }
header.site nav a:hover { color: #fff; }
main { max-width: 880px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 8px 0 10px; color: var(--navy); }
h2 { font-size: 1.35rem; margin: 28px 0 10px; color: var(--navy); }
h3 { font-size: 1.1rem; margin: 18px 0 6px; }
p.lede { font-size: 1.12rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin: 14px 0;
}
.card.orange { border-top: 5px solid var(--accent); }
.status { font-size: 1.15rem; font-weight: 700; }
.status .open { color: var(--green-text); }
.status .restricted { color: var(--warn-text); }
.status .closed { color: var(--red); }
table.limits { width: 100%; border-collapse: collapse; margin: 8px 0; }
table.limits th, table.limits td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.limits th { color: var(--navy); font-size: 0.95rem; }
table.limits td.n { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.note { color: var(--muted); font-size: 0.95rem; }
.regbox {
  background: #edf4fb; border: 1px solid #bcd9f2; border-left: 6px solid var(--accent);
  border-radius: 10px; padding: 12px 14px; margin: 12px 0;
}
.banner-closed {
  background: #fdecea; border: 1px solid #e5a49e; border-left: 6px solid var(--red);
  border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.chip { background: #ebeef0; border-radius: 999px; padding: 4px 11px; font-size: 0.92rem; }
.provgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.prov {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; text-decoration: none; color: var(--ink); display: block;
}
a.prov:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(35,39,46,.12); }
.prov .pname { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.prov .pstat { color: var(--muted); margin-top: 4px; }
.prov.live .pstat { color: var(--green-text); font-weight: 700; }
.hero { text-align: left; padding: 10px 0 2px; }
.hero h1 { font-size: 2.2rem; }
.finder input[type="search"] {
  width: 100%; font-size: 1.1rem; padding: 13px 14px; border: 2px solid var(--line);
  border-radius: 12px; margin: 6px 0 10px;
}
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pill {
  border: 2px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 14px; font-weight: 700; cursor: pointer; font-size: 0.98rem;
}
.pill.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.wlist { list-style: none; margin: 0; padding: 0; }
.wlist li { border-bottom: 1px solid var(--line); }
.wlist a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 4px; text-decoration: none; color: var(--ink); }
.wlist a:hover { background: #eef1f3; }
.wlist .wname { font-weight: 700; }
.wlist .wmeta { color: var(--muted); font-size: 0.92rem; white-space: nowrap; }
footer.site {
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem;
  max-width: 880px; margin: 0 auto; padding: 16px; 
}
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 800;
  padding: 12px 20px; border-radius: 12px; text-decoration: none; margin: 6px 8px 6px 0;
}
.btn.navy { background: var(--navy); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.big { font-size: 1.6rem; font-weight: 800; color: var(--navy); }

/* ---------- Sign-in page (/account/) — full-screen navy, rising bubbles ---------- */
body.signin {
  background: linear-gradient(180deg, #363c44 0%, var(--navy) 45%, #131518 100%);
  background-attachment: fixed;
  color: #fff;
  min-height: 100vh;
}
.bubbles { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble {
  position: absolute; bottom: -60px; border-radius: 50%;
  border: 1.5px solid rgba(170, 205, 238, 0.35);
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.20), rgba(255,255,255,0.03) 65%);
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  8%   { opacity: 1; }
  25%  { transform: translate3d(9px, -28vh, 0); }
  50%  { transform: translate3d(-8px, -55vh, 0); }
  75%  { transform: translate3d(8px, -82vh, 0); }
  92%  { opacity: 1; }
  100% { transform: translate3d(-6px, -112vh, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; opacity: 0.5; }
}
.signin-wrap {
  position: relative; z-index: 1;
  max-width: 430px; margin: 0 auto; padding: 26px 22px 30px;
  text-align: center;
}
.signin-tile {
  width: 108px; height: 108px; margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.signin-tile img { width: 96px; height: 96px; border-radius: 20px; }
.signin-h1 { color: #fff; font-size: 2.35rem; line-height: 1.16; margin: 0 0 14px; }
.signin-sub { color: #c3cad0; font-size: 1.06rem; margin: 0 0 18px; }
.signin-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.schip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #edf0f2; border-radius: 999px; padding: 7px 13px;
  font-size: 0.94rem; font-weight: 600;
}
.schip svg { width: 16px; height: 16px; fill: var(--accent); stroke: var(--accent); stroke-width: 1.4; flex: none; }
.signin-who { color: #c3cad0; min-height: 1.2em; margin: 0 0 6px; }
.gbtn-wrap { position: relative; }
.gbtn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--navy2); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.08rem; font-weight: 700; font-family: inherit;
  padding: 17px 20px; border-radius: 16px; cursor: pointer;
}
.gbtn:hover { background: #3b4149; }
.gbtn svg { width: 24px; height: 24px; flex: none; }
.gsi-overlay {
  position: absolute; inset: 0; overflow: hidden; opacity: 0.01; display: none;
}
.gsi-overlay.on { display: block; }
.gsi-overlay iframe { width: 100% !important; height: 100% !important; }
.signin-divider {
  display: flex; align-items: center; gap: 14px;
  color: #99a2aa; margin: 16px 0; font-size: 0.98rem;
}
.signin-divider::before, .signin-divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.18);
}
.ebtn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--accent); color: #fff; border: none;
  font-size: 1.08rem; font-weight: 800; font-family: inherit;
  padding: 17px 20px; border-radius: 16px; cursor: pointer;
}
.ebtn:hover { background: var(--accent-hover); }
.ebtn svg { width: 23px; height: 23px; flex: none; }
.ebtn.submit { margin-top: 12px; }
#magic-wrap { text-align: left; margin-top: 16px; }
.signin-label { display: block; font-weight: 700; margin-bottom: 6px; color: #edf0f2; }
#magic-email {
  width: 100%; font-size: 1.08rem; padding: 15px 14px; border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08); color: #fff; font-family: inherit;
}
#magic-email::placeholder { color: #99a2aa; }
.signin-msg { color: var(--warn-lt); min-height: 1.3em; margin: 14px 0 0; }
.signin-fine { color: #99a2aa; font-size: 0.9rem; margin: 24px 0 8px; }
.signin-fine a { color: #d8dee3; }
.signin-back { margin: 0; font-size: 0.95rem; }
.signin-back a { color: #99a2aa; text-decoration: none; }

/* ---------- Onboarding flow (/start/) — full-screen navy, our own design ---------- */
body.onboard { background: var(--navy); color: #fff; min-height: 100vh; }
.ob-wrap {
  max-width: 430px; margin: 0 auto; padding: 16px 20px 26px;
  min-height: 100dvh; display: flex; flex-direction: column;
}
.ob-top { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.ob-back {
  background: none; border: none; color: #fff; cursor: pointer;
  font-size: 1.7rem; line-height: 1; padding: 2px 10px 4px 0; font-family: inherit;
}
.ob-back[hidden] { display: block; visibility: hidden; }
.ob-dots { display: flex; gap: 7px; align-items: center; }
.ob-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.ob-dot.done { background: rgba(79, 157, 216, 0.55); }
.ob-dot.on { background: var(--accent); transform: scale(1.3); }
.ob-steplabel { color: #99a2aa; font-size: 0.92rem; margin-left: auto; }
.ob-main { flex: 1; padding-top: 16px; }
.ob-step[hidden] { display: none; }
.ob-h1 { color: #fff; font-size: 2.1rem; line-height: 1.18; margin: 12px 0 12px; }
.ob-sub { color: #c3cad0; font-size: 1.05rem; margin: 0 0 18px; }
.ob-card {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px; overflow: hidden;
}
.ob-lake { padding: 18px; }
.ob-lake-name { font-size: 1.45rem; font-weight: 800; }
.ob-lake-sub { color: #99a2aa; margin: 2px 0 10px; }
.ob-lrow { display: flex; align-items: center; gap: 11px; padding: 8px 0; }
.ob-check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.ob-check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; }
.ob-lname { flex: 1; font-weight: 600; font-size: 1.05rem; }
.ob-lstat { color: var(--green-lt); font-weight: 600; white-space: nowrap; }
.ob-lake.closed .ob-lstat { color: var(--red-lt); }
.ob-lake.restricted .ob-lstat { color: var(--warn-lt); }
.ob-icon { width: 58px; height: 58px; border-radius: 15px; margin: 24px 0 2px; display: block; }
.ob-prov {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); cursor: pointer;
}
.ob-prov:last-child { border-bottom: none; }
.ob-prov.sel { background: rgba(79, 157, 216, 0.10); }
.ob-prov.soon { opacity: 0.55; cursor: default; }
.ob-code {
  background: rgba(255, 255, 255, 0.09); border-radius: 8px; padding: 5px 0;
  width: 42px; text-align: center; font-weight: 800; font-size: 0.85rem; flex: none;
}
.ob-prov.sel .ob-code { background: var(--accent); color: #fff; }
.ob-pname { flex: 1; font-weight: 700; font-size: 1.1rem; }
.ob-pstat { color: #99a2aa; font-size: 0.9rem; white-space: nowrap; }
.ob-pcheck { display: none; flex: none; }
.ob-prov.sel .ob-pcheck { display: block; }
.ob-pcheck svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 3; display: block; }
.ob-count { display: flex; align-items: center; gap: 9px; color: #d8dee3; margin: 16px 2px 0; }
.ob-count .ob-check { width: 24px; height: 24px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.ob-chip {
  border: 1.5px solid rgba(255, 255, 255, 0.25); background: var(--navy2); color: #edf0f2;
  border-radius: 999px; padding: 10px 16px; font-size: 1rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.ob-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.ob-chip.more { border-style: dashed; color: #d8dee3; }
.ob-label {
  color: #99a2aa; font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.08em; margin: 22px 0 8px;
}
.ob-res {
  display: flex; align-items: center; gap: 13px; padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer; font-size: 1.08rem; font-weight: 600;
}
.ob-res:last-child { border-bottom: none; }
.ob-rdot {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); flex: none; position: relative;
}
.ob-res.sel .ob-rdot { border-color: var(--accent); }
.ob-res.sel .ob-rdot::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent);
}
.ob-note-card {
  display: flex; gap: 13px; background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 14px;
  padding: 16px; margin-top: 16px;
}
.ob-note-card svg { width: 26px; height: 26px; fill: var(--accent); flex: none; margin-top: 2px; }
.ob-note-title { font-weight: 800; margin-bottom: 3px; }
.ob-note-body { color: #c3cad0; font-size: 0.98rem; }
.ob-foot { padding-top: 22px; }
.ob-skiplink { text-align: center; margin: 14px 0 0; }
.ob-skiplink a { color: #d8dee3; }
.ob-signin-link { text-align: center; margin: 14px 0 0; color: #99a2aa; }
.ob-signin-link a { color: #d8dee3; }

/* ---------- Home map (/) — the map IS the page, our own chrome ---------- */
body.maphome { background: var(--navy); overflow: hidden; }
.map-wrap { position: relative; height: 100vh; height: 100dvh; }
#fl-map { position: absolute; inset: 0; background: #1b1e23; font: inherit; }
.fl-dark-tiles { filter: invert(100%) hue-rotate(180deg) brightness(92%) contrast(88%); }
.leaflet-container .leaflet-control-attribution {
  background: rgba(35, 39, 46, 0.78); color: #99a2aa; font-size: 10px;
}
.leaflet-container .leaflet-control-attribution a { color: #99a2aa; }
.leaflet-bar a { background: var(--navy2); color: #fff; border-color: rgba(255,255,255,.15); }
.map-top {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 1000;
  display: flex; gap: 8px; align-items: flex-start;
}
.map-btn {
  background: var(--navy2); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px; font-family: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.menu-btn {
  flex: none; width: 47px; height: 47px; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }
#prov-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 1.05rem; padding: 11px 10px;
}
#prov-btn svg { width: 16px; height: 16px; }
.prov-switch { position: relative; flex: none; }
.prov-menu {
  position: absolute; top: calc(100% + 8px); left: 0; width: 272px;
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.pm-row {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 12px 14px; background: none; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-family: inherit; font-size: 1rem; text-align: left; cursor: pointer;
}
.pm-row.soon { opacity: 0.55; cursor: default; }
.pm-name { flex: 1; font-weight: 600; }
.pm-live { color: var(--green-lt); font-size: 0.85rem; font-weight: 700; }
.pm-soon { color: #99a2aa; font-size: 0.85rem; }
.pm-all {
  display: block; padding: 12px 14px; color: #8fc7ee;
  text-decoration: none; font-weight: 700;
}
.map-search { flex: 1; position: relative; min-width: 0; }
.map-search input {
  width: 100%; font-size: 1.05rem; font-family: inherit;
  padding: 12px 10px; border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--navy2); color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.map-search input::placeholder { color: #99a2aa; }
.map-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.map-result {
  display: flex; justify-content: space-between; gap: 10px; width: 100%;
  padding: 12px 14px; background: none; border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-family: inherit; font-size: 1rem; font-weight: 600;
  text-align: left; cursor: pointer;
}
.map-result span { color: #99a2aa; font-weight: 400; font-size: 0.88rem; white-space: nowrap; }
.map-side {
  position: absolute; right: 10px; top: 76px; z-index: 1000;
  display: flex; flex-direction: column; gap: 9px; align-items: flex-end;
}
.map-btn.side {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 64px; padding: 9px 4px 7px; font-size: 0.78rem; text-decoration: none;
}
.map-btn.side svg { width: 23px; height: 23px; fill: var(--accent); stroke: var(--accent); }
.map-btn.side svg circle[fill="none"], .map-btn.side svg path[fill="none"] { fill: none; }
.layers-panel {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; padding: 13px 15px; width: 248px; color: #edf0f2;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.base-switch {
  display: flex; background: rgba(255, 255, 255, 0.08);
  border-radius: 10px; overflow: hidden; margin-bottom: 10px;
}
.base-switch button {
  flex: 1; background: none; border: none; color: #c3cad0;
  font-family: inherit; font-weight: 700; font-size: 0.92rem;
  padding: 9px 4px; cursor: pointer;
}
.base-switch button.on { background: var(--accent); color: #fff; }
.layers-panel label { display: flex; gap: 9px; align-items: center; padding: 6px 0; font-weight: 600; cursor: pointer; }
.layers-panel input { width: 19px; height: 19px; accent-color: var(--accent); }
.lp-note { color: #99a2aa; font-size: 0.88rem; margin: 8px 0 0; }
.fl-pin {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2.5px solid #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.fl-acc {
  display: block; width: 13px; height: 13px; border-radius: 3.5px;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.fl-cluster {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(35, 39, 46, 0.92); border: 2px solid var(--accent);
  color: #fff; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.lake-sheet {
  position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 1000;
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px; padding: 16px 18px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); color: #fff;
}
.sheet-close {
  position: absolute; top: 6px; right: 12px; background: none; border: none;
  color: #99a2aa; font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.sheet-name { font-size: 1.35rem; font-weight: 800; padding-right: 26px; }
.sheet-meta { color: #99a2aa; margin: 2px 0 6px; }
.sheet-status { font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; }
.sheet-status.open { color: var(--green-lt); }
.sheet-status.restricted { color: var(--warn-lt); }
.sheet-status.closed { color: var(--red-lt); }
.sheet-link { text-decoration: none; }
/* ---------- Site menu drawer (home) ---------- */
.menu-backdrop {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(10, 14, 18, 0.55);
}
.menu-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1300;
  width: 300px; max-width: 84vw; overflow-y: auto;
  background: var(--navy2); color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.45);
  padding: 14px 0 22px;
}
.md-head {
  position: relative; display: flex; align-items: center; gap: 9px;
  padding: 2px 16px 14px;
}
.md-head img { width: 34px; height: 34px; border-radius: 9px; }
.md-brand { font-size: 1.25rem; font-weight: 800; }
.md-brand span { color: var(--accent); }
.md-close { top: 2px; right: 10px; }
.md-prov {
  padding: 2px 16px 6px; color: #99a2aa;
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.md-row {
  display: block; padding: 12px 16px; color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1.02rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.md-sep { border-top: 1px solid rgba(255, 255, 255, 0.12); margin: 8px 0 2px; }
.md-note { padding: 14px 16px 0; margin: 0; color: #99a2aa; font-size: 0.9rem; }

/* hidden must always win over component display rules */
[hidden] { display: none !important; }

/* ---------- Lake pages — dark template (our own design) ---------- */
body.lakepage { background: var(--navy); color: #edf0f2; }
body.lakepage a { color: #8fc7ee; }
.lk-top {
  max-width: 880px; margin: 0 auto; padding: 14px 16px 2px;
  display: flex; justify-content: space-between; align-items: center;
}
.lk-top a { color: #d8dee3; text-decoration: none; font-weight: 700; }
.lk-main { max-width: 880px; margin: 0 auto; padding: 6px 16px 40px; }
body.lakepage h1 { color: #fff; font-size: 2.1rem; margin: 6px 0 4px; }
body.lakepage h2 { color: #fff; }
.lk-sub { color: #99a2aa; font-size: 1.05rem; margin: 0 0 4px; }
.lk-seasonline { color: #99a2aa; margin: 6px 0 0; }
.lk-banner {
  border-radius: 12px; padding: 13px 15px; font-weight: 800; font-size: 1.12rem;
  margin: 12px 0 2px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy2);
}
.lk-banner.open { background: rgba(47, 168, 79, 0.22); border-color: rgba(126, 212, 145, 0.50); }
.lk-banner.restricted { background: rgba(245, 130, 32, 0.14); border-color: rgba(255, 178, 94, 0.50); }
.lk-banner .restricted { color: var(--warn-lt); }
.lk-banner.closed { background: rgba(192, 57, 43, 0.18); border-color: rgba(242, 164, 157, 0.45); }
.lk-banner .open { color: var(--green-lt); }
.lk-banner .closed { color: var(--red-lt); }
.lk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 2px; }
.lk-actions .ebtn, .lk-actions .gbtn { margin: 0; }
.lk-actions > :only-child { grid-column: 1 / -1; }
.lk-card {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px; padding: 16px 18px; margin: 14px 0;
}
body.lakepage .note { color: #99a2aa; }
body.lakepage .regbox {
  background: rgba(79, 157, 216, 0.12); border-color: rgba(79, 157, 216, 0.45);
  border-left-color: var(--accent); color: #e9eef2;
}
body.lakepage table.limits th { color: #fff; }
body.lakepage table.limits th, body.lakepage table.limits td { border-bottom-color: rgba(255, 255, 255, 0.12); }
body.lakepage .chip { background: rgba(255, 255, 255, 0.08); color: #edf0f2; }
body.lakepage .btn.navy { background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
.lk-notes { margin: 0; padding-left: 20px; }
.lk-notes li { margin: 7px 0; }
.sp-row { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.sp-row:last-of-type { border-bottom: none; }
.sp-row summary {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  cursor: pointer; list-style: none;
}
.sp-row summary::-webkit-details-marker { display: none; }
.sp-thumb { width: 64px; height: 44px; object-fit: cover; border-radius: 9px; flex: none; }
.sp-thumb-ph {
  width: 64px; height: 44px; border-radius: 9px; flex: none;
  background: rgba(255, 255, 255, 0.07);
  display: inline-flex; align-items: center; justify-content: center;
}
.sp-thumb-ph svg { width: 30px; height: 30px; }
.sp-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sp-name { font-weight: 700; font-size: 1.08rem; }
.sp-sub { color: #99a2aa; font-size: 0.9rem; }
.sp-stat { font-weight: 700; white-space: nowrap; text-align: right; }
.sp-stat.open { color: var(--green-lt); }
.sp-stat.restricted { color: var(--warn-lt); }
.sp-stat.closed { color: var(--red-lt); }
.sp-reopen { display: block; font-size: 0.82rem; font-weight: 600; }
.sp-more { padding: 0 0 12px; color: #d8dee3; }
.sp-more p { margin: 4px 0; }
.lk-otherday { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 13px; }
.lk-otherday label { font-weight: 700; margin-right: 8px; }
.lk-otherday input[type="date"] {
  font-family: inherit; font-size: 1rem; padding: 8px 10px; border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff;
  color-scheme: dark;
}
.fact-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.fact {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px; padding: 13px 15px;
}
.fact span { color: #99a2aa; font-size: 0.88rem; display: block; margin-bottom: 2px; }
.fact strong { font-size: 1.04rem; }
.bite-flex { display: flex; gap: 18px; align-items: flex-start; }
.bite-side { flex: 1; min-width: 0; }
.bite-rating { font-size: 1.3rem; font-weight: 800; }
.bite-reasons { margin: 6px 0 0; padding-left: 19px; color: #d8dee3; }
.bite-reasons li { margin: 5px 0; }
.bite-windows { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.bite-win { background: rgba(255, 255, 255, 0.07); border-radius: 999px; padding: 5px 12px; font-size: 0.92rem; }
.wx-main { display: flex; align-items: baseline; flex-wrap: wrap; }
.wx-temp { font-size: 2.3rem; font-weight: 800; }
.wx-cond { font-size: 1.1rem; margin-left: 12px; color: #d8dee3; }
.wx-grid, .sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 13px; }
.sol-grid { grid-template-columns: 1fr 1fr; }
.wx-grid > div, .sol-grid > div { color: #99a2aa; font-size: 0.9rem; }
.wx-grid strong, .sol-grid strong { display: block; color: #fff; font-size: 1.02rem; margin-top: 2px; }
.wx-hours { display: flex; gap: 8px; overflow-x: auto; margin-top: 13px; padding-bottom: 4px; }
.wx-hour {
  flex: none; background: rgba(255, 255, 255, 0.06); border-radius: 10px;
  padding: 8px 11px; text-align: center; font-size: 0.86rem; color: #d8dee3;
}
.wx-hour strong { display: block; color: #fff; font-size: 1rem; margin-top: 2px; }
.lk-foot {
  max-width: 880px; margin: 0 auto; padding: 16px;
  color: #99a2aa; font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
body.lakepage a.btn, body.lakepage .lk-actions a { text-decoration: none; }
body.lakepage .lk-actions .ebtn, body.lakepage .lk-actions .gbtn,
body.lakepage a.btn { color: #fff; }
.sp-row summary { align-items: flex-start; }
.sp-stat { font-size: 0.96rem; padding-top: 3px; }
.sp-thumb, .sp-thumb-ph { width: 58px; height: 42px; }

/* ---------- Settings (/settings/), Pro (/pro/), Sources (/sources/) — dark ---------- */
body.settings, body.propage, body.sourcespage { background: var(--navy); color: #edf0f2; min-height: 100vh; }
body.settings a, body.propage a, body.sourcespage a { color: #8fc7ee; }
body.settings a.set-row, body.propage a.set-row, body.sourcespage a.set-row { color: #edf0f2; }
body.settings a.ebtn, body.propage a.ebtn, body.sourcespage a.ebtn { color: #fff; }
.set-wrap { max-width: 560px; margin: 0 auto; padding: 14px 16px 46px; }
.set-top { display: flex; align-items: center; padding: 2px 0 4px; }
.set-top a { color: #d8dee3; text-decoration: none; font-weight: 700; }
.set-h1 { color: #fff; font-size: 1.9rem; margin: 6px 0 2px; }
.set-lede { color: #c3cad0; margin: 0 0 4px; }
.set-label {
  color: #99a2aa; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.09em; margin: 26px 0 8px;
}
.set-label.danger { color: var(--red-lt); }
.set-card {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px; overflow: hidden;
}
.set-card.pad { padding: 6px 18px 10px; }
.set-row {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 15px 16px; color: #edf0f2; text-decoration: none;
  background: none; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: inherit; font-size: 1rem; text-align: left; cursor: pointer;
}
.set-row:last-child { border-bottom: none; }
a.set-row:hover, button.set-row:hover { background: rgba(255, 255, 255, 0.04); }
div.set-row { cursor: default; }
div.set-row:hover { background: none; }
.set-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
}
.set-ico svg { width: 21px; height: 21px; fill: none; stroke: #d8dee3; stroke-width: 1.8; }
.set-ico.danger svg { stroke: var(--red-lt); }
.set-main { flex: 1; min-width: 0; }
.set-name { font-weight: 700; font-size: 1.05rem; display: block; }
.set-name.danger { color: var(--red-lt); }
.set-sub { color: #99a2aa; font-size: 0.9rem; display: block; margin-top: 1px; }
.set-val { color: #99a2aa; font-size: 0.95rem; white-space: nowrap; }
.set-chev { color: #99a2aa; font-size: 1.35rem; line-height: 1; flex: none; }
.set-note { color: #99a2aa; font-size: 0.9rem; margin: 9px 2px 0; }
.set-msg { color: var(--warn-lt); min-height: 1.25em; margin: 10px 2px 0; font-size: 0.95rem; }
.set-pro {
  background: linear-gradient(160deg, #363c44, var(--navy2));
  border: 1px solid rgba(79, 157, 216, 0.45);
  border-radius: 16px; padding: 18px; margin-top: 16px;
}
.set-pro-head { display: flex; gap: 13px; align-items: center; margin-bottom: 15px; }
.set-pro-head img { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.set-pro-name { font-size: 1.3rem; font-weight: 800; color: #fff; }
.set-pro-sub { color: #c3cad0; font-size: 0.95rem; margin-top: 2px; }
.set-pro .ebtn { text-decoration: none; }
.set-switch { position: relative; width: 52px; height: 30px; flex: none; }
.set-switch input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; margin: 0; cursor: pointer; z-index: 1;
}
.set-track {
  position: absolute; inset: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18); transition: background 0.15s;
}
.set-knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; transition: left 0.15s;
}
.set-switch input:checked ~ .set-track { background: var(--accent); }
.set-switch input:checked ~ .set-knob { left: 25px; }
.set-switch input:focus-visible ~ .set-track { outline: 2px solid #8fc7ee; outline-offset: 2px; }
/* Pro page */
.pro-feat { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.pro-feat:last-child { border-bottom: none; }
.pro-lock {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: rgba(79, 157, 216, 0.14);
  display: flex; align-items: center; justify-content: center;
}
.pro-lock svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.9; }
.pro-feat .set-name { font-size: 1.02rem; }
.pro-price { display: flex; gap: 13px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.pro-price:last-child { border-bottom: none; }
.pro-price .amt { font-size: 1.25rem; font-weight: 800; color: #fff; white-space: nowrap; min-width: 118px; }
.pro-price .what { color: #c3cad0; font-size: 0.95rem; }
/* Sources page */
body.sourcespage h2 { color: #fff; font-size: 1.25rem; margin: 24px 0 8px; }
.src-list { margin: 6px 0; padding-left: 20px; }
.src-list li { margin: 8px 0; }

/* ---------- Checker (/sk/checker/) — "Was it legal?" ---------- */
.ck-lede { color: #d8dee3; font-size: 1.08rem; max-width: 640px; }
.ck-label {
  color: #99a2aa; font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; margin: 22px 0 9px;
}
.ck-label:first-child { margin-top: 2px; }
.ck-opt { text-transform: none; letter-spacing: 0; font-weight: 600; color: #8a939b; }
.ck-search { position: relative; }
.ck-search input {
  width: 100%; font-size: 1.08rem; font-family: inherit;
  padding: 13px 12px; border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08); color: #fff;
}
.ck-search input::placeholder { color: #99a2aa; }
.ck-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  max-height: 340px; overflow-y: auto;
}
.ck-result {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  width: 100%; padding: 12px 14px; background: none; border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-family: inherit; font-size: 1.02rem; font-weight: 600;
  text-align: left; cursor: pointer;
}
.ck-result:hover { background: rgba(255, 255, 255, 0.05); }
.ck-rmeta { color: #99a2aa; font-weight: 400; font-size: 0.88rem; white-space: nowrap; }
.ck-noresults { padding: 12px 14px; margin: 0; color: #d8dee3; }
.ck-water {
  display: flex; align-items: center; gap: 12px;
  background: rgba(79, 157, 216, 0.10); border: 1px solid rgba(79, 157, 216, 0.45);
  border-radius: 12px; padding: 12px 14px;
}
.ck-water-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ck-water-name { font-weight: 800; font-size: 1.18rem; color: #fff; }
.ck-water-meta { color: #c3cad0; font-size: 0.92rem; }
.ck-change {
  flex: none; background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px; padding: 8px 13px; font-family: inherit; font-weight: 700;
  font-size: 0.95rem; cursor: pointer;
}
.ck-sp {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 8px; background: none; border: none; border-radius: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #edf0f2; font-family: inherit; font-size: 1rem; text-align: left; cursor: pointer;
}
.ck-sp:hover { background: rgba(255, 255, 255, 0.04); }
.ck-sp.sel { background: rgba(79, 157, 216, 0.13); box-shadow: inset 0 0 0 2px var(--accent); border-bottom-color: transparent; }
.ck-sp-keep { font-weight: 700; white-space: nowrap; text-align: right; color: var(--green-lt); }
.ck-lenrow { display: flex; align-items: center; gap: 11px; }
.ck-lenrow input {
  width: 150px; font-family: inherit; font-size: 1.25rem; font-weight: 700;
  padding: 10px 12px; border-radius: 11px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08); color: #fff;
}
.ck-unit { font-weight: 800; font-size: 1.1rem; }
.ck-card input[type="date"] {
  font-family: inherit; font-size: 1.05rem; padding: 9px 11px; border-radius: 11px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08); color: #fff; color-scheme: dark;
}
.ck-go { margin-top: 24px; border: none; cursor: pointer; font-family: inherit; }
.ck-verdict {
  border-radius: 13px; padding: 17px 18px; margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: var(--navy2);
}
.ck-verdict.yes { background: rgba(47, 168, 79, 0.22); border-color: rgba(126, 212, 145, 0.55); }
.ck-verdict.no { background: rgba(192, 57, 43, 0.18); border-color: rgba(242, 164, 157, 0.5); }
.ck-verdict.warn { background: rgba(245, 130, 32, 0.13); border-color: rgba(245, 130, 32, 0.55); } 
.ck-vhead { font-size: 1.55rem; font-weight: 800; color: #fff; }
.ck-verdict.yes .ck-vhead { color: var(--green-lt); }
.ck-verdict.no .ck-vhead { color: var(--red-lt); }
.ck-verdict.warn .ck-vhead { color: var(--warn-lt); }
.ck-vreason { font-size: 1.1rem; margin: 8px 0 0; }
.ck-facts { margin: 12px 0 0; padding-left: 20px; color: #d8dee3; }
.ck-facts li { margin: 6px 0; }
.ck-vlink { margin: 14px 0 0; font-weight: 700; }
