:root {
  --bg: #f7fbff;
  --panel: rgba(255, 255, 255, .94);
  --panel-2: rgba(79, 143, 136, .08);
  --paper: #0f1722;
  --muted: #5a6678;
  --gold: #53d7c9;
  --ember: #1177ff;
  --cyan: #1fb6c9;
  --line: rgba(26, 84, 122, .16);
  --radius: 28px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { min-width: 0; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 18%, rgba(31, 182, 201, .10), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(17, 119, 255, .08), transparent 22%),
    linear-gradient(180deg, #fbfdff, #f2f7fb 58%, #eef5fb);
  color: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  overflow-x: auto;
}
button, input { font: inherit; }
.yokai-page {
  min-height: 100vh;
  width: max(1280px, min(100%, 1544px));
  margin: 0 auto;
  padding: clamp(12px, 1.55vw, 22px);
  position: relative;
  isolation: isolate;
}
.yokai-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31,182,201,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,119,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: none;
}
.yokai-topbar {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin: 0 auto 16px;
  width: 100%;
  max-width: 1500px;
}
.eyebrow, .top-actions, .stat-row, .mini-index-head, .capsule {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: rgba(31,182,201,.82); }
h1, h2, p { margin: 0; }
h1 { margin-top: 8px; font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: .06em; }
h1 span { margin-left: 18px; color: var(--muted); font-size: 14px; letter-spacing: .22em; vertical-align: middle; }
.top-actions { display: flex; gap: 10px; }
.top-actions a {
  color: var(--paper);
  text-decoration: none;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
}
.top-actions a.active {
  color: #f7fdff;
  background: linear-gradient(135deg, #0d2038, #1177ff 60%, #1fb6c9);
  border-color: rgba(17,119,255,.3);
}
.stat-row { display: flex; gap: 10px; }
.stat-row div {
  min-width: 112px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(239,247,255,.82));
  box-shadow: 0 14px 36px rgba(15,49,86,.08);
}
.stat-row b { display: block; color: #0f1722; font-size: 24px; line-height: 1; letter-spacing: 0; }
.stat-row span { display: block; margin-top: 6px; color: rgba(90,102,120,.72); font-size: 10px; }
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  grid-template-rows: auto minmax(620px, calc(100vh - 414px)) auto;
  gap: 16px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.module-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.module-strip article, .module-strip a {
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(238,247,255,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 18px 48px rgba(18,64,112,.06);
}
.module-strip article.active, .module-strip a.active {
  border-color: rgba(17,119,255,.28);
  background: linear-gradient(145deg, rgba(17,119,255,.12), rgba(31,182,201,.10));
}
.module-strip article, .module-strip a { color: var(--paper); text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.module-strip article:hover, .module-strip a:hover { transform: translateY(-2px); border-color: rgba(17,119,255,.3); }
.module-strip span {
  color: var(--cyan);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .2em;
}
.module-strip h2 {
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: .06em;
}
.module-strip p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.map-panel, .focus-panel, .province-wall {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(13,42,78,.09), inset 0 1px 0 rgba(255,255,255,.72);
}
.map-panel {
  position: relative;
  overflow: hidden;
  contain: layout paint;
  min-height: clamp(560px, calc(100vh - 414px), 700px);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(242,248,255,.92));
}
.map-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 48% 42%, rgba(17,119,255,.05), transparent 42%),
    radial-gradient(circle at 68% 62%, rgba(31,182,201,.05), transparent 28%);
  pointer-events: none;
}
.reference-map { position: absolute; inset: 4px 8px 0 0; contain: layout paint; touch-action: pan-x pan-y; will-change: transform; }
.floating-specimens { position: absolute; inset: 0; pointer-events: none; }
.focus-panel { padding: 18px; overflow: hidden; }
.active-specimen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  min-height: 300px;
  padding: 18px;
  border: 1px solid rgba(17,119,255,.16);
  border-radius: 25px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,250,255,.94)),
    radial-gradient(circle at top right, rgba(31,182,201,.08), transparent 34%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 18px 54px rgba(12,36,74,.08);
}
.active-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.active-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}
.capsule { display: inline-block; padding: 7px 10px; border-radius: 999px; background: rgba(17,119,255,.10); color: #1177ff; font-size: 10px; }
.active-specimen h2 { margin-top: 0; font-size: 34px; letter-spacing: .08em; }
.active-meta {
  margin-top: 10px;
  color: #1177ff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}
.active-specimen p { margin-top: 10px; color: rgba(15,23,34,.74); font-size: 15px; line-height: 1.82; }
.active-source {
  margin-top: 12px;
  color: rgba(90,102,120,.86);
  font-size: 13px;
  line-height: 1.7;
}
.monster-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.monster-stack span { max-width: 140px; padding: 6px 10px; border: 1px solid rgba(17,119,255,.14); border-radius: 999px; background: rgba(244,250,255,.92); color: rgba(15,23,34,.74); font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.monster-stack--dense { margin-top: 10px; }
.active-subsection {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17,119,255,.10);
}
.active-subsection:first-of-type {
  margin-top: 18px;
}
.active-subhead {
  color: #1fb6c9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.active-region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.active-region-list li {
  padding: 10px 12px;
  border: 1px solid rgba(17,119,255,.12);
  border-radius: 14px;
  background: rgba(246,250,255,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.active-region-list strong,
.active-region-list span {
  display: block;
}
.active-region-list strong {
  font-size: 13px;
}
.active-region-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.active-visual picture,
.active-visual img {
  align-self: stretch;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}
.active-visual picture {
  min-height: 100%;
}
.active-visual img {
  width: min(100%, 320px);
  height: auto;
  max-height: 320px;
  object-fit: contain;
  filter: contrast(1.06) saturate(.98) drop-shadow(0 20px 42px rgba(17,119,255,.08));
}
.mini-index-head,
.mini-index,
.monster-catalog {
  display: none;
}
.catalog-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px;
  border: 1px solid rgba(17,119,255,.10);
  border-radius: 16px;
  background: rgba(246,250,255,.92);
}
.catalog-item picture,
.catalog-item img {
  width: 52px;
  height: 72px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}
.catalog-item picture {
  display: block;
  overflow: hidden;
}
.catalog-item img {
  display: block;
  object-fit: cover;
}
.catalog-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.catalog-item-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}
.catalog-item-head i {
  flex: 0 0 auto;
  color: rgba(79,143,136,.86);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}
.catalog-item p {
  margin-top: 6px;
  color: rgba(46,38,29,.64);
  font-size: 11px;
  line-height: 1.55;
}
.catalog-item-source {
  margin-top: 7px;
  color: rgba(17,119,255,.72);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
}
.catalog-item--empty {
  display: block;
  grid-template-columns: none;
  padding: 16px;
  text-align: center;
  color: rgba(90,102,120,.72);
}
.province-wall {
  grid-column: 1 / 3;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,248,255,.94));
}
.wall-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 4px 10px; }
.wall-head-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.wall-head h2 { color: #1177ff; font-size: 14px; letter-spacing: .18em; }
.wall-head p { color: rgba(15,23,34,.58); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.wall-head h2 i {
  font-style: normal;
}
.wall-head h2 span { color: rgba(15,23,34,.9); }
.atlas-mode-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(17,119,255,.12);
  border-radius: 999px;
  background: rgba(247,251,255,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
}
.atlas-mode-button {
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(90,102,120,.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.atlas-mode-button:hover,
.atlas-mode-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: rgba(17,119,255,.08);
}
.atlas-mode-button.active {
  background: linear-gradient(145deg, rgba(17,119,255,.14), rgba(31,182,201,.14));
  color: #0d2038;
  box-shadow: inset 0 0 0 1px rgba(17,119,255,.10);
}
.wall-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 4px 14px;
  padding: 12px;
  border: 1px solid rgba(17,119,255,.10);
  border-radius: 20px;
  background: rgba(251,254,255,.98);
}
.wall-filter-group {
  min-width: 0;
}
.wall-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.wall-filter-head span,
.wall-filter-head b {
  display: block;
  min-width: 0;
}
.wall-filter-head span {
  color: #1177ff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: none;
}
.wall-filter-head b {
  color: rgba(90,102,120,.84);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  line-height: 1.5;
}
.wall-filter-reset {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1177ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}
.monster-filter-chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.monster-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(17,119,255,.14);
  border-radius: 999px;
  background: rgba(246,250,255,.96);
  color: rgba(15,23,34,.74);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.monster-filter-chip:hover,
.monster-filter-chip:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(17,119,255,.28);
  background: rgba(17,119,255,.08);
}
.monster-filter-chip.active {
  border-color: rgba(17,119,255,.28);
  background: linear-gradient(145deg, rgba(17,119,255,.12), rgba(31,182,201,.12));
  color: #0d2038;
}
.monster-filter-chip i {
  color: rgba(31,182,201,.9);
  font-style: normal;
  font-weight: 900;
  font-size: 10px;
}
.province-grid { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 8px; }
.monster-atlas-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.province-chip {
  min-width: 0;
  height: 72px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(17,119,255,.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(241,248,255,.78));
  color: var(--paper);
  cursor: pointer;
}
.province-chip:hover, .province-chip:focus-visible { outline: 1px solid var(--gold); background: rgba(17,119,255,.08); }
.province-chip.active { border-color: rgba(17,119,255,.28); background: linear-gradient(145deg, rgba(17,119,255,.12), rgba(31,182,201,.10)); box-shadow: inset 0 0 0 1px rgba(17,119,255,.08); }
.province-chip.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  min-height: 120px;
  padding: 18px;
  border-style: dashed;
  background: rgba(245,250,255,.84);
  color: rgba(90,102,120,.8);
  text-align: center;
  cursor: default;
}
.province-chip.empty-state:hover,
.province-chip.empty-state:focus-visible {
  outline: none;
  background: rgba(240,247,255,.8);
  transform: none;
}
.province-chip picture, .province-chip img { width: 34px; height: 52px; border-radius: 10px; background: rgba(255,255,255,.08); }
.province-chip picture { display: block; overflow: hidden; }
.province-chip img { display: block; object-fit: cover; }
.province-chip b { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 13px; line-height: 1.05; }
.province-chip i { flex: 0 0 auto; color: rgba(31,182,201,.9); font-size: 9px; font-style: normal; font-weight: 900; }
.province-chip em { display: block; margin-top: 5px; color: rgba(90,102,120,.88); font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.province-chip small { display: block; margin-top: 4px; color: rgba(90,102,120,.62); font-size: 9px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.monster-atlas-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  min-height: 116px;
  padding: 10px;
  border: 1px solid rgba(17,119,255,.12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(241,248,255,.78));
  color: var(--paper);
  cursor: pointer;
  text-align: left;
}
.monster-atlas-card:hover,
.monster-atlas-card:focus-visible {
  outline: 1px solid var(--gold);
  background: rgba(17,119,255,.08);
}
.monster-atlas-card.active {
  border-color: rgba(17,119,255,.28);
  background: linear-gradient(145deg, rgba(17,119,255,.12), rgba(31,182,201,.10));
  box-shadow: inset 0 0 0 1px rgba(17,119,255,.08);
}
.monster-atlas-card picture,
.monster-atlas-card img {
  width: 76px;
  height: 96px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}
.monster-atlas-card picture {
  display: block;
  overflow: hidden;
}
.monster-atlas-card img {
  display: block;
  object-fit: contain;
}
.monster-atlas-meta {
  min-width: 0;
}
.monster-atlas-meta b {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  font-size: 18px;
  line-height: 1.1;
}
.monster-atlas-meta i {
  flex: 0 0 auto;
  color: rgba(31,182,201,.9);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.monster-atlas-meta em {
  display: block;
  margin-top: 8px;
  color: rgba(90,102,120,.86);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.monster-atlas-meta small {
  display: -webkit-box;
  margin-top: 6px;
  color: rgba(90,102,120,.72);
  font-size: 10px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(17,119,255,.74);
  font-weight: 900;
  letter-spacing: .16em;
}
.haunted-placeholder { margin-top: 16px; }
.haunted-placeholder > span { display: inline-block; margin-bottom: 12px; color: rgba(31,182,201,.88); font-size: 12px; font-weight: 900; letter-spacing: .16em; }

@media (max-width: 560px) {
  html { min-width: 0; }
  body { overflow-x: auto; }
  .yokai-page { width: 100%; min-width: 0; padding: 16px; }
  .yokai-topbar, .atlas-layout { grid-template-columns: 1fr; }
  .yokai-topbar { gap: 16px; }
  .title-block h1 { max-width: 100%; }
  .stat-row, .top-actions { justify-content: flex-start; flex-wrap: wrap; }
  .atlas-layout { grid-template-rows: auto; gap: 14px; }
  .focus-panel, .province-wall { grid-column: 1; }
  .province-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .map-panel { min-height: clamp(520px, 62vh, 620px); }
  .reference-map { inset: 6px; }
  h1 span { display: block; margin: 10px 0 0; }
  .active-specimen {
    grid-template-columns: minmax(0, 1.12fr) minmax(220px, .88fr);
    align-items: start;
  }
  .active-specimen picture {
    min-height: 260px;
  }
  .wall-head {
    align-items: start;
  }
}

@media (max-width: 760px) {
  :root { --radius: 22px; }
  .yokai-page { padding: 10px; }
  .yokai-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px;
    border-radius: 22px;
    background: rgba(251, 246, 236, .92);
    backdrop-filter: blur(14px);
  }
  .eyebrow { font-size: 10px; letter-spacing: .2em; }
  h1 { margin-top: 7px; font-size: clamp(28px, 11vw, 46px); line-height: .92; }
  .top-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: start;
    gap: 8px;
    margin: 0 -4px;
    padding: 2px 4px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .top-actions::-webkit-scrollbar { display: none; }
  .top-actions a { min-height: 40px; padding: 11px 13px; white-space: nowrap; }
  .stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat-row div { min-width: 0; padding: 10px 8px; border-radius: 16px; }
  .stat-row b { font-size: 20px; }
  .stat-row span { font-size: 9px; letter-spacing: .1em; }
  .module-strip { grid-template-columns: 1fr; gap: 10px; }
  .module-strip article, .module-strip a { min-height: 112px; padding: 16px; }
  .module-strip h2 { margin-top: 14px; font-size: 22px; }
  .module-strip p { max-width: 28em; }
  .map-panel {
    min-height: 520px;
    height: min(640px, 68vh);
    overflow: hidden;
  }
  .reference-map { inset: 0; }
  .floating-specimens { display: none; }
  .focus-panel { padding: 12px; }
  .active-specimen { min-height: 248px; padding: 14px; }
  .active-specimen h2 { margin-top: 12px; font-size: 30px; }
  .active-specimen p { font-size: 12px; line-height: 1.65; }
  .monster-stack { width: 100%; }
  .active-visual picture {
    width: 100%;
    max-width: none;
    min-height: 220px;
  }
  .mini-index { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .mini-index::-webkit-scrollbar { display: none; }
  .mini-index li { flex: 0 0 128px; min-height: 48px; }
  .monster-catalog-list { max-height: none; }
  .wall-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 12px;
  }
  .wall-head p { margin-top: 6px; line-height: 1.55; }
  .atlas-mode-toggle {
    width: max-content;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .wall-filters { grid-template-columns: 1fr; }
  .wall-filter-head { align-items: start; }
  .wall-filter-head b { text-align: left; }
  .province-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .monster-atlas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .province-chip { height: 82px; grid-template-columns: 42px 1fr; padding: 7px; border-radius: 18px; }
  .province-chip picture, .province-chip img { width: 42px; height: 64px; border-radius: 12px; }
  .province-chip b { font-size: 14px; }
  .province-chip em { font-size: 11px; }
}

@media (max-width: 420px) {
  .yokai-page { padding: 8px; }
  .map-panel { min-height: 500px; height: 64vh; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row div:last-child { grid-column: 1 / -1; }
  .active-specimen { grid-template-columns: 1fr; }
  .active-specimen p, .monster-stack { width: 100%; padding-right: 0; }
  .active-visual picture { width: 100%; max-width: none; }
  .province-grid { grid-template-columns: 1fr; }
  .monster-atlas-grid { grid-template-columns: 1fr; }
  .province-chip { height: 76px; }
}
