/* ==========================================================================
   home.css — strona główna
   Wymaga: variables.css, layout.css
   ========================================================================== */

.home-page {
  width: 100%;
}

html:not([data-device="phone"]) .site-main:has(.home-page) {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-24);
  padding-inline: 0;
  padding-bottom: var(--space-48);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  align-items: start;
  gap: var(--space-32);
  width: 100%;
  max-width: 1400px;
  text-align: left;
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  min-width: 0;
}

.home-hero__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-sans);
  font-size: 72px;
  font-weight: var(--fw-700);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.home-hero__tagline {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(var(--fs-14), 2vw, var(--fs-18));
  font-weight: var(--fw-400);
  color: var(--muted);
}

.home-hero__hits {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
  margin: 0;
  font-size: clamp(var(--fs-16), 2.4vw, var(--fs-22));
  font-weight: var(--fw-400);
  line-height: var(--lh-snug);
  color: var(--fg);
}

.home-hero__hits[hidden] {
  display: none !important;
}

.home-hero__hits-prefix,
.home-hero__hits-suffix {
  font-size: clamp(var(--fs-14), 2vw, var(--fs-18));
  font-weight: var(--fw-400);
  line-height: 1.55;
  color: var(--muted);
}

.home-hero__hits-number {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--fw-700);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.home-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-10);
  width: 100%;
  max-width: 1400px;
  grid-column: 1 / -1;
}

.home-mode-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--space-12);
  min-height: 104px;
  padding: var(--space-8) var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-12);
  background: var(--surface-1);
  text-align: left;
}

.home-mode-box__left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
}

.home-mode-box__icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.home-mode-box__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-6);
}

.home-mode-box__count {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: var(--fw-700);
  line-height: 1;
  color: var(--fg);
}

.home-mode-box__label {
  font-size: var(--fs-13);
  font-weight: var(--fw-700);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
}

.home-mode-box__suffix {
  font-size: 10px;
  font-weight: var(--fw-400);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-hero__actions {
  margin-top: var(--space-40);
  margin-bottom: var(--space-40);
  display: flex;
  align-items: stretch;
  gap: var(--space-12);
  width: 100%;
  max-width: 520px;
}

.home-hero__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
  width: 100%;
}

.home-lamaki {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  width: 100%;
  min-width: 0;
  text-align: left;
}

.home-lamaki__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  min-width: 0;
}

.home-lamaki__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: var(--fw-400);
  line-height: var(--lh-snug);
  color: var(--fg);
  text-transform: uppercase;
}

.home-lamaki__title-text {
  min-width: 0;
}

.home-lamaki__title-icons {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
}

.home-lamaki__title-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.home-lamaki__title-icon-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.home-lamaki__nav-group {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-shrink: 0;
}

.home-lamaki__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-1);
  color: var(--fg);
  cursor: pointer;
  transition:
    background-color var(--dur-2) var(--ease-out),
    opacity var(--dur-2) var(--ease-out);
}

.home-lamaki__nav:hover {
  opacity: 0.85;
}

.home-lamaki__nav:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.home-lamaki__viewport {
  position: relative;
  width: 100%;
  min-width: 0;
}

.home-lamaki__slide {
  width: 100%;
  min-width: 0;
}

.home-lamaki__slide[hidden] {
  display: none !important;
}

.home-lamaki__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  min-width: 0;
  padding: var(--space-14) var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-12);
  background: var(--surface-1);
}

.home-lamaki__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
}

.home-lamaki__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

.home-lamaki__date {
  font-weight: var(--fw-600);
  color: var(--fg);
}

