:root {
  color-scheme: dark;
  --bg: #06120d;
  --bg-deep: #030907;
  --panel: #10231a;
  --panel-2: #132b20;
  --panel-3: #193426;
  --line: #244333;
  --line-strong: #2d5d42;
  --text: #eef8f1;
  --muted: #9bb5a4;
  --dim: #66816f;
  --green: #20e578;
  --green-2: #0ea85a;
  --green-soft: rgba(32, 229, 120, 0.16);
  --red: #e24444;
  --red-soft: rgba(226, 68, 68, 0.14);
  --amber: #ffb31a;
  --blue: #4aa3ff;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(26, 84, 54, 0.28), transparent 42rem),
    linear-gradient(180deg, #081711 0%, #06120d 45%, #05100b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.ghostless {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(53, 94, 69, 0.35);
  background: rgba(6, 18, 13, 0.9);
  backdrop-filter: blur(16px);
}

.topbar-inner,
.page {
  width: min(1460px, calc(100vw - 44px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand svg,
.brand-logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(35, 236, 126, 0.24));
}

.brand-logo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-size: 19px;
  font-weight: 750;
  white-space: nowrap;
}

button.brand.ghostless,
button.brand.ghostless:hover,
button.brand.ghostless:focus {
  appearance: none;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link,
.ghost-btn,
.solid-btn,
.danger-btn,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 32, 21, 0.86);
  color: var(--muted);
  padding: 0 16px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.nav-link:hover,
.ghost-btn:hover,
.chip:hover {
  border-color: var(--green-2);
  color: var(--text);
  background: rgba(13, 52, 33, 0.9);
}

.nav-link.active,
.chip.active,
.solid-btn {
  border-color: rgba(32, 229, 120, 0.4);
  background: linear-gradient(180deg, rgba(14, 168, 90, 0.92), rgba(7, 91, 50, 0.92));
  color: #ecfff5;
}

.solid-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(36, 229, 123, 0.95), rgba(10, 112, 59, 0.95));
}

.solid-btn.compact {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.danger-btn {
  width: 100%;
  border-color: rgba(226, 68, 68, 0.4);
  background: rgba(37, 18, 15, 0.62);
  color: #ff7272;
}

.danger-btn:hover {
  background: rgba(72, 21, 18, 0.8);
}

.page {
  padding: 24px 0 54px;
}

.page-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 25px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 4px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
}

h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
}

.subtle {
  color: var(--muted);
}

.muted {
  color: var(--dim);
}

.section {
  margin-top: 23px;
}

.search-area {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: end;
}

.field {
  display: grid;
  gap: 8px;
}

.label-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

label,
.section-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.now-note {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: rgba(5, 18, 12, 0.78);
  color: var(--text);
  padding: 0 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(32, 229, 120, 0.12);
}

textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}

.helper {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
}

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

.chip {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.season-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(45, 93, 66, 0.6);
  border-radius: 999px;
  background: rgba(8, 25, 17, 0.7);
  font-size: 12px;
}

.key-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.dot.red {
  background: var(--red);
}

.key-star {
  color: #ffb31a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.species-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 164px;
  gap: 8px;
  overflow-x: scroll;
  overscroll-behavior-x: contain;
  padding: 8px 34px 24px 10px;
  scroll-padding-inline: 10px 34px;
  scrollbar-color: #2f8f59 rgba(255, 255, 255, 0.1);
  scrollbar-width: auto;
}

.species-carousel::-webkit-scrollbar {
  height: 18px;
}

.species-carousel::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.species-carousel::-webkit-scrollbar-thumb {
  min-width: 64px;
  border: 3px solid rgba(9, 27, 18, 0.98);
  border-radius: 999px;
  background: #2f8f59;
}

