/* ============================================================
   Strimi.pl — Premium Sports Design System
   Warm Amber/Orange accent · Deep dark backgrounds · Glassmorphism
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

/* --- Cascade Layers --- */
@layer reset, base, theme, components, utilities;

/* ============================================================
   LAYER: Reset
   ============================================================ */
@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    scroll-behavior: smooth;
  }

  body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
  }

  input, button, textarea, select {
    font: inherit;
    color: inherit;
  }

  button {
    cursor: pointer;
    border: none;
    background: none;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  ul, ol {
    list-style: none;
  }

  h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  p {
    overflow-wrap: break-word;
    text-wrap: pretty;
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
}

/* ============================================================
   LAYER: Base
   ============================================================ */
@layer base {
  :root {
    color-scheme: dark;

    /* — Palette — */
    --color-bg: #0a0a0f;
    --color-surface: #12121a;
    --color-surface-hover: #1a1a26;
    --color-surface-alt: #161622;
    --color-surface-glass: rgba(18, 18, 26, 0.65);
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(245, 158, 11, 0.3);
    --color-border-active: rgba(245, 158, 11, 0.5);

    --color-primary: #f59e0b;
    --color-primary-light: #fbbf24;
    --color-primary-dark: #d97706;
    --color-primary-glow: rgba(245, 158, 11, 0.15);
    --color-primary-glow-strong: rgba(245, 158, 11, 0.25);

    --color-secondary: #ef4444;
    --color-secondary-glow: rgba(239, 68, 68, 0.2);
    --color-success: #22c55e;
    --color-info: #3b82f6;
    --color-warning: #eab308;

    --color-text: #e2e8f0;
    --color-text-secondary: #94a3b8;
    --color-muted: #64748b;

    /* — Typography — */
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
    --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --fs-base: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
    --fs-lg: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    --fs-xl: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    --fs-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-3xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --fs-4xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --fs-5xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);

    /* — Spacing — */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* — Border Radius — */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-full: 9999px;

    /* — Shadows — */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px var(--color-primary-glow);
    --shadow-glow-strong: 0 0 40px var(--color-primary-glow-strong);

    /* — Transitions — */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;

    /* — Layout — */
    --header-height: 4rem;
    --sidebar-width: 360px;
    --container-max: 1280px;
    --container-padding: clamp(1rem, 2vw, 2rem);
  }

  body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100dvh;
    overflow-x: hidden;
  }

  :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
  }

  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  h3 { font-size: var(--fs-2xl); }
  h4 { font-size: var(--fs-xl); }
  h5 { font-size: var(--fs-lg); }

  a {
    transition: color var(--duration-fast) var(--ease-out);

    &:hover {
      color: var(--color-primary);
    }
  }

  ::selection {
    background: var(--color-primary);
    color: var(--color-bg);
  }

  /* Custom scrollbar */
  :root {
    scrollbar-color: var(--color-surface-hover) transparent;
    scrollbar-width: thin;
  }

  /* Focus ring */
  :focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
  }
}

/* ============================================================
   LAYER: Theme (gradients, patterns, glass)
   ============================================================ */
