/* How to Fish Companion — Shared Styles */
/* Brand: Ocean Blue #1a5276 + Coral Orange #e67e22 + Sunset Yellow #f39c12 */

:root {
  --color-primary: #1a5276;
  --color-primary-dark: #12405c;
  --color-primary-light: #2980b9;
  --color-accent: #e67e22;
  --color-accent-light: #f39c12;
  --color-bg: #f8f9fa;
  --color-bg-alt: #eef2f5;
  --color-white: #ffffff;
  --color-text: #2c3e50;
  --color-text-light: #5d6d7e;
  --color-text-muted: #7f8c8d;
  --color-border: #d5dbdb;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --color-error: #e74c3c;
  --color-ocean-deep: #0d3b56;
  --color-sand: #fdf6ec;
  --color-foam: #e8f4f8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

a {
  color: var(--color-primary-light);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* Layout container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}
.header-brand:hover { text-decoration: none; }
.header-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.header-brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.header-brand-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  background: var(--color-sand);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--color-accent-light);
  white-space: nowrap;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-primary);
  line-height: 1;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover {
  background: var(--color-foam);
  color: var(--color-primary);
  text-decoration: none;
}
.main-nav a.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 12px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  .main-nav a {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background: var(--color-primary);
  color: var(--color-white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero h1 {
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(230,126,34,0.4);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 6px 16px rgba(230,126,34,0.5);
  color: var(--color-white);
}
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  color: var(--color-white);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Game facts strip */
.facts-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.facts-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.fact-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fact-item strong {
  color: var(--color-primary);
}
.fact-sep {
  color: var(--color-border);
  user-select: none;
}

/* Sections */
.section {
  padding: 48px 0;
}
.section-alt {
  background: var(--color-bg-alt);
}
.section-sand {
  background: var(--color-sand);
}
.section-foam {
  background: var(--color-foam);
}
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-header h2 {
  margin-bottom: 8px;
}
.section-header p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
}

/* Card */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}
.card-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  flex: 1;
  line-height: 1.55;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-light);
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.card-tag-quest {
  background: var(--color-foam);
  color: var(--color-primary);
}
.card-tag-collect {
  background: var(--color-sand);
  color: var(--color-accent);
}
.card-tag-fix {
  background: #fde8e8;
  color: var(--color-error);
}

/* Stuck cards — special styling */
.stuck-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: var(--color-text);
  display: block;
}
.stuck-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
  text-decoration: none;
}
.stuck-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}
.stuck-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}
.stuck-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Quick facts table */
.quick-facts {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.quick-facts table {
  width: 100%;
  border-collapse: collapse;
}
.quick-facts th,
.quick-facts td {
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-bg-alt);
  font-size: 0.9rem;
}
.quick-facts th {
  font-weight: 600;
  color: var(--color-primary);
  width: 40%;
  background: var(--color-bg-alt);
}
.quick-facts tr:last-child th,
.quick-facts tr:last-child td {
  border-bottom: none;
}

/* Screenshot section */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.screenshot-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.screenshot-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-white);
}
@media (max-width: 768px) {
  .screenshots-grid { grid-template-columns: 1fr; }
}

/* Trust section */
.trust-list {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.trust-list li {
  padding: 14px 20px;
  margin-bottom: 10px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary-light);
  font-size: 0.95rem;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}