.species-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-self: center;
  overflow: hidden;
  min-height: 112px;
  width: 158px;
  box-sizing: border-box;
  border: 2px solid var(--green-2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 15%, rgba(43, 118, 72, 0.24), transparent 65%),
    rgba(15, 36, 25, 0.95);
  color: var(--muted);
  padding: 12px 10px 10px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.species-card.illegal {
  border-color: var(--red);
  background:
    radial-gradient(circle at 50% 15%, rgba(93, 31, 28, 0.25), transparent 65%),
    rgba(18, 33, 24, 0.95);
}

.species-card.selected {
  color: var(--text);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2), inset 0 0 24px rgba(32, 229, 120, 0.12);
}

.species-card.illegal.selected {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), inset 0 0 24px rgba(226, 68, 68, 0.12);
}

.empty-inline {
  display: grid;
  align-items: center;
  min-height: 112px;
  width: min(360px, calc(100vw - 48px));
  padding: 0 16px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(16, 35, 26, 0.55);
}

.prime-star {
  position: absolute;
  right: 9px;
  top: 7px;
  z-index: 2;
  width: auto;
  height: auto;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffb31a;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
}

.species-art {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 54px;
  overflow: visible;
  font-size: 31px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.species-card .species-art {
  min-height: 74px;
  overflow: hidden;
}

.species-img {
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.species-img.card {
  width: 150px;
  height: 88px;
  transform: scale(1.08);
  transform-origin: center;
}

.species-img.info {
  width: 86px;
  height: 62px;
}

.species-img-elk.card {
  width: 154px;
  height: 90px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.24);
  transform-origin: center;
}

.species-img-elk.info {
  width: 118px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  transform: none;
  transform-origin: center;
}

.species-name {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.species-info,
.weather-card,
.panel,
.result-card,
.map-panel,
.account-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 35, 26, 0.92);
  box-shadow: var(--shadow);
}

.species-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
}

.species-info .species-art {
  font-size: 27px;
}

.badge,
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid rgba(32, 229, 120, 0.35);
  border-radius: 999px;
  background: rgba(32, 229, 120, 0.12);
  color: var(--green);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 750;
}

.poi-context-note {
  margin: 7px 0 0;
  color: #f0c96b;
  font-size: 12px;
  line-height: 1.4;
}

.badge.blue,
.mini-badge.blue {
  border-color: rgba(74, 163, 255, 0.38);
  background: rgba(35, 103, 190, 0.2);
  color: #89c4ff;
}

.badge.amber,
.mini-badge.amber {
  border-color: rgba(255, 179, 26, 0.44);
  background: rgba(255, 179, 26, 0.12);
  color: var(--amber);
}

.badge.status-prime,
.mini-badge.status-prime,
.chip.status-prime,
.chip.status-active {
  border-color: rgba(32, 229, 120, 0.44);
  background: rgba(32, 229, 120, 0.14);
  color: var(--green);
}

.badge.status-moderate,
.mini-badge.status-moderate,
.chip.status-moderate {
  border-color: rgba(255, 179, 26, 0.48);
  background: rgba(255, 179, 26, 0.13);
  color: var(--amber);
}

.badge.status-danger,
.mini-badge.status-danger,
.chip.status-danger {
  border-color: rgba(226, 68, 68, 0.5);
  background: rgba(226, 68, 68, 0.13);
  color: #ff8585;
}

.mini-badge {
  padding: 4px 8px;
  font-size: 11px;
}

.weather-card {
  padding: 16px 19px;
}

.weather-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 13px;
  align-items: center;
}

.weather-main {
  display: flex;
  gap: 12px;
  align-items: center;
}

.weather-icon {
  font-size: 28px;
}

.weather-temp {
  font-size: 24px;
  font-weight: 800;
}

.weather-line {
  color: var(--muted);
  font-size: 12px;
}

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

