/* ============================================
   SŁOMNICZANKA THEME OVERRIDE — FINAL TARGETED
   Tylko wygląd. Nie rusza treści.
============================================ */

/* =========================================================
   1) ZERO RADIUS — każda klasa z wyższą specyficznością
========================================================= */
html body .hero-home__copy,
html body .hero-home__media,
html body .home-slider,
html body .home-slide,
html body .home-slide img,
html body .home-slide__overlay,
html body .home-slide__facts article,
html body .home-slider__arrow,
html body .hero-stage__fullbleed,
html body .article-hero__image,
html body .article-hero__image img,
html body .stadium-hero__image,
html body .stadium-hero__image img,
html body .panel,
html body .story-card,
html body .news-card,
html body .mini-stat,
html body .photo-card,
html body .lightbox__figure,
html body .page-hero__crest,
html body .shop-home-band,
html body .partners-home-band,
html body .partner-logo-card,
html body .partner-directory__card,
html body .partner-directory__logo,
html body .shop-product-purchase,
html body .shop-product-description-panel,
html body .shop-product-side-block,
html body .shop-product-card,
html body .shop-product-hero,
html body .shop-size-table-wrap,
html body .cookie-banner__surface,
html body .coach-card,
html body .season-row,
html body .season-compact-row,
html body .club-history-table-wrap,
html body .club-history-table tbody tr,
html body .hero-card,
html body .hero-card--table,
html body .hero-card--match,
html body .hero-card--partner,
html body .shop-home-product,
html body .match-card,
html body .match-mini,
html body .league-table-wrap,
html body .league-mobile-card,
html body .faq-item,
html body .legal-card,
html body .article-next-card,
html body .sidebar-card,
html body .cms-card,
html body .cms-mini-card,
html body .cms-metric-card,
html body .cms-data-card,
html body .team-other-card,
html body .youth-table-page__fixture-item,
html body .academy-card,
html body .club-curiosity-slide,
html body .main-nav__dropdown,
html body .main-nav__dropdown a,
html body .button,
html body .header-cta,
html body .header-social,
html body .mobile-nav-toggle,
html body .brand img,
html body .chip-list > *,
html body .badge-list > *,
html body .shop-tag,
html body .squad-card,
html body .squad-card__position,
html body .club-story-carousel__arrow,
html body .club-story-carousel__dots button,
html body input,
html body select,
html body textarea,
html body details,
html body .results-marquee__card,
html body .results-marquee-band,
html body .stadium-spotlight,
html body .team-coach,
html body .shop-lookbook-band,
html body .shop-lookbook-slide,
html body .shop-lookbook-band__meta,
html body .shop-lookbook-stage,
html body .shop-lookbook-stage__footer,
html body .shop-lookbook-band__thumbs > *,
html body .brief-list__item,
html body .team-form-strip--compact,
html body .countdown-inline > *,
html body .stadium-spotlight__facts > *,
html body .senior-showcase__facts > *,
html body .stats-summary > article,
html body .pathway-link,
html body .pathway-step,
html body .team-other-card,
html body .portrait-strip__item,
html body .club-story-panel,
html body .stats-table-panel,
html body .form-pill,
html body .page-hero,
html body .category-badge {
  border-radius: 0 !important;
}

/* Wyjątki: awatary ludzi + cookie fab */
html body .team-coach__avatar,
html body .team-coach__avatar img,
html body .player-avatar--photo,
html body .player-avatar--photo img,
html body .cookie-fab {
  border-radius: 999px !important;
}

