/* 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); }
/* Chunk 46: slim header — small logo + wordmark, nav in ONE row
   (its own full-width row on phones, back beside the brand on
   desktop). Wolky: the old stacked 3-row nav buried the rules. */
header.site {
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap;
}
header.site img { width: 30px; height: 30px; border-radius: 8px; }
header.site .brand { font-size: 1.15rem; font-weight: 800; color: #fff; text-decoration: none; }
header.site .brand span { color: var(--accent); }
header.site nav {
  order: 3; flex: 1 1 100%; margin-left: 0;
  display: flex; gap: 13px; flex-wrap: nowrap; overflow-x: auto;
  font-size: 0.84rem; padding: 1px 0 2px; scrollbar-width: none;
}
header.site nav::-webkit-scrollbar { display: none; }
header.site nav a { color: #d8dee3; text-decoration: none; font-weight: 600; white-space: nowrap; }
header.site nav a:hover { color: #fff; }
@media (min-width: 760px) {
  header.site { padding: 10px 16px; flex-wrap: nowrap; }
  header.site img { width: 36px; height: 36px; border-radius: 9px; }
  header.site .brand { font-size: 1.3rem; }
  header.site nav {
    order: 0; flex: 0 1 auto; margin-left: auto;
    overflow-x: visible; font-size: 0.92rem;
  }
}
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); }
/* Chunk 38 hotfix: link cards (<a class="card"> on province hubs / zone pages)
   must render as block tiles like .prov — as inline anchors their background
   and border painted as broken slivers above each heading. */
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(35,39,46,.12); }
body.contentpage a.card:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.grid .card { margin: 0; }
/* Chunk 39: .cards gets the same tile grid as .grid (ON/QC hubs used it
   with no rule at all, so their cards stacked full-width). */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.cards .card { margin: 0; }
/* Chunk 39: province-hub key-facts strip — big figure, tiny label, no
   sentences. The whole hub in a 5-second skim. */
.keyfacts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin: 16px 0 4px;
}
.kf {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; display: block; text-decoration: none; color: inherit;
}
a.kf:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(35,39,46,.12); }
.kf-big { font-size: 1.55rem; font-weight: 800; color: var(--accent-dark); line-height: 1.15; }
.kf-big.sm { font-size: 1.12rem; padding-top: 7px; }
.kf-label { font-size: 0.8rem; color: var(--muted); margin-top: 3px; line-height: 1.3; }
/* Chunk 39: scannable rule stacks — bold-lead lines instead of wall text. */
ul.stack { margin: 2px 0; padding-left: 1.15em; }
ul.stack li { margin: 7px 0; }
ul.stack li::marker { color: var(--accent-dark); }
.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; }
.pro-badge {
  display: inline-block; margin: 2px 0 4px;
  background: var(--warn); color: #fff;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 7px 16px; border-radius: 999px;
}
.pro-badge[hidden] { display: none; }
/* Account page quick links (Chunk 28) */
.acct-links {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 12px 0 4px;
}
.acct-link {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #edf0f2; border-radius: 999px; padding: 8px 15px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
}
.acct-link:active { background: rgba(255, 255, 255, 0.14); }
.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; }
/* Stacked full-width CTA buttons (e.g. /app/, /pro/welcome/): two
   .ebtn in one line used to collide on phones — each is width:100%,
   so the second wrapped with no gap and an 8px left shove. A column
   stack with a real gap fixes it everywhere this class is used. */
.cta-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.cta-stack .ebtn { margin: 0; }
#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-home { color: #99a2aa; text-decoration: none; font-size: 1.05rem; line-height: 1; padding: 6px 2px 6px 6px; }
.ob-home:hover { color: #fff; }
.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;
}
/* Search stays compact and left-aligned beside the menu/province controls
   (Wolky, 2026-12-05): roughly half the bar at most, so the map shows. */
.map-search { flex: 1 1 auto; position: relative; min-width: 0; max-width: min(460px, 48%); }
@media (max-width: 640px) {
  .map-search { max-width: none; }
}
.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; }
/* Chunk 44: Locate Me busy state — the tap feels alive instantly. */
.map-btn.side.locating { animation: fl-locating-pulse 0.9s ease-in-out infinite; }
@keyframes fl-locating-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.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; min-width: 0; background: none; border: none; color: #c3cad0;
  font-family: inherit; font-weight: 700; font-size: 0.8rem;
  padding: 9px 1px; cursor: pointer; white-space: nowrap;
}
.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); }
/* Chunk 40: Pro layer lock badge — the layer stays visible in the
   panel (the funnel); the badge marks it Pro until the account is. */
