/* ============================================================
   PF2026 — Mini-site Pokémon Épée et Bouclier (Galar)
   Hub : template-parts/guides/hub-galar.php · bandeau : template-parts/galar-nav.php
   Identité : Stades de Galar, Cyan Épée (#00A1E9) × Magenta Bouclier (#E5005A),
   aura Dynamax (#FF2E88), or Ligue de Galar (#F5C518) et maillots numérotés.
   ============================================================ */

:root {
  --glr-ep: #00A1E9;
  --glr-ep-dark: #0A3875;
  --glr-ep-soft: #E5F6FF;
  --glr-bo: #E5005A;
  --glr-bo-dark: #6E0834;
  --glr-bo-soft: #FFE6F0;
  --glr-dmax: #FF2E88;
  --glr-gold: #F5C518;
  --glr-ink: #0F172A;
  --glr-muted: #52607A;
  --glr-paper: #F7F9FC;
  --glr-line: #E2E8F0;
  --glr-accent: var(--glr-ep);
  --glr-accent-dark: var(--glr-ep-dark);
  --glr-grad: linear-gradient(122deg, #06285C 0%, #0077C8 34%, #691454 68%, #C8004E 100%);
  --glr-font: 'Outfit', var(--font);
}

html[data-glr-version="epee"] {
  --glr-accent: var(--glr-ep);
  --glr-accent-dark: var(--glr-ep-dark);
  --glr-grad: linear-gradient(130deg, #051D44 0%, #0A4A9E 45%, #00A1E9 100%);
}
html[data-glr-version="bouclier"] {
  --glr-accent: var(--glr-bo);
  --glr-accent-dark: var(--glr-bo-dark);
  --glr-grad: linear-gradient(130deg, #340622 0%, #8A0942 45%, #E5005A 100%);
}

/* Bascule de version (Zacian/Zamazenta + Arènes exclusives #4 et #6) */
html[data-glr-version="epee"] .glr-v__bo,
html[data-glr-version="epee"] .glr-v__sep,
html[data-glr-version="bouclier"] .glr-v__ep,
html[data-glr-version="bouclier"] .glr-v__sep { display: none !important; }
html[data-glr-version="epee"] .glr-hero__names .is-bo,
html[data-glr-version="bouclier"] .glr-hero__names .is-ep { opacity: .34; }
html[data-glr-version="epee"] .glr-excl-side--bo,
html[data-glr-version="bouclier"] .glr-excl-side--ep { opacity: .55; }

/* ---------- Base ---------- */
.glr { background: var(--glr-paper); color: var(--glr-ink); overflow-x: clip; }
.glr h1, .glr h2, .glr h3, .glr-gym__jersey, .glr-banner__title { font-family: var(--glr-font); }

.glr-crumbs { background: #0B1224; }
.glr-crumbs .breadcrumb { margin: 0; padding: 10px 0; color: rgba(255, 255, 255, .72); font-size: 13px; background: none; }
.glr-crumbs .breadcrumb a { color: rgba(255, 255, 255, .92); }
.glr-crumbs .breadcrumb-current { color: #fff; }

/* Boutons */
.glr-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-full);
  font-family: var(--glr-font); font-weight: 700; font-size: 15px; text-decoration: none; color: #fff;
  border: 2px solid rgba(255, 255, 255, .45); transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.glr-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); color: #fff; }
.glr-btn--primary { background: #fff; color: var(--glr-ink); border-color: #fff; }
.glr-btn--primary:hover { background: var(--glr-gold); border-color: var(--glr-gold); color: var(--glr-ink); }
.glr-btn--dark { background: var(--glr-ink); border-color: var(--glr-ink); color: #fff; }
.glr-btn--dark:hover { background: var(--glr-accent-dark); border-color: var(--glr-accent-dark); }
.glr-btn--dmax { background: var(--glr-dmax); border-color: var(--glr-dmax); color: #fff; }
.glr-btn--dmax:hover { filter: brightness(1.1); background: var(--glr-dmax); }

/* ---------- Héros : Stade de Galar ---------- */
.glr-hero { position: relative; color: #fff; background: var(--glr-grad); padding: 52px 0 38px; overflow: hidden; transition: background .4s ease; }
.glr-hero::after {
  content: ""; position: absolute; inset: auto 0 -1px; height: 48px; background: var(--glr-paper);
  clip-path: polygon(0 100%, 0 35%, 50% 100%, 100% 35%, 100% 100%);
}
.glr-hero__beams i {
  position: absolute; top: -20%; width: 220px; height: 150%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
  transform: rotate(24deg);
}
.glr-hero__beams i:nth-child(1) { left: 8%; }
.glr-hero__beams i:nth-child(2) { left: 46%; width: 140px; opacity: .65; transform: rotate(-16deg); }
.glr-hero__beams i:nth-child(3) { right: 10%; background: linear-gradient(180deg, rgba(255, 46, 136, .28), transparent); transform: rotate(-22deg); }
.glr-hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(-45deg, #fff 0 2px, transparent 2px 22px);
}

.glr-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 32px; align-items: center; }
.glr-eyebrow { display: inline-block; padding: 6px 14px; border-radius: var(--r-full); background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.glr-hero__title { margin: 16px 0 10px; line-height: .94; }
.glr-hero__pre { display: block; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .88; }
.glr-hero__names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: clamp(44px, 6.2vw, 76px); font-weight: 900; letter-spacing: -.025em; }
.glr-hero__names b { transition: opacity .3s ease; text-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.glr-hero__amp { font-size: .5em; opacity: .7; }
.glr-hero__lead { max-width: 60ch; font-size: 16.5px; line-height: 1.62; color: rgba(255, 255, 255, .92); margin: 0 0 22px; }

/* Sélecteur de version */
.glr-picker { display: flex; flex-wrap: wrap; gap: 12px; }
.glr-picker__btn {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px;
  border: 2.5px solid rgba(255, 255, 255, .36); background: rgba(15, 23, 42, .34); color: #fff;
  text-align: left; cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.glr-picker__btn img { width: 46px; height: 72px; object-fit: contain; border-radius: 6px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.glr-picker__btn span { display: flex; flex-direction: column; gap: 1px; }
.glr-picker__btn small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.glr-picker__btn b { font-family: var(--glr-font); font-size: 18px; font-weight: 800; line-height: 1.15; }
.glr-picker__btn em { font-style: normal; font-size: 12px; opacity: .82; }
.glr-picker__btn:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .75); }
.glr-picker__btn[aria-pressed="true"] { background: #fff; color: var(--glr-ink); border-color: var(--glr-gold); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.glr-picker__btn[aria-pressed="true"] small, .glr-picker__btn[aria-pressed="true"] em { color: var(--glr-muted); opacity: 1; }
.glr-picker__hint { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .82); }

.glr-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.glr-chips li { padding: 6px 12px; border-radius: var(--r-full); background: rgba(0, 0, 0, .25); font-size: 13px; font-weight: 600; }
.glr-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Visuel Zacian × Zamazenta + anneaux Dynamax */
.glr-hero__visual { position: relative; display: grid; place-items: center; min-height: 390px; }
.glr-hero__ring {
  position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 136, .34), rgba(0, 161, 233, .14) 55%, transparent 72%);
  border: 2px solid rgba(255, 255, 255, .2);
}
.glr-hero__ring--2 { width: 66%; border-style: dashed; border-color: rgba(245, 197, 24, .35); animation: glr-spin 36s linear infinite; }
.glr-hero__legend { position: relative; z-index: 1; width: min(100%, 420px); height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .38)); animation: glr-float 6s ease-in-out infinite; }
html:not([data-glr-version]) .glr-hero__legend { width: min(64%, 290px); }
html:not([data-glr-version]) .glr-hero__legend.glr-v__ep { position: absolute; left: -2%; top: 6%; }
html:not([data-glr-version]) .glr-hero__legend.glr-v__bo { position: absolute; right: -2%; bottom: 8%; animation-delay: -3s; }
.glr-hero__tag { position: absolute; bottom: 0; left: 50%; z-index: 2; transform: translateX(-50%); padding: 6px 18px; border-radius: var(--r-full); background: rgba(11, 18, 36, .62); border: 1px solid rgba(255, 255, 255, .25); font-family: var(--glr-font); font-weight: 800; font-size: 14px; white-space: nowrap; }

.glr-hero__stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 36px auto 26px; padding: 14px 20px; border-radius: 18px; background: rgba(11, 18, 36, .48); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); }
.glr-hero__stats li { text-align: center; }
.glr-hero__stats b { display: block; font-family: var(--glr-font); font-size: 26px; font-weight: 900; color: var(--glr-gold); line-height: 1.1; }
.glr-hero__stats span { font-size: 12.5px; color: rgba(255, 255, 255, .84); }

@keyframes glr-float { 50% { transform: translateY(-12px); } }
@keyframes glr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .glr-hero__legend, .glr-hero__ring--2 { animation: none; } }