.home-lamaki__league {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.home-lamaki__league-logo,
.home-lamaki__crest {
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-lamaki__league-logo {
  width: 14px;
  height: 14px;
}

.home-lamaki__crest {
  width: 22px;
  height: 22px;
}

html[data-theme="dark"] .home-lamaki__league-logo--light,
html[data-theme="dark"] .home-lamaki__crest--light {
  display: none;
}

html[data-theme="light"] .home-lamaki__league-logo--dark,
html:not([data-theme]) .home-lamaki__league-logo--dark,
html[data-theme="light"] .home-lamaki__crest--dark,
html:not([data-theme]) .home-lamaki__crest--dark {
  display: none;
}

.home-lamaki__league-name,
.home-lamaki__team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-lamaki__score-head,
.home-lamaki__goals {
  display: grid;
  grid-template-columns: 28px 28px;
  justify-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.home-lamaki__score-head {
  font-size: 10px;
  font-weight: var(--fw-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-lamaki__match {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.home-lamaki__team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
}

.home-lamaki__team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-lamaki__team-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fg);
}

.home-lamaki__goal {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-score);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-lamaki__goal--ht {
  color: var(--muted);
}

.home-lamaki__goal--ft {
  color: var(--fg);
}

.home-lamaki__pick-row {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  min-width: 0;
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
}

.home-lamaki__pick-row .match-pick-prob {
  flex: 0 0 auto;
  overflow: visible;
}

.home-lamaki__pick-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: var(--fs-16);
  font-weight: var(--fw-500);
  line-height: 1.25;
  color: var(--fg);
  text-align: center;
}

.home-lamaki__pick-title--hit {
  color: #6cd896;
}

.home-lamaki__odd-btn {
  flex: 0 0 auto;
  margin-left: auto;
}

/* Trafiony lamak: pełny kolor przycisku + check (bez „disabled fade”) */
.home-lamaki .match-pick-odd:disabled,
.home-lamaki .match-pick-odd--hit:disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

.home-lamaki .match-pick-odd--hit {
  background: #0000000d;
  border-color: var(--border);
  color: var(--fg);
}

html[data-theme="dark"] .home-lamaki .match-pick-odd--hit {
  background: #ffffff0d;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--fg);
}

/* Papryka przy perfect setup — po lewej; checkmark tylko na kursie */
.home-lamaki .htft-setup-fire {
  display: none;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  pointer-events: none;
  transform: translate(-24%, 2%);
}

.home-lamaki .htft-setup-fire__icon {
  display: block;
  font-size: 12px;
  line-height: 1;
  color: #333333;
}

html[data-theme="dark"] .home-lamaki .htft-setup-fire__icon {
  color: #ffffff;
}

.home-lamaki .match-pick-prob--setup-hint .htft-setup-fire {
  display: flex;
}

.home-lamaki__empty {
  margin: 0;
  padding: var(--space-14) var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-12);
  background: var(--surface-1);
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.home-hero__btn {
  flex: 1 1 0;
  min-width: 0;
  height: 60px;
  min-height: 60px;
  padding: 0 var(--space-12);
  font-size: var(--fs-16);
  text-align: center;
}

.home-hero__btn--start {
  background: #ffffff;
  color: #333333;
  border: 1px solid var(--border);
}

.home-hero__btn--compare {
  background: #333333;
  color: #ffffff;
}

.home-hero__actions .home-hero__btn--compare {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-hero__actions .home-hero__btn--compare .home-hero__btn-label {
  position: relative;
  z-index: 1;
}

.home-hero__btn-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__btn-watermark > span {
  position: absolute;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: image-set(
    url("/img/FILTERS/snipermode.webp") type("image/webp"),
    url("/img/FILTERS/snipermode.png") type("image/png")
  );
  transform-origin: center center;
  opacity: 0.24;
}

.home-hero__btn-watermark > span:nth-child(1) {
  left: 3%;
  top: 5px;
  width: 17px;
  height: 17px;
  transform: rotate(-16deg);
}

.home-hero__btn-watermark > span:nth-child(2) {
  left: 12%;
  top: 31px;
  width: 12px;
  height: 12px;
  transform: rotate(12deg);
  opacity: 0.2;
}

.home-hero__btn-watermark > span:nth-child(3) {
  left: 20%;
  top: 8px;
  width: 15px;
  height: 15px;
  transform: rotate(22deg);
}

.home-hero__btn-watermark > span:nth-child(4) {
  left: 29%;
  top: 27px;
  width: 13px;
  height: 13px;
  transform: rotate(-10deg);
  opacity: 0.18;
}

.home-hero__btn-watermark > span:nth-child(5) {
  left: 38%;
  top: 4px;
  width: 18px;
  height: 18px;
  transform: rotate(-24deg);
}

.home-hero__btn-watermark > span:nth-child(6) {
  left: 47%;
  top: 30px;
  width: 11px;
  height: 11px;
  transform: rotate(16deg);
  opacity: 0.17;
}

.home-hero__btn-watermark > span:nth-child(7) {
  left: 54%;
  top: 10px;
  width: 16px;
  height: 16px;
  transform: rotate(6deg);
}

.home-hero__btn-watermark > span:nth-child(8) {
  left: 63%;
  top: 28px;
  width: 14px;
  height: 14px;
  transform: rotate(-20deg);
  opacity: 0.19;
}

.home-hero__btn-watermark > span:nth-child(9) {
  left: 71%;
  top: 6px;
  width: 12px;
  height: 12px;
  transform: rotate(28deg);
}

.home-hero__btn-watermark > span:nth-child(10) {
  left: 79%;
  top: 32px;
  width: 17px;
  height: 17px;
  transform: rotate(-12deg);
  opacity: 0.16;
}

.home-hero__btn-watermark > span:nth-child(11) {
  left: 87%;
  top: 9px;
  width: 13px;
  height: 13px;
  transform: rotate(4deg);
  opacity: 0.15;
}

.home-hero__btn-watermark > span:nth-child(12) {
  left: 94%;
  top: 26px;
  width: 15px;
  height: 15px;
  transform: rotate(-30deg);
  opacity: 0.21;
}

html[data-theme="dark"] .home-hero__btn--start {
  background: #333333;
  color: #ffffff;
  border: 1px solid var(--border);
}

html[data-theme="dark"] .home-hero__btn--compare {
  background: #ffffff;
  color: #333333;
}

html[data-theme="dark"] .home-hero__actions .home-hero__btn--compare .home-hero__btn-watermark > span {
  opacity: 0.14;
}

/* --- Galeria ostatnich trafień --- */
.home-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
  width: 100%;
}

.home-gallery__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  min-width: 0;
}

.home-gallery__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: var(--fw-400);
  line-height: var(--lh-snug);
  color: var(--fg);
  text-transform: uppercase;
}

.home-gallery__title-text {
  min-width: 0;
}

.home-gallery__title-icons {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
}

.home-gallery__title-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.home-gallery__title-icon-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

html[data-theme="dark"] .home-gallery__title-icon-img--light {
  display: none;
}

html[data-theme="light"] .home-gallery__title-icon-img--dark,
html:not([data-theme]) .home-gallery__title-icon-img--dark {
  display: none;
}

.home-gallery__nav-group {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-shrink: 0;
}

.home-gallery__frame {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  width: 100%;
}

.home-gallery__viewport {
  min-width: 0;
  width: 100%;
}

.home-gallery__track {
  position: relative;
  width: 100%;
}

.home-gallery__slide {
  width: 100%;
}

.home-gallery__slide:not(.is-active) {
  display: none;
}

.home-gallery__card {
  width: 100%;
}

.home-gallery__card--pending .home-gallery__card-shell {
  min-height: 248px;
}

.home-gallery__card-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-10);
  background: var(--surface-1);
  overflow: hidden;
}

html[data-theme="dark"] .home-gallery__card-shell {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.12);
}

.home-gallery__card .home-gallery-match {
  width: 100%;
  max-width: none;
}

/* Top analizy: kurs wygląda normalnie, ale nie da się kliknąć (kalkulator) */
.home-gallery .match-pick-odd {
  pointer-events: none;
  cursor: default;
}

.home-gallery .match-pick-odd:hover,
.home-gallery .match-pick-odd:active {
  transform: none;
}

.home-gallery__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-1);
  color: var(--fg);
  cursor: pointer;
  transition:
    background-color var(--dur-2) var(--ease-out),
    opacity var(--dur-2) var(--ease-out);
}

.home-gallery__nav:hover {
  opacity: 0.85;
}

.home-gallery__nav:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.home-gallery--logo-only {
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 42vw, 440px);
}

.home-gallery__logo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;
}

.home-gallery__logo {
  display: block;
  width: auto;
  height: 255px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

html[data-theme="dark"] .home-gallery__logo--light {
  display: none;
}

html[data-theme="light"] .home-gallery__logo--dark,
html:not([data-theme]) .home-gallery__logo--dark {
  display: none;
}

@media (max-width: 1023px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

/* --- Sprawdź kupon (podgląd na stronie głównej) --- */
.home-coupon-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(760px, 54vw));
  align-items: center;
  gap: clamp(var(--space-32), 5vw, var(--space-48));
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
}