/* =========================================================
   2) USUŃ SEPARATORY — wszystkie border-top/bottom wewnątrz paneli
========================================================= */
html body .panel__header,
html body .section-heading,
html body .section-heading--inline,
html body .section-heading--left,
html body .club-story-panel > .section-heading,
html body .club-story-panel > .section-heading--left,
html body .club-story-panel > .club-story-carousel,
html body .match-card__meta,
html body .match-window__meta div,
html body .match-stats-section,
html body .stadium-spotlight__facts,
html body .senior-showcase__facts,
html body .shop-lookbook-stage__footer,
html body .partners-home-band__header,
html body .season-batch__header,
html body .season-row,
html body .mini-leaderboard,
html body .partner-table th,
html body .partner-table td,
html body .shop-product-option__body,
html body .cookie-banner__preferences,
html body .footer-links--details a,
html body .footer-bottom,
html body .site-ribbon,
html body .site-header,
html body .section--tinted,
html body .section--light {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Wyjątki: obramowanie całego headera jest OK (pasek klubowy), tabele też potrzebują */
html body .league-table thead th,
html body .league-table tbody td,
html body .club-history-table tbody td {
  border-bottom: 1px solid var(--line) !important;
}
/* Header dolna linia — zachowaj dyskretną */
html body .site-header {
  border-bottom: 1px solid rgba(10,10,10,0.06) !important;
}

/* =========================================================
   3) WPISY (news-card) — ZERO AKCENTÓW
   Zostaw tylko szare tło + białą ramkę
========================================================= */
html body .news-card,
html body .news-card__hover,
html body .news-card:hover,
html body article.news-card {
  border-left: 1px solid var(--line) !important;
  border-right: 1px solid var(--line) !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}
html body .news-card::before,
html body .news-card::after,
html body .news-card:hover::before,
html body .news-card:hover::after {
  display: none !important;
  content: none !important;
}
html body .news-card:hover {
  border-color: rgba(10, 10, 10, 0.2) !important;
  transform: translateY(-2px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* =========================================================
   4) MATCH CARDS — zachowaj akcenty (wygrana/przegrana/remis)
   to są podsumowania meczów - user chce zachować
========================================================= */
/* Zostawiam match-card z kolorowymi akcentami nienaruszone */

/* =========================================================
   5) NOWOCZESNY PULSE (obok "Rytm pierwszego zespołu")
   Usuń kreskę bazową, zostaw tylko fale/propagację
========================================================= */
html body .results-marquee__pulse {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-width: 110px !important;
  height: 22px !important;
  overflow: hidden !important;
  gap: 4px !important;
}

/* USUŃ starą kreskę bazową */
html body .results-marquee__pulse i:first-child {
  display: none !important;
}

/* ZASTĄP starą animację EKG - nowoczesny podwójny sygnał (dots + wave) */
html body .results-marquee__pulse i:last-child {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: inline-block !important;
  width: 100% !important;
  height: 22px !important;
  background: none !important;
  background-color: transparent !important;
  clip-path: none !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}
html body .results-marquee__pulse i:last-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 11 L20 11 L24 11 L28 3 L32 19 L36 6 L40 16 L44 11 L60 11 L66 11 L70 4 L74 18 L78 8 L82 14 L86 11 L120 11' stroke='%231db814' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 120px 22px;
  animation: pulse-wave 2.8s linear infinite;
  filter: drop-shadow(0 0 4px rgba(29, 184, 20, 0.6));
}
@keyframes pulse-wave {
  0% { background-position: 0 center; }
  100% { background-position: 120px center; }
}

/* =========================================================
   6) PARTNERSTWO Wisły — header pill CZERWONY
========================================================= */

/* Hero-card--partner (3 kafelki pod hero) - CZERWONY */
html body .hero-stage__tiles .hero-card--partner,
html body article.hero-card--partner {
  border: 1px solid rgba(240, 36, 33, 0.25) !important;
  border-top: 4px solid #f02421 !important;
  border-left: 3px solid #f02421 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fef1f0 100%) !important;
  padding-top: 42px !important;
  position: relative !important;
  box-shadow: 0 6px 20px rgba(240, 36, 33, 0.08) !important;
}
html body article.hero-card--partner::before {
  content: "STRATEGICZNY" !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #c11917 !important;
  background: #fff !important;
  padding: 3px 10px !important;
  border: 1px solid #f02421 !important;
  z-index: 3 !important;
}
html body article.hero-card--partner .hero-card__eyebrow {
  color: #c11917 !important;
}

/* =========================================================
   7) SKLEP + SESJA KLUBOWA — galeria pod produktami, jeden blok
========================================================= */
/* Shop home band + lookbook band → wizualnie jeden kontener */
html body .section--light:has(.shop-home-band) .container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
html body .shop-home-band {
  border: 1px solid var(--line) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}
html body .shop-lookbook-band {
  border: 1px solid var(--line) !important;
  border-top: 0 !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}
/* Oba kontenery tło białe */
html body .shop-home-band,
html body .shop-lookbook-band {
  background: #fff !important;
}

/* =========================================================
   8) STARE SEPARATORY w sekcjach (section--light, tinted)
========================================================= */
html body section.section--light,
html body section.section--tinted {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* =========================================================
   9) SITE HEADER KREATORY (tylko pasek klubowy u góry)
========================================================= */
html body .site-ribbon {
  border-bottom: 0 !important;
}

/* =========================================================
   10) TERMINARZ na /statystyki — match-mini cards
========================================================= */
html body .match-stack {
  display: grid !important;
  gap: 10px !important;
  margin: 4px 0 14px !important;
}
html body .match-mini {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-left: 3px solid var(--green, #1db814) !important;
  padding: 14px 16px !important;
  border-radius: 0 !important;
  display: grid !important;
  gap: 4px !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}
html body .match-mini:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(29, 184, 20, 0.3) !important;
  border-left-color: #168e11 !important;
}
html body .match-mini strong {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #0a0a0a !important;
  letter-spacing: -0.015em !important;
  margin: 0 !important;
  text-transform: none !important;
}
html body .match-mini span {
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #168e11 !important;
  margin: 2px 0 0 0 !important;
}
html body .match-mini small {
  display: block !important;
  font-size: 12px !important;
  color: #6a6f6c !important;
  line-height: 1.4 !important;
  margin-top: 4px !important;
  font-weight: 500 !important;
}

/* Link "Pełny terminarz i wyniki" pod match-stack */
html body .panel .match-stack + .text-link,
html body .panel .match-stack ~ .text-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 12px !important;
  padding: 8px 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #168e11 !important;
  letter-spacing: -0.005em !important;
}
html body .panel .text-link:hover {
  color: #0d6a09 !important;
}

