/* ── Mobile landing hero only ──
   PC와 동일: 좌측 텍스트 + 우측 폰 (2열 유지)
   max-width: 768px 전용 — index.html 히어로 섹션
   ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .sport-hero.page-hero {
    padding: 88px 12px 14px !important;
    overflow-x: clip;
  }

  .sport-hero .grid-hero > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    width: 100%;
  }

  .sport-hero.page-hero h1,
  .sport-hero .hero-lead,
  .sport-hero .sport-hero__lead {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: 100%;
  }

  .sport-hero .hero-actions {
    align-items: center !important;
  }

  .sport-hero .hero-actions + div {
    justify-content: center !important;
    width: 100%;
  }

  /* PC grid-hero 비율 유지 (1.15fr / 0.85fr) */
  .sport-hero .grid-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
    gap: 8px 10px !important;
    align-items: center !important;
  }

  .sport-hero .grid-hero > * {
    min-width: 0;
  }

  .sport-hero .flow-title br {
    display: block !important;
  }

  /* ── 좌측 카피 — 가독성 확대 ── */
  .sport-hero.page-hero h1 {
    font-size: clamp(22px, 6.5vw, 30px) !important;
    line-height: 1.22 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.02em;
  }

  .sport-hero .hero-lead {
    font-size: clamp(13px, 3.6vw, 15px) !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    max-width: none !important;
  }

  .sport-hero .sport-badge {
    font-size: 11px;
    padding: 6px 11px;
    margin: 0 auto 9px;
    gap: 6px;
  }

  .sport-hero .sport-badge .dot {
    width: 6px;
    height: 6px;
  }

  /* 고객 시안: 통계 → 버튼 (HTML 순서와 동일) */
  .sport-hero .sport-stats {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 10px !important;
    justify-content: center !important;
    width: 100%;
  }

  .sport-hero .sport-stat {
    text-align: center;
  }

  .sport-hero .sport-stat .num {
    font-size: clamp(18px, 5vw, 22px) !important;
    line-height: 1.1;
  }

  .sport-hero .sport-stat .lbl {
    font-size: 10.5px !important;
    line-height: 1.25;
    margin-top: 2px;
  }

  .sport-hero .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin-bottom: 0 !important;
    width: 100%;
  }

  .sport-hero .hero-actions[style] {
    margin-bottom: 0 !important;
  }

  .sport-hero .hero-actions .btnPrimary {
    width: 100% !important;
    padding: 12px 10px !important;
    font-size: 12.5px !important;
    justify-content: center !important;
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.22);
    gap: 6px;
    line-height: 1.3;
  }

  .sport-hero .hero-actions .btnPrimary img {
    width: 17px;
    height: 17px;
  }

  .sport-hero .hero-actions .btnGhost {
    display: inline-flex !important;
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    justify-content: center !important;
    border-radius: 9px;
  }

  .sport-hero .sport-ticker {
    margin-top: 12px !important;
    padding-top: 10px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    border-top: 1px solid rgba(0, 136, 204, 0.1);
  }

  .sport-hero .sport-ticker--tagline {
    max-width: none;
    font-weight: 500;
    text-align: center !important;
  }

  /* ── 우측 폰: 컬럼 너비에 맞춰 전체 UI 비율 축소 ── */
  .sport-hero .hero-phone {
    margin: 0;
    width: 100%;
    justify-content: center !important;
    align-self: center;
    container-type: inline-size;
    container-name: mhero-phone;
  }

  .sport-hero .phone-badge--live,
  .sport-hero .phone-badge--channel {
    display: none !important;
  }

  .sport-hero .hero-phone-device {
    --hp-pad: 5px;
    --hp-design-w: 278;
    --hp-design-h: 572;
    --hp-scale: calc((100cqw - var(--hp-pad) * 2) / (var(--hp-design-w) * 1px));
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: var(--hp-pad);
    overflow: hidden;
    box-sizing: border-box;
    border-radius: calc(56px * var(--hp-scale));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.36);
    height: calc(var(--hp-design-h) * 1px * var(--hp-scale) + var(--hp-pad) * 2);
    flex: none;
  }

  .sport-hero .hero-phone-inner {
    position: absolute;
    top: var(--hp-pad);
    left: var(--hp-pad);
    width: 278px;
    height: 572px;
    border-radius: 46px;
    transform: scale(var(--hp-scale));
    transform-origin: top left;
    margin: 0;
  }

  .sport-hero .hero-phone-island {
    width: 94px;
    height: 29px;
    top: 11px;
  }

  .sport-hero .hero-phone-viewport {
    width: 278px;
    height: 572px !important;
  }
}

/* container query 미지원 폴백 */
@supports not (container-type: inline-size) {
  @media (max-width: 768px) {
    .sport-hero .hero-phone-device {
      --hp-scale: calc((38vw - 10px) / 278);
      width: calc(38vw) !important;
      height: calc(572px * var(--hp-scale) + 10px);
    }
  }
}