@layer theme {
  .glass {
    background: var(--color-surface-glass);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid var(--color-border);
  }

  .glass-subtle {
    background: rgba(18, 18, 26, 0.45);
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    border: 1px solid var(--color-border);
  }

  .gradient-primary {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
  }

  .gradient-bg {
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  }

  .gradient-hero {
    background:
      radial-gradient(ellipse 80% 50% at 50% -20%, var(--color-primary-glow) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 80% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
      linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  }

  .gradient-text {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .glow-primary {
    box-shadow: var(--shadow-glow);
  }

  .glow-primary-strong {
    box-shadow: var(--shadow-glow-strong);
  }
}

/* ============================================================
   LAYER: Components
   ============================================================ */
@layer components {

  /* ---------- Container ---------- */
  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
  }

  /* ---------- Header ---------- */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--duration-normal) var(--ease-out);

    .header__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .header__logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      flex-shrink: 0;

      .logo-wordmark {
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 1.3rem;
        color: var(--color-text);
        letter-spacing: -0.03em;
        transition: opacity var(--duration-fast);
      }

      .logo-wordmark__accent {
        color: var(--color-primary);
      }

      .logo-wordmark__tld {
        color: var(--color-muted);
        font-weight: 600;
      }

      &:hover .logo-wordmark {
        opacity: 0.85;
      }
    }

    .header__nav {
      display: none;

      @media (min-width: 768px) {
        display: flex;
        align-items: center;
        gap: 2px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-full);
        padding: 3px;
      }
    }

    .header__nav-link {
      position: relative;
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      padding: 7px 18px;
      font-size: var(--fs-sm);
      font-weight: 500;
      color: var(--color-text-secondary);
      border-radius: var(--radius-full);
      transition: all var(--duration-fast) var(--ease-out);

      .nav-link__label {
        position: relative;
        z-index: 1;
      }

      &:hover {
        color: var(--color-text);
      }

      &.is-active {
        color: var(--color-bg);
        background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
        font-weight: 600;
        box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
      }
    }

    .header__actions {
      display: flex;
      align-items: center;
      gap: var(--space-md);
    }

    .header__date {
      display: none;
      
      @media (min-width: 640px) {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 5px 14px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: var(--radius-full);
        font-size: var(--fs-xs);
        font-weight: 500;
        color: var(--color-text-secondary);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
      }
    }

    .header__hamburger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      padding: var(--space-sm);
      cursor: pointer;
      border: none;
      background: none;

      @media (min-width: 768px) {
        display: none;
      }

      span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--color-text);
        border-radius: var(--radius-full);
        transition: all var(--duration-normal) var(--ease-out);
        transform-origin: center;
      }

      &.is-active {
        span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
      }
    }
  }

  /* ---------- Mobile Menu ---------- */
  .mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    z-index: 999;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform var(--duration-slow) var(--ease-out),
      opacity var(--duration-normal) var(--ease-out),
      visibility 0s linear var(--duration-slow);
    overflow-y: auto;
    overscroll-behavior: contain;

    /* Slide-in z prawej strony */
    &.is-open {
      transform: translateX(0);
      opacity: 1;
      visibility: visible;
      transition:
        transform var(--duration-slow) var(--ease-out),
        opacity var(--duration-normal) var(--ease-out),
        visibility 0s linear 0s;
    }

    .mobile-menu__inner {
      display: flex;
      flex-direction: column;
      gap: var(--space-xs);
      padding: var(--space-xl) var(--space-lg);
      max-width: 400px;
    }

    /* Staggered animation for links */
    &.is-open .mobile-menu__link {
      animation: menuLinkSlide var(--duration-slow) var(--ease-out) both;
    }
    &.is-open .mobile-menu__link:nth-child(1) { animation-delay: 60ms; }
    &.is-open .mobile-menu__link:nth-child(2) { animation-delay: 120ms; }
    &.is-open .mobile-menu__link:nth-child(3) { animation-delay: 180ms; }
    &.is-open .mobile-menu__link:nth-child(4) { animation-delay: 240ms; }
    &.is-open .mobile-menu__link:nth-child(5) { animation-delay: 300ms; }

    .mobile-menu__link {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-md) var(--space-lg);
      font-size: var(--fs-lg);
      font-weight: 500;
      color: var(--color-text-secondary);
      border-radius: var(--radius-lg);
      border-left: 3px solid transparent;
      transition: all var(--duration-normal) var(--ease-out);
      opacity: 0;
      transform: translateX(20px);

      svg {
        flex-shrink: 0;
        opacity: 0.5;
        transition: all var(--duration-fast) var(--ease-out);
      }

      &:hover,
      &.is-active {
        color: var(--color-primary);
        background: rgba(245, 158, 11, 0.06);
        border-left-color: var(--color-primary);
        padding-left: calc(var(--space-lg) + 4px);

        svg {
          opacity: 1;
          color: var(--color-primary);
        }
      }
    }

    .mobile-menu__divider {
      height: 1px;
      background: var(--color-border);
      margin: var(--space-md) var(--space-lg);
    }

    .mobile-menu__live-info {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: var(--space-sm) var(--space-lg);
      font-size: var(--fs-xs);
      color: var(--color-muted);
      font-family: var(--font-mono);
    }
  }

  @keyframes menuLinkSlide {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @media (min-width: 768px) {
    .mobile-menu {
      display: none;
    }
  }

  .theme-light .mobile-menu {
    background: rgba(246, 248, 251, 0.97);
    border-top: 1px solid var(--color-border);
    box-shadow: -18px 0 42px rgba(15, 23, 42, 0.12);
  }

  .theme-light .mobile-menu__inner {
    max-width: 430px;
  }

  .theme-light .mobile-menu__link {
    color: var(--color-text);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }

  .theme-light .mobile-menu__link:hover,
  .theme-light .mobile-menu__link.is-active {
    color: #111827;
    background: #fff7ed;
    border-color: rgba(245, 158, 11, 0.34);
    border-left-color: var(--color-primary);
  }

  .theme-light .mobile-menu__link svg {
    opacity: 0.72;
    color: var(--color-primary-dark);
  }

  /* ---------- Hero Section ---------- */
  .hero-section {
    padding: var(--space-2xl) 0 var(--space-xl);
    background:
      radial-gradient(ellipse 80% 50% at 50% -20%, var(--color-primary-glow) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 80% 10%, rgba(245, 158, 11, 0.06) 0%, transparent 60%),
      linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);

    .hero__title {
      font-size: var(--fs-4xl);
      font-weight: 800;
      margin-bottom: var(--space-sm);

      .hero__title-highlight {
        background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }

    .hero__subtitle {
      color: var(--color-text-secondary);
      font-size: var(--fs-lg);
      max-width: 600px;
      margin-bottom: var(--space-xl);
    }

    .hero__stats {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-md);
    }

    .hero__stat {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      background: var(--color-surface-glass);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-full);
      font-size: var(--fs-sm);
      color: var(--color-text-secondary);

      .stat-value {
        font-weight: 700;
        color: var(--color-primary);
        font-variant-numeric: tabular-nums;
      }

      .stat-dot {
        width: 6px;
        height: 6px;
        background: var(--color-success);
        border-radius: 50%;
        animation: pulse-dot 2s ease-in-out infinite;
      }
    }
  }

  /* ---------- Filter Section ---------- */
  .filter-section {
    margin-bottom: var(--space-lg);
  }

  .filter-bar--mobile {
    display: flex;
    gap: var(--space-sm);

    @media (min-width: 768px) {
      display: none;
    }
  }

  .filter-bar--desktop {
    display: none;
    
    @media (min-width: 768px) {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-md);
    }

    .filter-bar__dates {
      flex: 1;
      min-width: 0;
    }

    .filter-bar__sport {
      flex-shrink: 0;

      .filter-select {
        min-width: 180px;
      }
    }
  }

  .filter-bar--single {
    justify-content: flex-end;
  }

  .filter-bar--single .filter-bar__sport,
  .filter-bar--single .filter-select-wrap {
    width: min(100%, 280px);
  }

  .filter-select-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
  }

  .filter-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 36px 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--duration-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    &:focus {
      outline: none;
      border-color: var(--color-primary);
      box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
    }

    option {
      background: var(--color-surface);
      color: var(--color-text);
      padding: 8px;
    }
  }

  .filter-select-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
  }

  /* ---------- Custom Dropdown ---------- */
  .custom-dropdown {
    position: relative;
  }

  .custom-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--duration-fast);

    &:hover {
      border-color: var(--color-border-hover);
      background: rgba(255, 255, 255, 0.05);
    }

    &[aria-expanded="true"] {
      border-color: var(--color-primary);
      box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);

      .custom-dropdown__chevron {
        transform: rotate(180deg);
      }
    }
  }

  .custom-dropdown__value {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .custom-dropdown__emoji {
    font-size: 1rem;
    line-height: 1;
  }

  .custom-dropdown__chevron {
    color: var(--color-muted);
    transition: transform var(--duration-fast) var(--ease-out);
    flex-shrink: 0;
  }

  .custom-dropdown__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    padding: 4px;
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--duration-fast) var(--ease-out);

    .custom-dropdown[aria-expanded="true"] &,
    .custom-dropdown.is-open & {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  }

  .custom-dropdown__option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    cursor: pointer;
    text-align: left;
    transition: all var(--duration-fast);

    &:hover {
      background: rgba(255, 255, 255, 0.05);
      color: var(--color-text);
    }

    &.is-active {
      color: var(--color-primary);
      font-weight: 600;
    }
  }

  .custom-dropdown__opt-emoji {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
  }

  .custom-dropdown__opt-text {
    flex: 1;
  }

  .custom-dropdown__opt-count {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    font-family: var(--font-mono);
    min-width: 16px;
    text-align: right;
  }

  .custom-dropdown__check {
    flex-shrink: 0;
    margin-left: 4px;
  }

  /* ---------- Date Picker ---------- */
  .date-picker {
    padding: var(--space-sm) 0 var(--space-md);

    .date-picker__scroll {
      display: flex;
      gap: var(--space-xs);
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;

      &::-webkit-scrollbar { display: none; }
    }

    .date-picker__btn {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 7px 16px;
      background: transparent;
      border: 1px solid var(--color-border);
      border-radius: var(--radius-full);
      color: var(--color-text-secondary);
      font-size: var(--fs-sm);
      font-weight: 500;
      cursor: pointer;
      transition: all var(--duration-fast) var(--ease-out);
      white-space: nowrap;

      .dp-label {
        font-weight: 600;
        color: var(--color-text);
      }

      .dp-date {
        font-size: var(--fs-xs);
        color: var(--color-muted);
        font-family: var(--font-mono);
      }

      &:hover {
        border-color: var(--color-border-hover);
        background: rgba(255, 255, 255, 0.02);
      }

      &.is-active {
        background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
        border-color: var(--color-primary);
        box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);

        .dp-label,
        .dp-date {
          color: var(--color-bg);
        }
      }
    }
  }

  /* ---------- Sport Filter ---------- */
  .sport-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md) 0;

    .sport-filter__chip {
      display: inline-flex;
      align-items: center;
      gap: var(--space-xs);
      padding: var(--space-sm) var(--space-md);
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-full);
      font-size: var(--fs-sm);
      font-weight: 500;
      color: var(--color-text-secondary);
      cursor: pointer;
      transition: all var(--duration-normal) var(--ease-out);
      white-space: nowrap;

      .chip-emoji {
        font-size: var(--fs-base);
      }

      .chip-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.25rem;
        height: 1.25rem;
        padding: 0 var(--space-xs);
        background: var(--color-surface-hover);
        border-radius: var(--radius-full);
        font-size: var(--fs-xs);
        font-variant-numeric: tabular-nums;
      }

      &:hover {
        background: var(--color-surface-hover);
        border-color: var(--color-border-hover);
        color: var(--color-text);
      }

      &.is-active {
        background: var(--color-primary-glow);
        border-color: var(--color-primary);
        color: var(--color-primary);

        .chip-count {
          background: var(--color-primary);
          color: var(--color-bg);
        }
      }
    }
  }

  /* ---------- Section Header ---------- */
  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-top: var(--space-xl);

    .section-header__title {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-size: var(--fs-2xl);
      font-weight: 700;

      .section-icon {
        font-size: var(--fs-xl);
      }
    }

    .section-header__link {
      display: inline-flex;
      align-items: center;
      gap: var(--space-xs);
      font-size: var(--fs-sm);
      font-weight: 500;
      color: var(--color-primary);
      transition: gap var(--duration-normal) var(--ease-out);

      &:hover {
        gap: var(--space-sm);
      }
    }
  }

  /* ---------- League Group ---------- */
  .league-group {
    margin-bottom: var(--space-xl);

    .league-group__header {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      margin-bottom: var(--space-md);
      background: var(--color-surface);
      border-radius: var(--radius-md);
      border-left: 3px solid var(--color-primary);
      font-size: var(--fs-sm);
      font-weight: 600;
      color: var(--color-text-secondary);

      .league-flag {
        font-size: var(--fs-base);
      }

      .league-name {
        color: var(--color-text);
      }
    }
  }

  /* ---------- Match Card ---------- */
  .match-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

    @media (min-width: 640px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 1024px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .match-card {
    display: block;
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration-normal) var(--ease-out);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--color-primary-glow) 0%, transparent 50%);
      opacity: 0;
      transition: opacity var(--duration-normal) var(--ease-out);
      pointer-events: none;
    }

    &:hover {
      border-color: var(--color-border-hover);
      transform: translateY(-3px);
      box-shadow: var(--shadow-glow);

      &::before {
        opacity: 1;
      }
    }

    .match-card__league {
      display: inline-flex;
      align-items: center;
      gap: var(--space-xs);
      padding: 2px var(--space-sm);
      background: var(--color-surface-hover);
      border-radius: var(--radius-full);
      font-size: var(--fs-xs);
      color: var(--color-text-secondary);
      margin-bottom: var(--space-md);
    }

    .match-card__teams {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-md);
      margin-bottom: var(--space-md);
    }

    .match-card__team {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-sm);
      flex: 1;
      min-width: 0;
      text-align: center;

      .team-logo {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-md);
        object-fit: contain;
        background: var(--color-surface-hover);
        padding: 4px;
      }

      .team-logo-fallback {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: var(--radius-md);
        background: var(--color-surface-hover);
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: var(--fs-sm);
        color: var(--color-text-secondary);
      }

      .team-name {
        font-size: var(--fs-sm);
        font-weight: 600;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
      }
    }

    .match-card__center {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-xs);
      flex-shrink: 0;
      padding: 0 var(--space-xs);
    }

    .match-card__time {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: var(--fs-2xl);
      color: var(--color-text);
      font-variant-numeric: tabular-nums;
    }

    .match-card__score {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: var(--fs-3xl);
      color: var(--color-primary);
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.05em;
    }

    .match-card__date-small {
      font-size: var(--fs-xs);
      color: var(--color-muted);
      font-variant-numeric: tabular-nums;
    }

    .match-card__status {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-xs);
      margin-top: var(--space-sm);
      font-size: var(--fs-xs);
      color: var(--color-muted);
    }

    &.match-card--live {
      border-color: rgba(239, 68, 68, 0.3);

      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
        animation: live-bar 2s ease-in-out infinite;
      }

      .match-card__score {
        color: var(--color-text);
      }
    }
  }

  /* ---------- Badges ---------- */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 2px var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .badge--live {
    background: var(--color-secondary);
    color: #fff;
    animation: pulse-live 2s ease-in-out infinite;

    .live-dot {
      width: 6px;
      height: 6px;
      background: #fff;
      border-radius: 50%;
      animation: pulse-dot 1.5s ease-in-out infinite;
    }
  }

  .badge--sport {
    background: var(--color-surface-hover);
    color: var(--color-text-secondary);
  }

  .badge--league {
    background: var(--color-primary-glow);
    color: var(--color-primary);
    border: 1px solid rgba(245, 158, 11, 0.2);
  }

  .badge--finished {
    background: var(--color-surface-hover);
    color: var(--color-muted);
  }

  .badge--upcoming {
    background: var(--color-primary-glow);
    color: var(--color-primary);
  }

  /* ---------- News Card ---------- */
  .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);

    @media (min-width: 640px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 1024px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .news-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    color: var(--color-text);

    &:hover {
      border-color: var(--color-border-hover);
      transform: translateY(-3px);
      box-shadow: var(--shadow-glow);

      .news-card__img img {
        transform: scale(1.05);
      }

      .news-card__title {
        color: var(--color-primary);
      }
    }

    .news-card__img {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: var(--color-surface-hover);

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--duration-slow) var(--ease-out);
      }

      .news-card__date-badge {
        position: absolute;
        bottom: var(--space-sm);
        left: var(--space-sm);
        padding: 2px var(--space-sm);
        background: rgba(10, 10, 15, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: var(--radius-sm);
        font-size: var(--fs-xs);
        color: var(--color-text-secondary);
        font-variant-numeric: tabular-nums;
      }
    }

    .news-card__body {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
      padding: var(--space-md) var(--space-lg);
      flex: 1;
    }

    .news-card__title {
      font-family: var(--font-heading);
      font-size: var(--fs-lg);
      font-weight: 700;
      line-height: 1.3;
      transition: color var(--duration-normal) var(--ease-out);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .news-card__excerpt {
      font-size: var(--fs-sm);
      color: var(--color-text-secondary);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  /* ---------- Tabs ---------- */
  .tabs {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-xl);

    &::-webkit-scrollbar { display: none; }

    .tab-btn {
      flex-shrink: 0;
      padding: var(--space-sm) var(--space-md);
      font-size: var(--fs-sm);
      font-weight: 600;
      color: var(--color-text-secondary);
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      cursor: pointer;
      transition: all var(--duration-normal) var(--ease-out);
      white-space: nowrap;

      &:hover {
        color: var(--color-text);
        background: var(--color-surface-hover);
        border-radius: var(--radius-md) var(--radius-md) 0 0;
      }

      &.is-active {
        color: var(--color-primary);
        border-bottom-color: var(--color-primary);
      }
    }
  }

  .tab-content {
    display: none;

    &.is-active {
      display: block;
      animation: fadeIn var(--duration-normal) var(--ease-out);
    }
  }

  /* ---------- Match Detail Hero ---------- */
  .match-hero {
    padding: var(--space-lg) 0 var(--space-xl);
    text-align: center;
    background:
      radial-gradient(ellipse 80% 60% at 50% 20%, var(--color-primary-glow) 0%, transparent 70%),
      linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);

    .match-hero__league {
      display: inline-flex;
      align-items: center;
      gap: var(--space-sm);
      margin-bottom: var(--space-lg);
    }

    .match-hero__teams {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-xl);
      margin-bottom: var(--space-lg);

      @media (min-width: 768px) {
        gap: var(--space-3xl);
      }
    }

    .match-hero__team {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-md);

      .team-logo-lg {
        width: 72px;
        height: 72px;
        border-radius: var(--radius-lg);
        object-fit: contain;
        background: var(--color-surface);
        padding: 8px;
        border: 1px solid var(--color-border);

        @media (min-width: 768px) {
          width: 96px;
          height: 96px;
        }
      }

      .team-logo-lg-fallback {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        border-radius: var(--radius-lg);
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: var(--fs-xl);
        color: var(--color-text-secondary);

        @media (min-width: 768px) {
          width: 96px;
          height: 96px;
          font-size: var(--fs-2xl);
        }
      }

      .team-name-lg {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: var(--fs-lg);

        @media (min-width: 768px) {
          font-size: var(--fs-xl);
        }
      }
    }

    .match-hero__center {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-sm);
    }

    .match-hero__score {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: var(--fs-5xl);
      color: var(--color-text);
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.05em;
      line-height: 1;
    }

    .match-hero__time {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: var(--fs-3xl);
      color: var(--color-primary);
      font-variant-numeric: tabular-nums;
    }

    .match-hero__info {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--space-md);
      color: var(--color-text-secondary);
      font-size: var(--fs-sm);
      margin-top: var(--space-md);

      .info-item {
        display: flex;
        align-items: center;
        gap: var(--space-xs);
      }
    }
  }

  /* ---------- Match Detail Layout ---------- */
  .match-layout {
    display: grid;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;

    @media (min-width: 1024px) {
      grid-template-columns: 1fr var(--sidebar-width);
    }
  }

  .match-main {
    min-width: 0;
  }

  /* ---------- Stats Grid ---------- */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);

    @media (min-width: 640px) {
      grid-template-columns: repeat(3, 1fr);
    }

    .stat-box {
      padding: var(--space-lg);
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      text-align: center;

      .stat-box__label {
        font-size: var(--fs-xs);
        color: var(--color-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: var(--space-sm);
      }

      .stat-box__value {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: var(--fs-2xl);
        color: var(--color-text);
        font-variant-numeric: tabular-nums;
      }
    }
  }

  /* Form Indicators (W/D/L) */
  .form-indicators {
    display: flex;
    gap: 4px;

    .form-dot {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      border-radius: var(--radius-sm);
      font-size: var(--fs-xs);
      font-weight: 700;
      color: #fff;

      &.form-dot--w { background: var(--color-success); }
      &.form-dot--d { background: var(--color-muted); }
      &.form-dot--l { background: var(--color-secondary); }
    }
  }

  /* Prediction Bar */
  .prediction-bar {
    height: 8px;
    border-radius: var(--radius-full);
    overflow: hidden;
    display: flex;
    background: var(--color-surface-hover);
    margin: var(--space-md) 0;

    .prediction-bar__segment {
      height: 100%;
      transition: width var(--duration-slow) var(--ease-out);

      &.prediction-bar__segment--home { background: var(--color-primary); }
      &.prediction-bar__segment--draw { background: var(--color-muted); }
      &.prediction-bar__segment--away { background: var(--color-info); }
    }
  }

  .prediction-labels {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
  }

  /* ---------- H2H Table ---------- */
  .h2h-table {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);

    th, td {
      padding: var(--space-sm) var(--space-md);
      text-align: left;
      font-size: var(--fs-sm);
    }

    thead {
      background: var(--color-surface);

      th {
        font-weight: 600;
        color: var(--color-text-secondary);
        text-transform: uppercase;
        font-size: var(--fs-xs);
        letter-spacing: 0.05em;
      }
    }

    tbody tr {
      border-top: 1px solid var(--color-border);
      transition: background var(--duration-fast);

      &:hover {
        background: var(--color-surface-hover);
      }
    }

    .h2h-score {
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      color: var(--color-primary);
    }

    .h2h-date {
      color: var(--color-muted);
      font-variant-numeric: tabular-nums;
    }
  }

  /* ---------- Lineup ---------- */
  .lineup-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);

    @media (min-width: 640px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  .lineup-list {
    .lineup-list__header {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-md);
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
      font-weight: 700;
    }

    .lineup-list__player {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-sm) var(--space-md);
      border: 1px solid var(--color-border);
      border-top: none;
      font-size: var(--fs-sm);
      transition: background var(--duration-fast);

      &:last-child {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      }

      &:hover {
        background: var(--color-surface-hover);
      }

      .player-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: var(--radius-sm);
        background: var(--color-surface-hover);
        font-weight: 700;
        font-size: var(--fs-xs);
        font-variant-numeric: tabular-nums;
        color: var(--color-primary);
        flex-shrink: 0;
      }

      .player-name {
        flex: 1;
      }

      .player-position {
        font-size: var(--fs-xs);
        color: var(--color-muted);
      }
    }
  }

  /* ---------- Broadcast / Bookmaker Cards ---------- */
  .broadcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
  }

  .broadcast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);

    &:hover {
      border-color: var(--color-border-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-glow);
    }

    .broadcast-card__logo {
      width: 64px;
      height: 40px;
      object-fit: contain;
    }

    .broadcast-card__name {
      font-weight: 600;
      font-size: var(--fs-sm);
    }
  }

  .bookmaker-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    color: var(--color-text);

    &:hover {
      border-color: var(--color-primary);
      transform: translateY(-2px);
      box-shadow: var(--shadow-glow);
      background: var(--color-surface-hover);
    }

    .bookmaker-card__logo {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: var(--radius-md);
      flex-shrink: 0;
    }

    .bookmaker-card__info {
      flex: 1;
      min-width: 0;

      .bookmaker-name {
        font-weight: 600;
        font-size: var(--fs-base);
      }

      .bookmaker-desc {
        font-size: var(--fs-xs);
        color: var(--color-muted);
      }
    }

    .bookmaker-card__cta {
      flex-shrink: 0;
      padding: var(--space-sm) var(--space-md);
      background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
      border-radius: var(--radius-md);
      font-size: var(--fs-sm);
      font-weight: 600;
      color: var(--color-bg);
      white-space: nowrap;
    }
  }

  /* ---------- Sidebar ---------- */
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);

    .sidebar__section {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .sidebar__section-title {
      padding: var(--space-md) var(--space-lg);
      font-size: var(--fs-sm);
      font-weight: 700;
      color: var(--color-text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-bottom: 1px solid var(--color-border);
    }

    .sidebar__match-item {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-md) var(--space-lg);
      border-bottom: 1px solid var(--color-border);
      transition: background var(--duration-fast);
      text-decoration: none;
      color: var(--color-text);
      font-size: var(--fs-sm);

      &:last-child { border-bottom: none; }
      &:hover { background: var(--color-surface-hover); }

      .sidebar-match-teams {
        flex: 1;
        min-width: 0;
        line-height: 1.5;

        .sidebar-team {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }

      .sidebar-match-time {
        flex-shrink: 0;
        font-weight: 600;
        color: var(--color-primary);
        font-variant-numeric: tabular-nums;
      }
    }

    .sidebar__odds {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-sm);
      padding: var(--space-md) var(--space-lg);

      .odds-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: var(--space-sm);
        background: var(--color-surface-hover);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: all var(--duration-normal) var(--ease-out);

        .odds-label {
          font-size: var(--fs-xs);
          color: var(--color-muted);
        }

        .odds-value {
          font-weight: 700;
          font-variant-numeric: tabular-nums;
          color: var(--color-primary);
        }

        &:hover {
          border-color: var(--color-primary);
          background: var(--color-primary-glow);
        }
      }
    }
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid transparent;
    white-space: nowrap;
    text-decoration: none;
  }

  .btn--primary {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-bg);
    box-shadow: 0 2px 8px var(--color-primary-glow);

    &:hover {
      background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
      box-shadow: var(--shadow-glow-strong);
      transform: translateY(-1px);
      color: var(--color-bg);
    }
  }

  .btn--secondary {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text);

    &:hover {
      background: var(--color-surface-hover);
      border-color: var(--color-border-hover);
      color: var(--color-primary);
    }
  }

  .btn--outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);

    &:hover {
      background: var(--color-primary-glow);
      box-shadow: var(--shadow-glow);
    }
  }

  .btn--sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-xs);
    border-radius: var(--radius-sm);
  }

  .btn--lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-base);
  }

  /* ---------- Breadcrumb ---------- */
  .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;            /* zawsze jedna linia */
    gap: var(--space-xs);
    padding: var(--space-md) 0;
    font-size: var(--fs-sm);
    color: var(--color-muted);
    overflow: hidden;

    .breadcrumb__sep {
      color: var(--color-muted);
      opacity: 0.5;
      flex-shrink: 0;
    }

    .breadcrumb__link {
      color: var(--color-text-secondary);
      transition: color var(--duration-fast);
      white-space: nowrap;
      flex-shrink: 0;

      &:hover { color: var(--color-primary); }
    }

    /* Ostatni element (np. długi tytuł) kurczy się i ucina wielokropkiem. */
    .breadcrumb__current {
      color: var(--color-text);
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      min-width: 0;
    }
  }

  /* ---------- Pagination ---------- */
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xl) 0;

    .pagination__btn {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 var(--space-sm);
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      font-size: var(--fs-sm);
      font-weight: 500;
      color: var(--color-text-secondary);
      cursor: pointer;
      transition: all var(--duration-normal) var(--ease-out);
      font-variant-numeric: tabular-nums;

      &:hover {
        background: var(--color-surface-hover);
        border-color: var(--color-border-hover);
        color: var(--color-text);
      }

      &.is-active {
        background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
        border-color: var(--color-primary);
        color: var(--color-bg);
        font-weight: 700;
        box-shadow: var(--shadow-glow);
      }

      &:disabled {
        opacity: 0.3;
        cursor: not-allowed;
      }
    }
  }

  /* ---------- Alert ---------- */
  .alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid;
    font-size: var(--fs-sm);

    .alert__icon {
      flex-shrink: 0;
      font-size: var(--fs-lg);
    }
  }

  .alert--info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
  }

  .alert--warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--color-primary-light);
  }

  .alert--danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
  }

  /* ---------- Skeleton ---------- */
  .skeleton {
    background: linear-gradient(90deg,
      var(--color-surface) 25%,
      var(--color-surface-hover) 37%,
      var(--color-surface) 63%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
  }

  .skeleton--text {
    height: 1em;
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
  }

  .skeleton--card {
    height: 180px;
    border-radius: var(--radius-lg);
  }

  .skeleton--avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
  }

  /* ---------- Footer ---------- */
  .footer {
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) 0 var(--space-lg);
    background: rgba(10, 10, 15, 0.6);
    border-top: 1px solid var(--color-border);

    .footer__top {
      display: flex;
      flex-direction: column;
      gap: var(--space-2xl);
      margin-bottom: var(--space-xl);

      @media (min-width: 640px) {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
      }
    }

    .footer__brand {
      .footer__logo-link {
        display: inline-block;
        text-decoration: none;
        margin-bottom: var(--space-sm);
      }

      .footer__wordmark {
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--color-text);
        letter-spacing: -0.03em;
      }

      .footer__wordmark-accent {
        color: var(--color-primary);
      }

      .footer__wordmark-tld {
        color: var(--color-muted);
        font-weight: 600;
      }

      .footer__desc {
        color: var(--color-muted);
        font-size: var(--fs-xs);
        line-height: 1.6;
        max-width: 280px;
      }
    }

    .footer__nav-grid {
      display: flex;
      gap: var(--space-2xl);
    }

    .footer__col-title {
      font-family: var(--font-heading);
      font-size: 11px;
      font-weight: 600;
      color: var(--color-text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: var(--space-sm);
    }

    .footer__links {
      display: flex;
      flex-direction: column;
      gap: 6px;

      a {
        font-size: var(--fs-xs);
        color: var(--color-muted);
        transition: color var(--duration-fast);

        &:hover {
          color: var(--color-primary);
        }
      }
    }

    .footer__disclaimer {
      display: flex;
      align-items: flex-start;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: var(--radius-md);
      font-size: 11px;
      color: var(--color-muted);
      line-height: 1.5;
      margin-bottom: var(--space-md);

      p {
        margin: 0;
      }
    }

    .footer__bottom {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: var(--space-sm);
      font-size: 11px;
      color: var(--color-muted);
      opacity: 0.6;

      .footer__bottom-sep {
        opacity: 0.3;
      }
    }
  }

  /* ---------- FAQ / Accordion ---------- */
  .faq-section {
    padding: var(--space-2xl) 0;
  }

  .accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);

    .accordion__item {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color var(--duration-normal);

      &:has(.accordion__content.is-open) {
        border-color: var(--color-border-hover);
      }
    }

    .accordion__trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: var(--space-md) var(--space-lg);
      font-size: var(--fs-base);
      font-weight: 600;
      color: var(--color-text);
      cursor: pointer;
      text-align: left;
      background: none;
      border: none;
      transition: color var(--duration-fast);

      &:hover {
        color: var(--color-primary);
      }

      .accordion__icon {
        flex-shrink: 0;
        font-size: var(--fs-lg);
        transition: transform var(--duration-normal) var(--ease-out);
        color: var(--color-primary);
      }

      &[aria-expanded="true"] .accordion__icon {
        transform: rotate(45deg);
      }
    }

    .accordion__content {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows var(--duration-slow) var(--ease-out);

      &.is-open {
        grid-template-rows: 1fr;
      }

      .accordion__inner {
        overflow: hidden;
        padding-inline: var(--space-lg);

        p {
          padding-bottom: var(--space-md);
          color: var(--color-text-secondary);
          font-size: var(--fs-sm);
          line-height: 1.7;
        }
      }
    }
  }

  /* ---------- SEO Content Section ---------- */
  .seo-content {
    padding-bottom: var(--space-3xl);

    .seo-heading {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-family: var(--font-heading);
      font-size: var(--fs-xl);
      font-weight: 700;
      color: var(--color-text);
      margin-bottom: var(--space-lg);
      letter-spacing: -0.01em;
    }

    .seo-text {
      color: var(--color-text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.8;
      margin-bottom: var(--space-md);
      max-width: 85ch;

      strong {
        color: var(--color-text);
        font-weight: 600;
      }
    }

    .seo-intro {
      margin-bottom: var(--space-2xl);
    }

    .seo-block {
      margin-bottom: var(--space-2xl);
      padding-top: var(--space-xl);
      border-top: 1px solid var(--color-border);
    }

    .seo-block--highlight {
      background: rgba(245, 158, 11, 0.02);
      border: 1px solid rgba(245, 158, 11, 0.08);
      border-radius: var(--radius-xl);
      padding: var(--space-xl);
      margin-left: calc(var(--space-md) * -1);
      margin-right: calc(var(--space-md) * -1);

      @media (min-width: 768px) {
        margin-left: 0;
        margin-right: 0;
      }
    }
  }

  /* Feature cards */
  .seo-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);

    @media (min-width: 640px) {
      grid-template-columns: 1fr 1fr;
    }

    .seo-feature-card {
      padding: var(--space-lg);
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      transition: border-color var(--duration-fast);

      &:hover {
        border-color: rgba(245, 158, 11, 0.15);
      }

      .seo-feature-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-md);
        background: rgba(245, 158, 11, 0.06);
        margin-bottom: var(--space-sm);
      }

      h3 {
        font-family: var(--font-heading);
        font-size: var(--fs-base);
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 4px;
      }

      p {
        font-size: var(--fs-xs);
        color: var(--color-muted);
        line-height: 1.6;
      }
    }
  }

  /* Steps */
  .seo-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    padding-left: var(--space-2xl);

    &::before {
      content: '';
      position: absolute;
      left: 15px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, var(--color-primary) 0%, rgba(245, 158, 11, 0.1) 100%);
      border-radius: 2px;
    }

    .seo-step {
      display: flex;
      gap: var(--space-md);
      align-items: flex-start;
      position: relative;

      h3 {
        font-family: var(--font-heading);
        font-size: var(--fs-base);
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 2px;
      }

      p {
        font-size: var(--fs-sm);
        color: var(--color-text-secondary);
        line-height: 1.7;
      }
    }

    .seo-step-number {
      position: absolute;
      left: calc(var(--space-2xl) * -1);
      top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
      color: var(--color-bg);
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: var(--fs-sm);
      flex-shrink: 0;
      z-index: 1;
    }
  }

  /* Sport categories grid */
  .seo-sport-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-lg);

    @media (min-width: 640px) {
      grid-template-columns: 1fr 1fr;
    }

    @media (min-width: 1024px) {
      grid-template-columns: 1fr 1fr 1fr;
    }

    .seo-sport-item {
      display: flex;
      gap: var(--space-md);
      align-items: flex-start;
      padding: var(--space-md);
      background: rgba(255, 255, 255, 0.015);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      transition: border-color var(--duration-fast);

      &:hover {
        border-color: rgba(245, 158, 11, 0.12);
      }

      h3 {
        font-size: var(--fs-sm);
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 2px;
      }

      p {
        font-size: var(--fs-xs);
        color: var(--color-muted);
        line-height: 1.5;
      }
    }

    .seo-sport-badge {
      font-size: 1.5rem;
      line-height: 1;
      flex-shrink: 0;
    }
  }

  /* Advantages list */
  .seo-advantages {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);

    .seo-advantage {
      display: flex;
      gap: var(--space-sm);
      align-items: flex-start;
      padding: var(--space-sm) 0;

      svg {
        flex-shrink: 0;
        margin-top: 3px;
      }

      div {
        font-size: var(--fs-sm);
        color: var(--color-text-secondary);
        line-height: 1.7;

        strong {
          color: var(--color-text);
        }
      }
    }
  }

  /* ---------- Article Content ---------- */
  .article-content {
    max-width: 768px;

    :is(h2, h3, h4) {
      margin-top: var(--space-xl);
      margin-bottom: var(--space-md);
    }

    p {
      margin-bottom: var(--space-md);
      color: var(--color-text-secondary);
      line-height: 1.8;
    }

    a {
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    ul, ol {
      margin-bottom: var(--space-md);
      padding-left: var(--space-lg);
    }

    ul { list-style: disc; }
    ol { list-style: decimal; }

    li {
      margin-bottom: var(--space-xs);
      color: var(--color-text-secondary);
    }

    blockquote {
      padding: var(--space-md) var(--space-lg);
      border-left: 3px solid var(--color-primary);
      background: var(--color-surface);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      margin-bottom: var(--space-md);
      font-style: italic;
      color: var(--color-text-secondary);
    }

    img {
      border-radius: var(--radius-lg);
      margin: var(--space-lg) 0;
    }
  }

  /* ---------- Match Hero Date Label ---------- */
  .match-hero__date-label {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
  }

  /* ---------- Match Facts Grid ---------- */
  .match-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: var(--space-xs);
  }

  .match-fact-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-fast);

    &:hover {
      border-color: var(--color-border-hover);
    }

    .match-fact-card__icon {
      line-height: 0;
      flex-shrink: 0;
      color: var(--color-muted);
    }
    .match-fact-card__icon .ico { width: 15px; height: 15px; }

    .match-fact-card__content {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
    }

    .match-fact-card__label {
      font-size: 10px;
      color: var(--color-muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .match-fact-card__value {
      font-size: 13px;
      font-weight: 600;
      color: var(--color-text);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  /* ---------- Stats Form Section ---------- */
  .stats-form-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }

  .stats-team-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .stats-team-form__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-border);
  }

  .stats-team-form__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-base);
  }

  .stats-recent-results {
    display: flex;
    flex-direction: column;
  }

  .stats-recent-result {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--duration-fast);

    &:last-child {
      border-bottom: none;
    }

    &:hover {
      background: var(--color-surface-hover);
    }

    .stats-recent-result__opponent {
      flex: 1;
      color: var(--color-text-secondary);
    }

    .stats-recent-result__score {
      font-weight: 600;
      font-variant-numeric: tabular-nums;
      color: var(--color-text);
    }
  }

  .form-dot--sm {
    width: 22px;
    height: 22px;
    font-size: 10px;
    flex-shrink: 0;
  }

  /* ---------- H2H Summary Grid ---------- */
  .h2h-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);

    @media (min-width: 640px) {
      grid-template-columns: repeat(5, 1fr);
    }
  }

  .h2h-summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;

    .h2h-summary-card__value {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: var(--fs-2xl);
      color: var(--color-text);
      font-variant-numeric: tabular-nums;
      line-height: 1;
    }

    .h2h-summary-card__label {
      font-size: var(--fs-xs);
      color: var(--color-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }

    &.h2h-summary-card--home .h2h-summary-card__value { color: var(--color-primary); }
    &.h2h-summary-card--draw .h2h-summary-card__value { color: var(--color-muted); }
    &.h2h-summary-card--away .h2h-summary-card__value { color: var(--color-info); }
  }

  .h2h-table-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-surface-hover) transparent;
    border-radius: var(--radius-lg);
  }

  /* ---------- Lineup Section Labels ---------- */
  .lineup-header-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .lineup-list__section-label {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-primary-glow);
    border: 1px solid var(--color-border);
    border-top: none;
  }

  .lineup-list__section-label--subs {
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.02);
    margin-top: var(--space-xs);
    border-top: 1px solid var(--color-border);
  }

  .lineup-list__player--sub {
    opacity: 0.75;
  }

  /* ---------- Bookmaker List ---------- */
  .bookmaker-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .bookmaker-card__logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary-glow), var(--color-primary-glow-strong));
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs-sm);
    color: var(--color-primary);
    flex-shrink: 0;
  }

  .bookmaker-card__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
    flex-shrink: 0;
  }

  /* ---------- Broadcast Quality Badges ---------- */
  .broadcast-quality-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
  }

  .broadcast-quality-badge--fhd {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.3);
  }

  .broadcast-quality-badge--hd {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-info);
    border: 1px solid rgba(59, 130, 246, 0.3);
  }

  .broadcast-card__icon {
    font-size: 2rem;
  }

  .broadcast-card__quality {
    margin-top: auto;
  }

  .broadcast-card__type {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* ---------- News Article Page ---------- */
  .article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-xl);
  }

  .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
  }

  /* ---------- Related Articles ---------- */
  .related-articles {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
  }

  /* ---------- Static & Info Pages (Premium Styles) ---------- */
  .static-hero {
    position: relative;
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-2xl);

    .static-hero__title {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: var(--space-sm);
    }
    .static-hero__subtitle {
      color: var(--color-text-secondary);
      font-size: var(--fs-lg);
      max-width: 60ch;
      margin: 0 auto;
    }
  }

  .about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-2xl) 0;

    @media (min-width: 768px) {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .about-stat-card {
    background: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform var(--duration-fast), border-color var(--duration-fast);

    &:hover {
      transform: translateY(-4px);
      border-color: var(--color-primary-glow-strong);
    }

    .about-stat-value {
      font-family: var(--font-heading);
      font-size: var(--fs-3xl);
      font-weight: 800;
      color: var(--color-primary);
      margin-bottom: var(--space-xs);
    }
    .about-stat-label {
      font-size: var(--fs-xs);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-muted);
    }
  }

  .about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;

    @media (min-width: 768px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .about-value-card {
    background: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(12px);

    .value-icon {
      font-size: 2rem;
      margin-bottom: var(--space-md);
      display: inline-block;
    }
    h3 {
      font-size: var(--fs-xl);
      margin-bottom: var(--space-sm);
    }
    p {
      color: var(--color-text-secondary);
      font-size: var(--fs-sm);
      line-height: 1.6;
    }
  }

  .about-prose {
    font-size: var(--fs-base);
    color: var(--color-text-secondary);
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;

    h2 {
      font-size: var(--fs-2xl);
      color: var(--color-text);
      margin-top: var(--space-2xl);
      margin-bottom: var(--space-md);
      border-left: 3px solid var(--color-primary);
      padding-left: var(--space-md);
    }

    p {
      margin-bottom: var(--space-lg);
    }

    strong {
      color: var(--color-text);
    }

    ul, ol {
      margin-bottom: var(--space-lg);
      padding-left: var(--space-xl);
    }

    li {
      margin-bottom: var(--space-sm);
      position: relative;
    }
  }

  /* Contact Page — Centered Form */
  .contact-form-wrapper {
    max-width: 640px;
    margin: var(--space-xl) auto var(--space-4xl);
  }

  .contact-form-card {
    background: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    backdrop-filter: blur(12px);

    @media (min-width: 640px) {
      padding: var(--space-3xl) var(--space-2xl);
    }

    h2 {
      font-size: var(--fs-2xl);
      margin-bottom: var(--space-xs);
    }
  }

  .contact-form-lead {
    color: var(--color-text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-xl);
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;

    @media (min-width: 640px) {
      grid-template-columns: 1fr 1fr;
      gap: var(--space-md);
    }
  }

  /* Alerts */
  .alert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: var(--space-xl);
    line-height: 1.5;
  }

  .alert svg {
    flex-shrink: 0;
  }

  .alert--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
  }

  .alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
  }

  /* Contact submit button */
  .btn--contact-submit {
    width: 100%;
    padding: 14px;
    justify-content: center;
    font-weight: 600;
    font-size: var(--fs-base);
    gap: var(--space-sm);
    margin-top: var(--space-xs);
    transition: all var(--duration-normal);

    &:hover {
      box-shadow: 0 0 24px rgba(245, 158, 11, 0.25);
    }
  }

  /* Honeypot — hidden from humans */
  .form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
  }

  .form-group {
    margin-bottom: var(--space-lg);

    label {
      display: block;
      font-size: var(--fs-xs);
      font-weight: 600;
      color: var(--color-text-secondary);
      margin-bottom: var(--space-xs);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
  }

  .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    transition: all var(--duration-fast);

    &:focus {
      outline: none;
      border-color: var(--color-primary);
      background: rgba(255, 255, 255, 0.04);
      box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
    }
  }

  textarea.form-control {
    resize: vertical;
    min-height: 120px;
  }

  /* Legal Pages Sidebar Layout */
  .legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin: var(--space-xl) 0 var(--space-4xl);

    @media (min-width: 992px) {
      grid-template-columns: var(--sidebar-width) 1fr;
    }
  }

  .legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    height: fit-content;
    display: none;

    @media (min-width: 992px) {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }
  }

  .legal-nav-link {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: all var(--duration-fast);

    &:hover,
    &.is-active {
      color: var(--color-primary);
      background: rgba(245, 158, 11, 0.05);
    }
  }

  .legal-body {
    background: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(12px);
    font-size: var(--fs-base);
    color: var(--color-text-secondary);
    line-height: 1.9;

    @media (min-width: 768px) {
      padding: var(--space-2xl);
    }

    h1 {
      font-size: var(--fs-3xl);
      color: var(--color-text);
      margin-bottom: var(--space-sm);
    }

    h2 {
      font-size: var(--fs-xl);
      color: var(--color-text);
      margin-top: var(--space-xl);
      margin-bottom: var(--space-sm);
      border-bottom: 1px solid var(--color-border);
      padding-bottom: var(--space-xs);
    }

    p {
      margin-bottom: var(--space-md);
    }

    ul, ol {
      margin-bottom: var(--space-md);
      padding-left: var(--space-xl);
    }

    li {
      margin-bottom: var(--space-xs);
    }

    a {
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
  }

  .callout-box {
    background: rgba(245, 158, 11, 0.03);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;

    svg {
      flex-shrink: 0;
      color: var(--color-primary);
    }

    p {
      margin-bottom: 0;
      line-height: 1.6;
    }
  }

  /* ---------- Error Page ---------- */
  .error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: var(--space-2xl);

    .error-page__code {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: clamp(5rem, 15vw, 10rem);
      line-height: 1;
      background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: var(--space-md);
    }

    .error-page__title {
      font-size: var(--fs-2xl);
      margin-bottom: var(--space-md);
    }

    .error-page__desc {
      color: var(--color-text-secondary);
      margin-bottom: var(--space-xl);
      max-width: 400px;
    }
  }

  /* ---------- Copy Button ---------- */
  .copy-btn {
    position: relative;

    .copy-tooltip {
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      padding: var(--space-xs) var(--space-sm);
      background: var(--color-success);
      color: #fff;
      font-size: var(--fs-xs);
      font-weight: 600;
      border-radius: var(--radius-sm);
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: all var(--duration-fast) var(--ease-out);
    }

    &.is-copied .copy-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(-4px);
    }
  }
}

