/* src/shared/ui/part-1.css */
:root {
  --ink: #233b33;
  --muted: #5c6f65;
  --paper: #f4f5ef;
  --card: #fff;
  --panel: #fff;
  --line: #d5dfd4;
  --green: #24664f;
  --deep: #173e31;
  --gold: #9b731e;
  --soft: #eaf1e7;
  --shadow: 0 3px 14px #173e3108;
  --radius: 14px;
}
html {
  scroll-padding-top: 92px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans Thai",
    "Noto Sans JP",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
a {
  text-underline-offset: 3px;
}
a,
button,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a87818;
  outline-offset: 3px;
}
button,
summary {
  cursor: pointer;
}
img {
  image-rendering: pixelated;
}
h1,
h2,
h3 {
  letter-spacing: -0.025em;
  line-height: 1.35;
}
h2 {
  font-size: clamp(23px, 2.5vw, 30px);
}
h3 {
  font-size: 20px;
}
p {
  overflow-wrap: break-word;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  background: white;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.compendium-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  background: #fffefa;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px #173e3108;
}
.compendium-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--deep);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--deep);
  color: #ecddaf;
  border-radius: 10px;
  font-size: 23px;
}
.compendium-brand small {
  display: block;
  color: var(--muted);
  font: 10px/1.5 system-ui;
  letter-spacing: 0.13em;
}
.compendium-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.compendium-links a {
  display: block;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.compendium-links a:hover {
  background: var(--soft);
  color: var(--deep);
}
.compendium-links [aria-current=page] {
  color: var(--deep);
  background: var(--soft);
  box-shadow: inset 0 -2px var(--green);
}
main {
  max-width: 1240px;
  margin-inline: auto;
  padding: 22px 24px 48px;
}
footer code {
  overflow-wrap: anywhere;
}
footer {
  max-width: 1240px;
  margin-inline: auto;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
}
.hero {
  padding: 24px 24px 22px;
  background: #e8efe3;
  color: var(--deep);
  border-bottom: 1px solid #cddbc8;
}
.hero-inner {
  max-width: 1192px;
  padding: 0;
  margin: auto;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 172px;
  align-items: center;
  gap: 32px;
}
.hero h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  max-width: 900px;
  line-height: 1.2;
  margin: 8px 0 12px;
  letter-spacing: -0.035em;
  color: var(--deep);
}
.hero .lead {
  color: #4c6557;
  font-size: 17px;
  line-height: 1.6;
  max-width: 740px;
}
.hero .eyebrow {
  color: #64745e;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.hero-meta {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero .count-chip {
  color: #47604e;
  background: #fffefa;
  border: 1px solid #bccdb7;
  padding: 5px 10px;
  font-size: 12px;
}
.title-screen {
  margin: 0;
  width: 172px;
}
.title-screen img {
  width: 172px;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 3px solid #fff;
}
.title-screen figcaption {
  font-size: 10px;
  color: #5b705d;
  line-height: 1.4;
  margin-top: 5px;
}
.language-links,
.language-nav {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-left: auto;
}
.hero .language-link,
.hero .language-current,
.hero .language-links a,
.hero .language-links span {
  background: #fffefa;
  color: #355943;
  border: 1px solid #bfcfba;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  text-decoration: none;
  margin: 0;
}
.hero .language-current,
.hero .language-links [aria-current] {
  font-weight: 800;
  background: var(--soft);
}
.hero a.back-link,
.hero-meta > a {
  font-size: 14px;
  color: var(--green);
  background: transparent;
  border: 0;
  padding: 0;
}
.equipment-menu {
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: 0;
}
.equipment-menu h2 {
  font-size: 13px;
  margin: 0 0 8px;
  color: var(--muted);
  letter-spacing: 0;
}
.category-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.category-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 9px 12px;
  color: #486251;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
  min-width: 0;
  flex: 0 1 auto;
}
.category-menu a.active,
.category-menu [aria-current=page] {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.category-menu img {
  width: 36px;
  height: 28px;
  object-fit: contain;
}
.category-menu small {
  font-size: 11px;
  opacity: 0.8;
}
.category-menu strong {
  font-size: 14px;
}
.guide-overview {
  margin: 12px 0 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
}
.guide-overview > summary {
  padding: 13px 17px;
  font-weight: 650;
  font-size: 15px;
  color: var(--green);
}
.guide-overview > .decision-hub {
  margin: 0;
  padding: 18px;
  border: 0;
  background: none;
}
.guide-overview > .kit-section {
  margin: 0 18px 18px;
}
.decision-hub h2 {
  font-size: 23px;
}
.decision-grid {
  gap: 14px;
}
.decision-card {
  box-shadow: none;
  padding: 18px;
  border-radius: 12px;
}
.decision-card h3 {
  font-size: 19px;
}
.decision-card p {
  font-size: 15px;
  line-height: 1.7;
}
.decision-item img {
  width: 80px;
  height: 64px;
}

/* src/shared/ui/part-2.css */
.decision-item {
  font-size: 14px;
}
.play-tip {
  padding: 12px 16px;
}
.play-tip p {
  font-size: 13px;
  color: var(--muted);
}
.kit-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.kit-section h2 {
  font-size: 20px;
}
.catalogue-section {
  padding: 0;
  border-bottom: 0;
}
.catalogue-heading {
  margin: 12px 0 16px;
  align-items: center;
}
.catalogue-heading h2 {
  font-size: 28px;
  margin: 0;
}
.catalogue-heading .eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
}
.catalogue-heading .section-copy {
  font-size: 14px;
  line-height: 1.6;
}
.filters {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.4fr 1fr 0.7fr;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: start;
}
.filters .search-label {
  grid-column: auto;
}
.filters label,
.filters .fish-picker > label {
  font-size: 12px;
  font-weight: 700;
  color: #4f6758;
  margin: 0;
}
.filters label > span {
  font-size: 12px;
}
.filters input,
.filters select {
  font-size: 16px;
  height: 46px;
  border: 1px solid #b9cbb6;
  border-radius: 8px;
  padding: 8px 11px;
  width: 100%;
  min-width: 0;
  background: #fff;
}
.filters select {
  appearance: auto;
}
.fish-input-row {
  border-radius: 8px;
}
.filters .fish-input-row input {
  height: 44px;
  border: 0;
}
.fish-picker > label {
  padding-bottom: 5px;
}
.fish-suggestions {
  z-index: 70;
  box-shadow: 0 10px 30px #173e3126;
}
.fish-suggestions img {
  width: 74px;
  height: 46px;
}
.fish-suggestions [role=option] {
  min-height: 60px;
}
.fish-search-status {
  font-size: 12px;
}
.translation-provenance {
  margin: 8px 0;
  font-size: 12px;
  color: var(--muted);
}
.translation-provenance > summary {
  padding: 7px 0;
}
.translation-note {
  font-size: 13px;
  margin: 8px 0;
  max-width: 85ch;
}
.part-menu {
  margin: 12px 0;
}
.part-menu a,
.part-menu button {
  min-height: 42px;
}
.category-decisions {
  margin: 12px 0;
}
.overview-disclosure,
.comparison {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.overview-disclosure > summary,
.comparison > summary {
  padding: 13px 16px;
  font-size: 15px;
  color: var(--green);
  font-weight: 700;
}
.overview-disclosure[open] > .decision-grid,
.overview-disclosure[open] > div,
.comparison[open] > .table-wrap {
  margin: 0 16px 16px;
}
.comparison p {
  padding: 0 16px;
  font-size: 14px;
}
.result-count {
  font: 600 13px system-ui;
  margin: 18px 0 12px;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.item-card {
  padding: 18px;
  box-shadow: var(--shadow);
  border-radius: 14px;
  overflow-wrap: anywhere;
}
.card-main {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  min-height: 112px;
}
.sprite {
  min-height: 112px;
  padding: 7px;
  background: #f0f3eb;
  border-radius: 10px;
}
.sprite img {
  width: 100px;
  height: 92px;
  object-fit: contain;
}
.sprite figcaption {
  font-size: 10px;
}
.card-text h3 {
  font-size: 18px;
  margin: 8px 0 4px;
  line-height: 1.4;
}
.jp-name {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.category-tag {
  font-size: 11px;
}
.price-badge {
  font-size: 13px;
  padding: 4px 9px;
}
.item-id {
  font-size: 11px;
}
.card-detail-link {
  display: block;
  background: var(--deep);
  color: white !important;
  border-radius: 8px;
  padding: 10px 13px;
  margin: 14px 0 0;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
}
.card-detail-link:hover {
  background: #2d6b50;
}
.item-card details[class$=-disclosure] {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}
.item-card details[class$=-disclosure] > summary {
  font-size: 13px;
  color: var(--green);
  font-weight: 650;
  padding: 6px 0;
}
.item-card .stat-list {
  font-size: 14px;
}
.item-card .stat-list li {
  font-size: 14px;
  line-height: 1.7;
}
.item-card .rod-verdict,
.item-card .gear-verdict {
  font-size: 14px;
  line-height: 1.6;
  padding: 9px 11px;
  background: #eaf1e4;
  border: 0;
  border-left: 3px solid #7b9b69;
  border-radius: 0 7px 7px 0;
}
.item-card h4 {
  font-size: 15px;
  line-height: 1.4;
}
.item-card .player-use,
.item-card .rod-recommendation {
  font-size: 14px;
}
.record-details summary {
  font-size: 13px;
}
.record-details p,
.record-details code,
.record-details dl {
  font-size: 13px;
}
.record-details h4 {
  font-size: 12px;
}
.frame-link {
  font-size: 14px;
}
.shop-locations {
  font-size: 14px;
}
.cards > .item-card:only-child {
  max-width: 700px;
}
.fish-chips {
  gap: 8px;
}
.fish-chip {
  font-size: 13px;
}
.guide-details {
  margin: 22px 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.guide-details > summary {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}
.guide-details .intro-section,
.guide-details .customizer-section,
.guide-details .methods-section {
  padding: 22px 0;
  border: 0;
}
.guide-details .section-copy {
  font-size: 15px;
}
.custom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.custom-frame figcaption {
  font-size: 13px;
}
.table-wrap table {
  font-size: 14px;
}
.table-wrap th {
  font-size: 13px;
}
.notes-grid p {
  font-size: 14px;
}
.research-details code {
  overflow-wrap: anywhere;
}
.map-browser {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.map-browser > .section-heading {
  margin-bottom: 12px;
}
.map-browser > .section-heading h2 {
  font-size: 24px;
}
.area-list {
  margin: 14px 0 20px;
}
.area-button {
  min-height: 62px;
  border-width: 1px;
  padding: 10px 12px;
}
.area-button strong {
  font-size: 16px;
}
.fish-location-links,
.fish-area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.fish-area-link,
.fish-profile-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: white;
  min-height: 44px;
}
.fish-location-details > summary {
  font-weight: 650;
  color: var(--green);
  padding: 10px 0;
}

/* src/shared/ui/part-3.css */
.browse-grid {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
}
.fish-browser,
.map-browser-panel {
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.fish-list {
  max-height: 520px;
}
.fish-choice {
  min-height: 66px;
  border-width: 1px;
}
.fish-choice img {
  width: 94px;
  height: 56px;
  flex-basis: 94px;
}
.fish-choice span {
  font-size: 15px;
}
.fish-choice small {
  font-size: 12px;
}
.map-panel-heading h3,
.fish-list-heading h3 {
  font-size: 20px;
}
.map-scroll {
  max-height: 600px;
}
.source-details {
  margin-top: 22px;
  font-size: 14px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.source-details > summary {
  font-weight: 650;
}
.map-note,
.search-help {
  font-size: 13px;
}
.map-overview {
  max-height: 175px;
  overflow: auto;
}
.search-row input {
  font-size: 16px;
}
.map-note code,
.source-details code {
  overflow-wrap: anywhere;
}
.fish-pin {
  min-width: 36px;
  min-height: 36px;
}
.map-zoom button {
  min-height: 44px;
  min-width: 44px;
}
.fish-scope-menu button {
  min-height: 44px;
}
.site-header,
.detail-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-nav a,
.site-nav a,
.language-nav a {
  font-size: 13px;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  text-decoration: none;
}
.site-header + main > h1 {
  margin-top: 14px;
  font-size: 34px;
}
.site-header + main > .lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 85ch;
}
.site-header + main .filters {
  grid-template-columns: 0.7fr 1.4fr 1fr 1.1fr auto;
  align-items: end;
}
.place-toggle {
  padding: 0 10px;
  border-color: var(--line);
  font-size: 13px;
  min-width: 0;
}
.place-toggle label {
  font-size: 13px;
}
.place-toggle input {
  height: auto;
  width: auto;
}
.place-toggle legend {
  font-size: 12px;
}
.site-header + main .filter-field label {
  font-size: 12px;
}
.site-header + main .filters button {
  font-size: 13px;
  min-height: 46px;
}
.location-section,
.stock-section {
  border-radius: 12px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  margin: 18px 0;
}
.location-section h2,
.stock-section h2 {
  font-size: 24px;
}
.location-visuals {
  gap: 14px;
}
.shop-results {
  gap: 14px;
}
.evidence-note {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.detail-shell {
  padding-top: 20px;
}
.detail-nav nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.detail-nav .language-links {
  margin-left: 0;
}
.detail-hero .detail-art {
  max-height: 300px;
}
.detail-hero h1 {
  font-size: clamp(28px, 3.3vw, 42px);
}
.detail-shell details > summary {
  min-height: 44px;
}
.detail-shell .record-details {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.detail-shell .record-details summary {
  font-size: 16px;
}
.detail-shell .record-details code {
  font-size: 13px;
}
body:has(.kit-grid) main {
  max-width: 1240px;
}
body:has(.kit-grid) main > nav {
  font-size: 14px;
  gap: 10px;
  padding: 8px 0;
}
body:has(.kit-grid) main > h1 {
  font-size: 34px;
  max-width: 900px;
}
body:has(.kit-grid) main > section {
  margin: 24px 0;
}
.kit-card,
.rod-card {
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.kit-card p,
.rod-card p {
  font-size: 15px;
}
.kit-grid,
.rod-grid {
  gap: 16px;
}
.kit-card h3,
.rod-card h3 {
  font-size: 20px;
}
body:has(.kit-grid) main > details {
  margin: 24px 0;
}
body:has(.kit-grid) main > details > summary {
  font-size: 17px;
}
body:has(.kit-grid) main > details code {
  overflow-wrap: anywhere;
}
@media (min-width: 1500px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .compendium-nav {
    gap: 15px;
    padding-inline: 20px;
  }
  .compendium-links a {
    padding: 10px;
    font-size: 13px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .filters .search-label {
    grid-column: auto;
  }
  .browse-grid {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .site-header + main .filters {
    grid-template-columns: 1fr 1fr;
  }
  .site-header + main .filters .search-field {
    grid-column: auto;
  }
}

/* src/shared/ui/part-4.css */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 170px;
  }
  .compendium-nav {
    padding: 10px 16px;
    display: block;
  }
  .compendium-brand {
    font-size: 16px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .compendium-brand small {
    font-size: 9px;
  }
  .compendium-links {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
  }
  .compendium-links a {
    font-size: 12px;
    text-align: center;
    padding: 9px 3px;
    min-height: 40px;
    line-height: 1.4;
  }
  .hero {
    padding: 18px 16px;
  }
  .hero-layout {
    grid-template-columns: 1fr 92px;
    gap: 12px;
  }
  .title-screen,
  .title-screen img {
    width: 92px;
  }
  .title-screen figcaption {
    display: none;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.28;
  }
  .hero .lead {
    font-size: 14px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-meta {
    gap: 7px;
    margin-top: 12px;
  }
  .hero .language-links {
    margin-left: auto;
  }
  .hero .count-chip {
    font-size: 10px;
  }
  .hero .language-link,
  .hero .language-current {
    font-size: 11px;
    padding: 5px 8px;
  }
  main {
    padding: 18px 16px 32px;
  }
  .equipment-menu h2 {
    font-size: 12px;
  }
  .category-menu {
    gap: 6px;
  }
  .category-menu a {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 40px;
  }
  .category-menu strong {
    font-size: 12px;
  }
  .category-menu img {
    width: 28px;
    height: 24px;
  }
  .guide-overview {
    margin: 12px 0 18px;
  }
  .guide-overview > summary {
    font-size: 14px;
    padding: 12px;
  }
  .catalogue-heading {
    display: block;
  }
  .catalogue-heading h2 {
    font-size: 26px;
  }
  .catalogue-heading .section-copy {
    font-size: 13px;
    margin: 6px 0 0;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    gap: 12px;
  }
  .filters .fish-picker {
    grid-column: 1/-1;
    order: -2;
  }
  .filters .search-label {
    grid-column: 1/-1;
    order: -1;
  }
  .filters label,
  .filters .fish-picker > label {
    font-size: 12px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .item-card {
    padding: 16px;
  }
  .card-main {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .sprite img {
    width: 96px;
    height: 88px;
  }
  .card-text h3 {
    font-size: 19px;
  }
  .decision-grid {
    grid-template-columns: 1fr;
  }
  .decision-items {
    gap: 8px;
  }
  .decision-item {
    width: auto;
    font-size: 13px;
  }
  .decision-item img {
    width: 70px;
    height: 56px;
  }
  .rod-alternatives .decision-item img {
    flex-basis: 70px;
  }
  .custom-grid {
    grid-template-columns: 1fr;
  }
  .intro-section {
    grid-template-columns: 1fr;
  }
  .guide-details {
    padding: 13px;
  }
  .section-heading {
    display: block;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 10px;
    font-size: 13px;
  }
  .browse-grid {
    grid-template-columns: 1fr;
  }
  .area-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .area-button {
    min-height: 54px;
    padding: 8px;
  }
  .area-button strong {
    font-size: 14px;
  }
  .area-button small {
    font-size: 11px;
  }
  .fish-browser,
  .map-browser-panel {
    padding: 14px;
  }
  .fish-list {
    max-height: 260px;
    grid-template-columns: 1fr 1fr;
  }
  .fish-choice {
    gap: 7px;
    padding: 6px;
  }
  .fish-choice img {
    width: 52px;
    height: 42px;
    flex-basis: 52px;
  }
  .fish-choice span {
    font-size: 12px;
  }
  .fish-choice small {
    font-size: 10px;
  }
  .map-overview {
    max-height: 140px;
  }
  .map-scroll {
    max-height: 480px;
  }
  .site-header,
  .detail-nav {
    padding: 10px 16px;
    gap: 7px;
  }
  .site-header + main > h1 {
    font-size: 28px;
  }
  .site-header + main .filters {
    grid-template-columns: 1fr 1fr;
  }
  .site-header + main .filters .search-field,
  .site-header + main .filters .place-toggle {
    grid-column: 1/-1;
  }
  .location-section,
  .stock-section {
    padding: 14px;
  }
  .detail-shell {
    padding: 16px;
  }
  .kit-grid,
  .rod-grid {
    grid-template-columns: 1fr;
  }
  body:has(.kit-grid) main > h1 {
    font-size: 28px;
  }
  .notes-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 20px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
.category-menu [aria-current=true] {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.category-menu a > span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.category-menu a small {
  margin: 0;
}
.equipment-menu .category-menu {
  grid-template-columns: none;
}
.filters > label,
.filters > .fish-picker {
  min-width: 0;
}
@media (max-width: 700px) {
  .category-menu {
    flex-wrap: nowrap;
    overflow: auto;
    padding: 2px 1px 8px;
    scrollbar-width: thin;
  }
  .category-menu a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .category-menu a img {
    width: 30px;
    height: 26px;
  }
  .equipment-menu {
    margin-bottom: 8px;
  }
  .catalogue-heading .section-copy {
    max-width: 52ch;
  }
}
.hero-layout {
  grid-template-columns: 1fr 128px;
}
.title-screen,
.title-screen img {
  width: 128px;
}
.title-screen figcaption {
  display: none;
}
.hero {
  padding-block: 20px;
}
.hero .quick-guide-link {
  padding: 6px 10px;
  border: 1px solid #c1d0b9;
  border-radius: 7px;
  background: #fffefa;
  font-size: 13px;
}
.hero-meta {
  margin-top: 10px;
}
.category-menu a {
  padding-block: 8px;
}
.catalogue-heading {
  margin-top: 18px;
}
@media (max-width: 700px) {
  .hero-layout {
    grid-template-columns: 1fr 92px;
  }
  .title-screen,
  .title-screen img {
    width: 92px;
  }
  .hero {
    padding-block: 16px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero .quick-guide-link {
    font-size: 11px;
  }
  .hero-meta .count-chip {
    display: none;
  }
  .catalogue-heading {
    margin-top: 12px;
  }
}
[id] {
  scroll-margin-top: 12px;
}
.detail-section:target {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  [id] {
    scroll-margin-top: 12px;
  }
}

/* src/shared/ui/workspace.css */
.catalogue-workspace {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
#catalogue-load-feedback {
  grid-column: 1/-1;
}
.catalogue-tools {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.catalogue-tools .target-controls {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.catalogue-tools label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.catalogue-tools select,
.catalogue-tools input {
  width: 100%;
  min-width: 0;
  height: 44px;
  font-size: 16px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}
.catalogue-tools .fish-input-row input {
  border: 0;
}
.catalogue-tools .fish-search-status:empty,
.control-note:empty {
  display: none;
}
.control-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.catalogue-tools .category-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}
.catalogue-tools .category-menu a {
  min-height: 44px;
  padding: 7px 9px;
}
.catalogue-tools .category-menu a > span {
  flex: 1;
  justify-content: space-between;
}
.catalogue-tools .filters {
  grid-template-columns: 1fr;
  padding: 12px 0 0;
  border: 0;
  background: none;
}
.catalogue-tools .part-menu {
  margin-top: 12px;
  gap: 5px;
}
.catalogue-tools .part-menu button,
.catalogue-tools .part-menu a {
  font-size: 13px;
  padding: 8px;
}
.catalogue-refine {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}
.catalogue-refine > summary {
  font-size: 13px;
  font-weight: 650;
}
.catalogue-results {
  min-width: 0;
}
.catalogue-results .catalogue-heading {
  display: block;
  margin: 0 0 16px;
}
.catalogue-results .catalogue-heading .section-copy {
  max-width: 65ch;
  margin-top: 6px;
}
.catalogue-results .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.catalogue-results .fish-location-panel {
  padding: 14px 16px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.catalogue-results .location-heading {
  gap: 12px;
}
.catalogue-results .location-heading > a {
  flex: 0 0 72px;
}
.catalogue-results .location-heading > a > img {
  width: 72px;
  height: 54px;
}
.catalogue-results .fish-location-panel h2 {
  font-size: 18px;
  margin: 0 0 4px;
}
.catalogue-results .location-heading p {
  font-size: 13px;
}
.catalogue-results .fish-location-links {
  align-items: center;
  margin: 8px 0;
}
.catalogue-results .fish-location-links a {
  margin: 0;
  padding: 7px 10px;
  min-height: 44px;
  font-size: 13px;
}
.catalogue-results .fish-area-links {
  margin-top: 10px;
  font-size: 13px;
}
.page-section-index {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 0;
  margin: 0 0 20px;
  border-block: 1px solid var(--line);
}
.page-section-index a,
.water-filter-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
#location-section > .place-toggle {
  margin: 0 0 14px;
}
@media (max-width: 1000px) {
  .catalogue-workspace {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 18px;
  }
  .catalogue-results .cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 114px;
  }
  .compendium-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 4px;
  }
  .compendium-links a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 11px;
    min-height: 44px;
  }
  .catalogue-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .catalogue-tools {
    padding: 14px;
  }
  .catalogue-tools .category-menu {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .catalogue-tools .category-menu a > span {
    gap: 6px;
  }
  .catalogue-tools .filters {
    grid-template-columns: 1fr 1fr;
  }
  .catalogue-tools .filters .search-label {
    grid-column: 1/-1;
  }
  .catalogue-results .location-heading {
    align-items: flex-start;
  }
  .catalogue-results .fish-location-links {
    flex-wrap: wrap;
  }
  .page-section-index {
    flex-wrap: wrap;
  }
  .page-section-index a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
.page-section-index > strong {
  align-self: center;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* src/shared/ui/index.css */

/* src/pages/quests/index.css */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
:root {
  --soft-green: var(--soft);
  --green-dark: var(--deep);
  --soft-gold: #fff1cc;
}
.site-header,
footer {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 16px 24px;
}
.site-nav,
.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.language-nav {
  justify-content: flex-end;
}
.quest-heading .lead {
  color: var(--muted);
}
.status {
  color: var(--muted);
}
.route-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  font-weight: 650;
}
.route-button:hover {
  background: var(--soft);
}
.quest-filter select {
  font: inherit;
}
.quest-heading {
  max-width: 760px;
}
.quest-heading h1 {
  margin-bottom: 0.25em;
}
.quest-scope {
  color: var(--muted);
  font-size: 0.95rem;
}
.quest-filter {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--soft-green);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.quest-filter label {
  font-weight: 700;
}
.quest-filter select {
  min-width: 160px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 10px;
}
.quest-group {
  margin-block: 28px;
}
.quest-group h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.quest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.quest-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-dark);
  border-radius: 16px;
  scroll-margin-top: 12px;
  min-width: 0;
}
.quest-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.4;
}
.quest-card ol {
  padding-left: 1.5em;
  margin: 0;
}
.quest-card li + li {
  margin-top: 9px;
}
.quest-warning {
  padding: 12px 14px;
  background: var(--soft-gold);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  font-size: 0.95rem;
}
.quest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 20px 12px;
}
.quest-actions .route-button {
  white-space: normal;
}
.quest-evidence {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.quest-evidence summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--green-dark);
}
.quest-evidence ul {
  padding-left: 1.25em;
}
.quest-evidence a,
.quest-evidence code {
  overflow-wrap: anywhere;
}
@media (max-width: 740px) {
  .quest-grid {
    grid-template-columns: 1fr;
  }
  .quest-card {
    padding: 20px;
  }
  .quest-filter {
    justify-content: space-between;
    padding: 14px;
  }
  .quest-actions .route-button {
    flex: 1 1 180px;
    text-align: center;
  }
}

/* src/app/quests.css */
