/* Beaches page (/beaches/). Tier marks (.tmark, .ttag) live in tier.css, .bs-adv and .sn-date in sunset.css */
.beach-today[hidden] { display: none; }
.bt-answer { margin: 0 0 var(--sp-32); padding: var(--sp-24) var(--sp-24); border-radius: var(--radius); background: #fffaf2; border: 0; box-shadow: var(--shadow-1); }
.bt-answer .eyebrow { margin: 0 0 var(--sp-8); }
.bt-answer-text { margin: 0; font: 400 clamp(1.15rem, 2.2vw, 1.4rem)/1.45 var(--serif); /* type-ok: display */ color: var(--ink); }
.bt-pick { margin: var(--sp-12) 0 0; color: var(--ink-2); }
.bt-pick b { color: var(--ink); }
.bt-pick:has(.ttag) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8); }
.bt-best-w { font-weight: 600; color: var(--ink); }
.bt-tier { flex: none; }
.bt-tier .ttag-w { font-size: .82rem; }

.bday { margin: 0 0 var(--sp-24); }
.bday h2 { margin: 0 0 var(--sp-12); display: inline; }
.bday > h2 { display: block; }
details.bday { border-top: 1px solid var(--line); padding-top: var(--sp-16); }
details.bday > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--sp-8); }
details.bday > summary::-webkit-details-marker { display: none; }
details.bday > summary::after { content: '+'; font: 500 1.3rem/1 var(--sans); color: var(--ink-3); margin-left: auto; }
details.bday[open] > summary::after { content: '\2212'; }
details.bday[open] > summary { margin-bottom: var(--sp-12); }
.bday .bs-adv { margin: 0 0 var(--sp-12); }