/* ============================================================
   LAYER: Utilities
   ============================================================ */
@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }

  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .text-gradient {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .text-center { text-align: center; }
  .text-muted { color: var(--color-muted); }
  .text-primary { color: var(--color-primary); }
  .text-sm { font-size: var(--fs-sm); }
  .text-xs { font-size: var(--fs-xs); }

  .mt-sm { margin-top: var(--space-sm); }
  .mt-md { margin-top: var(--space-md); }
  .mt-lg { margin-top: var(--space-lg); }
  .mt-xl { margin-top: var(--space-xl); }
  .mt-2xl { margin-top: var(--space-2xl); }
  .mb-md { margin-bottom: var(--space-md); }
  .mb-lg { margin-bottom: var(--space-lg); }
  .mb-xl { margin-bottom: var(--space-xl); }

  .flex { display: flex; }
  .flex-wrap { flex-wrap: wrap; }
  .items-center { align-items: center; }
  .justify-between { justify-content: space-between; }
  .gap-sm { gap: var(--space-sm); }
  .gap-md { gap: var(--space-md); }

  .hidden { display: none; }
  .block { display: block; }

  .w-full { width: 100%; }
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; box-shadow: 0 0 12px var(--color-secondary-glow); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

@keyframes live-bar {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Timeline Layout Overrides (TasteSkill Toned Down)
   ============================================================ */
.timeline-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 1024px) {
  .timeline-layout-grid {
    grid-template-columns: 1fr 350px;
  }
}

.timeline-main-content {
  min-width: 0;
}

/* Vertical Timeline */
.timeline-wrapper {
  position: relative;
  padding-left: 20px;
}

.timeline-line {
  position: absolute;
  left: 39px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary) 0%, rgba(255, 255, 255, 0.04) 100%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-left: var(--space-2xl);
  z-index: 2;
}

/* Time badge on the left line */
.timeline-time-node {
  position: absolute;
  left: 0;
  top: 6px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.time-node-bubble {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-xs);
  color: var(--color-primary);
  background: #09090f;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  box-shadow: 0 0 12px var(--color-primary-glow);
  z-index: 5;
  transition: all var(--duration-fast);
}

.timeline-item:hover .time-node-bubble {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 18px var(--color-primary-glow);
}

.timeline-item.live .time-node-bubble {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: 0 0 12px var(--color-secondary-glow);
  animation: pulse-live 1.5s infinite;
}

