/* ============================================================
   PF2026 — Mini-site Pokémon Rouge, Bleu et Jaune (Kanto)
   Hub : template-parts/guides/hub-kanto.php · bandeau : template-parts/kanto-nav.php
   Identité : Game Boy d'origine (écran vert, police pixel, boîtes de dialogue)
   recolorée selon la version choisie (Rouge, Bleu, Jaune).
   ============================================================ */

.kt, .kt-ribbon {
  --kt-accent: #E3350D; --kt-dark: #9E1B0A; --kt-soft: #FFECE7;
  --gb-0: #0F380F; --gb-1: #306230; --gb-2: #8BAC0F; --gb-3: #9BBC0F;
  --kt-ink: #1C1C24; --kt-muted: #5F5E6B; --kt-paper: #F7F4EC; --kt-line: #E2DCCB;
  --kt-pixel: 'Press Start 2P', ui-monospace, monospace;
}
.kt[data-kt-version="bleu"]  { --kt-accent: #2A5CAA; --kt-dark: #173A75; --kt-soft: #E7EEFA; }
.kt[data-kt-version="jaune"] { --kt-accent: #F2B807; --kt-dark: #9A6F00; --kt-soft: #FFF5CF; }

.kt { background: var(--kt-paper); color: var(--kt-ink); overflow-x: clip; }
.kt .sr-only, .kt-ribbon .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kt img[src*="/kanto/"], .kt-gym__trainer, .kt-elite img, .kt-ribbon img { image-rendering: pixelated; }

/* Boîte de dialogue façon Game Boy */
.kt-dialog, .kt-head p {
  background: #fff; border: 4px solid var(--kt-ink); border-radius: 6px;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--kt-ink);
  padding: 16px 20px;
}

/* ---------- Fil d'Ariane ---------- */
.kt-crumbs { background: var(--kt-dark); }
.kt-crumbs .breadcrumb { margin: 0; padding: 10px 0; color: rgba(255, 255, 255, .7); font-size: 13px; background: none; }
.kt-crumbs .breadcrumb a { color: rgba(255, 255, 255, .9); }
.kt-crumbs .breadcrumb-current { color: #fff; }

/* ---------- Héros ---------- */
.kt-hero {
  position: relative; color: #fff; padding: 46px 0 70px; transition: background .4s ease;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, .06) 25%, transparent 25% 75%, rgba(255, 255, 255, .06) 75%) 0 0 / 24px 24px,
    linear-gradient(45deg, rgba(255, 255, 255, .06) 25%, transparent 25% 75%, rgba(255, 255, 255, .06) 75%) 12px 12px / 24px 24px,
    linear-gradient(160deg, var(--kt-accent), var(--kt-dark));
}
.kt-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: repeating-linear-gradient(90deg, var(--kt-ink) 0 16px, transparent 16px 32px); opacity: .18; }
.kt-hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.kt-eyebrow { display: inline-block; font-family: var(--kt-pixel); font-size: 10px; line-height: 1.6; letter-spacing: .04em; background: rgba(0, 0, 0, .25); padding: 8px 12px; border-radius: 4px; margin-bottom: 18px; }
.kt-hero__title { margin: 0 0 18px; line-height: 1; }
.kt-hero__pre { display: block; font-family: var(--kt-pixel); font-size: clamp(18px, 2.4vw, 26px); color: var(--gb-3); text-shadow: 3px 3px 0 var(--gb-0); margin-bottom: 14px; }
.kt-hero__versions { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: clamp(38px, 6vw, 72px); letter-spacing: -.03em; }
.kt-hero__versions b { opacity: .45; transition: opacity .3s ease, transform .3s ease; text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.kt[data-kt-version="rouge"] .kt-hero__versions .is-rouge,
.kt[data-kt-version="bleu"] .kt-hero__versions .is-bleu,
.kt[data-kt-version="jaune"] .kt-hero__versions .is-jaune { opacity: 1; transform: translateY(-3px); }
.kt-hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .92); max-width: 620px; margin: 0 0 24px; }

/* Cartouches de version */
.kt-carts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.kt-cart {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; cursor: pointer;
  border: 0; border-radius: 10px 10px 4px 4px; background: #D9D5CC; color: var(--kt-ink);
  font-family: var(--kt-pixel); font-size: 11px; box-shadow: 0 5px 0 #8E8A80; transition: transform .15s ease, box-shadow .15s ease;
}
.kt-cart img { width: 46px; height: 46px; object-fit: cover; border-radius: 4px; }
.kt-cart:hover { transform: translateY(-2px); }
.kt-cart[aria-pressed="true"] { background: #fff; box-shadow: 0 5px 0 var(--kt-ink), 0 0 0 3px var(--gb-3); transform: translateY(-3px); }
.kt-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kt-chips li { background: rgba(0, 0, 0, .22); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }

/* Game Boy en CSS */
.kt-gb {
  position: relative; justify-self: center; width: 290px; height: 470px; padding: 22px 20px;
  background: linear-gradient(160deg, #D8D4CD, #B9B4AB); border-radius: 14px 14px 64px 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset -6px -8px 0 rgba(0, 0, 0, .08), inset 4px 4px 0 rgba(255, 255, 255, .5);
  transform: rotate(4deg); transition: transform .4s ease;
}
.kt-gb:hover { transform: rotate(0); }
.kt-gb__screen-frame { position: relative; background: #5D5D6E; border-radius: 10px 10px 36px 10px; padding: 22px 28px 26px; }
.kt-gb__led { position: absolute; left: 10px; top: 72px; width: 8px; height: 8px; border-radius: 50%; background: #E3350D; box-shadow: 0 0 8px #E3350D; }
.kt-gb__screen {
  height: 176px; background: var(--gb-3); border-radius: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: inset 0 0 0 3px var(--gb-2); font-family: var(--kt-pixel); color: var(--gb-0); text-align: center; overflow: hidden;
}
.kt-gb__logo { font-size: 15px; color: var(--gb-0); text-shadow: 2px 2px 0 var(--gb-2); }
.kt-gb__ver { font-size: 8px; color: var(--gb-1); }
.kt-gb__mascot { width: 84px; height: 84px; filter: grayscale(1) contrast(1.3); mix-blend-mode: multiply; animation: kt-bob 1.2s steps(2) infinite; }
.kt-gb__start { font-size: 8px; animation: kt-blink 1s steps(1) infinite; }
.kt-gb__brand { display: block; margin-top: 10px; font: italic 800 13px/1 Georgia, serif; color: #2D2D84; letter-spacing: .02em; }
.kt-gb__pad { position: absolute; left: 34px; top: 312px; width: 70px; height: 70px; }
.kt-gb__pad i { position: absolute; background: #2B2B33; border-radius: 4px; }
.kt-gb__pad i:first-child { left: 24px; top: 0; width: 22px; height: 70px; }
.kt-gb__pad i:last-child { left: 0; top: 24px; width: 70px; height: 22px; }
.kt-gb__ab { position: absolute; right: 26px; top: 318px; display: flex; gap: 12px; transform: rotate(-25deg); }
.kt-gb__ab a, .kt-gb__ab span { width: 38px; height: 38px; border-radius: 50%; background: #A61D5D; color: rgba(255, 255, 255, .6); display: grid; place-items: center; font-family: var(--kt-pixel); font-size: 10px; text-decoration: none; box-shadow: 0 3px 0 #6E1240; }
.kt-gb__ab span { margin-top: 18px; }
.kt-gb__speaker { position: absolute; right: 26px; bottom: 30px; display: flex; gap: 7px; transform: rotate(-30deg); }
.kt-gb__speaker i { width: 5px; height: 40px; border-radius: 3px; background: rgba(0, 0, 0, .18); }
@keyframes kt-blink { 50% { opacity: 0; } }
@keyframes kt-bob { 50% { transform: translateY(-3px); } }

/* ---------- Statistiques + sous-navigation ---------- */
.kt-stats { list-style: none; margin: -34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 2; }
.kt-stats li { background: #fff; border: 4px solid var(--kt-ink); border-radius: 8px; padding: 14px 16px; box-shadow: 0 6px 0 var(--kt-ink); }
.kt-stats b { display: block; font-family: var(--kt-pixel); font-size: 20px; color: var(--kt-accent); margin-bottom: 6px; }
.kt[data-kt-version="jaune"] .kt-stats b { color: var(--kt-dark); }
.kt-stats span { font-size: 14px; font-weight: 600; color: var(--kt-muted); }
.kt-nav { position: sticky; top: 66px; z-index: 50; margin-top: 26px; background: rgba(247, 244, 236, .95); backdrop-filter: blur(8px); border-bottom: 3px solid var(--kt-ink); }
.kt-nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.kt-nav__inner::-webkit-scrollbar { display: none; }
.kt-nav a { flex: none; padding: 9px 14px; border-radius: 6px; font-family: var(--kt-pixel); font-size: 10px; color: var(--kt-ink); text-decoration: none; }
.kt-nav a:hover, .kt-nav a.is-active { background: var(--kt-ink); color: #fff; }

/* ---------- Sections ---------- */
.kt-sec { padding: 64px 0; scroll-margin-top: 110px; }
.kt-head { max-width: 760px; margin-bottom: 28px; }
.kt-head__kicker { display: inline-block; font-family: var(--kt-pixel); font-size: 10px; color: var(--kt-accent); margin-bottom: 10px; }
.kt[data-kt-version="jaune"] .kt-head__kicker { color: var(--kt-dark); }
.kt-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; }
.kt-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--kt-ink); position: relative; }
.kt-head p::after { content: "▼"; position: absolute; right: 14px; bottom: 6px; font-size: 10px; animation: kt-blink 1s steps(1) infinite; }
.kt-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 6px; font-weight: 700; text-decoration: none; background: var(--kt-ink); color: #fff; box-shadow: 0 4px 0 var(--kt-accent); }
.kt-btn--small { padding: 9px 14px; font-size: 14px; }
.kt-btn:hover { transform: translateY(-1px); }

/* Kanto en bref */
.kt-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kt-feature { background: #fff; border: 3px solid var(--kt-ink); border-radius: 10px; overflow: hidden; }
.kt-feature__shot { display: flex; align-items: center; justify-content: center; height: 210px; background: var(--gb-3); border-bottom: 3px solid var(--kt-ink); }
.kt-feature__shot img { max-height: 190px; width: auto; image-rendering: pixelated; }
.kt-feature__shot--sprites { gap: 0; }
.kt-feature__shot--sprites img { width: 25%; max-height: none; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; }
.kt-feature h3 { margin: 16px 18px 6px; font-size: 19px; }
.kt-feature p { margin: 0 18px 18px; color: var(--kt-muted); line-height: 1.55; font-size: 15px; }

/* Solution */
.kt-sec--solution { background: var(--kt-soft); border-top: 3px solid var(--kt-ink); border-bottom: 3px solid var(--kt-ink); transition: background .4s ease; }
.kt-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 26px; }
.kt-progress__bar { flex: 1 1 260px; height: 18px; background: #fff; border: 3px solid var(--kt-ink); border-radius: 4px; overflow: hidden; }
.kt-progress__bar span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--kt-accent) 0 10px, var(--kt-dark) 10px 12px); transition: width .4s ease; }
.kt-progress > span { font-family: var(--kt-pixel); font-size: 10px; }
.kt-acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.kt-act { background: #fff; border: 3px solid var(--kt-ink); border-radius: 10px; padding: 18px; }
.kt-act__head { display: flex; gap: 14px; margin-bottom: 14px; }
.kt-act__icon { font-size: 30px; line-height: 1; }
.kt-act__label { font-family: var(--kt-pixel); font-size: 9px; color: var(--kt-accent); }
.kt[data-kt-version="jaune"] .kt-act__label { color: var(--kt-dark); }
.kt-act h3 { margin: 6px 0 4px; font-size: 20px; }
.kt-act p { margin: 0; color: var(--kt-muted); font-size: 15px; line-height: 1.5; }
.kt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.kt-step { position: relative; }
.kt-step > a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 40px 12px 12px; border-radius: 8px; background: var(--kt-paper); border: 2px solid var(--kt-line); text-decoration: none; color: var(--kt-ink); transition: border-color .15s ease, transform .15s ease; }
.kt-step > a:hover { border-color: var(--kt-ink); transform: translateY(-2px); }
.kt-step__n { font-family: var(--kt-pixel); font-size: 10px; color: var(--kt-muted); }
.kt-step__title { font-weight: 700; line-height: 1.3; }
.kt-step__badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--badge) 22%, #fff); border: 1px solid var(--badge); }
.kt-step__check { position: absolute; top: 10px; right: 10px; }
.kt-step__check input, .kt-ribbon__done input { width: 20px; height: 20px; accent-color: var(--kt-accent); cursor: pointer; }
.kt-step.is-done > a { background: color-mix(in srgb, var(--gb-3) 35%, #fff); border-color: var(--gb-1); }
.kt-step.is-done .kt-step__n::after { content: " ✓"; color: var(--gb-1); }

/* Arènes */
.kt-gyms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kt-gym a { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; height: 100%; padding: 16px 12px; border-radius: 10px; background: #fff; border: 3px solid var(--kt-ink); border-top: 10px solid var(--badge); text-decoration: none; color: var(--kt-ink); transition: transform .15s ease; }
.kt-gym a:hover { transform: translateY(-4px); }
.kt-gym__num { position: absolute; top: 8px; left: 10px; font-family: var(--kt-pixel); font-size: 10px; color: var(--kt-muted); }
.kt-gym__art { display: flex; align-items: flex-end; justify-content: center; height: 110px; margin-bottom: 6px; }
.kt-gym__trainer { height: 96px; width: auto; }
.kt-gym__ace { width: 80px; height: 80px; margin-left: -8px; }
.kt-gym b { font-size: 18px; }
.kt-gym__city { font-size: 13px; color: var(--kt-muted); }
.kt-gym__badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 14px; }
.kt-gym__badge i { width: 14px; height: 14px; border-radius: 50%; background: var(--badge); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .2), 0 0 0 2px var(--kt-ink); }
.kt-gym__type { font-size: 12px; color: var(--kt-muted); }
.kt-elite { margin-top: 30px; }
.kt-elite h3 { font-family: var(--kt-pixel); font-size: 12px; margin: 0 0 14px; }
.kt-elite ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.kt-elite a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 10px; background: #fff; border: 3px solid var(--kt-ink); border-bottom: 8px solid var(--badge); text-decoration: none; color: var(--kt-ink); text-align: center; }
.kt-elite img { height: 72px; width: auto; }
.kt-elite b { font-size: 16px; }
.kt-elite span { font-size: 12px; color: var(--kt-muted); }
.kt-elite .is-champion a { background: var(--kt-ink); color: #fff; }
.kt-elite .is-champion span { color: rgba(255, 255, 255, .75); }
.kt-elite .is-champion img { filter: invert(1); }

/* Les 151 */
.kt-sec--dex { background: var(--gb-3); border-top: 3px solid var(--kt-ink); border-bottom: 3px solid var(--kt-ink); }
.kt-sec--dex .kt-head__kicker { color: var(--gb-0) !important; }
.kt-dex-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.kt-dex-count { font-family: var(--kt-pixel); font-size: 12px; color: var(--gb-0); background: var(--gb-2); border: 3px solid var(--gb-0); border-radius: 6px; padding: 10px 12px; }
.kt-dex-count b { font-size: 16px; }
.kt-dex-search input { padding: 10px 14px; border: 3px solid var(--gb-0); border-radius: 6px; background: #E4EFC0; font-size: 15px; width: 220px; }
.kt-dex-toggle { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gb-0); }
.kt-dex-reset { border: 0; background: none; color: var(--gb-1); text-decoration: underline; cursor: pointer; font-size: 14px; }
.kt-dex { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.kt-mon { background: #E4EFC0; border: 2px solid var(--gb-1); border-radius: 6px; text-align: center; padding: 6px 4px 8px; position: relative; }
.kt-mon[hidden] { display: none; }
.kt-mon__sprite {
  display: block; width: 64px; height: 64px; margin: 0 auto; padding: 0; border: 0; cursor: pointer;
  background: var(--kt-sheet, none) no-repeat calc(var(--x) * -64px) calc(var(--y) * -64px) / 1024px 640px;
  image-rendering: pixelated; filter: grayscale(1) contrast(1.25); mix-blend-mode: multiply; transition: filter .2s ease, transform .2s ease;
}
.kt-mon__sprite:hover { transform: scale(1.12); }
.kt-mon a { display: block; font-size: 11px; line-height: 1.25; color: var(--gb-0); text-decoration: none; font-weight: 700; }
.kt-mon a span { display: block; font-family: var(--kt-pixel); font-size: 7px; color: var(--gb-1); margin-bottom: 2px; }
.kt-mon.is-caught { background: #fff; border-color: var(--gb-0); }
.kt-mon.is-caught .kt-mon__sprite { filter: none; mix-blend-mode: normal; }
.kt-mon.is-caught::after { content: ""; position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(#E3350D 0 45%, #222 45% 55%, #fff 55%); box-shadow: 0 0 0 1.5px #222; }
.kt[data-kt-version] { --kt-sheet: url("../img/kanto/sheet-rb.png"); }
.kt[data-kt-version="jaune"] { --kt-sheet: url("../img/kanto/sheet-jaune.png"); }

/* Versions */
.kt-versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kt-version { background: #fff; border: 3px solid var(--kt-ink); border-radius: 12px; overflow: hidden; scroll-margin-top: 120px; }
.kt-version header { display: flex; gap: 14px; padding: 16px; background: linear-gradient(160deg, var(--ver), var(--ver-dark)); color: #fff; }
.kt-version__box { width: 92px; height: 92px; object-fit: cover; border-radius: 6px; border: 3px solid #fff; flex: none; }
.kt-version h3 { margin: 0 0 6px; font-family: var(--kt-pixel); font-size: 13px; line-height: 1.4; }
.kt-version header p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.kt-version dl { margin: 0; font-size: 12px; }
.kt-version dl div { display: flex; gap: 6px; }
.kt-version dt { font-weight: 800; }
.kt-version dd { margin: 0; }
.kt-version__facts { margin: 14px 16px; padding-left: 18px; font-size: 14px; line-height: 1.55; }
.kt-version__sub { margin: 0 16px 6px; font-size: 13px; font-weight: 700; color: var(--kt-muted); }
.kt-version__mons { list-style: none; margin: 0 12px 14px; padding: 0; display: flex; flex-wrap: wrap; }
.kt-version__mons img { width: 52px; height: 52px; }
.kt-version.is-current { box-shadow: 0 0 0 4px var(--ver), 0 10px 0 var(--kt-ink); }
.kt-note { margin: 22px 0 0; font-size: 14px; color: var(--kt-muted); line-height: 1.6; max-width: 860px; }

/* Guides */
.kt-guides { columns: 3 280px; column-gap: 18px; }
.kt-guides__group { break-inside: avoid; background: #fff; border: 3px solid var(--kt-ink); border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.kt-guides__group h3 { margin: 0 0 10px; font-size: 18px; }
.kt-guides__group ul { margin: 0; padding-left: 18px; }
.kt-guides__group li { margin: 0 0 6px; }
.kt-guides__group li::marker { content: "▶ "; color: var(--kt-accent); font-size: 10px; }
.kt-guides__group a { color: var(--kt-ink); font-weight: 600; }
.kt-guides__group a:hover { color: var(--kt-accent); }

/* Héritage */
.kt-heritage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kt-heir { display: flex; gap: 14px; padding: 14px; border-radius: 12px; background: #fff; border: 3px solid var(--kt-ink); text-decoration: none; color: var(--kt-ink); transition: transform .15s ease; }
.kt-heir:hover { transform: translateY(-3px); }
.kt-heir img { width: 84px; height: 110px; object-fit: cover; border-radius: 6px; flex: none; }
.kt-heir span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--kt-muted); }
.kt-heir b { font-size: 17px; color: var(--kt-ink); }
.kt-heir em { font-style: normal; font-family: var(--kt-pixel); font-size: 8px; color: var(--kt-accent); }

/* Souvenirs */
.kt-news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kt-news a { display: flex; gap: 14px; align-items: baseline; padding: 12px 14px; border-radius: 8px; background: #fff; border: 2px solid var(--kt-line); text-decoration: none; color: var(--kt-ink); }
.kt-news a:hover { border-color: var(--kt-ink); }
.kt-news time { flex: none; font-family: var(--kt-pixel); font-size: 8px; color: var(--kt-muted); width: 92px; }

/* ---------- Bandeau (étapes de solution, articles) ---------- */
.kt-ribbon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 22px; padding: 10px 14px;
  background: var(--gb-3); border: 3px solid var(--gb-0); border-radius: 8px; color: var(--gb-0);
}
.kt-ribbon__home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; color: var(--gb-0) !important; }
.kt-ribbon__home img { width: 44px; height: 44px; }
.kt-ribbon__home b { display: block; font-family: var(--kt-pixel); font-size: 12px; }
.kt-ribbon__home small { font-size: 12px; font-weight: 700; color: var(--gb-1); }
.kt-ribbon__where { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; color: var(--gb-1); }
.kt-ribbon__where b { font-family: var(--kt-pixel); font-size: 9px; color: var(--gb-0); line-height: 1.6; }
.kt-ribbon__badges { display: inline-flex; gap: 5px; }
.kt-ribbon__badges i { width: 14px; height: 14px; border-radius: 50%; background: rgba(15, 56, 15, .15); box-shadow: inset 0 0 0 2px var(--gb-1); }
.kt-ribbon__badges i.is-got { background: var(--badge); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .2), 0 0 0 2px var(--gb-0); }
.kt-ribbon__done { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.kt-ribbon__links { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.kt-ribbon__links a { font-family: var(--kt-pixel); font-size: 9px; padding: 8px 10px; border-radius: 4px; background: var(--gb-0); color: var(--gb-3) !important; text-decoration: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .kt-gyms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-versions, .kt-heritage { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .kt-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .kt-gb { transform: scale(.78) rotate(3deg); margin: -50px auto -60px; }
  .kt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-features { grid-template-columns: minmax(0, 1fr); }
  .kt-elite ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kt-news { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .kt-sec { padding: 46px 0; }
  .kt-hero { padding: 30px 0 60px; }
  .kt-hero__lead { font-size: 16px; }
  .kt-cart { font-size: 9px; }
  .kt-cart img { width: 36px; height: 36px; }
  .kt-gyms { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .kt-gym__trainer { height: 70px; }
  .kt-gym__ace { width: 60px; height: 60px; }
  .kt-elite ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-dex { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .kt-dex-search input { width: 100%; }
  .kt-ribbon__done, .kt-ribbon__links { margin-left: 0; }
  .kt-news time { width: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .kt *, .kt-ribbon * { animation: none !important; transition: none !important; }
}