.home-coupon-check__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
  max-width: 52ch;
  padding-right: clamp(0px, 2vw, var(--space-16));
}

.home-coupon-check__preview {
  position: relative;
  min-width: 0;
  width: 100%;
  justify-self: end;
}

.home-coupon-check__device {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-16);
  background: var(--surface-1);
  box-shadow:
    0 24px 48px color-mix(in srgb, var(--fg) 10%, transparent),
    0 0 0 1px color-mix(in srgb, var(--border) 60%, transparent);
  pointer-events: none;
  user-select: none;
}

html[data-theme="dark"] .home-coupon-check__device {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.home-coupon-check__device-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: 52px;
  padding: 0 var(--space-16);
  border-bottom: 1px solid var(--border);
  background: var(--odds-calculator-header-bg, #ececec);
  color: #333;
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  font-weight: var(--fw-700);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

html[data-theme="dark"] .home-coupon-check__device-header {
  color: rgba(255, 255, 255, 0.88);
}

.home-coupon-check__device-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 var(--space-6);
  border-radius: 6px;
  background: var(--odds-calculator-count-bg, #dcdcdc);
  color: var(--odds-calculator-count-fg, rgba(20, 20, 20, 0.72));
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.home-coupon-check__device-body {
  max-height: 540px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

.home-coupon-check__audit {
  padding: var(--space-14) var(--space-14) var(--space-32);
}

.home-coupon-check__audit .coupon-audit__score-ring {
  width: 64px;
  height: 64px;
}

.home-coupon-check__audit .coupon-audit__score-value {
  font-size: 20px;
}

.home-coupon-check__audit .coupon-audit__hero {
  padding: var(--space-12);
}

.home-coupon-check__audit .coupon-audit__suggestion-apply {
  pointer-events: none;
}

.home-coupon-check__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: var(--fw-700);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.home-coupon-check__description,
.home-coupon-check__note {
  margin: 0;
  font-size: clamp(var(--fs-14), 2vw, var(--fs-16));
  font-weight: var(--fw-400);
  line-height: 1.55;
  color: var(--muted);
}

.home-coupon-check__note {
  color: var(--fg);
  font-weight: var(--fw-600);
  margin-top: var(--space-4);
}

@media (max-width: 1023px) {
  .home-coupon-check {
    grid-template-columns: 1fr;
    gap: var(--space-28);
  }

  .home-coupon-check__content {
    max-width: none;
    padding-right: 0;
  }

  .home-coupon-check__preview {
    justify-self: stretch;
  }

  .home-coupon-check__device-body {
    max-height: 440px;
  }
}

/* --- Statystyki (podgląd na stronie głównej) --- */
.home-statistics {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(var(--space-24), 4vw, var(--space-40));
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
}

.home-statistics__media {
  position: relative;
  min-width: 0;
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius-16);
}

.home-statistics__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 88%, transparent) 28%,
    color-mix(in srgb, var(--bg) 72%, transparent) 40%,
    color-mix(in srgb, var(--bg) 54%, transparent) 52%,
    color-mix(in srgb, var(--bg) 36%, transparent) 64%,
    color-mix(in srgb, var(--bg) 18%, transparent) 76%,
    transparent 100%
  );
}

.home-statistics__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 960 / 500;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  border: 0;
}

.home-statistics__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
}

.home-statistics__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: var(--fw-700);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg);
}

.home-statistics__description,
.home-statistics__note {
  margin: 0;
  font-size: clamp(var(--fs-14), 2vw, var(--fs-16));
  font-weight: var(--fw-400);
  line-height: 1.65;
  color: var(--muted);
}

.home-statistics__note {
  color: var(--fg);
}

@media (max-width: 1023px) {
  .home-statistics {
    grid-template-columns: 1fr;
  }

  .home-statistics__content {
    order: -1;
  }
}

/* --- Gry na stronie głównej --- */
.home-games {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
  padding-bottom: var(--space-24);
}

.home-games__header {
  margin-bottom: var(--space-24);
  max-width: 52ch;
}

.home-games__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: var(--fw-700);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.home-games .games-lobby__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-games .games-lobby__card:hover {
  transform: translateY(-2px);
}

.home-games .games-lobby__card-media {
  aspect-ratio: 16 / 9;
}

.home-games .games-lobby__card-image {
  padding: var(--space-12);
}

.home-games .games-lobby__card-media--pair .games-lobby__card-image--pair {
  padding: var(--space-8);
}

.home-games .games-lobby__card-body {
  gap: var(--space-8);
  padding: var(--space-12) var(--space-12) var(--space-16);
}

.home-games .games-lobby__card-icon {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.home-games .games-lobby__card-title {
  font-size: var(--fs-14);
}

.home-games .games-lobby__card-description {
  display: none;
}

.home-games .games-lobby__card-action {
  min-height: 36px;
  margin-top: 0;
  padding: var(--space-8) var(--space-10);
  font-size: var(--fs-12);
}

.home-games__carousel {
  width: 100%;
}

.home-games__viewport {
  width: 100%;
}

.home-games__indicators {
  display: none;
}

@media (max-width: 900px) {
  .home-games .games-lobby__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-16);
  }
}

@media (max-width: 640px) {
  .home-games .games-lobby__grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
}

/* --- Współpraca na stronie głównej --- */
.home-cooperation {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: var(--space-32) var(--space-48);
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
}

.home-cooperation__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
  max-width: 52ch;
}

.home-cooperation__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: var(--fw-700);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg);
}

.home-cooperation__subtitle {
  margin: 0;
  font-size: clamp(var(--fs-16), 2.2vw, var(--fs-20));
  font-weight: var(--fw-600);
  line-height: 1.45;
  color: var(--fg);
}

.home-cooperation__lead {
  margin: 0;
  font-size: clamp(var(--fs-14), 2vw, var(--fs-16));
  font-weight: var(--fw-400);
  line-height: 1.65;
  color: var(--muted);
}

.home-cooperation__platforms {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  margin-top: var(--space-4);
}

.home-cooperation__platforms-label {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: var(--fw-600);
  line-height: 1.45;
  color: var(--fg);
}

.home-cooperation__platforms-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 420px;
}

.home-cooperation__platform {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
  min-height: 56px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-1);
}