.metric {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(45, 93, 66, 0.35);
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

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

.results-stack {
  display: grid;
  gap: 16px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.result-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid rgba(45, 93, 66, 0.35);
  border-radius: 14px;
  background: rgba(6, 18, 13, 0.42);
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-card {
  padding: 16px;
  cursor: pointer;
}

.result-card.result-reveal {
  animation: resultFadeIn 360ms ease both;
  animation-delay: var(--result-delay, 0ms);
}

.result-card.selected {
  border-color: rgba(32, 229, 120, 0.78);
  box-shadow: 0 0 0 1px rgba(32, 229, 120, 0.25), var(--shadow);
}

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

.result-title {
  margin: 9px 0 5px;
  font-size: 16px;
  font-weight: 800;
}

.score {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--green);
  font-weight: 850;
}

.score.status-moderate {
  color: var(--amber);
}

.score.status-danger {
  color: #ff8585;
}

.bar {
  width: 82px;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green-2);
}

.list-card.result-reveal {
  animation: resultFadeIn 340ms ease both;
  animation-delay: var(--result-delay, 0ms);
}

@keyframes resultFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.score.status-danger .bar > span {
  background: var(--red);
}

.score.status-moderate .bar > span {
  background: var(--amber);
}

.reason {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(45, 93, 66, 0.36);
  color: var(--green);
  font-size: 12px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 18, 13, 0.62);
  color: var(--muted);
  padding: 0 10px;
  font-size: 12px;
}

.small-link:hover {
  border-color: var(--green-2);
  color: var(--text);
}

.list-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 35, 26, 0.88);
  padding: 14px;
  cursor: pointer;
}

.result-card:hover,
.list-card:hover {
  border-color: rgba(32, 229, 120, 0.62);
  background: rgba(22, 49, 35, 0.94);
}

.list-card + .list-card {
  margin-top: 8px;
}

.locked-results {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 179, 26, 0.24);
  border-radius: var(--radius);
  background: rgba(24, 29, 15, 0.35);
  padding: 14px;
}

.locked-card,
.locked-list-card {
  cursor: default;
  border-color: rgba(255, 179, 26, 0.28);
  background: rgba(15, 27, 19, 0.74);
}

.premium-locked-row {
  position: relative;
  min-height: 62px;
  overflow: hidden;
  grid-template-columns: 28px minmax(0, 1fr) minmax(180px, auto) minmax(120px, auto);
  border-color: rgba(45, 93, 66, 0.68);
  background: rgba(10, 25, 17, 0.88);
}

.locked-row-ghost,
.ghost-score {
  opacity: 0.23;
  filter: blur(3px);
}

.locked-row-ghost {
  display: grid;
  gap: 8px;
}

.ghost-title,
.ghost-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(236, 255, 245, 0.12);
}

.ghost-title {
  width: min(180px, 60%);
}

.ghost-line.short {
  width: min(260px, 75%);
}

.locked-row-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  pointer-events: none;
  color: var(--amber);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.72);
}

.locked-row-center strong {
  font-size: 14px;
}

.locked-row-center span {
  color: var(--muted);
  font-size: 11px;
}

.lock-symbol {
  color: var(--amber);
}

.locked-card:hover,
.locked-list-card:hover {
  border-color: rgba(255, 179, 26, 0.38);
  background: rgba(18, 31, 22, 0.78);
}

.locked-score {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--amber);
  font-weight: 850;
}

.locked-score .bar > span {
  width: 44%;
  background: repeating-linear-gradient(90deg, rgba(255, 179, 26, 0.78) 0 8px, rgba(255, 179, 26, 0.25) 8px 15px);
}

.redacted-title {
  color: rgba(236, 255, 245, 0.72);
}

.redacted-lines {
  display: grid;
  gap: 8px;
  margin-top: 13px;
  filter: blur(2.8px);
  opacity: 0.72;
}

.redacted-lines.compact {
  max-width: 420px;
  margin-top: 7px;
}

.redacted-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(155, 181, 164, 0.25), rgba(155, 181, 164, 0.08));
}

.redacted-lines span:nth-child(2) {
  width: 72%;
}

.redacted-lines span:nth-child(3) {
  width: 48%;
}

.rank {
  color: var(--dim);
  text-align: center;
}