/* ---------- Sommaire collant ---------- */
.glr-jump { position: sticky; top: 66px; z-index: 50; background: rgba(247, 249, 252, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--glr-line); }
.glr-jump .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.glr-jump .container::-webkit-scrollbar { display: none; }
.glr-jump a { flex: 0 0 auto; padding: 7px 14px; border-radius: var(--r-full); font-size: 13.5px; font-weight: 700; color: var(--glr-ink); text-decoration: none; background: #fff; border: 1.5px solid var(--glr-line); transition: border-color .15s ease, color .15s ease; }
.glr-jump a:hover { border-color: var(--glr-accent); color: var(--glr-accent-dark); }

/* ---------- Sections ---------- */
.glr-sec { padding: 62px 0; scroll-margin-top: 112px; }
.glr-sec--tint { background: linear-gradient(180deg, #EEF4FA 0%, #F7F9FC 100%); }
.glr-head { max-width: 780px; margin: 0 0 28px; }
.glr-kicker { display: inline-block; font-family: var(--glr-font); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--glr-accent-dark); }
.glr-head h2 { margin: 6px 0 10px; font-size: clamp(27px, 3.6vw, 40px); font-weight: 900; letter-spacing: -.025em; line-height: 1.08; color: var(--glr-ink); }
.glr-head p { margin: 0; color: var(--glr-muted); font-size: 16px; line-height: 1.62; }
.glr-more { margin: 22px 0 0; font-weight: 700; font-size: 15px; }
.glr-more a { color: var(--glr-accent-dark); }

/* ---------- 01. Cartes de Ligue (8 Arènes) ---------- */
.glr-gyms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.glr-gym {
  position: relative; display: flex; flex-direction: column; padding: 14px 14px 16px; border-radius: 20px;
  background: #fff; border: 2px solid var(--glr-line); text-decoration: none; color: var(--glr-ink);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.glr-gym::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 52%;
  background: linear-gradient(155deg, var(--tc), color-mix(in srgb, var(--tc) 32%, #fff));
  clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%); opacity: .92;
}
.glr-gym:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(15, 23, 42, .12); border-color: var(--tc); }
.glr-gym__jersey {
  position: absolute; right: 8px; top: 22px; z-index: 0; font-size: 64px; font-weight: 900; line-height: 1;
  color: rgba(255, 255, 255, .26); letter-spacing: -.04em; pointer-events: none; user-select: none;
}
.glr-gym__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.glr-gym__num { display: inline-grid; place-items: center; padding: 2px 9px; border-radius: var(--r-full); background: #fff; color: var(--glr-ink); font-family: var(--glr-font); font-weight: 900; font-size: 13px; }
.glr-gym__ver { padding: 2px 9px; border-radius: var(--r-full); font-size: 11px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.glr-gym__ver--ep { background: var(--glr-ep-dark); }
.glr-gym__ver--bo { background: var(--glr-bo-dark); }
.glr-gym__done-mark { display: none; width: 26px; height: 26px; border-radius: 50%; background: #16A34A; color: #fff; font-weight: 900; place-items: center; font-size: 14px; }
.glr-gym.is-done { border-color: #16A34A; }
.glr-gym.is-done .glr-gym__done-mark { display: inline-grid; }

.glr-gym__art { position: relative; z-index: 1; display: grid; place-items: center; height: 126px; margin: 4px 0 6px; }
.glr-gym__art img { width: 118px; height: 118px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .24)); transition: transform .2s ease; }
.glr-gym:hover .glr-gym__art img { transform: scale(1.07); }
.glr-gmax-pill {
  position: absolute; bottom: 4px; right: 0; padding: 2px 8px; border-radius: var(--r-full);
  background: var(--glr-dmax); color: #fff; font-family: var(--glr-font); font-size: 10.5px; font-weight: 900; letter-spacing: .05em;
  box-shadow: 0 2px 8px rgba(255, 46, 136, .45);
}
.glr-gym__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.glr-gym__body b { font-family: var(--glr-font); font-size: 20px; font-weight: 900; color: var(--glr-ink); }
.glr-gym__body small { font-size: 12.5px; font-weight: 600; color: var(--glr-muted); }
.glr-gym__meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.glr-gym__lv { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--glr-paper); color: var(--glr-ink); }
.glr-gym__ace { font-size: 12px; color: var(--glr-muted); margin-top: 2px; }

/* Bannière finale Tarak & Éthernatos */
.glr-finale-banner {
  position: relative; display: flex; align-items: center; gap: 20px; margin-top: 22px; padding: 20px 24px;
  border-radius: 22px; background: linear-gradient(115deg, #0D132B 0%, #3A0E4D 58%, #8F0D4A 100%);
  color: #fff; text-decoration: none; overflow: hidden; border: 2px solid rgba(245, 197, 24, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.glr-finale-banner:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(13, 19, 43, .28); }
.glr-finale-banner__jersey { position: absolute; right: 70px; top: -12px; font-family: var(--glr-font); font-size: 130px; font-weight: 900; color: rgba(255, 255, 255, .07); line-height: 1; pointer-events: none; }
.glr-finale-banner__arts { position: relative; z-index: 1; display: flex; flex: 0 0 auto; }
.glr-finale-banner__arts img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
.glr-finale-banner__arts img + img { margin-left: -20px; }
.glr-finale-banner__body { position: relative; z-index: 1; flex: 1; }
.glr-finale-banner__body small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--glr-gold); }
.glr-finale-banner__body h3 { margin: 4px 0 6px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 900; color: #fff; }
.glr-finale-banner__body p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .84); line-height: 1.5; max-width: 68ch; }
.glr-finale-banner__go { position: relative; z-index: 1; font-size: 28px; font-weight: 900; color: var(--glr-gold); }

/* ---------- 02. Solution en 10 chapitres ---------- */
.glr-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.glr-head-row .glr-head { margin-bottom: 0; }
.glr-progress-pill { min-width: 220px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1.5px solid var(--glr-line); display: flex; flex-direction: column; gap: 6px; }
.glr-progress-pill span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--glr-muted); }
.glr-progress-pill strong { font-family: var(--glr-font); font-size: 22px; font-weight: 900; color: var(--glr-ink); }
.glr-progress-bar { height: 8px; border-radius: var(--r-full); background: var(--glr-line); overflow: hidden; }
.glr-progress-bar span { display: block; height: 100%; border-radius: var(--r-full); background: linear-gradient(90deg, var(--glr-ep), var(--glr-bo)); transition: width .25s ease; }

