/* auto-artykuly-v3: dodatki szablonu v3 do public/css/auto-article-v2.css (ładowany razem z nim tylko na stronach v3 i w podglądzie panelu).
   Selektory .aa3 / .aa2 .aa3-*; kolory SC: #0a1018, #111a24, #1a2230, #3a4558, złoty #f5a623. Mobile first: najpierw 390 px, od 768 px desktop.
   Baner promo, boisko TOTW, kafelek karty (typ, pozycje alternatywne, PlayStyles+, skille, AcceleRATE, wzrost), przyciski produktów, cena w CTA. */

/* baner promo: pasek na całą szerokość ekranu (2:1, ~195 px przy 390 px), krawędzie przechodzą w #0a1018 */
.aa3 .aa3-banner { --aa3-akcent: #f5a623; position: relative; overflow: hidden; background: #0a1018; aspect-ratio: 2 / 1;
  width: 100vw; margin: -16px calc(50% - 50vw) -8px; }
.aa3 .aa3-banner picture { display: block; width: 100%; height: 100%; }
.aa3 .aa3-banner-img { display: block; width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.aa3 .aa3-banner::before, .aa3 .aa3-banner::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; z-index: 1; pointer-events: none; }
.aa3 .aa3-banner::before { top: 0; background: linear-gradient(#0a1018, rgba(10, 16, 24, 0)); }
.aa3 .aa3-banner::after { bottom: 0; background: linear-gradient(rgba(10, 16, 24, 0), #0a1018); }
.aa3 .aa3-banner-fb { background:
    radial-gradient(120% 90% at 85% 15%, var(--aa3-akcent) 0%, rgba(10, 16, 24, 0) 60%),
    radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--aa3-akcent) 45%, transparent) 0%, rgba(10, 16, 24, 0) 65%),
    linear-gradient(135deg, #111a24 0%, #0a1018 70%);
  display: flex; align-items: flex-end; }
.aa3 .aa3-banner-txt { position: relative; z-index: 2; display: block; padding: 0 20px 14%; font-family: Barlow, sans-serif; font-weight: 800;
  font-size: 40px; line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; color: #fff; opacity: 0.92;
  overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(10, 16, 24, 0.55); }

/* kafelek karty: typ (Hero / Ikona), pozycje alternatywne, PlayStyles+, fakty */
.aa3 .aa3-card-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.aa3 .aa3-typ { display: inline-block; font-family: Barlow, sans-serif; font-weight: 800; font-size: 11px; line-height: 1.2; letter-spacing: 0.08em;
  text-transform: uppercase; background: #f5a623; color: #0a1018; border-radius: 999px; padding: 3px 9px; vertical-align: middle; }
.aa3 .aa3-typ-s { font-size: 10px; padding: 2px 7px; }
.aa3 .aa3-alt { font-size: 12px; line-height: 1.3; color: #d5dae1; border: 1px solid #3a4558; border-radius: 999px; padding: 2px 9px; }
.aa3 .aa3-stats .aa2-stat-row { gap: 6px; min-width: 0; }
.aa3 .aa3-stats .aa2-stat-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0.02em; }
.aa3 .aa3-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aa3 .aa3-chip { font-family: Barlow, sans-serif; font-weight: 700; font-size: 13px; line-height: 1.2; color: #f5a623; background: #1a2230;
  border: 1px solid #3a4558; border-radius: 8px; padding: 5px 9px; }
.aa3 .aa3-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.aa3 .aa3-fact { background: #111a24; border: 1px solid #1a2230; border-radius: 10px; padding: 8px 10px; min-width: 0; }
.aa3 .aa3-fact dt { font-family: Barlow, sans-serif; font-weight: 600; font-size: 11px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: #a7b0bd; margin: 0; }
.aa3 .aa3-fact dd { font-family: Barlow, sans-serif; font-weight: 800; font-size: 16px; line-height: 1.25; color: #fff; margin: 2px 0 0; overflow-wrap: anywhere; }
.aa3 .aa3-more-cena { font-size: 13px; line-height: 1.4; color: #5b6472; margin-top: 4px; }

/* przyciski "Kup tę kartę" / "Kup SBC" */
.aa3 .aa3-kup { display: flex; flex-wrap: wrap; gap: 8px; }
.aa3 .aa3-kup .aa3-kup-btn { flex: 1 1 140px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px;
  background: #f5a623; color: #0a1018; font-family: Barlow, sans-serif; font-weight: 800; font-size: 15px; line-height: 1.2;
  border-radius: 12px; padding: 10px 14px; text-decoration: none; text-align: center; }
.aa3 .aa3-kup .aa3-kup-btn:hover, .aa3 .aa3-kup .aa3-kup-btn:focus { background: #ffb840; color: #0a1018; text-decoration: none; }
.aa3 .aa3-kup-p { display: block; font-weight: 600; font-size: 12px; opacity: 0.8; }
.aa3 .aa3-kup-jasne { margin-top: 8px; }
.aa3 .aa3-kup-jasne .aa3-kup-btn { flex: 0 1 auto; min-height: 40px; font-size: 14px; background: #0a1018; color: #f5a623; }
.aa3 .aa3-kup-jasne .aa3-kup-btn:hover, .aa3 .aa3-kup-jasne .aa3-kup-btn:focus { background: #1a2230; color: #f5a623; }

/* CTA: cena karty pod nagłówkiem */
.aa3 .aa3-cta-cena { font-family: Barlow, sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; color: #8a6500; }

/* boisko TOTW */
.aa3 .aa3-xi { display: flex; flex-direction: column; gap: 14px; }
.aa3 .aa3-pitch { position: relative; border-radius: 18px; overflow: hidden; padding: 14px 6px;
  background: repeating-linear-gradient(180deg, #123524 0, #123524 44px, #0f2e1f 44px, #0f2e1f 88px); border: 1px solid #1a2230; }
.aa3 .aa3-pitch-lines { position: absolute; inset: 8px; border: 2px solid rgba(255, 255, 255, 0.14); border-radius: 10px; pointer-events: none; }
.aa3 .aa3-pl-half { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid rgba(255, 255, 255, 0.14); }
.aa3 .aa3-pl-circle { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border: 2px solid rgba(255, 255, 255, 0.14); border-radius: 50%; }
.aa3 .aa3-pl-box { position: absolute; left: 25%; right: 25%; height: 11%; border: 2px solid rgba(255, 255, 255, 0.14); }
.aa3 .aa3-pl-box-t { top: -2px; border-top: 0; }
.aa3 .aa3-pl-box-b { bottom: -2px; border-bottom: 0; }
.aa3 .aa3-rows { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.aa3 .aa3-row { list-style: none; margin: 0; padding: 0; }
.aa3 .aa3-row-in { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-evenly; gap: 4px; }
.aa3 .aa3-slot { list-style: none; margin: 0; padding: 0; flex: 0 1 25%; min-width: 0; max-width: 96px; display: flex; justify-content: center; }
.aa3 .aa3-pitch .aa3-mark { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; min-width: 0; text-decoration: none; color: #fff; }
.aa3 .aa3-pitch a.aa3-mark:hover .aa3-mark-ovr, .aa3 .aa3-pitch a.aa3-mark:focus .aa3-mark-ovr { box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.45); }
.aa3 .aa3-mark-ovr { width: 48px; height: 52px; border-radius: 10px; background: #f5a623; color: #0a1018; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-family: Barlow, sans-serif; font-weight: 800; line-height: 1; box-shadow: 0 4px 12px rgba(10, 16, 24, 0.45); }
.aa3 .aa3-mark-n { font-size: 22px; }
.aa3 .aa3-mark-p { font-size: 11px; margin-top: 2px; }
.aa3 .aa3-mark-name { display: block; max-width: 100%; background: #0a1018; border: 1px solid #3a4558; border-radius: 6px; padding: 2px 5px;
  font-family: Barlow, sans-serif; font-weight: 700; font-size: 12px; line-height: 1.2; text-align: center; color: #fff;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.aa3 .aa3-bench { background: #0a1018; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.aa3 .aa3-bench-h { margin: 0; font-family: Barlow, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #a7b0bd; }
.aa3 .aa3-bench-list { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.aa3 .aa3-bench-list > li { list-style: none; margin: 0; padding: 0; flex: 0 0 auto; scroll-snap-align: start; }
.aa3 .aa3-bench .aa3-bench-it { display: flex; align-items: center; gap: 6px; min-height: 44px; background: #111a24; border: 1px solid #1a2230; border-radius: 12px;
  padding: 6px 12px 6px 6px; color: #fff; text-decoration: none; white-space: nowrap; }
.aa3 .aa3-bench a.aa3-bench-it:hover, .aa3 .aa3-bench a.aa3-bench-it:focus { border-color: #f5a623; color: #fff; text-decoration: none; }
.aa3 .aa3-bench .aa2-mini-ovr { background: #f5a623; color: #0a1018; margin: 0; }
.aa3 .aa3-bench-p { font-family: Barlow, sans-serif; font-weight: 700; font-size: 12px; color: #a7b0bd; }
.aa3 .aa3-bench-n { font-family: Barlow, sans-serif; font-weight: 700; font-size: 15px; }

/* przewijanie do kotwicy karty pod menu sklepu */
.aa3 [id^="karta-"] { scroll-margin-top: 90px; }

/* desktop */
@media (min-width: 768px) {
  .aa3 .aa3-banner { width: auto; margin: 0; border-radius: 20px; aspect-ratio: 37 / 10; }
  .aa3 .aa3-banner-img { aspect-ratio: auto; }
  .aa3 .aa3-banner-txt { font-size: 64px; padding: 0 40px 4%; }
  .aa3 .aa3-pitch { padding: 28px 24px; max-width: 760px; width: 100%; margin: 0 auto; }
  .aa3 .aa3-rows { gap: 22px; }
  .aa3 .aa3-slot { max-width: 130px; }
  .aa3 .aa3-mark-ovr { width: 60px; height: 64px; border-radius: 12px; }
  .aa3 .aa3-mark-n { font-size: 28px; }
  .aa3 .aa3-mark-p { font-size: 13px; }
  .aa3 .aa3-mark-name { font-size: 14px; padding: 3px 8px; }
  .aa3 .aa3-bench { max-width: 760px; width: 100%; margin: 0 auto; }
  .aa3 .aa3-bench-list { flex-wrap: wrap; overflow: visible; }
}