.location-needed {
  align-items: center;
  text-align: center;
}

.location-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 6px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.map-panel {
  position: sticky;
  top: 74px;
  overflow: hidden;
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 15px;
  border-bottom: 1px solid rgba(45, 93, 66, 0.42);
}

.map-canvas {
  position: relative;
  height: 470px;
  overflow: hidden;
  background: #0a1a14;
  touch-action: none;
  user-select: none;
}

.tile-layer {
  position: absolute;
  inset: 0;
  cursor: grab;
}

.tile-layer.dragging {
  cursor: grabbing;
}

.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  image-rendering: auto;
  opacity: 1;
  filter: saturate(0.92) brightness(0.98) contrast(1.02);
}

.marker {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  border: 2px solid #06120d;
  border-radius: 50% 50% 50% 0;
  background: var(--amber);
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.marker::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #06120d;
}

.marker.selected {
  width: 28px;
  height: 28px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(32, 229, 120, 0.18), 0 10px 22px rgba(0, 0, 0, 0.52);
}

.map-controls {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  gap: 7px;
}

.map-control {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 18, 13, 0.9);
  color: var(--text);
  font-size: 18px;
}

.map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--muted);
  text-align: center;
  pointer-events: none;
}

.empty-state,
.loading-state {
  display: grid;
  place-items: center;
  min-height: 205px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 35, 26, 0.9);
  padding: 26px;
  text-align: center;
}

.empty-state .pin {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 25px;
}

.spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 860ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.tech-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.panel {
  padding: 18px;
}

.tip-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tip-list li {
  border-top: 1px solid rgba(45, 93, 66, 0.38);
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.lock {
  border-color: rgba(255, 179, 26, 0.35);
  background: rgba(44, 32, 9, 0.4);
}

.account-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  margin-bottom: 20px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(32, 229, 120, 0.32);
  border-radius: 18px;
  background: rgba(32, 229, 120, 0.14);
  color: #7dffad;
  font-size: 25px;
  font-weight: 900;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.detail-table {
  display: grid;
  gap: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(45, 93, 66, 0.34);
  color: var(--muted);
  font-size: 13px;
}

.detail-row strong {
  color: var(--text);
  font-weight: 700;
}

.account-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.account-entry-form,
.account-entry-list {
  display: grid;
  gap: 14px;
}

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

.account-entry-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(45, 93, 66, 0.38);
  border-radius: 8px;
  background: rgba(5, 18, 12, 0.42);
}

.account-entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.account-entry-head h3 {
  margin: 7px 0 0;
  font-size: 17px;
}

.account-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--dim);
  font-size: 12px;
}

.account-entry-meta span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.account-entry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-empty {
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.account-empty p {
  margin-bottom: 0;
}

.preference-editor {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(45, 93, 66, 0.34);
}

.inline-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.auth-card {
  max-width: 480px;
  margin: 58px auto;
  padding: 26px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 16px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.auth-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(239, 229, 199, 0.18);
}

.auth-card .field {
  margin-bottom: 14px;
}

.inline-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.inline-toggle input {
  width: auto;
  min-height: auto;
}

.notice {
  border: 1px solid rgba(255, 179, 26, 0.35);
  border-radius: 14px;
  background: rgba(255, 179, 26, 0.1);
  color: #ffd182;
  padding: 12px;
  font-size: 13px;
}

.detail-page {
  width: min(780px, calc(100vw - 44px));
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 2px 0 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.back-link:hover {
  color: var(--green);
}

.legal-warning,
.season-status,
.detail-hero-card,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 35, 26, 0.92);
  box-shadow: var(--shadow);
}

.legal-warning {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
  border-color: rgba(255, 179, 26, 0.48);
  background: rgba(55, 35, 7, 0.42);
  color: #ffd34d;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
}

.season-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  border: 2px solid var(--green-2);
  padding: 18px;
}

.season-status.illegal {
  border-color: var(--red);
}

.status-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
}

