:root {
  color-scheme: dark;
  --bg: #141116;
  --panel: #211b26;
  --panel-2: #2a2330;
  --line: #423846;
  --text: #f7f0e4;
  --muted: #c8b9c7;
  --ember: #ff7847;
  --gold: #f0c85f;
  --mint: #61d4af;
  --cyan: #55c7df;
  --violet: #9272ff;
  --danger: #ff4c68;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 17, 22, 0.88);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.tag-row,
.tabs,
.filter-row,
.link-grid,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.build-badge,
.tag {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.nav {
  gap: 8px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.build-badge {
  padding: 7px 10px;
  color: var(--mint);
  background: rgba(97, 212, 175, 0.1);
  white-space: nowrap;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.guide-band,
.quick-grid,
.two-column,
.content-grid,
.value-strip,
.route-deep,
.predator-guide,
.ranch-guide,
.breeding-hub,
.faq-band,
.faq-list,
.editorial-policy,
.sources {
  margin-top: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 20px;
  min-height: min(690px, calc(100vh - 132px));
  padding: clamp(20px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 120, 71, 0.18), transparent 42%),
    linear-gradient(45deg, rgba(85, 199, 223, 0.12), transparent 50%),
    #1b171e;
  box-shadow: var(--shadow);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.summary {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button,
.tab-button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.button {
  padding: 0 14px;
  font-weight: 800;
}

.button.primary {
  border-color: rgba(255, 120, 71, 0.45);
  background: var(--ember);
  color: #1d1110;
}

.button:hover,
.tab-button:hover,
.filter-button:hover,
.link-grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.pal-card,
.panel,
.answer-tile,
.value-strip article,
.faq-band article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(33, 27, 38, 0.86);
  box-shadow: var(--shadow);
}

.pal-card {
  align-self: center;
  padding: 18px;
}

.pal-stage {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px),
    #2b2332;
}

.pal-stage img {
  width: min(230px, 76%);
  image-rendering: auto;
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.42));
}

.tag-row {
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  padding: 5px 10px;
  font-weight: 800;
}

.tag.dark {
  color: #ddd4ff;
  background: rgba(146, 114, 255, 0.16);
}

.tag.fire {
  color: #ffd1bf;
  background: rgba(255, 120, 71, 0.16);
}

.tag.night {
  color: #c7f6ff;
  background: rgba(85, 199, 223, 0.14);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
}

.mini-stats div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-stats dd {
  margin: 0;
  font-weight: 900;
}

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

.answer-tile {
  min-height: 178px;
  padding: 18px;
}

.tile-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.answer-tile p,
.panel p,
.faq-band p,
.sources {
  color: var(--muted);
}

.accent-fire {
  border-color: rgba(255, 120, 71, 0.28);
}

.accent-green {
  border-color: rgba(97, 212, 175, 0.28);
}

.accent-cyan {
  border-color: rgba(85, 199, 223, 0.28);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.panel {
  padding: clamp(18px, 3vw, 26px);
  overflow: hidden;
}

.section-head {
  margin-bottom: 12px;
}

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

.tabs {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-button,
.filter-button {
  padding: 0 12px;
  color: var(--muted);
}

.tab-button.active,
.filter-button.active {
  border-color: rgba(240, 200, 95, 0.42);
  background: rgba(240, 200, 95, 0.13);
  color: var(--text);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.route-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.route-list li {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.route-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.route-detail-grid div,
.route-warning {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.route-detail-grid span,
.route-warning span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.route-detail-grid strong,
.route-warning strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.route-detail-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.route-warning {
  margin-top: 14px;
  border-left: 3px solid var(--gold);
  background: rgba(240, 200, 95, 0.1);
}

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

.route-step,
.predator-card,
.ranch-card,
.build-stage {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.route-step {
  min-height: 230px;
  padding: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(240, 200, 95, 0.13);
  color: var(--gold);
  font-weight: 900;
}

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

.tip-board div {
  padding: 14px;
  border-left: 3px solid var(--mint);
  border-radius: 8px;
  background: rgba(97, 212, 175, 0.08);
}

.tip-board div:last-child {
  border-color: var(--ember);
  background: rgba(255, 120, 71, 0.08);
}

.tip-board strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.tip-board p {
  margin: 0;
}

.danger-pill,
.success-pill,
.warning-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.danger-pill {
  color: #ffb4c0;
  background: rgba(255, 76, 104, 0.12);
}

.success-pill {
  color: var(--mint);
  background: rgba(97, 212, 175, 0.1);
}

.warning-pill {
  color: var(--gold);
  background: rgba(240, 200, 95, 0.1);
}

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

.predator-card {
  min-height: 250px;
  padding: 16px;
}

.compare-mini,
.source-stack {
  display: grid;
  gap: 10px;
}

.compare-mini {
  margin-top: 14px;
}

.compare-mini div,
.source-stack div {
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.compare-mini span,
.source-stack span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.compare-mini strong,
.source-stack strong {
  color: var(--text);
}

.tight-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.tight-list li::marker {
  color: var(--mint);
}

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

.loot-lane div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.loot-lane img {
  width: 46px;
  height: 46px;
}

.loot-lane span {
  font-weight: 900;
}

.checklist-panel {
  align-self: start;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  color: var(--text);
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint);
}

.progress-wrap {
  margin-top: 14px;
}

.progress-wrap span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--mint);
  font-weight: 900;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  margin: 0;
  background: var(--mint);
  transition: width 180ms ease;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.value-strip article {
  padding: 18px;
}

.value-strip h2 {
  font-size: 1.15rem;
}

.score-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: var(--muted);
}

meter {
  width: 100%;
  height: 12px;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: var(--ember);
}

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

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

.ranch-card {
  min-height: 192px;
  padding: 16px;
}

.ranch-build {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.build-stage {
  min-height: 150px;
  padding: 14px;
}

.build-stage span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--ember);
  color: #1d1110;
  font-weight: 900;
}

.build-stage strong {
  display: block;
  margin-bottom: 6px;
}

.build-stage p {
  margin-bottom: 0;
}

.wide {
  grid-column: 1 / -1;
}

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

.loot-card {
  min-height: 214px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.loot-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.loot-card.predator {
  border-color: rgba(255, 76, 104, 0.3);
}

.data-note,
.authority-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(97, 212, 175, 0.24);
  border-radius: 8px;
  background: rgba(97, 212, 175, 0.08);
  color: var(--mint);
  font-weight: 800;
}

.data-note span {
  color: var(--text);
  font-weight: 700;
}

.drop-source-table {
  margin-top: 18px;
}

.table-title {
  margin-bottom: 10px;
}

.table-title h3 {
  margin-bottom: 4px;
}

.table-title p {
  margin-bottom: 0;
  color: var(--muted);
}

.compact-table table {
  min-width: 920px;
}

.compact-table th,
.compact-table td {
  vertical-align: top;
}

.compact-table td:first-child {
  color: var(--gold);
  font-weight: 900;
}

.best-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.best-method-grid article {
  min-height: 226px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.method-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.method-icon img {
  width: 42px;
  height: 42px;
}

.authority-links {
  border-color: rgba(85, 199, 223, 0.24);
  background: rgba(85, 199, 223, 0.07);
  color: var(--text);
}

.authority-links span {
  color: var(--cyan);
}

.authority-links a {
  color: var(--cyan);
}

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

.work-list div,
.diff-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.work-list strong {
  color: var(--gold);
}

.skill-copy {
  margin-bottom: 0;
}

.breeding-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
}

.breeding-mode {
  display: grid;
  align-self: start;
  gap: 8px;
}

.mode-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.mode-button.active,
.mode-button:hover {
  border-color: rgba(240, 200, 95, 0.38);
  background: rgba(240, 200, 95, 0.12);
  color: var(--text);
}

.breeding-panel {
  display: none;
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.breeding-panel.active {
  display: block;
}

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

.combo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.combo-card span {
  color: var(--text);
  font-weight: 900;
}

.combo-card b {
  color: var(--gold);
  text-align: center;
}

.combo-card em {
  grid-column: 1 / -1;
  color: var(--mint);
  font-style: normal;
  font-weight: 900;
}

.compact-tips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

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

.filter-row {
  flex-wrap: wrap;
  gap: 8px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
}

th {
  color: var(--mint);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.045);
}

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

.diff-list div {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.diff-list span {
  width: 70px;
  color: var(--muted);
}

.diff-list strong {
  color: var(--mint);
}

.diff-list em {
  color: #ffb4c0;
  font-style: normal;
}

.version-audit p {
  margin-bottom: 14px;
}

.audit-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.audit-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(97, 212, 175, 0.26);
  background: rgba(97, 212, 175, 0.08);
  color: var(--mint);
  font-weight: 900;
}

.audit-result.warn {
  border-color: rgba(240, 200, 95, 0.36);
  background: rgba(240, 200, 95, 0.1);
  color: var(--gold);
}

.audit-result.danger {
  border-color: rgba(255, 76, 104, 0.38);
  background: rgba(255, 76, 104, 0.12);
  color: #ffb4c0;
}

.link-grid {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.link-grid a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
}

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

.faq-band article {
  padding: 18px;
}

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

.faq-grid article {
  min-height: 166px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.faq-grid p {
  margin-bottom: 0;
}

.sources {
  padding: 24px 0 42px;
  font-size: 0.94rem;
}

.sources p {
  margin: 0 0 10px;
}

.sources p:last-child {
  flex-wrap: wrap;
  gap: 10px;
}

.sources a {
  display: inline-block;
  margin-right: 10px;
  color: var(--cyan);
}

.footer-links {
  flex-wrap: wrap;
  gap: 10px;
}

.policy-page {
  max-width: 860px;
  margin: 28px auto 0;
}

.policy-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.policy-page h2 {
  margin-top: 28px;
  font-size: 1.2rem;
}

.policy-page a,
.editorial-policy a {
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .two-column,
  .content-grid,
  .faq-band,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .quick-grid,
  .value-strip {
    grid-template-columns: 1fr;
  }

  .route-deck,
  .predator-layout,
  .ranch-grid,
  .ranch-build,
  .route-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loot-lane,
  .tip-board {
    grid-template-columns: 1fr;
  }

  .breeding-layout {
    grid-template-columns: 1fr;
  }

  .breeding-mode {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .loot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .best-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    min-height: 62px;
    padding: 10px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    font-size: 0.92rem;
  }

  .build-badge {
    font-size: 0.78rem;
  }

  .hero {
    padding: 16px;
    gap: 14px;
  }

  .split-head {
    display: block;
  }

  .split-head .button,
  .split-head > span {
    margin-top: 8px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(2.45rem, 14vw, 3.65rem);
    line-height: 0.92;
  }

  .summary {
    font-size: 0.98rem;
    line-height: 1.5;
  }

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

  .button {
    width: auto;
    min-height: 40px;
    padding: 0 6px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .pal-stage {
    min-height: 154px;
  }

  .pal-stage img {
    width: min(172px, 62%);
  }

  .mini-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .mini-stats div {
    padding: 8px 6px;
  }

  .mini-stats dt {
    font-size: 0.68rem;
  }

  .mini-stats dd {
    font-size: 0.88rem;
  }

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

  .best-method-grid {
    grid-template-columns: 1fr;
  }

  .best-method-grid article {
    min-height: auto;
  }

  .route-deck,
  .route-detail-grid,
  .predator-layout,
  .ranch-grid,
  .ranch-build,
  .breeding-mode,
  .compact-tips,
  .audit-box {
    grid-template-columns: 1fr;
  }

  .combo-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .combo-card b {
    text-align: left;
  }

  .route-step,
  .predator-card,
  .ranch-card,
  .build-stage {
    min-height: auto;
  }

  .skill-head {
    display: block;
  }

  .filter-row {
    margin-top: 10px;
  }

  .score-line {
    grid-template-columns: 76px minmax(0, 1fr) 38px;
    font-size: 0.92rem;
  }

  .compact-table table {
    min-width: 0;
  }

  .compact-table thead {
    display: none;
  }

  .compact-table tbody,
  .compact-table tr,
  .compact-table td {
    display: block;
  }

  .compact-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .compact-table td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 7px 0;
    border: 0;
  }

  .compact-table td::before {
    color: var(--mint);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .compact-table td:nth-child(1)::before {
    content: "Source";
  }

  .compact-table td:nth-child(2)::before {
    content: "Drops";
  }

  .compact-table td:nth-child(3)::before {
    content: "Best For";
  }

  .compact-table td:nth-child(4)::before {
    content: "Notes";
  }
}
