.cfa-kit, .cfa-hub, .cfa-home, .cfa-tax-index, .cfa-archive-kits, .cfa-page, .cfa-lang-home {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
}

/* Site header */
.cfa-site-header {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.cfa-site-header__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.cfa-site-header__brand {
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  font-size: 1rem;
}
.cfa-site-header__brand:hover {
  color: #046bd2;
}
.cfa-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}
.cfa-site-nav a {
  color: #334155;
  text-decoration: none;
}
.cfa-site-nav a:hover {
  color: #046bd2;
  text-decoration: underline;
}

/* Footer */
.cfa-site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}
.cfa-site-footer p {
  margin: 0 0 0.75rem;
}
.cfa-site-footer strong {
  color: #334155;
}
.cfa-site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.cfa-site-footer__nav a {
  color: #046bd2;
  text-decoration: none;
}
.cfa-site-footer__nav a:hover {
  text-decoration: underline;
}
.cfa-site-nav__lang {
  font-weight: 600;
}

/* Kit / hub media */
.cfa-kit__media img, .cfa-hub__grid img, .cfa-kit-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.cfa-kit__media {
  max-width: 420px;
  margin: 0 auto 1.5rem;
}
.cfa-kit__title, .cfa-hub__title {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.cfa-kit__meta {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2rem;
}
.cfa-kit__meta th,
.cfa-kit__meta td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
.cfa-kit__meta th {
  width: 34%;
  color: #475569;
  font-weight: 600;
}
.cfa-kit__section-title, .cfa-hub__section-title {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}
.cfa-kit__related, .cfa-hub__grid, .cfa-kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cfa-kit__related a, .cfa-hub__grid a, .cfa-kit-grid a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.cfa-kit__related a:hover, .cfa-hub__grid a:hover, .cfa-kit-grid a:hover {
  text-decoration: underline;
}
.cfa-kit-grid span, .cfa-hub__grid span, .cfa-kit__related span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.35;
}
.cfa-crumb {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 1rem;
}
.cfa-crumb a {
  color: #046bd2;
  text-decoration: none;
}
.cfa-crumb a:hover {
  text-decoration: underline;
}
.cfa-kit__more {
  margin-top: 1.25rem;
}

/* Home */
.cfa-home__hero {
  margin: 0 0 1.75rem;
}
.cfa-home__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  color: #0f172a;
}
.cfa-home__sub {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #475569;
  max-width: 42rem;
}
.cfa-home__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 0 0 2.25rem;
}
.cfa-stat {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 0.85rem;
  text-align: center;
}
.cfa-stat__n {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #046bd2;
  line-height: 1.2;
}
.cfa-stat__l {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cfa-home__section {
  margin: 0 0 2.25rem;
}
.cfa-home__h2 {
  font-size: 1.25rem;
  margin: 0 0 0.85rem;
  color: #0f172a;
}
.cfa-home__h2-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 0.85rem;
}
.cfa-home__h2-row .cfa-home__h2 {
  margin: 0;
}
.cfa-home__all {
  font-size: 0.95rem;
  color: #046bd2;
  text-decoration: none;
}
.cfa-home__all:hover {
  text-decoration: underline;
}
.cfa-chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem;
}
.cfa-chip-list--dense {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.cfa-chip-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.95rem;
}
.cfa-chip-list a:hover {
  border-color: #046bd2;
  background: #f8fafc;
}
.cfa-chip__name {
  font-weight: 600;
}
.cfa-chip__count {
  color: #64748b;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .cfa-site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cfa-home__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cfa-chip-list,
  .cfa-chip-list--dense {
    grid-template-columns: 1fr;
  }
}

/* Kit CPT archive (/ja/kits/) */
.cfa-archive-kits__hero {
  margin: 0 0 1.75rem;
}
.cfa-archive-kits__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  color: #0f172a;
}
.cfa-archive-kits__sub {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #475569;
  max-width: 42rem;
}
.cfa-archive-kits .navigation.pagination,
.cfa-archive-kits .nav-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  font-size: 0.95rem;
}
.cfa-archive-kits .nav-links a,
.cfa-archive-kits .nav-links span {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #334155;
  text-decoration: none;
  background: #fff;
}
.cfa-archive-kits .nav-links a:hover {
  border-color: #046bd2;
  color: #046bd2;
}
.cfa-archive-kits .nav-links .current {
  background: #046bd2;
  border-color: #046bd2;
  color: #fff;
}