.season-status.illegal .status-icon {
  background: var(--red-soft);
  color: #ff8585;
}

.season-status h2 {
  margin: 0 0 4px;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px;
}

.detail-hero-card h1 {
  margin: 10px 0 8px;
  font-size: 28px;
}

.detail-score {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 12px;
}

.detail-actions {
  display: flex;
  gap: 8px;
}

.detail-species-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(45, 93, 66, 0.42);
  padding-top: 16px;
}

.detail-panel {
  margin-top: 16px;
  padding: 18px;
}

.detail-weather {
  display: grid;
  gap: 14px;
}

.active-window-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
}

.score-callout,
.forecast-copy,
.why-list p,
.condition-card,
.gear-group,
.number-list li,
.premium-content-lock {
  border: 1px solid rgba(45, 93, 66, 0.34);
  border-radius: 14px;
  background: rgba(7, 24, 15, 0.42);
}

.score-callout {
  padding: 14px;
  color: var(--green);
}

.score-callout ul {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0 0 0 18px;
}

.breakdown-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.breakdown-subhead {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-subhead strong {
  color: var(--gold);
}

.detractor-list {
  gap: 10px;
  margin-top: 12px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 119, 119, 0.28);
}

.breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 14px;
}

.breakdown-row strong,
.breakdown-row span {
  display: block;
}

.breakdown-row .positive {
  color: var(--green);
}

.breakdown-row .negative {
  color: #ff7777;
}

.breakdown-row.detractor {
  position: relative;
  padding: 12px 12px 12px 16px;
  border: 1px solid rgba(255, 119, 119, 0.28);
  border-left: 4px solid #ff7777;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 119, 119, 0.13), rgba(255, 179, 26, 0.045));
}

.breakdown-row.detractor strong {
  color: #ffe0b0;
}

.breakdown-row.detractor .negative {
  align-self: start;
  padding: 4px 9px;
  border: 1px solid rgba(255, 119, 119, 0.38);
  border-radius: 999px;
  background: rgba(255, 119, 119, 0.16);
  color: #ffd0d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breakdown-row.detractor .breakdown-bar {
  background: rgba(255, 119, 119, 0.13);
}

.breakdown-detail {
  position: absolute;
  z-index: 5;
  left: 14px;
  right: 14px;
  bottom: calc(100% + 8px);
  display: block;
  max-width: 520px;
  margin-top: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 119, 119, 0.32);
  border-radius: 8px;
  background: rgba(9, 23, 18, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  color: rgba(244, 232, 202, 0.86);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.breakdown-row:hover .breakdown-detail,
.breakdown-row:focus-visible .breakdown-detail {
  opacity: 1;
  transform: translateY(0);
}

.breakdown-bar {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.breakdown-bar span {
  display: block;
  height: 100%;
}

.activity-chart {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  background: rgba(5, 18, 12, 0.44);
  padding: 0;
  cursor: crosshair;
  overflow: hidden;
}

.activity-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.forecast-cursor {
  position: absolute;
  top: 14px;
  bottom: 25px;
  left: var(--forecast-x, 50%);
  z-index: 2;
  width: 0;
  border-left: 2px dashed var(--amber);
  pointer-events: none;
}

.forecast-cursor span {
  position: absolute;
  top: 58px;
  left: 8px;
  border: 1px solid rgba(255, 179, 26, 0.42);
  border-radius: 999px;
  background: rgba(31, 22, 6, 0.92);
  color: var(--amber);
  padding: 3px 8px;
  font-size: 11px;
  white-space: nowrap;
}

.forecast-cursor span::before {
  content: var(--forecast-label);
}

.forecast-copy {
  margin: 12px 0;
  padding: 14px;
  color: var(--text);
  line-height: 1.6;
}

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

.why-list p {
  margin: 0;
  padding: 13px 14px;
  color: var(--muted);
  line-height: 1.55;
}

.premium-content-lock {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 14px;
  border-color: rgba(255, 179, 26, 0.34);
  background: rgba(32, 24, 9, 0.42);
}

.premium-content-lock strong {
  color: var(--amber);
}

.premium-content-lock p {
  margin: 0;
  color: var(--muted);
}

.locked-content-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(255, 179, 26, 0.22);
  border-radius: 14px;
  background: rgba(27, 24, 11, 0.28);
  padding: 12px;
}

.locked-content-list .section-head {
  margin-bottom: 2px;
}

.locked-content-list h3 {
  margin: 0;
  font-size: 14px;
}

.locked-content-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(45, 93, 66, 0.3);
  border-radius: 12px;
  background: rgba(7, 24, 15, 0.42);
  padding: 11px;
}

