:root {
  color-scheme: light;
  --ink: #0f1b18;
  --muted: #68726d;
  --panel: #fbfaf4;
  --paper: #f4f0e6;
  --line: #ded7c8;
  --green: #12352f;
  --green-2: #1e5f52;
  --gold: #e7b34f;
  --coral: #d66a4b;
  --blue: #40798c;
  --white: #fffefa;
  --shadow: 0 16px 40px rgba(15, 27, 24, 0.13);
  --radius: 8px;
  --tap: 44px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(244, 240, 230, 0.96), rgba(244, 240, 230, 1) 360px),
    #f4f0e6;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: 100%;
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 18px 96px;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin: -18px -18px 14px;
  padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  background: rgba(244, 240, 230, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(18, 53, 47, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: #fffefa;
  border: 1px solid rgba(18, 53, 47, 0.12);
  object-fit: contain;
}

.topbar-actions,
.input-row,
.panel-heading,
.recommendation-title,
.lure-meta {
  display: flex;
  align-items: center;
}

.topbar-actions {
  gap: 8px;
}

.header-auth-link,
.header-auth-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.header-auth-link.secondary {
  color: var(--muted);
  background: rgba(255, 254, 250, 0.72);
  border: 1px solid rgba(18, 53, 47, 0.1);
}

.header-auth-link.active {
  color: var(--white);
  background: rgba(15, 27, 24, 0.76);
}

.icon-button,
.primary-button,
.secondary-button,
.tab-button,
.segmented button,
.observation-button,
.tackle-card {
  border: 0;
  cursor: pointer;
}

.icon-button {
  display: inline-grid;
  width: var(--tap);
  height: var(--tap);
  place-items: center;
  color: var(--green);
  background: rgba(18, 53, 47, 0.08);
  border-radius: var(--radius);
}

.icon-button.strong,
.primary-button {
  color: var(--white);
  background: var(--green);
}

.icon-button svg,
.primary-button svg,
.secondary-button svg,
.tab-button svg,
.spot-bell svg,
.spot-pin-button svg,
.floating-back svg,
.floating-bookmark svg,
.spot-navigate-button svg,
.weather-stat svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.spot-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.spot-welcome,
.spot-search-card,
.weather-stat,
.featured-spot-card,
.fish-area-card,
.challenge-preview-card {
  min-width: 0;
  background: rgba(255, 254, 250, 0.9);
  border: 1px solid rgba(18, 53, 47, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 27, 24, 0.08);
}

.spot-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.spot-welcome h1 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  line-height: 1.04;
}

.spot-welcome p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.spot-bell,
.spot-pin-button,
.floating-back,
.floating-bookmark,
.spot-navigate-button {
  display: grid;
  width: var(--tap);
  height: var(--tap);
  flex: 0 0 var(--tap);
  place-items: center;
  color: var(--white);
  background: #2ecfc0;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.spot-search-card {
  padding: 14px;
}

.spot-search-card label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.spot-search-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) var(--tap);
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 4px 5px 4px 14px;
  background: var(--white);
  border: 1px solid rgba(18, 53, 47, 0.1);
  border-radius: var(--radius);
}

.spot-search-row > svg {
  width: 21px;
  height: 21px;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.spot-search-row input {
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 800;
}

.weather-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.weather-stat {
  display: grid;
  min-height: 88px;
  place-items: center;
  gap: 4px;
  padding: 10px 8px;
  text-align: center;
}

.weather-stat span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--green);
  background: rgba(46, 207, 192, 0.16);
  border-radius: var(--radius);
}

.weather-stat b {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.weather-stat small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.weather-stat.featured {
  color: var(--white);
  background: linear-gradient(135deg, #0a84a6, #2ecfc0);
  border-color: rgba(46, 207, 192, 0.5);
}

.weather-stat.featured span {
  color: var(--white);
  background: rgba(255, 254, 250, 0.18);
}

.weather-stat.featured b,
.weather-stat.featured small {
  color: var(--white);
}

.spot-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.75fr);
  gap: 12px;
  align-items: start;
}

.featured-spot-card {
  grid-row: span 2;
  overflow: hidden;
}

.featured-spot-media {
  position: relative;
  min-height: clamp(210px, 35vw, 360px);
  background:
    linear-gradient(180deg, rgba(8, 32, 29, 0.02), rgba(8, 32, 29, 0.64)),
    url("../public/assets/media/hero-angler-sunrise.jpg") center / cover;
}

.floating-back,
.floating-bookmark {
  position: absolute;
  top: 14px;
  color: var(--green);
  background: rgba(255, 254, 250, 0.84);
  backdrop-filter: blur(12px);
}

.floating-back {
  left: 14px;
}