.bt-wrap { overflow-x: auto; }
.bt { width: 100%; border-collapse: collapse; font-size: 1rem; }
.bt th, .bt td { text-align: left; padding: var(--sp-12) var(--sp-8); border-bottom: 1px solid var(--line); vertical-align: middle; }
.bt thead th { font: 600 .75rem var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.bt tbody th { font: 600 1rem var(--sans); color: var(--ink); }
.bt td { color: var(--ink-2); }
.bt-score { --sz: 46px; margin-right: var(--sp-8); }
.bt-when, .bt-why, .bt-note { display: block; font-size: .82rem; color: var(--ink-3); margin-top: var(--sp-4); }
/* the beach-day tag on its own line, the hours and weather under it (the cell stays a table cell, so its rule lines up) */
.bt td:nth-child(2) .bt-tier { display: flex; width: max-content; }
.bt-grade small { display: block; font-size: .82rem; color: var(--ink-3); }
.bt-gl { display: none; }
.swim { display: inline-block; font: 600 .82rem/1 var(--sans); letter-spacing: .03em; padding: var(--sp-8) var(--sp-8); border-radius: var(--r-tag); }
.swim-go { background: #dcebdc; color: #2f5b33; }
.swim-check { background: #fde9c7; color: #8a5300; }
.swim-skip { background: #f6d5cc; color: var(--tile-deep); }

.beach-guide h2, .beach-faq h2 { margin: 0 0 var(--sp-24); }
.beach-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-16); margin-bottom: var(--sp-16); }
.beach-card { padding: var(--sp-20) var(--sp-24); border-radius: var(--radius); background: #fffaf2; border: 0; box-shadow: var(--shadow-1); }
.beach-card .eyebrow { margin: 0 0 var(--sp-8); }
.beach-card h3 { margin: 0 0 var(--sp-8); font: 500 1.3rem/1.2 var(--serif); color: var(--ink); }
.beach-card p { margin: 0 0 var(--sp-8); color: var(--ink-2); }
.bc-waves { font-size: .9rem; }

.bfaq { border-top: 1px solid var(--line); padding: var(--sp-16) 0; }
.bfaq:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: var(--sp-16); }
.bfaq summary { cursor: pointer; font: 600 1rem/1.4 var(--sans); color: var(--ink); }
.bfaq p { margin: var(--sp-8) 0 0; color: var(--ink-2); max-width: 68ch; }

/* Today's answer: swim call + water on the left, best beach on the right */
.bt-answer { display: grid; gap: var(--sp-16) var(--sp-32); }
.bt-water { display: flex; align-items: center; gap: var(--sp-16); margin: var(--sp-16) 0 0; color: var(--ink-2); font-size: 1rem; }
.bt-water b { color: var(--ink); }
.bt-temp { flex: none; font: 500 2.1rem/1 var(--serif); color: var(--sea); }
.bt-temp small { font-size: .55em; margin-left: 1px; }
.bt-best { padding-top: var(--sp-16); border-top: 1px dashed var(--line); }
.bt-best .eyebrow { margin: 0 0 var(--sp-8); }
.bt-best-n { margin: 0 0 var(--sp-8); display: flex; align-items: center; gap: var(--sp-4); font: 500 1.3rem/1.2 var(--serif); }
.bt-best-n a { color: var(--ink); text-decoration: none; }
.bt-best-n a:hover { text-decoration: underline; }
.bt-best-why { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-8); font-size: .9rem; color: var(--ink-2); }
.bt-best-why .swim { margin-right: var(--sp-4); padding: var(--sp-4) var(--sp-8); font-size: .75rem; }
@media (min-width: 820px) {
  .bt-answer { grid-template-columns: 1.35fr 1fr; align-items: start; }
  .bt-best { padding: 0 0 0 var(--sp-32); border-top: 0; border-left: 1px dashed var(--line); }
}

/* Map of today's calls. On phones the off-screen beaches are chips along the bottom, over the water */
.bmap-wrap { margin: -12px 0 var(--sp-32); }
.bmap { height: 280px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); background: #a9cfd5; }
.bmap-key { list-style: none; margin: var(--sp-8) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-16); font: 500 .82rem var(--sans); color: var(--ink-2); }
.bmap-key li::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: var(--sp-8); border-radius: 50%; vertical-align: -1px; }
.bmap-key .k-go::before { background: #3f7d47; }
.bmap-key .k-check::before { background: #c98a1d; }
.bmap-key .k-skip::before { background: #b9472a; }
/* under the key: the hint, or (after the reader moves the map) how many beaches are in view and the way back */
.bmap-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8) var(--sp-16); min-height: 40px; margin-top: var(--sp-8); }
.bmap-area { margin: 0; font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.bmap-all { font: 600 .9rem/1 var(--sans); min-height: 40px; padding: .6em 1.05em; border-radius: var(--r-ctl); border: 1.5px solid var(--sea); background: #fffaf2; color: var(--sea); cursor: pointer; transition: background .2s, color .2s; }
.bmap-all:hover { background: var(--sea); color: #fff; }
.bt-none { margin: var(--sp-16) 0 0; color: var(--ink-3); font: 500 italic 1rem var(--sans); }
.bmap-edges { position: absolute; bottom: 12px; z-index: 2; display: flex; flex-direction: column; gap: var(--sp-8); pointer-events: none; }
.bmap-edges.is-l { left: 8px; align-items: flex-start; }
.bmap-edges.is-r { right: 44px; align-items: flex-end; }
.bmap-edge { pointer-events: auto; display: inline-flex; align-items: center; gap: var(--sp-8); min-height: 36px; padding: var(--sp-4) var(--sp-8) var(--sp-4) var(--sp-8); border: 0; border-radius: var(--r-tag); background: #fffaf2; box-shadow: var(--shadow-1); font: 600 .82rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.bmap-edge i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-style: normal; font-size: .75rem; }
/* the beach-day mark inside the swim-call dot, as on the map */
.bmap-edge i .tmark { --sz: 14px; border-radius: 4px; box-shadow: none; }
.bmap-edge span { color: var(--ink-3); }
.bpop { padding: var(--sp-16) var(--sp-16) var(--sp-12); }
.bpop p { margin: 0; }
.bpop-n { font: 600 1.12rem/1.2 var(--sans); color: var(--ink); padding-right: var(--sp-24); }
.bpop-s { margin-top: var(--sp-8) !important; font-size: .9rem; color: var(--ink-2); }
.bpop-s .swim { padding: var(--sp-4) var(--sp-8); font-size: .75rem; margin-right: var(--sp-4); }
.bpop-b { margin-top: var(--sp-8) !important; display: flex; align-items: center; gap: var(--sp-8); font-size: .82rem; color: var(--ink-2); }
.bpop-b .tmark { --sz: 24px; border-radius: 6px; }
.bpop-l { display: inline-block; margin-top: var(--sp-8); font: 600 .82rem var(--sans); color: var(--sea); }
@media (min-width: 760px) { .bmap { height: 340px; } }

/* Tide chart and sand strips under each day's table */
.btide { margin: var(--sp-24) 0 var(--sp-8); padding: var(--sp-16) var(--sp-20) var(--sp-16); border-radius: var(--radius); background: #f6f0e4; }
.btide-h { margin: 0 0 var(--sp-8); font-size: .9rem; color: var(--ink-2); }
.btide-h b { font: 600 .75rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-right: var(--sp-8); }
.btc-wrap { position: relative; height: 104px; margin-top: var(--sp-24); }
.btc { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.btc-night { fill: #18222e; opacity: .06; }
.btc-line { fill: none; stroke: var(--sea); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.btc-mark { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 2px #f6f0e4; }
.btc-mark b { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 .75rem/1 var(--sans); color: var(--ink-2); }
.btc-H b { bottom: 12px; }
.btc-L b { top: 50%; left: 12px; transform: translateY(-50%); } /* beside the low, not under it: under it ran into the hour ticks */
.btc-mark.is-l b { left: -2px; transform: none; }
.btc-mark.is-r b { left: auto; right: -2px; transform: none; }
.btc-L.is-r b { right: 12px; transform: translateY(-50%); }
.btc-L.is-l b { left: 12px; transform: translateY(-50%); }
@media (max-width: 560px) { .btc-ticks span:last-child { display: none; } } /* 6 PM and 8 PM ran together */
.btc-ticks { position: relative; height: 18px; margin-top: var(--sp-8); font: 500 .75rem/1 var(--sans); color: var(--ink-3); }
.btc-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.btc-ticks span:first-child { transform: none; }
.btc-ticks span:last-child { transform: translateX(-100%); }
.btc-now { stroke: var(--tile); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.bts { list-style: none; margin: var(--sp-12) 0 0; padding: 0; display: grid; gap: var(--sp-8); }
.bts li { display: grid; grid-template-columns: 7.5em 1fr; gap: var(--sp-4) var(--sp-12); align-items: center; font-size: .9rem; }
.bts-name { font-weight: 600; color: var(--ink); }
.bts-bar { position: relative; height: 12px; border-radius: 999px; background: #e7cf9f; overflow: hidden; }
.bts-wet { position: absolute; top: 0; bottom: 0; background: #5f9fb0; }
.bts-now { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--tile); }
.bts-txt { grid-column: 2; color: var(--ink-2); font-size: .82rem; }

@media (max-width: 720px) {
  .bt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bt, .bt tbody, .bt tr, .bt th, .bt td { display: block; width: 100%; }
  .bt tr { padding: var(--sp-12) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: var(--sp-8) var(--sp-12); }
  .bt th, .bt td { border: 0; padding: 0; }
  .bt tbody th { grid-column: 1 / -1; }
  .bt td:nth-child(2) { grid-column: 1 / -1; }
  .bt td.bt-grade { text-align: left; }
  .bt-gl { display: inline; color: var(--ink-3); }
  .bt td.bt-crowd { grid-column: 1 / -1; font-size: .9rem; }
  .bt td.bt-crowd:not(:empty)::before { content: 'Crowds: '; color: var(--ink-3); }
}

/* ---------- 2026-11 redesign: right-now card, the week, the swim board, grade pills, the tide dot ---------- */
.bn-hero { padding-bottom: var(--sp-32); background: radial-gradient(70% 80% at 92% 0%, rgba(29, 90, 110, .16), transparent 62%), radial-gradient(60% 60% at 0% 100%, rgba(239, 161, 58, .12), transparent 60%), var(--paper); }
.bn-hero h1 { max-width: 11ch; }
.bn-hero .lede { max-width: 54ch; }
/* photo credits top-right, the same corner as every photo credit on the hub pages (design review 2026-11-23); the
   score badge lifts into each card photo's lower-left edge, so the top-right corner is clear */
:is(.bn-hero .pph, .beach-card .pcard) > .pcred { top: var(--sp-12); right: var(--sp-12); bottom: auto; }
:is(.bn-hero .pph, .beach-card .pcard) > .pcred .pcred-t { top: 34px; bottom: auto; }
/* Share at the top right on the label line, as on the other hub pages, instead of its own empty row above the title and
   photo (design review 2026-11-23). It sits over the photo column, and the photo starts level with the title, so the
   header is no taller than before. */
@media (min-width: 900px) {
  .bn-hero.ph-split > .wrap { position: relative; }
  .bn-hero.ph-split .ph-share { position: absolute; top: 0; right: 0; margin: 0; }
  .bn-hero.ph-split .ph-grid { align-items: start; }
  .bn-hero.ph-split .pband { margin-top: calc(36px + var(--sp-8)); } /* the label line + the title's top margin */
}

/* right now: three live tiles, the swim calls counted, the best beach */
.bn-now { margin: var(--sp-32) 0 0; max-width: 520px; padding: var(--sp-16) var(--sp-16) var(--sp-16); border-radius: var(--radius); color: var(--ink); background: #fffaf2; border: 1px solid var(--line);  }
.bn-now[hidden] { display: none; }
.bn-k { display: flex; align-items: center; gap: var(--sp-8); margin: 0 2px var(--sp-12); font: 600 .75rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.bn-clock { margin-left: -4px; color: var(--ink-3); letter-spacing: .06em; }
.bn-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--sea); }
.bn-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sea); animation: bn-ping 2.2s var(--ease) infinite; }
@keyframes bn-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.bn-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-8); }
.bn-t { display: flex; flex-direction: column; min-width: 0; padding: 2px var(--sp-12) var(--sp-4); }
.bn-t + .bn-t { border-left: 1px solid var(--line); }
.bn-t:first-child { padding-left: 2px; }
.bn-t[hidden] { display: none; }
.bn-tl { margin: 0; font: 600 .68rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.bn-tv { margin: var(--sp-4) 0 0; font: 400 1.75rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.bn-tv small { font-size: .55em; margin-left: 1px; }
.bn-water .bn-tv { color: var(--sea); }
.bn-ts { margin: auto 0 0; padding-top: var(--sp-8); font: 500 .75rem/1.3 var(--sans); color: var(--ink-2); }
.bn-water .bn-ts, .bn-cam .bn-ts { margin-top: 0; } /* no chart in these two: the note sits under its number */
.bn-spark, .bn-arc { display: block; width: 100%; height: auto; aspect-ratio: 120 / 34; margin: var(--sp-8) 0 0; overflow: visible; }
.bn-sp-a { fill: rgba(29, 90, 110, .12); }
.bn-sp-l { fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linejoin: round; }
.bn-sp-d { fill: var(--tile); stroke: #fff; stroke-width: 2; }
.bn-arc-h { stroke: rgba(24, 34, 46, .14); stroke-width: 1.2; }
.bn-arc-l { fill: none; stroke: var(--sun); stroke-width: 1.6; stroke-dasharray: 2.5 3; }
.bn-arc-s { fill: var(--sun); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(239, 161, 58, .8)); }
.bn-sun.is-down .bn-arc-l { stroke: #8f97a8; }
.is-go { --c: #3f7d47; --c-bg: #e3eee1; }
.is-check { --c: #c98a1d; --c-bg: #fcefd6; }
.is-check.bv-g .bv-l { color: #8a5d10; } /* the amber dot stays; amber text is too pale on cream */
.is-skip { --c: #b9472a; --c-bg: #f7e0d8; }
.bn-swim { margin: var(--sp-16) 2px 0; }
.bn-swim-h { margin: 0 0 var(--sp-8); font: 400 1.3rem/1.2 var(--serif); color: var(--ink); }
.bn-counts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.bn-counts li { display: inline-flex; align-items: center; gap: var(--sp-8); padding: var(--sp-4) var(--sp-12) var(--sp-4) var(--sp-4); border-radius: var(--r-tag); background: var(--c-bg); font: 600 .82rem var(--sans); color: var(--ink-2); }
.bn-counts b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 var(--sp-8); border-radius: 999px; background: var(--c); color: #fff; font-size: .75rem; }
.bn-counts li.is-0 { background: none; color: var(--ink-3); }
.bn-counts li.is-0 b { background: var(--ink-3); }
.bn-best.bv-c.is-plain { display: flex; flex-direction: row; text-align: left; align-items: center; gap: var(--sp-12); margin: var(--sp-16) 0 0; padding: var(--sp-8) var(--sp-16) var(--sp-8) var(--sp-8); border-radius: var(--radius); background: var(--ink); color: #fffaf2; font: 400 1.3rem/1.15 var(--serif); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.bn-best.bv-c.is-plain:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(8, 22, 38, .7); }
.bn-best-t { flex: 1; min-width: 0; }
.bn-best.bv-c small { display: block; font: 500 .75rem/1.3 var(--sans); color: rgba(255, 250, 242, .7); }
.bn-best.bv-c small:first-child { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; color: var(--sun-2); margin-bottom: var(--sp-4); }
.bn-go { font: 400 1.3rem/1 var(--sans); color: var(--sun-2); transition: transform .2s var(--ease); }
.bn-best:hover .bn-go { transform: translateX(4px); }
.bn-s { --sz: 50px; }

/* the day picker: pills, each with the day's best Beach Day score */
.bn-board { padding-top: var(--sp-8); }
.bw { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin: 0 0 var(--sp-20); }
.beach-today:not(.is-js) .bw { display: none; }
.bw-t { display: inline-flex; align-items: center; gap: var(--sp-12); padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-16); border-radius: var(--radius); border: 1.5px solid var(--line); background: #fffaf2; color: var(--ink); cursor: pointer; font: inherit; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; }
.bw-t[hidden] { display: none; }
.bw-t { position: relative; } /* its screen-reader words stay inside the tab strip, not past the phone edge */
.bw-t:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.bw-t[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fffaf2; box-shadow: var(--shadow-1); }
.bw-w { display: grid; text-align: left; }
.bw-d { font: 600 .9rem/1.15 var(--sans); }
.bw-n { font: 500 .75rem/1.2 var(--sans); color: var(--ink-3); }
.bw-t[aria-selected="true"] .bw-n { color: rgba(255, 250, 242, .65); }
.bw-tw { font: 600 .75rem/1.2 var(--sans); color: var(--ink); }
.bw-t[aria-selected="true"] .bw-tw { color: #fffaf2; }
.bw-s { --sz: 36px; margin: 0; }

/* day panels: with JavaScript one day shows at a time, its folded heading turned plain */
.beach-today.is-js .bday { display: none; border-top: 0; padding-top: var(--sp-8); }
.beach-today.is-js .bday.is-on { display: block; animation: bn-in .35s var(--ease) both; }
@keyframes bn-in { from { opacity: 0; transform: translateY(6px); } }
.beach-today.is-js details.bday > summary { cursor: default; }
.beach-today.is-js details.bday > summary::after { display: none; }

/* is it safe to swim: the calls grouped, each beach a chip */
.bv-h { margin: 0 0 var(--sp-16); font: 400 var(--h2-sec)/1.2 var(--serif); color: var(--ink); }
.bv { display: grid; gap: var(--sp-12); }
.bv-l { display: flex; align-items: center; gap: var(--sp-8); margin: 0 0 var(--sp-8); font: 600 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.bv-l i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.bv-l span { color: var(--ink-3); font-weight: 500; }
.bv-cs { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.bv-c { display: inline-flex; flex-direction: column; gap: 1px; padding: var(--sp-8) var(--sp-12) var(--sp-8); border-radius: var(--radius-sm); background: var(--c-bg); border: 1px solid transparent; color: var(--ink); text-decoration: none; font: 600 .9rem/1.2 var(--sans); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.bv-c small { font: 500 .75rem/1.2 var(--sans); color: var(--ink-2); }
.bv-c:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: var(--shadow-1); }
.bv-c.is-plain { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.bv-c.is-plain:hover { transform: none; box-shadow: none; text-decoration: underline; }

/* water grades as pills, worst first */
.gps { display: inline-flex; gap: var(--sp-4); vertical-align: middle; }
.gp { display: inline-grid; place-items: center; min-width: 1.95em; height: 1.65em; padding: 0 .35em; border-radius: 7px; font: 700 .82rem/1 var(--sans); color: #fff; }
.g-A { background: #3f7d47; }
.g-B { background: #6d9548; }
.g-C { background: #b47a12; }
.g-D { background: #c2561f; }
.g-F { background: #b9472a; }
.gp.g-none { min-width: 0; padding: .3em .6em; background: none; border: 1px dashed var(--line); color: var(--ink-3); font-weight: 500; }
.bt-grade small { margin-top: var(--sp-4); }
.bt-name { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.bt-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.bt tbody tr { transition: background .4s; }
.bt tbody tr.is-hi { background: #fdf1dc; }

/* the tide at this minute, riding the line */
.btc-dot { position: absolute; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--tile); box-shadow: 0 0 0 3px #f6f0e4; }
.btc-dot[hidden] { display: none; }
.btc-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--tile); animation: bn-ping 2s var(--ease) infinite; }
.btc-dot b { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: var(--sp-4) var(--sp-8); border-radius: 6px; background: var(--tile); color: #fff; font: 600 .75rem/1 var(--sans); }
/* beaches.js moves the pill off a High/Low label it would cover */
.btc-dot.is-below b { bottom: auto; top: 16px; }
.btc-mark b.is-under { visibility: hidden; }
.btc-dot.is-ar b, .btc-dot.is-br b { left: -6px; transform: none; }
.btc-dot.is-al b, .btc-dot.is-bl b { left: auto; right: -6px; transform: none; }
.btc-dot.is-br b, .btc-dot.is-bl b { bottom: auto; top: 16px; }
.btc-dot.is-right b { bottom: auto; top: 50%; left: 16px; transform: translateY(-50%); }
.btc-dot.is-left b { bottom: auto; top: 50%; left: auto; right: 16px; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  .bw-t:hover, .bn-best:hover, .bv-c:hover, .bn-best.bv-c.is-plain:hover { transform: none; }
  .bn-dot::after, .btc-dot::after { animation: none; display: none; }
  .beach-today.is-js .bday.is-on { animation: none; }
}
@media (max-width: 560px) {
  .bn-now { margin-top: var(--sp-24); padding: var(--sp-16) var(--sp-12) var(--sp-12); border-radius: var(--radius); }
  .bn-tiles { gap: var(--sp-8); }
  .bn-t { padding: 2px var(--sp-8) var(--sp-4); }
  /* four tiles (camera crowd shown) don't fit one row on a phone: two by two */
  .bn-tiles.is-4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: var(--sp-12); }
  .bn-tiles.is-4 .bn-t:nth-child(odd) { border-left: 0; padding-left: 2px; }
  .bn-tv { font-size: 1.3rem; }
  .bn-ts { font-size: .75rem; }
  .bn-best.bv-c.is-plain { font-size: 1.12rem; }
  .bn-s { --sz: 44px; }
  .bw { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(94px, 1fr); gap: var(--sp-8); overflow-x: auto; scrollbar-width: none; padding-bottom: var(--sp-4); }
  .bw::-webkit-scrollbar { display: none; }
  .bw-t { justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-12); }
  .bw-t:hover { transform: none; }
  .bw-d { font-size: .82rem; }
  .bw-n { font-size: .68rem; }
  .bw-s { --sz: 30px; }
}
.bw-none { display: grid; place-items: center; width: var(--sz, 36px); height: var(--sz, 36px); margin: 0; border-radius: 24%; border: 1.5px dashed var(--line); color: var(--ink-3); }

/* the board: the day's answer on the left, the map beside it (beaches.js moves it into the chosen day) */
.bt-answer { margin: 0 0 var(--sp-32); padding: 0; gap: var(--sp-16); background: none; border: 0; border-radius: 0; }
.bt-a-l { padding: var(--sp-24) var(--sp-24); border-radius: var(--radius); background: #fffaf2; border: 0; box-shadow: var(--shadow-1); }
.bt-a-l .bt-best { margin-top: var(--sp-20); padding: var(--sp-16) 0 0; border-top: 1px dashed var(--line); border-left: 0; }
.bt-a-l > .bt-best:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bt-a-map:empty { display: none; }
.beach-today:not(.is-js) .bmap-wrap { display: none; }
.bt-a-map .bmap-wrap { margin: 0; height: 100%; display: flex; flex-direction: column; }
.bt-a-map .bmap { flex: 1; min-height: 320px; height: auto; }
/* wide screens: the map stays in view beside the answer as it scrolls */
@media (min-width: 820px) {
  .bt-answer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .bt-a-map { position: sticky; top: 92px; }
  .bt-a-map .bmap-wrap { height: auto; }
  .bt-a-map .bmap { flex: none; height: clamp(380px, calc(100vh - 170px), 600px); }
}
@media (min-width: 1000px) { .bt-answer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
@media (max-width: 819px) { .bt-a-map { order: -1; } .bt-a-map .bmap { min-height: 300px; } }

/* National Weather Service coastal warnings beside the swim call and the best beach (filled by beaches.js) */
.bt-nws { margin: 0 0 var(--sp-16); padding: var(--sp-12) var(--sp-12); border: 1px solid #d9a441; border-radius: var(--radius-sm); background: #fdf3dc; color: #4a3508; font-size: .9rem; line-height: 1.4; }
.bt-nws[hidden] { display: none; }
.bt-nws p { margin: 0 0 var(--sp-4); }
.bt-nws p:last-child { margin-bottom: 0; }
.bt-nws a { color: inherit; }
.bt-nws-src { font-size: .82rem; }
/* wide screens: two warnings side by side instead of a ragged column with the right half empty */
@media (min-width: 1000px) {
  .bn-now .bt-nws.is-many:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-32); }
  .bn-now .bt-nws.is-many p { margin: 0; }
  .bn-now .bt-nws.is-many .bt-nws-src, .bn-now .bt-nws.is-many .bt-nws-all { grid-column: 1 / -1; }
}
.bn-now .bt-nws { margin: var(--sp-8) 0; }

/* The swim call as the coast, west to east (dayAnswer in pages/beaches.mjs): one tile per beach with its Beach Day
   score and its call, and one last cell that says the reason most tiles share (2026-11-23: it was repeated on six tiles
   in tiny wrapped text). Two rows across on wide screens, two columns on phones; no sideways scroll. */
.bt-coast { margin: 0 0 var(--sp-24); }
.bt-coast .eyebrow { margin: 0 0 var(--sp-8); }
.bv-coast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); margin: 0 0 var(--sp-4); }
@media (min-width: 640px) { .bv-coast { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .bv-coast { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bv-coast { grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); } }
.bv-c.bv-t { --c: var(--ink-3); --c-bg: #fffaf2; flex-direction: row; align-items: center; gap: var(--sp-12); min-width: 0; padding: var(--sp-8) var(--sp-12) var(--sp-8) var(--sp-8); border-radius: var(--radius); border: 1.5px solid var(--line); background: #fffaf2; text-align: left; }
.bv-t.is-go { --c: #3f7d47; --ct: #36703d; --c-bg: #e8f1e6; } /* small text one step deeper: 5.1:1 (was 4.3) */
.bv-t.is-check { --c: #8a5d10; --c-bg: #f8ecd3; }
.bv-t.is-skip { --c: var(--tile); --ct: var(--tile-deep); --c-bg: #f6dfd6; } /* the dot stays tile red; the small text goes deeper for contrast */
.bv-t .bv-s { --sz: 44px; margin: 0; }
.bv-tt { display: grid; justify-items: start; gap: var(--sp-4); min-width: 0; }
.bv-t .bv-n { font: 600 .9rem/1.15 var(--sans); color: var(--ink); white-space: nowrap; }
.bv-t .bv-call { display: inline-flex; align-items: center; gap: var(--sp-4); padding: 2px var(--sp-8) 2px var(--sp-4); border-radius: var(--r-tag); background: var(--c-bg); font: 600 .75rem/1.3 var(--sans); color: var(--ct, var(--c)); white-space: nowrap; }
.bv-t .bv-call i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.bv-t small { font: 500 .75rem/1.25 var(--sans); color: var(--ink-2); }
.bv-t:hover { border-color: var(--c); }
.bv-note { display: grid; align-content: center; gap: var(--sp-4); min-width: 0; padding: var(--sp-8) var(--sp-12); border-radius: var(--radius); border: 1.5px dashed var(--line); font: 500 .75rem/1.35 var(--sans); color: var(--ink-2); }
.bv-note p { margin: 0; }
.bv-note-h { font-weight: 600; color: var(--ink); }
.bv-note a { color: var(--sea); }
.bv-note-s { color: var(--ink-3); }
/* small phones: score and name on one line, the call under them across the tile, so "Skip the water" never clips */
@media (max-width: 420px) {
  .bv-c.bv-t { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; gap: var(--sp-8); padding: var(--sp-8); }
  .bv-tt { display: contents; }
  .bv-t .bv-s { --sz: 34px; }
  .bv-t .bv-n { font-size: .9rem; }
  .bv-t .bv-call, .bv-t small { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- 2026-11-13: say the swim call once ----------
   The per-beach table folds under one line (the coast row above it already gives each call). */
.bt-fold { margin: 0 0 var(--sp-8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bt-fold > summary { display: flex; align-items: center; gap: var(--sp-12); min-height: 52px; padding: var(--sp-8) 2px; cursor: pointer; list-style: none; font: 600 1rem/1.3 var(--sans); color: var(--ink); }
.bt-fold > summary::-webkit-details-marker { display: none; }
.bt-fold > summary::after { content: '+'; margin-left: auto; font: 500 1.3rem/1 var(--sans); color: var(--ink-3); }
.bt-fold[open] > summary::after { content: '\2212'; }
.bt-fold > summary:hover { color: var(--sea); }
.bt-fold[open] { padding-bottom: var(--sp-8); }
.bt-fold .bt tbody tr:last-child th, .bt-fold .bt tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) { .bt-fold .bt tbody tr:last-child { border-bottom: 0; } }
/* every beach the same call: one sentence and its reason, no tiles */
.bt-coast.is-same .bv-h { margin-bottom: var(--sp-8); }
.bt-coast .bs-adv, .bv-why { margin: 0 0 var(--sp-4); font-size: 1rem; font-weight: 500; color: var(--ink-2); max-width: 60ch; }
.bt-coast.is-same { margin-bottom: var(--sp-24); }
/* while the Right-now card is up it already carries today's headline (beaches.js sets .has-now) */
.beach-today.has-now .bday-0 .bv-h, .beach-today.has-now .bday-0 .bt-coast.is-same .eyebrow { display: none; }

/* the photo cards lead the page on a day the water is out everywhere */
.beach-guide.is-lead { padding-bottom: 0; }
.beach-guide.is-lead h2 { margin-top: var(--sp-48); }
.beach-guide.is-lead .fine-print { margin-bottom: 0; }
/* phones: the eleven cards sit side by side and swipe, the next one showing at the edge, instead of eleven screens stacked */
@media (max-width: 720px) {
  .beach-cards { position: relative; display: flex; align-items: stretch; gap: var(--sp-12); margin: 0 -24px var(--sp-16); padding: 2px var(--sp-24) var(--sp-8); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .beach-cards::-webkit-scrollbar { display: none; }
  .beach-card { flex: 0 0 82%; scroll-snap-align: start; }
  .beach-cards .beach-card.rv { opacity: 1; transform: none; transition: none; } /* a card swiped in from the side is already there */
}

.bn-hero { padding-bottom: var(--sp-20); }

/* ---------- 2026-11-17 layout pass (Zach: "make it look incredible") ----------
   Header = title + photo (the site's split masthead). Right now = one slim bar across the page under it.
   Day tabs fill the row. Best beach + tide sit beside the map so both columns end together.
   Good to know = questions left, air quality and the official pages right, one notes line at the foot. */
.bn-bar { margin-bottom: var(--sp-8); }
.bn-now { max-width: none; margin: 0; padding: var(--sp-16) var(--sp-20); }
.bn-g { display: grid; gap: var(--sp-16); }
.bn-swim { margin: 0; }
.bn-best.bv-c.is-plain { margin: 0; }
.bn-now .bt-nws { margin: var(--sp-16) 0 0; }
@media (min-width: 760px) {
  .bn-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .bn-live { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .bn-now { padding: var(--sp-16) var(--sp-16) var(--sp-16) var(--sp-20); }
  .bn-g { grid-template-columns: minmax(0, 2fr) minmax(0, 1.15fr) minmax(0, 1.1fr); gap: var(--sp-24); }
  .bn-live { grid-column: auto; }
  .bn-swim { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: var(--sp-24); border-left: 1px solid var(--line); }
  .bn-counts { flex-wrap: nowrap; gap: var(--sp-4); }
  .bn-counts li { white-space: nowrap; padding-right: var(--sp-8); }
  .bn-best.bv-c.is-plain { font-size: 1.12rem; }
  .bn-best.bv-c.is-plain { align-self: stretch; }
}

/* the day tabs: one row across, each naming the day's best beach; position:relative traps .sr-only inside the horizontal scroller */
.bw { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-8); }
.bw-t { padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-16); min-width: 0; }
.bw-b { flex: 1; min-width: 0; text-align: right; font: 500 .82rem/1.2 var(--sans); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-t[aria-selected="true"] .bw-b { color: rgba(255, 250, 242, .78); }
.bw-t.is-rain .bw-b { color: var(--tile-deep); }
.bw-t.is-rain[aria-selected="true"] .bw-b { color: #f6c9bb; }
@media (max-width: 720px) { .bw-b { display: none; } }
@media (max-width: 560px) { .bw-t { padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-12); } }

/* the answer: best beach and tide on the left, the map stretched to match on the right */
.bt-answer .bt-a-l { display: flex; flex-direction: column; gap: var(--sp-16); padding: 0; background: none; border: 0; border-radius: 0; }
.bt-answer .bt-a-l > .bt-best { margin: 0; padding: var(--sp-20) var(--sp-24); border: 0; box-shadow: var(--shadow-1); border-radius: var(--radius); background: #fffaf2; }
.bt-answer .bt-a-l > .bt-nws { margin: 0; }
.bt-answer .bt-a-l > .btide { flex: 1; margin: 0; }
.bt-answer { margin-bottom: var(--sp-24); }
@media (min-width: 820px) {
  .bt-answer { align-items: stretch; }
  .bt-a-map { position: static; }
  .bt-a-map .bmap-wrap { height: 100%; }
  .bt-a-map .bmap { flex: 1; height: auto; min-height: 380px; }
}

/* Good to know */
.bk-g { display: grid; gap: var(--sp-32); }
.bk-faq .bfaq:last-of-type { margin-bottom: 0; }
.bk-side { display: grid; gap: var(--sp-16); align-content: start; }
/* the questions and the two cards come out about the same height, so they share one row on wide screens */
@media (min-width: 700px) { .bk-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
@media (min-width: 1100px) { .bk-g { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr); gap: var(--sp-32); align-items: start; } }
.bk-card { padding: var(--sp-20); border-radius: var(--radius); background: #fffaf2; border: 0; box-shadow: var(--shadow-1); }
.bk-k { margin: 0 0 var(--sp-12); font: 600 .68rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bk-air { display: flex; flex-direction: column; align-items: flex-start; }
.bk-air .bk-aq { align-self: stretch; }
.bk-aq[hidden] { display: none; }
.bk-aq-h { margin: 0 0 var(--sp-12); font: 400 1.3rem/1.2 var(--serif); color: var(--ink); }
.bk-aq ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-8); }
.bk-aq li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--sp-12); font: 600 .9rem/1.2 var(--sans); color: var(--ink); }
.bk-aq li[hidden] { display: none; }
.bk-aq li small { font: 500 .82rem var(--sans); color: var(--ink-3); }
.aq-n { display: inline-grid; place-items: center; min-width: 2.5em; height: 2em; padding: 0 .4em; border-radius: var(--radius-sm); background: var(--c); color: #fff; font: 700 .9rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.bk-aq-s { margin: var(--sp-12) 0 0; font-size: .82rem; color: var(--ink-3); }
.bk-aq-none { margin: 0; font-size: .9rem; color: var(--ink-2); }
.bk-aq:not([hidden]) + .bk-aq-none { display: none; }
.bk-go { display: inline-flex; align-items: center; gap: var(--sp-8); margin-top: var(--sp-12); font: 600 .9rem var(--sans); color: var(--sea); text-decoration: none; }
.bk-go span { transition: transform .2s var(--ease); }
.bk-go:hover span { transform: translateX(3px); }
.bk-links { display: grid; padding-bottom: var(--sp-8); }
.bk-links .bk-k { margin-bottom: var(--sp-4); }
.bk-links a { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-12); padding: var(--sp-12) 0; border-top: 1px solid var(--line); font: 500 .9rem/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.bk-links .bk-k + a { border-top: 0; }
.bk-links a::after { content: '\2197'; color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.bk-links a[href^="/"]::after { content: '\2192'; }
.bk-links a:hover { color: var(--sea); }
.bk-links a:hover::after { color: var(--sea); transform: translateX(2px); }
/* one notes line and the report link, side by side */
.bk-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-8) var(--sp-24); margin-top: var(--sp-32); padding-top: var(--sp-12); border-top: 1px solid var(--line); font-size: .75rem; color: var(--ink-3); }
.bk-foot > details.fine-print { margin: 0; flex: 1 1 320px; }
.bk-foot > p.notes-fix { margin: 0; }
@media (prefers-reduced-motion: reduce) { .bk-go:hover span, .bk-links a:hover::after { transform: none; } }

/* ---------- Which beach should I go to? (#choose; 2026-11-23 merged into the photo cards) ----------
   The filter buttons (only with JavaScript) sit right above the cards and narrow them; a pressed feature turns bold on
   each card that has it. Buttons match the access-point filters on /water/. */
.bch { margin: 0 0 var(--sp-16); }
.beach-guide .bch h2 { margin: 0 0 var(--sp-8); }
.bch-lede { margin: 0 0 var(--sp-20); max-width: 68ch; color: var(--ink-2); }
.bch-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-8) var(--sp-16); margin: 0 0 var(--sp-20); }
.bch-bar { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.bch-bar[hidden] { display: none; }
.bch-tog { font: 600 .9rem/1 var(--sans); min-height: 44px; padding: .7em 1.05em; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: #fffaf2; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.bch-tog small { font-weight: 500; color: var(--ink-3); margin-left: var(--sp-4); }
.bch-tog:hover { border-color: var(--ink-3); color: var(--ink); }
.bch-tog:focus-visible { outline: 2.5px solid var(--tile); outline-offset: 2px; }
.bch-tog[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.bch-tog[aria-pressed="true"] small { color: rgba(255, 255, 255, .78); }
.bch-count { margin: 0; font: 500 .82rem var(--sans); color: var(--ink-3); }
.bch-l { font-size: .9rem; color: var(--ink-2); }
.bch-l a { color: inherit; }
.bch-l .is-on { font-weight: 600; color: var(--ink); }
.bch-d { font-size: .9rem; color: var(--ink-2); }
.bch-d b { font-weight: 600; color: var(--ink); }
.bch-d a { color: var(--ink-2); white-space: nowrap; }
.bch-d.is-on { color: var(--ink); }
.bch-empty { margin: var(--sp-12) 0 0; color: var(--ink-2); }
/* phones: the buttons sit in one row that swipes, like the cards below, instead of four rows of buttons */
@media (max-width: 720px) {
  .bch-tools { display: block; }
  .bch-bar { position: relative; flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px var(--sp-8); padding: 0 var(--sp-24) 2px; scrollbar-width: none; }
  .bch-bar::-webkit-scrollbar { display: none; }
  .bch-tog { flex: none; }
}

/* each beach card: today's score badge lifts into the photo's lower edge, the call beside it */
.beach-card { position: relative; display: flex; flex-direction: column; } /* positioned: a link's hidden "(opens in a new tab)" stays inside the phone card strip */
.beach-card[hidden] { display: none; }
.beach-card > .pcard { margin-bottom: var(--sp-12); }
.bc-now { display: flex; align-items: flex-start; gap: var(--sp-12); margin: 0 0 var(--sp-12); }
.bc-now .bc-s { --sz: 54px; margin-top: -34px; box-shadow: 0 0 0 3px #fffaf2, var(--shadow-1); }
.bc-now p { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-8); margin: 0; min-width: 0; }
.bc-k { font: 600 .68rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bc-call { display: inline-flex; align-items: center; gap: var(--sp-4); padding: 2px var(--sp-8) 2px var(--sp-4); border-radius: var(--r-tag); background: var(--c-bg); font: 600 .75rem/1.3 var(--sans); color: var(--ct, var(--c)); white-space: nowrap; }
.bc-call i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.bc-now.is-check { --c: #8a5d10; }
.bc-now.is-go { --ct: #36703d; }
.bc-now.is-skip { --ct: var(--tile-deep); }
.bc-now small { flex-basis: 100%; font: 500 .82rem/1.3 var(--sans); color: var(--ink-2); }
.bc-now small a { color: var(--sea); }
.bc-now.is-none small { color: var(--ink-3); }
.bc-now.is-none { --c: var(--ink-2); --c-bg: rgba(24, 34, 46, .06); } /* Rincon: a plain surf tag in place of a score, same two lines as its row */
.bc-now[hidden] { display: none; }
.beach-card .bc-good { font-size: 1rem; line-height: 1.5; color: var(--ink); }
.beach-card .bc-waves, .beach-card .bc-sun { font-size: .9rem; }
.beach-card .travel-help { margin-top: auto; }

/* the week (owner 2026-11-22): one slim line naming the best beach day and the weekend, above the 8 day tabs */
.bwk { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8) var(--sp-24); margin: 0 0 var(--sp-12); padding: var(--sp-8) var(--sp-12); border: 1.5px solid var(--line); border-radius: var(--radius); background: #fffaf2; }
.bwk a { color: inherit; text-decoration: none; }
.bwk-best { display: flex; align-items: center; gap: var(--sp-12); font: 600 1rem/1.25 var(--sans); }
.bwk-best:hover .bwk-n, .bwk-d:hover b { text-decoration: underline; }
.bwk-t { display: grid; }
.bwk-t small { font: 500 .75rem/1.3 var(--sans); color: var(--ink-3); }
.bwk-s { --sz: 36px; margin: 0; }
.bwk-we { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-16); padding-left: var(--sp-24); border-left: 1px dashed var(--line); }
.bwk-k { margin: 0; font: 600 .75rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.bwk-d { display: flex; align-items: center; gap: var(--sp-8); font: 500 .9rem/1.2 var(--sans); color: var(--ink-2); }
.bwk-d b { font-weight: 600; color: var(--ink); }
.bwk-d span { display: grid; }
.bwk-d small { font-size: .75rem; color: var(--ink-3); }
.bwk-ds { --sz: 28px; margin: 0; }
@media (max-width: 720px) { .bwk-we { padding-left: 0; border-left: 0; } }
/* eight tabs: the best beach's name steps aside for the day, the date and how sure the forecast is */
.bw.is-week { grid-auto-columns: minmax(84px, 1fr); overflow-x: auto; scrollbar-width: none; }
.bw.is-week::-webkit-scrollbar { display: none; }
.bw.is-week .bw-b { display: none; }
.bw.is-week .bw-t { justify-content: space-between; gap: var(--sp-4); padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-12); }
.bw-c { font: 500 .68rem/1.2 var(--sans); color: var(--ink-3); white-space: nowrap; }
.bw-c.is-early { font-style: italic; }
.bw-t[aria-selected="true"] .bw-c { color: rgba(255, 250, 242, .65); }
.bt-conf { margin: 0 0 var(--sp-8); font-size: .9rem; color: var(--ink-2); }
.bt-conf.is-early { color: #8a5300; }
.bwk [hidden] { display: none; }
@media (max-width: 720px) {
  .bwk { gap: var(--sp-8); padding: var(--sp-8); }
  .bwk-s { --sz: 32px; }
  .bwk-best { font-size: .9rem; }
  .bwk-we { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: var(--sp-4) var(--sp-8); }
  .bwk-k { grid-column: 1 / -1; }
  .bwk-d { font-size: .82rem; }
  /* eight day tabs on a phone: day and date over the score, about five across before the row swipes */
  /* the row runs to the screen edge, so a tab cut off reads as more to swipe, not clipped words */
  .bw.is-week { grid-auto-columns: minmax(64px, 1fr); margin-inline: calc(-1 * var(--sp-24)); padding-inline: var(--sp-24); scroll-padding-inline: var(--sp-24); }
  .bw.is-week .bw-t { flex-direction: column; align-items: center; gap: var(--sp-4); padding: var(--sp-8) var(--sp-4); text-align: center; }
  .bw.is-week .bw-w { text-align: center; }
  .bw.is-week .bw-s { --sz: 30px; }
}
