/* Gackerhof-Wiki – Cartoon-Stil wie im Spiel: kräftige Farben, dicke Umrisse, harte Schatten, runde Formen.
   Farben aus ../gackerhof/src/style.css übernommen. */
@font-face {
  font-family: Fredoka;
  src: url('fonts/fredoka.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --ink: #3a2a1e;
  --cream: #fdf6e3;
  --paper: #fffdf7;
  --yellow: #ffcf3f;
  --yellow-l: #fff3c4;
  --green: #5fae45;
  --green-d: #3f8a2c;
  --green-l: #e3f5d6;
  --grass: #7cc35a;
  --red: #d0453a;
  --red-l: #ffe1db;
  --orange: #f08a3c;
  --blue: #4fa9e0;
  --blue-l: #e6f3fb;
  --sky: #bfe6f7;
  --muted: #7a6a5a;
  --line: #e8dcc4;
  --sand: #f1ead8;
  --radius: 14px;
  --shadow: 0 3px 0 var(--ink);
  --shadow-l: 0 5px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Fredoka, 'Trebuchet MS', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--green-d); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: .5em 0 .9em; }
b, strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; }
.skip:focus { left: 8px; background: var(--yellow); padding: 6px 12px; border: 2.5px solid var(--ink); border-radius: 10px; }
kbd {
  display: inline-block; min-width: 1.6em; padding: 0 .4em; text-align: center; font: inherit; font-size: .88em; font-weight: 600;
  background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 0 2px 0 var(--ink); line-height: 1.4;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 8px 20px; color: var(--ink); text-decoration: none;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  font-weight: 600; font-size: 1.05rem; text-align: center; transition: transform .06s, box-shadow .06s, filter .15s;
}
.btn:hover { color: var(--ink); filter: brightness(1.04); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn.primary { background: var(--yellow); }
.btn.big { min-height: 58px; font-size: 1.2rem; padding: 10px 26px; border-width: 3px; box-shadow: var(--shadow-l); border-radius: 16px; }
.btn.big:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn.small { min-height: 38px; padding: 4px 14px; font-size: .95rem; }

/* ---------------- Kopfzeile ---------------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px; padding: 10px max(16px, calc((100% - 1180px) / 2));
  background: var(--paper); border-bottom: 2.5px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand small { font-size: .7em; font-weight: 600; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; }
.top nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 10px; white-space: nowrap; }
.top nav a:not(.btn):hover, .top nav a[aria-current] { background: var(--yellow-l); }
.top nav .btn { margin-left: 6px; min-height: 42px; padding: 4px 16px; }
@media (max-width: 760px) {
  .top { gap: 8px; padding: 8px 12px; }
  .brand { font-size: 1.1rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .top nav .hide-s { display: none; }
  .top nav .btn { padding: 4px 12px; font-size: .95rem; }
}
@media (max-width: 400px) { .brand small { display: none; } }

/* ---------------- Startseite: Hero ---------------- */
.hero { position: relative; background: linear-gradient(var(--sky), #e4f4fb 55%, var(--cream)); overflow: hidden; }
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 40px 16px 0;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center;
}
.hero-text { padding-bottom: 40px; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 2px 12px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: .92rem; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); letter-spacing: .5px; margin: 0 0 .15em; }
.hero h1 .egg { display: inline-block; animation: wobble 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
.lead { font-size: 1.22rem; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.meta { color: var(--muted); font-size: .95rem; }
.meta a { color: inherit; }
.hero-scene { align-self: center; padding-bottom: 40px; }
.hero-scene svg {
  display: block; width: 100%; height: auto; background: linear-gradient(#bfe6f7, #e9f6ff 60%);
  border: 3px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow-l);
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-text { padding-bottom: 0; }
  .hero-scene { padding-bottom: 36px; }
}

/* Animationen der Szene (wie im Spiel) */
.peck { animation: peck 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: 30% 80%; }
.peck.d2 { animation-delay: .7s; animation-duration: 2.3s; }
.peck.d3 { animation-delay: 1.2s; animation-duration: 2s; }
.bob { animation: walkbob .4s ease-in-out infinite; }
.walk { animation: walkx 14s ease-in-out infinite alternate; }
.walk2 { animation: walkx2 9s ease-in-out infinite alternate; }
.clouds { animation: drift 40s linear infinite alternate; }
.crow { animation: crow 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 60% 90%; }
.sun { animation: spin 60s linear infinite; transform-box: fill-box; transform-origin: center; }
.flutter { animation: flutter 1.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: top; }
@keyframes peck { 0%, 55%, 100% { transform: rotate(0); } 70% { transform: rotate(-22deg); } 80% { transform: rotate(-8deg); } 90% { transform: rotate(-22deg); } }
@keyframes walkbob { 50% { transform: translateY(-1.5px); } }
@keyframes walkx { to { transform: translateX(70px); } }
@keyframes walkx2 { to { transform: translateX(-46px); } }
@keyframes drift { to { transform: translateX(60px); } }
@keyframes crow { 0%, 80%, 100% { transform: rotate(0); } 85%, 95% { transform: rotate(-14deg) translateY(-2px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flutter { to { transform: skewX(14deg); } }
@keyframes wobble { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } }

/* ---------------- Abschnitte ---------------- */
.section { max-width: 1180px; margin: 0 auto; padding: 56px 16px; }
.section > h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; }
.section > .sub { text-align: center; color: var(--muted); max-width: 40em; margin: 0 auto 28px; font-size: 1.1rem; }
.band { background: var(--paper); border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.band.grass { background: var(--grass); }
.band.grass .section > h2, .band.grass .section > .sub { color: #fff; text-shadow: 0 2px 0 var(--ink); }
.band.grass .section > .sub { text-shadow: none; color: #f4ffe9; }

/* Prototyp-Hinweis */
.proto {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start;
  max-width: 920px; margin: 0 auto; padding: 22px 24px;
  background: var(--yellow-l); border: 3px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow-l);
}
.proto .sign { font-size: 3rem; line-height: 1; }
.proto h2 { font-size: 1.5rem; margin-bottom: .3em; }
.proto ul { margin: .4em 0 .8em; padding-left: 1.2em; }
.proto li { margin: .25em 0; }
.proto .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 600px) {
  .proto { grid-template-columns: 1fr; padding: 18px 16px; }
  .proto .sign { font-size: 2.4rem; }
}
.proto-wrap { padding: 0 16px; position: relative; z-index: 2; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); padding: 18px 20px;
}
.card .ico { font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 8px; }
.card h3 { font-size: 1.2rem; margin-bottom: .3em; }
.card p { margin: 0; color: #5b4a3a; }
.card .more { display: inline-block; margin-top: 10px; }

/* Tagesablauf */
.day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 3px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-l); }
.day > div { padding: 18px 18px 20px; border-right: 2.5px solid var(--ink); }
.day > div:last-child { border-right: 0; }
.day .t { font-size: .85rem; font-weight: 600; opacity: .8; }
.day h3 { font-size: 1.25rem; margin: .1em 0 .3em; }
.day p { margin: 0; font-size: .97rem; }
.day .d-morgen { background: linear-gradient(#ffd9a8, #fff3c4); }
.day .d-tag { background: linear-gradient(#bfe6f7, #e9f6ff); }
.day .d-abend { background: linear-gradient(#f5a97a, #ffe1c4); }
.day .d-nacht { background: linear-gradient(#2c3557, #46507a); color: #f6ead2; }
.day .ph { font-size: 2rem; line-height: 1; }
@media (max-width: 820px) {
  .day { grid-template-columns: 1fr 1fr; }
  .day > div:nth-child(2) { border-right: 0; }
  .day > div:nth-child(-n+2) { border-bottom: 2.5px solid var(--ink); }
}
@media (max-width: 480px) {
  .day { grid-template-columns: 1fr; }
  .day > div { border-right: 0; border-bottom: 2.5px solid var(--ink); }
  .day > div:last-child { border-bottom: 0; }
}

/* Zahlen-Leiste */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.fact { text-align: center; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 10px; }
.fact b { display: block; font-size: 2rem; line-height: 1.1; }
.fact span { color: var(--muted); font-size: .95rem; }

/* Wiki-Einstieg auf der Startseite */
.wiki-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.wiki-teaser a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); transition: transform .08s;
}
.wiki-teaser a:hover { transform: translateY(-2px); background: var(--yellow-l); }
.wiki-teaser .ico { font-size: 1.7rem; }
.wiki-teaser small { display: block; color: var(--muted); font-weight: 500; }
.center { text-align: center; }

/* Zitat von Opa Heinz */
.opa {
  display: flex; gap: 14px; align-items: flex-start; margin: 1.2em 0; padding: 14px 18px;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow);
}
.opa .face { font-size: 2.4rem; line-height: 1; flex: none; }
.opa p { margin: 0; font-style: italic; }
.opa cite { display: block; margin-top: 4px; font-style: normal; color: var(--muted); font-size: .9rem; }

/* ---------------- Fußzeile ---------------- */
.foot { background: var(--ink); color: #f6ead2; margin-top: 0; }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 28px 16px 34px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
.foot a { color: var(--yellow); }
.foot a:hover { color: #fff; }
.foot p { margin: 0; }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot small { color: #cbb99c; }

/* ---------------- Wiki ---------------- */
.wiki { max-width: 1180px; margin: 0 auto; padding: 24px 16px 56px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; }
.side details { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.side summary { list-style: none; cursor: pointer; padding: 10px 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.side summary::-webkit-details-marker { display: none; }
.side summary::after { content: '▾'; font-size: .9em; }
.side details[open] summary::after { content: '▴'; }
.side nav { padding: 0 8px 10px; }
.side h4 { margin: 12px 8px 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: flex; gap: 8px; padding: 5px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.3; }
.side a:hover { background: var(--sand); }
.side a[aria-current] { background: var(--yellow); font-weight: 600; box-shadow: inset 0 0 0 2px var(--ink); }
@media (min-width: 901px) {
  .side summary { pointer-events: none; }
  .side summary::after { display: none; }
}
@media (max-width: 900px) {
  .wiki { grid-template-columns: 1fr; gap: 16px; padding-top: 14px; }
  .side { position: static; max-height: none; overflow: visible; }
}

.article { min-width: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); font-weight: 500; }
.article > header { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 22px; }
.article > header h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: .2em; }
.article > header p { margin: 0; font-size: 1.12rem; color: #5b4a3a; }
.article h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; padding-bottom: .2em; border-bottom: 2.5px dashed var(--line); }
.article h3 { font-size: 1.22rem; margin: 1.3em 0 .4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: .3em 0; }
.article section > :first-child { margin-top: 0; }

/* Inhaltsverzeichnis der Seite */
.toc { background: var(--sand); border-radius: 14px; padding: 12px 16px; margin: 0 0 18px; font-size: .97rem; }
.toc b { display: block; margin-bottom: 4px; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2 220px; }
.toc a { font-weight: 500; }

/* Infobox wie in Wikis */
.infobox {
  float: right; width: 290px; margin: 0 0 16px 22px; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: .95rem;
}
.infobox .ib-head { background: var(--yellow); border-bottom: 2.5px solid var(--ink); padding: 8px 12px; font-weight: 700; text-align: center; }
.infobox .ib-pic { background: #e9f6ff; border-bottom: 2px solid var(--line); text-align: center; padding: 8px; }
.infobox .ib-pic svg { width: 150px; height: auto; }
.infobox dl { margin: 0; padding: 6px 12px 10px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.infobox dt { color: var(--muted); }
.infobox dd { margin: 0; font-weight: 600; }
@media (max-width: 700px) { .infobox { float: none; width: auto; margin: 0 0 16px; } }
.clear { clear: both; }

/* Hinweisboxen */
.box { border: 2.5px solid var(--ink); border-radius: 14px; padding: 12px 16px 12px 52px; margin: 1.2em 0; position: relative; background: #fff; }
.box::before { position: absolute; left: 14px; top: 10px; font-size: 1.5rem; line-height: 1.2; }
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.box.tip { background: var(--green-l); }
.box.tip::before { content: '💡'; }
.box.warn { background: var(--yellow-l); }
.box.warn::before { content: '⚠️'; }
.box.bad { background: var(--red-l); }
.box.bad::before { content: '🦊'; }
.box.info { background: var(--blue-l); }
.box.info::before { content: 'ℹ️'; }
.box.save { background: var(--yellow-l); box-shadow: var(--shadow); }
.box.save::before { content: '💾'; }

/* Tabellen */
.tw { overflow-x: auto; margin: 1em 0 1.4em; border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 8px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--sand); border-bottom: 2.5px solid var(--ink); font-weight: 700; white-space: nowrap; }
tbody tr + tr td, tbody tr + tr th { border-top: 1.5px dashed var(--line); }
tbody th { font-weight: 600; }
td.n, th.n { text-align: right; white-space: nowrap; }
.tag { display: inline-block; background: var(--sand); border-radius: 999px; padding: 0 9px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.tag.good { background: #d9f0cc; }
.tag.bad { background: #ffd9d3; }
.tag.new { background: var(--blue-l); }

/* Schrittfolge */
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: s; position: relative; padding: 4px 0 10px 50px; margin: 0 !important; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 50%; font-weight: 700; box-shadow: 0 2px 0 var(--ink);
}

/* Kachel-Übersicht im Wiki */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 1em 0 1.6em; }
.tiles a {
  display: block; padding: 14px 16px; color: var(--ink); text-decoration: none; background: #fff;
  border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); transition: transform .08s;
}
.tiles a:hover { transform: translateY(-2px); background: var(--yellow-l); }
.tiles .ico { font-size: 1.8rem; display: block; line-height: 1.1; margin-bottom: 4px; }
.tiles b { display: block; font-size: 1.1rem; }
.tiles small { color: var(--muted); font-weight: 500; font-size: .92rem; }

/* Mini-Nachbau von Spiel-Elementen */
.ui-chip { display: inline-block; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 0 10px; font-weight: 600; font-size: .92em; white-space: nowrap; }
.ui-alert { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px 2px 4px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92em; box-shadow: 0 2px 0 var(--ink); white-space: nowrap; }
.ui-alert i { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); }
.ui-alert.bad { background: var(--red-l); }
.ui-alert.warn { background: var(--yellow-l); }
.ui-alert.good { background: var(--green-l); }
.ui-btn { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; background: #fff; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 0 2px 0 var(--ink); font-weight: 600; font-size: .92em; white-space: nowrap; }
.ui-btn.y { background: var(--yellow); }
.stars { color: #f2a900; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #d9cdb3; }

/* Blättern */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; clear: both; }
.pager a {
  display: block; padding: 12px 16px; background: #fff; color: var(--ink); text-decoration: none;
  border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow);
}
.pager a:hover { background: var(--yellow-l); }
.pager small { display: block; color: var(--muted); font-weight: 500; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 520px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: 1; } }
.stand { margin-top: 26px; color: var(--muted); font-size: .9rem; }

/* Rechtliches */
.legal { max-width: 820px; margin: 0 auto; padding: 32px 16px 56px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { margin-top: 1.6em; font-size: 1.6rem; }
.legal h3 { margin-top: 1.3em; font-size: 1.15rem; }
.legal-scope { background: var(--yellow-l); border: 2px solid var(--ink); border-radius: 12px; padding: 10px 14px; }
.legal-date { color: var(--muted); margin-top: 2em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .peck, .bob, .walk, .walk2, .clouds, .crow, .sun, .flutter, .hero h1 .egg { animation: none !important; }
}
@media print {
  .top, .side, .pager, .foot, .skip { display: none !important; }
  .wiki { display: block; }
  .tw, .card, .box, .article > header { box-shadow: none; }
}

/* Rassen-Porträts (Grafiken wie im Spiel) */
.svgdefs { position: absolute; width: 0; height: 0; overflow: hidden; }
.breed { background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; margin: 1.2em 0 1.6em; }
.breed > h3 { margin-top: 0; font-size: 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.breed > h3 small { font-size: .7em; font-weight: 600; }
.breed-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
.breed dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: .95rem; }
.breed dt { color: var(--muted); }
.breed dd { margin: 0; font-weight: 600; }
.variants { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.variant { hyphens: auto; overflow-wrap: anywhere; text-align: center; background: #e9f6ff; border: 2px solid var(--ink); border-radius: 12px; padding: 4px 2px 6px; font-size: .82rem; font-weight: 600; line-height: 1.15; }
.variant svg { display: block; width: 100%; max-width: 76px; height: auto; margin: 0 auto; }
.variant.rooster { background: var(--yellow-l); }
@media (max-width: 760px) { .breed-top { grid-template-columns: 1fr; } }