.floating-bookmark {
  right: 14px;
}

.spot-chip-layer {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spot-chip-layer span {
  padding: 7px 9px;
  color: var(--white);
  background: rgba(15, 27, 24, 0.54);
  border: 1px solid rgba(255, 254, 250, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 900;
}

.featured-spot-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--tap);
  gap: 12px;
  padding: 16px;
}

.featured-spot-body h2 {
  margin-bottom: 5px;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.spot-gps,
.spot-reason,
.spot-quick-plan small,
.challenge-preview-card p,
.fish-area-pill small {
  color: var(--muted);
}

.spot-gps {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.spot-navigate-button {
  background: #315dff;
}

.spot-reason {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.45;
}

.spot-quick-plan {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-top: 6px;
}

.mini-spark {
  display: block;
  width: 72px;
  height: 42px;
  background:
    radial-gradient(circle at 78% 38%, #2ecfc0 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 8%, #315dff 9% 13%, transparent 14% 28%, #315dff 29% 33%, transparent 34% 52%, #315dff 53% 57%, transparent 58%);
  border-radius: var(--radius);
}

.spot-quick-plan b,
.spot-quick-plan small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.fish-area-card,
.challenge-preview-card {
  padding: 16px;
}

.fish-area-card .panel-heading {
  margin-bottom: 12px;
}

.fish-area-strip {
  display: grid;
  gap: 10px;
}

.fish-area-pill {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 8px;
  background: var(--white);
  border: 1px solid rgba(18, 53, 47, 0.08);
  border-radius: var(--radius);
}

.fish-icon {
  width: 68px;
  height: 44px;
}

.fish-icon path {
  fill: #0a84a6;
  stroke: #0b302a;
  stroke-width: 3;
  stroke-linejoin: round;
}

.fish-icon circle {
  fill: #0b302a;
}

.fish-icon.bluegill path {
  fill: #ffd700;
}

.fish-icon.baitfish path {
  fill: #8b5a2b;
}

.fish-area-pill b,
.fish-area-pill small {
  display: block;
  overflow-wrap: anywhere;
}

.challenge-preview-card {
  display: grid;
  gap: 12px;
}

.challenge-topline,
.challenge-meta-row,
.challenge-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.challenge-preview-card h2 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.challenge-preview-card p {
  margin: 0;
  line-height: 1.42;
}

.challenge-meta-row {
  flex-wrap: wrap;
}

.challenge-meta-row span {
  min-height: 30px;
  padding: 6px 8px;
  color: var(--green);
  background: rgba(46, 207, 192, 0.12);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.challenge-progress {
  height: 9px;
  overflow: hidden;
  background: rgba(18, 53, 47, 0.1);
  border-radius: 999px;
}

.challenge-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0a84a6, #2ecfc0, #ffd700);
}

.participant-stack {
  display: flex;
  align-items: center;
}

.participant-stack span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-right: -7px;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--white);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.compact-action {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.hero-workspace {
  position: relative;
  display: grid;
  min-height: clamp(230px, 34vh, 360px);
  overflow: hidden;
  margin-bottom: 14px;
  width: 100%;
  background: #0c211e;
  border-radius: var(--radius);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 19, 0.82), rgba(7, 22, 19, 0.24) 58%, rgba(7, 22, 19, 0.06)),
    linear-gradient(0deg, rgba(7, 22, 19, 0.9), rgba(7, 22, 19, 0.05) 38%),
    url("../public/assets/media/hero-angler-sunrise.jpg") center 56% / cover;
  transform: scale(1.01);
  z-index: -1;
}

.hero-content {
  align-self: end;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--white);
}