/* Disclaimer */
.disclaimer-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
  background: var(--color-sand);
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}
.disclaimer-box strong {
  color: var(--color-accent);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--color-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover {
  background: var(--color-foam);
}
.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background: var(--color-ocean-deep);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 24px;
  margin-top: 48px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.footer-brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
}
.footer-brand-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent-light);
  background: rgba(230,126,34,0.2);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(230,126,34,0.4);
}
.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-nav-group h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.footer-nav-group ul {
  list-style: none;
  padding: 0;
}
.footer-nav-group li {
  margin-bottom: 8px;
}
.footer-nav-group a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.footer-nav-group a:hover {
  color: var(--color-white);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.7;
}
.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}
.footer-bottom a:hover {
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-subtitle { font-size: 1rem; }
  .section { padding: 32px 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .facts-strip-inner { gap: 12px; font-size: 0.8rem; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-nav { gap: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .stuck-card { padding: 20px 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Guide page components */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.breadcrumbs a { color: var(--color-primary-light); }
.eyebrow {
  margin-bottom: 10px;
  color: var(--color-accent-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.guide-hero { padding-top: 48px; }
.guide-hero .hero-subtitle strong { color: var(--color-white); }
.step-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 16px;
}
.step-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.step-card h3 { margin-bottom: 7px; color: var(--color-primary); }
.step-card p { color: var(--color-text-light); line-height: 1.65; }
.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
}
.checklist-box {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.checklist { list-style: none; }
.checklist li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--color-bg-alt);
  position: relative;
  color: var(--color-text-light);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-primary-light);
  border-radius: 3px;
}
.checklist strong { color: var(--color-primary); }
.notice-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 18px 20px;
  background: var(--color-sand);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}
.notice-box strong { color: var(--color-accent); }
.source-note {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.source-note h2 { margin-bottom: 12px; }
.source-note p {
  margin-bottom: 12px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.65;
}
.source-note p:last-child { margin-bottom: 0; }

/* Bean achievement timer and route table */
.timer-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.timer-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.timer-panel-header .eyebrow { margin-bottom: 5px; color: var(--color-accent); }
.timer-panel-header h3 { color: var(--color-primary); }
.timer-badge {
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--color-sand);
  border: 1px solid var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.timer-display {
  margin: 8px 0 4px;
  color: var(--color-primary-dark);
  font-variant-numeric: tabular-nums;
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-align: center;
}
.timer-display.timer-over { color: var(--color-error); }
.timer-status {
  min-height: 1.6em;
  color: var(--color-text-light);
  font-size: 0.92rem;
  text-align: center;
}
.timer-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}
.timer-controls .btn { min-width: 120px; justify-content: center; }
.timer-splits {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--color-bg-alt);
  padding-top: 16px;
}
.split-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 92px 112px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.split-row > div { display: grid; gap: 2px; }
.split-row strong { color: var(--color-primary); }
.split-row span { color: var(--color-text-muted); font-size: 0.8rem; }
.split-row output {
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.split-row .split-button { padding: 7px 10px; font-size: 0.8rem; }
.split-row.split-marked { border-color: var(--color-success); background: #f0faf4; }
.split-row.split-marked output { color: var(--color-success); font-weight: 700; }
.timer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-bg-alt);
}
.timer-footer p { color: var(--color-text-muted); font-size: 0.8rem; line-height: 1.5; }
.timer-footer code {
  padding: 1px 4px;
  background: var(--color-bg-alt);
  border-radius: 3px;
  font-family: Consolas, monospace;
  font-size: 0.78rem;
}
.text-button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary-light);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
}
.text-button:hover { color: var(--color-primary-dark); }
.route-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.route-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.split-table { width: 100%; }
.route-table th,
.route-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-bg-alt);
  text-align: left;
  vertical-align: top;
  font-size: 0.88rem;
}
.route-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.route-table tbody th { width: 16%; color: var(--color-primary); background: var(--color-bg); }
.route-table tbody td { color: var(--color-text-light); line-height: 1.55; }
.route-table tbody td:nth-child(2) { width: 15%; color: var(--color-accent); white-space: nowrap; }
.route-table tr:last-child th,
.route-table tr:last-child td { border-bottom: none; }
.route-note { margin-top: 18px; }
.route-note p { color: var(--color-text-light); line-height: 1.65; }
.route-note strong { color: var(--color-primary); }

@media (max-width: 640px) {
  .timer-panel { padding: 20px 14px; }
  .timer-panel-header { align-items: center; }
  .timer-panel-header h3 { font-size: 1.1rem; }
  .timer-badge { font-size: 0.72rem; }
  .split-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .split-row output { text-align: right; }
  .split-row .split-button { grid-column: 1 / -1; width: 100%; }
  .timer-footer { align-items: flex-start; flex-direction: column; }
}

/* Print */
@media print {
  .site-header, .site-footer, .hero-bg, .nav-toggle { display: none; }
  .hero { background: none; color: var(--color-text); padding: 20px 0; }
  .hero h1, .hero-subtitle { color: var(--color-text); text-shadow: none; }
}

/* Fish locations database and local tracker */
.collection-progress-grid {
  max-width: 900px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.progress-card {
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.progress-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.progress-card progress {
  width: 100%;
  height: 12px;
  accent-color: var(--color-accent);
}
.progress-card p {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.tracker-actions {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.status-message {
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.filter-panel {
  max-width: 1200px;
  margin: 0 auto 22px;
  padding: 22px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(150px, 1fr));
  gap: 14px;
}
.filter-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
}
.filter-control input,
.filter-control select {
  min-height: 42px;
  width: 100%;
  padding: 9px 11px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 400;
}
.filter-control input:focus,
.filter-control select:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 1px;
}
.filter-result {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}
.tracker-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.tracker-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
}
.tracker-table th,
.tracker-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--color-bg-alt);
  text-align: left;
  vertical-align: middle;
  font-size: 0.86rem;
}
.tracker-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tracker-table tbody th {
  width: 18%;
  color: var(--color-primary);
  background: var(--color-bg);
  font-weight: 700;
}
.tracker-table tbody td {
  color: var(--color-text-light);
}
.tracker-table tbody tr:last-child th,
.tracker-table tbody tr:last-child td {
  border-bottom: none;
}
.capture-cell {
  min-width: 92px;
  white-space: nowrap;
}
.capture-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: 0.8rem;
}
.capture-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--color-success);
}
.type-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.type-regular {
  color: var(--color-primary);
  background: var(--color-foam);
}
.type-special {
  color: #8a4b08;
  background: var(--color-sand);
}
@media (max-width: 1100px) {
  .filter-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
  .filter-control-search { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .collection-progress-grid { grid-template-columns: 1fr; }
  .tracker-actions { align-items: flex-start; flex-direction: column; }
  .filter-panel { padding: 16px; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-control-search { grid-column: auto; }
}