/* Match Detail Cards */
.timeline-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(18, 18, 26, 0.45);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.timeline-card:hover {
  border-color: var(--color-border-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.timeline-league-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.timeline-live-status-pill {
  font-family: var(--font-heading);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeline-teams-display {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-sm) 0;
}

.timeline-team {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-base);
}

.timeline-team.home {
  justify-content: flex-end;
}

.timeline-team-name {
  color: var(--color-text);
}

.timeline-score {
  font-family: var(--font-mono);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.timeline-card:hover .timeline-score {
  border-color: rgba(245, 158, 11, 0.3);
}

/* Live Progress Bar for Streams */
.timeline-progress-container {
  margin-top: var(--space-md);
}

.timeline-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.timeline-progress-bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.timeline-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.5s ease-out;
}

.live .timeline-progress-bar-fill {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

/* Stream link list accordion */
.timeline-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-in-out);
  border-top: 1px solid transparent;
  margin-top: var(--space-md);
  padding-top: 0;
}

.timeline-card.expanded .timeline-drawer {
  max-height: 350px;
  border-top-color: var(--color-border);
  padding-top: var(--space-md);
}

.streams-grid-table {
  width: 100%;
  text-align: left;
  font-size: var(--fs-xs);
}

.streams-grid-table th {
  color: var(--color-muted);
  font-weight: 500;
  padding-bottom: var(--space-sm);
}

.streams-grid-table td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.streams-grid-table tr:last-child td {
  border: none;
}

.stream-speed-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-success);
}

/* Hover play link inside drawers */
.stream-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-primary-glow);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--duration-fast);
}

.stream-play-btn:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  box-shadow: var(--shadow-glow);
}

/* Expand helper tag */
.card-cue {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  color: var(--color-muted);
  margin-top: var(--space-sm);
  gap: 4px;
  transition: color 0.2s;
}

.card-cue svg {
  transition: transform 0.2s var(--ease-out);
}

.timeline-card:hover .card-cue {
  color: var(--color-primary);
}

.timeline-card:hover .card-cue svg {
  transform: translateX(3px);
}

/* Subtelne odliczanie do meczu w nagłówku karty */
.timeline-countdown {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.timeline-countdown.is-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-secondary);
  text-transform: uppercase;
}

.timeline-countdown .cd-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

/* Sidebar News Styling */
.timeline-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-section-card {
  background: rgba(18, 18, 26, 0.25);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sidebar-news-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  transition: opacity var(--duration-fast);
}

.sidebar-news-item:last-child {
  border: none;
  padding-bottom: 0;
}

.sidebar-news-item:hover {
  opacity: 0.8;
}

.sidebar-news-meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 10px;
  color: var(--color-muted);
  font-family: var(--font-mono);
}

.sidebar-news-title {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

.sidebar-news-excerpt {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 600px) {
  .timeline-line {
    left: 29px;
  }
  .timeline-item {
    padding-left: var(--space-xl);
  }
  .timeline-time-node {
    left: -10px;
  }
}

/* ── Bookmaker CTA (bonus + kod promocyjny + krótki link /r/) ── */
.bk-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(99, 102, 241, 0.10), transparent 60%),
    rgba(18, 18, 26, 0.55);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.bk-cta__main {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.bk-cta__logo {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.bk-cta__info { display: flex; flex-direction: column; }
.bk-cta__name { font-weight: 700; font-size: var(--fs-lg); }
.bk-cta__bonus { color: var(--color-muted); font-size: var(--fs-sm); }
.bk-cta__promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border: 1px dashed var(--color-primary);
  background: rgba(99, 102, 241, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.bk-cta__promo-label { font-size: 11px; color: var(--color-muted); }
.bk-cta__code { font-weight: 800; letter-spacing: 1.5px; color: var(--color-primary); }
.bk-cta__copied { font-size: 11px; color: var(--color-secondary); opacity: 0; transition: opacity 0.2s; }
.bk-cta__promo.copied .bk-cta__copied { opacity: 1; }
.bk-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: filter 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.bk-cta__btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.bk-cta__legal { font-size: 10px; color: var(--color-muted); margin: 4px 0 0; }

/* Etykieta REKLAMA (wymóg prawny przy reklamach bukmacherów) */
.bk-cta { position: relative; }
.bk-cta__ad-label,
.cta-banner__ad-label,
.sts-guide__ad-label {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
}

/* ── Szeroki baner CTA (strona główna) ── */
.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "content action" "legal legal";
  align-items: center;
  column-gap: var(--space-2xl);
  row-gap: var(--space-md);
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(140% 160% at 100% 0%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(16, 185, 129, 0.10), transparent 55%),
    rgba(18, 18, 26, 0.7);
  overflow: hidden;
}
.cta-banner__content {
  grid-area: content;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-width: 0;
}
.cta-banner__logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d4002a, #ff2d55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(212, 0, 42, 0.35);
}
.cta-banner__title {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 4px;
}
.cta-banner__hl { color: var(--color-secondary); }
.cta-banner__subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-sm);
  max-width: 52ch;
}
.cta-banner__action {
  grid-area: action;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.cta-banner__code { background: rgba(255, 255, 255, 0.04); }
.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-md);
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.cta-banner__btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.cta-banner__legal {
  grid-area: legal;
  margin: 0;
  font-size: 10px;
  color: var(--color-muted);
}
@media (max-width: 760px) {
  .cta-banner {
    grid-template-columns: 1fr;
    grid-template-areas: "content" "action" "legal";
    padding: var(--space-lg);
  }
  .cta-banner__action { justify-self: stretch; margin-top: var(--space-xs); }
}
@media (max-width: 520px) {
  .cta-banner__btn { flex: 1 1 100%; justify-content: center; }
}

/* ── Poradnik STS TV + facade YouTube ── */
.sts-guide {
  position: relative;
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.sts-guide__title {
  margin: 0 0 var(--space-md);
  font-size: var(--fs-md);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sts-guide__steps {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.sts-guide__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  font-size: var(--fs-sm);
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.sts-guide__num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.sts-guide__steps a {
  color: var(--color-secondary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.yt-facade__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.yt-facade:hover .yt-facade__thumb { transform: scale(1.03); opacity: 0.92; }
.yt-facade__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.yt-facade__play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); transition: transform 0.2s var(--ease-out); }
.yt-facade:hover .yt-facade__play svg { transform: scale(1.08); }
.yt-facade__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.yt-facade iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Self-hostowany system ikon (spójny outline) ── */
.ico {
  display: inline-block;
  vertical-align: -0.14em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ico--accent { color: var(--color-primary); }
.ico--muted { color: var(--color-muted); }

/* ── Strona meczu: sekcje zamiast zakładek + sticky nawigacja/sidebar ── */
.match-sections > .tab-content {
  display: block;
  margin-bottom: var(--space-lg);
  scroll-margin-top: 84px;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}
.match-sections > .tab-content:last-child { border-bottom: 0; }

.section-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  margin-bottom: var(--space-lg);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  padding: 7px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.section-nav__link:hover {
  color: var(--color-text);
  background: var(--color-surface-hover);
}

@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
    top: 12px;
    align-self: start;
  }
}

/* Homepage hero after WP SEO title migration: one centered H1, no slogan column. */
.page-home .home-hero__copy {
  display: block;
  max-width: 780px;
  text-align: center;
}

.page-home .home-hero__eyebrow {
  margin-bottom: 8px;
}

.page-home .hero__title {
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 768px) {
  .page-home .home-hero__copy {
    display: block;
  }

  .page-home .home-hero__eyebrow,
  .page-home .hero__title {
    grid-column: auto;
  }
}

/* ── Strona meczu: kompaktowe nagłówki + mniejsze hero ── */
.match-main h2,
.match-sections h2,
.section-heading {
  font-size: 1.35rem;
  line-height: 1.25;
}
.match-main h3,
.match-sections h3 { font-size: 1.05rem; }
.match-main .article-content h2 { font-size: 1.35rem; margin-bottom: var(--space-sm); }

.match-hero .team-logo-lg,
.match-hero .team-logo-lg-fallback {
  width: 76px;
  height: 76px;
  font-size: 1.6rem;
}
.match-hero__time { font-size: 2.1rem; }
.match-hero__date-label { font-size: var(--fs-sm); }

/* H1 strony meczu (SEO) — główny nagłówek nad scoreboardem */
.match-hero__title {
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 var(--space-xs);
}
.match-hero__title .match-hero__vs {
  color: var(--color-text-muted);
  font-weight: 600;
  margin: 0 0.15em;
}
.match-hero__subtitle {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-xl);
}
@media (min-width: 768px) {
  .match-hero__title { font-size: 2rem; }
}

/* ── Strona meczu: kolejnosc sekcji (transmisje zaraz po zapowiedzi) ── */
.match-sections { display: flex; flex-direction: column; }
.match-sections > #tab-preview { order: 1; }
.match-sections > #tab-where   { order: 2; }
.match-sections > #tab-stats   { order: 3; }
.match-sections > #tab-h2h     { order: 4; }
.match-sections > #tab-lineups { order: 5; }

/* ── Loga bukmacherów (self-hosted) + tag REKLAMA ── */
.bookmaker-card__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}
.bk-cta__logo--img {
  padding: 0;
  background: #fff;
  object-fit: cover;
}
.reklama-inline {
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
}

/* ── Dół strony meczu: FAQ + podobne mecze ── */
.match-bottom { margin-top: var(--space-2xl); }
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-sm);
}
.similar-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.similar-card:hover { border-color: var(--color-border-hover); transform: translateX(2px); }
.similar-card__time {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-primary);
  min-width: 42px;
}
.similar-card__teams { flex: 1; font-size: 14px; }
.similar-card__arrow { color: var(--color-muted); display: inline-flex; }

/* Karta oficjalnego nadawcy — statyczna (nie linkujemy do nie-bukmacherów) */
.bookmaker-card--static { cursor: default; }
.bookmaker-card--static:hover { transform: none; border-color: var(--color-border); }

/* ════════════════════════════════════════════════════════════
   AKTUALNOŚCI — pojedynczy artykuł (mobile-first, czytelny)
   ════════════════════════════════════════════════════════════ */
.container--narrow { max-width: 760px; }

.news-article { padding-top: var(--space-lg); }

.news-article__title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  line-height: 1.2; font-weight: 800; letter-spacing: -0.3px;
  margin: var(--space-md) 0 var(--space-sm);
}

.news-article__lead {
  font-size: clamp(1.05rem, 3.5vw, 1.2rem);
  line-height: 1.55; color: var(--color-text-secondary, #94a3b8);
  margin: 0 0 var(--space-lg);
}

.news-article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--color-muted);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}
.news-article__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-text); }
.news-article__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #b45309);
  color: #fff; font-size: 12px; font-weight: 800;
}
.news-article__sep { opacity: 0.5; }

.news-article__hero {
  margin: var(--space-lg) 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border); background: var(--color-surface);
}
.news-article__hero img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }

/* Typografia treści */
.news-article__body { font-size: 1.075rem; line-height: 1.8; color: var(--color-text); }
.news-article__body p { margin: 0 0 var(--space-md); }
.news-article__body h2 { font-size: 1.4rem; line-height: 1.25; font-weight: 700; margin: var(--space-xl) 0 var(--space-sm); }
.news-article__body h3 { font-size: 1.15rem; font-weight: 700; margin: var(--space-lg) 0 var(--space-xs); }
.news-article__body strong { color: #fff; font-weight: 700; }
.news-article__body em { color: var(--color-primary); font-style: italic; }
.news-article__body a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

.news-article__footer {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: var(--space-xl); padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Sekcja „Czytaj również” */
.related-section { margin: var(--space-2xl) 0; }
.related-section .section-header { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.section-header__link { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-weight: 600; color: var(--color-primary); white-space: nowrap; }

/* ════════════════════════════════════════════════════════════
   AKTUALNOŚCI — karty tekstowe (bez miniatur) + strona autora
   ════════════════════════════════════════════════════════════ */
.news-list { display: flex; flex-direction: column; gap: var(--space-md); padding-top: var(--space-lg); }

.news-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.news-item:hover { border-color: rgba(245, 158, 11, 0.45); transform: translateY(-2px); }
.news-item__link { display: block; padding: var(--space-lg); }
.news-item__kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 8px;
}
.news-item__dot { opacity: 0.6; }
.news-item__kicker time { color: var(--color-muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
.news-item__title {
  font-size: clamp(1.1rem, 4vw, 1.3rem); line-height: 1.3; font-weight: 700;
  margin: 0 0 6px; color: var(--color-text);
}
.news-item:hover .news-item__title { color: #fff; }
.news-item__excerpt { font-size: var(--fs-sm); line-height: 1.6; color: var(--color-text-secondary, #94a3b8); margin: 0 0 10px; }
.news-item__more { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-weight: 600; color: var(--color-primary); }

/* Strona autora */
.author-profile { padding-top: var(--space-lg); }
.author-profile__head { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); }
.author-profile__avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #b45309);
  color: #fff; font-size: 1.7rem; font-weight: 800; font-family: var(--font-display, 'Outfit', sans-serif);
}
.author-profile__name { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; line-height: 1.1; margin: 0 0 4px; }
.author-profile__role { font-size: var(--fs-sm); color: var(--color-text-secondary, #94a3b8); margin: 0; }
.author-profile__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 var(--space-lg); padding: 0; }
.author-profile__tags li {
  font-size: 12px; font-weight: 600; color: var(--color-primary);
  background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 5px 12px; border-radius: 999px;
}
.author-profile__bio { font-size: 1.05rem; line-height: 1.8; color: var(--color-text); }
.author-profile__bio p { margin: 0 0 var(--space-md); }

/* ── News: layout main + sidebar transmisji (lepsza indeksacja) ── */
.news-layout { display: grid; gap: var(--space-xl); padding: var(--space-sm) 0 var(--space-2xl); }
.news-main { min-width: 0; }
/* Treść i lead wąskie dla czytelności; tytuł (H1) na pełną szerokość kolumny. */
.news-main .article-body, .news-main .news-article__lead { max-width: 720px; }
@media (min-width: 1024px) {
  .news-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .news-sidebar { position: sticky; top: var(--space-lg); }
}

.sidebar-box {
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: var(--color-surface); padding: var(--space-lg);
}
.sidebar-box__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.05rem; font-weight: 700; margin: 0 0 var(--space-md);
}
.tx-list { display: flex; flex-direction: column; gap: 8px; }
.tx-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-bg);
  transition: border-color 0.15s, transform 0.15s;
}
.tx-card:hover { border-color: rgba(245, 158, 11, 0.45); transform: translateX(2px); }
.tx-card__time {
  flex-shrink: 0; min-width: 46px; text-align: center;
  font-size: var(--fs-sm); font-weight: 700; color: var(--color-primary);
}
.tx-card__live { font-size: 11px; font-weight: 800; color: var(--color-secondary); letter-spacing: 0.5px; }
.tx-card__main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tx-card__teams { font-size: var(--fs-sm); font-weight: 600; color: var(--color-text); line-height: 1.3; }
.tx-card__teams em { color: var(--color-muted); font-style: normal; font-weight: 400; margin: 0 2px; }
.tx-card__league { font-size: 11px; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-card .ico { color: var(--color-muted); flex-shrink: 0; }
.tx-all {
  display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-md);
  font-size: var(--fs-sm); font-weight: 600; color: var(--color-primary);
}

/* ── Wspólny komponent: najnowsze aktualności w sidebarze (bez miniatur) ── */
.nx-list { display: flex; flex-direction: column; }
.nx-item {
  display: block; padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left 0.15s;
}
.nx-item:first-child { padding-top: 0; }
.nx-item:last-child { border-bottom: 0; padding-bottom: 0; }
.nx-item:hover { padding-left: 4px; }
.nx-item__title {
  display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35;
  color: var(--color-text);
}
.nx-item:hover .nx-item__title { color: var(--color-primary); }
.nx-item__date { display: block; font-size: 11px; color: var(--color-muted); margin-top: 4px; }

/* ════════════════════════════════════════════════════════════
   DESIGN PROTOTYPES — jasne propozycje nowego layoutu
   ════════════════════════════════════════════════════════════ */
.design-body {
  margin: 0;
  min-height: 100vh;
  background: #f6f8fb;
  color: #111827;
  font-family: 'Inter', system-ui, sans-serif;
}

.design-body * {
  box-sizing: border-box;
}

.design-shell {
  --design-ink: #111827;
  --design-muted: #64748b;
  --design-line: #dbe3ec;
  --design-soft: #eef3f8;
  --design-paper: #ffffff;
  --design-live: #dc2626;
  --design-link: #0e7490;
  --design-field: #0f7a3a;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 20px;
}

.design-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--design-line);
}

.design-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--design-ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.design-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
}

.design-brand span span {
  color: #0e7490;
}

.design-brand small {
  color: var(--design-muted);
  font-size: 0.78rem;
}

.design-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.design-tabs a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--design-line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--design-paper);
  color: var(--design-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.design-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
  padding: 20px 0 10px;
}

