
:root {
  color-scheme: light;
  --ink: #20242c;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --brand: #195b63;
  --accent: #c55a2d;
  --soft: #eef6f4;
  --gold: #d5a11e;
  --blue: #315f9c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
header { background: #fff; border-bottom: 1px solid var(--line); }
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-weight: 900;
  color: var(--brand);
  text-decoration: none;
  font-size: 1.12rem;
}
.nav-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: .94rem; }
.nav-links a { color: #46505f; text-decoration: none; }
.hero {
  padding: 34px 0 26px;
  border-bottom: 1px solid var(--line);
  background: #f3f8f7;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--accent);
  font-size: .78rem;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  margin: 8px 0 12px;
  color: #183f47;
  letter-spacing: 0;
}
h2 { font-size: 1.48rem; margin: 30px 0 12px; color: #183f47; letter-spacing: 0; }
h3 { font-size: 1.08rem; margin: 20px 0 8px; color: #183f47; letter-spacing: 0; }
.lede { max-width: 760px; color: #46505f; font-size: 1.08rem; }
.hero-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.search-panel, .card, .cta, .fact-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.search-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 1rem;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.pair-title { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b9d5d2;
  background: var(--soft);
  border-radius: 999px;
  padding: 5px 10px;
  color: #27535a;
  font-weight: 700;
  font-size: .86rem;
}
.breed-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #edf2f7;
}
.trait-table, .cost-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.trait-table th, .trait-table td, .cost-table th, .cost-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}
.trait-table th, .cost-table th { background: #f6f7f9; font-size: .92rem; }
.trait-table tr:last-child td, .cost-table tr:last-child td { border-bottom: 0; }
.bar {
  display: grid;
  grid-template-columns: 28px minmax(80px, 1fr);
  gap: 8px;
  align-items: center;
}
.track {
  height: 10px;
  border-radius: 999px;
  background: #e7ebf0;
  overflow: hidden;
}
.fill { height: 100%; background: var(--blue); border-radius: 999px; }
.edge { font-weight: 800; color: var(--accent); }
.pair-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.pair-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}
.pair-link span:last-child { color: var(--muted); white-space: nowrap; }
.verdict {
  border-left: 4px solid var(--brand);
  padding: 12px 0 12px 16px;
  background: #f7fbfa;
}
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pick-grid ul { margin: 8px 0 0; padding-left: 20px; }
.meta-list { margin: 0; padding-left: 20px; color: #46505f; }
.source-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.az { columns: 3 220px; column-gap: 28px; }
.az a { display: block; break-inside: avoid; padding: 3px 0; }
.cta { background: #fff8ed; border-color: #eed2ad; }
.button {
  display: inline-block;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 800;
}
.ad-slot {
  min-height: 110px;
  display: grid;
  place-items: center;
  border: 1px dashed #b6c5c8;
  border-radius: 8px;
  color: var(--muted);
  background: #f6faf9;
  text-align: center;
  padding: 12px;
  font-size: .9rem;
}
.notice {
  border: 1px solid #efd18b;
  background: #fff8df;
  border-radius: 8px;
  padding: 14px;
}
footer {
  margin-top: 42px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .hero-tools, .two-col { grid-template-columns: 1fr; }
  .trait-table { font-size: .92rem; }
}