html[data-theme="dark"] .home-cooperation__platform {
  border-color: rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
}

.home-cooperation__platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 22px;
}

.home-cooperation__platform--discord .home-cooperation__platform-icon {
  background: #5865f2;
}

.home-cooperation__platform--telegram .home-cooperation__platform-icon {
  background: #2aabee;
}

.home-cooperation__platform-name {
  font-size: var(--fs-15);
  font-weight: var(--fw-700);
  letter-spacing: -0.01em;
  color: var(--fg);
}

.home-cooperation__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-20);
  margin-top: var(--space-8);
}

.home-cooperation__cta-text {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: var(--fw-400);
  line-height: 1.65;
  color: var(--muted);
}

.home-cooperation__cta-link {
  font-weight: var(--fw-600);
  color: var(--fg);
  text-decoration: none;
  transition: color var(--dur-2) var(--ease-out);
}

.home-cooperation__cta-link:hover {
  color: #e1306c;
}

.home-cooperation__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  min-height: 44px;
  padding: 0 var(--space-20);
  font-size: var(--fs-14);
  text-transform: none;
}

.home-cooperation__btn:hover {
  opacity: 0.92;
}

.home-cooperation__btn:active {
  transform: scale(0.98);
}

.home-cooperation__btn:focus-visible,
.home-cooperation__cta-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-8);
}

.home-cooperation__rotator {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  width: 100%;
  min-width: 0;
  justify-self: end;
  align-self: start;
}

.home-cooperation__progress {
  display: flex;
  flex-direction: row;
  gap: 3px;
  width: 100%;
  max-width: 608px;
  height: 4px;
  margin-left: auto;
}

.home-cooperation__progress-segment {
  flex: 1;
  min-width: 0;
  height: 100%;
  border-radius: 50px;
  background: color-mix(in srgb, var(--border) 55%, transparent);
  overflow: hidden;
}

.home-cooperation__progress-segment::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #333333;
  transform-origin: left center;
}

html[data-theme="dark"] .home-cooperation__progress-segment::before {
  background: #ffffff;
}

.home-cooperation__progress-segment.is-complete::before {
  width: 100%;
}

.home-cooperation__progress-segment.is-active::before {
  animation: home-coop-rotator-progress var(--home-coop-rotator-duration, 3.8s) linear forwards;
}

.home-cooperation__rotator.is-paused .home-cooperation__progress-segment.is-active::before {
  animation-play-state: paused;
}

@keyframes home-coop-rotator-progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.home-cooperation__viewport {
  position: relative;
  width: 100%;
  height: clamp(10rem, 24vw, 14rem);
  min-height: clamp(10rem, 24vw, 14rem);
  flex-shrink: 0;
}

.home-cooperation__line {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0;
  text-align: right;
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 7.5vw, 5rem);
  font-weight: var(--fw-700);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out);
  pointer-events: none;
}

.home-cooperation__line.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .home-cooperation__line {
    transform: none;
    transition: opacity 200ms ease;
  }

  .home-cooperation__line.is-active {
    opacity: 1;
  }

  .home-cooperation__progress {
    display: none;
  }
}

@media (max-width: 1023px) {
  .home-cooperation {
    grid-template-columns: 1fr;
    gap: var(--space-32);
    align-items: start;
  }

  .home-cooperation__content {
    max-width: none;
  }

  .home-cooperation__rotator {
    justify-self: stretch;
  }

  .home-cooperation__progress {
    margin-left: 0;
    max-width: 100%;
  }

  .home-cooperation__line {
    text-align: left;
  }

  .home-cooperation__btn {
    width: 100%;
  }
}

/* --- Plany Starter / Plus / Pro --- */
.home-pricing {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
  scroll-margin-top: calc(var(--site-top-offset, 96px) + var(--space-16));
}

.home-pricing__header,
#homePricingTitle {
  scroll-margin-top: calc(var(--site-top-offset, 96px) + var(--space-16));
}

.home-pricing__grid {
  scroll-margin-top: calc(var(--site-top-offset, 96px) + var(--space-16));
}

.home-pricing__header {
  margin-bottom: var(--space-28);
  max-width: 52ch;
}

.home-pricing__title {
  margin: 0 0 var(--space-12);
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: var(--fw-700);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.home-pricing__subtitle {
  margin: 0;
  font-size: clamp(var(--fs-14), 2vw, var(--fs-18));
  font-weight: var(--fw-400);
  line-height: 1.55;
  color: var(--muted);
}

.home-pricing__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.28fr) minmax(240px, 0.92fr);
  gap: var(--space-20);
  align-items: end;
  padding-top: var(--space-20);
  overflow: visible;
}

.home-pricing__carousel {
  width: 100%;
}

.home-pricing__viewport {
  width: 100%;
}

.home-pricing__carousel,
.home-pricing__viewport,
.home-pricing__slide {
  display: contents;
}

.home-pricing__indicators {
  display: none;
}

.home-pricing-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  min-width: 0;
  padding: var(--space-24);
  border: 1px solid var(--border);
  border-radius: var(--radius-16);
  background: var(--surface-1);
}

.home-pricing-card--tester {
  min-height: clamp(28rem, 42vw, 34rem);
}

.home-pricing-card--pro {
  min-height: clamp(28rem, 42vw, 34rem);
}

.home-pricing-card--tester,
.home-pricing-card--pro {
  gap: var(--space-20);
  padding: var(--space-32) var(--space-28);
  border: 1px solid var(--border);
  background: var(--surface-1);
  overflow: visible;
}

.home-pricing-card__head--side {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-14);
  width: 100%;
  padding-bottom: var(--space-20);
  margin: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
}

.home-pricing-card--tester .home-pricing-card__name,
.home-pricing-card--pro .home-pricing-card__name {
  font-size: clamp(1.35rem, 2.4vw, 1.625rem);
  line-height: 1.15;
}

.home-pricing-card--tester .home-pricing-card__amount,
.home-pricing-card--pro .home-pricing-card__amount {
  font-size: clamp(1.35rem, 2.4vw, 1.625rem);
}

.home-pricing-card__price--trial {
  text-align: left;
}

.home-pricing-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  flex: 1;
}

.home-pricing-card__copy {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: var(--fw-400);
  line-height: 1.6;
  color: var(--fg);
}

