/* BiteCast concept E, "The closer look" (round 6). One ground (#F5F5F7), one black chapter, one card radius (28)
   and one media radius (16). System font only; Barlow Condensed Bold only on Fish Score numerals inside product UI.
   Product UI (the forecast rail, Billy's thread, the catch card, the medal ladder, the rules, the tide chart, the
   saved pin) is rebuilt from the app's own source (src/theme.ts themesNew, coach, forecast, log, regulations, today). */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-700.woff2") format("woff2"); }

:root {
  --ground: #F4F5F7;
  --tile: #FFFFFF;
  --ink: #1B1D1F;
  --ink-2: rgba(22, 23, 25, .64);
  --ink-3: rgba(22, 23, 25, .62);
  --hair: rgba(22, 23, 25, .1);
  --ctl: #E6E9EC;            /* controls on the ground: dot track, paddles (Apple's light controls) */
  --ctl-hover: #DADDE1;
  --night: #161719;
  --night-2: #202224;
  --on-night: #FFFFFF;
  --on-night-2: rgba(255, 255, 255, .66);
  --on-night-3: rgba(255, 255, 255, .46);
  --tint: #E9EBEE;           /* the one tinted stage: cool water */
  /* the app, dark (themesNew.dark) */
  --app: #0F1924;
  --app-surface: #16212E;
  --app-surface2: #1C2938;
  --app-hair: #263548;
  --app-text: #E9EEF5;
  --app-text-2: #ACB9C7;
  --app-text-3: #8C9AA8;
  /* the app, light (themesNew.light) */
  --al-surface: #FFFFFF;
  --al-surface2: #EDEDEA;
  --al-hair: #DADAD4;
  --al-text: #191B1D;
  --al-text-2: #4A4D53;
  --al-text-3: #61656A;
  --al-accent: #4F7300;
  --al-water: #1D6FD8;
  --lime: #C8F046;
  --lime-ink: #1A2400;
  --gold: #F5B400;
  --r-card: 28px;
  --r-media: 16px;
  --gutter: 20px;
  --wrap: 1280px;
  --sec: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --score: "Barlow Condensed", "Arial Narrow", sans-serif;
}
@media (min-width: 700px) { :root { --gutter: 32px; --sec: 128px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --sec: 160px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sys);
  font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; hyphens: none; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid #161719; outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding-block: var(--sec) 0; }

h2 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -.022em; }
h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.016em; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.38; color: var(--ink-2); letter-spacing: -.003em; }