.locked-content-row strong {
  color: rgba(236, 255, 245, 0.78);
}

.locked-index {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 179, 26, 0.14);
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

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

.condition-card {
  display: grid;
  gap: 3px;
  padding: 14px;
}

.condition-card span,
.condition-card small {
  color: var(--muted);
}

.condition-card strong {
  color: var(--text);
}

.number-list {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
  counter-reset: technique;
}

.technique-panel {
  border-color: rgba(32, 229, 120, 0.26);
}

.technique-intro {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(32, 229, 120, 0.12);
  border-radius: 14px;
  background: rgba(12, 45, 29, 0.48);
  color: var(--text);
  line-height: 1.55;
}

.technique-panel .number-list li {
  border-radius: 14px;
  background: rgba(7, 24, 15, 0.44);
}

.technique-lock-banner {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 14px;
  border: 1px solid rgba(255, 179, 26, 0.42);
  border-radius: 14px;
  background: rgba(35, 31, 12, 0.58);
  text-align: center;
}

.technique-lock-banner strong {
  color: var(--amber);
}

.technique-lock-banner p {
  margin: 0;
  color: var(--muted);
}

.number-list li {
  counter-increment: technique;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  color: var(--muted);
}

.number-list li::before {
  content: counter(technique);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.gear-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.gear-group {
  padding: 0 0 12px;
}

.gear-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 0 16px;
  cursor: pointer;
}

.gear-note {
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 0 14px 12px;
  border: 1px solid rgba(66, 166, 255, 0.24);
  border-radius: 12px;
  background: rgba(22, 47, 48, 0.58);
  color: #8ecaff;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.gear-products {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 14px;
}

.gear-product {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(45, 93, 66, 0.34);
  border-radius: 14px;
  background: rgba(8, 25, 17, 0.6);
  padding: 14px;
}

.gear-product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gear-product-head h3 {
  margin: 0;
}

.brand-chip {
  border-radius: 7px;
  background: rgba(101, 127, 109, 0.16);
  color: var(--muted);
  padding: 3px 7px;
  font-size: 12px;
}

.gear-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
}

.stars {
  letter-spacing: 2px;
}

.gear-why {
  display: flex;
  gap: 8px;
  margin: 2px 0 0;
  border: 1px solid rgba(32, 229, 120, 0.18);
  border-radius: 12px;
  background: rgba(13, 52, 33, 0.42);
  color: #5eff9e;
  padding: 11px;
  line-height: 1.5;
}

.detail-map {
  height: 320px;
  border-radius: 14px;
}

.report-map-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
  align-items: stretch;
}

.report-tools {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.report-pin-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(45, 93, 66, 0.45);
  border-radius: 14px;
  background: rgba(7, 24, 15, 0.46);
}

.report-pin-card small {
  color: var(--muted);
  line-height: 1.35;
}

.report-pin {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  cursor: grab;
}

.report-pin span,
.report-dropped-pin {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(236, 255, 245, 0.92);
  border-radius: 50% 50% 50% 0;
  background: var(--green-2);
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
}

.report-dropped-pin {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -100%) rotate(-45deg);
  pointer-events: auto;
  cursor: pointer;
  padding: 0;
}

.report-dropped-pin::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.report-dropped-pin.amber,
.color-swatch.amber {
  background: var(--amber);
}