.design-kicker,
.proposal__eyebrow {
  margin: 0 0 8px;
  color: var(--design-link);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.design-intro h1 {
  margin: 0;
  color: var(--design-ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 2.55rem;
  line-height: 1.02;
  font-weight: 800;
}

.design-intro p:last-child {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

.design-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.proposal {
  min-width: 0;
  border: 1px solid var(--design-line);
  border-radius: 8px;
  background: var(--design-paper);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.proposal__head {
  min-height: 188px;
  padding: 20px;
  border-bottom: 1px solid var(--design-line);
  background: #ffffff;
}

.proposal__head h2 {
  margin: 0 0 10px;
  color: var(--design-ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.7rem;
  line-height: 1.05;
  font-weight: 800;
}

.proposal__head p:last-child {
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.55;
}

.proposal--studio .proposal__eyebrow,
.proposal--studio .proposal__head h2 {
  color: #0e7490;
}

.proposal--control .proposal__eyebrow,
.proposal--control .proposal__head h2 {
  color: #111827;
}

.proposal--magazine .proposal__eyebrow,
.proposal--magazine .proposal__head h2 {
  color: #0f7a3a;
}

.studio-dashboard,
.control-panel,
.magazine-front {
  padding: 16px;
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #f8fafc;
}

.studio-live {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 0 9px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 900;
}

.studio-hero h3,
.control-command h3,
.magazine-lead h3,
.magazine-schedule h3,
.magazine-news h3 {
  margin: 0;
  color: var(--design-ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.14;
  font-weight: 800;
}

.studio-hero p,
.control-command p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.48;
}

.studio-metrics {
  display: grid;
  gap: 8px;
  margin: 0;
}

.studio-metrics div {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
}

.studio-metrics dt {
  color: var(--design-muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.studio-metrics dd {
  margin: 2px 0 0;
  color: var(--design-ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1;
}

.studio-filters,
.control-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.studio-filters button,
.control-filters button {
  min-height: 34px;
  border: 1px solid var(--design-line);
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.8rem;
  font-weight: 800;
}

.control-filters .is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.match-strip-list,
.tx-stack {
  display: grid;
  gap: 8px;
}

.match-strip {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  color: var(--design-ink);
}

.match-strip__time,
.control-row__time,
.magazine-schedule time {
  color: #0f172a;
  font-feature-settings: "tnum" 1;
  font-size: 0.9rem;
  font-weight: 900;
}

.match-strip__main {
  min-width: 0;
}

.match-strip__league {
  display: block;
  color: var(--design-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.match-strip strong,
.control-row__event strong,
.magazine-schedule strong {
  display: block;
  overflow: hidden;
  color: var(--design-ink);
  font-size: 0.9rem;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-strip strong,
.magazine-schedule strong {
  display: -webkit-box;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.match-strip em {
  color: var(--design-muted);
  font-style: normal;
}

.match-strip__status {
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef3f8;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 900;
}

.match-strip__status.is-live {
  background: #dc2626;
  color: #ffffff;
}

.studio-wire {
  min-width: 0;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.studio-wire h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.studio-wire a,
.magazine-news a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid #dbe3ec;
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.control-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  gap: 12px;
  align-items: end;
}

.control-search {
  display: grid;
  gap: 5px;
  color: var(--design-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.control-search input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
  color: #111827;
  font-size: 0.86rem;
}

.control-table {
  display: grid;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  overflow: hidden;
}

.control-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(96px, 0.55fr) 94px;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
  border-top: 1px solid #dbe3ec;
  background: #ffffff;
  color: var(--design-ink);
}

.control-row:first-child {
  border-top: 0;
}

.control-row__event {
  min-width: 0;
}

.control-row__event small {
  display: block;
  overflow: hidden;
  color: var(--design-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control-row__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.control-row__sources span {
  max-width: 96px;
  overflow: hidden;
  border-radius: 999px;
  padding: 4px 7px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control-row__cta {
  justify-self: end;
  color: var(--design-link);
  font-size: 0.76rem;
  font-weight: 900;
}

.magazine-front {
  display: grid;
  gap: 14px;
  background: #f7f7f2;
}

.magazine-lead {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #d8d6cb;
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.magazine-lead p {
  margin: 0;
  color: #0f7a3a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.magazine-lead h3 {
  margin-top: 18px;
  font-size: 1.75rem;
  line-height: 1.02;
}

.magazine-scoreline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  border-top: 2px solid #151515;
  padding-top: 12px;
  color: #151515;
  font-size: 0.82rem;
  font-weight: 900;
}

.magazine-scoreline a {
  color: #0e7490;
}

.magazine-schedule,
.magazine-news {
  border: 1px solid #d8d6cb;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.magazine-schedule h3,
.magazine-news h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.magazine-schedule a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #d8d6cb;
  color: #151515;
}

.magazine-schedule small {
  display: block;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
}

@media (max-width: 1240px) {
  .design-board {
    grid-template-columns: 1fr;
  }

  .proposal__head {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .design-shell {
    padding: 12px;
  }

  .design-topbar,
  .design-intro,
  .studio-hero,
  .studio-grid,
  .control-command {
    grid-template-columns: 1fr;
  }

  .design-topbar {
    display: grid;
    align-items: start;
  }

  .design-tabs {
    justify-content: flex-start;
  }

  .design-tabs a {
    flex: 1 1 150px;
    justify-content: center;
  }

  .design-intro h1 {
    font-size: 2rem;
  }

  .match-strip {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .match-strip__status {
    grid-column: 2;
    justify-self: start;
  }

  .control-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .control-row__sources,
  .control-row__cta {
    grid-column: 2;
    justify-self: start;
  }

  .magazine-scoreline {
    grid-template-columns: 1fr;
  }
}

/* ── DESIGN PROTOTYPES V2: bardziej produktowe, mniej blogowe ── */
.design-shell--next {
  width: min(100%, 1680px);
  padding: 18px;
  background:
    linear-gradient(#e7edf4 1px, transparent 1px),
    linear-gradient(90deg, #e7edf4 1px, transparent 1px);
  background-color: #f7f9fc;
  background-size: 28px 28px;
}

.design-topbar--next {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 72px;
  margin: -18px -18px 34px;
  padding: 14px 18px;
  border-bottom: 1px solid #d6dee8;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(16px);
}

.design-brand--next .design-brand__mark {
  background: #0b1220;
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, 0.08);
}

.design-tabs--next a {
  border-color: #cfd9e5;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.design-intro--next {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1140px);
  margin: 0 auto 34px;
  text-align: center;
}

.design-intro--next h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2.2rem, 6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.design-intro--next p:last-child {
  max-width: 780px;
  margin: 18px auto 0;
  font-size: 1.08rem;
}

.design-board--next {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.design-board--next .proposal {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 760px;
  border: 1px solid #cdd8e4;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.proposal__chrome {
  position: absolute;
  inset: 16px 18px auto 18px;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.design-board--next .proposal {
  position: relative;
}

.proposal__head--next {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 84px 26px 30px;
  border-right: 1px solid #dbe3ec;
  border-bottom: 0;
  background: #fbfcfe;
}

.proposal__head--next h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.proposal__head--next p:last-child {
  font-size: 1rem;
  line-height: 1.58;
}

.proposal__points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.proposal__points li {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-top: 1px solid #dbe3ec;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.25;
}

.proposal--arena .proposal__eyebrow,
.proposal--arena .proposal__head h2 {
  color: #025e73;
}

.proposal--radar .proposal__eyebrow,
.proposal--radar .proposal__head h2 {
  color: #155e75;
}

.proposal--os .proposal__eyebrow,
.proposal--os .proposal__head h2 {
  color: #111827;
}

.visual-stage {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 28px;
}

.arena-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 20px;
  background:
    linear-gradient(#dce7ee 1px, transparent 1px),
    linear-gradient(90deg, #dce7ee 1px, transparent 1px),
    #f8fcff;
  background-size: 34px 34px, 34px 34px, auto;
}

.arena-scoreboard {
  display: grid;
  min-height: 520px;
  border: 1px solid #bfd2df;
  border-radius: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.48);
}

.arena-scoreboard__top,
.radar-feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.arena-scoreboard__top span {
  border-radius: 999px;
  padding: 8px 12px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 1000;
}

.arena-scoreboard__top strong {
  font-feature-settings: "tnum" 1;
  font-size: 1.6rem;
}

.arena-teams {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.arena-teams div {
  display: grid;
  gap: 10px;
}

.arena-teams div:last-child {
  text-align: right;
}

.arena-teams span {
  color: #0e7490;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 1000;
  line-height: 0.82;
  letter-spacing: 0;
}

.arena-teams strong {
  color: #111827;
  font-size: clamp(1.3rem, 2.5vw, 2.6rem);
  line-height: 1;
}

.arena-teams em {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 1000;
}

.arena-pitch {
  position: relative;
  min-height: 150px;
  align-self: end;
  border: 2px solid #94c8b3;
  border-radius: 18px;
  background: repeating-linear-gradient(90deg, #ecfdf5 0 54px, #f7fee7 54px 108px);
}

.arena-pitch__line,
.arena-pitch__circle,
.arena-pulse {
  position: absolute;
  display: block;
}

.arena-pitch__line {
  inset: 0 50%;
  border-left: 2px solid #94c8b3;
}

.arena-pitch__circle {
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  border: 2px solid #94c8b3;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.arena-pulse {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.14);
}

.arena-pulse--one {
  top: 32%;
  left: 33%;
}

.arena-pulse--two {
  right: 26%;
  bottom: 30%;
  background: #0e7490;
  box-shadow: 0 0 0 8px rgba(14, 116, 144, 0.14);
}

.arena-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.arena-dock a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  border: 1px solid #cad7e4;
  border-radius: 14px;
  padding: 14px;
  background: #ffffff;
  color: #111827;
}

.arena-dock time,
.radar-feed time,
.os-stack time {
  font-feature-settings: "tnum" 1;
  font-weight: 1000;
}

.arena-dock strong,
.radar-feed strong,
.os-stack strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-dock small {
  display: block;
  color: #64748b;
  font-weight: 800;
}

.arena-dock b {
  border-radius: 999px;
  padding: 6px 9px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
}

.radar-stage {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  background: #f6fbfd;
}

.radar-map {
  position: relative;
  min-height: 680px;
  border: 1px solid #b9d5df;
  border-radius: 22px;
  background:
    linear-gradient(#dbe8ee 1px, transparent 1px),
    linear-gradient(90deg, #dbe8ee 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
}

.radar-ring {
  position: absolute;
  inset: 50%;
  border: 1px solid #88bdca;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring--one { width: 170px; height: 170px; }
.radar-ring--two { width: 320px; height: 320px; }
.radar-ring--three { width: 500px; height: 500px; }

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 2px;
  background: #0e7490;
  transform-origin: left center;
  transform: rotate(-24deg);
}

.radar-dot {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 1000;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

.radar-dot--one { top: 22%; left: 56%; background: #dc2626; }
.radar-dot--two { top: 52%; left: 25%; background: #0e7490; }
.radar-dot--three { right: 18%; bottom: 20%; background: #16a34a; }

.radar-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radar-feed__head {
  min-height: 76px;
  border-bottom: 1px solid #cdd8e4;
}

.radar-feed__head strong {
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1;
}

.radar-feed__head span {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 900;
}

.radar-feed a {
  display: grid;
  grid-template-columns: 74px 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 112px;
  border: 1px solid #cad7e4;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  color: #111827;
}

.radar-heat {
  position: relative;
  height: 62px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.radar-heat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--heat);
  background: #0e7490;
}

.radar-feed small {
  display: block;
  overflow: hidden;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.os-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.06) 1px, transparent 1px),
    #f8fafc;
  background-size: 76px 76px;
}

.os-command {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  border: 2px solid #111827;
  border-radius: 18px;
  padding: 12px 14px;
  background: #ffffff;
  box-shadow: 8px 8px 0 #111827;
}

.os-command span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 1000;
}

.os-command input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111827;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
}

.os-command button {
  min-height: 44px;
  border-radius: 10px;
  padding: 0 18px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 1000;
}

.os-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 240px;
  gap: 18px;
}

.os-main {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 24px;
  background:
    linear-gradient(#cfdbea 1px, transparent 1px),
    linear-gradient(90deg, #cfdbea 1px, transparent 1px),
    #ffffff;
  background-size: 42px 42px;
}

.os-main p {
  margin: 0 0 12px;
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.os-main h3 {
  max-width: 700px;
  margin: 0;
  color: #111827;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 5.6rem);
  line-height: 0.88;
}

.os-main div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.os-main div span,
.os-tiles a {
  border: 1px solid #111827;
  border-radius: 999px;
  padding: 9px 12px;
  background: #ffffff;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 1000;
}

.os-tiles {
  display: grid;
  gap: 10px;
}

.os-tiles a {
  display: grid;
  place-items: center;
  border-radius: 16px;
  min-height: 72px;
  box-shadow: 3px 3px 0 #111827;
}

.os-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.os-stack a {
  display: grid;
  gap: 6px;
  min-height: 110px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  color: #111827;
}

.os-stack span {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.72rem;
  font-weight: 1000;
}

@media (max-width: 1100px) {
  .design-board--next .proposal,
  .radar-stage,
  .os-grid {
    grid-template-columns: 1fr;
  }

  .proposal__head--next {
    border-right: 0;
    border-bottom: 1px solid #dbe3ec;
    padding-top: 70px;
  }

  .visual-stage,
  .radar-map {
    min-height: 620px;
  }

  .arena-dock,
  .os-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .design-shell--next {
    padding: 10px;
  }

  .design-topbar--next {
    margin: -10px -10px 24px;
    padding: 10px;
  }

  .design-board--next {
    gap: 18px;
  }

  .design-board--next .proposal {
    min-height: 0;
    border-radius: 12px;
  }

  .proposal__chrome {
    inset: 12px;
  }

  .proposal__head--next {
    padding: 58px 16px 18px;
  }

  .visual-stage {
    min-height: 0;
    padding: 14px;
  }

  .arena-scoreboard,
  .radar-map,
  .os-main {
    min-height: 360px;
  }

  .arena-teams {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }

  .arena-teams div:last-child {
    text-align: left;
  }

  .arena-teams em {
    width: 50px;
    height: 50px;
  }

  .arena-dock a,
  .radar-feed a,
  .os-command,
  .os-stack a {
    grid-template-columns: 1fr;
  }

  .os-command {
    box-shadow: 5px 5px 0 #111827;
  }

  .os-command button {
    width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════
   HOME LIGHT THEME — znajomy układ transmisji, ale jasny i czytelniejszy
   ════════════════════════════════════════════════════════════ */
body.theme-light {
  color-scheme: light;
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-surface-hover: #f8fafc;
  --color-surface-alt: #edf2f7;
  --color-surface-glass: rgba(255, 255, 255, 0.86);
  --color-border: #dbe4ef;
  --color-border-hover: #cbd5e1;
  --color-primary: #f59e0b;
  --color-primary-light: #fbbf24;
  --color-primary-dark: #d97706;
  --color-primary-glow: rgba(245, 158, 11, 0.14);
  --color-primary-glow-strong: rgba(245, 158, 11, 0.22);
  --color-secondary: #dc2626;
  --color-success: #16a34a;
  --color-info: #2563eb;
  --color-warning: #ca8a04;
  --color-text: #111827;
  --color-text-secondary: #475569;
  --color-muted: #64748b;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 180px, var(--color-bg) 100%);
  color: var(--color-text);
}

.theme-light .header {
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.theme-light .header__logo,
.theme-light .header__nav-link,
.theme-light .header__date,
.theme-light .header__hamburger {
  color: var(--color-text);
}

.theme-light .header__nav-link,
.theme-light .header__date {
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.theme-light .header__nav-link.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.theme-light .footer {
  background: transparent;
  border-top-color: var(--color-border);
}

body.page-home {
  color-scheme: light;
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;
  --color-surface-alt: #edf2f7;
  --color-surface-glass: rgba(255, 255, 255, 0.82);
  --color-border: #dbe4ef;
  --color-border-hover: #b9c7d8;
  --color-border-active: #f59e0b;
  --color-primary: #f59e0b;
  --color-primary-light: #fbbf24;
  --color-primary-dark: #d97706;
  --color-primary-glow: rgba(245, 158, 11, 0.16);
  --color-primary-glow-strong: rgba(245, 158, 11, 0.24);
  --color-secondary: #dc2626;
  --color-secondary-glow: rgba(220, 38, 38, 0.16);
  --color-success: #16a34a;
  --color-info: #2563eb;
  --color-warning: #ca8a04;
  --color-text: #111827;
  --color-text-secondary: #475569;
  --color-muted: #64748b;
  --home-sticky-top: 72px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 180px, var(--color-bg) 100%);
  color: var(--color-text);
}

.page-home .home-page-shell {
  min-height: 100vh;
  padding-bottom: 0;
}

.page-home .header {
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-home .header__logo,
.page-home .header__nav-link,
.page-home .header__date,
.page-home .header__hamburger {
  color: var(--color-text);
}

.page-home .header__nav-link {
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.page-home .header__nav-link.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.page-home .header__date {
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.page-home .hero-section {
  padding: clamp(34px, 6vw, 70px) 0 22px;
  background: transparent;
}

.page-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  justify-content: center;
}

.page-home .home-hero__copy {
  text-align: center;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 8px;
  color: #c47a07;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-home .hero__title {
  max-width: 860px;
  margin: 0 auto;
  color: #111827;
  font-size: 3.65rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.page-home .hero__title-highlight {
  color: var(--color-primary);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.page-home .hero__subtitle {
  max-width: 58ch;
  margin: 18px auto 0;
  color: #475569;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.page-home .filter-section {
  position: relative;
  top: auto;
  z-index: 1;
  width: min(calc(100% - 40px), 980px);
  box-sizing: border-box;
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-home .date-picker .date-picker__btn,
.page-home .custom-dropdown__trigger,
.page-home .filter-select {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: none;
}

.page-home .date-picker {
  padding: 0;
}

.page-home .date-picker .date-picker__scroll {
  align-items: center;
}

.page-home .date-picker .date-picker__btn,
.page-home .custom-dropdown__trigger {
  min-height: 34px;
}

.page-home .date-picker .date-picker__btn:hover,
.page-home .custom-dropdown__trigger:hover {
  background: #f8fafc;
  border-color: var(--color-border-hover);
}

.page-home .date-picker .date-picker__btn.is-active {
  background: #111827;
  border-color: #111827;
  box-shadow: none;
}

.page-home .date-picker .date-picker__btn.is-active .dp-label,
.page-home .date-picker .date-picker__btn.is-active .dp-date {
  color: #ffffff;
}

.page-home .custom-dropdown__panel {
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.page-home .custom-dropdown__option {
  color: var(--color-text-secondary);
}

.page-home .custom-dropdown__option:hover {
  background: #f1f5f9;
  color: var(--color-text);
}

.page-home .custom-dropdown__option.is-active {
  color: #c47a07;
}

.page-home .timeline-layout-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .timeline-layout-grid--wide {
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 1100px) {
  .page-home .timeline-layout-grid:not(.timeline-layout-grid--wide) {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

.page-home .timeline-main-content {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: clamp(14px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.page-home .timeline-wrapper {
  padding-left: 18px;
}

.page-home .home-schedule-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.page-home .home-schedule-heading__eyebrow {
  margin: 0 0 4px;
  color: #c47a07;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.page-home .home-schedule-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.page-home .home-schedule-heading__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 220px;
  text-align: right;
}

.page-home .home-schedule-heading__date {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.page-home .home-schedule-heading__counts {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.page-home .home-schedule-heading__counts span::before {
  content: " · ";
}

.page-home .home-schedule-heading__counts strong {
  color: var(--color-text);
  font-weight: 850;
  font-size: 1rem;
}

.page-home .home-empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 210px;
  align-content: center;
  border: 1px dashed rgba(245, 158, 11, 0.42);
  border-radius: 10px;
  background: rgba(255, 251, 235, 0.52);
  padding: 28px 18px;
  text-align: center;
}

.page-home .home-empty-state__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff7ed;
  color: var(--color-primary);
}

.page-home .home-empty-state h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 1.1rem;
}

.page-home .home-empty-state p {
  max-width: 44ch;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.page-home .timeline-line {
  left: 38px;
  width: 2px;
  background: #dbe4ef;
}

.page-home .time-node-bubble {
  background: #ffffff;
  color: #111827;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.page-home .timeline-item.live .time-node-bubble {
  background: #fff1f2;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 14px var(--color-secondary-glow);
}

.page-home .timeline-card {
  background: #ffffff;
  border-color: var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.page-home .timeline-card:hover {
  border-color: var(--color-primary);
  transform: translateX(3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.page-home .timeline-league-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.page-home .timeline-start-time {
  display: none;
}

.page-home .timeline-live-status-pill {
  color: var(--color-secondary);
}

.page-home .timeline-score {
  background: #f8fafc;
  border-color: var(--color-border);
  color: #111827;
}

.page-home .timeline-score--status {
  min-width: 60px;
  text-align: center;
  color: var(--color-secondary);
  background: #fff1f2;
  border-color: rgba(220, 38, 38, 0.25);
}

.page-home .timeline-team {
  min-width: 0;
}

.page-home .timeline-team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .timeline-progress-bar-bg {
  background: #e5edf6;
}

.page-home .timeline-progress-bar-fill {
  background: var(--color-primary);
}

.page-home .live .timeline-progress-bar-fill {
  background: var(--color-secondary);
}

.page-home .card-cue {
  color: #475569;
}

.page-home .timeline-sidebar {
  position: sticky;
  top: calc(var(--home-sticky-top) + 82px);
}

.page-home .sidebar-box,
.page-home .seo-feature-card,
.page-home .seo-block,
.page-home .seo-intro,
.page-home .cta-banner {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--color-border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.page-home .timeline-main-content,
.page-home .cta-banner {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.page-home .sidebar-box__title,
.page-home .seo-heading,
.page-home .news-item__title,
.page-home .nx-item__title {
  color: var(--color-text);
}

.page-home .nx-item {
  border-bottom-color: var(--color-border);
}

.page-home .nx-item:hover {
  padding-left: 0;
}

.page-home .cta-banner {
  margin-top: 28px;
  overflow: visible;
}

.page-home .seo-content {
  color: var(--color-text);
  width: min(calc(100% - 32px), 1120px);
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
  overflow: visible;
  scroll-margin-top: calc(var(--home-sticky-top) + 18px);
}

.page-home .seo-intro,
.page-home .seo-block,
.page-home .seo-feature-card,
.page-home .seo-sport-item,
.page-home .accordion__item {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
}

.page-home .seo-heading {
  align-items: flex-start;
  gap: 10px;
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-home .seo-heading svg {
  flex: 0 0 auto;
  margin-top: 0.08em;
}

.page-home .seo-intro,
.page-home .seo-block {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.94);
}

.page-home .seo-block--plain {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .seo-block--highlight {
  margin-left: 0;
  margin-right: 0;
  border-color: var(--color-border);
  border-radius: 14px;
  padding: clamp(16px, 3vw, 28px);
}

.page-home .seo-text,
.page-home .seo-feature-card p,
.page-home .seo-step p,
.page-home .seo-sport-item p,
.page-home .seo-advantage,
.page-home .accordion__inner {
  color: #475569;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.page-home .seo-step,
.page-home .seo-sport-item,
.page-home .seo-advantage {
  min-width: 0;
}

.page-home .seo-steps {
  padding-left: 0;
}

.page-home .seo-steps::before {
  display: none;
}

.page-home .seo-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
}

.page-home .seo-step-number {
  position: static;
  left: auto;
  top: auto;
  width: 30px;
  height: 30px;
}

.page-home .seo-step > div,
.page-home .seo-sport-item > div,
.page-home .seo-advantage > div {
  min-width: 0;
}

.page-home .seo-block--faq .accordion {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.page-home .seo-block--faq .accordion__item {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .seo-block--faq .accordion__item + .accordion__item {
  border-top: 1px solid var(--color-border);
}

.page-home .seo-text strong,
.page-home .seo-feature-card h3,
.page-home .seo-step h3,
.page-home .seo-sport-item h3 {
  color: var(--color-text);
}

.page-home .accordion__trigger {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-text);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-home .footer {
  background: transparent;
  border-top-color: var(--color-border);
  margin-top: var(--space-xl);
}

@media (max-width: 767px) {
  .page-home .home-hero {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero__copy {
    text-align: center;
  }

  .page-home .hero__title {
    max-width: 12em;
    font-size: 2.15rem;
    line-height: 1.1;
  }

  .page-home .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .filter-section {
    position: relative;
    top: auto;
    width: calc(100% - 40px);
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
  }

  .page-home .filter-bar--mobile {
    display: grid;
    grid-template-columns: minmax(118px, 0.85fr) minmax(0, 1.15fr);
    gap: 8px;
  }

  .page-home .filter-select {
    min-height: 40px;
    padding: 9px 30px 9px 12px;
    font-size: 12px;
  }

  .page-home .timeline-main-content {
    padding: 12px;
  }

  .page-home .home-schedule-heading {
    display: grid;
    gap: 8px;
  }

  .page-home .home-schedule-heading__meta {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 6px 9px;
    background: #f8fafc;
    text-align: left;
  }

  .page-home .home-schedule-heading__date,
  .page-home .home-schedule-heading__counts {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .page-home .home-schedule-heading__counts strong {
    font-size: 0.78rem;
  }

  .page-home .timeline-wrapper {
    padding-left: 0;
  }

  .page-home .timeline-line,
  .page-home .timeline-time-node {
    display: none;
  }

  .page-home .timeline-item {
    padding-left: 0;
    margin-bottom: 12px;
  }

  .page-home .timeline-card:hover {
    transform: none;
  }

  .page-home .timeline-card {
    padding: 12px;
  }

  .page-home .timeline-card-header {
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
  }

  .page-home .timeline-league-tag {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .page-home .timeline-team-name {
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .page-home .timeline-start-time {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 8px;
    background: #111827;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 850;
  }

  .page-home .timeline-teams-display {
    gap: 8px;
    margin: 8px 0;
  }

  .page-home .card-cue {
    font-size: 0.8rem;
  }

  .page-home .timeline-sidebar {
    position: static;
  }

  .page-home .seo-content {
    width: calc(100% - 40px);
    padding-inline: 0;
  }

  .page-home .seo-intro,
  .page-home .seo-block,
  .page-home .seo-feature-card,
  .page-home .cta-banner {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  }

  .page-home .seo-features-grid,
  .page-home .seo-sport-grid {
    grid-template-columns: 1fr;
  }

  .page-home .seo-steps {
    padding-left: 0;
  }

  .page-home .seo-steps::before {
    display: none;
  }

  .page-home .seo-step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
  }

  .page-home .seo-step-number {
    position: static;
    left: auto;
    top: auto;
    width: 30px;
    height: 30px;
  }

  .page-home .seo-feature-card,
  .page-home .seo-block,
  .page-home .seo-intro {
    padding: 16px;
    border-radius: 12px;
  }

  .page-home .seo-block--plain {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .page-home .seo-heading {
    font-size: clamp(1.12rem, 6vw, 1.45rem);
  }

  .page-home .seo-sport-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .page-home .seo-advantage {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
  }

  .page-home .accordion__trigger {
    padding: 14px 16px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .page-home .seo-content {
    width: calc(100% - 32px);
    padding-inline: 0;
  }

  .page-home .seo-features-grid,
  .page-home .seo-sport-grid {
    grid-template-columns: 1fr;
  }

  .page-home .seo-steps {
    padding-left: 0;
  }

  .page-home .seo-steps::before {
    display: none;
  }

  .page-home .seo-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .page-home .seo-step-number {
    position: static;
    left: auto;
    top: auto;
  }
}

/* ============================================================
   MATCH LIGHT THEME — transmisja dopasowana do nowej strony głównej
   ============================================================ */

body.page-match {
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-surface-hover: #f8fafc;
  --color-border: #dbe4ef;
  --color-border-hover: #cbd5e1;
  --color-primary: #f59e0b;
  --color-primary-dark: #d97706;
  --color-primary-glow: rgba(245, 158, 11, 0.16);
  --color-primary-glow-strong: rgba(245, 158, 11, 0.24);
  --color-secondary: #dc2626;
  --color-text: #111827;
  --color-text-secondary: #475569;
  --color-muted: #64748b;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 180px, var(--color-bg) 100%);
  color: var(--color-text);
}

.page-match .header {
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-match .header__logo,
.page-match .header__nav-link,
.page-match .header__date,
.page-match .header__hamburger {
  color: var(--color-text);
}

.page-match .header__nav-link,
.page-match .header__date {
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.page-match .header__nav-link.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.page-match .match-hero {
  width: min(calc(100% - 40px), 1120px);
  margin: clamp(18px, 4vw, 34px) auto 0;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
  text-align: center;
  overflow: visible;
}

.page-match .match-hero > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.page-match .match-hero__title {
  max-width: 900px;
  margin: 0 auto 8px;
  color: var(--color-text);
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-match .match-hero__title .match-hero__vs {
  color: var(--color-primary);
  font-weight: 850;
}

.page-match .match-hero__subtitle {
  max-width: 760px;
  margin: 0 auto clamp(18px, 3vw, 28px);
  color: var(--color-text-secondary);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.page-match .match-hero__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 4vw, 34px);
  max-width: 920px;
  margin: 0 auto;
}

.page-match .match-hero__team {
  min-width: 0;
  gap: 10px;
}

.page-match .match-hero .team-logo-lg,
.page-match .match-hero .team-logo-lg-fallback {
  width: clamp(58px, 8vw, 86px);
  height: clamp(58px, 8vw, 86px);
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.page-match .match-hero .team-name-lg {
  max-width: 100%;
  color: var(--color-text);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.page-match .match-hero__center {
  min-width: clamp(86px, 12vw, 132px);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fafc;
}

.page-match .match-hero__time,
.page-match .match-hero__score {
  color: var(--color-text);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1;
}

.page-match .match-hero__date-label {
  max-width: 18ch;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.page-match .match-layout {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 28px) 0;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1080px) {
  .page-match .match-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

.page-match .section-nav {
  top: 0;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.page-match .section-nav__link {
  color: var(--color-text-secondary);
  background: transparent;
}

.page-match .section-nav__link:hover {
  color: var(--color-text);
  background: #f1f5f9;
}

.page-match .match-sections > .tab-content,
.page-match .sidebar__section,
.page-match .match-faq,
.page-match .similar-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.page-match .match-sections > .tab-content {
  margin-bottom: 16px;
  padding: clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 92px;
}

.page-match .match-sections > .tab-content:last-child {
  border-bottom: 1px solid var(--color-border);
}

.page-match .article-content p,
.page-match .text-muted,
.page-match .bookmaker-desc,
.page-match .accordion__inner {
  color: var(--color-text-secondary);
}

.page-match .section-heading,
.page-match .match-main h2,
.page-match .match-sections h2 {
  color: var(--color-text);
  letter-spacing: 0;
}

.page-match .match-facts-grid {
  gap: 10px;
}

.page-match .match-fact-card,
.page-match .bookmaker-card,
.page-match .odds-btn,
.page-match .h2h-summary-card,
.page-match .lineup-list,
.page-match .stats-team-form {
  border-color: var(--color-border);
  background: #ffffff;
}

.page-match .match-fact-card__label,
.page-match .sidebar__section-title {
  color: var(--color-muted);
}

.page-match .match-fact-card__value,
.page-match .bookmaker-name {
  color: var(--color-text);
}

.page-match .bookmaker-card {
  border-radius: 12px;
  box-shadow: none;
}

.page-match .bookmaker-card:hover {
  transform: translateX(2px);
  border-color: var(--color-primary);
  background: #fffdf7;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.page-match .bookmaker-card--static:hover {
  transform: none;
  border-color: var(--color-border);
  background: #ffffff;
  box-shadow: none;
}

.page-match .bookmaker-card__cta {
  background: #111827;
  color: #ffffff;
  border-radius: 10px;
}

.page-match .alert--warning {
  border-color: rgba(245, 158, 11, 0.32);
  background: #fff7ed;
  color: #7c2d12;
}

.page-match .reklama-inline {
  background: #ffffff;
  color: var(--color-muted);
}

.page-match .sidebar {
  gap: 16px;
}

.page-match .footer {
  background: transparent;
  border-top-color: var(--color-border);
}

@media (max-width: 767px) {
  .page-match .match-hero {
    width: calc(100% - 32px);
    margin-top: 14px;
    padding: 18px 14px;
    border-radius: 14px;
  }

  .page-match .match-hero__teams {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .page-match .match-hero__center {
    order: -1;
    justify-self: center;
    min-width: 112px;
    padding: 10px 12px;
  }

  .page-match .match-hero__team {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    justify-items: start;
    width: 100%;
    text-align: left;
  }

  .page-match .match-hero .team-logo-lg,
  .page-match .match-hero .team-logo-lg-fallback {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .page-match .match-hero .team-name-lg {
    align-self: center;
    font-size: 1rem;
  }

  .page-match .match-layout {
    width: calc(100% - 32px);
    padding-top: 14px;
  }

  .page-match .section-nav {
    margin-inline: -2px;
    border-radius: 10px;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .page-match .section-nav__link {
    padding: 6px 9px;
    font-size: 0.76rem;
  }

  .page-match .match-sections > .tab-content {
    padding: 16px;
    border-radius: 12px;
  }

  .page-match .bookmaker-card {
    gap: 10px;
    padding: 12px;
  }

  .page-match .bookmaker-card__cta {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
}

/* ============================================================
   STRIMI DISTINCT POLISH — agenda timeline + readable match CTA
   ============================================================ */

.page-home .timeline-wrapper--agenda {
  display: grid;
  gap: 10px;
  padding-left: 0;
}

.page-home .timeline-wrapper--agenda .timeline-line {
  display: none;
}

.page-home .timeline-item--agenda {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  margin-bottom: 0;
  padding-left: 0;
}

.page-home .timeline-wrapper--agenda .timeline-time-node {
  position: static;
  left: auto;
  top: auto;
  display: grid;
  align-items: stretch;
  min-width: 0;
}

.page-home .timeline-wrapper--agenda .time-node-bubble {
  width: 100%;
  height: auto;
  min-height: 100%;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #f8fafc;
  color: #0f172a;
  box-shadow: none;
  font-size: 0.92rem;
  line-height: 1;
}

.page-home .timeline-item--agenda.live .time-node-bubble {
  background: #fff7ed;
  color: #9a3412;
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.page-home .timeline-item--agenda .timeline-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border-color: #d8e1ec;
  background: #ffffff;
}

.page-home .timeline-item--agenda .timeline-card::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 0;
  border-left: 0;
}

.page-home .timeline-item--agenda .timeline-card:hover {
  transform: translateY(-1px);
  border-color: #b9c8d9;
  background: #fffdfa;
}

.page-home .timeline-card-header::before {
  content: none;
  display: none;
  align-items: center;
  height: 22px;
  border-radius: 999px;
  padding: 0 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0;
}

.page-home .timeline-item--agenda.live .timeline-card-header::before {
  content: "NA ŻYWO";
  display: inline-flex;
  background: #fff1f2;
  color: #be123c;
}

.page-home .timeline-wrapper--agenda .timeline-card-header {
  justify-content: flex-start;
  gap: 8px;
}

.page-home .timeline-wrapper--agenda .timeline-league-tag {
  background: transparent;
  border-color: transparent;
  padding: 0;
  color: #475569;
}

.page-home .timeline-wrapper--agenda .timeline-countdown {
  margin-left: auto;
  border-color: #dbe4ef;
  background: #f8fafc;
}

.page-home .timeline-wrapper--agenda .timeline-teams-display {
  grid-template-columns: minmax(0, 1fr) minmax(44px, auto) minmax(0, 1fr);
  margin: 0;
}

.page-home .timeline-wrapper--agenda .timeline-score {
  min-width: 44px;
  border: 0;
  background: #f1f5f9;
}

.page-home .timeline-wrapper--agenda .card-cue {
  justify-content: flex-start;
  border-top: 1px solid #eef2f7;
  padding-top: 10px;
}

.page-match .match-hero--scoreboard {
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 247, 0.96));
}

.page-match .match-hero--scoreboard .match-hero__title,
.page-match .match-hero--scoreboard .match-hero__subtitle {
  margin-left: 0;
  margin-right: 0;
}

.page-match .match-hero--scoreboard .match-hero__teams {
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  max-width: none;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
}

.page-match .match-hero--scoreboard .match-hero__team {
  display: grid;
  grid-template-columns: clamp(58px, 7vw, 76px) minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  text-align: left;
}

.page-match .match-hero--scoreboard .match-hero__team:last-child {
  grid-template-columns: minmax(0, 1fr) clamp(58px, 7vw, 76px);
  justify-items: end;
  text-align: right;
}

.page-match .match-hero--scoreboard .match-hero__team:last-child .team-logo-lg,
.page-match .match-hero--scoreboard .match-hero__team:last-child .team-logo-lg-fallback {
  order: 2;
}

.page-match .match-hero--scoreboard .match-hero__center {
  justify-self: center;
  min-width: 150px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
}

.page-match .match-hero--scoreboard .match-hero__time,
.page-match .match-hero--scoreboard .match-hero__score {
  color: #ffffff;
}

.page-match .match-hero--scoreboard .match-hero__date-label {
  color: rgba(255, 255, 255, 0.74);
}

.page-match .bookmaker-list {
  display: grid;
  gap: 10px;
}

.page-match .bookmaker-card {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  border-radius: 10px;
  background: #ffffff;
}

.page-match .bookmaker-card__logo,
.page-match .bookmaker-card__logo-fallback {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f8fafc;
  color: #111827;
  border: 1px solid #e2e8f0;
}

.page-match .bookmaker-card__cta {
  background: #f59e0b;
  color: #111827;
  font-weight: 850;
}

.page-match .bookmaker-card:hover .bookmaker-card__cta {
  background: #111827;
  color: #ffffff;
}

.page-match .bk-cta {
  background: #ffffff;
  border-color: #dbe4ef;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.page-match .bk-cta__name {
  color: #111827;
}

.page-match .bk-cta__bonus,
.page-match .bk-cta__legal,
.page-match .bk-cta__promo-label {
  color: #64748b;
}

.page-match .bk-cta__promo {
  background: #fff7ed;
  color: #111827;
  border-color: rgba(245, 158, 11, 0.48);
}

.page-match .bk-cta__btn {
  background: #111827;
  color: #ffffff;
}

.page-match .sts-guide {
  background: #ffffff;
  color: #111827;
  border-color: #dbe4ef;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.page-match .sts-guide__title {
  color: #111827;
  text-transform: none;
}

.page-match .sts-guide__steps li {
  color: #475569;
}

.page-match .sts-guide__steps a {
  color: #9a3412;
}

.page-match .bk-cta__ad-label,
.page-match .sts-guide__ad-label {
  background: #f8fafc;
  color: #64748b;
}

.page-match .match-bottom {
  width: min(calc(100% - 40px), 1040px);
  margin-inline: auto;
}

.page-match .match-faq {
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.page-match .match-faq > .section-heading {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.page-match .match-faq .accordion {
  gap: 8px;
}

.page-match .match-faq .accordion__item {
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.page-match .match-faq .accordion__trigger {
  min-height: 48px;
  padding: 12px 14px;
  color: #111827;
  font-size: 0.96rem;
  line-height: 1.3;
}

.page-match .match-faq .accordion__trigger:hover {
  color: #111827;
  background: #f8fafc;
}

.page-match .match-faq .accordion__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff7ed;
  color: #d97706;
  font-size: 1rem;
}

.page-match .match-faq .accordion__inner {
  padding-inline: 14px;
}

.page-match .match-faq .accordion__inner p {
  margin: 0;
  padding-bottom: 14px;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}

.page-match .alert--warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Compact match page rebuild — fixes oversized mobile/desktop sections. */
.page-match .match-hero--compact {
  width: min(calc(100% - 40px), 1040px);
  margin-top: clamp(12px, 2vw, 20px);
  padding: clamp(14px, 1.8vw, 20px);
  border-radius: 12px;
  text-align: left;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.page-match .match-hero--compact .match-hero__title {
  max-width: none;
  margin: 0 0 5px;
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  line-height: 1.06;
}

.page-match .match-hero--compact .match-hero__subtitle {
  max-width: none;
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.page-match .match-hero--compact .match-hero__teams {
  grid-template-columns: minmax(0, 1fr) 116px minmax(0, 1fr);
  gap: 12px;
  max-width: none;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #edf2f7;
}

.page-match .match-hero--compact .match-hero__team {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 10px;
  text-align: left;
}

.page-match .match-hero--compact .match-hero__team:last-child {
  grid-template-columns: minmax(0, 1fr) 42px;
  justify-items: end;
  text-align: right;
}

.page-match .match-hero--compact .match-hero__team:last-child .team-logo-lg,
.page-match .match-hero--compact .match-hero__team:last-child .team-logo-lg-fallback {
  order: 2;
}

.page-match .match-hero--compact .team-logo-lg,
.page-match .match-hero--compact .team-logo-lg-fallback {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: none;
}

.page-match .match-hero--compact .team-name-lg {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
}

.page-match .match-hero--compact .match-hero__center {
  display: grid;
  gap: 2px;
  justify-self: center;
  align-self: center;
  min-width: 116px;
  border-radius: 10px;
  padding: 6px 8px;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  box-shadow: none;
  text-align: center;
}

.page-match .match-hero--compact .match-hero__time,
.page-match .match-hero--compact .match-hero__score {
  color: #111827;
  font-size: clamp(1.24rem, 2.2vw, 1.48rem);
}

.page-match .match-hero--compact .match-hero__date-label {
  color: #64748b;
  font-size: 0.72rem;
}

.page-match .match-hero--compact .badge {
  margin-bottom: 0 !important;
  min-height: 18px;
  padding: 1px 7px;
  font-size: 0.68rem;
}

.page-match .match-layout {
  width: min(calc(100% - 40px), 1040px);
  padding-top: 14px;
}

.page-match .section-nav {
  padding: 5px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: none;
}

.page-match .section-nav__link {
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.page-match .match-sections > .tab-content {
  padding: clamp(14px, 2vw, 20px);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
}

.page-match .article-content p {
  margin-bottom: 12px;
  line-height: 1.55;
}

.page-match .section-heading {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 12px;
}

.page-match .article-content > .section-heading:first-child {
  margin-top: 0;
}

.page-match .match-facts-grid {
  gap: 8px;
  margin-top: 16px;
}

.page-match .match-fact-card {
  padding: 10px;
  border-radius: 10px;
}

.page-match .match-fact-card__icon {
  width: 24px;
  height: 24px;
}

.page-match .bookmaker-card {
  min-height: 0;
  padding: 10px;
  border-radius: 10px;
}

.page-match .bookmaker-name {
  font-size: 0.95rem;
}

.page-match .bookmaker-desc {
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-match .bookmaker-card__cta {
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 8px;
}

.page-match .bk-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "main"
    "promo"
    "button"
    "legal";
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}

.page-match .bk-cta__main {
  grid-area: main;
  gap: 8px;
  min-height: 0;
}

.page-match .bk-cta__logo,
.page-match .bk-cta__logo--img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.page-match .bk-cta__name {
  font-size: 1rem;
}

.page-match .bk-cta__bonus {
  font-size: 0.84rem;
  line-height: 1.3;
}

.page-match .bk-cta__promo {
  grid-area: promo;
  align-self: center;
  width: 100%;
  justify-content: space-between;
  padding: 5px 8px;
  border-radius: 8px;
}

.page-match .bk-cta__promo-label,
.page-match .bk-cta__code {
  line-height: 1;
}

.page-match .bk-cta__copied {
  display: none;
}

.page-match .bk-cta__btn {
  grid-area: button;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 9px;
  white-space: nowrap;
}

.page-match .bk-cta__legal {
  grid-area: legal;
  margin: 0;
  font-size: 0.66rem;
}

.page-match .sts-guide {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
}

.page-match .sts-guide__title {
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.25;
}

.page-match .sts-guide__steps {
  gap: 8px;
  margin-bottom: 12px;
}

.page-match .sts-guide__steps li {
  font-size: 0.86rem;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .page-home .timeline-item--agenda {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .timeline-wrapper--agenda .timeline-time-node {
    display: none;
  }

  .page-home .timeline-card-header::before {
    content: none;
  }

  .page-home .timeline-wrapper--agenda .timeline-countdown {
    margin-left: 0;
  }

  .page-match .match-hero--scoreboard {
    text-align: center;
    padding: 16px 12px;
  }

  .page-match .match-hero--scoreboard .match-hero__title,
  .page-match .match-hero--scoreboard .match-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .page-match .match-hero--scoreboard .match-hero__teams {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
  }

  .page-match .match-hero--scoreboard .match-hero__team,
  .page-match .match-hero--scoreboard .match-hero__team:last-child {
    grid-template-columns: 46px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .page-match .match-hero--scoreboard .team-logo-lg,
  .page-match .match-hero--scoreboard .team-logo-lg-fallback {
    width: 46px;
    height: 46px;
  }

  .page-match .match-hero--scoreboard .match-hero__team:last-child .team-logo-lg,
  .page-match .match-hero--scoreboard .match-hero__team:last-child .team-logo-lg-fallback {
    order: 0;
  }

  .page-match .match-hero--scoreboard .match-hero__center {
    min-width: 128px;
    order: -1;
  }

  .page-match .bookmaker-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .page-match .bookmaker-card__cta,
  .page-match .bookmaker-card .badge {
    grid-column: 2;
    justify-self: start;
  }

  .page-match .match-hero--compact {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .page-match .match-hero--compact .match-hero__title {
    font-size: 1.34rem;
    line-height: 1.1;
    text-align: left;
  }

  .page-match .match-hero--compact .match-hero__subtitle {
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.3;
    text-align: left;
  }

  .page-match .match-hero--compact .match-hero__teams {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 10px;
  }

  .page-match .match-hero--compact .match-hero__center {
    order: 3;
    justify-self: stretch;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    text-align: left;
  }

  .page-match .match-hero--compact .match-hero__time,
  .page-match .match-hero--compact .match-hero__score {
    font-size: 1.18rem;
  }

  .page-match .match-hero--compact .match-hero__date-label {
    justify-self: end;
    max-width: none;
    font-size: 0.72rem;
  }

  .page-match .match-hero--compact .badge {
    margin-bottom: 0 !important;
  }

  .page-match .match-hero--compact .match-hero__team,
  .page-match .match-hero--compact .match-hero__team:last-child {
    grid-template-columns: 38px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    gap: 8px;
  }

  .page-match .match-hero--compact .team-logo-lg,
  .page-match .match-hero--compact .team-logo-lg-fallback {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .page-match .match-hero--compact .match-hero__team:last-child .team-logo-lg,
  .page-match .match-hero--compact .match-hero__team:last-child .team-logo-lg-fallback {
    order: 0;
  }

  .page-match .match-hero--compact .team-name-lg {
    font-size: 0.94rem;
  }

  .page-match .match-layout {
    width: calc(100% - 20px);
    padding-top: 10px;
  }

  .page-match .section-nav {
    margin-inline: 0;
    margin-bottom: 8px;
    padding: 4px;
    gap: 4px;
  }

  .page-match .section-nav__link {
    padding: 6px 8px;
    font-size: 0.74rem;
  }

  .page-match .match-sections > .tab-content {
    padding: 10px 12px;
    border-radius: 11px;
    margin-bottom: 10px;
  }

  .page-match .section-heading {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .page-match .article-content p {
    margin-bottom: 9px;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .page-match .match-facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
  }

  .page-match .match-fact-card {
    display: block;
    padding: 8px;
  }

  .page-match .match-fact-card__icon {
    display: none;
  }

  .page-match .match-fact-card__label {
    font-size: 0.62rem;
  }

  .page-match .match-fact-card__value {
    font-size: 0.78rem;
  }

  .page-match .bookmaker-card {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
  }

  .page-match .bookmaker-card__logo,
  .page-match .bookmaker-card__logo-fallback {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .page-match .bookmaker-name {
    font-size: 0.88rem;
    line-height: 1.15;
  }

  .page-match .bookmaker-desc {
    display: -webkit-box;
    font-size: 0.76rem;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .page-match .bookmaker-card__cta,
  .page-match .bookmaker-card .badge {
    grid-column: auto;
    justify-self: end;
    min-height: 28px;
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .page-match .bk-cta {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "promo" "button" "legal";
    padding: 12px;
  }

  .page-match .bk-cta__btn {
    width: 100%;
  }

  .page-match .sts-guide {
    margin-top: 8px;
    padding: 10px;
  }

  .page-match .sts-guide__ad-label {
    position: static;
    width: fit-content;
    margin-bottom: 6px;
  }

  .page-match .sts-guide__title {
    margin-bottom: 8px;
    padding-right: 0;
    font-size: 0.9rem;
  }

  .page-match .sts-guide__steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    margin-bottom: 0;
  }

  .page-match .sts-guide__steps li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
  }

  .page-match .sts-guide__steps a,
  .page-match .sts-guide__steps strong {
    display: inline;
  }

  .page-match .sts-guide__num {
    width: 18px;
    height: 18px;
    font-size: 0.68rem;
  }

  .page-match .sts-guide .yt-facade {
    display: none;
  }

  .page-match .alert--warning.mt-lg {
    margin-top: 8px !important;
    padding: 8px 9px;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .page-match .match-bottom {
    width: calc(100% - 20px);
  }

  .page-match .match-faq {
    padding: 12px;
    border-radius: 11px;
  }

  .page-match .match-faq > .section-heading {
    margin-bottom: 10px;
    font-size: 1.22rem;
  }

  .page-match .match-faq .accordion {
    gap: 7px;
  }

  .page-match .match-faq .accordion__trigger {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .page-match .match-faq .accordion__icon {
    width: 20px;
    height: 20px;
    font-size: 0.92rem;
  }
}

/* ============================================================
   NEWS LIGHT THEME — kompaktowy newsroom bez ciężkiego hero
   ============================================================ */

body.page-news {
  color-scheme: light;
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-surface-hover: #f8fafc;
  --color-border: #dbe4ef;
  --color-border-hover: #cbd5e1;
  --color-primary: #f59e0b;
  --color-primary-dark: #d97706;
  --color-primary-glow: rgba(245, 158, 11, 0.14);
  --color-text: #111827;
  --color-text-secondary: #475569;
  --color-muted: #64748b;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 170px, var(--color-bg) 100%);
  color: var(--color-text);
}

.page-news .header {
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-news .header__logo,
.page-news .header__nav-link,
.page-news .header__date,
.page-news .header__hamburger {
  color: var(--color-text);
}

.page-news .header__nav-link,
.page-news .header__date {
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.page-news .header__nav-link.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.page-news .news-index {
  width: min(calc(100% - 40px), 1040px);
  margin: 18px auto 0;
  padding-bottom: 42px;
  overflow-wrap: anywhere;
}

.page-news .news-index__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--color-border);
}

.page-news .news-index__intro {
  max-width: 720px;
}

.page-news .news-index__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-news .news-index__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.page-news .news-index__subtitle {
  max-width: 65ch;
  margin: 10px 0 0;
  color: var(--color-text-secondary);
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.58;
}

.page-news .news-index__meta {
  display: grid;
  gap: 5px;
  min-width: 178px;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.page-news .news-index__meta strong {
  color: var(--color-text);
  font-size: 1.05rem;
}

.page-news .news-index__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
}

.page-news .news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0;
}

.page-news .news-list--secondary {
  min-width: 0;
}

.page-news .news-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.page-news .news-item:hover {
  border-color: rgba(217, 119, 6, 0.42);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.page-news .news-item__link {
  display: grid;
  gap: 8px;
  padding: 15px 16px;
}

.page-news .news-item__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-news .news-item__kicker time {
  color: var(--color-muted);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.page-news .news-item__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.page-news .news-item:hover .news-item__title {
  color: var(--color-text);
}

.page-news .news-item__excerpt {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.48;
}

.page-news .news-item__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  color: var(--color-primary-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.page-news .news-item--lead {
  min-height: 0;
  align-self: start;
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.page-news .news-item--lead .news-item__link {
  min-height: 278px;
  align-content: end;
  padding: 22px;
}

.page-news .news-item--lead .news-item__title {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.08;
}

.page-news .news-item--lead .news-item__excerpt {
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-news .news-index__empty {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.page-news .news-index__empty h2 {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 1.35rem;
}

.page-news .news-index__empty p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.page-news .pagination {
  margin-top: 20px;
}

.page-news .pagination__btn {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-text);
}

.page-news .pagination__btn.is-active,
.page-news .pagination__btn:hover {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.page-news .container {
  width: min(calc(100% - 40px), 1120px);
}

.page-news .breadcrumb {
  color: var(--color-muted);
}

.page-news .news-layout {
  gap: 18px;
  padding: 12px 0 38px;
}

.page-news .news-article,
.page-news .related-section,
.page-news .sidebar-box {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.page-news .news-article {
  padding: 20px;
}

.page-news .news-article__title,
.page-news .news-article__body,
.page-news .author-profile__name,
.page-news .author-profile__bio {
  color: var(--color-text);
}

.page-news .news-article__lead,
.page-news .author-profile__role {
  color: var(--color-text-secondary);
}

.page-news .news-article__body strong {
  color: var(--color-text);
}

.page-news .related-section,
.page-news .sidebar-box {
  padding: 16px;
}

.page-news .footer {
  background: transparent;
  border-top-color: var(--color-border);
}

@media (max-width: 900px) {
  .page-news .news-index__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-news .news-item--lead .news-item__link {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .page-news .news-index {
    width: calc(100% - 20px);
    margin-top: 12px;
    padding-bottom: 28px;
  }

  .page-news .news-index__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0 12px;
  }

  .page-news .news-index__title {
    font-size: 1.82rem;
    line-height: 1.04;
  }

  .page-news .news-index__subtitle {
    margin-top: 8px;
    font-size: 0.93rem;
    line-height: 1.45;
  }

  .page-news .news-index__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .page-news .news-index__grid {
    gap: 10px;
    margin-top: 12px;
  }

  .page-news .news-item {
    border-radius: 10px;
  }

  .page-news .news-item__link,
  .page-news .news-item--lead .news-item__link {
    min-height: 0;
    padding: 13px;
  }

  .page-news .news-item--lead .news-item__title {
    font-size: 1.25rem;
    line-height: 1.13;
  }

  .page-news .news-item__title {
    font-size: 1rem;
  }

  .page-news .news-item__excerpt {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .page-news .container {
    width: calc(100% - 20px);
  }

  .page-news .news-article,
  .page-news .related-section,
  .page-news .sidebar-box {
    border-radius: 12px;
    padding: 13px;
  }
}

/* ============================================================
   STRIMI HOME — mobile-first utility schedule
   ============================================================ */

.page-home .hero-section {
  padding: 14px 0 8px;
}

.page-home .home-hero {
  justify-content: stretch;
}

.page-home .home-hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  max-width: 980px;
  margin-inline: auto;
  text-align: left;
}

.page-home .home-hero__eyebrow {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.page-home .hero__title {
  max-width: none;
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.25rem, 4.8vw, 2.1rem);
  line-height: 1.12;
}

.page-home .hero__subtitle {
  max-width: 62ch;
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
}

.page-home .filter-section {
  position: sticky;
  top: var(--header-height, 64px);
  z-index: 25;
  width: 100%;
  max-width: none;
  margin: 0 0 10px;
  border-width: 1px 0;
  border-radius: 0;
  padding: 8px max(14px, calc((100vw - 980px) / 2));
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.page-home .filter-bar--mobile {
  display: grid;
  grid-template-columns: minmax(104px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
}

.page-home .filter-bar--desktop {
  display: none;
}

@media (min-width: 768px) {
  .page-home .filter-bar--mobile {
    display: none;
  }

  .page-home .filter-bar--desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
  }
}

.page-home .filter-select {
  width: 100%;
  min-height: 44px;
  border-radius: 9px;
  font-size: 0.82rem;
}

.page-home .timeline-layout-grid--wide {
  max-width: 980px;
}

.page-home .timeline-main-content {
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
}

.page-home .home-schedule-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.page-home .home-schedule-heading h2 {
  font-size: clamp(1.12rem, 4vw, 1.55rem);
  line-height: 1.15;
}

.page-home .home-schedule-heading__meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
  width: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.page-home .home-schedule-heading__date,
.page-home .home-schedule-heading__counts {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  padding: 0 9px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  line-height: 1;
}

.page-home .home-schedule-heading__counts {
  gap: 6px;
}

.page-home .home-schedule-heading__counts span::before {
  content: none;
}

.page-home .timeline-item--agenda {
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .timeline-item--agenda .timeline-time-node {
  display: none;
}

.page-home .timeline-item--agenda .timeline-card {
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.045);
}

.page-home .timeline-wrapper--agenda .timeline-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.page-home .timeline-start-time {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 0 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 850;
}

.page-home .timeline-wrapper--agenda .timeline-league-tag {
  min-width: 0;
  overflow: hidden;
  color: #475569;
  font-size: 0.76rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-home .timeline-wrapper--agenda .timeline-countdown,
.page-home .timeline-live-status-pill {
  margin-left: auto;
  flex: 0 0 auto;
  min-height: 25px;
}

.page-home .timeline-wrapper--agenda .timeline-teams-display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "home score"
    "away score";
  align-items: center;
  gap: 5px 10px;
}

.page-home .timeline-wrapper--agenda .timeline-team.home {
  grid-area: home;
}

.page-home .timeline-wrapper--agenda .timeline-team:not(.home) {
  grid-area: away;
}

.page-home .timeline-wrapper--agenda .timeline-score {
  grid-area: score;
  align-self: stretch;
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  border-radius: 9px;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.page-home .timeline-team-name {
  font-size: 0.98rem;
  line-height: 1.22;
}

.page-home .timeline-wrapper--agenda .card-cue {
  justify-content: space-between;
  padding-top: 8px;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 800;
}

.page-home .timeline-progress-labels {
  gap: 8px;
  font-size: 0.72rem;
}

.page-home .cta-banner {
  width: min(calc(100% - 28px), 980px);
  margin: 16px auto 0;
  border-radius: 10px;
  padding: 12px;
}

.page-home .cta-banner__ad-label {
  top: 9px;
  right: 10px;
  background: #ffffff;
}

.page-home .seo-content {
  width: min(calc(100% - 28px), 980px);
  margin-top: 22px !important;
}

.page-home .seo-features-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .page-home .hero-section {
    padding: 20px 0 12px;
  }

  .page-home .home-hero__copy {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: 18px;
  }

  .page-home .home-hero__eyebrow,
  .page-home .hero__title {
    grid-column: 1;
  }

  .page-home .hero__subtitle {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .page-home .filter-section {
    padding-block: 10px;
  }

  .page-home .timeline-main-content {
    padding: 18px;
  }

  .page-home .home-schedule-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .timeline-item--agenda {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .page-home .timeline-item--agenda .timeline-time-node {
    display: grid;
  }

  .page-home .timeline-start-time {
    display: none;
  }

  .page-home .timeline-item--agenda .timeline-card {
    padding: 14px 16px;
  }

  .page-home .timeline-wrapper--agenda .timeline-teams-display {
    grid-template-columns: minmax(0, 1fr) minmax(46px, auto) minmax(0, 1fr);
    grid-template-areas: "home score away";
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .header__date {
    display: none;
  }

  .page-home .filter-section {
    top: var(--header-height, 56px);
    padding-inline: 10px;
  }

  .page-home .filter-bar--mobile {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .filter-select {
    padding-inline: 10px 28px;
    font-size: 0.75rem;
  }

  .page-home .home-schedule-heading__meta {
    gap: 5px;
  }

  .page-home .home-schedule-heading__date,
  .page-home .home-schedule-heading__counts {
    min-height: 25px;
    padding-inline: 8px;
    font-size: 0.68rem;
  }

  .page-home .timeline-card-header {
    flex-wrap: nowrap;
  }

  .page-home .timeline-wrapper--agenda .timeline-countdown {
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-home .seo-features-grid,
  .page-home .seo-sport-grid {
    grid-template-columns: 1fr;
  }

  .page-home .cta-banner {
    display: grid;
    grid-template-areas:
      "label"
      "content"
      "action"
      "legal";
    gap: 10px;
    padding: 12px;
  }

  .page-home .cta-banner__ad-label {
    position: static;
    grid-area: label;
    justify-self: end;
    width: fit-content;
    margin: 0;
  }

  .page-home .cta-banner__content {
    align-items: flex-start;
    gap: 12px;
  }

  .page-home .cta-banner__logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .page-home .cta-banner__title {
    font-size: 1.12rem;
    line-height: 1.14;
  }

  .page-home .cta-banner__subtitle {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .page-home .cta-banner__code,
  .page-home .cta-banner__btn {
    width: 100%;
  }
}

/* Final homepage hero override: WP title centered, slogan removed. */
.page-home .hero-section {
  padding-top: clamp(18px, 4vw, 34px);
}

.page-home .home-hero {
  display: block;
  max-width: 1120px;
}

.page-home .home-hero__copy {
  display: block;
  width: min(100%, 1120px);
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}

.page-home .hero__title {
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.page-home .seo-content--strims-top {
  display: grid;
  gap: 18px;
}

.page-home .seo-content--strims-top .seo-intro--answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 20px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
    #ffffff;
}

.page-home .seo-intro__body {
  min-width: 0;
}

.page-home .seo-intro__checks {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 4px 0 4px 18px;
  border-left: 1px solid rgba(148, 163, 184, 0.34);
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.page-home .seo-intro__checks li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.page-home .seo-intro__checks li::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  content: "";
}

.page-home .seo-features-grid--signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 12px;
  background: rgba(203, 213, 225, 0.9);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.page-home .seo-feature-card--signal {
  min-height: 100%;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.page-home .seo-feature-card--signal .seo-feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #fff7ed;
  color: #f59e0b;
}

.page-home .seo-feature-card--signal .seo-feature-icon svg {
  width: 20px;
  height: 20px;
}

.page-home .seo-feature-card--signal h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.18;
}

.page-home .seo-feature-card--signal p {
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .page-home .hero__title {
    white-space: nowrap;
    font-size: clamp(2rem, 2.65vw, 2.7rem);
  }
}

@media (max-width: 980px) {
  .page-home .seo-content--strims-top .seo-intro--answer {
    grid-template-columns: 1fr;
  }

  .page-home .seo-intro__checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.34);
    border-left: 0;
  }

  .page-home .seo-features-grid--signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .page-home .hero__title {
    white-space: normal;
  }

  .page-home .seo-intro__checks,
  .page-home .seo-features-grid--signals {
    grid-template-columns: 1fr;
  }

  .page-home .seo-feature-card--signal {
    padding: 16px;
  }
}

/* Final STS TV CTA override: light layout with ad label in the legal note. */
.page-home .cta-banner--sts-tv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, auto);
  grid-template-areas:
    "content action"
    "legal legal";
  align-items: center;
  gap: 14px 26px;
  width: min(calc(100% - 28px), 980px);
  margin: 16px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  overflow: visible;
}

.page-home .cta-banner--sts-tv::before {
  position: absolute;
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 999px;
  background: #f59e0b;
  content: "";
}

.page-home .cta-banner--sts-tv .cta-banner__content {
  gap: 14px;
}

.page-home .cta-banner--sts-tv .cta-banner__logo {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: #e8003a;
  box-shadow: 0 14px 30px rgba(232, 0, 58, 0.18);
}

.page-home .cta-banner--sts-tv .cta-banner__title {
  margin-bottom: 5px;
  color: #0f172a;
  font-size: clamp(1.14rem, 2vw, 1.42rem);
  letter-spacing: 0;
}

.page-home .cta-banner--sts-tv .cta-banner__subtitle {
  max-width: 54ch;
  color: #475569;
  line-height: 1.45;
}

.page-home .cta-banner--sts-tv .cta-banner__action {
  justify-content: flex-end;
  gap: 10px;
}

.page-home .cta-banner--sts-tv .cta-banner__code {
  min-width: 210px;
  min-height: 50px;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  background: #fffdf7;
  color: #0f172a;
}

.page-home .cta-banner--sts-tv .cta-banner__btn {
  min-height: 50px;
  border-radius: 10px;
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.22);
}

.page-home .cta-banner--sts-tv .cta-banner__btn:hover {
  filter: none;
  transform: translateY(-1px);
  background: #fbbf24;
}

.page-home .cta-banner--sts-tv .cta-banner__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding-top: 2px;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.4;
}

.page-home .cta-banner__legal-label {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 7px;
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: 999px;
  background: #fff7ed;
  color: #92400e;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

@media (max-width: 860px) {
  .page-home .cta-banner--sts-tv {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "action"
      "legal";
    gap: 14px;
  }

  .page-home .cta-banner--sts-tv .cta-banner__action {
    justify-content: stretch;
  }

  .page-home .cta-banner--sts-tv .cta-banner__code,
  .page-home .cta-banner--sts-tv .cta-banner__btn {
    flex: 1 1 210px;
  }
}

@media (max-width: 520px) {
  .page-home .cta-banner--sts-tv {
    grid-template-areas:
      "content"
      "action"
      "legal";
    padding: 14px;
  }

  .page-home .cta-banner--sts-tv::before {
    inset: 0 14px auto;
    width: auto;
    height: 3px;
  }

  .page-home .cta-banner--sts-tv .cta-banner__content {
    align-items: center;
  }

  .page-home .cta-banner--sts-tv .cta-banner__code,
  .page-home .cta-banner--sts-tv .cta-banner__btn {
    width: 100%;
    flex-basis: 100%;
  }

  .page-home .cta-banner--sts-tv .cta-banner__legal {
    font-size: 0.68rem;
  }
}

/* Final Strimi color system: teal UI accent, orange only for partner/alert actions. */
body.page-home,
body.page-news,
body.page-match {
  --strimi-accent: #0891b2;
  --strimi-accent-dark: #0e7490;
  --strimi-accent-light: #22d3ee;
  --strimi-accent-soft: rgba(8, 145, 178, 0.08);
  --strimi-accent-glow: rgba(8, 145, 178, 0.16);
  --strimi-partner-accent: #f59e0b;
  --color-primary: var(--strimi-accent);
  --color-primary-light: var(--strimi-accent-light);
  --color-primary-dark: var(--strimi-accent-dark);
  --color-primary-glow: rgba(8, 145, 178, 0.14);
  --color-primary-glow-strong: rgba(8, 145, 178, 0.22);
  --color-border-active: rgba(8, 145, 178, 0.42);
}

.page-home .home-hero__eyebrow,
.page-news .news-index__eyebrow,
.page-news .news-item__kicker,
.page-news .news-item__more {
  color: var(--strimi-accent-dark);
}

.page-home .hero__title-highlight,
.page-match .match-hero__title .match-hero__vs {
  color: var(--strimi-accent);
}

.page-home .seo-intro__checks li::before {
  background: var(--strimi-accent);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.page-home .seo-feature-card--signal .seo-feature-icon {
  background: #ecfeff;
  color: var(--strimi-accent);
}

.page-home .seo-feature-card--signal .seo-feature-icon svg,
.page-home .seo-heading svg {
  stroke: var(--strimi-accent);
}

.page-home .seo-feature-card--signal .seo-feature-icon svg [fill="var(--color-primary)"] {
  fill: var(--strimi-accent);
}

.page-home .timeline-wrapper--agenda .timeline-countdown,
.page-home .home-schedule-heading__label {
  color: var(--strimi-accent-dark);
}

.page-news .news-item:hover {
  border-color: rgba(8, 145, 178, 0.38);
}

.page-news .news-item--lead {
  background:
    linear-gradient(180deg, rgba(8, 145, 178, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.page-news .news-article--editorial {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
}

.page-news .news-article--editorial::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--strimi-accent), rgba(34, 211, 238, 0.2));
  content: "";
}

.page-news .news-article--editorial .news-article__header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.75);
}

.page-news .news-article__avatar {
  background: linear-gradient(135deg, var(--strimi-accent), var(--strimi-accent-dark));
}

.page-news .news-article__source-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-news .news-article__footer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(203, 213, 225, 0.75);
}

.page-news .reklama-inline {
  border-color: rgba(8, 145, 178, 0.28);
  background: #ecfeff;
  color: var(--strimi-accent-dark);
}

.page-match .match-hero--strimi {
  position: relative;
  border-color: rgba(8, 145, 178, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 255, 0.72)),
    #ffffff;
}

.page-match .match-hero--strimi::before {
  position: absolute;
  inset: 0 14px auto;
  height: 3px;
  border-radius: 999px;
  background: var(--strimi-accent);
  content: "";
}

.page-match .match-hero--strimi .match-hero__teams {
  border-top-color: rgba(8, 145, 178, 0.16);
}

.page-match .match-hero--strimi .match-hero__center {
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.22);
}

.page-match .match-hero--strimi .match-hero__time,
.page-match .match-hero--strimi .match-hero__score {
  color: #0f172a;
}

.page-match .section-nav__link:hover {
  background: rgba(8, 145, 178, 0.08);
}

.page-match .section-nav__link svg,
.page-match .match-fact-card__icon,
.page-match .article-content > .section-heading:first-child::before {
  color: var(--strimi-accent);
}

.page-match .bookmaker-card:hover {
  border-color: rgba(8, 145, 178, 0.38);
  background: #f0fdff;
}

.page-match .bookmaker-card__cta {
  background: var(--strimi-accent);
  color: #ffffff;
}

.page-match .bookmaker-card:hover .bookmaker-card__cta {
  background: var(--strimi-accent-dark);
}

.page-match .bookmaker-card__logo-fallback {
  background: #ecfeff;
  color: var(--strimi-accent-dark);
}

.page-match .badge--sport,
.page-match .badge--free {
  background: #ecfeff;
  color: var(--strimi-accent-dark);
  border-color: rgba(8, 145, 178, 0.22);
}
