/* ===== 我的钓鱼世界攻略站 — 简约风格 ===== */
:root {
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-subtle: #f0f9ff;
  --accent: #0ea5e9;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #edf4fa;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== 全页背景（无网格，纯渐变 + 光晕 + 水波） ===== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-bg > * {
  position: absolute;
  inset: 0;
}

.bg-sky {
  background:
    linear-gradient(180deg,
      #c7e4fc 0%,
      #dbeafe 12%,
      #e8f3fc 28%,
      #f2f8fc 52%,
      #f6fafd 72%,
      #edf4fa 100%);
}

.bg-horizon {
  background:
    radial-gradient(ellipse 120% 40% at 50% 72%,
      rgba(125, 211, 252, 0.22) 0%,
      rgba(186, 230, 253, 0.1) 35%,
      transparent 70%);
}

.bg-mesh {
  background:
    radial-gradient(ellipse 80% 55% at 10% 0%, rgba(56, 189, 248, 0.2) 0%, transparent 58%),
    radial-gradient(ellipse 65% 48% at 92% 8%, rgba(14, 165, 233, 0.16) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(2, 132, 199, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 45% 38% at 6% 62%, rgba(186, 230, 253, 0.18) 0%, transparent 55%);
  animation: meshShift 24s ease-in-out infinite alternate;
}

.bg-rays {
  background:
    radial-gradient(ellipse 80% 45% at 50% -8%,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.2) 35%,
      transparent 68%);
  opacity: 0.85;
  animation: raysPulse 16s ease-in-out infinite;
}

.deco-blob {
  border-radius: 50%;
  filter: blur(80px);
  animation: blobFloat 16s ease-in-out infinite;
}

.deco-blob-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 68%);
  top: -15%;
  right: -10%;
}

.deco-blob-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 68%);
  bottom: 12%;
  left: -12%;
  animation-delay: -6s;
}

.deco-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.2) 0%, transparent 68%);
  top: 38%;
  right: 8%;
  animation-delay: -10s;
}

.bg-waves {
  top: auto;
  bottom: 0;
  height: min(34vh, 280px);
}

.bg-wave-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.bg-wave-1 { animation: waveDrift 26s linear infinite; opacity: 0.75; }
.bg-wave-2 { animation: waveDrift 18s linear infinite reverse; opacity: 0.55; bottom: -3%; }
.bg-wave-3 { animation: waveDrift 32s linear infinite; opacity: 0.4; bottom: -6%; }

.bg-shimmer {
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  background-size: 250% 250%;
  animation: shimmerMove 12s ease-in-out infinite;
  opacity: 0.25;
}

.bg-noise {
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.06); }
  66% { transform: translate(-18px, 14px) scale(0.94); }
}

@keyframes meshShift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.03) translate(-0.5%, 0.5%); }
}

@keyframes raysPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.95; }
}

@keyframes waveDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmerMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-mesh, .bg-rays, .deco-blob, .bg-wave-layer, .bg-shimmer {
    animation: none;
  }

  .hero-tag-inner::before,
  .hero-tag-text {
    animation: none;
  }
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden { display: none !important; }

/* Icons */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-logo { color: var(--primary); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(186, 230, 253, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.header-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.25rem 0.35rem;
  flex-shrink: 0;
  max-width: min(58vw, 500px);
  padding: 0 0.875rem 0 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
  height: 68px;
}

.header-stat strong {
  color: var(--primary);
  font-weight: 600;
}

.header-stat-sep {
  color: var(--text-muted);
  user-select: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  max-width: min(100%, 11.5rem);
}

.logo-text {
  line-height: 1.25;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-nav {
  display: flex;
  gap: 0.15rem;
  flex: 1;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

@media (min-width: 769px) {
  .main-nav .nav-link[data-nav="spots"] {
    font-weight: 700;
    color: #92400e;
    background: linear-gradient(135deg, #fef9c3 0%, #fde047 45%, #facc15 100%);
    box-shadow: 0 1px 3px rgba(234, 179, 8, 0.28);
  }

  .main-nav .nav-link[data-nav="spots"]:hover {
    color: #78350f;
    background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #eab308 100%);
  }

  .main-nav .nav-link[data-nav="spots"].active {
    color: #78350f;
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.4);
  }
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-greeting-wrap {
  position: relative;
}

.user-greeting {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 100%;
}

.user-greeting-hi {
  flex-shrink: 0;
}

.user-name-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.user-name-btn:hover {
  color: #0284c7;
}

.user-name-btn.username-admin,
.username-admin {
  color: #dc2626;
}

.user-name-btn.username-admin:hover {
  color: #b91c1c;
}

.comment strong.username-admin,
.spot-comment-head .username-admin,
.item-meta .username-admin {
  color: #dc2626;
}

.user-profile-review {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-light);
}

.user-profile-mysubs {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-light);
}

.user-profile-mysubs.hidden {
  display: none;
}

.user-profile-review-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.user-profile-review-link:hover {
  background: var(--primary-subtle);
  color: #0284c7;
}

.user-profile-checkin {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.user-checkin-hint {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.user-checkin-btn {
  width: 100%;
}

.user-checkin-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.user-profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 4.5rem 1rem 1rem;
  background: transparent;
  pointer-events: none;
}

.user-profile-overlay.hidden {
  display: none !important;
}

.user-profile-overlay:not(.hidden) {
  pointer-events: auto;
}

.user-profile-popover {
  position: fixed;
  min-width: 260px;
  max-width: min(100vw - 2rem, 320px);
  padding: 0.875rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  z-index: 251;
  pointer-events: auto;
}

.user-profile-popover.hidden {
  display: none !important;
}

.user-profile-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.user-profile-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.user-profile-close {
  display: none;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.user-profile-close:hover {
  background: var(--border-light);
  color: var(--text);
}

.user-profile-list {
  margin: 0;
}

.user-profile-level-block {
  padding: 0.35rem 0 0.5rem;
}

.user-profile-row-level {
  padding-bottom: 0.4rem;
}

.user-exp-bar-wrap {
  padding-left: 0;
}

.user-exp-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.user-exp-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  transition: width 0.35s ease;
}

.user-exp-bar-label {
  margin: 0.35rem 0 0;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: right;
}

.user-profile-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
}

.user-profile-row dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.user-profile-row dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-subtle);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.btn-outline-light {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-outline-light:hover {
  border-color: var(--text-muted);
  background: var(--bg-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 0.4rem 0.75rem;
}

.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 0.4375rem 1rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* Pages */
.page { display: none; padding-bottom: 5rem; animation: fadeUp 0.4s ease; }
.page.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 2.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-illustration {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: min(480px, 70vw);
  height: auto;
  opacity: 0.85;
}

.hero-wave { animation: waveShift 8s ease-in-out infinite; }
.hero-wave-2 { animation: waveShift 8s ease-in-out infinite reverse; animation-delay: -2s; }

@keyframes waveShift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-12px); }
}