/* Welcome + header image on Spanish home */
.cfa-home__welcome {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #046bd2;
  font-weight: 600;
}
.cfa-home__header-img {
  margin: 1.25rem 0 0;
  max-width: 100%;
}
.cfa-home__header-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Eras row */
.cfa-era-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.cfa-era-row a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  background: #0f172a;
  color: #f8fafc;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
}
.cfa-era-row a:hover {
  background: #046bd2;
}
.cfa-era__name {
  font-weight: 700;
  font-size: 1.05rem;
}
.cfa-era__count {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Shop outbound */
.cfa-shop-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.cfa-shop-links li {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: #fff;
}
.cfa-shop-links a {
  display: block;
  font-weight: 700;
  color: #046bd2;
  text-decoration: none;
  margin-bottom: 0.25rem;
}
.cfa-shop-links a:hover {
  text-decoration: underline;
}
.cfa-shop-links__hint {
  font-size: 0.85rem;
  color: #64748b;
}

/* Legal / static pages */
.cfa-page__title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 1rem;
  color: #0f172a;
}
.cfa-legal__updated {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}
.cfa-legal__body h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
  color: #0f172a;
}
.cfa-legal__body p {
  margin: 0 0 0.85rem;
  line-height: 1.6;
  color: #334155;
}
.cfa-legal__body a {
  color: #046bd2;
}

/* Language chooser hub */
.cfa-lang-home {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
}
.cfa-lang-home__hero {
  text-align: center;
  margin: 0 0 2rem;
}
.cfa-lang-home__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  color: #0f172a;
}
.cfa-lang-home__sub {
  margin: 0;
  color: #64748b;
  font-size: 1.05rem;
}
.cfa-lang-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.cfa-lang-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 140px;
  padding: 1.25rem 1.15rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
a.cfa-lang-card--live:hover {
  border-color: #046bd2;
  box-shadow: 0 6px 20px rgba(4, 107, 210, 0.12);
}
.cfa-lang-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}
.cfa-lang-card__hint {
  color: #64748b;
  font-size: 0.95rem;
  flex: 1;
}
.cfa-lang-card__cta {
  color: #046bd2;
  font-weight: 600;
  margin-top: 0.5rem;
}
.cfa-lang-card--soon {
  background: #f8fafc;
  opacity: 0.72;
  cursor: default;
}
.cfa-lang-header .cfa-site-header__brand {
  cursor: default;
}

/* ========== 0.4.8 UK mirror layout ========== */
.cfa-hub, .cfa-kit, .cfa-home, .cfa-tax-index, .cfa-archive-kits, .cfa-page, .cfa-lang-home {
  max-width: 1100px;
}
.cfa-site-header__inner,
.cfa-site-footer {
  max-width: 1100px;
}

/* Nav dropdowns */
.cfa-site-nav {
  align-items: center;
  gap: 0.15rem 0.85rem;
}
.cfa-nav-dd {
  position: relative;
}
.cfa-nav-dd__btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.95rem;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.cfa-nav-dd__btn:hover,
.cfa-nav-dd.is-open .cfa-nav-dd__btn {
  color: #046bd2;
}
.cfa-nav-dd__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}
.cfa-nav-dd__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-width: 280px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 0.5rem 0;
  z-index: 40;
}
.cfa-nav-dd__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow: auto;
}
.cfa-nav-dd__list a,
.cfa-nav-dd__all {
  display: block;
  padding: 0.45rem 0.9rem;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.92rem;
}
.cfa-nav-dd__list a:hover,
.cfa-nav-dd__all:hover {
  background: #f8fafc;
  color: #046bd2;
}
.cfa-nav-dd__all {
  border-top: 1px solid #e2e8f0;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  font-weight: 600;
  color: #046bd2;
}
@media (max-width: 720px) {
  .cfa-nav-dd__panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
    min-width: 0;
    max-width: none;
  }
}

/* Hub hero */
.cfa-hub__hero {
  padding: 0.5rem 0 1.25rem;
  border-bottom: 3px solid #111;
  margin-bottom: 1.75rem;
}
.cfa-hub__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #111;
  margin: 0 0 0.5rem;
}
.cfa-hub__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: #888;
}
.cfa-hub__meta-item strong {
  color: #111;
  font-weight: 800;
  font-size: 1rem;
}
.cfa-hub__empty {
  color: #94a3b8;
  padding: 2rem 0;
}