.layer-lock {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  color: var(--orange); font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.layer-lock svg { width: 13px; height: 13px; fill: var(--orange); }
/* Compact lock badge inside the base-style switch (Topo is Pro). */
.layer-lock.sm { margin-left: 1px; font-size: 0.58rem; vertical-align: 1px; gap: 2px; }
.layer-lock.sm svg { width: 9px; height: 9px; }
.layer-lock[hidden] { display: none; }
/* Chunk 40: Pro upsell card on the map — shown when a locked layer
   is tapped (an approved paywall trigger). Same shell as the lake
   sheet so it feels native to the map. */
.pro-upsell {
  position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 1100;
  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;
}
.pro-upsell-head { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; padding-right: 26px; }
.pro-upsell p { color: #c3cad0; margin: 8px 0 14px; }
.pro-upsell-cta { text-decoration: none; }
@media (min-width: 900px) {
  .pro-upsell { left: 50%; right: auto; transform: translateX(-50%); width: min(420px, calc(100% - 24px)); bottom: 20px; }
}
/* Chunk 41: "different province" notice on the map — shown once per
   province per session when a free user browses (or GPS-locates)
   outside their home province. The lock itself lives on the lake
   pages; this is just the heads-up. */
.prov-notice {
  position: absolute; top: 74px; left: 10px; right: 10px; z-index: 1100;
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--orange); border-radius: 14px;
  padding: 13px 40px 13px 15px; color: #edf0f2;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.prov-notice p { margin: 0 0 10px; }
.prov-notice strong { color: #fff; }
.prov-notice-cta { text-decoration: none; }
@media (min-width: 900px) {
  .prov-notice { left: 50%; right: auto; transform: translateX(-50%); width: min(430px, calc(100% - 24px)); }
}
/* Chunk 43: the FishLoon fish cursor over the map — the walleye from
   our own icon (assets/cursor-fish.svg, extracted from icon-512),
   white with a dark outline. Chunk 46b (Wolky, 2026-12-05): rotated
   diagonal like a normal arrow cursor — nose top-left, tail
   bottom-right, hotspot on the nose tip (2,2).
   Wolky tries it live; REVERT = delete this block + the asset.
   While dragging, Leaflet's grabbing hand stays (universal). */
.leaflet-container.leaflet-grab {
  cursor: url("/assets/cursor-fish.svg") 2 2, grab;
}
.leaflet-container.leaflet-dragging.leaflet-grab {
  cursor: grabbing;
}
.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-gauge {
  display: block; width: 13px; height: 13px; border-radius: 3px;
  transform: rotate(45deg);
  background: #2ec4b6; border: 2px solid #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.layer-note {
  color: #99a2aa; font-size: 0.8rem; line-height: 1.35;
  padding: 2px 4px 6px 26px;
}
.fl-tidal {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #14507e; border: 2.5px solid #fff;
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.55);
}
.fl-tidal svg { width: 19px; height: 19px; }
.sheet-status.tidal { color: #8fc7ee; }
.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; }
/* Desktop only: the selected-lake preview becomes a compact floating card,
   centred at the bottom of the map (Wolky, 2026-12-04 — on a wide screen the
   full-width bar was "way too big"). Phones/tablets keep the bottom sheet. */
@media (min-width: 900px) {
  .lake-sheet {
    left: 50%; right: auto; transform: translateX(-50%);
    width: min(420px, calc(100% - 24px));
    bottom: 20px;
  }
}
/* ---------- 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: 700; font-size: 1.02rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* Chunk 42: a visited menu row (e.g. "Browse waters", the row a
   returning user taps every visit) must never render dimmer than
   the rest — every row equally bright, bold and tappable, with a
   chevron on the province rows. */
.md-row:visited { color: #fff; }
.md-chev { float: right; color: var(--accent); font-weight: 800; }
.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; }

/* ---------- Content pages (hubs, licences, zones, waters, checkers) — dark ----------
   Every page built with header() carries body.contentpage (Wolky, 2026-12-04:
   the old light pages were a blinding white flash after the dark map, and the
   lake pages must feel like Alberta Bite's — dark panels, limits first). */
body.contentpage { background: var(--navy); color: #edf0f2; min-height: 100vh; }
body.contentpage a { color: #8fc7ee; }
body.contentpage h1 { color: #fff; }
body.contentpage h2 { color: #fff; }
body.contentpage h3 { color: #fff; }
body.contentpage .lede { color: #d8dee3; }
body.contentpage .note, body.contentpage .muted { color: #99a2aa; }
body.contentpage .card, body.contentpage .prov {
  background: var(--navy2); border-color: rgba(255, 255, 255, 0.12); color: #edf0f2;
}
body.contentpage a.prov:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
body.contentpage .prov .pname { color: #fff; }
body.contentpage .prov .pstat { color: #99a2aa; }
body.contentpage .prov.live .pstat { color: var(--green-lt); }
body.contentpage .status .open { color: var(--green-lt); }
body.contentpage .status .restricted { color: var(--warn-lt); }
body.contentpage .status .closed { color: var(--red-lt); }
body.contentpage table.limits th { color: #fff; }
body.contentpage table.limits th, body.contentpage table.limits td { border-bottom-color: rgba(255, 255, 255, 0.12); }
body.contentpage .tblwrap { overflow-x: auto; }
body.contentpage table.keep, body.contentpage .tblwrap table {
  width: 100%; border-collapse: collapse; margin: 8px 0;
}
body.contentpage table.keep th, body.contentpage table.keep td,
body.contentpage .tblwrap th, body.contentpage .tblwrap td {
  text-align: left; padding: 9px 8px; vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.contentpage table.keep th, body.contentpage .tblwrap th { color: #fff; font-size: 0.95rem; }
body.contentpage .regbox {
  background: rgba(79, 157, 216, 0.12); border-color: rgba(79, 157, 216, 0.45);
  border-left-color: var(--accent); color: #e9eef2;
}
body.contentpage .banner-closed {
  background: rgba(192, 57, 43, 0.18); border-color: rgba(242, 164, 157, 0.45);
  border-left-color: var(--red); color: #f3d9d6;
}
body.contentpage .callout {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 6px solid var(--accent); border-radius: 10px;
  padding: 12px 14px; margin: 12px 0;
}
body.contentpage .callout h3 { margin-top: 4px; }
body.contentpage h2 { margin-top: 34px; }
body.contentpage .kf { background: var(--navy2); border-color: rgba(255, 255, 255, 0.12); color: #edf0f2; }
body.contentpage a.kf:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
body.contentpage .kf-big { color: var(--accent); }
body.contentpage .kf-label { color: #99a2aa; }
/* Chunk 41: province lock card on water + checker pages in a
   non-home province (free tier = one province). The name stays
   readable (the basic frame); everything else on the page is
   covered until the visitor goes Pro or heads home. */
.prov-lock-card {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--orange); border-radius: 14px;
  padding: 16px 18px; margin: 16px 0 20px; color: #edf0f2;
}
.prov-lock-head { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: #fff; }
.prov-lock-card p { margin: 10px 0 0; color: #c3cad0; }
.prov-lock-card strong { color: #fff; }
.prov-lock-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.prov-lock-actions .ebtn { text-decoration: none; }
.prov-lock-home { color: var(--accent); font-weight: 700; }
.prov-lock-note { font-size: 0.88rem; color: #99a2aa; }
.prov-lock-note a { color: var(--accent); }
body.prov-locked main > *:not(h1):not(.prov-lock-card) {
  filter: blur(7px); opacity: 0.5; pointer-events: none; user-select: none;
}
/* Chunk 42: the one-line plain-English explainer at the top of every
   zones/divisions/areas index page — the skim layer over the detail. */
.zone-explainer {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--accent); border-radius: 12px;
  padding: 12px 15px; margin: 14px 0 6px; color: #edf0f2; font-size: 1.02rem;
}
.zone-explainer strong { color: var(--accent); }
body.contentpage ul.stack li::marker { color: var(--accent); }
body.contentpage .chip { background: rgba(255, 255, 255, 0.08); color: #edf0f2; }
body.contentpage .finder input[type="search"] {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: #fff;
}
body.contentpage .finder input[type="search"]::placeholder { color: #99a2aa; }
body.contentpage .pill { background: var(--navy2); border-color: rgba(255, 255, 255, 0.25); color: #edf0f2; }
body.contentpage .pill.on { background: var(--accent); border-color: var(--accent); color: #fff; }
body.contentpage .wlist li { border-bottom-color: rgba(255, 255, 255, 0.10); }
body.contentpage .wlist a { color: #edf0f2; }
body.contentpage .wlist a:hover { background: rgba(255, 255, 255, 0.05); }
body.contentpage .wlist .wmeta { color: #99a2aa; }
body.contentpage .btn.navy { background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
body.contentpage .btn.ghost {
  background: transparent; border: 2px solid rgba(255, 255, 255, 0.35); color: #fff;
}
body.contentpage .big { color: #fff; }
body.contentpage .crumbs { color: #99a2aa; font-size: 0.8rem; margin: 2px 0 6px; }
body.contentpage .crumbs a { color: #d8dee3; }
body.contentpage .todayline { color: #d8dee3; }
body.contentpage .srcnote { color: #99a2aa; font-size: 0.9rem; }
body.contentpage .lakephoto { margin: 14px 0; }
body.contentpage .lakephoto img { max-width: 100%; border-radius: 14px; display: block; }
body.contentpage .lakephoto figcaption { color: #99a2aa; font-size: 0.9rem; margin-top: 6px; }
body.contentpage footer.site { border-top-color: rgba(255, 255, 255, 0.12); color: #99a2aa; }
body.contentpage header.site nav a { white-space: nowrap; }

/* ---------- 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; }
/* Shared top bar for the dark app-style pages (account, settings, pro,
   sources): brand -> home, plus a clear way back to the map. Added after
   Wolky got stuck on /account/ with no way home (2026-12-04). */
.app-top { display: flex; align-items: center; gap: 10px; padding: 2px 0 14px; }
.app-top-brand {
  display: flex; align-items: center; gap: 9px;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem;
}
.app-top-brand img { width: 36px; height: 36px; border-radius: 9px; }
.app-top-brand span { color: var(--accent); }
.app-top-map {
  margin-left: auto; flex: none;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 0.98rem;
  padding: 10px 16px; border-radius: 999px;
}
.app-top-map:hover { background: var(--accent-hover); }
.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; }
/* Push alerts + units + home province (Chunk 34) */
.push-row { display: flex; align-items: center; gap: 12px; padding: 12px 0 4px; }
.push-row-main { flex: 1; min-width: 0; }
.push-row-name { display: block; font-weight: 700; color: #fff; }
.push-row-sub { display: block; color: #99a2aa; font-size: 0.88rem; margin-top: 2px; }
.push-lock {
  display: flex; align-items: center; gap: 12px; padding: 12px 0 4px;
  color: inherit; text-decoration: none;
}
.push-lock-ico { flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(245, 130, 32, 0.16); display: flex; align-items: center; justify-content: center; }
.push-lock-ico svg { width: 18px; height: 18px; fill: var(--orange); }
.push-lock-main { flex: 1; min-width: 0; }
.push-lock-name { display: block; font-weight: 700; color: #fff; }
.push-lock-sub { display: block; color: #99a2aa; font-size: 0.88rem; margin-top: 2px; }
.push-lock-cta { flex: none; color: var(--orange); font-weight: 700; white-space: nowrap; }
.push-mute-head { font-weight: 700; color: #fff; padding: 12px 0 2px; font-size: 0.95rem; }
.lake-push-row {
  display: flex; align-items: center; gap: 12px; margin: 12px 0 0;
  background: var(--navy2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.lake-push-name { flex: 1; font-weight: 600; color: var(--ink); }
.lake-push-lock { color: var(--orange); font-weight: 700; text-decoration: none; white-space: nowrap; }
.units-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.units-seg button {
  appearance: none; border: 0; background: transparent; color: #99a2aa;
  font: inherit; font-size: 0.9rem; font-weight: 600; padding: 7px 14px; cursor: pointer;
}
.units-seg button.sel { background: var(--accent); color: #fff; }
.prov-select {
  max-width: 190px; background: var(--navy2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
  font: inherit; font-size: 0.95rem;
}
/* Pro page */
.pro-founding {
  background: linear-gradient(160deg, #363c44, var(--navy2));
  border: 2px solid var(--accent);
  border-radius: 16px; padding: 18px; margin: 4px 0 16px;
}
.pro-founding-head { color: #fff; font-size: 1.12rem; font-weight: 800; letter-spacing: 0.03em; }
.pro-founding p { color: #d8dee3; font-size: 1rem; line-height: 1.55; margin: 10px 0 0; }
.pro-founding strong { color: #fff; }
/* Pro page hero — sunset photo behind the header + founding card (Chunk 28) */
.pro-hero {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 16px 14px 2px;
  margin: 10px 0 16px;
  background:
    linear-gradient(180deg, rgba(13, 18, 26, 0.60) 0%, rgba(13, 18, 26, 0.74) 52%, rgba(13, 18, 26, 0.90) 100%),
    url("/assets/pro-hero.webp") center 36% / cover no-repeat;
}
.pro-hero .set-pro-name,
.pro-hero .set-pro-sub { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65); }
.pro-hero .pro-founding {
  background: rgba(13, 18, 26, 0.62);
  margin-bottom: 14px;
}
.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; }

/* ---------- Account forms + saved lakes (/account/, Chunk 22) ---------- */
.auth-form { text-align: left; }
.auth-form .signin-label { margin-top: 14px; }
.auth-form .signin-label:first-child { margin-top: 0; }
.auth-opt { color: #99a2aa; font-weight: 400; }
.auth-input {
  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;
}
.auth-input::placeholder { color: #99a2aa; }
.signin-h2 { color: #fff; font-size: 1.3rem; margin: 20px 0 10px; text-align: left; }
.fav-list { list-style: none; margin: 0 0 6px; padding: 0; text-align: left; }
.fav-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 10px;
}
.fav-link { color: #fff; font-weight: 700; text-decoration: none; flex: 1; }
.fav-link:hover { text-decoration: underline; }
.fav-meta { color: #99a2aa; font-size: 0.88rem; white-space: nowrap; }
.fav-remove {
  background: none; border: none; color: #c3cad0; cursor: pointer;
  font-size: 1.5rem; line-height: 1; padding: 2px 6px; font-family: inherit;
}
.fav-remove:hover { color: #fff; }
.fav-remove:disabled { opacity: 0.4; cursor: default; }

/* ---------- Licence wallet (/account/, Chunk 29) ---------- */
.licence-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px; padding: 14px; margin-bottom: 10px; text-align: left;
}
.licence-text { margin: 0 0 10px; color: #d8dee3; }
.licence-meta { color: #99a2aa; font-size: 0.92rem; margin: 0 0 10px; }
.licence-img {
  max-width: 100%; border-radius: 10px; display: block;
  margin: 0 0 10px; cursor: zoom-in; background: rgba(255, 255, 255, 0.08);
}
.licence-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lic-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy2); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  padding: 10px 18px; cursor: pointer; text-decoration: none;
}
.lic-btn.primary { background: var(--accent); border-color: var(--accent); }
.lic-btn.primary:hover { background: var(--accent-hover); }
.lic-btn.ghost { background: transparent; color: #c3cad0; }
.lic-btn.ghost:hover { color: #fff; }
.lic-btn:disabled { opacity: 0.55; cursor: default; }

/* ---------- Save-this-lake button (water pages, injected by fav.js) ---------- */
.fav-row { margin: 4px 0 12px; }
.fav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--accent-dark);
  border: 2px solid var(--accent); border-radius: 999px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  padding: 9px 18px; cursor: pointer;
}
.fav-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.fav-btn:hover { background: #eaf3fb; }
.fav-btn:disabled { opacity: 0.55; cursor: default; }
.fav-btn.saved { background: var(--accent); color: #fff; }
.fav-btn.saved svg { fill: #fff; }

/* ---------- Chunk 24: lake-page top block + AB-style species list ----------
   Modelled on Alberta Bite's lake pages (Wolky's reference screenshots):
   status pill + orange season line, then Save / Download / Show on map /
   Navigate pills — each action its own colour so it's spottable at a
   glance — then the info line and depth callout. The species list puts
   the real fish photo + name on the left and the limit as a BIG ORANGE
   number with the plain note under it on the right. */
.topblock {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; padding: 14px 16px; margin: 14px 0;
}
.tb-status { margin: 0 0 6px; }
.statuspill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  color: #fff; font-weight: 700; font-size: 1rem;
}
.statuspill.open { background: var(--green); }
.statuspill.restricted { background: var(--warn); }
.statuspill.closed { background: var(--red); }
.tb-season { color: var(--warn); font-weight: 700; margin: 0 0 10px; }
.tb-season a { color: var(--warn-lt); }
.tb-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #8fc7ee;
  border: 2px solid var(--accent); border-radius: 999px;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  padding: 8px 16px; cursor: pointer;
}
.dl-btn:hover { background: rgba(79, 157, 216, 0.15); }
.dl-btn:disabled { opacity: 0.6; cursor: default; }
.tb-map {
  display: inline-block; background: var(--accent); color: #fff;
  border-radius: 999px; padding: 10px 18px; font-weight: 700;
  text-decoration: none;
}
.tb-map:hover { background: var(--accent-hover); }
.dl-status { margin: 8px 0 0; color: #c8cfd4; }
.tb-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.tb-nav .nav-btn {
  background: var(--warn); color: #fff; font-weight: 700;
  border-radius: 999px; padding: 9px 16px; text-decoration: none;
}
.tb-nav .nav-btn.ghost {
  background: transparent; border: 2px solid rgba(255, 255, 255, 0.35);
}
.tb-info { color: #c8cfd4; margin: 10px 0 0; }
.tb-info strong { color: #fff; }
.topblock .callout { margin: 10px 0 0; }

table.sprules { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 8px 0; }
table.sprules th {
  text-align: left; padding: 8px 10px; color: #fff; font-size: 0.95rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
}
table.sprules th:first-child { width: 112px; }
table.sprules td {
  padding: 12px 10px; vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sp-img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
.sp-nm { display: block; font-weight: 700; margin-top: 5px; font-size: 0.95rem; line-height: 1.25; }
.limit-big {
  display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.15;
  color: var(--warn);
}
.sp-note { display: block; margin-top: 2px; font-size: 0.98rem; }

/* SK / PEI expandable rows in the same layout */
.sp-row summary .sp-id { display: flex; flex-direction: column; gap: 0; width: 84px; flex: none; }
.sp-row summary .sp-id .sp-thumb { width: 84px; height: 56px; }
.sp-row summary .sp-nm { color: #fff; margin-top: 5px; }
.sp-row summary .sp-lim { flex: 1; min-width: 0; }
.sp-statword { font-weight: 700; }
.sp-statword.open { color: var(--green-lt); }
.sp-statword.restricted { color: var(--warn-lt); }
.sp-statword.closed { color: #ff9d94; }

/* Save-favourite pill in the top block: orange outline + star (AB look) */
.topblock .fav-btn, .fav-row .fav-btn {
  background: transparent; color: var(--warn-lt);
  border: 2px solid var(--warn);
}
.topblock .fav-btn:hover, .fav-row .fav-btn:hover { background: rgba(245, 130, 32, 0.12); }
.topblock .fav-btn.saved, .fav-row .fav-btn.saved { background: var(--warn); color: #fff; border-color: var(--warn); }
.topblock .fav-btn.saved svg, .fav-row .fav-btn.saved svg { fill: #fff; }

/* Social sign-in (account page; buttons render only when configured) */
.social-row { display: flex; flex-direction: column; gap: 10px; margin: 4px 0; }
.social-slot { display: flex; justify-content: center; }
.apple-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #000; color: #fff; border: 1px solid #000; border-radius: 999px;
  padding: 11px 18px; font-size: 1rem; font-weight: 600; cursor: pointer;
  font-family: inherit; width: 100%;
}
.apple-btn svg { width: 19px; height: 19px; fill: #fff; flex: none; }
.fb-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #1877F2; color: #fff; border: 1px solid #1877F2; border-radius: 999px;
  padding: 11px 18px; font-size: 1rem; font-weight: 600; cursor: pointer;
  font-family: inherit; width: 100%;
}
.fb-btn svg { width: 19px; height: 19px; fill: #fff; flex: none; }

/* Fish photo lightbox (Chunk 25; overlay built by assets/lightbox.js) */
.sp-img, .sp-thumb { cursor: zoom-in; }
.fl-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4, 9, 13, 0.93);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px; box-sizing: border-box;
}
.fl-lightbox img {
  max-width: 94vw; max-height: 76vh; object-fit: contain;
  border-radius: 14px; box-shadow: 0 14px 48px rgba(0, 0, 0, 0.65);
  background: #0d141a;
}
.fl-lightbox .fl-cap {
  color: #fff; font-size: 1.2rem; font-weight: 700;
  margin-top: 16px; text-align: center;
}
.fl-lightbox .fl-x {
  position: absolute; top: 8px; right: 10px;
  background: none; border: 0; color: #fff;
  font-size: 2.1rem; line-height: 1; padding: 12px; cursor: pointer;
}
body.fl-lb-open { overflow: hidden; }

/* Checker forms on content pages (AB/ON/MB/NB/NS/NL/QC) — Chunk 25
   restyle. The .card was already dark, but the fields inside were raw
   browser defaults (white boxes in inline flow — the "98 style").
   These rules give them the site's field design — stacked labels,
   full-width dark controls, pill button — matching the .ck-* checkers
   (SK/BC/PEI) and the account page. Presentation only: no markup,
   script, data or verdict changes. */
body.contentpage .card label {
  display: block; margin: 16px 0 0;
  font-weight: 700; font-size: 0.98rem; color: #fff;
}
body.contentpage .card label:first-child { margin-top: 2px; }
body.contentpage .card select,
body.contentpage .card input[type="date"],
body.contentpage .card input[type="number"],
body.contentpage .card input[type="text"],
body.contentpage .card input[type="search"] {
  display: block; width: 100%; box-sizing: border-box; margin-top: 7px;
  padding: 12px 14px; font: inherit; font-size: 1rem;
  color: #edf0f2; background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px;
  color-scheme: dark;
}
body.contentpage .card select:focus,
body.contentpage .card input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 157, 216, 0.35);
}
body.contentpage .card label.checkline {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 600; color: #edf0f2;
}
body.contentpage .card label.checkline input[type="checkbox"] {
  width: 22px; height: 22px; margin: 1px 0 0; flex: none;
  accent-color: var(--accent);
}
body.contentpage .card .btn {
  border: none; cursor: pointer; font-family: inherit;
  width: 100%; margin: 20px 0 4px; padding: 14px 20px;
  font-size: 1.05rem; border-radius: 999px;
}
body.contentpage .card .result {
  margin-top: 16px; font-size: 1.02rem; line-height: 1.5; color: #d8dee3;
}

/* ---------- Chunk 30: SEO sections (nearby waters, FAQ, activity row) ---------- */
.nearby-list { list-style: none; margin: 10px 0 0; padding: 0; }
.nearby-list li { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.nearby-list li:first-child { border-top: none; padding-top: 2px; }
.nearby-list .dist { color: #99a2aa; font-size: 0.9em; white-space: nowrap; }
.faq-item { margin: 0 0 16px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item h3 { font-size: 1.03rem; margin: 0 0 4px; }
.faq-item p { margin: 0; }
.activity-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.activity-links a {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22); text-decoration: none; font-weight: 700;
}

/* ---------- Chunk 31: ice conditions (lake block, hubs, map layer) ---------- */
.ice-big { font-size: 1.9rem; font-weight: 800; margin: 2px 0 0; color: #fff; }
.ice-meta { color: #c3cad0; margin: 2px 0 8px; font-weight: 600; }
.ice-band {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  background: var(--band, #666); color: #14181d; font-weight: 800; font-size: 0.98rem;
}
.ice-note { font-style: italic; color: #d8dee3; }
.ice-reports { list-style: none; margin: 12px 0 0; padding: 0; }
.ice-reports li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.ice-dot {
  flex: none; width: 13px; height: 13px; border-radius: 50%;
  margin-top: 5px; border: 2px solid rgba(255, 255, 255, 0.75);
}
.ice-row-sub { color: #99a2aa; font-size: 0.92rem; }
.ice-legend { list-style: none; margin: 14px 0 4px; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.ice-legend li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; font-size: 0.96rem; }
.ice-legend .ice-dot { margin-top: 4px; }
.ice-form { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 6px; }
.ice-form h3 { color: #fff; }
.ice-form label { display: block; font-weight: 600; color: #d8dee3; margin: 10px 0 0; }
.ice-form input[type="number"], .ice-form input[type="date"], .ice-form input[type="text"],
.ice-form select {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px;
  background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px; font: inherit;
}
.ice-form-row { display: grid; grid-template-columns: 1fr 0.7fr 1.3fr; gap: 10px; }
.ice-form-row label { margin-top: 0; }
.ice-submit { margin-top: 14px; border: none; cursor: pointer; font-family: inherit; }
.ice-hub-list { list-style: none; margin: 6px 0 0; padding: 0; }
.ice-hub-row {
  display: block; padding: 12px 2px; text-decoration: none; color: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.ice-hub-list li:first-child .ice-hub-row { border-top: none; }
.ice-hub-name { display: block; font-weight: 800; font-size: 1.08rem; color: #fff; }
.ice-hub-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-top: 3px; color: #99a2aa; }
.ice-hub-meta .ice-dot { margin-top: 0; border-color: rgba(0, 0, 0, 0.15); }
/* ---------- Chunk 33: bite score & weather (lake block) ---------- */
.bite-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bite-big { font-size: 2.6rem; font-weight: 800; line-height: 1; color: #fff; }
.bite-label {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; background: rgba(255, 255, 255, 0.1); color: #edf0f2;
}
.bite-label.bite-excellent { background: rgba(47, 168, 79, 0.25); color: #7fd79a; }
.bite-label.bite-good { background: rgba(47, 168, 79, 0.16); color: #a5e3ba; }
.bite-label.bite-fair { background: rgba(245, 130, 32, 0.2); color: #ffb877; }
.bite-label.bite-slow { background: rgba(245, 130, 32, 0.12); color: #f0c9a8; }
.bite-label.bite-poor { background: rgba(224, 101, 90, 0.2); color: #f2a49d; }
.bite-sub { color: #99a2aa; font-size: 0.9rem; }
.bite-wx { color: #fff; font-weight: 600; margin: 10px 0 0; }
.bite-meta { color: #c3cad0; margin: 4px 0 0; }
.bite-card h3 { color: #fff; margin: 16px 0 4px; }
.bite-wins { list-style: none; margin: 6px 0 0; padding: 0; }
.bite-wins li { padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); color: #d8dee3; }
.bite-wins li:first-child { border-top: none; }
.bite-wins strong { color: #fff; }
.bite-kind {
  display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 0.75rem;
  font-weight: 800; text-transform: capitalize; vertical-align: 2px;
}
.bite-kind.major { background: rgba(47, 168, 79, 0.22); color: #7fd79a; }
.bite-kind.minor { background: rgba(79, 157, 216, 0.2); color: #a8cdf0; }
.bite-best {
  margin: 14px 0 0; padding: 10px 12px; border-radius: 10px;
  background: rgba(47, 168, 79, 0.14); color: #d8dee3;
}
.bite-best strong { color: #fff; }
.bite-days { display: flex; gap: 6px; margin: 14px 0 4px; }
.bite-day {
  flex: 1 1 0; min-width: 0; text-align: center; padding: 8px 2px 7px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.05);
}
.bite-day.today { background: rgba(79, 157, 216, 0.16); }
.bite-day span { display: block; }
.bite-dow { font-weight: 700; color: #fff; font-size: 0.82rem; }
.bite-dmd { color: #99a2aa; font-size: 0.78rem; }
.bite-dbar {
  height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12);
  margin: 6px 4px 5px; overflow: hidden; text-align: left;
}
.bite-dbar span { height: 100%; background: var(--accent); border-radius: 3px; }
.bite-dscore { font-weight: 800; color: #fff; font-size: 1.02rem; line-height: 1.1; }
.bite-dlabel { color: #99a2aa; font-size: 0.72rem; }
/* ---------- Chunk 32: biggest catches (lake block + province boards) ---------- */
.catch-list { list-style: none; margin: 8px 0 0; padding: 0; }
.catch-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.catch-list li:first-child, .catch-row:first-child { border-top: none; }
.catch-thumb {
  flex: none; width: 64px; height: 48px; object-fit: cover;
  border-radius: 8px; background: rgba(255, 255, 255, 0.06);
}
.catch-thumb-none { display: inline-block; }
.catch-main { color: #d8dee3; line-height: 1.45; }
.catch-main strong { color: #fff; font-size: 1.06rem; }
.catch-sub { color: #99a2aa; font-size: 0.92rem; }
.catch-tag {
  display: inline-block; padding: 1px 9px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; vertical-align: 2px; margin-left: 4px;
}
.catch-tag.kept { background: rgba(47, 168, 79, 0.22); color: #7fd79a; }
.catch-tag.released { background: rgba(79, 157, 216, 0.2); color: #a8cdf0; }
.catch-empty { color: #c3cad0; padding: 6px 0 2px; border-top: none; }
.catch-leaders { margin-top: 14px; }
.catch-leaders h3 { color: #fff; margin-bottom: 4px; }
.catch-leader-list { list-style: none; margin: 6px 0 0; padding: 0; }
.catch-leader-list li {
  padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); color: #d8dee3;
}
.catch-leader-list li:first-child { border-top: none; }
.catch-form { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 6px; }
.catch-form h3 { color: #fff; }
.catch-form label { display: block; font-weight: 600; color: #d8dee3; margin: 10px 0 0; }
.catch-form input[type="number"], .catch-form input[type="date"], .catch-form input[type="text"],
.catch-form input[type="file"], .catch-form select {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px;
  background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px; font: inherit;
}
.catch-form-row { display: grid; grid-template-columns: 1.3fr 0.8fr 0.7fr; gap: 10px; }
.catch-form-row label { margin-top: 0; }
.catch-form-row + .catch-form-row { margin-top: 10px; }
.catch-form-row + .catch-form-row label { margin-top: 0; }
.catch-hint {
  margin: 14px 0 0; padding: 11px 13px; border-radius: 10px;
  font-weight: 600; line-height: 1.45; color: #eef2f5;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
}
.catch-hint-keep { background: rgba(47, 168, 79, 0.16); border-color: rgba(47, 168, 79, 0.55); }
.catch-hint-release { background: rgba(245, 130, 32, 0.14); border-color: rgba(245, 130, 32, 0.6); }
.catch-hint-closed { background: rgba(192, 57, 43, 0.16); border-color: rgba(192, 57, 43, 0.6); }
.catch-submit { margin-top: 14px; border: none; cursor: pointer; font-family: inherit; }
.fl-ice {
  display: block; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.fl-depth {
  display: block; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(79, 157, 216, 0.25); border: 2.5px solid var(--accent);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* ---------- Chunk 37: stocked pins, depth contours, tap readouts ---------- */
.fl-stocked {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: #f58220; border: 2px solid #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
#fl-map .contour-tip {
  background: #071a29; color: #fff; border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 10px; font-weight: 700; padding: 0 5px; border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
#fl-map .contour-tip::before { display: none; }
.fl-depth-note { color: var(--accent); font-weight: 800; }
.fl-pop-note { font-size: 0.85em; }
.fl-pop-link { font-weight: 700; }

/* ---------- Chunk 36: derbies + community catch reports ---------- */
.derby-slot:empty { display: none; }
.derby-card { border-color: rgba(245, 130, 32, 0.55); }
.derby-line { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.derby-flag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: rgba(245, 130, 32, 0.22); color: #ffb066;
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.02em;
  text-transform: uppercase; vertical-align: 2px;
}
.community-box {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
}
.community-box h3 { margin-top: 0; }
.community-row { opacity: 0.92; }

/* ---------- Chunk 46: compact water-page status card (Wolky, 2026-12-05) ----------
   Tighter card padding, smaller status pill, and the five action
   pills (Save / Download / Show on map / Google Maps / Apple Maps)
   become a compact 2-per-row grid at roughly half their old height,
   so the species rules stop getting buried. Layout only — every
   action keeps its behaviour. Desktop gets 3-across for the first
   row so it stays sane on wide screens. */
.topblock { padding: 10px 12px; margin: 10px 0; }
.tb-status { margin: 0 0 4px; }
.statuspill { padding: 5px 13px; font-size: 0.95rem; }
.tb-season { margin: 0 0 8px; }
.tb-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  align-items: stretch; margin: 0;
}
.tb-actions #fav-slot { display: flex; min-width: 0; }
.tb-actions #fav-slot .fav-btn { flex: 1 1 auto; justify-content: center; }
.topblock .fav-btn { padding: 6px 8px; font-size: 0.88rem; }
.dl-btn { justify-content: center; padding: 6px 8px; font-size: 0.88rem; text-align: center; }
.tb-map {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 8px; font-size: 0.88rem; text-align: center;
}
.tb-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 6px 0 0; }
.tb-nav .nav-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 8px; font-size: 0.88rem; text-align: center;
}
.tb-info { margin: 8px 0 0; font-size: 0.92rem; }
body.contentpage main { padding-top: 12px; }
@media (min-width: 700px) {
  .tb-actions { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Chunk 47: app-download banner (Wolky funnel, 2026-12-05) ----------
   ONE slim strip at the top of every water page, province hub and
   checker page: app icon + one line + "Get the app" button + dismiss
   X. Injected by build.py (inject_app_banner); behaviour and the
   store-link config live in assets/appbanner.js (FL_APP_LINKS).
   Not sticky, not a popup — it scrolls away with the page, and the
   species rules stay in the first screenful (Chunk 46 rule). */
.appbanner {
  display: flex; align-items: center; gap: 9px;
  background: var(--navy2); border: 1px solid rgba(79, 157, 216, .5);
  border-radius: 10px; padding: 6px 8px 6px 10px; margin: 0 0 10px;
}
.appbanner-ico { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; }
.appbanner-txt {
  flex: 1 1 auto; min-width: 0; color: #e8edf1;
  font-size: 0.82rem; line-height: 1.3;
}
.appbanner-txt strong { color: #fff; }
.appbanner-cta {
  flex: 0 0 auto; background: var(--accent); color: #fff; font-weight: 700;
  font-size: 0.82rem; text-decoration: none; border-radius: 8px;
  padding: 6px 10px; white-space: nowrap;
}
.appbanner-cta:hover { background: var(--accent-hover); color: #fff; }
.appbanner-x {
  flex: 0 0 auto; background: none; border: 0; color: #99a2aa;
  font-size: 1.15rem; line-height: 1; padding: 4px 5px; cursor: pointer;
}
.appbanner-x:hover { color: #fff; }

/* Hook strip — "Today at this lake" (Chunk 51): live chips under the
   rules card (bite / ice / biggest catch), each linking down to its
   full section. Mirrors .lk-card so it sits naturally on lake pages. */
.hook-strip {
  background: var(--navy2); border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px; padding: 12px 14px; margin: 14px 0;
}
.hook-strip[hidden], .hook-chip[hidden] { display: none; }
.hook-title {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 9px;
}
.hook-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hook-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #edf0f2; font-size: 0.95rem; line-height: 1.2;
}
.hook-chip strong { color: #fff; }
.hook-chip:active { background: rgba(79, 157, 216, 0.25); }
h2#bite, h2#ice, h2#catches { scroll-margin-top: 84px; }