.home-pricing-card--tester .home-pricing-card__lead,
.home-pricing-card--pro .home-pricing-card__lead {
  margin: 0;
  font-size: var(--fs-14);
  font-weight: var(--fw-500);
  line-height: 1.55;
}

.home-pricing-card--tester .home-pricing-card__list,
.home-pricing-card--pro .home-pricing-card__list {
  gap: var(--space-10);
}

.home-pricing-card--tester .home-pricing-card__list li,
.home-pricing-card--pro .home-pricing-card__list li {
  padding-left: 1.1em;
  font-size: var(--fs-14);
  line-height: 1.5;
}

.home-pricing-card--tester .home-pricing-card__note,
.home-pricing-card--pro .home-pricing-card__note {
  margin: 0;
  padding-top: var(--space-4);
}

.home-pricing-card--pro-plus {
  position: relative;
  z-index: 1;
  min-height: clamp(32rem, 48vw, 38rem);
  gap: var(--space-24);
  padding: var(--space-32) var(--space-28);
  margin-top: calc(-1 * var(--space-16));
  overflow: visible;
  border-color: color-mix(in srgb, var(--fg) 28%, var(--border));
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--fg) 5%, var(--surface-1)) 0%, var(--surface-1) 42%),
    var(--surface-1);
  box-shadow:
    0 22px 48px color-mix(in srgb, var(--fg) 10%, transparent),
    0 0 0 1px color-mix(in srgb, var(--fg) 6%, transparent);
}

.home-pricing-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  align-self: flex-start;
  margin: 0;
  padding: var(--space-6) var(--space-12);
  border-radius: 999px;
  background: #333333;
  color: #ffffff;
  font-size: var(--fs-12);
  font-weight: var(--fw-700);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

html[data-theme="dark"] .home-pricing-card__badge {
  background: #ffffff;
  color: #333333;
}

.home-pricing-card__badge i {
  font-size: 0.95em;
  color: #ff8a3d;
}

html[data-theme="dark"] .home-pricing-card__badge i {
  color: #ff9f5a;
}

.home-pricing-card__badge-icon {
  display: block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.home-pricing-card__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.home-pricing-card--tester .home-pricing-card__head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.home-pricing-card__name {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-700);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.home-pricing-card__name-text {
  min-width: 0;
}

.home-pricing-card__name-icons {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
}

.home-pricing-card__name-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-pricing-card--pro-plus .home-pricing-card__name {
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
}

.home-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  margin: 0;
  white-space: nowrap;
}

.home-pricing-card__amount {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-700);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.home-pricing-card--pro-plus .home-pricing-card__amount {
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
}

.home-pricing-card__period {
  font-size: var(--fs-14);
  font-weight: var(--fw-400);
  color: var(--muted);
}

.home-pricing-card__lead {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: var(--fw-500);
  line-height: 1.5;
  color: var(--fg);
}

.home-pricing-card__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.home-pricing-card__block--exclusive {
  flex: 1;
  padding: var(--space-16);
  border-radius: var(--radius-12);
  background: color-mix(in srgb, var(--fg) 4%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  overflow: visible;
}

.home-pricing-card__list--pro-plus,
.home-pricing-card__list--pro-plus-cats {
  gap: var(--space-12);
}

.home-pricing-card__cats-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-10) var(--space-20);
  align-items: start;
}

.home-pricing-card__cats-cols .home-pricing-card__list--pro-plus-cats {
  min-width: 0;
}

.home-pricing-card__list--pro-plus li.home-pricing-card__feat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  padding-left: 0;
  font-size: var(--fs-15);
  font-weight: var(--fw-600);
  line-height: 1.45;
}

.home-pricing-card__feat i {
  flex-shrink: 0;
  margin-top: 0.2em;
  font-size: 0.85em;
  color: #333333;
}

html[data-theme="dark"] .home-pricing-card__feat i {
  color: #ffffff;
}

.home-pricing-card__variants.home-pricing-card__feat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  margin: 0;
  padding-top: var(--space-4);
  font-size: var(--fs-15);
  font-weight: var(--fw-600);
  line-height: 1.45;
  color: var(--fg);
}

.home-pricing-card__tagline {
  margin: 0;
  padding-top: var(--space-12);
  border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  font-size: var(--fs-13);
  font-weight: var(--fw-500);
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.home-pricing-card__tip {
  position: relative;
  display: inline-block;
  max-width: 100%;
  outline: none;
}

.home-pricing-card__tip:hover,
.home-pricing-card__tip:focus-visible {
  z-index: 31;
}

.home-pricing-card__tip-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: min(18rem, calc(100vw - 2rem));
  padding: var(--space-12) var(--space-14);
  border: 1px solid var(--border);
  border-radius: var(--radius-12);
  background: var(--surface-1);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--fg) 14%, transparent);
  color: var(--fg);
  font-size: var(--fs-13);
  font-weight: var(--fw-400);
  line-height: 1.55;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity var(--dur-2) var(--ease-out),
    visibility var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}

html[data-theme="dark"] .home-pricing-card__tip-panel {
  background: #1f1f1f;
  border-color: color-mix(in srgb, #ffffff 12%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.home-pricing-card__tip:hover .home-pricing-card__tip-panel,
.home-pricing-card__tip:focus-visible .home-pricing-card__tip-panel,
.home-pricing-card__tip:focus-within .home-pricing-card__tip-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-pricing-card__extra {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}

.home-pricing-card__label,
.home-pricing-card__sublabel {
  margin: 0;
  font-size: var(--fs-12);
  font-weight: var(--fw-700);
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-pricing-card__list,
.home-pricing-card__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.home-pricing-card__list li {
  position: relative;
  padding-left: 1.15em;
  font-size: var(--fs-14);
  font-weight: var(--fw-400);
  line-height: 1.45;
  color: var(--fg);
}

.home-pricing-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.home-pricing-card__list.home-pricing-card__list--pro-plus li::before,
.home-pricing-card__list.home-pricing-card__list--pro-plus-cats li::before {
  content: none;
}

.home-pricing-card__list.home-pricing-card__list--pro-plus li,
.home-pricing-card__list.home-pricing-card__list--pro-plus-cats li {
  padding-left: 0;
  font-size: var(--fs-14);
  font-weight: var(--fw-500);
  line-height: 1.45;
}

.home-pricing-card__list--highlight li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  padding-left: 0;
  font-size: var(--fs-14);
  font-weight: var(--fw-600);
}

.home-pricing-card__list--highlight li::before {
  content: none;
}

.home-pricing-card__list--highlight i {
  flex-shrink: 0;
  margin-top: 0.15em;
  font-size: 0.85em;
  color: #333333;
}

html[data-theme="dark"] .home-pricing-card__list--highlight i {
  color: #ffffff;
}

.home-pricing-card__subgroup {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}

.home-pricing-card__sublist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8) var(--space-16);
}