/* map credits: small grey text beside the picture, never on it (Mapbox: "a textual description near the image") */
.credit-line { font-size: 12px; line-height: 1.4; color: var(--ink-3); letter-spacing: 0; }
.credit-line a { text-decoration: none; transition: color .16s ease; }
.credit-line a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; font-weight: 500; transition: background-color .16s ease, color .16s ease, transform .16s ease; -webkit-tap-highlight-color: transparent; }
.btn-ink { background: #161719; color: #FFFFFF; }
.btn-ink:hover { background: #2C2E30; }
.btn-ink:active { background: #050607; transform: scale(.97); }
.badge { display: inline-block; border-radius: 12px; transition: transform .16s ease, opacity .16s ease; -webkit-tap-highlight-color: transparent; }
.badge img { width: 160px; height: auto; }
.badge:hover { opacity: .86; }
.badge:active { transform: scale(.97); opacity: .8; }

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 16px; height: 16px; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.9l-6.4 3.5L7 14.3l-5.3-5 7.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.9l-6.4 3.5L7 14.3l-5.3-5 7.2-.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.stars-lg i { width: 26px; height: 26px; }

/* ---------- nav (Apple's global nav: one bar, quiet links, the button set apart) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: box-shadow .2s ease; }
.nav.stuck { box-shadow: 0 1px 0 var(--hair); }
.nav-in { position: relative; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; height: 52px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.brand img { border-radius: 7px; }
.nav-links { display: none; }
.btn-nav { margin-left: auto; height: 32px; padding: 0 14px; font-size: 14px; letter-spacing: -.01em; }
.menu-btn { width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.menu-btn span { position: absolute; left: 12px; width: 16px; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform .24s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 22px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu { position: fixed; left: 0; right: 0; top: 52px; bottom: 0; background: var(--ground); overflow-y: auto; padding: 20px var(--gutter) 40px; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu a { font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: -.015em; text-decoration: none; padding: 9px 0; color: var(--ink); }
.menu a:active { color: var(--ink-2); }
.js .menu.open { animation: menuIn .24s var(--ease); }
.js .menu.open a { animation: menuItem .3s var(--ease) both; }
.menu.open a:nth-child(2) { animation-delay: .02s; } .menu.open a:nth-child(3) { animation-delay: .04s; }
.menu.open a:nth-child(4) { animation-delay: .06s; } .menu.open a:nth-child(5) { animation-delay: .08s; }
@keyframes menuIn { from { opacity: 0; } }
@keyframes menuItem { from { opacity: 0; transform: translateY(-6px); } }
/* round 12: the open menu holds the page from the root. On body, overflow made body a scroll box, the sticky nav stuck
   to that instead and slid off-screen when the menu opened mid-page, taking its close button with it */
html:has(> body.menu-open) { overflow: hidden; }
@media (min-width: 900px) {
  .nav-in { height: 56px; gap: 24px; }
  .nav-links { display: flex; position: absolute; left: 50%; transform: translateX(-50%); gap: 32px; }
  .nav-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .16s ease; padding: 6px 0; letter-spacing: -.01em; }
  .nav-links a:hover { color: var(--ink); }
  .btn-nav { height: 34px; padding: 0 16px; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- the phone (Apple's iPhone 17 Pro Max frame, screen underneath) ---------- */
.phone { position: relative; aspect-ratio: 1470 / 3000; }
.phone-screen { position: absolute; left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%; border-radius: 14.4% / 6.62%; overflow: hidden; background: var(--app); isolation: isolate; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }

/* ---------- 1. hero ---------- */
.hero { padding-top: 36px; text-align: center; overflow: clip; }
.hero-copy { width: min(1000px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.hero h1 { font-size: clamp(48px, 14.6vw, 96px); line-height: 1; letter-spacing: -.026em; }
.hero .lead { margin: 18px auto 0; max-width: 46ch; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.rating .stars { flex: none; }
.rating-txt { display: flex; flex-direction: column; line-height: 1.25; }
.rating-txt b { font-size: 15px; font-weight: 600; }
.rating-txt span { font-size: 13px; color: var(--ink-2); }
.hero .rating { flex-direction: column; align-items: flex-start; gap: 4px; }
/* QR in the flow (laptop only): Fishbrain's badge-and-QR pairing, set off by a hairline like Apple's split controls */
.qr { display: none; }
@media (min-width: 1100px) {
  .qr { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 13px; line-height: 1.35; color: var(--ink-2); padding-left: 24px; border-left: 1px solid var(--hair); }
  .qr img { width: 64px; height: 64px; border-radius: 8px; background: #fff; padding: 4px; }
}
.hero-stage { position: relative; display: flex; justify-content: center; margin-top: 36px; padding-bottom: 32px; }
.hero-map { position: absolute; left: var(--gutter); right: var(--gutter); top: 18%; bottom: 0; border-radius: var(--r-card); overflow: hidden; background: #1E2B22; }
.hero-map picture, .hero-map-base { display: block; width: 100%; height: 100%; }
.hero-map-base { object-fit: cover; }
.hpins { position: absolute; inset: 0; }
.hpin { position: absolute; left: 0; top: 0; display: none; max-width: none; }
.hpin.on { display: block; }
.mb-logo { position: absolute; left: 14px; bottom: 12px; width: 76px; height: auto; pointer-events: none; }
.phone-hero { position: relative; z-index: 1; height: min(560px, 66svh); }
.hero-credit { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 10px auto 0; text-align: right; }
@media (min-width: 700px) {
  .hero { padding-top: 60px; }
  .hero .lead { margin-top: 20px; }
  .cta-row { margin-top: 32px; gap: 24px; }
  .hero-stage { margin-top: 48px; padding-bottom: 56px; }
  .hero-map { left: max(var(--gutter), (100% - var(--wrap)) / 2); right: max(var(--gutter), (100% - var(--wrap)) / 2); top: 9%; }
  .phone-hero { height: min(800px, 86vh); }
  .mb-logo { left: 18px; bottom: 16px; width: 85px; }
}
/* the hero's score ring, redrawn live over the capture (same centre, radius, stroke and colours as the app) */
.dial { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dial circle { fill: none; stroke-width: 20; }
.dial-track { stroke: #31435C; }
.dial-arc { stroke: #50F8B6; stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--f); }
.js .phone-hero:not(.in) .dial-arc { stroke-dashoffset: var(--c); }
.js .phone-hero.in .dial-arc { transition: stroke-dashoffset .7s cubic-bezier(.25, .7, .2, 1) .15s; }
.js .phone-hero { opacity: 0; transform: translateY(20px); }
.js .phone-hero.in { opacity: 1; transform: none; transition: opacity .3s ease, transform .3s var(--ease); }

/* ---------- 2. highlights (Apple "Get the highlights": big tiles, one pill of dots, two paddles) ---------- */
.hl-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; }
.hl-scroller { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  --side: max(var(--gutter), (100vw - var(--wrap)) / 2); scroll-padding-inline: var(--side); }
.hl-scroller::-webkit-scrollbar { display: none; }
.hl-scroller:focus-visible { outline-offset: -3px; }
.hl-track { display: flex; gap: 12px; padding-inline: var(--side); width: max-content; }
.tile { position: relative; flex: none; width: calc(100vw - 2 * var(--gutter) - 24px); height: min(600px, 74svh); border-radius: var(--r-card); overflow: hidden; scroll-snap-align: start; background: var(--night-2); isolation: isolate; }
@media (min-width: 700px) { .hl-track { gap: 20px; } .tile { width: min(1060px, 80vw); height: 620px; } }
.tile-copy { position: relative; z-index: 2; padding: 28px 26px 0; max-width: 470px; }
.tile-copy h3 { color: var(--ink); }
.tile-copy p { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--ink-2); max-width: 36ch; }
.tile-copy.on-dark h3 { color: #fff; }
.tile-copy.on-dark p { color: rgba(255, 255, 255, .72); }
@media (min-width: 700px) { .tile-copy { padding: 44px 48px 0; } .tile-copy p { font-size: 19px; } }

/* where: the map is the tile */
.t-where picture, .t-where picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-where::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 100%, rgba(4, 9, 20, .5) 0%, rgba(4, 9, 20, .2) 32%, rgba(4, 9, 20, 0) 48%); }
.t-where .tile-copy { position: absolute; left: 0; bottom: 0; padding-bottom: 28px; }
@media (min-width: 700px) { .t-where .tile-copy { padding-bottom: 46px; } }

/* when: the forecast card (round 8, Bevel-level). A reading first (label, the best time as the hero with PM at 60%,
   one line with its countdown), then today's score as one smooth line that bleeds to both card edges: the past at
   40%, now a dot on the line with a halo, the best window a square column, at most two numbers on the chart (now and
   the peak), one quiet guide at Good. Under it the 14 days, each day's best score in its band's one flat colour.
   Three inks, one meaning colour, nothing under 11 px; labels are HTML in % so the drawing scales and never stretches. */
.t-when { background: #202224; }
.fcard { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; background: var(--app-surface); border-radius: 22px;
  box-shadow: 0 0 0 .5px rgba(233, 238, 245, .07); padding: 18px 0 14px; color: var(--app-text); overflow: hidden; --pad: 18px; }
.fc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 0 var(--pad); }
.fc-label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--app-text-2); }
.fc-hero { font-size: 30px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.fc-hero .u { font-size: .6em; font-weight: 600; letter-spacing: .01em; margin-left: .12em; }
.fc-sub { font-size: 13px; line-height: 18px; color: var(--app-text-2); margin-top: 3px; }
.fc-place { display: none; }
.fc-chart { position: relative; margin-top: 10px; aspect-ratio: 964 / 148; }
.fc-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fc-line { fill: none; stroke: url(#fcs); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fc-line.past { opacity: .4; }
.fc-win { fill: #50F8B6; opacity: .08; }
.fc-gl { stroke: rgba(233, 238, 245, .14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fc-peak { fill: var(--app-surface); stroke: #50F8B6; stroke-width: 2; vector-effect: non-scaling-stroke; }
.fc-halo { fill: #50F8B6; opacity: .22; }
.fc-now { fill: #50F8B6; stroke: var(--app-surface); stroke-width: 3; }
.fc-v { position: absolute; transform: translate(-50%, -100%); font-style: normal; font-family: var(--score); font-weight: 700; font-size: 17px; line-height: 1; color: var(--app-text); }
.fc-tag { position: absolute; top: 9px; transform: translateX(-50%); font-size: 11px; line-height: 13px; font-weight: 600; color: var(--app-text-2); }
.fc-g { position: absolute; left: var(--pad); font-size: 11px; line-height: 13px; font-weight: 500; color: var(--app-text-3); }
.fc-axis { position: relative; height: 15px; margin-top: 8px; }
.fc-axis > span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; line-height: 15px; font-weight: 500; color: var(--app-text-3); white-space: nowrap; }
.fc-axis .ap, .fc-tag .ap { margin-left: .18em; }
.fc-axis .now { color: var(--app-text); font-weight: 700; }
.fc-days { display: flex; gap: 2px; margin: 14px var(--pad) 0; padding-top: 12px; border-top: .5px solid rgba(233, 238, 245, .12); overflow: hidden;
  -webkit-mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.fd { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; }
.fd b { font-size: 11px; line-height: 14px; font-weight: 600; color: var(--app-text-3); white-space: nowrap; }
.fd i { font-style: normal; width: 28px; height: 28px; margin-top: 3px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--app-text); }
.fd img { height: 15px; width: auto; margin-top: 3px; }
.fd em { font-style: normal; font-family: var(--score); font-weight: 700; font-size: 16px; line-height: 18px; margin-top: 4px; color: var(--c); }
.fd.on b { color: var(--app-text); }
.fd.on i { background: var(--app-text); color: var(--app); font-weight: 700; }
@media (min-width: 700px) {
  .t-when .tile-copy, .t-when .tile-copy p { max-width: 640px; }
  .fcard { left: 48px; right: 48px; bottom: 44px; border-radius: 24px; padding: 24px 0 18px; --pad: 28px; }
  .fc-label { font-size: 14px; line-height: 19px; }
  .fc-hero { font-size: 34px; line-height: 38px; }
  .fc-sub { font-size: 14px; line-height: 19px; }
  .fc-place { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-top: 1px; }
  .fc-place b { font-size: 15px; line-height: 19px; font-weight: 600; letter-spacing: -.01em; }
  .fc-place span { font-size: 14px; line-height: 19px; color: var(--app-text-2); margin-top: 2px; }
  .fc-chart { margin-top: 6px; }
  .fc-axis > span { font-size: 12px; }
  .fc-days { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 0; margin-top: 14px; padding-top: 14px; -webkit-mask: none; mask: none; }
  .fd { width: auto; }
  .fd b { font-size: 12px; line-height: 15px; }
  .fd i { width: 30px; height: 30px; margin-top: 4px; font-size: 16px; }
  .fd img { height: 16px; margin-top: 4px; }
  .fd em { font-size: 17px; line-height: 20px; margin-top: 4px; }
}

/* what: the lure and its colors */
.t-what { background: #202224; }
.lure { position: absolute; z-index: 1; width: 86%; right: -6%; top: 36%; transform: rotate(-4deg); }
.swatches { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.swatches li { display: flex; flex-direction: column; gap: 2px; }
.swatches img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: var(--r-media); margin-bottom: 8px; }
.swatches b { font-size: 14px; font-weight: 600; color: #fff; }
.swatches span { font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .62); }
@media (min-width: 700px) {
  .lure { width: 58%; right: 0; top: 50%; transform: translateY(-50%) rotate(-4deg); }
  .swatches { left: 48px; bottom: 44px; right: auto; grid-template-columns: repeat(3, 112px); gap: 20px; }
  .swatches img { width: 112px; }
  .swatches b { font-size: 15px; }
  .swatches span { font-size: 14px; }
}

/* billy: the app's coach thread in reading order (user-bubble.tsx, billy-turn.tsx, coach-cards.tsx; light) */
.t-billy { background: var(--tint); }
.thread { position: absolute; z-index: 1; left: 20px; right: 20px; top: 170px; display: flex; flex-direction: column; gap: 14px; color: var(--al-text); }
.thread .q { align-self: flex-end; max-width: 86%; background: #D9E2D3; border-radius: 21px; padding: 10px 15px; font-size: 16px; line-height: 22px; letter-spacing: -.015em; }
.turn { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.turn .who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; line-height: 20px; letter-spacing: -.012em; }
.turn .who img { width: 24px; height: 24px; border-radius: 50%; }
.turn p { font-size: 16px; line-height: 23px; letter-spacing: -.015em; }
.turn p b { font-weight: 600; }
.cards { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.spotcard, .baitcard { background: var(--al-surface); border: .5px solid var(--al-hair); border-radius: 20px; overflow: hidden; }
.spotcard .strip { width: 100%; height: 72px; object-fit: cover; object-position: 0 100%; }
.sc-body { display: flex; align-items: center; gap: 12px; padding: 9px 14px 11px; }
.sc-body span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sc-body b { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -.012em; }
.sc-body small, .baitcard small { font-size: 13px; line-height: 17px; color: var(--al-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-score { font-style: normal; font-family: var(--score); font-weight: 700; font-size: 26px; line-height: 28px; color: #248157; }
.baitcard .row { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 10px; }
.baitcard .row { position: relative; }
.baitcard .row + .row::before { content: ""; position: absolute; top: 0; left: 74px; right: 0; border-top: .5px solid var(--al-hair); }
.baitcard .pic { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--al-surface2); display: grid; place-items: center; }
.baitcard .pic img { width: 46px; height: auto; max-height: 46px; object-fit: contain; }
.baitcard .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.baitcard b { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -.012em; }
.baitcard .chev { width: 8px; height: auto; opacity: .9; }
.t-billy .baitcard, .t-billy .turn .a2 { display: none; }
@media (min-width: 700px) {
  .thread { left: auto; right: 48px; top: 44px; bottom: 44px; width: 476px; gap: 16px; }
  .thread .q { max-width: 340px; font-size: 17px; line-height: 23px; }
  .turn { gap: 10px; }
  .turn p { font-size: 17px; line-height: 25px; }
  .turn .who img { width: 26px; height: 26px; }
  .spotcard .strip { height: 80px; }
  .cards { flex-direction: row; gap: 10px; }
  .cards > * { flex: 1 1 0; min-width: 0; }
  .t-billy .baitcard, .t-billy .turn .a2 { display: block; }
  .t-billy .tile-copy { max-width: 440px; position: absolute; top: 50%; transform: translateY(-50%); padding-top: 0; }
}
@media (min-width: 1000px) {
  .thread { width: 520px; }
  .cards { flex-direction: column; }
  .cards > * { flex: none; }
}

/* catch: the logged catch (dark) beside the species' own medal ladder (features/log/medal.tsx, MedalSheet) */
.t-catch { background: #202224; }
.ladder { display: none; }
.catchcard { position: absolute; z-index: 1; left: 20px; right: 20px; top: 216px; background: var(--app-surface); border-radius: var(--r-media); overflow: hidden; }
.cc-photo { width: 100%; aspect-ratio: 1320 / 560; object-fit: cover; }
.cc-body { position: relative; padding: 16px 18px 22px; display: flex; flex-direction: column; }
.cc-date { font-size: 14px; line-height: 19px; color: var(--app-text-2); }
.cc-name { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.012em; color: var(--app-text); margin-top: 2px; }
.cc-pb { font-size: 14px; font-weight: 600; color: var(--lime); margin-top: 10px; }
.cc-size { display: flex; gap: 22px; margin-top: 4px; font-size: 20px; font-weight: 600; color: var(--app-text-2); }
.cc-size b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--app-text); }
.cc-medal { position: absolute; right: 14px; top: 14px; width: 52px; }
.cc-h { margin-top: 20px; font-size: 17px; font-weight: 700; color: var(--app-text); }
.cc-bait { margin-top: 10px; display: flex; align-items: center; gap: 14px; background: var(--app-surface2); border-radius: 16px; padding: 10px 14px; }
.cc-bait img { width: 76px; }
.cc-bait > span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; color: var(--app-text); line-height: 1.3; }
.cc-bait small { font-size: 14px; font-weight: 400; color: var(--app-text-2); }
@media (min-width: 700px) {
  .ladder { position: absolute; z-index: 1; left: 36px; bottom: 37px; width: 404px; display: flex; flex-direction: column; gap: 2px; }
  .ladder-h { font-size: 13px; font-weight: 600; color: var(--app-text-2); margin: 0 12px 6px; }
  .rung { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 7px 12px; border-radius: 18px; }
  .rung.on { background: rgba(233, 238, 245, .07); }
  .rung img { width: 40px; height: 40px; flex: none; }
  .rung > span { flex: 1; display: flex; flex-direction: column; }
  .rung b { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--app-text); }
  .rung small { font-size: 13px; line-height: 17px; color: var(--app-text-2); }
  .rung i { font-style: normal; font-size: 17px; color: var(--app-text-2); }
  .catchcard { left: auto; right: 48px; top: auto; bottom: 44px; width: 460px; }
  .cc-body { padding: 18px 22px 22px; }
  .cc-medal { width: 84px; right: 22px; top: 62px; }
}

/* gallery controls: Apple's light dotnav pill (56 tall, a capsule for the current tile) and 36 pt paddles */
.hl-ctrl { display: flex; flex-direction: column; align-items: center; position: relative; margin-top: 24px; gap: 14px; }
.hl-credit { order: 2; }
/* round 12: the current tile's mark is the current slot widening (Apple's dotnav), so the group stays centred in the
   capsule at every position; it used to be a 24 px bar sliding over 8 px dots, which overhung the first and last dots
   and left 18 px on one side and 26 px on the other. --a (0 to 1, from the scroll position) widens a slot from 24 to
   40 px and its dot from 8 to 24 px, and darkens it; 22 px of capsule shows past the marks on both sides */
.dots { position: relative; display: flex; background: var(--ctl); border-radius: 999px; padding: 0 14px; height: 56px; align-items: center; }
.dots button { --a: 0; width: calc(24px + 16px * var(--a)); height: 56px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; flex: none; }
.dots button::after, .dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(8px + 16px * var(--a)); height: 8px; margin: -4px 0 0 calc(-4px - 8px * var(--a)); border-radius: 4px; }
.dots button::after { background: rgba(22, 23, 25, .3); transition: background-color .16s ease; }
.dots button::before { z-index: 1; background: rgba(22, 23, 25, .82); opacity: var(--a); }
.dots button:hover::after { background: rgba(22, 23, 25, .55); }
.dots button[aria-current="true"] { --a: 1; } /* before the script runs (the script then sets each slot) */
.dot-on { display: none; }
.paddles { display: none; position: absolute; right: 0; top: 0; gap: 14px; }
@media (min-width: 900px) {
  .hl-ctrl { flex-direction: row; justify-content: center; min-height: 56px; }
  .hl-credit { order: 0; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
  .paddles { display: flex; top: 10px; }
}
.paddle { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ctl); display: grid; place-items: center; cursor: pointer; transition: background-color .16s ease, transform .16s ease, opacity .16s ease; }
.paddle svg { width: 18px; height: 18px; fill: none; stroke: rgba(22, 23, 25, .72); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.paddle:hover { background: var(--ctl-hover); }
.paddle:active { transform: scale(.94); }
.paddle:disabled { opacity: .42; cursor: default; transform: none; background: var(--ctl); }

/* ---------- 3. a closer look (Apple's explore list: 56 pt pills, a bold lead-in when open) ---------- */
.stage { position: relative; background: var(--tint); border-radius: var(--r-card); padding: 28px 16px 24px; display: flex; flex-direction: column; align-items: center; }
.cl-side { display: contents; }
.cl-side h2 { text-align: center; }
.cl-phone { order: 2; margin-top: 20px; }
.phone-cl { height: min(466px, 55.5svh); }
.phone-cl .phone-screen img { opacity: .002; z-index: 1; transition: opacity 0s linear .22s; will-change: opacity; } /* .002, not 0: every screen stays painted and uploaded, so the first switch to it never waits on a raster (round 8, the screens are 960 px now) */
.cl-pills { order: 3; }
.cl-caps { order: 4; }

.closer:not(:has(:checked)) .phone-cl img[data-k="where"],
.closer:has(#cl-where:checked) .phone-cl img[data-k="where"],
.closer:has(#cl-when:checked) .phone-cl img[data-k="when"],
.closer:has(#cl-what:checked) .phone-cl img[data-k="what"],
.closer:has(#cl-billy:checked) .phone-cl img[data-k="billy"],
.closer:has(#cl-catch:checked) .phone-cl img[data-k="catch"] { opacity: 1; z-index: 2; transition: opacity .22s cubic-bezier(.25, .1, .25, 1); }

.cl-pills input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cl-pills label, .seg label { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* phone: a segmented control under the phone, caption under it */
.cl-pills { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; max-width: 420px; margin-top: 18px; padding: 3px; background: rgba(22, 23, 25, .07); border-radius: 999px; --n: 5; }
.cl-pills label { position: relative; z-index: 1; height: 38px; display: grid; place-items: center; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .16s ease; }
.cl-pills label:hover { color: var(--ink); }
.cl-pills .lg, .cl-pills .px, .cl-pills i { display: none; }
.cl-pills input:checked + label { color: var(--ink); font-weight: 600; }
.cl-pills input:focus-visible + label { outline: 2px solid #161719; outline-offset: -2px; border-radius: 999px; }
.seg-on { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n)); border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(22, 23, 25, .07); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .22s var(--ease); }
.closer:has(#cl-when:checked) .cl-pills { --i: 1; }
.closer:has(#cl-what:checked) .cl-pills { --i: 2; }
.closer:has(#cl-billy:checked) .cl-pills { --i: 3; }
.closer:has(#cl-catch:checked) .cl-pills { --i: 4; }
.cl-caps { width: 100%; max-width: 420px; margin-top: 12px; min-height: 4.3em; display: grid; text-align: center; font-size: 16px; line-height: 1.42; color: var(--ink-2); }
.cl-caps b { color: var(--ink); font-weight: 600; }
.cl-caps p { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.closer:not(:has(:checked)) .cl-caps p[data-k="where"],
.closer:has(#cl-where:checked) .cl-caps p[data-k="where"],
.closer:has(#cl-when:checked) .cl-caps p[data-k="when"],
.closer:has(#cl-what:checked) .cl-caps p[data-k="what"],
.closer:has(#cl-billy:checked) .cl-caps p[data-k="billy"],
.closer:has(#cl-catch:checked) .cl-caps p[data-k="catch"] { opacity: 1; visibility: visible; }

/* laptop: Apple's pill list on the left, the phone on the right */
@media (min-width: 1000px) {
  /* round 8: Apple's viewer framing. The stage is one screen tall; the phone is big enough to read (a 440 px screen,
     the app's 13 pt text at about 14 px) and runs off the stage's bottom edge, the way Apple frames a device when it
     takes a closer look at its face. */
  .stage { display: grid; grid-template-columns: minmax(380px, 460px) 1fr; grid-template-rows: minmax(0, 1fr); align-items: start; padding: 0 0 0 64px;
    height: clamp(680px, calc(100vh - 120px), 780px); overflow: hidden; }
  .cl-side { display: flex; flex-direction: column; align-self: center; padding-bottom: 8px; }
  .cl-side h2 { text-align: left; }
  .cl-phone { order: 0; margin: 0; padding-top: 60px; display: flex; justify-content: center; align-self: start; min-height: 0; }
  .phone-cl { height: 1000px; flex: none; }
  .cl-caps { display: none; }
  .cl-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; padding: 0; background: none; max-width: 420px; border-radius: 0; }
  .cl-pills .seg-on { display: none; }
  .cl-pills label { display: block; width: fit-content; max-width: 420px; height: auto; place-items: initial; background: #fff; color: var(--ink); border-radius: 28px; padding: 0 30px 0 14px; font-size: 17px; font-weight: 600; letter-spacing: -.022em; transition: background-color .16s ease, border-radius .26s var(--ease), padding .26s var(--ease); }
  .cl-pills label:hover { background: #FBFBFC; }
  .cl-pills .sm { display: none; }
  .cl-pills .lg { display: inline; }
  .cl-pills .pt { display: flex; align-items: center; gap: 12px; height: 56px; }
  .cl-pills i { display: block; position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; transition: transform .24s var(--ease), opacity .2s ease, width .24s var(--ease), margin .24s var(--ease); }
  .cl-pills i::before, .cl-pills i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--ink); border-radius: 1px; }
  .cl-pills i::after { transform: rotate(90deg); }
  .cl-pills .px { display: grid; grid-template-rows: 0fr; width: 0; transition: grid-template-rows .26s var(--ease); }
  .cl-pills .px > span { overflow: hidden; font-size: 17px; font-weight: 400; line-height: 25px; letter-spacing: -.022em; color: var(--ink); }
  .cl-pills .px b { font-weight: 600; }
  .cl-pills input:checked + label { width: 420px; padding: 26px 28px 28px; border-radius: var(--r-card); cursor: default; }
  .cl-pills input:checked + label .pt { display: none; }
  .cl-pills input:checked + label .px { width: auto; }
  .cl-pills input:checked + label i { width: 0; border-width: 0; opacity: 0; margin-right: -12px; }
  .cl-pills input:checked + label .px { grid-template-rows: 1fr; }
  .cl-pills input:focus-visible + label { outline-offset: 3px; border-radius: 28px; }
  /* JS morph (main.js 3b): the label's box is animated from its old size to its new one; its contents never
     reflow mid-animation (the open text is set at its final width and revealed by the growing box) */
  .cl-pills.morph label, .cl-pills.morph .px, .cl-pills.morph i { transition: background-color .16s ease; }
  .cl-pills.morph label { overflow: hidden; }
  .cl-pills.morph .px > span { width: 364px; }
}

/* ---------- 4. the black chapter, compact (round 8) ----------
   Heading left, the layer switch right (Apple's section header with its control), then one map at 1280 x 540 with
   its reading first: a card in the map's bottom-left corner (label, the reading as the hero, one line, and for rain
   the hours, for sea temperature the two temperatures on the scale), and the place itself marked on the map. */
.night { background: var(--night); color: var(--on-night); margin-top: var(--sec); padding-block: calc(var(--sec) * .75); }
.night-head { display: flex; flex-direction: column; gap: 22px; }
.night-head .lead { color: var(--on-night-2); margin-top: 12px; }
.bc-media { position: relative; width: 100%; margin-top: 28px; aspect-ratio: 1074 / 1500; border-radius: var(--r-card); overflow: hidden; background: #0F1924; }
.bc-media figure { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.bc-media picture, .bc-media img { width: 100%; height: 100%; object-fit: cover; }
.night:not(:has(:checked)) figure[data-k="depth"],
.night:has(#bc-depth:checked) figure[data-k="depth"],
.night:has(#bc-radar:checked) figure[data-k="radar"],
.night:has(#bc-sst:checked) figure[data-k="sst"] { opacity: 1; visibility: visible; z-index: 1; transition: opacity .3s ease; }
/* marks on the map: the place, where the reading is */
.bc-mark { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.bc-mark line { stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: .9; }
.bc-mark circle { fill: #0F1924; stroke: #fff; stroke-width: 2; }
.bc-place, .bc-temp { position: absolute; display: none; color: #fff; white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .8), 0 1px 8px rgba(0, 0, 0, .7); }
.bc-place { align-items: center; gap: 7px; transform: translate(-6px, -50%); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.bc-place i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(11, 13, 14, .55); }
.bc-temp { transform: translate(-50%, -50%); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
/* the reading */
.reading { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; padding: 16px 18px 18px;
  background: var(--night); border-radius: var(--r-media); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .08); color: var(--on-night); }
.r-label { font-size: 14px; line-height: 19px; font-weight: 500; color: var(--on-night-2); }
.r-hero { font-size: 30px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.r-hero .u { font-size: .6em; letter-spacing: .01em; margin-left: .12em; }
.r-hero .to { font-size: .6em; font-weight: 500; color: var(--on-night-2); margin: 0 .3em; letter-spacing: 0; }
.r-line { font-size: 14px; line-height: 20px; color: var(--on-night-2); margin-top: 4px; text-wrap: pretty; }
.r-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; align-items: end; height: 30px; margin-top: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .14); }
.r-strip i { height: max(var(--h), 0%); background: #3DBB4F; border-radius: 2px 2px 0 0; opacity: .85; }
.r-strip i.on { opacity: 1; }
.r-ticks { position: relative; height: 15px; margin-top: 6px; font-size: 11px; line-height: 15px; font-weight: 500; color: var(--on-night-3); }
.r-ticks span { position: absolute; top: 0; }
.r-ticks span:first-child { left: 0; }
.r-ticks span:last-child { right: 0; }
.r-ticks .on { transform: translateX(-50%); color: var(--on-night); font-weight: 700; }
.r-scale { position: relative; height: 34px; margin-top: 16px; }
.r-scale .bar { position: absolute; left: 0; right: 0; top: 4px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #4040a2, #466be3 27.8%, #4294ff 41.7%, #28bceb 52.8%, #18ddc2 61.1%, #32f298 68.1%, #6dfe62 73.6%, #a4fc3c 77.8%, #cdec34 80.6%, #eecf3a 83.3%, #fdac34 86.1%, #fb7e21 88.9%, #eb500e 91.7%, #d02f05 95.1%, #a91601); }
.r-scale .tick { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2.5px solid #fff; background: transparent; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.r-scale span { position: absolute; top: 19px; transform: translateX(-50%); font-size: 12px; line-height: 15px; font-weight: 600; color: var(--on-night); }
.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); width: 100%; max-width: 520px; padding: 3px; background: var(--night-2); border-radius: 999px; }
.seg label { position: relative; z-index: 1; height: 40px; display: grid; place-items: center; font-size: 14px; font-weight: 500; color: var(--on-night-2); transition: color .16s ease; white-space: nowrap; }
.seg label:hover { color: #fff; }
.seg input:checked + label { color: var(--night); font-weight: 600; }
.seg input:focus-visible + label { outline: 2px solid #161719; outline-offset: -2px; border-radius: 999px; }
.seg .seg-on { background: #F4F5F7; box-shadow: none; }
.seg .lg { display: none; }
.night:has(#bc-radar:checked) .seg { --i: 1; }
.night:has(#bc-sst:checked) .seg { --i: 2; }
.night-foot { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.night-more { font-size: 15px; line-height: 1.5; color: var(--on-night-2); }
.night-credit { color: var(--on-night-3); }
.night-credit a:hover { color: var(--on-night); }
@media (min-width: 700px) {
  .night-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .night-head .lead { margin-top: 14px; }
  .bc-media { aspect-ratio: 1280 / 540; margin-top: 36px; }
  .bc-mark { display: block; }
  .bc-place { display: flex; }
  .bc-temp { display: block; }
  .reading { left: 24px; right: auto; bottom: 24px; width: 340px; padding: 20px 22px 22px; }
  .seg { width: 460px; flex: none; }
  .seg .lg { display: inline; }
  .seg .sm { display: none; }
  .seg label { font-size: 15px; height: 42px; }
  .night-foot { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 32px; margin-top: 22px; }
  .night-more { max-width: 760px; }
}

/* ---------- 5. bento (Flighty's bento: each tile a title, one line and a real piece of the product) ----------
   Round 7, POLISH.md: one text edge per card (the card padding), a reading before the picture, units at 60%, four type
   sizes and three inks per card, 0.5 px hairlines at 10% ink inset to the text edge, charts that bleed, heights from
   content (the tide chart is the one flexible part of its row, so no card carries air). */
.bt-title { margin-bottom: 36px; }
.bento { display: grid; grid-template-columns: 1fr; gap: 12px; }
.b { position: relative; background: var(--tile); border-radius: var(--r-card); overflow: hidden; padding: 24px 20px; display: flex; flex-direction: column;
  box-shadow: 0 0 0 .5px rgba(22, 23, 25, .06), 0 1px 2px rgba(22, 23, 25, .04), 0 12px 30px rgba(22, 23, 25, .045); }
.b h3 { font-size: 22px; line-height: 1.18; letter-spacing: -.014em; }
.b p { margin-top: 6px; font-size: 15px; line-height: 1.42; color: var(--ink-2); }
.b .on-dark h3 { color: #fff; }
.b .on-dark p { color: rgba(255, 255, 255, .72); }
.b .u { font-size: .6em; font-weight: inherit; letter-spacing: .01em; margin-left: .12em; }
/* the (i) credits the satellite map, so it lives in that card's bottom right corner, where a map keeps its credit
   (owner 2026-10-25: under the satellite image, not under the whole bento; another card sits right under this one) */
.b-spots .bt-credit { position: absolute; right: 20px; bottom: 27px; z-index: 1; margin: 0; color: #fff; line-height: 0; }
.b-spots .b-copy { padding-right: 28px; }
/* inside the card the tip always opens inward (the page-middle rule would push it past the card's clipped edge) */
.b-spots .mcredit.left .mcredit-t { left: auto; right: -4px; }
.hair { height: .5px; background: rgba(22, 23, 25, .12); }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .b { padding: 34px 36px 36px; }
  .b h3 { font-size: 26px; }
  .b p { font-size: 17px; margin-top: 8px; max-width: 36ch; }
  .b-rules { grid-column: span 7; }
  .b-tides { grid-column: span 5; }
  .b-spots { grid-column: span 5; }
  .b-spots .bt-credit { right: 36px; bottom: 41px; }
  .b-spots .b-copy { padding-right: 0; }
  .b-species { grid-column: span 7; }
  .b-fs { grid-column: span 7; }
  .b-knots { grid-column: span 5; }
}

/* rules: the species it is for, the three figures (Airbnb's title strip: hairline dividers centred in the gaps), then
   the season as a year bar with today on it */
.rules { margin-top: 26px; display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.rules-art { flex: 1; min-height: 84px; display: flex; align-items: center; justify-content: center; padding: 4px 0 14px; }
.rules-art img { width: auto; height: 100%; max-height: 132px; max-width: 72%; object-fit: contain; }
.rules-fish { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: .5px solid rgba(22, 23, 25, .12); }
.rules-fish b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.01em; }
.rules-fish small { font-size: 14px; line-height: 19px; color: var(--ink-2); }
.rstrip { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 20px; }
.rs { display: flex; flex-direction: column; position: relative; padding-right: 12px; }
.rs + .rs { padding-left: 20px; }
.rs + .rs::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: .5px; background: rgba(22, 23, 25, .12); }
.rs small { font-size: 14px; line-height: 19px; font-weight: 500; color: var(--ink-2); }
.rs b { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.022em; margin-top: 2px; }
.rs b.open { color: #3B8D65; }
.rs i { font-style: normal; font-size: 14px; line-height: 19px; color: var(--ink-2); margin-top: 2px; }
.rs i .u { font-size: 1em; margin-left: 0; }
.yearbar { position: relative; display: block; height: 6px; }
.rstrip { margin-bottom: 26px; }
.yb-track { position: absolute; inset: 0; border-radius: 3px; background: #3B8D65; opacity: .85; }
.yb-dot { position: absolute; top: 50%; left: calc(var(--d) / 365 * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--tile); }
.yb-months { display: flex; margin-top: 8px; }
.yb-months i { flex: 1; text-align: center; font-style: normal; font-size: 11px; line-height: 13px; color: rgba(22, 23, 25, .62); }
.yb-months i.cur { color: var(--ink); font-weight: 600; }
@media (min-width: 700px) { .rules { margin-top: 28px; } .rs b { font-size: 34px; line-height: 40px; } }

/* tides: the reading (label, hero, one line), the day's curve bleeding to both card edges with the past solid and the
   rest at 38%, now as a dot on the water line, highs and lows labelled where they happen; the sky row under it */
.tidecard { margin-top: 26px; display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.tc-label { display: flex; align-items: center; gap: 5px; font-size: 14px; line-height: 19px; font-weight: 500; color: var(--ink-2); }
.tc-label svg { width: 12px; height: 12px; }
.b .tc-label, .b .tc-sub { margin: 0; max-width: none; font-size: 14px; }
.tc-hero { margin: 2px 0 0 !important; font-size: 30px !important; line-height: 34px !important; font-weight: 600; letter-spacing: -.022em; color: var(--ink) !important; }
.tc-hero .u { font-weight: 600; }
.b .tc-sub { margin-top: 4px; line-height: 19px; color: var(--ink-2); }
.tc-chart { position: relative; flex: 1; min-height: 150px; margin: 14px -20px 0; }
.tc-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tc-sky { display: flex; align-items: center; gap: 20px; margin-top: 2px; padding-top: 14px; border-top: .5px solid rgba(22, 23, 25, .12); font-size: 14px; line-height: 19px; font-weight: 500; flex-wrap: wrap; }
.tc-sky > span { display: inline-flex; align-items: center; gap: 7px; }
.tc-sky img { height: 17px; width: auto; }
.tc-sky .moon { width: 17px; height: 17px; }
.tc-moon { margin-left: auto; }
.t-line { fill: none; stroke: #1D6FD8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-line.past { opacity: .4; }
.t-ex { fill: #fff; stroke: #1D6FD8; stroke-width: 2; }
.t-time { font: 600 12px var(--sys); fill: var(--ink); }
.t-val { font: 400 11px var(--sys); fill: rgba(22, 23, 25, .62); }
.t-now-halo { fill: #1D6FD8; opacity: .22; }
.t-now { fill: #1D6FD8; stroke: #fff; stroke-width: 3; }
@media (min-width: 700px) { .tc-chart { margin: 16px -36px 0; } .tidecard { margin-top: 28px; } }

/* secret spots: the user's own pin (spots-map.tsx MySpotPin: 28 pt lozenge, mappin glyph, the off-white brand ring) */
.b-spots { background: #0E1714; justify-content: flex-end; min-height: 360px; box-shadow: none; }
.spotmap { position: absolute; inset: 0; }
.spotmap img { width: 100%; height: 100%; object-fit: cover; }
.spotmap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 10, 9, .78) 0%, rgba(6, 10, 9, .35) 34%, rgba(6, 10, 9, 0) 58%); }
.mypin { position: absolute; left: 44%; top: 30%; display: flex; align-items: center; gap: 3px; height: 34px; padding: 0 9px; border-radius: 999px; background: #A4F44C; border: 2px solid #F1EEE6; transform: translate(-50%, -50%); }
.mypin img { width: 15px; height: auto; }
.mypin em { font-style: normal; font-family: var(--score); font-weight: 700; font-size: 19px; line-height: 1; color: #0B1416; }
.b-spots .b-copy { position: relative; z-index: 1; }

/* species: the collection (the app's My Fish: the count, the three tiers with their bars, then the fish you have,
   each with how many times and its rarity bars); no boxes inside the card */
.coll { margin-top: 26px; display: flex; flex-direction: column; color: var(--ink); }
.coll-head { display: flex; align-items: baseline; justify-content: space-between; }
.coll-head > b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.01em; }
.coll-head > span { font-size: 14px; color: rgba(22, 23, 25, .62); }
.coll-head > span b { font-size: 17px; font-weight: 600; color: var(--ink); }
.coll-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 14px; }
.ct { display: flex; flex-direction: column; }
.ct > span { font-size: 14px; line-height: 19px; color: rgba(22, 23, 25, .62); }
.ct > span b { font-size: 20px; line-height: 24px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.ct small { font-size: 14px; line-height: 19px; font-weight: 500; color: var(--ink-2); }
.ct.rare small { color: #B04A68; }
.ct.vrare small { color: #8C6414; }
.ct i { position: relative; display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: rgba(22, 23, 25, .08); overflow: hidden; }
.ct i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: max(4px, var(--f)); border-radius: 2px; background: var(--ink); }
.ct.rare i::after { background: #B04A68; }
.ct.vrare i::after { background: #B58320; }
.coll-fish { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; margin-top: 22px; padding-top: 22px; border-top: .5px solid rgba(22, 23, 25, .12); }
.cf { display: flex; flex-direction: column; min-width: 0; }
.cf-art { height: 64px; display: flex; align-items: center; justify-content: center; }
.cf-art img { max-width: 100%; max-height: 64px; width: auto; height: auto; }
.cf b { margin-top: 10px; font-size: 14px; line-height: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; }
.cf-meta small { font-size: 14px; line-height: 19px; color: var(--ink-2); }
.rb { display: inline-flex; gap: 3px; }
.rb i { width: 12px; height: 4px; border-radius: 2px; background: rgba(22, 23, 25, .1); }
.rb[data-n="1"] i:nth-child(-n+1), .rb[data-n="2"] i:nth-child(-n+2), .rb[data-n="3"] i:nth-child(-n+3) { background: var(--ink); }
.rb.rare[data-n="2"] i:nth-child(-n+2) { background: #B04A68; }
.rb.vrare[data-n="3"] i:nth-child(-n+3) { background: #B58320; }
@media (min-width: 700px) { .coll { margin-top: 28px; } .coll-fish { grid-template-columns: repeat(4, 1fr); gap: 0 28px; } }

/* fresh and salt (round 8, replaces "Get to know the lake"): a lake and an inlet an hour apart, each with its own
   score and its own fish (the app's names and cut-outs), so the same card answers "is it for me?" for both kinds of
   angler. Two columns on the card surface, one hairline between them, fish on one baseline at one height. */
.fs { margin-top: 26px; display: grid; grid-template-columns: 1fr; gap: 22px; color: var(--ink); flex: 1; }
.fs-col { display: flex; flex-direction: column; min-width: 0; }
.fs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: .5px solid rgba(22, 23, 25, .12); }
.fs-head > span { display: flex; flex-direction: column; min-width: 0; }
.fs-head b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.fs-head small { font-size: 14px; line-height: 19px; color: var(--ink-2); }
.fs-head em { font-style: normal; font-family: var(--score); font-weight: 700; font-size: 34px; line-height: 1; color: #248157; }
.fs-fish { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 18px; }
.fsf { display: flex; flex-direction: column; min-width: 0; }
.fsf-art { height: 50px; display: flex; align-items: flex-end; justify-content: flex-start; }
.fsf-art img { height: 46px; width: auto; max-width: 100%; object-fit: contain; object-position: left bottom; }
.fsf b { margin-top: 8px; font-size: 14px; line-height: 19px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 700px) {
  .fs { margin-top: 28px; grid-template-columns: 1fr 1fr; gap: 0 56px; position: relative; }
  .fs::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: .5px; background: rgba(22, 23, 25, .12); }
}

/* knots: the render sits above the words, its shank fading out before the copy */
.b-knots { background: #0E191C; min-height: 340px; justify-content: flex-end; box-shadow: none; }
.knot { position: absolute; left: 50%; top: -6%; width: 300px; transform: translateX(-50%);
  -webkit-mask: radial-gradient(closest-side, #000 72%, transparent), linear-gradient(180deg, #000 52%, transparent 74%); -webkit-mask-composite: source-in;
  mask: radial-gradient(closest-side, #000 72%, transparent) intersect, linear-gradient(180deg, #000 52%, transparent 74%); }
.b-knots .b-copy { position: relative; }
@media (min-width: 700px) {
  .knot { width: 330px; top: -4%; }
  .b-spots { min-height: 400px; }
}

/* ---------- 6. proof ---------- */
.proof-head { text-align: center; }
.proof-head .stars { justify-content: center; margin-bottom: 18px; }
.proof-head .lead { margin-top: 10px; }
.reviews { display: grid; gap: 12px; margin-top: 40px; }
.review { margin: 0; background: var(--tile); border-radius: var(--r-card); padding: 26px 24px; display: flex; flex-direction: column; box-shadow: 0 0 0 .5px rgba(22, 23, 25, .06), 0 1px 2px rgba(22, 23, 25, .04), 0 12px 30px rgba(22, 23, 25, .045); }
.review blockquote { margin: 14px 0 0; }
.review blockquote p { font-size: 19px; line-height: 1.45; letter-spacing: -.005em; }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption { margin-top: auto; padding-top: 20px; font-size: 14px; color: var(--ink-2); }
.review figcaption b { color: var(--ink); font-weight: 600; margin-right: 6px; }
@media (min-width: 700px) {
  .reviews { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
  .review { padding: 40px 44px 36px; }
  .review blockquote p { font-size: 22px; }
}

/* ---------- 7. FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
.faq-list { border-bottom: 1px solid var(--hair); }
.faq details { border-top: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 600; line-height: 1.35; transition: color .16s ease; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #000000; }
.faq summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ctl); transition: transform .2s var(--ease), background-color .16s ease; }
.faq summary:hover i { background: var(--ctl-hover); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink); border-radius: 1px; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 44px 22px 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .faq summary { font-size: 20px; padding: 24px 0; }
  .faq details p { font-size: 18px; }
}

/* ---------- 8. final: Apple's closing app banner. One tinted stage (the same cool tint as the closer look, so the
   page closes the way the product section opened): the promise and the button on the left, the phone rising from
   the stage's bottom edge on the right, cut by it. ---------- */
.final { padding-bottom: 96px; }
.final-stage { position: relative; background: var(--tint); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 20px 0; }
.final-copy { display: flex; flex-direction: column; align-items: center; }
.final-icon { width: 80px; height: 80px; border-radius: 22.5%; margin-bottom: 24px; }
.final-lead { margin-top: 14px; }
.final .cta-row { margin-top: 28px; }
.rating-c { margin-top: 22px; }
.final-phone { position: relative; width: 100%; height: 360px; margin-top: 40px; }
.phone-final { position: absolute; left: 50%; top: 0; height: 640px; transform: translateX(-50%); }
@media (min-width: 700px) { .final { padding-bottom: 160px; } }
@media (min-width: 1000px) {
  .final-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; text-align: left; padding: 0; min-height: 680px; }
  .final-copy { align-items: flex-start; justify-content: center; padding: 72px 0 72px 80px; }
  .final-icon { width: 88px; height: 88px; margin-bottom: 32px; }
  .final h2 { max-width: 9.5em; }
  .final .cta-row { justify-content: flex-start; margin-top: 36px; }
  .rating-c { margin-top: 28px; }
  .final-phone { height: auto; margin: 0; }
  .phone-final { top: 64px; height: 900px; }
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .brand { font-size: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* round 11: the footer carries the lake chart the app's Settings Pro card is drawn from (owner 10-25: the lake lines
   "as the footer of the website, a little bit stronger... how the settings card is done in the app itself"). Same
   survey (Hanging Horn Lake, MN DNR), same stepped depth bands, contours and shore, smoothed into curves; no depth
   numbers (owner 10-25: they looked out of place)
   (tools/footer_chart.py). It fills the whole footer, crisp, with no fade or blur (owner 10-25: the round 11 fog
   "covers 90% of it"); the fills stay light and the footer's words take colors that read on them. Laptop widths only
   for now (the phone layout is the next round). */
.foot { position: relative; isolation: isolate; }
@media (min-width: 1280px) {
  .foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url("img/fc-foot.webp") 50% 100% / max(100%, 2560px) auto no-repeat; }
  .foot nav a { color: var(--ink); }
  .foot .fine { color: var(--ink); opacity: .9; }
}
.fine { margin-top: 18px; font-size: 12px; line-height: 1.5; color: var(--ink-3); max-width: 80ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
  .js .phone-hero { opacity: 1; transform: none; }
}

/* pressed states (quick, under 200 ms) */
.cl-pills label:active, .seg label:active, .dots button:active, .faq summary:active { transform: scale(.98); }
.cl-pills label, .seg label, .faq summary { transition-property: background-color, color, border-radius, padding, transform; transition-duration: .16s; }
@media (min-width: 1000px) { .cl-pills input:checked + label:active { transform: none; } }

/* phone: the catch card ends cleanly inside its tile */
@media (max-width: 699px) { .catchcard .cc-name { font-size: 22px; } .catchcard .cc-h { display: none; } .catchcard .cc-bait { margin-top: 14px; } }

/* round 8: on phones the chart keeps its two numbers and drops the window and guide tags (no room for them; the phone
   layout is the next round's work) */
@media (max-width: 699px) { .fc-tag, .fc-g { display: none; } }

/* map credits, collapsed to a faint (i) (owner 2026-10-24); the text shows on hover, focus or tap */
.mcredit { position: relative; display: inline-flex; vertical-align: middle; }
.mcredit-i { width: 15px; height: 15px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: none;
  color: inherit; font: 600 9px/13px -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  text-align: center; opacity: .3; cursor: pointer; transition: opacity .15s ease; }
.mcredit:hover .mcredit-i, .mcredit-i:focus-visible, .mcredit.open .mcredit-i { opacity: .7; }
.mcredit-i:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.mcredit-t { position: absolute; bottom: calc(100% + 6px); right: -4px; z-index: 5; white-space: nowrap;
  padding: 5px 9px; border-radius: 8px; background: rgba(18, 20, 23, .92); color: #fff;
  font: 400 11px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; letter-spacing: 0;
  opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.mcredit.left .mcredit-t { right: auto; left: -4px; }
.mcredit-t a { color: inherit !important; text-decoration: none; }
.mcredit-t a:hover { text-decoration: underline; }
.mcredit:hover .mcredit-t, .mcredit:focus-within .mcredit-t, .mcredit.open .mcredit-t { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .mcredit-i, .mcredit-t { transition: none; } }

/* ---------- round 10 S4 "water light", kept only at the final call to action (owner 10-25). A real Lake Tohopekaliga
   sky printed at high key, opening from the top right corner behind the product, never under a line of text. Built by
   directions-r10/s4-light/tools/water_light.py (half size, TPDF-dithered, lossless WebP; opaque, its edges are the
   ground, so it must be rebuilt whenever the ground changes). Hidden under 1200 px. ---------- */
.wl { position: absolute; z-index: -1; pointer-events: none; background: 0 0 / 100% 100% no-repeat; }
.final-stage { isolation: isolate; }
.wl--final { display: none; }
@media (min-width: 1200px) {
  .wl--final { display: block; top: 0; right: 0; width: 900px; height: 680px; background-image: url("img/wl-final.webp"); }
}


/* round12-phone:start ---------- E on phones (research6/phone/PHONE-PLAN.md section 6) */
/* the faint (i) keeps its look and gets a finger-sized target on touch screens */
@media (pointer: coarse) { .mcredit-i { position: relative; } .mcredit-i::after { content: ""; position: absolute; inset: -15px; } }
@media (max-width: 699px) {
  /* phones sized by the screen's width, not its height: in real Safari, which shows about 660 px of an 852 px iPhone,
     the svh sizes came out at about half the width (the hero phone 213 px, the closer-look phone 179 px) */
  .phone-hero { height: auto; width: min(70vw, 290px); }
  .phone-cl { height: auto; width: min(60vw, 246px); }
  /* the hero sits about 30 px higher, so the app's 88 is whole on an iPhone 16's first screen (it sat on the edge) */
  .hero { padding-top: 26px; }
  .hero h1 { font-size: clamp(44px, 13.8vw, 60px); }
  .hero .cta-row { margin-top: 24px; }
  .hero-stage { margin-top: 26px; }
  /* no word left alone on a line, and the rules figures fit their columns ("No minimum length" took three lines) */
  .faq summary, .swatches span, .rs i { text-wrap: balance; }
  .faq details p { text-wrap: pretty; }
  .rstrip { grid-template-columns: .76fr 1.36fr .88fr; }
  .rs { padding-right: 6px; }
  .rs + .rs { padding-left: 14px; }
  .rs i { font-size: 13px; line-height: 17px; }
  /* the menu glyph's right edge on the 20 px gutter, like the brand's left edge */
  .menu-btn { margin-right: -12px; }
  /* footer links: 29 px tap targets (they were 21), the same rows as before */
  .foot nav { row-gap: 0; }
  .foot nav a { padding: 4px 0; }
}
/* round12-phone:end */

/* round13-phone:start ---------- E's highlight cards on phones (owner 10-25: the lure was covered by the swatches, Billy's
   88 was cut in half at the card's edge, a day of the forecast was cut in half). The cards size to their content and the
   row stands them at one height (the tallest), so nothing overlaps or is cut at any phone height; each card is words,
   then its one visual, in the flow */
@media (max-width: 699px) {
  .hl-track { align-items: stretch; }
  .tile { height: auto; min-height: 440px; display: flex; flex-direction: column; }
  .t-when .fcard, .t-what .swatches, .t-billy .thread, .t-catch .catchcard { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .t-when .fcard { margin: auto 16px 16px; }
  .t-when .tile-copy { margin-bottom: 20px; }
  /* the forecast's days: six whole days, no half day faded at the edge */
  .fc-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; -webkit-mask: none; mask: none; }
  .fd { width: auto; }
  .fd:nth-child(n + 7) { display: none; }
  /* the lure whole, between the words and its colors */
  .t-what .lure { position: relative; right: auto; top: auto; flex: 1 1 0; min-height: 120px; width: 100%; height: auto;
    object-fit: contain; margin: 20px 0 14px; padding: 0 22px; box-sizing: border-box; transform: rotate(-4deg); }
  .t-what .swatches { margin: 0 20px 20px; }
  /* Billy: the thread under the words, the spot card whole at the bottom */
  .t-billy .thread { margin: 18px 20px 20px; }
  .spotcard .strip { height: 60px; }
  /* the catch: the card under the words; the bait row waits for the laptop so the card stays one screen tall */
  .t-catch .catchcard { margin: 18px 20px 20px; }
  .t-catch .cc-bait { display: none; }
  /* Find new water: the words on the card's own ground, then the laptop's US map (the dots, four scored spots and
     their fish; tools/mapkit/scenes/us_dots_phone.json) fills the rest. Laid over the map, the words ran into the
     top pins wherever the card came out shorter than the map */
  .t-where .tile-copy { position: relative; left: auto; bottom: auto; padding-bottom: 18px; order: 1; }
  .t-where picture { position: relative; inset: auto; flex: 1 1 0; min-height: 0; display: block; order: 2; }
  .t-where picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  .t-where::before { display: none; }
  .t-where { background: #15191C; }
  /* one card per swipe, so the dots below always name the card in view */
  .tile { scroll-snap-stop: always; }
}
/* round13-phone:end */

/* appbar:start ---------- round 12: the phone App Store banner (tools/phone_banner.py; PHONE-PLAN.md 3.1 to 3.3).
   Revolut's anatomy: close, icon, name over stars and rating, a white Get pill; in the flow, so it scrolls away. */
.appbar { display: none; }
@media (max-width: 760px) {
  .appbar { position: relative; z-index: 60; display: flex; align-items: center; gap: 10px; height: 72px;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(6px, env(safe-area-inset-left)); background: var(--night); color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
  .appbar-off .appbar { display: none; }
  .appbar__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -4px; padding: 0;
    border: 0; border-radius: 12px; background: none; color: rgba(255, 255, 255, .56); cursor: pointer; }
  .appbar__x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
  .appbar__x:active { background: rgba(255, 255, 255, .08); }
  .appbar__x:focus-visible, .appbar__get:focus-visible { outline: 2px solid #161719; outline-offset: 2px; }
  .appbar__icon { flex: none; width: 40px; height: 40px; border-radius: 9.5px; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14); }
  .appbar__txt { flex: 1; min-width: 0; margin: 0; display: grid; gap: 3px; line-height: 1.15; }
  .appbar__txt b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  .appbar__rate { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .62);
    font-variant-numeric: tabular-nums; }
  .appbar__stars { display: inline-flex; gap: 1.5px; }
  .appbar__stars svg { width: 11px; height: 11px; fill: #F5B000; }
  .appbar__get { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 17px;
    border-radius: 999px; background: #fff; color: #17181A; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
    text-decoration: none; -webkit-tap-highlight-color: transparent; transition: opacity .15s ease; }
  .appbar__get:active { opacity: .78; }
  /* the larger tap area the get pill needs, without a larger pill */
  .appbar__get { position: relative; }
  .appbar__get::after { content: ""; position: absolute; inset: -8px -6px; }
  /* one install button in the bar at a time: the nav pill steps aside while the banner shows. It hides at once and
     fades back in once the banner has gone (a fade-out is where iOS Safari once left a ghost of E's pill) */
  .btn-nav { transition: opacity .2s ease; }
  .appbar-in .btn-nav { opacity: 0; visibility: hidden; transition: none; }
  /* the phone menu opens under the nav wherever the nav is, and the page holds still behind it */
  .menu { top: var(--navb, 52px); }
  /* the lock sits on the root only: overflow on body makes body a scroll box, and the sticky nav then sticks to it and
     jumps, so the open menu covered its own close button */
  html.menu-lock { overflow: hidden; }
}
/* appbar:end */

/* round14-phone:start ---------- owner 10-25
   1. Tides, sun and moon: the moon phase stays on the sun's line whenever it fits (it wrapped under it, alone at
      the right, on phones and tablets). The line is sized to the card, not the screen: as drawn on the laptop it
      needs 337 px; a narrower card first takes smaller icons and gaps (308 px), then 13 px type (288 px, from 319 px down so a 393 px phone keeps room to spare); only a card
      narrower still wraps, and then the moon starts the second line at the left instead of hanging alone at the right.
   2. Fresh and salt: off on phones, kept on the laptop and tablet ("if it's possible for mobile, remove it, but keep
      it on desktop") */
.tidecard { container-type: inline-size; }
@container (max-width: 339px) {
  .tc-sky { gap: 12px; }
  .tc-sky > span { gap: 5px; }
  .tc-sky img { height: 15px; }
  .tc-sky .moon { width: 15px; height: 15px; }
}
@container (max-width: 319px) {
  .tc-sky { gap: 8px; font-size: 13px; }
}
@container (max-width: 291px) {
  .tc-moon { margin-left: 0; }
}
@media (max-width: 699px) {
  .b-fs { display: none; }
}
/* round14-phone:end */

/* conv-e:start E1 ---------- laptops: the QR is the laptop's real way onto a phone (a laptop cannot install from the
   badge's web page), so it is drawn at a size a phone camera reads from arm's length: 112 px (was 64; Fishbrain 125,
   FishAngler 120, AllTrails 110), its label 15 px (was 13). Hero and close; still laptop only. */
@media (min-width: 1100px) {
  .qr { gap: 14px; font-size: 15px; }
  .qr img { width: 112px; height: 112px; border-radius: 10px; padding: 6px; }
  /* the button row is 48 px taller, so the phone's stage starts 24 px closer to it (was 48): the 88 keeps room
     inside a 730 px laptop window */
  .hero-stage { margin-top: 24px; }
}
/* conv-e:end E1 */

/* conv-e:start E4 ---------- the forecast tile's line now names the reason ("..., with the reason in plain English"); on
   laptops it keeps one line, so the card under it keeps its air (the tile's line was capped at 640 px) */
@media (min-width: 1000px) { .t-when .tile-copy, .t-when .tile-copy p { max-width: 900px; } }
/* conv-e:end E4 */

/* a2:start T1 ---------- (A2, 2026-10-26, integration) finger-sized tap areas on phones and tablets for the chrome's
   small controls, without changing how anything looks: the same invisible extension the banner's Get pill and the map
   credit already use. Measured before: the header's Get the app 32 px tall, the brand 28 px, the menu button 40 x 40,
   the footer brand 24 px, the footer links 29 px (21 px from 700 px up). Design D got the same in conv-D 06 and 07. Scoped to the
   footer's own row (.foot-top): the inner pages' link directory above it already has 44 px rows.
   Each area stays inside its own row: the footer links' areas reach 7.5 px up into a 16 px gap that the footer brand's
   area reaches 10 px down into, so the two overlap by 1.5 px and the later link wins there. */
@media (max-width: 899px) {
  .btn-nav, .brand { position: relative; }
  .btn-nav::after { content: ""; position: absolute; inset: -6px -2px; }
  .nav .brand::after { content: ""; position: absolute; inset: -8px -4px; }
  .menu-btn::after { content: ""; position: absolute; inset: -2px; }
  .foot-top .brand::after { content: ""; position: absolute; inset: -10px -4px; }
  .foot-top nav a { position: relative; }
  .foot-top nav a::after { content: ""; position: absolute; inset: -11.5px -2px; }
}
@media (max-width: 699px) {
  .foot-top nav a::after { inset: -7.5px -2px; }
}
/* a2:end T1 */

/* ---------- round 11 palette: Graphite (tools/recolor.py + tools/palettes_r11.py). The site's own
   button and selected states; every other color on this page was recolored by its role. ---------- */
.seg .seg-on { background: #F4F5F7; }
.seg input:checked + label { color: #161719; }
.dot-on { background: #161719; }
.seg input:focus-visible + label { outline-color: #FFFFFF; }
.appbar :focus-visible, .mcredit-t :focus-visible { outline-color: #FFFFFF; }