.report-dropped-pin.blue,
.color-swatch.blue {
  background: var(--blue);
}

.report-dropped-pin.red,
.color-swatch.red {
  background: var(--red);
}

.pin-settings {
  display: grid;
  gap: 8px;
  font-size: 12px;
  padding: 12px;
  border: 1px solid rgba(45, 93, 66, 0.45);
  border-radius: 14px;
  background: rgba(7, 24, 15, 0.46);
}

.pin-settings label {
  color: var(--muted);
}

.pin-settings select,
.pin-settings input {
  min-width: 0;
}

.color-row {
  display: flex;
  gap: 6px;
}

.color-swatch {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(236, 255, 245, 0.18);
  border-radius: 50%;
  background: var(--green-2);
}

.color-swatch.active {
  box-shadow: 0 0 0 3px rgba(32, 229, 120, 0.22);
  border-color: rgba(236, 255, 245, 0.8);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.report-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(45, 93, 66, 0.32);
  border-radius: 14px;
  background: rgba(7, 24, 15, 0.3);
}

.report-list h3 {
  margin: 0;
  font-size: 14px;
}

.report-summary {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px;
  border-radius: 12px;
  background: rgba(10, 34, 22, 0.5);
}

.report-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--green-2);
}

.report-dot.amber {
  background: var(--amber);
}

.report-dot.blue {
  background: var(--blue);
}

.report-dot.red {
  background: var(--red);
}

.report-popup {
  position: absolute;
  z-index: 12;
  display: grid;
  gap: 8px;
  width: min(240px, calc(100% - 24px));
  padding: 12px;
  border: 1px solid rgba(32, 229, 120, 0.32);
  border-radius: 14px;
  background: rgba(5, 18, 12, 0.96);
  box-shadow: var(--shadow);
}

.report-popup p {
  margin: 0;
  line-height: 1.4;
}

.report-popup-head,
.report-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.danger-link {
  border-color: rgba(255, 77, 77, 0.28);
  color: #ff7777;
}

.blue-dot {
  background: var(--blue);
}

.hollow-dot {
  background: transparent;
  border: 1px solid var(--green);
}

.detail-directions {
  margin-top: 12px;
}

.ready-card .detail-table {
  margin-bottom: 14px;
}

.wide-action {
  width: 100%;
}

.danger-notice {
  border-color: rgba(226, 68, 68, 0.45);
  background: rgba(226, 68, 68, 0.11);
  color: #ff9898;
}

.debug-panel {
  width: min(100%, 980px);
  margin: 18px auto 0;
  border: 1px solid rgba(255, 179, 26, 0.35);
  border-radius: 14px;
  background: rgba(21, 18, 8, 0.82);
  color: #f6d28a;
  padding: 14px;
  text-align: left;
}

.debug-panel h3,
.debug-panel h4 {
  margin: 0 0 10px;
  color: #ffd76d;
}

.debug-panel h4 {
  margin-top: 14px;
  font-size: 13px;
}

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

.debug-grid div {
  border: 1px solid rgba(255, 179, 26, 0.18);
  border-radius: 10px;
  background: rgba(255, 179, 26, 0.06);
  padding: 8px;
}

.debug-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.debug-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.debug-panel pre {
  max-height: 240px;
  overflow: auto;
  border: 1px solid rgba(255, 179, 26, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: #f7e4b3;
  padding: 10px;
  white-space: pre-wrap;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  min-height: 330px;
  border-bottom: 1px solid rgba(45, 93, 66, 0.45);
  padding: 34px 0 28px;
}

.landing-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 76px);
}

.landing-hero p {
  max-width: 720px;
}