.home-pricing-card__sublist li {
  font-size: var(--fs-13);
  font-weight: var(--fw-400);
  line-height: 1.4;
  color: var(--muted);
}

.home-pricing-card__note {
  margin: 0;
  font-size: var(--fs-13);
  font-weight: var(--fw-400);
  line-height: 1.5;
  color: var(--muted);
}

.home-pricing-card__cta {
  margin-top: auto;
  width: 100%;
  max-width: none;
  flex: none;
  text-decoration: none;
}

@media (max-width: 1023px) {
  .home-pricing__grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .home-pricing-card--pro-plus,
  .home-pricing-card--pro,
  .home-pricing-card--tester {
    min-height: 0;
  }

  .home-pricing-card--pro-plus {
    margin-top: 0;
    padding: var(--space-24);
  }

  .home-pricing-card--tester,
  .home-pricing-card--pro {
    align-self: stretch;
    padding: var(--space-28) var(--space-24);
  }

  .home-pricing-card__sublist {
    grid-template-columns: 1fr;
  }
}

/* --- SPOŁECZNOŚĆ --- */
.home-community {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
}

.home-community__title {
  margin: 0 0 var(--space-20);
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.home-community__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-16);
}

.home-community__carousel,
.home-community__viewport,
.home-community__track,
.home-community__slide {
  display: contents;
}

.home-community-card {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-16);
  overflow: hidden;
  background: var(--surface-1);
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}

.home-community-card__img {
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}

.home-community-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: 0;
  min-width: 0;
}

.home-community-card__name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-13);
  font-weight: var(--fw-700);
  line-height: 1.2;
  color: var(--fg);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-community-card__handle {
  margin: 0;
  font-size: var(--fs-12);
  font-weight: var(--fw-600);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-community-card__followers {
  margin: 0;
  font-size: 11px;
  font-weight: var(--fw-600);
  color: var(--fg);
}

.home-community-join {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-16);
  min-height: 100%;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-16);
  background: var(--surface-1);
  grid-column: span 2;
}

.home-community-join__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 35%, var(--surface-2));
}

.home-community-join__plus {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: var(--fw-400);
  line-height: 1;
  color: var(--fg);
}

.home-community-join__meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
}

.home-community-join__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-13);
  font-weight: var(--fw-700);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--fg);
}

.home-community-join__subtitle {
  margin: 0;
  font-size: var(--fs-12);
  font-weight: var(--fw-600);
  line-height: 1.3;
  color: var(--muted);
}

.home-community-join__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  padding: 0 var(--space-20);
  border-radius: var(--radius-pill);
  font-size: var(--fs-14);
  font-weight: var(--fw-600);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  background: #333333;
  color: #ffffff;
  transition: opacity var(--dur-2) var(--ease-out);
}

.home-community-join__btn:hover {
  opacity: 0.92;
}

html[data-theme="dark"] .home-community-join__btn {
  background: #ffffff;
  color: #333333;
}

@media (max-width: 1023px) {
  .home-community__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-community-join {
    grid-column: span 2;
  }
}

@media (max-width: 519px) {
  .home-community__grid {
    grid-template-columns: 1fr;
  }

  .home-community-join {
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-column: span 1;
  }

  .home-community-join__meta {
    flex: none;
    align-items: center;
  }

  .home-community-join__btn {
    width: 100%;
  }
}

/* --- Draft (podgląd na stronie głównej) --- */
.home-draft {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
}

.home-draft__title {
  margin: 0 0 var(--space-20);
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.home-draft__description {
  margin: 0 0 var(--space-24);
  max-width: 86ch;
  font-size: var(--fs-16);
  font-weight: var(--fw-400);
  line-height: 1.65;
  color: var(--muted);
}

.home-draft-preview {
  pointer-events: none;
  user-select: none;
}

.home-draft-preview .draft-filters {
  margin-bottom: 0;
}

.home-draft-preview .draft-stepper__btn,
.home-draft-preview .draft-range-field__btn,
.home-draft-preview .draft-range-field__preset,
.home-draft-preview .draft-multiselect__trigger,
.home-draft-preview .draft-random-toggle__btn,
.home-draft-preview .draft-filters__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  cursor: default;
}

.home-draft-preview .draft-range-field__input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1;
}

html[data-theme="dark"] .home-draft-preview .draft-range-field__input {
  background: var(--draft-control-bg);
  border-color: var(--draft-control-border);
  color: var(--draft-control-color);
}

html[data-theme="dark"] .home-draft-preview .draft-range-field__preset {
  background: var(--draft-control-bg);
  border-color: var(--draft-control-border);
  color: var(--draft-control-color);
}

/* --- ChiliWrap (podgląd na stronie głównej) --- */
.home-wingman {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 760px);
  align-items: stretch;
  gap: var(--space-32);
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: var(--space-80);
}

.home-wingman__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.home-wingman__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  margin: 0 0 var(--space-20);
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: var(--fw-700);
  line-height: 1.15;
  text-transform: uppercase;
}

.home-wingman__title-text {
  min-width: 0;
}

.home-wingman__lead {
  margin: 0 0 var(--space-16);
  max-width: 52ch;
  font-size: var(--fs-16);
  font-weight: var(--fw-400);
  line-height: 1.55;
  color: var(--muted);
}

.home-wingman__points-rotator {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.home-wingman__points-progress {
  display: flex;
  flex-direction: row;
  gap: 3px;
  width: 100%;
  height: 4px;
  flex-shrink: 0;
}

.home-wingman__points-progress-segment {
  flex: 1;
  min-width: 0;
  height: 100%;
  border-radius: 50px;
  background: color-mix(in srgb, var(--border) 55%, transparent);
  overflow: hidden;
}

.home-wingman__points-progress-segment::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #333333;
  transform-origin: left center;
}

.home-wingman__points-progress-segment.is-complete::before {
  width: 100%;
}