/* =========================================================
   11) LEADER LIST (strzelcy / kartki) — bez zaokrągleń
========================================================= */
html body .leader-list li {
  background: #fafaf9 !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 10px 14px !important;
  gap: 12px !important;
}
html body .leader-list li span {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}
html body .leader-list li strong {
  min-width: 36px !important;
  height: 32px !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

/* =========================================================
   12) TEAM FORM STRIP (Ostatnie mecze Słomniczanki)
========================================================= */
html body .team-form-strip {
  background: #fafaf9 !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
}
html body .team-form-strip span {
  font-size: 10.5px !important;
  letter-spacing: 0.22em !important;
  font-weight: 800 !important;
}

/* =========================================================
   13) STATS SUMMARY (4 karty u góry) — czysto
========================================================= */
html body .stats-summary {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 12px !important;
  margin: 20px 0 !important;
}
html body .stats-summary > article {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-left: 3px solid var(--green, #1db814) !important;
  border-radius: 0 !important;
  padding: 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  box-shadow: none !important;
}
html body .stats-summary > article span:first-child {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #168e11 !important;
}
html body .stats-summary > article strong {
  font-size: clamp(24px, 2.8vw, 32px) !important;
  font-weight: 900 !important;
  color: #0a0a0a !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  margin: 4px 0 !important;
}
html body .stats-summary > article small {
  font-size: 12px !important;
  color: #6a6f6c !important;
  line-height: 1.4 !important;
}

/* =========================================================
   14) LEAGUE MOBILE CARDS — ładne, czytelne
========================================================= */
/* Ukryj mobile cards na desktopie, pokaż tabelę */
@media (min-width: 721px) {
  html body .league-table-mobile {
    display: none !important;
  }
  html body .league-table-wrap {
    display: block !important;
  }
}
/* Na mobilce pokaż karty, ukryj tabelę */
@media (max-width: 720px) {
  html body .league-table-wrap {
    display: none !important;
  }
  html body .league-table-mobile {
    display: grid !important;
    gap: 8px !important;
  }
}

/* Karta drużyny (mobile) */
html body .league-mobile-card {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-left: 3px solid rgba(10, 10, 10, 0.18) !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
  display: grid !important;
  gap: 10px !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}
html body .league-mobile-card:hover {
  transform: translateX(2px) !important;
  border-left-color: #1db814 !important;
}

/* Słomniczanka wyróżniona — zielony akcent */
html body .league-mobile-card.is-highlighted {
  background: #eef8ec !important;
  border-color: rgba(29, 184, 20, 0.3) !important;
  border-left: 4px solid #1db814 !important;
}

/* Top — pozycja + nazwa vs punkty */
html body .league-mobile-card__top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 10px !important;
}
html body .league-mobile-card__top strong {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  color: #0a0a0a !important;
  margin: 0 !important;
}
html body .league-mobile-card__top span {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: #168e11 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
html body .league-mobile-card.is-highlighted .league-mobile-card__top span {
  color: #0d6a09 !important;
}

/* Stats - M / W / R / P / Bramki jako poziomy pasek */
html body .league-mobile-card__stats {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--line) !important;
}
html body .league-mobile-card__stats small {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  color: #6a6f6c !important;
  font-weight: 600 !important;
  border-right: 1px solid var(--line) !important;
  letter-spacing: -0.005em !important;
  line-height: 1.4 !important;
}
html body .league-mobile-card__stats small:first-child {
  padding-left: 0 !important;
}
html body .league-mobile-card__stats small:last-child {
  border-right: 0 !important;
  padding-right: 0 !important;
}
/* Liczby w statach pogrubione */
html body .league-mobile-card__stats small {
  color: #0a0a0a !important;
}
html body .league-mobile-card__stats small::first-letter {
  font-weight: 800 !important;
}
/* =========================================================
   COMPREHENSIVE SQUARE — wszystkie klasy Codex z rounded
========================================================= */
html body .academy-card,
html body .article-form-item,
html body .article-hero__image,
html body .article-inline-image,
html body .article-inline-image img,
html body .article-lookbook-card,
html body .article-lookbook-card__badge,
html body .article-next-card,
html body .article-summary-card,
html body .article-video,
html body .badge-list span,
html body .brand img,
html body .brief-list__item,
html body .button,
html body .chip-list span,
html body .club-curiosity-spotlight__pill,
html body .club-history-table tbody tr,
html body .club-history-table-wrap,
html body .club-story-carousel__arrow,
html body .club-story-carousel__dot,
html body .cms-button,
html body .cms-card,
html body .cms-data-card,
html body .cms-header,
html body .cms-metric-card,
html body .cms-mini-card,
html body .cms-ranking-item,
html body .cms-schedule-item,
html body .cms-sidebar,
html body .cms-sidebar__logos img,
html body .cms-sidebar__nav button,
html body .coach-card,
html body .coaches-overview__card,
html body .coaches-special__item,
html body .competition-tier,
html body .cookie-banner__preference,
html body .cookie-banner__surface,
html body .countdown-inline,
html body .fact-list article,
html body .footer-brand__top img,
html body .half-score-strip article,
html body .header-cta,
html body .header-social,
html body .headline-feature,
html body .headline-mini,
html body .hero-card,
html body .hero-home__badge,
html body .hero-home__badge img,
html body .hero-home__copy,
html body .hero-home__media,
html body .hero-partner__logos img,
html body .hero-stat-line div,
html body .home-slide__facts article,
html body .home-slider__arrow,
html body .home-slider__dot,
html body .leader-list li,
html body .leader-list li strong,
html body .league-table-wrap,
html body .legal-hero__meta-item,
html body .legal-note,
html body .lightbox__figure,
html body .lineup-lightbox img,
html body .lineup-player,
html body .main-nav__dropdown,
html body .main-nav__dropdown a,
html body .main-nav__link,
html body .main-nav__link--external,
html body .match-card,
html body .match-card__meta div,
html body .match-card__team img,
html body .match-card__teams--fixture .match-card__team img,
html body .match-detail-hero,
html body .match-detail-hero__meta article,
html body .match-form-badge,
html body .match-form-list__item,
html body .match-mini,
html body .match-scoreboard__team img,
html body .match-stats-cards__row,
html body .match-stats-details div,
html body .match-stats-header__meta span,
html body .match-stats-homeaway div,
html body .match-stats-lineup__player,
html body .match-stats-lineup__player i,
html body .match-stats-possession__bar,
html body .match-stats-row,
html body .match-stats-row__bar,
html body .match-stats-row__value,
html body .match-stats-summary div,
html body .match-stats-table__home,
html body .match-stats-timeline__minute,
html body .match-stats-timeline__row,
html body .mini-leaderboard li,
html body .mini-stat,
html body .mobile-nav-toggle,
html body .mobile-nav-toggle__line,
html body .news-card,
html body .page-hero__crest,
html body .panel,
html body .panel-auth__badge,
html body .panel-auth__card,
html body .panel-auth__feature-list span,
html body .panel-auth__feature-list span:before,
html body .panel-auth__feedback,
html body .panel-auth__form input,
html body .panel-auth__form select,
html body .panel-auth__logo,
html body .panel-auth__showcase,
html body .panel-auth__tabs button,
html body .panel-shell__sidebar,
html body .panel-shell__topbar,
html body .partner-directory__actions a,
html body .partner-directory__card,
html body .partner-directory__logo,
html body .partner-feature__logos img,
html body .partner-feature__visuals img,
html body .partner-logo-card,
html body .partners-home-band,
html body .pathway-link,
html body .pathway-step,
html body .photo-card,
html body .player-avatar,
html body .player-hero__avatar,
html body .player-meta-list div,
html body .portrait-strip__item,
html body .portrait-strip__item img,
html body .profile-image-note,
html body .results-marquee__card,
html body .season-batch,
html body .season-compact-row,
html body .season-pagination__button,
html body .season-row,
html body .season-row__teams img,
html body .senior-showcase__facts article,
html body .senior-showcase__image,
html body .shop-hero__aside,
html body .shop-hero__eyebrow,
html body .shop-home-band,
html body .shop-home-product,
html body .shop-home-product img,
html body .shop-home-product span,
html body .shop-info-list article,
html body .shop-info-list span,
html body .shop-lookbook-band,
html body .shop-lookbook-band__meta,
html body .shop-lookbook-slide__content span,
html body .shop-lookbook-stage,
html body .shop-lookbook-thumb,
html body .shop-lookbook-thumb img,
html body .shop-product-card,
html body .shop-product-card__content span,
html body .shop-product-card__image,
html body .shop-product-description-panel,
html body .shop-product-hero,
html body .shop-product-inline-meta article,
html body .shop-product-inline-meta--flat article,
html body .shop-product-media__main,
html body .shop-product-media__thumb,
html body .shop-product-option,
html body .shop-product-option__values span,
html body .shop-product-purchase,
html body .shop-product-side-block,
html body .shop-size-table td,
html body .shop-tag,
html body .sidebar-card,
html body .squad-card,
html body .squad-search input,
html body .stadium-facts-grid article,
html body .stadium-hero__image,
html body .stadium-infra-item,
html body .stadium-milestone,
html body .stadium-spotlight,
html body .stadium-spotlight__facts article,
html body .stadium-stat-grid article,
html body .stadium-teaser__gallery img,
html body .stats-summary article,
html body .story-card,
html body .tag-row span,
html body .team-coach__inner,
html body .team-form-strip,
html body .team-group-photo,
html body .team-other-card,
html body .timeline-event,
html body .youth-table-page__fixture-item,
html body .youth-table-page__meta>div,
html body --- {
  border-radius: 0 !important;
}

/* =========================================================
   15) MATCH CARDS, SEASON BATCHES - widoczne + kwadratowe
========================================================= */
html body .match-card,
html body .match-card--fixture,
html body .match-card--played {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 16px !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-left: 3px solid rgba(10, 10, 10, 0.18) !important;
  border-radius: 0 !important;
  margin: 0 0 10px 0 !important;
  box-shadow: none !important;
  visibility: visible !important;
}
html body .match-card--win,
html body .match-card[class*="--W"] {
  border-left-color: #1db814 !important;
}
html body .match-card--loss,
html body .match-card[class*="--P"] {
  border-left-color: #f02421 !important;
}
html body .match-card--draw,
html body .match-card[class*="--R"] {
  border-left-color: #c79f40 !important;
}

html body .season-batch,
html body .season-batch__list,
html body .season-row,
html body .season-compact-row,
html body .match-card-grid,
html body .match-stack,
html body .match-center,
html body .match-center__column,
html body .match-form-list,
html body .team-fixtures-grid {
  display: grid !important;
  visibility: visible !important;
}
html body .season-batch {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  margin-bottom: 12px !important;
}
html body .season-batch__header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 0 10px 0 !important;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   16) MOBILE RESPONSIVE (audit uzupełniający)
============================================ */