.kicker,
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-content p {
  max-width: 650px;
  margin-bottom: 18px;
  color: rgba(255, 254, 250, 0.88);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.condition-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.condition-pill {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  gap: 8px;
  padding: 7px 11px;
  color: var(--white);
  background: rgba(255, 254, 250, 0.14);
  border: 1px solid rgba(255, 254, 250, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  overflow-wrap: anywhere;
  white-space: normal;
}

.condition-pill b {
  flex: 0 0 auto;
  color: var(--gold);
  white-space: nowrap;
}

.plan-actions,
.plan-next-actions,
.loop-strip,
.tackle-tools,
.custom-lure-fields {
  display: flex;
  align-items: center;
}

.plan-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.loop-strip {
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.loop-strip span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  gap: 8px;
  padding: 0 12px;
  color: var(--green);
  background: rgba(251, 250, 244, 0.86);
  border: 1px solid rgba(18, 53, 47, 0.12);
  border-radius: var(--radius);
  font-weight: 900;
  white-space: nowrap;
}

.loop-strip b {
  display: grid;
  width: 24px;
  flex: 0 0 24px;
  height: 24px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.78rem;
}

.tabbar {
  position: sticky;
  z-index: 18;
  top: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px;
  width: 100%;
  background: rgba(251, 250, 244, 0.92);
  border: 1px solid rgba(18, 53, 47, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 0;
  gap: 8px;
  color: var(--muted);
  background: transparent;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 800;
}

.tab-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-button.active {
  color: var(--white);
  background: var(--green);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 14px;
  min-width: 0;
}

.content-grid.two-up {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
}

.panel {
  padding: clamp(16px, 2.2vw, 24px);
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading > div {
  min-width: 0;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  gap: 8px;
  padding: 0 14px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  background: var(--green);
  color: var(--white);
}

.primary-button.active {
  background: var(--coral);
}

.primary-button.warm {
  background: var(--gold);
  color: var(--ink);
}

.secondary-button {
  color: var(--green);
  background: rgba(30, 95, 82, 0.1);
}

.secondary-button.inverse {
  color: var(--white);
  background: rgba(255, 254, 250, 0.16);
  border: 1px solid rgba(255, 254, 250, 0.24);
}

.secondary-button.compact {
  min-height: 36px;
  padding: 0 11px;
  font-size: 0.86rem;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.field span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.wide-field {
  grid-column: 1 / -1;
}

.input-row {
  gap: 8px;
}

input,
select,
textarea {
  width: 100%;
  min-height: var(--tap);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

input,
select {
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(231, 179, 79, 0.45);
  outline-offset: 2px;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--green-2);
  background: transparent;
  border: 0;
}

.conditions-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 16px;
}

.conditions-panel .panel-heading {
  grid-column: 1 / -1;
}

.segmented {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented legend {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.segmented div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  background: rgba(18, 53, 47, 0.07);
  border-radius: var(--radius);
}

.segmented button {
  min-height: 40px;
  color: var(--green);
  background: transparent;
  border-radius: calc(var(--radius) - 3px);
  font-size: 0.88rem;
  font-weight: 800;
}

.segmented button[aria-pressed="true"] {
  color: var(--white);
  background: var(--green-2);
}

.slider-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.timer {
  margin: -4px 0 14px;
  padding: 10px 12px;
  color: var(--green);
  background: rgba(231, 179, 79, 0.18);
  border: 1px solid rgba(231, 179, 79, 0.34);
  border-radius: var(--radius);
  font-weight: 800;
}

.plan-next-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.spot-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--green);
  background: rgba(64, 121, 140, 0.12);
  border: 1px solid rgba(64, 121, 140, 0.24);
  border-radius: var(--radius);
}

.spot-card.verified {
  background: rgba(30, 95, 82, 0.12);
  border-color: rgba(30, 95, 82, 0.28);
}

.spot-card.uncertain {
  background: rgba(214, 106, 75, 0.1);
  border-color: rgba(214, 106, 75, 0.26);
}

.spot-card h3,
.spot-card p {
  margin: 0;
}

.spot-card p:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.spot-actions {
  display: flex;
  justify-content: flex-start;
}

.recommendation-stack {
  display: grid;
  gap: 12px;
}

.recommendation-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.recommendation-card.featured {
  border-color: rgba(30, 95, 82, 0.34);
  box-shadow: inset 4px 0 0 var(--green-2);
}

.recommendation-rank {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 900;
}

.recommendation-title {
  gap: 12px;
  margin-bottom: 8px;
}

.recommendation-title .eyebrow {
  margin-bottom: 4px;
  color: var(--blue);
}

.lure-meta {
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.lure-meta span {
  min-width: 0;
  padding: 5px 8px;
  color: var(--green);
  background: rgba(30, 95, 82, 0.1);
  border-radius: calc(var(--radius) - 3px);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: break-word;
}

.reason-list {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.first-casts {
  margin-bottom: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(231, 179, 79, 0.16);
  border: 1px solid rgba(231, 179, 79, 0.32);
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.45;
}

.instruction-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.instruction-list div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
}

.instruction-list dt {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.instruction-list dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.42;
  overflow-wrap: break-word;
}

.coach-card {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  color: var(--green);
  background:
    radial-gradient(circle at top right, rgba(64, 121, 140, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 254, 250, 0.98), rgba(244, 240, 230, 0.92)),
    var(--white);
  border: 1px solid rgba(64, 121, 140, 0.28);
  border-radius: var(--radius);
}

.coach-card[hidden] {
  display: none;
}

.coach-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.coach-heading h3,
.coach-summary,
.coach-hint h4,
.coach-hint p,
.coach-tip p,
.coach-safety,
.coach-warning {
  margin: 0;
}

.coach-heading span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--green);
  background: rgba(255, 254, 250, 0.72);
  border: 1px solid rgba(18, 53, 47, 0.08);
  border-radius: calc(var(--radius) - 3px);
  font-size: 0.72rem;
  font-weight: 900;
}

.coach-summary {
  max-width: 52ch;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.coach-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coach-chip {
  display: inline-grid;
  min-width: 104px;
  max-width: 190px;
  gap: 2px;
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(64, 121, 140, 0.1);
  border: 1px solid rgba(64, 121, 140, 0.18);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.coach-chip b {
  color: var(--blue);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.coach-hints {
  display: grid;
  gap: 8px;
}

.coach-hint {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.72);
  border: 1px solid rgba(18, 53, 47, 0.08);
  border-radius: var(--radius);
}

.coach-hint-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: var(--radius);
}

.coach-hint-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.coach-hint-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.coach-hint-top h4 {
  color: var(--green);
  font-size: 0.94rem;
}

.coach-hint-top span {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: var(--blue);
  background: rgba(64, 121, 140, 0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.coach-hint p {
  line-height: 1.42;
}

.coach-hint small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.coach-tip {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--ink);
  background: rgba(231, 179, 79, 0.18);
  border: 1px solid rgba(231, 179, 79, 0.34);
  border-radius: var(--radius);
}

.coach-tip b {
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.coach-safety,
.coach-warning {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.media-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.media-panel img,
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-panel::after {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  content: "";
  background: linear-gradient(0deg, rgba(7, 22, 19, 0.82), transparent);
}

.media-panel div {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
}

.tackle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tackle-tools {
  gap: 10px;
  margin-bottom: 14px;
}

.tackle-tools .field {
  flex: 1 1 180px;
}

.tackle-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  gap: 10px;
  padding: 12px;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tackle-card.selected {
  border-color: var(--green-2);
  box-shadow: inset 0 0 0 2px rgba(30, 95, 82, 0.28);
}

.tackle-name,
.tackle-detail {
  display: block;
}

.tackle-name {
  font-weight: 900;
}

.tackle-detail {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.tackle-tag {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 6px;
  color: var(--green);
  background: rgba(231, 179, 79, 0.18);
  border-radius: calc(var(--radius) - 3px);
  font-size: 0.72rem;
  font-weight: 900;
}

.custom-lure-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.compact-heading {
  margin-bottom: 12px;
}

.custom-lure-fields {
  align-items: start;
  gap: 10px;
}

.custom-lure-fields .field {
  flex: 1 1 160px;
}

.lure-icon {
  width: 56px;
  height: 42px;
  flex: 0 0 auto;
}

.lure-icon .line,
.lure-icon .hook,
.lure-icon .legs {
  fill: none;
  stroke: #3b3a32;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.lure-icon .blade,
.lure-icon .bill {
  fill: #e7b34f;
  stroke: #3b3a32;
  stroke-width: 3;
}

.lure-icon .skirt {
  fill: #8fb36a;
  stroke: #3b3a32;
  stroke-width: 3;
}

.lure-icon .worm {
  fill: none;
  stroke: #6d5840;
  stroke-linecap: round;
  stroke-width: 12;
}

.lure-icon .bait {
  fill: #d9e9ef;
  stroke: #3b3a32;
  stroke-width: 3;
}

.lure-icon .frog,
.lure-icon .head {
  fill: #4e7d4c;
  stroke: #3b3a32;
  stroke-width: 3;
}

.lure-icon .eye {
  fill: #0f1b18;
}

.lure-icon .mouth {
  fill: #f5f1e6;
  stroke: #3b3a32;
  stroke-width: 3;
}

.observation-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.observation-button {
  min-width: 0;
  min-height: 46px;
  padding: 0 10px;
  color: var(--green);
  background: rgba(18, 53, 47, 0.08);
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
}

.observation-button.active {
  color: var(--white);
  background: var(--green);
}

.adjustment-card {
  min-height: 190px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.adjustment-card .eyebrow {
  color: var(--coral);
}

.adjustment-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.adjustment-done {
  margin-top: 16px;
}

.photo-card {
  min-height: 360px;
  overflow: hidden;
  padding: 0;
  background: var(--green);
}

.log-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
}

.progress-panel {
  align-content: start;
}

.progress-ring {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(18, 53, 47, 0.1);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green-2), var(--gold));
  border-radius: inherit;
}

.mission-list,
.badge-list {
  display: grid;
  gap: 8px;
}

.mission-list {
  margin-bottom: 14px;
}

.mission-item,
.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mission-item {
  justify-content: space-between;
}

.badge-item {
  justify-content: flex-start;
}

.mission-item span,
.badge-item b {
  min-width: 0;
  overflow-wrap: break-word;
}

.badge-item b {
  flex: 1 1 auto;
}

.mission-item b {
  color: var(--blue);
}

.mission-item.complete,
.badge-item.earned {
  border-color: rgba(30, 95, 82, 0.32);
  background: rgba(30, 95, 82, 0.08);
}

.mission-item.next {
  border-color: rgba(231, 179, 79, 0.52);
  box-shadow: inset 4px 0 0 var(--gold);
}

.badge-item span {
  display: grid;
  width: 34px;
  height: 28px;
  place-items: center;
  color: var(--green);
  background: rgba(18, 53, 47, 0.08);
  border-radius: calc(var(--radius) - 3px);
  font-size: 0.75rem;
  font-weight: 900;
}

.badge-item span svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.log-list {
  display: grid;
  gap: 10px;
}

.log-item {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.log-item p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.log-item small {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
}

.empty-state {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: rgba(18, 53, 47, 0.06);
  border-radius: var(--radius);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 28px 0 0;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.mobile-greeting,
.mobile-filter-chips,
.mobile-species-tags,
.spot-map-preview,
.spot-social-row {
  display: none;
}

.spot-detail-row {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  padding: 0 16px 16px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  max-width: min(340px, calc(100vw - 36px));
  padding: 13px 15px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(15, 27, 24, 0.25);
  font-weight: 900;
}

.toast[hidden] {
  display: none;
}

.legal-page {
  width: min(860px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.legal-page .brand {
  margin-bottom: 18px;
}

.legal-panel h1 {
  max-width: none;
  color: var(--green);
  font-size: clamp(2.2rem, 7vw, 4.4rem);
}

.legal-panel h2 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.2rem;
}

.legal-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.auth-page {
  min-height: 100vh;
  background: #f4f0e6;
}

.auth-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  opacity: 0.45;
  filter: blur(7px);
  transform: scale(1.015);
  pointer-events: none;
}

.ghost-topbar {
  margin: 0;
}

.auth-ghost-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.ghost-panel {
  width: min(680px, 80vw);
  margin: 16px auto 0;
}

.auth-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: calc(24px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
}

.auth-card {
  position: relative;
  width: min(100%, 432px);
  padding: 54px 28px 30px;
  color: #111;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 27, 24, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 27, 24, 0.18);
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #111;
  border-radius: 999px;
  text-decoration: none;
}

.auth-close:hover {
  background: rgba(15, 27, 24, 0.06);
}

.auth-close svg,
.auth-provider svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.auth-provider svg {
  fill: none;
  stroke: currentColor;
}

.auth-provider[data-auth-provider="apple"] svg {
  fill: currentColor;
  stroke: none;
}

.auth-copy {
  margin: 0 auto 34px;
  text-align: center;
}

.auth-copy h1 {
  max-width: none;
  margin-bottom: 18px;
  color: #111;
  font-size: clamp(2.3rem, 7vw, 3.15rem);
  font-weight: 450;
  line-height: 1.05;
}

.auth-copy p {
  max-width: 360px;
  margin: 0 auto;
  color: #222;
  font-size: 1.12rem;
  line-height: 1.45;
}

.auth-provider-stack,
.auth-email-form {
  display: grid;
  gap: 12px;
}

.auth-provider,
.auth-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  gap: 12px;
  width: 100%;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 1.04rem;
  font-weight: 750;
  cursor: pointer;
}

.auth-provider {
  color: #111;
  background: #fff;
  border: 1px solid #d9d9d9;
}

.auth-provider:hover,
.auth-provider:focus-visible {
  border-color: #111;
}

.google-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #4285f4;
  font-weight: 950;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 32px 0 24px;
  color: #111;
  font-size: 0.92rem;
  font-weight: 750;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  content: "";
  background: #d9d9d9;
}

.auth-email-form input {
  min-height: 62px;
  padding: 0 22px;
  color: #111;
  background: #fff;
  border: 1.5px solid #777;
  border-radius: 999px;
  font-size: 1.08rem;
}

.auth-email-form input:focus {
  border-color: #111;
  outline: 3px solid rgba(18, 53, 47, 0.14);
}

.auth-email-form input[aria-invalid="true"] {
  border-color: var(--coral);
  outline: 3px solid rgba(214, 106, 75, 0.18);
}

.auth-continue {
  margin-top: 12px;
  color: #fff;
  background: #111;
  border: 0;
}

.auth-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.35;
}

.auth-footnote {
  margin: 18px 0 0;
  color: #626262;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
}

.auth-footnote a {
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.busy {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .content-grid,
  .content-grid.two-up,
  .spot-feature-grid {
    grid-template-columns: 1fr;
  }

  .featured-spot-card {
    grid-row: auto;
  }

  .weather-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tabbar {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    width: min(680px, calc(100% - 24px));
    margin: 0 auto;
    box-shadow: 0 18px 45px rgba(15, 27, 24, 0.22);
  }
}

@media (max-width: 640px) {
  .app-shell {
    max-width: none;
    margin: 0;
    padding: 12px 12px 112px;
  }

  .topbar {
    margin: -12px -12px 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .header-auth-link {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .spot-welcome {
    padding: 14px;
  }

  .spot-welcome h1 {
    max-width: none;
  }

  .spot-welcome p:last-child {
    font-size: 0.92rem;
  }

  .weather-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-stat {
    min-height: 82px;
  }

  .featured-spot-media {
    min-height: 248px;
  }

  .spot-chip-layer {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .featured-spot-body {
    grid-template-columns: minmax(0, 1fr) 42px;
    padding: 14px;
  }

  .spot-navigate-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .spot-quick-plan {
    grid-template-columns: 1fr;
  }

  .mini-spark {
    width: 100%;
  }

  .fish-area-card,
  .challenge-preview-card {
    padding: 14px;
  }

  .challenge-topline,
  .challenge-bottom-row {
    align-items: stretch;
    flex-direction: column;
  }

  .challenge-topline .secondary-button,
  .challenge-bottom-row .primary-button {
    width: 100%;
  }

  .hero-workspace {
    min-height: 214px;
  }

  .hero-content {
    padding: 20px 16px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero-content p {
    font-size: 0.96rem;
  }

  .condition-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .condition-pill {
    justify-content: flex-start;
  }

  .condition-pill:first-child {
    grid-column: 1 / -1;
  }

  .loop-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .loop-strip span {
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    font-size: 0.85rem;
  }

  .plan-actions .primary-button,
  .plan-actions .secondary-button,
  .input-row .secondary-button {
    width: 100%;
  }

  .input-row {
    align-items: stretch;
    flex-direction: column;
  }

  .tab-button {
    flex-direction: column;
    gap: 3px;
    font-size: 0.72rem;
  }

  .tab-button svg {
    width: 19px;
    height: 19px;
  }

  .conditions-panel,
  .slider-grid,
  .tackle-grid,
  .observation-grid,
  .tackle-tools,
  .custom-lure-fields {
    grid-template-columns: 1fr;
  }

  .tackle-tools,
  .custom-lure-fields {
    display: grid;
  }

  .observation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instruction-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .recommendation-card {
    grid-template-columns: 1fr;
  }

  .recommendation-rank {
    width: 100%;
    height: 32px;
  }

  .media-panel,
  .photo-card {
    min-height: 260px;
  }

  .panel-heading {
    align-items: flex-start;
  }

  .panel-heading .primary-button,
  .panel-heading .secondary-button {
    width: 100%;
  }

  .auth-overlay {
    align-items: start;
    padding: calc(18px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom));
  }

  .auth-card {
    width: 100%;
    padding: 50px 20px 24px;
    border-radius: 22px;
  }

  .auth-copy {
    margin-bottom: 28px;
  }

  .auth-copy h1 {
    font-size: 2.25rem;
  }

  .auth-copy p {
    font-size: 1rem;
  }

  .auth-provider,
  .auth-continue {
    min-height: 56px;
    font-size: 1rem;
  }

  body {
    background: #f7f8fb;
  }

  .app-shell {
    max-width: 430px;
    background:
      linear-gradient(180deg, rgba(238, 249, 255, 0.88), transparent 210px),
      #f7f8fb;
  }

  .topbar {
    min-height: 58px;
    margin-bottom: 8px;
    padding-top: calc(8px + env(safe-area-inset-top));
    padding-bottom: 8px;
    background: rgba(247, 248, 251, 0.92);
    border-bottom: 0;
  }

  .brand {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 1px;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .brand-mark {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
  }

  .brand > span {
    color: transparent;
    font-size: 0;
  }

  .brand > span::before {
    content: "Hi Henry,";
    color: #101828;
    font-size: 0.8rem;
    font-weight: 900;
  }

  .mobile-greeting {
    display: none;
    color: #697386;
    font-size: 0.62rem;
    font-weight: 700;
  }

  .topbar-actions {
    display: none;
  }

  .header-auth-link {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.8rem;
  }

  .header-auth-link.secondary {
    display: none;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .spot-dashboard {
    gap: 8px;
    margin-bottom: 8px;
  }

  .spot-welcome,
  .spot-search-card,
  .weather-stat,
  .featured-spot-card,
  .fish-area-card,
  .challenge-preview-card,
  .panel {
    background: #fff;
    border-color: #edf0f4;
    box-shadow: 0 12px 28px rgba(35, 55, 80, 0.08);
  }

  .spot-welcome {
    display: none;
  }

  .spot-welcome .eyebrow {
    margin-bottom: 4px;
    font-size: 0.62rem;
  }

  .spot-welcome h1 {
    margin-bottom: 3px;
    font-size: 1.2rem;
    line-height: 1.04;
  }

  .spot-welcome p:last-child {
    max-width: 25ch;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .spot-bell,
  .spot-pin-button,
  .floating-back,
  .floating-bookmark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .spot-search-card {
    padding: 12px;
  }

  .spot-search-card label {
    display: none;
    margin-bottom: 8px;
    color: #9199a8;
    font-size: 0.67rem;
    font-weight: 700;
  }

  .spot-search-row {
    grid-template-columns: 18px minmax(0, 1fr) 1px 36px;
    min-height: 42px;
    padding: 3px 4px 3px 12px;
    background: #fff;
    border-color: #edf0f4;
    box-shadow: 0 8px 18px rgba(35, 55, 80, 0.05);
  }

  .spot-search-row::after {
    display: block;
    width: 1px;
    height: 24px;
    content: "";
    background: #dce2ea;
  }

  .spot-search-row input {
    height: 34px;
    color: #101828;
    font-size: 0.76rem;
  }

  .spot-pin-button {
    color: #101828;
    background: transparent;
  }

  .mobile-filter-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    gap: 8px;
    overflow-x: auto;
    padding: 0 1px 2px;
    scrollbar-width: none;
  }

  .mobile-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .mobile-filter-chips button {
    min-height: 30px;
    color: #101828;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    box-shadow: 0 8px 18px rgba(35, 55, 80, 0.05);
    font-size: 0.64rem;
    font-weight: 850;
  }

  .mobile-filter-chips button.active {
    color: #fff;
    background: #315dff;
    border-color: #315dff;
  }

  .weather-stat-grid {
    display: none;
  }

  .weather-stat {
    min-height: 58px;
    gap: 3px;
    padding: 7px 5px;
  }

  .weather-stat span {
    width: 23px;
    height: 23px;
  }

  .weather-stat svg {
    width: 14px;
    height: 14px;
  }

  .weather-stat b {
    font-size: 0.68rem;
  }

  .weather-stat small {
    font-size: 0.55rem;
  }

  .weather-stat.featured {
    background: linear-gradient(135deg, #0a84a6, #2ecfc0);
  }

  .spot-feature-grid {
    gap: 9px;
  }

  .featured-spot-media {
    min-height: 142px;
    margin: 0 12px 12px;
    overflow: hidden;
    border-radius: 6px;
  }

  .floating-back,
  .floating-bookmark {
    top: 10px;
  }

  .floating-back {
    left: 10px;
  }

  .floating-bookmark {
    right: 10px;
  }

  .spot-chip-layer span {
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .featured-spot-body {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 10px;
    padding: 13px 13px 10px;
  }

  .featured-spot-body h2 {
    color: #101828;
    font-size: 0.92rem;
  }

  .spot-gps {
    color: #315dff;
    font-size: 0.63rem;
    font-weight: 800;
  }

  .spot-social-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
  }

  .spot-social-row span,
  .spot-social-row b {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    margin-right: -6px;
    color: #fff;
    background: #315dff;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 900;
  }

  .spot-social-row span:nth-child(1) {
    background: #0a84a6;
  }

  .spot-social-row span:nth-child(2) {
    background: #8b5a2b;
  }

  .spot-social-row span:nth-child(3) {
    background: #ff7f00;
  }

  .spot-social-row small {
    min-width: 0;
    margin-left: 12px;
    color: #8a93a3;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.15;
  }

  .spot-reason {
    display: -webkit-box;
    overflow: hidden;
    color: #697386;
    font-size: 0.7rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .spot-quick-plan {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    padding-top: 0;
  }

  .mini-spark {
    width: 50px;
    height: 30px;
  }

  .spot-detail-row {
    display: none;
  }

  .spot-navigate-button {
    width: 40px;
    height: 40px;
    color: #fff;
    background: #315dff;
    border-radius: 8px;
  }

  .mobile-species-tags {
    position: absolute;
    inset: 0;
    display: none;
    pointer-events: none;
  }

  .mobile-species-tags span {
    position: absolute;
    padding: 4px 7px;
    color: #101828;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(35, 55, 80, 0.18);
    font-size: 0.56rem;
    font-weight: 850;
  }

  .mobile-species-tags .bass {
    top: 36%;
    left: 45%;
  }

  .mobile-species-tags .bluegill {
    top: 50%;
    right: 7%;
  }

  .mobile-species-tags .trout {
    top: 62%;
    left: 8%;
  }

  .spot-map-preview {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: block;
    width: 78px;
    height: 58px;
    overflow: hidden;
    background:
      radial-gradient(circle at 58% 44%, #ff7f00 0 4px, transparent 5px),
      linear-gradient(135deg, transparent 45%, rgba(49, 93, 255, 0.28) 46% 48%, transparent 49%),
      linear-gradient(90deg, #dff2ff 0 48%, #c8eadf 49% 100%);
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(35, 55, 80, 0.22);
  }

  .spot-map-preview span {
    position: absolute;
    top: 21px;
    left: 42px;
    width: 10px;
    height: 10px;
    background: #315dff;
    border: 2px solid #fff;
    border-radius: 999px;
  }

  .fish-area-strip {
    grid-auto-columns: 184px;
    grid-auto-flow: column;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .fish-area-strip::-webkit-scrollbar {
    display: none;
  }

  .fish-area-pill {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 62px;
    min-width: 184px;
  }

  .fish-icon {
    width: 50px;
    height: 32px;
  }

  .fish-area-card .eyebrow,
  .featured-spot-body .eyebrow,
  .recommendation-panel .eyebrow {
    display: none;
    color: #315dff;
  }

  .fish-area-card {
    padding: 12px;
  }

  .fish-area-card .panel-heading {
    margin-bottom: 10px;
  }

  .fish-area-pill b {
    font-size: 0.75rem;
    line-height: 1.05;
  }

  .fish-area-pill small {
    font-size: 0.62rem;
    line-height: 1.12;
  }

  .challenge-preview-card {
    gap: 10px;
  }

  .challenge-preview-card .eyebrow,
  .challenge-preview-card p,
  .challenge-meta-row {
    display: none;
  }

  .challenge-preview-card h2 {
    font-size: 1.06rem;
  }

  .challenge-preview-card p {
    font-size: 0.84rem;
  }

  .hero-workspace {
    display: none;
  }

  .loop-strip {
    display: none;
  }

  #planView .content-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #planView .recommendation-panel {
    order: 1;
  }

  #planView .conditions-panel {
    order: 2;
  }

  .panel {
    padding: 13px;
  }

  .panel-heading {
    gap: 10px;
    margin-bottom: 12px;
  }

  .panel-heading .primary-button,
  .panel-heading .secondary-button {
    width: auto;
  }

  .panel-heading h2,
  h2 {
    font-size: 1.18rem;
  }

  .recommendation-panel .panel-heading {
    align-items: center;
  }

  .timer {
    display: none;
    margin-bottom: 10px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .plan-next-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .secondary-button.compact {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .recommendation-stack {
    gap: 9px;
  }

  .recommendation-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .recommendation-rank {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .recommendation-title {
    gap: 9px;
  }

  .recommendation-title .lure-icon {
    width: 48px;
    height: 36px;
  }

  .recommendation-title .eyebrow {
    margin-bottom: 3px;
    font-size: 0.62rem;
  }

  .recommendation-title h3 {
    font-size: 1rem;
  }

  .lure-meta {
    gap: 5px;
    margin-bottom: 8px;
  }

  .lure-meta span {
    font-size: 0.7rem;
  }

  .first-casts {
    padding: 9px 10px;
    font-size: 0.84rem;
  }

  .reason-list {
    display: none;
  }

  .instruction-list {
    display: none;
    gap: 7px;
  }

  .instruction-list div {
    padding: 8px 9px;
    background: rgba(18, 53, 47, 0.04);
    border-radius: var(--radius);
  }

  .instruction-list dt {
    font-size: 0.68rem;
  }

  .instruction-list dd {
    font-size: 0.82rem;
  }

  .conditions-panel {
    gap: 12px;
  }

  .spot-card {
    padding: 11px;
  }

  .field {
    gap: 6px;
    font-size: 0.78rem;
  }

  input,
  select,
  textarea {
    min-height: 42px;
  }

  .segmented div {
    gap: 4px;
  }

  .segmented button {
    min-height: 36px;
    font-size: 0.78rem;
  }

  .tabbar {
    bottom: calc(9px + env(safe-area-inset-bottom));
    min-height: 60px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.96);
    border-color: #edf0f4;
    box-shadow: 0 14px 34px rgba(35, 55, 80, 0.16);
  }

  .tab-button {
    min-height: 48px;
    color: #697386;
    font-size: 0.68rem;
  }

  .tab-button.active {
    color: #fff;
    background: #315dff;
  }

  .primary-button {
    background: #315dff;
  }

  .auth-background .topbar-actions {
    display: none;
  }
}