.home-wingman__points-progress-segment.is-active::before {
  animation: home-wingman-point-progress var(--home-wingman-point-duration, 4s) linear forwards;
}

.home-wingman__points-rotator.is-paused .home-wingman__points-progress-segment.is-active::before {
  animation-play-state: paused;
}

@keyframes home-wingman-point-progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

html[data-theme="dark"] .home-wingman__points-progress-segment::before {
  background: #ffffff;
}

.home-wingman__points-viewport {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: clamp(280px, 36vw, 420px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.home-wingman__point {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  font-weight: var(--fw-700);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  box-sizing: border-box;
  overflow: hidden;
}

.home-wingman__point.is-active {
  position: relative;
  opacity: 1;
}

.home-wingman__point--words {
  white-space: normal;
}

.home-wingman__point-word {
  display: inline;
  opacity: 0;
  transform: translateY(0.2em);
  animation: home-wingman-word-in var(--home-wingman-word-duration, 420ms) var(--ease-out)
    var(--home-wingman-word-delay, 0ms) forwards;
}

.home-wingman__points-rotator.is-paused .home-wingman__point-word {
  animation-play-state: paused;
}

@keyframes home-wingman-word-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-wingman__point-word {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.home-wingman__point:not(.is-active) {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-wingman__actions {
  margin-top: var(--space-60);
  flex-shrink: 0;
}

.home-wingman__cta.home-hero__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  max-width: 100%;
  text-decoration: none;
}

.home-wingman__footnote {
  margin: auto 0 0;
  padding-top: var(--space-20);
  max-width: 54ch;
  font-size: var(--fs-12);
  font-weight: var(--fw-400);
  line-height: 1.5;
  color: var(--muted);
}

.home-wingman-preview {
  pointer-events: none;
  user-select: none;
  min-width: 0;
}

.home-wingman-preview__card-wrap {
  width: 100%;
  max-width: none;
}

.home-wingman-preview__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-12);
  background: var(--surface-1);
  overflow: hidden;
}

.home-wingman-preview .match-pick-odd {
  cursor: default;
}

.home-wingman-preview .wingman-settings-btn,
.home-wingman-preview .wingman-match-card-matches__view-tab {
  pointer-events: none;
  cursor: default;
}

.home-wingman-preview .wingman-match-card-matches__view-tab:hover:not(.wingman-match-card-matches__view-tab--active) {
  background: transparent;
}

.home-wingman-preview .wingman-match-card-matches__views {
  margin-top: 0;
}

.home-wingman-preview .wingman-match-card-matches__arena--themed {
  --wingman-team-home-color: #6cd896;
  --wingman-team-away-color: #e86b75;
}

html[data-theme="dark"] .home-wingman-preview .wingman-match-card-matches__arena--themed {
  --wingman-team-home-color: #5bc987;
  --wingman-team-away-color: #e86b75;
}

.home-wingman-preview .wingman-match-card-matches__arena-team-watermark .home-wingman-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

.home-wingman-preview .wingman-match-card-matches__arena-team-watermark .home-wingman-logo--diamond {
  width: 72%;
  height: 72%;
  margin: 14% auto;
}

.home-wingman-preview .wingman-match-card-matches__arena-team-watermark .home-wingman-logo--triangle {
  margin: 18% auto 0;
  border-left-width: 42%;
  border-right-width: 42%;
  border-bottom-width: 72%;
}

.home-wingman-preview .wingman-match-card__stats-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-wingman-preview .wingman-match-card-matches__league-meta--brand .wingman-match-card-matches__league-logo-wrap .home-wingman-logo {
  width: 28px;
  height: 28px;
}

.home-wingman-preview .wingman-match-card-matches__side-logo-wrap .home-wingman-logo {
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 48px;
}

.home-wingman-preview .wingman-match-card-matches__side-logo-wrap .home-wingman-logo--diamond {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
}

.home-wingman-logo {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.home-wingman-logo--md,
.home-wingman-logo--circle,
.home-wingman-logo--square,
.home-wingman-logo--diamond,
.home-wingman-logo--triangle {
  width: 28px;
  height: 28px;
}

.home-wingman-logo--sm {
  width: 22px;
  height: 22px;
}

.home-wingman-logo--xs {
  width: 16px;
  height: 16px;
}

.home-wingman-logo--circle {
  border-radius: 50%;
  background: #6cd896;
}

.home-wingman-logo--square {
  border-radius: 4px;
  background: #7b9cf5;
}

.home-wingman-logo--diamond {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #f1757f;
  transform: rotate(45deg);
}

.home-wingman-logo--sm.home-wingman-logo--diamond {
  width: 16px;
  height: 16px;
}

.home-wingman-logo--triangle {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 24px solid #f0a060;
  background: none;
}

.home-wingman-logo--sm.home-wingman-logo--triangle {
  border-left-width: 11px;
  border-right-width: 11px;
  border-bottom-width: 19px;
}

html[data-theme="dark"] .home-wingman-logo--circle {
  background: #5bc987;
}

html[data-theme="dark"] .home-wingman-logo--square {
  background: #6b8ee8;
}

html[data-theme="dark"] .home-wingman-logo--diamond {
  background: #e86b75;
}

html[data-theme="dark"] .home-wingman-logo--triangle {
  border-bottom-color: #e89550;
}

/* Desktop — podgląd ChiliWrap: gosp. odd→prob→hit | gość hit→prob→odd (lustrzanie) */
html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card__stats-section {
  --wingman-stat-team-cols: var(--wingman-stat-odd-w) var(--wingman-stat-prob-size) var(--wingman-stat-hit-w);
  --wingman-stat-team-col: auto;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card--matches-view .wingman-match-card-matches__side-form {
  display: flex;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card-matches__hero {
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-12);
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card-matches__hero > .wingman-match-card-matches__main {
  flex: 1 1 auto;
  min-width: 0;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card-matches__hero > .wingman-match-card-matches__picks {
  flex: 0 0 auto;
  align-self: center;
  margin-left: var(--space-8);
  margin-right: var(--space-14);
  display: grid;
  grid-template-columns: repeat(3, minmax(2.85rem, auto));
  gap: var(--space-40);
  width: auto;
  padding: 0;
  border-top: 0;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__hit {
  display: flex !important;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team,
html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card__stats-head-team {
  grid-template-columns: var(--wingman-stat-team-cols);
}

/* Gospodarz: kurs → koło → słupek (wypełnienie od środka) */
html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--home .match-pick-odd {
  grid-column: 1;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--home .match-pick-prob {
  grid-column: 2;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--home .wingman-stat-bar__hit {
  grid-column: 3;
  align-items: flex-end;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--home .wingman-stat-bar__hit-track {
  direction: rtl;
}

/* Gość: słupek → koło → kurs (lustrzanie) */
html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--away .wingman-stat-bar__hit {
  grid-column: 1;
  align-items: flex-start;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--away .match-pick-prob {
  grid-column: 2;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--away .match-pick-odd {
  grid-column: 3;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--away .wingman-stat-bar__hit-track {
  direction: ltr;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card__stats-logo-wrap {
  grid-column: 2;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card__stats-head-grid,
html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__content {
  grid-template-columns:
    minmax(0, 1fr)
    var(--wingman-stat-team-col)
    var(--wingman-stat-team-col);
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card__stats-head-team--home,
html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--home {
  justify-self: end;
}

html:not([data-device="phone"]) .home-wingman-preview .wingman-match-card__stats-head-team--away,
html:not([data-device="phone"]) .home-wingman-preview .wingman-stat-bar__team--away {
  justify-self: end;
}

@media (max-width: 1023px) {
  .home-wingman {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .home-wingman__content {
    min-height: 0;
  }

  .home-wingman__footnote {
    margin-top: var(--space-16);
  }

  .home-wingman__lead,
  .home-wingman__points-rotator {
    max-width: none;
  }

  .home-wingman__points-viewport {
    height: clamp(220px, 48vw, 340px);
    min-height: 0;
  }

  .home-wingman__actions {
    margin-top: var(--space-48);
  }
}

/* ==========================================================================
   Soft-nav / first-fold skeleton — układ i wymiary jak realny hero
   ========================================================================== */

.home-page--skeleton .home-hero__content {
  pointer-events: none;
}

.home-sk__title-stack,
.home-sk__tagline-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  width: 100%;
  max-width: 16ch;
}

.home-sk__tagline-stack {
  max-width: 62ch;
  gap: 0.45em;
}

.home-sk__headline {
  display: block;
  width: 100%;
  height: calc(72px * 1.05);
  border-radius: var(--radius-10, 10px);
}

.home-sk__headline--short {
  width: 62%;
}

.home-sk__tagline {
  display: block;
  width: 100%;
  height: 1.05em;
  border-radius: 6px;
}

.home-sk__tagline--short {
  width: 72%;
}

.home-sk__hits-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
  width: 100%;
  max-width: 36rem;
}

.home-sk__hits-prefix,
.home-sk__hits-suffix {
  display: block;
  height: 1.1em;
  border-radius: 6px;
}

.home-sk__hits-prefix {
  width: 11rem;
}

.home-sk__hits-number {
  display: block;
  width: 4.5rem;
  height: clamp(2rem, 5vw, 3rem);
  border-radius: 8px;
}

.home-sk__hits-suffix {
  width: 8rem;
}

.home-sk__btn {
  flex: 1 1 0;
  min-width: 0;
  height: 60px;
  min-height: 60px;
  border-radius: 999px;
}

.home-sk__btn--dark {
  opacity: 0.92;
}

.home-gallery--skeleton,
.home-lamaki--skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: 100%;
  min-width: 0;
}

.home-lamaki--skeleton {
  gap: var(--space-12);
}

.home-sk__widget-title {
  display: block;
  width: 11.5rem;
  height: 1.1em;
  border-radius: 6px;
}

.home-sk__widget-title--lamaki {
  width: 7.5rem;
}

.home-sk__nav {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.home-sk__match-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding: var(--space-14);
  min-height: 248px;
}

.home-sk__lamaki-card {
  min-height: 220px;
}

.home-sk__match-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}

.home-sk__crest {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.home-sk__meta-line {
  width: 7.5rem;
  height: 12px;
  border-radius: 4px;
}

.home-sk__meta-line--wide {
  width: 9rem;
}

.home-sk__meta-date {
  width: 2.75rem;
  height: 12px;
  border-radius: 4px;
}

.home-sk__team-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-12);
  min-width: 0;
}

.home-sk__team-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.home-sk__team-name {
  width: 70%;
  height: 14px;
  border-radius: 4px;
}

.home-sk__team-name--short {
  width: 55%;
}

.home-sk__score {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.home-sk__score--pair {
  width: 48px;
}

.home-sk__pick-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-10);
  margin-top: var(--space-4);
  min-width: 0;
}

.home-sk__prob {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.home-sk__pick-title {
  width: 75%;
  height: 14px;
  border-radius: 4px;
}

.home-sk__odd {
  width: 64px;
  height: 36px;
  border-radius: 999px;
}

.home-modes--skeleton {
  pointer-events: none;
}

.home-mode-box--skeleton {
  pointer-events: none;
}

.home-sk__mode-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
}

.home-sk__mode-label {
  width: 5.5rem;
  height: 14px;
  border-radius: 4px;
}

.home-sk__mode-count {
  width: 3.25rem;
  height: clamp(24px, 3.2vw, 42px);
  border-radius: 6px;
}

.home-sk__mode-suffix {
  width: 3.5rem;
  height: 10px;
  border-radius: 3px;
}

@media (max-width: 1023px) {
  .home-sk__headline {
    height: clamp(2.4rem, 9vw, 3.6rem);
  }

  .home-sk__title-stack {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .home-modes--skeleton {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-device="phone"] .home-sk__mode-icon {
  width: clamp(40px, 11vw, 48px);
  height: clamp(40px, 11vw, 48px);
}

html[data-device="phone"] .home-modes--skeleton {
  grid-template-columns: minmax(0, 1fr);
}

.home-lazy-below__slot:not([data-loaded="true"]) {
  min-height: min(28vh, 240px);
}

.home-lazy-below__slot {
  min-height: 96px;
}

.home-lazy-below__pulse {
  height: 72px;
  margin: 24px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-1) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: home-lazy-pulse 1.4s ease-in-out infinite;
}

@keyframes home-lazy-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.home-community,
.home-draft,
.home-wingman,
.home-statistics,
.home-coupon-check,
.home-games,
.home-cooperation,
.home-pricing {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.home-pricing {
  contain-intrinsic-size: auto 760px;
}