/* Tablet / small desktop (≤960px) */
@media (max-width: 960px) {
  html body .hero-stage__tiles {
    grid-template-columns: 1fr !important;
    margin-top: -24px !important;
    gap: 14px !important;
  }
  html body .home-club-band {
    grid-template-columns: 1fr !important;
  }
  html body .home-club-band > article {
    min-height: auto !important;
  }
  html body .shop-home-band,
  html body .shop-lookbook-band {
    grid-template-columns: 1fr !important;
  }
  html body .senior-showcase {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile (≤680px) */
@media (max-width: 680px) {
  /* Typography scale down */
  html body h1,
  html body .article-hero h1,
  html body .panel-page__hero h1,
  html body .page-hero h1,
  html body .home-slide__copy h2,
  html body .home-slide__copy h1 {
    font-size: clamp(28px, 8vw, 44px) !important;
    letter-spacing: -0.02em !important;
  }
  html body h2,
  html body .section-heading h2,
  html body .hero-card h2,
  html body .shop-home-band__copy h2,
  html body .shop-lookbook-band__copy h2 {
    font-size: clamp(20px, 6vw, 28px) !important;
  }
  html body h3 {
    font-size: 16px !important;
  }

  /* Container padding */
  html body .container,
  html body .container.home-club-band {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Section padding tighter */
  html body section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  /* Squad grid 2 cols on mobile */
  html body .squad-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* News list single column */
  html body .news-list,
  html body .news-list--home,
  html body .team-other-grid,
  html body .coach-grid,
  html body .coaches-overview__grid,
  html body .pathway-links,
  html body .pathway-steps,
  html body .cms-card-grid,
  html body .stats-data-grid,
  html body .article-summary-grid,
  html body .article-next-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Stats summary 2 cols on mobile */
  html body .stats-summary {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  html body .stats-summary > article {
    padding: 14px !important;
  }
  html body .stats-summary > article strong {
    font-size: 22px !important;
  }

  /* Stadium facts grid 2 cols */
  html body .stadium-spotlight__facts,
  html body .senior-showcase__facts {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Partners grid - 3 cols mobile */
  html body .partners-home-band__track,
  html body .partners-home-band__group {
    gap: 32px !important;
  }
  html body .partner-logo-card--marquee {
    min-width: 120px !important;
    width: 120px !important;
    min-height: 64px !important;
    height: 64px !important;
  }
  html body .partner-logo-card--marquee img {
    max-height: 56px !important;
    max-width: 120px !important;
  }

  /* Header — compact */
  html body .site-ribbon__inner {
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    padding: 8px 0 !important;
  }
  html body .shell {
    padding: 10px 0 8px !important;
    gap: 8px !important;
  }
  html body .brand img {
    width: 44px !important;
    height: 44px !important;
  }
  html body .brand strong {
    font-size: 15px !important;
  }
  html body .brand > span:last-child,
  html body .brand small {
    font-size: 11px !important;
  }

  /* Header pill — pokazuje tylko LOGO + krótki tekst "WISŁA" */
  
  
  

  /* Social icons smaller */
  html body .header-social {
    width: 34px !important;
    height: 34px !important;
  }

  /* Navigation scroll */
  html body .main-nav {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  html body .main-nav::-webkit-scrollbar {
    display: none;
  }
  html body .main-nav__link {
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
  }

  /* Hero slider mobile */
  html body .home-slider {
    min-height: 420px !important;
  }
  html body .home-slide__content {
    padding: 24px 16px !important;
  }
  html body .home-slide__copy {
    max-width: 100% !important;
  }
  html body .home-slide__copy .lead,
  html body .home-slide__copy p {
    font-size: 14px !important;
  }
  html body .home-slider__controls {
    right: 12px !important;
    bottom: 12px !important;
  }
  html body .home-slider__arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }

  /* Hero stage tiles mobile */
  html body .hero-stage__tiles > .hero-card,
  html body .hero-stage__tiles > article {
    min-height: auto !important;
    padding: 18px !important;
  }

  /* Countdown mobile */
  html body .countdown-inline {
    gap: 6px !important;
  }
  html body .countdown-inline > div {
    min-width: 48px !important;
    padding: 8px 4px !important;
  }
  html body .countdown-inline > div > strong {
    font-size: 20px !important;
  }
  html body .countdown-inline > i {
    font-size: 16px !important;
  }

  /* Results marquee card smaller */
  html body .results-marquee__card {
    min-width: 15rem !important;
    flex-basis: 15rem !important;
    padding: 12px 16px !important;
  }
  html body .results-marquee-band {
    padding: 18px 20px !important;
  }
  html body .results-marquee__heading h2 {
    font-size: 18px !important;
  }

  /* Match cards full width */
  html body .match-card,
  html body .match-mini {
    padding: 12px 14px !important;
  }
  html body .match-card__score,
  html body .match-card__fixture-divider {
    font-size: 18px !important;
    min-width: 48px !important;
  }

  /* Table → horizontal scroll */
  html body .league-table-wrap,
  html body .club-history-table-wrap,
  html body .stats-table-panel {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  html body .league-table {
    min-width: 640px !important;
  }

  /* Footer mobile stacked */
  html body .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  html body .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Cookie banner */
  html body .cookie-banner__surface {
    padding: 16px !important;
  }
  html body .cookie-banner__actions {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100%;
  }
  html body .cookie-banner__actions .button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Shop product grid 2 cols */
  html body .shop-home-band__grid,
  html body .shop-grid,
  html body .shop-related {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* Very small phones (≤380px) */
@media (max-width: 380px) {
  html body .stats-summary,
  html body .squad-grid {
    grid-template-columns: 1fr !important;
  }
  html body .stadium-spotlight__facts,
  html body .senior-showcase__facts {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   MOBILE FIX PACK — 2026-04-20 15:30
   Slider darker, Partner pill compact, Hamburger readable, Stats tidy
============================================================ */

/* 1) SLIDER — mocne przyciemnienie dla czytelności napisów */
html body .home-slide__overlay,
html body .home-slider .home-slide__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.82) 100%) !important;
}

/* 2) PARTNER PILL — logo Wisły + krótki tekst "AP WK", kompaktowy */

/* 3) HAMBURGER MENU — większe litery, mniejsze odstępy */
@media (max-width: 820px) {
  html body .main-nav.is-open {
    gap: 4px !important;
    padding: 10px 0 4px !important;
  }
  html body .main-nav.is-open .main-nav__link,
  html body .main-nav.is-open .main-nav__link--external,
  html body .main-nav.is-open .main-nav__link--table {
    font-size: 15px !important;
    padding: 11px 14px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    border-radius: 0 !important;
  }
  html body .main-nav.is-open .main-nav__item {
    margin: 0 !important;
  }
  html body .main-nav.is-open .main-nav__dropdown {
    padding: 0 0 0 12px !important;
  }
  html body .main-nav.is-open .main-nav__dropdown a {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
}

/* 4) STATYSTYKI — zwarty, czytelny układ na mobile */
@media (max-width: 720px) {
  html body .stats-layout {
    gap: 16px !important;
  }
  html body .stats-data-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  html body .stats-summary {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  html body .stats-summary > article {
    padding: 12px !important;
    gap: 4px !important;
  }
  html body .stats-summary > article span:first-child {
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
  }
  html body .stats-summary > article strong {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }
  html body .stats-summary > article small {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  /* header "Tabela / Forma" — stack */
  html body .stats-table-panel__header,
  html body .league-table-wrap__header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  html body .league-table-wrap .team-form-strip,
  html body .stats-table-panel .team-form-strip {
    justify-content: flex-start !important;
  }
}

/* ============================================================
   MOBILE HEADER FIX — 2026-04-20 16:45
   Pill = tylko małe logo; brand visible on left
============================================================ */

/* wyzeruj wszystkie poprzednie ::after hacki (gdziekolwiek by były) */

/* Desktop: logo + "AP WK" */

/* ≤820px: już kompaktowy — tylko logo w kwadracie, bez żadnego tekstu */
@media (max-width: 820px) {
  
  

  /* Brand — niech się zmieści i będzie klikalne */
  html body .brand {
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  html body .brand img {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    display: block !important;
  }
  html body .brand strong {
    font-size: 14px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  html body .brand > span:last-child,
  html body .brand small {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Header actions — tight */
  html body .header-actions {
    gap: 6px !important;
    flex: 0 0 auto !important;
  }
  html body .header-social,
  html body .mobile-nav-toggle {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex: 0 0 38px !important;
  }

  /* Shell row */
  html body .shell,
  html body .shell__top {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
}

/* ============================================================
   HEADER PILL — JEDEN, CZYSTY blok (logo Wisły obok FB)
   Napisane od zera 2026-04-20
============================================================ */

/* Bazowa ikona — kwadrat z logo, identyczna wysokość jak FB */
html body .header-actions .header-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 5px !important;
  background: #c11917 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(193, 25, 23, 0.25) !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  flex: 0 0 44px !important;
  overflow: hidden !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
}
html body .header-actions .header-pill:hover {
  background: #f02421 !important;
  transform: translateY(-1px) !important;
}
html body .header-actions .header-pill img {
  width: 100% !important;
  height: 100% !important;
  padding: 3px !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 6px !important;
  display: block !important;
}
html body .header-actions .header-pill::after,
html body .header-actions .header-pill::before {
  content: none !important;
  display: none !important;
}

/* Mobile — troszkę mniejszy żeby pasował do pozostałych przycisków */
@media (max-width: 820px) {
  html body .header-actions .header-pill {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 10px !important;
    padding: 3px !important;
  }
  html body .header-actions .header-pill img {
    border-radius: 4px !important;
    padding: 2px !important;
  }
}

/* ============================================================
   PRODUKTY — TYLKO MOBILE (≤680px): 2×2, równe wysokości, krótkie tytuły
============================================================ */
@media (max-width: 680px) {
  /* Grid — 4 produkty w układzie 2×2 */
  html body .shop-home-band__grid,
  html body .shop-grid,
  html body .shop-product-grid,
  html body .shop-featured-grid,
  html body .shop-related {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Karta (strona główna) — zwarty padding */
  html body .shop-home-product {
    padding: 10px !important;
    gap: 6px !important;
    border-radius: 0 !important;
  }
  html body .shop-home-product img {
    padding: 8px !important;
    border-radius: 0 !important;
  }
  /* Etykieta kategorii — mniejsza */
  html body .shop-home-product span {
    font-size: 9px !important;
    padding: 2px 6px !important;
    letter-spacing: 0.06em !important;
  }
  /* Tytuł produktu — 2 linie max, ellipsis, mniejszy font */
  html body .shop-home-product strong {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    margin: 4px 0 2px !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: calc(12.5px * 1.25 * 2) !important; /* rezerwa na 2 linie */
  }
  /* Cena */
  html body .shop-home-product small {
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  /* Karta (strona /sklep) — to samo */
  html body .shop-product-card {
    padding: 10px !important;
    gap: 6px !important;
    border-radius: 0 !important;
  }
  html body .shop-product-card__image {
    padding: 8px !important;
    border-radius: 0 !important;
  }
  html body .shop-product-card__content {
    gap: 4px !important;
  }
  html body .shop-product-card__content span {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  html body .shop-product-card__content h3 {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: calc(12.5px * 1.25 * 2) !important;
  }
  html body .shop-product-card__content p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  html body .shop-product-card__meta {
    font-size: 12px !important;
    gap: 4px !important;
  }
}

/* Bardzo małe telefony — zachowaj 2 kolumny (nie 1) dla parzystej siatki */
@media (max-width: 380px) {
  html body .shop-home-band__grid,
  html body .shop-grid,
  html body .shop-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  html body .shop-home-product strong,
  html body .shop-product-card__content h3 {
    font-size: 11.5px !important;
  }
}