/* Season timelines */
.cfa-seasons {
  display: block;
}
.cfa-season {
  margin-bottom: 2rem;
}
.cfa-season__heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
}

/* Kit cards (shared: hub / archive / home) */
.cfa-kit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.cfa-kit-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cfa-kit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
}
.cfa-kit-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #f8f9fa;
  overflow: hidden;
}
.cfa-kit-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  display: block;
  transition: transform 0.3s;
}
.cfa-kit-card:hover .cfa-kit-card__img img {
  transform: scale(1.05);
}
.cfa-kit-card__ph {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}
.cfa-kit-card__pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 99px;
}
.cfa-kit-card__info {
  padding: 10px 12px 14px;
}
.cfa-kit-card__title {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}
.cfa-kit-card__sub {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}
@media (max-width: 600px) {
  .cfa-kit-cards {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }
}

/* League hub team cards */
.cfa-lg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.cfa-lg-card {
  background: #fafafa;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.35rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cfa-lg-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
.cfa-lg-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cfa-lg-card__team {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}
.cfa-lg-card__count {
  font-size: 12px;
  color: #888;
  font-weight: 600;
  white-space: nowrap;
}
.cfa-lg-card__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  min-height: 110px;
}
.cfa-lg-card__shirt {
  text-align: center;
}
.cfa-lg-card__img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 6px;
  display: block;
}
.cfa-lg-card__ph {
  width: 96px;
  height: 96px;
  background: #f0f0f0;
  border-radius: 8px;
}
.cfa-lg-card__label {
  font-size: 10px;
  color: #999;
  text-align: center;
  margin-top: 4px;
  font-weight: 600;
}
.cfa-lg-card__arrow {
  color: #ccc;
  flex-shrink: 0;
}
.cfa-lg-card__btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: #111;
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s;
}
.cfa-lg-card__btn:hover {
  background: #333;
}
@media (max-width: 500px) {
  .cfa-lg-grid {
    grid-template-columns: 1fr;
  }
}

/* Single kit — UK two-col hero */
.cfa-kit__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 1.35rem;
  line-height: 1.2;
  color: #111;
}
.cfa-kit__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}
@media (max-width: 640px) {
  .cfa-kit__header {
    grid-template-columns: 1fr;
  }
}
.cfa-kit__media {
  max-width: none;
  margin: 0;
}
.cfa-kit__hero-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}
.cfa-kit__ph {
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 8px;
}
.cfa-kit__facts {
  border: 1.5px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.cfa-kit__fact {
  display: flex;
  align-items: baseline;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}
.cfa-kit__fact:last-child {
  border-bottom: none;
}
.cfa-kit__fact-label {
  width: 130px;
  flex-shrink: 0;
  color: #555;
}
.cfa-kit__fact-value {
  color: #111;
  font-weight: 500;
}
.cfa-kit__fact-value a {
  color: inherit;
  text-decoration: none;
}
.cfa-kit__fact-value a:hover {
  text-decoration: underline;
}
.cfa-kit__section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
  color: #111;
}
.cfa-kit__related-section {
  margin-top: 2rem;
}
.cfa-kit__related {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cfa-kit__related-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1 1 140px;
  max-width: 220px;
}
.cfa-kit__related--1 .cfa-kit__related-card {
  flex: 0 0 220px;
  margin: 0 auto;
}
.cfa-kit__related--2 .cfa-kit__related-card {
  flex: 0 0 calc(50% - 0.5rem);
}
.cfa-kit__related--3 .cfa-kit__related-card {
  flex: 0 0 calc(33.33% - 0.7rem);
}
.cfa-kit__related--4 .cfa-kit__related-card {
  flex: 0 0 calc(25% - 0.75rem);
}
@media (max-width: 600px) {
  .cfa-kit__related--3 .cfa-kit__related-card,
  .cfa-kit__related--4 .cfa-kit__related-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}