.landing-brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.landing-brand-logo {
  width: clamp(195px, 25vw, 350px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: #06120d;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(239, 229, 199, 0.22);
}

.landing-weather {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.prime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.prime-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  min-height: 186px;
  border: 2px solid var(--green-2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(32, 229, 120, 0.22), transparent 58%),
    rgba(15, 36, 25, 0.95);
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.prime-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px rgba(32, 229, 120, 0.18), var(--shadow);
}

.prime-art {
  display: grid;
  place-items: center;
  min-height: 122px;
  overflow: hidden;
  font-size: 80px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45));
}

.prime-art .species-img.prime {
  width: min(100%, 245px);
  height: 142px;
  transform: scale(1.12);
  transform-origin: center;
}

.prime-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 18px;
}

.prime-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.checkout-page {
  max-width: 980px;
}

.checkout-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.checkout-hero h1 {
  margin: 4px 0 8px;
}

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

.checkout-plan,
.checkout-panel,
.payment-readiness {
  border: 1px solid rgba(45, 93, 66, 0.55);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
}

.checkout-plan.selected {
  border-color: rgba(32, 229, 120, 0.55);
  background: rgba(20, 64, 39, 0.62);
}

.checkout-plan h2 {
  margin: 10px 0 6px;
}

.checkout-plan .wide-action {
  margin-top: 14px;
}

.checkout-form-preview {
  display: grid;
  gap: 10px;
}

.checkout-form-preview label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.secure-payment-box {
  display: flex;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(32, 229, 120, 0.18);
  border-radius: 14px;
  background: rgba(8, 30, 19, 0.72);
  padding: 14px;
}

.secure-payment-box p {
  margin: 6px 0 0;
  color: var(--muted);
}

.comparison-table {
  display: grid;
  border: 1px solid rgba(45, 93, 66, 0.45);
  border-radius: 14px;
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.25fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(45, 93, 66, 0.35);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row span {
  color: var(--muted);
}

.danger-outline {
  border-color: rgba(255, 91, 91, 0.42);
  color: #ffb3b3;
}

.small {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.demo-logins {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.auth-switch {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.demo-login {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 18, 13, 0.62);
  color: var(--text);
  padding: 11px 12px;
  text-align: left;
}

.demo-login span,
.demo-login small {
  color: var(--muted);
}

.admin-search {
  margin-bottom: 16px;
}

.admin-page-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

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

.admin-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 35, 26, 0.9);
  padding: 14px;
}

.admin-row h3 {
  margin-bottom: 3px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-actions select {
  width: 132px;
}

.admin-custom-duration {
  width: 96px;
  min-height: 36px;
}

.admin-pagination,
.results-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1040px) {
  .content-grid,
  .weather-grid,
  .tech-grid,
  .account-grid,
  .account-workspace,
  .checkout-grid,
  .prime-grid,
  .report-map-layout {
    grid-template-columns: 1fr;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .page {
    width: min(100% - 24px, 1460px);
  }

  .topbar-inner {
    height: auto;
    min-height: 58px;
    padding: 9px 0;
  }

  .brand-name {
    font-size: 17px;
  }

  .landing-brand-lockup {
    align-items: flex-start;
  }

  .landing-brand-logo {
    width: min(56vw, 205px);
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-link,
  .ghost-btn,
  .solid-btn {
    min-height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }

  .page-head,
  .search-area,
  .inline-editor,
  .account-form-grid,
  .account-hero,
  .species-info,
  .list-card,
  .landing-hero,
  .admin-row,
  .season-status,
  .detail-hero-card,
  .active-window-card,
  .condition-grid {
    grid-template-columns: 1fr;
  }

  .detail-page {
    width: min(100% - 24px, 780px);
  }

  .detail-score,
  .detail-species-row {
    justify-items: start;
    align-items: start;
  }

  .detail-species-row {
    flex-direction: column;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .landing-weather {
    justify-items: start;
  }

  .prime-card {
    min-height: 160px;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .species-carousel {
    grid-auto-columns: 158px;
    padding-inline: 8px 28px;
    scroll-padding-inline: 8px 28px;
  }

  .species-card {
    width: 152px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    height: 360px;
  }

  .account-hero {
    justify-items: start;
  }
}