.glr-acts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.glr-act__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.glr-act__num { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; background: var(--act-c); color: #fff; display: grid; place-items: center; font-family: var(--glr-font); font-weight: 900; font-size: 20px; }
.glr-act__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--glr-muted); }
.glr-act__head h3 { margin: 2px 0 4px; font-size: 22px; font-weight: 900; }
.glr-act__head p { margin: 0; font-size: 14.5px; color: var(--glr-muted); }

.glr-tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.glr-ticket {
  position: relative; display: flex; align-items: stretch; border-radius: 16px; background: #fff;
  border: 1.5px solid var(--glr-line); border-left: 5px solid var(--act-c); overflow: hidden;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.glr-ticket:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
.glr-ticket.is-done { background: #F0FDF4; border-color: #86EFAC; border-left-color: #16A34A; }
.glr-ticket__link { flex: 1; display: grid; grid-template-columns: 36px 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 46px 12px 14px; text-decoration: none; color: inherit; }
.glr-ticket__num { font-family: var(--glr-font); font-size: 22px; font-weight: 900; color: var(--act-c); font-variant-numeric: tabular-nums; }
.glr-ticket.is-done .glr-ticket__num { color: #16A34A; }
.glr-ticket__art { width: 64px; height: 64px; object-fit: contain; }
.glr-ticket__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.glr-ticket__body small { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--glr-muted); }
.glr-ticket__body b { font-family: var(--glr-font); font-size: 16.5px; font-weight: 800; color: var(--glr-ink); line-height: 1.25; }
.glr-ticket__body em { font-style: normal; font-size: 13px; color: var(--glr-muted); line-height: 1.4; }
.glr-ticket__check { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; cursor: pointer; }
.glr-ticket__check input { width: 20px; height: 20px; accent-color: #16A34A; cursor: pointer; }

/* ---------- 03. Dynamax & Gigamax (Section sombre néon) ---------- */
.glr-sec--dynamax {
  background: radial-gradient(circle at 80% 10%, rgba(255, 46, 136, .34), transparent 44%),
              radial-gradient(circle at 12% 85%, rgba(0, 161, 233, .22), transparent 42%),
              linear-gradient(155deg, #120923 0%, #220C3A 55%, #160A24 100%);
  color: #fff;
}
.glr-sec--dynamax .glr-kicker { color: #FF7BB8; }
.glr-sec--dynamax .glr-head h2 { color: #fff; }
.glr-sec--dynamax .glr-head p { color: rgba(255, 255, 255, .82); }
.glr-dmax-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.glr-dmax-top .glr-head { margin-bottom: 0; }
.glr-dmax-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.glr-gmax-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.glr-gmax-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 12px;
  border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 46, 136, .28);
  text-decoration: none; color: #fff; text-align: center; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.glr-gmax-card:hover { transform: translateY(-4px); border-color: var(--glr-dmax); background: rgba(255, 46, 136, .16); color: #fff; }
.glr-gmax-card .glr-gmax-pill { position: static; }
.glr-gmax-card img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); }
.glr-gmax-card b { font-family: var(--glr-font); font-size: 13.5px; font-weight: 800; }

.glr-forms-strip { margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.glr-forms-strip__lbl { font-family: var(--glr-font); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #7DD3FC; }
.glr-forms-strip__items { display: flex; flex-wrap: wrap; gap: 8px; }
.glr-form-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: var(--r-full); background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.glr-form-chip:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.glr-form-chip img { width: 32px; height: 32px; object-fit: contain; }
.glr-form-chip--all { padding: 6px 14px; background: var(--glr-gold); color: var(--glr-ink); }
.glr-form-chip--all:hover { color: var(--glr-ink); background: #fde047; }

/* ---------- 04. Terres Sauvages ---------- */
.glr-wild-box {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center;
  padding: 30px; border-radius: 24px; background: linear-gradient(135deg, #ECFDF5 0%, #EFF6FF 100%);
  border: 2px solid #BFDBFE;
}
.glr-wild-box h2 { margin: 6px 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.12; }
.glr-wild-box p { margin: 0 0 14px; color: var(--glr-muted); font-size: 15.5px; line-height: 1.6; }
.glr-wild-feats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--glr-ink); }
.glr-wild-box__mons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.glr-wild-mon { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px; border-radius: 18px; background: #fff; border: 1.5px solid var(--glr-line); text-decoration: none; color: var(--glr-ink); font-family: var(--glr-font); font-weight: 800; font-size: 14px; transition: transform .15s ease; }
.glr-wild-mon:hover { transform: translateY(-3px); border-color: var(--glr-accent); }
.glr-wild-mon img { width: 96px; height: 96px; object-fit: contain; }

/* ---------- 05. Pass d'extension & Post-game ---------- */
.glr-dlc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.glr-dlc { display: flex; flex-direction: column; padding: 22px; border-radius: 22px; background: #fff; border: 2px solid var(--glr-line); border-top: 6px solid var(--glr-accent); }
.glr-dlc--armor { border-top-color: #F59E0B; }
.glr-dlc--crown { border-top-color: #0EA5E9; }
.glr-dlc--post  { border-top-color: var(--glr-bo); }
.glr-dlc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.glr-dlc__tag { padding: 4px 11px; border-radius: var(--r-full); background: var(--glr-paper); font-size: 12px; font-weight: 800; color: var(--glr-ink); }
.glr-dlc__head img { width: 108px; height: 108px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .14)); }
.glr-dlc h3 { margin: 0 0 8px; font-size: 20px; font-weight: 900; line-height: 1.2; }
.glr-dlc p { margin: 0 0 16px; font-size: 14.5px; color: var(--glr-muted); line-height: 1.55; flex: 1; }
.glr-dlc__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.glr-dlc__go { font-family: var(--glr-font); font-weight: 800; font-size: 14.5px; color: var(--glr-accent-dark); text-decoration: none; }
.glr-dlc__go:hover { text-decoration: underline; }
.glr-dlc__sub { font-size: 13px; font-weight: 700; color: var(--glr-muted); text-decoration: none; }
.glr-dlc__sub:hover { color: var(--glr-ink); }

/* ---------- 06. Épée vs Bouclier ---------- */
.glr-duel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.glr-vercard { padding: 20px; border-radius: 20px; color: #fff; }
.glr-vercard--ep { background: linear-gradient(135deg, #073373, #00A1E9); }
.glr-vercard--bo { background: linear-gradient(135deg, #620830, #E5005A); }
.glr-vercard__top { display: flex; align-items: center; gap: 16px; }
.glr-vercard__top img { width: 76px; height: 120px; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); }
.glr-vercard h3 { margin: 0 0 4px; font-size: 22px; font-weight: 900; }
.glr-vercard p { margin: 0 0 12px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.glr-vercard__btn { padding: 7px 14px; border-radius: var(--r-full); border: 2px solid #fff; background: transparent; color: #fff; font-family: var(--glr-font); font-weight: 800; font-size: 13px; cursor: pointer; }
.glr-vercard__btn[aria-pressed="true"], .glr-vercard__btn:hover { background: #fff; color: var(--glr-ink); }

.glr-excl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.glr-excl-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--glr-line); }
.glr-excl-side { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--glr-ink); min-width: 0; transition: opacity .2s ease; }
.glr-excl-side img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; }
.glr-excl-side small { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.glr-excl-side--ep small { color: var(--glr-ep-dark); }
.glr-excl-side--bo small { color: var(--glr-bo-dark); }
.glr-excl-side b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glr-excl-vs { font-family: var(--glr-font); font-size: 11px; font-weight: 900; color: var(--glr-muted); text-transform: uppercase; }
.glr-buy { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* ---------- 07. Starters & Tous les guides ---------- */
.glr-starters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.glr-starter {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 18px;
  border-radius: 20px; background: #fff; border: 2px solid var(--glr-line); border-top: 6px solid var(--tc);
  text-decoration: none; color: var(--glr-ink); transition: transform .18s ease;
}
.glr-starter:hover { transform: translateY(-4px); border-color: var(--tc); }
.glr-starter__imgs { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-bottom: 10px; }
.glr-starter__base { width: 104px; height: 104px; object-fit: contain; }
.glr-starter__evo { width: 64px; height: 64px; object-fit: contain; opacity: .88; }
.glr-starter h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 900; }
.glr-starter h3 small { font-size: 13.5px; font-weight: 600; color: var(--glr-muted); }
.glr-starter p { margin: 0; font-size: 13.5px; color: var(--glr-muted); line-height: 1.5; }

.glr-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.glr-guide-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--glr-line); text-decoration: none; color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}
.glr-guide-card:hover { transform: translateY(-2px); border-color: var(--glr-accent); }
.glr-guide-card img { width: 58px; height: 58px; object-fit: contain; flex: 0 0 58px; }
.glr-guide-card__sec { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--glr-accent-dark); }
.glr-guide-card b { display: block; font-family: var(--glr-font); font-size: 15.5px; font-weight: 800; color: var(--glr-ink); margin: 2px 0; }
.glr-guide-card p { margin: 0; font-size: 12.8px; color: var(--glr-muted); line-height: 1.4; }

.glr-dex-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.glr-dex-links a { padding: 8px 14px; border-radius: var(--r-full); background: #fff; border: 1.5px solid var(--glr-line); font-size: 13.5px; font-weight: 700; color: var(--glr-ink); text-decoration: none; }
.glr-dex-links a:hover { border-color: var(--glr-accent); color: var(--glr-accent-dark); }

/* ---------- 08. Actualités ---------- */
.glr-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.glr-news-card { display: flex; flex-direction: column; border-radius: 16px; background: #fff; border: 1.5px solid var(--glr-line); overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s ease; }
.glr-news-card:hover { transform: translateY(-3px); border-color: var(--glr-accent); }
.glr-news-card__img { aspect-ratio: 16 / 9; background: var(--glr-paper); overflow: hidden; }
.glr-news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glr-news-card__body { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.glr-news-card__body time { font-size: 12px; color: var(--glr-muted); font-weight: 600; }
.glr-news-card__body b { font-family: var(--glr-font); font-size: 15.5px; font-weight: 800; color: var(--glr-ink); line-height: 1.3; }

/* ---------- 09. FAQ ---------- */
.glr-faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.glr-faq__item { border: 1.5px solid var(--glr-line); border-radius: 16px; background: #fff; padding: 14px 18px; }
.glr-faq__item summary { font-family: var(--glr-font); font-weight: 800; font-size: 16px; color: var(--glr-ink); cursor: pointer; }
.glr-faq__item p { margin: 10px 0 0; font-size: 14.5px; color: var(--glr-muted); line-height: 1.65; }

/* ============================================================ BANDEAU PAGES ENFANTS (galar-nav.php) */
.glr-banner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 22px 24px; margin: 0 0 14px; border-radius: 20px; background: var(--glr-grad); color: #fff; overflow: hidden;
  border-bottom: 4px solid var(--line, var(--glr-gold));
}
.glr-banner__brand { display: inline-flex; align-items: center; gap: 6px; font-family: var(--glr-font); font-size: 12.5px; font-weight: 800; color: rgba(255, 255, 255, .92); text-decoration: none; margin-bottom: 6px; }
.glr-banner__brand i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.glr-banner__brand i.is-ep { background: var(--glr-ep); }
.glr-banner__brand i.is-bo { background: var(--glr-bo); }
.glr-banner__brand span { padding: 2px 8px; border-radius: var(--r-full); background: rgba(0, 0, 0, .28); }
.glr-banner__kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--glr-gold); }
.glr-banner__title { margin: 0 0 6px; font-size: clamp(22px, 3vw, 32px); font-weight: 900; line-height: 1.12; color: #fff; }
.glr-banner__hook { margin: 0 0 12px; font-size: 14px; color: rgba(255, 255, 255, .88); max-width: 64ch; line-height: 1.5; }
.glr-banner__vers { display: flex; gap: 8px; flex-wrap: wrap; }
.glr-vbtn { padding: 5px 12px; border-radius: var(--r-full); border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .24); color: #fff; font-family: var(--glr-font); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.glr-vbtn[aria-pressed="true"] { background: #fff; color: var(--glr-ink); border-color: var(--glr-gold); }
.glr-banner__art { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)); }

.glr-progress { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin: 0 0 12px; border-radius: 14px; background: var(--glr-paper); border: 1.5px solid var(--glr-line); }
.glr-progress ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.glr-progress li a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1.5px solid var(--glr-line); font-family: var(--glr-font); font-weight: 800; font-size: 13px; color: var(--glr-ink); text-decoration: none; }
.glr-progress li.is-current a { background: var(--line, var(--glr-accent)); border-color: var(--line, var(--glr-accent)); color: #fff; }
.glr-progress li.is-done:not(.is-current) a { background: #DCFCE7; border-color: #16A34A; color: #166534; }
.glr-progress__done { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--glr-ink); cursor: pointer; }
.glr-progress__done input { width: 17px; height: 17px; accent-color: #16A34A; }

.glr-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.glr-quick a { padding: 5px 12px; border-radius: var(--r-full); background: var(--glr-paper); border: 1px solid var(--glr-line); font-size: 12.5px; font-weight: 700; color: var(--glr-ink); text-decoration: none; }
.glr-quick a.is-on, .glr-quick a:hover { background: var(--glr-ink); border-color: var(--glr-ink); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .glr-hero__inner { grid-template-columns: 1fr; }
  .glr-hero__visual { min-height: 290px; }
  .glr-gyms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glr-gmax-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .glr-dlc-grid, .glr-guide-grid, .glr-news-grid, .glr-starters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glr-excl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glr-wild-box { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .glr-hero { padding: 34px 0 28px; }
  .glr-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glr-tickets, .glr-duel, .glr-dlc-grid, .glr-guide-grid, .glr-news-grid, .glr-starters, .glr-excl-grid { grid-template-columns: 1fr; }
  .glr-gmax-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glr-finale-banner { flex-direction: column; text-align: center; }
  .glr-banner { grid-template-columns: 1fr; }
  .glr-banner__art { display: none; }
}
@media (max-width: 460px) {
  .glr-gyms { grid-template-columns: 1fr; }
  .glr-gmax-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