.cfa-kit__related-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  display: block;
  margin-bottom: 0.5rem;
}
.cfa-kit__related-card span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: block;
}
.cfa-kit__ph--sm {
  width: 100%;
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.cfa-kit__see-all {
  display: block;
  width: max-content;
  margin: 1.25rem auto 0;
  padding: 10px 20px;
  border: 1.5px solid #111;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.cfa-kit__see-all:hover {
  background: #111;
  color: #fff;
}


/* Namesets / variants / authenticity (0.4.9) */
.cfa-kit__namesets,
.cfa-kit__variants,
.cfa-kit__auth {
  margin-top: 2rem;
}
.cfa-kit__namesets-grid,
.cfa-kit__variants-grid,
.cfa-kit__auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.cfa-kit__nameset-card,
.cfa-kit__variant-card,
.cfa-kit__auth-card {
  text-align: center;
  display: block;
}
.cfa-kit__nameset-card img,
.cfa-kit__variant-card img,
.cfa-kit__auth-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  display: block;
  margin-bottom: 0.5rem;
}
.cfa-kit__nameset-card span,
.cfa-kit__variant-card span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: block;
  color: #111;
}
.cfa-kit__auth-text {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.55;
  color: #222;
}
.cfa-kit__auth-text p:first-child {
  margin-top: 0;
}
.cfa-kit__auth-text p:last-child {
  margin-bottom: 0;
}

/* Archive kits */
.cfa-archive-kits__hero {
  padding: 0.25rem 0 1.25rem;
  border-bottom: 3px solid #111;
  margin-bottom: 1.75rem;
}
.cfa-archive-kits__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
  color: #111;
}
.cfa-archive-kits__stats {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.cfa-archive-kits__stat {
  font-size: 0.9rem;
  color: #888;
}
.cfa-archive-kits__stat strong {
  color: #111;
  font-weight: 800;
}
.cfa-archive-kits__sub {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
}
.cfa-archive-kits .navigation.pagination,
.cfa-archive-kits .nav-links {
  margin-top: 2rem;
}

/* Taxonomy browse index cards */
.cfa-tax-index__hero {
  padding: 0.25rem 0 1.25rem;
  border-bottom: 3px solid #111;
  margin-bottom: 1.75rem;
}
.cfa-tax-index__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
  color: #111;
}
.cfa-tax-index__sub {
  margin: 0 0 0.65rem;
  color: #64748b;
  font-size: 1.05rem;
}
.cfa-tax-index__stats {
  display: flex;
  gap: 1rem;
}
.cfa-tax-index__stat {
  font-size: 0.9rem;
  color: #888;
}
.cfa-tax-index__stat strong {
  color: #111;
  font-weight: 800;
}
.cfa-idx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}
.cfa-idx-grid--league {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.cfa-idx-card {
  background: #fafafa;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.35rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cfa-idx-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.cfa-idx-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.35rem;
}
.cfa-idx-card__meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 0.9rem;
}
.cfa-idx-card__meta strong {
  color: #555;
}
.cfa-idx-card__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.cfa-idx-card__thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 3px;
}
.cfa-idx-card__btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.cfa-idx-card:hover .cfa-idx-card__btn {
  background: #333;
}

/* Home tweaks to match UK weight */
.cfa-home__title {
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #111;
}
.cfa-home__hero {
  border-bottom: 3px solid #111;
  padding-bottom: 1.25rem;
}

.cfa-kit__facts-col { min-width: 0; }
.cfa-home__shop { margin-top: 0.5rem; }


/* Manufacturer / sponsor timeline bars (team hubs) */
.cfa-timelines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
@media (max-width: 700px) {
  .cfa-timelines { grid-template-columns: 1fr; }
}
.cfa-tl-card {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  position: relative;
}
.cfa-tl-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #999;
  margin-bottom: 14px;
}
.cfa-tl-track {
  position: relative;
  height: 4px;
  background: #e5e7eb;
  border-radius: 99px;
  margin: 24px 0 8px;
}
.cfa-tl-bar {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 99px;
  transition: opacity .2s;
}
.cfa-tl-bar:hover { opacity: .85; }
.cfa-tl-labels {
  position: relative;
  height: 84px;
  margin-top: 6px;
  overflow: visible;
}
.cfa-tl-label {
  position: absolute;
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
  transform: translateX(-50%);
  white-space: nowrap;
}
.cfa-tl-label-name {
  font-weight: 700;
  color: #111;
  display: block;
}
.cfa-tl-label-years {
  font-weight: 400;
  color: #888;
  font-size: 10px;
}
.cfa-tl-label a {
  color: inherit;
  text-decoration: none;
}
.cfa-tl-label a:hover .cfa-tl-label-name {
  text-decoration: underline;
}
.cfa-tl-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  z-index: 2;
}


/* Start-only stubs (In-House / No Sponsor) */
.cfa-tl-dot--start {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #9ca3af;
}
.cfa-tl-label--start {
  transform: translateX(0);
  text-align: left;
  left: 0 !important;
  padding-left: 14px;
}
.cfa-tl-label--start .cfa-tl-label-name {
  color: #6b7280;
  font-weight: 600;
}
.cfa-tl-label--start .cfa-tl-label-years {
  color: #9ca3af;
}