.deco-spark { animation: sparkPulse 3s ease-in-out infinite; }
.deco-spark:nth-child(2) { animation-delay: -1s; }
.deco-spark:nth-child(3) { animation-delay: -2s; }

@keyframes sparkPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-content { position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  width: min(100%, 640px);
  max-width: 100%;
}

.hero-tag-line {
  flex: 1;
  height: 1px;
  min-width: 2.5rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(2, 132, 199, 0.15) 20%,
    rgba(14, 165, 233, 0.45) 50%,
    rgba(2, 132, 199, 0.15) 80%,
    transparent 100%
  );
  position: relative;
}

.hero-tag-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
  transform: translateY(-50%);
}

.hero-tag-line:first-child::after { right: 0; }
.hero-tag-line:last-child::after { left: 0; }

.hero-tag-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 2rem;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(240, 249, 255, 0.9) 50%, rgba(224, 242, 254, 0.95) 100%);
  border-radius: 999px;
  border: 1px solid rgba(2, 132, 199, 0.18);
  box-shadow:
    0 2px 12px rgba(2, 132, 199, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-tag-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: tagShimmer 4s ease-in-out infinite;
}

@keyframes tagShimmer {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

.hero-tag-text {
  font-family: var(--font);
  font-size: clamp(0.875rem, 2.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  white-space: nowrap;
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 35%, #0ea5e9 65%, #0369a1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tagTextGlow 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes tagTextGlow {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-tag-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(2, 132, 199, 0.75);
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.hero-tag-sub .hero-tag-qq {
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(1.875rem, 4.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0f172a 30%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Quick Nav */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.quick-card-blue::before { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.quick-card-teal::before { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.quick-card-green::before { background: linear-gradient(90deg, #059669, #34d399); }
.quick-card-purple::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.quick-card-blue .quick-icon { background: #e0f2fe; color: #0284c7; }
.quick-card-blue .quick-icon-img {
  background: #f0fdfa;
  overflow: hidden;
}
.quick-card-teal .quick-icon { background: #cffafe; color: #0e7490; }
.quick-card-teal .quick-icon-img {
  background: #ecfeff;
  overflow: hidden;
}

.quick-icon-img img,
.page-badge-img img,
.submission-choice-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.icon-fish-guide { stroke-width: 2; }
.quick-card-green .quick-icon { background: #ecfdf5; color: #059669; }
.quick-card-purple .quick-icon { background: #f5f3ff; color: #7c3aed; }

.quick-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.quick-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.quick-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.quick-arrow {
  width: 20px;
  height: 20px;
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.quick-card:hover .quick-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

/* Sections */
.section { padding: 2.5rem 0 3rem; }

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(240, 249, 255, 0.6) 40%, transparent);
  border-radius: var(--radius);
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.section-head {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
}

.section-head .section-title {
  margin-bottom: 0.25rem;
}

.section-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.section-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.section-more:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.spot-card-gallery-catch-only {
  background: #0f172a;
}

.spot-card-has-gallery .spot-card-gallery-catch-only {
  border-radius: var(--radius) var(--radius) 0 0;
}

.section-title,
.page-header h1 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.page-header {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.page-banner {
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.page-banner-blue::before { background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, transparent 100%); }
.page-banner-teal::before { background: linear-gradient(135deg, #cffafe 0%, #ecfeff 50%, transparent 100%); }
.page-banner-green::before { background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 50%, transparent 100%); }
.page-banner-orange::before { background: linear-gradient(135deg, #ffedd5 0%, #fff7ed 50%, transparent 100%); }
.page-banner-purple::before { background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 50%, transparent 100%); }

.page-banner .page-header { position: relative; z-index: 1; }

.page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15);
  color: #fff;
}

.page-badge .icon { stroke: #fff; }

.page-banner-blue .page-badge { background: linear-gradient(135deg, #0284c7, #38bdf8); color: #fff; }
.page-banner-blue .page-badge-img {
  background: #f0fdfa;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.12);
  overflow: hidden;
}
.page-banner-teal .page-badge { background: linear-gradient(135deg, #0891b2, #22d3ee); color: #fff; }
.page-banner-teal .page-badge-img {
  background: #ecfeff;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.12);
  overflow: hidden;
}
.page-banner-green .page-badge { background: linear-gradient(135deg, #059669, #34d399); color: #fff; }
.page-banner-orange .page-badge { background: linear-gradient(135deg, #ea580c, #fb923c); color: #fff; }
.page-banner-purple .page-badge { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: #fff; }

.page-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.375rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::after { opacity: 1; }

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.1);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 10px;
  color: var(--primary);
}

.card-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.card-meta {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Fish icons */
.fish-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--fish-bg, var(--bg-subtle));
  border-radius: 50%;
  margin: 0 auto;
}

.fish-icon-wrap.lg {
  width: 112px;
  height: 112px;
}

.fish-icon-svg {
  display: block;
}

.fish-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.875rem;
}

.fish-mini {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.fish-mini:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.fish-mini .fish-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
}

.fish-mini h4 {
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.rarity {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  letter-spacing: 0.03em;
}

.rarity::before {
  content: '';
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
}

.rarity-common { background: #ecfdf5; color: #15803d; }
.rarity-common::before { background: #22c55e; }

.rarity-rare { background: #eff6ff; color: #1d4ed8; }
.rarity-rare::before { background: #3b82f6; }

.rarity-ultra { background: #f5f3ff; color: #7e22ce; }
.rarity-ultra::before { background: #a855f7; }

.rarity-protected { background: #fef2f2; color: #991b1b; }
.rarity-protected::before { background: #b91c1c; }

.fish-card-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.filter-btn .rarity {
  font-size: inherit;
  font-weight: inherit;
  padding: 0;
  background: transparent;
  color: inherit;
  letter-spacing: inherit;
}

.fish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.fish-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.fish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.fish-card:hover::before { opacity: 1; }

.fish-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.15);
}

.fish-card-header.has-photo {
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, #dbeafe 0%, #e0f2fe 100%);
}

.fish-photo {
  display: block;
  width: 100%;
  max-width: 160px;
  max-height: 120px;
  margin: 0 auto;
  object-fit: contain;
}

.fish-photo-mini {
  max-width: 72px;
  max-height: 72px;
}

.fish-photo-lg {
  max-width: 280px;
  max-height: 220px;
}

.fish-mini .fish-photo-mini {
  margin-bottom: 0.5rem;
}

.detail-header.has-photo {
  margin-bottom: 0.5rem;
}

.fish-card-header {
  padding: 1.75rem 1.25rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--surface) 100%);
}

.fish-card-body { padding: 0 1.25rem 1.25rem; }

.fish-card-body h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
}

.fish-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.4375rem 0;
  border-bottom: 1px solid var(--border-light);
}

.fish-info-row:last-of-type { border-bottom: none; }

.fish-info-row span:first-child { color: var(--text-muted); }

.fish-card-detail {
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0284c7;
  text-align: center;
  border-top: 1px solid var(--border-light);
  transition: color var(--transition);
}

.fish-card:hover .fish-card-detail {
  color: #0369a1;
}

/* Filters & Search */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.filter-group .filter-bar {
  margin-bottom: 0;
}

.spots-toolbar .filter-bar {
  margin-bottom: 0;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-row-fish-map {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 2rem;
  margin-bottom: 1rem;
}

.filter-row-fish-map .filter-group-map {
  flex: 0 1 auto;
  margin-bottom: 0;
}

.filter-row-fish-map .filter-group-species {
  flex: 1 1 280px;
  min-width: 0;
  margin-bottom: 0;
}

.species-select {
  position: relative;
  width: min(100%, 200px);
}

.species-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.4375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.species-select-trigger:hover:not(:disabled) {
  border-color: #94a3b8;
}

.species-select-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--bg);
}

.species-select.open .species-select-trigger {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.species-select-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.species-select.open .species-select-chevron {
  transform: rotate(180deg);
}

.species-select-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.species-select-menu.hidden {
  display: none;
}

.species-select-menu::-webkit-scrollbar {
  width: 6px;
}

.species-select-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.species-select-option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  font-family: inherit;
  font-weight: 500;
  text-align: left;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition);
}

.species-select-option:hover,
.species-select-option:focus-visible {
  background: var(--bg-subtle);
  outline: none;
}

.species-select-option.active {
  background: #e0f2fe;
  color: #0369a1;
}

.species-select-empty {
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.filter-row-fish-traits {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 2.5rem;
  margin-bottom: 1rem;
}

.filter-row-fish-traits .filter-group-inline {
  flex: 1 1 auto;
  min-width: min(100%, 260px);
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.filter-btn-map.active {
  background: linear-gradient(135deg, #0891b2, #0ea5e9);
  border-color: transparent;
  color: #fff;
}

.filter-btn {
  padding: 0.4375rem 0.875rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--border);
  color: var(--text);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.search-bar {
  margin-bottom: 1rem;
  position: relative;
}

.search-bar .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.search-bar input::placeholder { color: var(--text-muted); }

/* 推荐点位 */
.spots-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.spots-select-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  flex: 1;
  min-width: 0;
}

.spots-controls .filter-group {
  margin-bottom: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.spots-controls .filter-group-map,
.spots-controls .filter-group-gear {
  flex: 0 1 auto;
}

.spots-controls .filter-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
}

.spots-map-select {
  width: min(100%, 10.5rem);
}

.spots-gear-select {
  width: min(100%, 11.5rem);
}

.spots-filter-select .species-select-trigger {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.spot-sort-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: #e67e22;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition), opacity var(--transition);
}

.spot-sort-toggle:hover {
  color: #d35400;
}

.spot-sort-toggle:focus-visible {
  outline: 2px solid rgba(230, 126, 34, 0.35);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.spot-sort-icon {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.spots-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.spots-toolbar .filter-group-purpose {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.spots-toolbar .filter-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
}

.spots-toolbar .filter-bar { margin-bottom: 0; }

.spot-purpose-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
}

.spot-purpose-chips .filter-btn-chip {
  width: auto;
  min-height: 1.625rem;
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
  line-height: 1.3;
  border-radius: 999px;
}

.spot-purpose-chips .filter-btn-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.spot-grid-home {
  grid-template-columns: repeat(3, 1fr);
}

.spot-grid .spot-card-gallery-catch-only {
  aspect-ratio: 48 / 7;
  overflow: hidden;
}

.spot-grid .spot-card-gallery-img.spot-card-gallery-img-single {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
  display: block;
}

.spot-grid .spot-card-map-badge {
  top: 0.3rem;
  left: 0.3rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.625rem;
}

.spot-grid .spot-card-has-gallery .spot-card-body {
  padding: 0.75rem 0.875rem 0.875rem;
}

.spot-grid .spot-card h3 {
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}

.spot-grid .spot-preview {
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  -webkit-line-clamp: 1;
}

.spot-grid .spot-tags {
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.spot-grid .spot-tag {
  font-size: 0.625rem;
  padding: 0.1rem 0.35rem;
}

.spot-grid .spot-fish {
  gap: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  margin-bottom: 0.35rem;
}

.spot-grid .item-meta {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  gap: 0.5rem;
}

.spot-grid .item-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.spot-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.375rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.spot-card-has-gallery {
  padding: 0;
}

.spot-card-has-gallery .spot-card-body {
  padding: 1.375rem;
}

.spot-card-gallery {
  position: relative;
  background: #0f172a;
}

.spot-card-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.spot-card-gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.spot-card-gallery-img.spot-card-gallery-img-single {
  aspect-ratio: 2.4 / 1;
  max-height: 7.5rem;
}

.spot-card-map-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 118, 110, 0.88);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  line-height: 1.35;
}

.spot-card-has-gallery .spot-card-gallery {
  border-radius: var(--radius) var(--radius) 0 0;
}

.spot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #059669, #34d399);
  opacity: 0;
  transition: opacity var(--transition);
}

.spot-card:hover::before { opacity: 1; }

.spot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.2);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.1);
}

.spot-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.spot-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 12px;
  color: var(--primary);
}

.spot-pin.lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 0.75rem;
}

.spot-detail-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.spot-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.spot-badge-official { background: var(--primary-light); color: var(--primary); }
.spot-badge-player { background: #ecfdf5; color: #059669; }

.spot-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.spot-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 0.625rem;
}

.spot-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.spot-preview {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.spot-fish {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.spot-fish-name,
.spot-fish-coords {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.spot-fish .icon { color: var(--primary); opacity: 0.7; }

.spot-fish-coords .icon {
  color: #ef4444;
  opacity: 1;
}

.spot-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.spot-fields {
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--primary-subtle);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-sm);
}

.spot-sync-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  margin-left: 0.5rem;
  vertical-align: middle;
}

.spot-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.spot-link:hover { text-decoration: underline; }

/* Forms */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-card h2 .icon { color: var(--primary); flex-shrink: 0; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.08);
  background: var(--surface);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group .map-select {
  width: 100%;
}

.form-group .map-select .species-select-trigger {
  background: var(--bg);
}

.spot-method-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.spot-gear-choice {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.spot-purpose-choice {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.spot-purpose-choice .spot-method-btn {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5625rem 0.5rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.spot-gear-choice .spot-method-btn {
  padding: 0.5625rem 0.5rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.form-required {
  color: #ef4444;
  margin-left: 0.125rem;
  font-weight: 600;
}

.spot-method-btn {
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.spot-method-btn:hover {
  border-color: #94a3b8;
  color: var(--text);
}

.spot-method-btn.active {
  border-color: var(--primary);
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.08);
}

.spot-coord-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.spot-coord-inputs input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -moz-appearance: textfield;
}

.spot-coord-inputs input::-webkit-outer-spin-button,
.spot-coord-inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.spot-coord-inputs input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.08);
  background: var(--surface);
}

.spot-coord-sep {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  user-select: none;
  text-align: center;
}

.form-group-rig {
  margin-bottom: 0;
}

.spot-rig-heading {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.spot-rig-list {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spot-rig-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--border-light);
}

.spot-rig-row:last-child {
  border-bottom: none;
}

.spot-rig-row > label {
  flex-shrink: 0;
  width: 2.5rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.spot-rig-row input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: background var(--transition), box-shadow var(--transition);
}

.spot-rig-row input::placeholder {
  color: var(--text-muted);
}

.spot-rig-row input:focus {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.spot-rig-detail {
  margin-top: 1.25rem;
}

.spot-rig-detail .detail-section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.spot-rig-detail-list {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spot-rig-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}

.spot-rig-detail-row:last-child {
  border-bottom: none;
}

.spot-rig-detail-row span:first-child {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.spot-rig-detail-row span:last-child {
  color: var(--text);
  text-align: right;
}

.form-group-uploads {
  margin-bottom: 0;
}

.spot-upload-heading {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 0.25rem;
}

.spot-upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.spot-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.spot-upload-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

.spot-upload-box {
  position: relative;
  aspect-ratio: 1;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}

.spot-upload-box:hover {
  border-color: var(--primary);
  background: #f0f9ff;
}

.spot-upload-box.has-image {
  border-style: solid;
  border-color: var(--border-light);
  cursor: default;
}

.spot-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 100%;
  padding: 0.5rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  pointer-events: none;
}

.spot-upload-icon {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--primary);
}

.spot-upload-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-upload-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.375rem;
  height: 1.375rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.spot-upload-remove:hover {
  background: rgba(15, 23, 42, 0.85);
}

.spot-images-detail {
  margin-top: 1.25rem;
}

.spot-images-detail .detail-section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--text);
}

.spot-images-hint {
  margin: 0 0 0.625rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spot-images-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}

.spot-image-lazy {
  width: 4.75rem;
  flex: 0 0 4.75rem;
  min-width: 0;
}

.spot-image-lazy.is-expanded {
  flex: 1 1 100%;
  width: 100%;
}

.spot-image-load-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  aspect-ratio: 1;
  padding: 0.35rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.spot-image-load-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.spot-image-load-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  color: var(--primary);
}

.spot-image-load-label {
  font-size: 0.5625rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.spot-image-load-hint {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.spot-image-full {
  margin: 0;
}

.spot-image-full img {
  display: block;
  width: 100%;
  max-height: min(70vh, 560px);
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  cursor: pointer;
}

.spot-image-full figcaption {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.375rem;
}

.form-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.form-hint {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* Submissions hub */
.submission-hub {
  padding: 2rem 0 3rem;
}

.submission-hub-intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0 0 1.5rem;
}

.submission-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.submission-choice {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 1.375rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.submission-choice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.submission-choice-guide::before {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.submission-choice-spot::before {
  background: linear-gradient(90deg, #059669, #34d399);
}

.submission-choice:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.submission-choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.submission-choice-guide .submission-choice-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.submission-choice-guide .submission-choice-icon-img {
  background: #f0fdfa;
  overflow: hidden;
}

.submission-choice-spot .submission-choice-icon {
  background: #ecfdf5;
  color: #059669;
}

.submission-choice-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.submission-choice-text strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.submission-choice-text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.45;
}

.submission-panel {
  padding: 1.5rem 0 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.submission-back {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.submission-back:hover {
  color: var(--primary);
}

.submission-panel-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Submissions & Posts */
.submission-list,
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.submission-item,
.post-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.submission-item-has-gallery {
  padding: 0;
}

.submission-item-has-gallery .submission-item-body {
  padding: 1.25rem;
}

.submission-item-has-gallery .spot-card-gallery {
  border-radius: var(--radius) var(--radius) 0 0;
}

.submission-item h3,
.post-item h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.submission-item p,
.post-item .post-body {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: pre-wrap;
  line-height: 1.65;
}

.item-meta {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.submission-item-head,
.review-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.submission-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0.25rem;
}

.submission-section-label:first-child {
  margin-top: 0;
}

.submission-status {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.submission-status-pending {
  background: #fff7ed;
  color: #c2410c;
}

.submission-status-approved {
  background: #ecfdf5;
  color: #047857;
}

.submission-status-rejected {
  background: var(--danger-light);
  color: #b91c1c;
}

.submission-reject-reason {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--danger);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  margin-left: 0.25rem;
  padding: 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  vertical-align: middle;
}

.review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.review-search-row {
  display: flex;
  align-items: stretch;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.review-search-bar {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.review-search-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.review-pending-count {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.review-card-summary {
  padding: 0.875rem 1rem;
}

.review-summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.review-summary-top .review-card-head {
  margin-bottom: 0;
}

.review-detail-btn {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.review-summary-title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.review-summary-preview {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-summary-meta {
  margin-top: 0;
  margin-bottom: 0.625rem;
}

.review-summary-extra {
  color: var(--text-secondary);
}

.review-card .review-actions {
  margin-top: 0;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border-light);
}

.submission-review-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px dashed var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.submission-review-info .icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.submission-review-info strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.submission-review-time::before {
  content: '·';
  margin-right: 0.5rem;
  color: var(--border);
}

.submission-review-action {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}

.submission-review-action-approved {
  color: #047857;
  background: #ecfdf5;
}

.submission-review-action-rejected {
  color: #b91c1c;
  background: var(--danger-light);
}

.review-card-detail {
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.review-card-detail-body {
  padding: 0.875rem 1rem 1rem;
}

.review-card-detail .spot-card-gallery {
  border-radius: 0;
}

.review-card-detail .spot-card-gallery-img {
  aspect-ratio: 16 / 10;
  max-height: 140px;
}

.review-card.is-expanded {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.review-content {
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: pre-wrap;
  line-height: 1.65;
}

.review-spot-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.review-meta-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.8125rem;
}

.review-meta-grid span {
  color: var(--text-muted);
}

.review-meta-grid strong {
  font-weight: 500;
  color: var(--text);
}

.review-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.review-reject-btn:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.review-delete-btn {
  color: var(--text-muted);
}

.review-card .review-actions .review-delete-btn {
  margin-left: auto;
}

.review-delete-btn:hover {
  color: var(--danger);
  background: var(--danger-light);
}

.post-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all var(--transition);
}

.like-btn .icon { width: 14px; height: 14px; }

.like-btn:hover {
  border-color: #fecaca;
  color: var(--danger);
  background: var(--danger-light);
}

.like-btn.liked {
  border-color: #fecaca;
  color: var(--danger);
  background: var(--danger-light);
}

.like-btn.liked .icon { fill: var(--danger); }

.comments-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.comment {
  font-size: 0.8125rem;
  padding: 0.4375rem 0;
  color: var(--text-secondary);
}

.comment strong { color: var(--primary); font-weight: 600; }

.comment-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.comment-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.8125rem;
  outline: none;
}

.comment-form input:focus {
  border-color: var(--primary);
  background: var(--surface);
}

.comment-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}

.comment-form button .icon { stroke: #fff; }

.comment-form button:hover { background: var(--primary-hover); }

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* 待开发占位 */
.dev-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  margin: 1rem 0 3rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.dev-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border-radius: 20px;
  color: #7c3aed;
}

.dev-placeholder h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.dev-placeholder p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeUp 0.2s ease;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-lg { max-width: 560px; max-height: 85vh; overflow-y: auto; }

.modal-spot-detail {
  max-width: 720px;
  padding: 2.25rem 2.5rem;
}

.spot-detail .detail-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.spot-detail .detail-fish-grid {
  gap: 0.875rem;
  margin-top: 0.75rem;
}

.spot-detail .detail-fish-item {
  padding: 1.125rem 1.25rem;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  line-height: 1.5;
}

.spot-detail .detail-fish-item span {
  font-size: 0.75rem;
  margin-bottom: 0.375rem;
}

.spot-detail .detail-meta {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.spot-detail .spot-rig-detail .detail-section-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.spot-detail .spot-rig-detail-row {
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
}

.spot-detail .spot-images-detail .detail-section-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.spot-detail .spot-images-grid {
  gap: 0.5rem;
}

.spot-detail .detail-body {
  font-size: 1rem;
  margin-top: 1.25rem;
}

.spot-detail .spot-comments-section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
}

.spot-detail .spot-comments-section .detail-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  margin-bottom: 0.875rem;
}

.spot-comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.375rem;
  height: 1.375rem;
  padding: 0 0.375rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.spot-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.spot-comments-empty {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.spot-comment {
  padding: 0.625rem 0.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

.spot-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.spot-comment-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.spot-comment-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.spot-detail .spot-comment-form input {
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-subtle);
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--border-light);
  color: var(--text);
}

.modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.modal-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 7px;
  transition: all var(--transition);
}

.modal-tab.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.auth-form { display: flex; flex-direction: column; }

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: -0.25rem 0 1rem;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.auth-remember input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.auth-forgot-link {
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition);
}

.auth-forgot-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.auth-back {
  align-self: flex-start;
  margin: -0.25rem 0 0.75rem;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.auth-back:hover { color: var(--text); }

.auth-subtitle {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-hint {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.captcha-question {
  flex: 1;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  user-select: none;
}

.captcha-refresh {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 1.125rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.captcha-refresh:hover {
  border-color: #94a3b8;
  color: var(--text);
  background: var(--surface);
}

.captcha-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.captcha-input-row input {
  flex: 1;
  min-width: 0;
}

.captcha-input-row .btn {
  flex-shrink: 0;
  align-self: stretch;
}

.captcha-status {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
  min-height: 1.125rem;
}

.captcha-status.error { color: var(--danger); }
.captcha-status.success { color: #059669; }

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary:disabled:hover {
  box-shadow: none;
  transform: none;
}

.btn-primary:disabled::after {
  display: none;
}

.auth-message {
  margin-top: 1rem;
  font-size: 0.8125rem;
  text-align: center;
  min-height: 1.25rem;
}

.auth-message.error { color: var(--danger); }
.auth-message.success { color: #059669; }

.detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.detail-title {
  font-size: 1.375rem;
  margin-bottom: 0.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.detail-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.detail-meta .icon { opacity: 0.6; }

.detail-body {
  font-size: 0.9375rem;
  line-height: 1.85;
  white-space: pre-wrap;
  color: var(--text-secondary);
}

.detail-fish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.detail-fish-desc {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  text-align: left;
}

.detail-fish-desc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.detail-fish-desc-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1rem 0 0.5rem;
}

.detail-fish-desc-text {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
}

.detail-fish-item {
  background: var(--bg-subtle);
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
}

.detail-fish-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer */
.footer-wave {
  line-height: 0;
  margin-top: 2rem;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

.site-footer {
  border-top: none;
  padding: 2.5rem 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 999px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.footer-brand .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.site-footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-copy { margin-top: 0.375rem; font-size: 0.75rem !important; }

.footer-icp {
  margin-top: 0.25rem;
  font-size: 0.75rem !important;
}

.footer-icp a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-icp a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body,
  #app {
    overflow-x: hidden;
    max-width: 100%;
  }

  img:not(.spot-card-gallery-img):not(.fish-photo),
  svg,
  video {
    max-width: 100%;
    height: auto;
  }

  /* 列表封面：固定高度，避免原图撑开布局 */
  .spot-card-gallery,
  .spot-card-gallery-catch-only {
    overflow: hidden;
    line-height: 0;
  }

  .spot-card-gallery-catch-only,
  .spot-card-has-gallery .spot-card-gallery {
    height: 4.5rem;
    max-height: 4.5rem;
    aspect-ratio: unset;
  }

  .spot-card-gallery-img,
  .spot-card-gallery-img.spot-card-gallery-img-single {
    display: block;
    width: 100%;
    height: 4.5rem;
    max-height: 4.5rem;
    min-height: 0;
    aspect-ratio: unset;
    object-fit: cover;
    object-position: center;
  }

  .spot-grid .spot-card-gallery-catch-only,
  .spot-grid .spot-card-has-gallery .spot-card-gallery {
    height: 4.5rem;
    max-height: 4.5rem;
    aspect-ratio: unset;
  }

  .spot-grid .spot-card-gallery-img,
  .spot-grid .spot-card-gallery-img.spot-card-gallery-img-single {
    width: 100%;
    height: 4.5rem;
    max-height: 4.5rem;
    aspect-ratio: unset;
    object-fit: cover;
  }

  /* 首页最新点位：左侧小图 + 右侧文字 */
  .spot-grid-home .spot-card-has-gallery {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    align-items: stretch;
  }

  .spot-grid-home .spot-card-gallery-catch-only {
    grid-column: 1;
    grid-row: 1;
    width: 4.75rem;
    height: 4.75rem;
    max-height: 4.75rem;
    align-self: center;
    margin: 0.5rem 0 0.5rem 0.5rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .spot-grid-home .spot-card-gallery-img.spot-card-gallery-img-single {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .spot-grid-home .spot-card-has-gallery .spot-card-gallery {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  }

  .spot-grid-home .spot-card-has-gallery .spot-card-body {
    grid-column: 2;
    padding: 0.625rem 0.75rem 0.75rem;
  }

  .spot-grid-home .spot-preview {
    -webkit-line-clamp: 2;
  }

  /* 推荐点位双列：更矮的横条封面 */
  .spot-grid:not(.spot-grid-home) .spot-card-gallery-catch-only,
  .spot-grid:not(.spot-grid-home) .spot-card-has-gallery .spot-card-gallery {
    height: 3.75rem;
    max-height: 3.75rem;
  }

  .spot-grid:not(.spot-grid-home) .spot-card-gallery-img,
  .spot-grid:not(.spot-grid-home) .spot-card-gallery-img.spot-card-gallery-img-single {
    height: 3.75rem;
    max-height: 3.75rem;
  }

  .spot-card-gallery-grid {
    height: 3.75rem;
    max-height: 3.75rem;
    overflow: hidden;
  }

  .spot-card-gallery-grid .spot-card-gallery-img {
    height: 100%;
    max-height: 3.75rem;
    aspect-ratio: unset;
  }

  .submission-item-has-gallery .spot-card-gallery-catch-only,
  .submission-item-has-gallery .spot-card-has-gallery .spot-card-gallery {
    height: 4.5rem;
    max-height: 4.5rem;
  }

  .submission-item-has-gallery .spot-card-gallery-img,
  .submission-item-has-gallery .spot-card-gallery-img.spot-card-gallery-img-single {
    height: 4.5rem;
    max-height: 4.5rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-stats {
    display: flex;
    order: 2;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.2rem 0.35rem;
    padding: 0.5rem 1rem 0.625rem;
    font-size: 0.6875rem;
    line-height: 1.35;
    border-top: 1px solid rgba(186, 230, 253, 0.45);
    background: rgba(240, 249, 255, 0.55);
  }

  .header-inner {
    order: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 56px;
    padding-top: 0.5rem;
    padding-bottom: 0;
    gap: 0.625rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-size: 0.8125rem;
    gap: 0.5rem;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-end {
    margin-left: auto;
    gap: 0.375rem;
  }

  .header-actions {
    gap: 0.375rem;
  }

  .user-greeting-hi {
    display: none;
  }

  .user-greeting-wrap {
    display: block;
    max-width: 5.5rem;
  }

  .user-greeting {
    display: block;
    width: 100%;
  }

  .user-name-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-profile-overlay:not(.hidden) {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
  }

  .user-profile-popover {
    position: relative;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: min(82vh, 100%);
    margin: 0;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.15);
  }

  .user-profile-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.user-profile-open {
    overflow: hidden;
  }

  .header-actions .btn-sm {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: 0;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    position: static;
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 0.5rem 0.75rem 0.75rem;
    border-top: 1px solid var(--border-light);
    box-shadow: none;
    z-index: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.625rem 0.875rem;
  }

  .hero-illustration {
    right: -20%;
    bottom: -5%;
    width: min(360px, 90vw);
    opacity: 0.5;
  }

  .hero {
    padding: 2.75rem 0 2rem;
  }

  .hero h1 {
    font-size: 1.5rem;
    padding: 0 0.25rem;
  }

  .hero-desc {
    font-size: 0.9375rem;
    padding: 0 0.25rem;
  }

  .hero-actions {
    width: 100%;
    padding: 0 0.25rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-tag {
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .hero-tag-inner {
    padding: 0.55rem 1rem;
    max-width: 100%;
  }

  .hero-tag-text {
    letter-spacing: 0.06em;
    text-indent: 0;
    font-size: 0.8125rem;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
  }

  .hero-tag-sub {
    font-size: 0.6875rem;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
    word-break: break-word;
  }

  .hero-tag-line {
    min-width: 0.75rem;
    flex: 0 1 2rem;
  }

  .quick-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }

  .quick-card {
    padding: 0.875rem;
    gap: 0.625rem;
  }

  .page-header {
    padding: 1.75rem 0 1.25rem;
  }

  .page-header h1 {
    font-size: 1.375rem;
  }

  .section-alt {
    margin: 0;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-card {
    padding: 1.25rem;
    overflow: visible;
  }

  .submission-panel {
    max-width: 100%;
    padding: 1rem 0 2.5rem;
  }

  .spot-fields {
    overflow: visible;
  }

  .submission-choices {
    grid-template-columns: 1fr;
  }

  .spot-method-choice {
    grid-template-columns: 1fr;
  }

  .spot-gear-choice,
  .spot-purpose-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spot-gear-choice .spot-method-btn,
  .spot-purpose-choice .spot-method-btn {
    white-space: normal;
    min-height: 2.75rem;
    line-height: 1.25;
  }

  .spot-method-btn {
    min-height: 2.75rem;
  }

  .spot-coord-inputs {
    grid-template-columns: 1fr auto 1fr;
  }

  .spot-upload-grid {
    grid-template-columns: 1fr;
  }

  .spot-fish {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }

  .spot-fish-name,
  .spot-fish-coords {
    max-width: 100%;
    word-break: break-word;
  }

  .filter-row-fish-map {
    flex-direction: column;
    gap: 0.875rem;
  }

  .filter-row-fish-map .filter-group-map,
  .filter-row-fish-map .filter-group-species {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .filter-row-fish-traits {
    gap: 0.875rem;
  }

  .filter-bar {
    gap: 0.375rem;
  }

  .spots-controls {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .spots-select-row {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem 0.625rem;
  }

  .spots-controls .filter-group-map,
  .spots-controls .filter-group-gear {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 0;
  }

  .spots-map-select,
  .spots-gear-select {
    width: 100%;
    max-width: 100%;
  }

  .spot-sort-toggle {
    align-self: flex-end;
    padding-left: 0;
    flex-shrink: 0;
    font-size: 0.8125rem;
  }

  .spots-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }

  .spots-toolbar .filter-group-purpose {
    width: 100%;
  }

  .spot-purpose-chips .filter-btn-chip {
    min-height: 1.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
  }

  .container {
    padding: 0 1rem;
  }

  .spots-toolbar .filter-bar {
    width: 100%;
  }

  .spots-toolbar .btn {
    width: 100%;
    justify-content: center;
  }

  .spot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spot-grid-home {
    grid-template-columns: 1fr;
  }

  .detail-fish-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .item-meta {
    gap: 0.35rem 0.75rem;
    align-items: center;
  }

  .review-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .review-search-row {
    flex-direction: column;
  }

  .review-search-actions {
    width: 100%;
  }

  .review-search-actions .btn {
    flex: 1;
  }

  .review-summary-top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .review-detail-btn {
    align-self: flex-end;
  }

  .review-card .review-actions .review-delete-btn {
    margin-left: 0;
  }

  .review-actions {
    justify-content: flex-start;
  }

  .review-meta-grid strong {
    word-break: break-word;
  }

  .modal-overlay {
    padding: 0.75rem;
    align-items: center;
  }

  .modal {
    padding: 1.25rem;
    max-height: min(90vh, 100%);
    width: 100%;
  }

  .modal-spot-detail {
    padding: 1.25rem 1rem;
    max-width: 100%;
  }

  .spot-detail .detail-title {
    font-size: 1.25rem;
    text-align: center;
    word-break: break-word;
  }

  .spot-comment-head {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem;
  }

  .comment-form {
    align-items: stretch;
  }

  .comment-form input {
    min-width: 0;
    width: 100%;
  }

  .captcha-input-row {
    flex-direction: column;
  }

  .captcha-input-row .btn {
    width: 100%;
  }

  .site-footer {
    padding: 2rem 0 1.5rem;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .spot-gear-choice,
  .spot-purpose-choice {
    grid-template-columns: 1fr;
  }

  .spot-coord-inputs {
    grid-template-columns: 1fr;
  }

  .spot-coord-sep {
    display: block;
    padding: 0.125rem 0;
  }

  .quick-nav {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