/* ===== 0.1.1: team cards mirror UK league page (.lg-*) ===== */
.cfa-lg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1100px) { .cfa-lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cfa-lg-grid { grid-template-columns: 1fr; } }
.cfa-lg-card {
  background: #fafafa; border: 1.5px solid #e8e8e8; border-radius: 14px;
  padding: 24px; transition: box-shadow .2s, transform .2s;
  display: block;
}
.cfa-lg-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-2px); }
.cfa-lg-card__header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.cfa-lg-card__team { font-size: 20px; font-weight: 800; color: #111; line-height: 1.2; }
.cfa-lg-card__count { font-size: 12px; color: #888; font-weight: 600; white-space: nowrap; }
.cfa-lg-card__row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; min-height: 120px; }
.cfa-lg-card__shirt { display: block; }
.cfa-lg-card__img { display: block; width: 100px; height: 100px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 6px; box-sizing: border-box; }
.cfa-lg-card__ph { width: 100px; height: 100px; background: #f0f0f0; border-radius: 8px; }
.cfa-lg-card__arrow { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #ccc; flex-shrink: 0; }
.cfa-lg-card__arrow svg { width: 32px; height: 32px; }
.cfa-lg-card__label { font-size: 10px; color: #999; text-align: center; margin-top: 4px; font-weight: 600; }
.cfa-lg-card__btn { display: block; text-align: center; padding: 10px 20px; background: #111; color: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .15s; }
.cfa-lg-card__btn:hover { background: #333; color: #fff; text-decoration: none; }
.cfa-lg-hero { padding: 36px 0 24px; border-bottom: 3px solid #111; margin-bottom: 32px; }
.cfa-lg-hero__title { font-size: clamp(32px, 6vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #111; margin: 0 0 8px; }
.cfa-lg-hero__meta { font-size: 13px; color: #888; }
.cfa-lg-hero__meta strong { color: #111; font-weight: 800; font-size: 15px; }

/* ===== 0.1.1: home mirrors UK home (.hp-*) ===== */
.hp-wrap { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.hp-hero { padding: 60px 0 48px; text-align: center; border-bottom: 3px solid #111; margin-bottom: 48px; }
.hp-hero-title { font-size: clamp(36px, 7vw, 72px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #111; margin: 0 0 12px; }
.hp-hero-sub { font-size: 16px; color: #666; max-width: 600px; margin: 0 auto 24px; line-height: 1.6; }
.hp-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.hp-stat { text-align: center; }
.hp-stat-val { font-size: 36px; font-weight: 900; color: #111; font-variant-numeric: tabular-nums; line-height: 1; }
.hp-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #999; margin-top: 4px; font-weight: 600; }
.hp-section { margin-bottom: 48px; }
.hp-section-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #eee; }
.hp-section-title { font-size: 22px; font-weight: 800; color: #111; margin: 0; }
.hp-section-link { font-size: 13px; font-weight: 600; color: #666; text-decoration: none; }
.hp-section-link:hover { color: #111; text-decoration: underline; }
.hp-league-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hp-league-card { background: #fafafa; border: 1.5px solid #e8e8e8; border-radius: 12px; padding: 20px; text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.hp-league-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.07); text-decoration: none; color: inherit; }
.hp-league-name { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 4px; }
.hp-league-meta { font-size: 12px; color: #888; }
.hp-league-meta strong { color: #555; }
.hp-team-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-team-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1.5px solid #e8e8e8; border-radius: 99px; font-size: 13px; font-weight: 600; color: #333; text-decoration: none; background: #fafafa; transition: all .15s; }
.hp-team-pill:hover { background: #111; color: #fff; border-color: #111; text-decoration: none; }
.hp-team-pill img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid #eee; }
.hp-team-count { font-size: 11px; color: #999; font-weight: 400; }
.hp-team-pill:hover .hp-team-count { color: #aaa; }
.hp-shirt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.hp-shirt-card { background: #fff; border: 1.5px solid #e8e8e8; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.hp-shirt-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.07); text-decoration: none; color: inherit; }
.hp-shirt-img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; background: #f8f9fa; box-sizing: border-box; }
.hp-shirt-info { padding: 8px 12px 12px; }
.hp-shirt-title { font-size: 11px; font-weight: 700; color: #111; line-height: 1.3; }
.hp-shirt-sub { font-size: 10px; color: #999; margin-top: 2px; }
.hp-mfr-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-mfr-pill { padding: 6px 14px; border: 1.5px solid #e8e8e8; border-radius: 8px; font-size: 13px; font-weight: 700; color: #333; text-decoration: none; background: #fafafa; transition: all .15s; }
.hp-mfr-pill:hover { background: #111; color: #fff; border-color: #111; text-decoration: none; }
.hp-mfr-count { font-weight: 400; color: #999; font-size: 11px; margin-left: 4px; }
.hp-mfr-pill:hover .hp-mfr-count { color: #aaa; }
.hp-decade-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-decade-pill { padding: 8px 18px; border: 1.5px solid #e8e8e8; border-radius: 8px; font-size: 14px; font-weight: 800; color: #111; text-decoration: none; background: #fafafa; transition: all .15s; text-align: center; }
.hp-decade-pill:hover { background: #111; color: #fff; border-color: #111; text-decoration: none; }
.hp-decade-count { display: block; font-size: 11px; font-weight: 400; color: #999; }
.hp-decade-pill:hover .hp-decade-count { color: #aaa; }
@media (max-width: 600px) {
  .hp-stats { gap: 20px; }
  .hp-stat-val { font-size: 28px; }
  .hp-shirt-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}


/* ===== 0.1.2: breadcrumb, hub filters/badges, UK /shirts/-style index cards ===== */
.cfa-crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.cfa-crumb__sep { color: #bbb; }
.cfa-hub-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.cfa-hub-badge { background: #f3f4f6; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: #555; display: flex; align-items: center; gap: 4px; }
.cfa-hub-badge strong { color: #111; font-size: 16px; }
.cfa-hub-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.cfa-hub-filters__label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #bbb; margin-right: 4px; font-weight: 700; }
.cfa-hub-filter { padding: 5px 14px; border: 1.5px solid #ddd; border-radius: 99px; font-size: 12px; font-weight: 600; color: #666; cursor: pointer; background: #fff; transition: all .15s; }
.cfa-hub-filter:hover { border-color: #111; color: #111; }
.cfa-hub-filter.is-active { background: #111; color: #fff; border-color: #111; }
.cfa-hub-filters__sep { width: 1px; height: 22px; background: #e5e7eb; margin: 0 6px; }
.cfa-hub-select { padding: 5px 10px; border: 1.5px solid #ddd; border-radius: 8px; font-size: 12px; color: #666; background: #fff; cursor: pointer; outline: none; width: auto; display: inline-block; }
.cfa-kit-card[hidden], .cfa-season[hidden], .cfa-hub__empty[hidden] { display: none !important; }
.cfa-ka-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.cfa-ka-stat { font-size: 13px; color: #888; }
.cfa-ka-stat strong { color: #111; font-weight: 800; font-size: 15px; }
.cfa-ka-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.cfa-ka-card { background: #fafafa; border: 1.5px solid #e8e8e8; border-radius: 14px; padding: 24px; transition: box-shadow .2s, transform .2s; text-decoration: none; color: inherit; display: block; }
.cfa-ka-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-2px); text-decoration: none; color: inherit; }
.cfa-ka-card__name { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 6px; }
.cfa-ka-card__meta { font-size: 12px; color: #888; margin-bottom: 16px; }
.cfa-ka-card__meta strong { color: #555; }
.cfa-ka-card__thumbs { display: flex; gap: 8px; margin-bottom: 16px; }
.cfa-ka-card__thumb { width: 60px; height: 60px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 4px; box-sizing: border-box; }
.cfa-ka-card__btn { display: block; text-align: center; padding: 10px 20px; background: #111; color: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; }
.cfa-ka-card:hover .cfa-ka-card__btn { background: #333; }

.cfa-season { content-visibility: auto; contain-intrinsic-size: auto 480px; }

/* Japanese typography (system fonts only) */
body.cfa-archive, .cfa-hub, .cfa-home, .cfa-kit, .cfa-legal, .cfa-site-header, .cfa-site-footer { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.7; word-break: normal; overflow-wrap: anywhere; }
.cfa-hub__title, .cfa-lg-hero__title, .cfa-kit__title, .hp-hero-title, .cfa-page__title { line-height: 1.35; letter-spacing: 0; }
.cfa-lg-card__btn, .cfa-ka-card__btn { letter-spacing: 0; }
