/* ============================================================
   ReadyToPlay Landing — Mobile-First CSS
   ============================================================ */
:root {
  --blue:       #2563EB;
  --blue-dark:  #1D4ED8;
  --blue-light: #DBEAFE;
  --blue-bg:    #EFF6FF;
  --purple:     #7C3AED;
  --purple-bg:  #F5F3FF;
  --green:      #059669;
  --green-bg:   #ECFDF5;
  --orange:     #D97706;
  --orange-bg:  #FFFBEB;
  --red:        #DC2626;
  --white:      #FFFFFF;
  --bg:         #F1F5FF;
  --card:       #FFFFFF;
  --text:       #0F172A;
  --sub:        #475569;
  --muted:      #94A3B8;
  --border:     #E2E8F0;
  --shadow-s:   0 1px 6px rgba(15,23,42,.06);
  --shadow-m:   0 4px 20px rgba(37,99,235,.10);
  --r:    20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-xs: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Noto Sans KR", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input  { font-family: var(--font); }

.app { max-width: 430px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
@media (min-width: 430px) {
  body { background: #CBD5E1; }
  .app { box-shadow: 0 0 60px rgba(0,0,0,.15); }
}

/* SEARCH OVERLAY */
.search-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  animation: fade-in .2s ease;
}
.search-overlay.hidden { display: none; }
@keyframes fade-in { from{opacity:0} to{opacity:1} }
.search-overlay-box {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 40px 32px;
}
.so-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--blue-light);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
.so-text {
  font-size: 18px; font-weight: 700; color: var(--text);
}
.so-sub {
  font-size: 14px; color: var(--blue); font-weight: 600;
  min-height: 20px;
}

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 22px; }
.logo-text { font-size: 17px; font-weight: 800; color: var(--blue); letter-spacing: -.4px; }
.header-cta-btn {
  padding: 8px 14px; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 20px;
  cursor: pointer; transition: all .2s; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
  position: relative;
  overflow: visible;
  animation: header-cta-breathe 2.6s ease-in-out infinite;
}
.header-cta-btn:hover { background: var(--blue-dark); }

/* 헤더 CTA: 버튼 자체가 은은하게 맥동 */
@keyframes header-cta-breathe{
  0%,100%{
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
    filter: saturate(1);
  }
  55%{
    box-shadow: 0 10px 24px rgba(37,99,235,.34);
    filter: saturate(1.08);
  }
}
.notif-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--sub);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.notif-btn:hover { background: var(--blue-bg); color: var(--blue); }

/* HERO */
.hero { padding: 28px 20px 26px; background: var(--white); border-bottom: 6px solid var(--bg); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-bg); color: var(--blue);
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 18px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--blue); border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.75)} }
.hero-title { font-size: 30px; font-weight: 900; line-height: 1.25; letter-spacing: -.6px; margin-bottom: 10px; }
.hero-title .blue { color: var(--blue); }
.hero-desc { font-size: 14px; color: var(--sub); line-height: 1.6; margin-bottom: 4px; }

/* Search */
.search-wrap { position: relative; }
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 2px solid var(--border); border-radius: var(--r-md);
  padding: 4px 4px 4px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.search-ico { color: var(--muted); flex-shrink: 0; }
.search-input {
  flex: 1; border: none; outline: none;
  font-size: 15px; color: var(--text); background: transparent; padding: 11px 0;
}
.search-input::placeholder { color: var(--muted); }
.search-btn {
  background: var(--blue); color: #fff;
  border-radius: var(--r-sm); padding: 11px 18px;
  font-size: 14px; font-weight: 700;
  transition: background .15s, transform .1s; white-space: nowrap;
}
.search-btn:active { transform: scale(.96); background: var(--blue-dark); }

.search-result {
  margin-top: 10px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 20px; box-shadow: var(--shadow-m);
  animation: slide-down .2s ease;
}
.search-result.hidden { display: none; }
@keyframes slide-down { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.searching { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--sub); font-size: 14px; }
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--border); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.no-data { text-align: center; }
.no-data-icon  { font-size: 30px; margin-bottom: 8px; }
.no-data-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.no-data-msg   { font-size: 13px; color: var(--sub); margin-bottom: 8px; }
.no-data-hint  { font-size: 12px; color: var(--blue); font-weight: 600; }

/* PLAYER SECTION */
.player-section { background: var(--white); padding-top: 20px; border-bottom: 8px solid var(--bg); }
.player-section-top { padding: 0 20px 14px; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.section-hint { font-size: 13px; color: var(--sub); }

/* 첫 카드 위 — 👇 아래 가리키며 위→아래로 탭하는 느낌 */
.player-card-pointer {
  position: absolute; z-index: 3; left: 50%; top: 6px;
  margin-left: -14px;
  pointer-events: none;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.12));
}
.player-card-pointer-emoji {
  display: block;
  font-size: 26px;
  line-height: 1;
  user-select: none;
  animation: player-pointer-down 1.2s ease-in-out infinite;
}
.player-card-pointer.player-card-pointer--gone {
  opacity: 0; transition: opacity .35s ease;
}
.player-card-pointer.player-card-pointer--gone .player-card-pointer-emoji { animation: none; }
/* 위에서 시작해 아래로 누르듯 이동 (손가락이 아래를 가리키는 방향 유지) */
@keyframes player-pointer-down {
  0%, 100% { transform: translateY(-8px); }
  45% { transform: translateY(12px) scale(0.92); }
  60% { transform: translateY(6px) scale(0.96); }
  75% { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .player-card-pointer-emoji { animation: none; transform: translateY(0); }
}

/* 공통 👇 유도 (선수 분석·경기 일지·상대 분석·스코어 카드) */
.feature-nudge {
  pointer-events: none;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.12));
}
.feature-nudge-emoji {
  display: block;
  font-size: 22px;
  line-height: 1;
  user-select: none;
  animation: player-pointer-down 1.2s ease-in-out infinite;
}
.feature-nudge--gone {
  opacity: 0 !important;
  transition: opacity .35s ease;
}
.feature-nudge--gone .feature-nudge-emoji { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .feature-nudge-emoji { animation: none; transform: translateY(0); }
}
/* 기록 탭 */
.feature-nudge--pa-record {
  position: absolute;
  left: 50%;
  top: -10px;
  margin-left: -11px;
  z-index: 3;
}
/* 경기 일지 첫 탭 카드 */
.feature-nudge--journal {
  position: absolute;
  left: 50%;
  top: -8px;
  margin-left: -11px;
  z-index: 3;
}
/* 상대 분석 두 번째 학교 칩 */
.feature-nudge--scout {
  position: absolute;
  left: 50%;
  top: -12px;
  margin-left: -11px;
  z-index: 2;
}
/* 내 사진 추가 */
.feature-nudge--brag {
  position: absolute;
  left: 50%;
  top: 6px;
  margin-left: -11px;
  z-index: 2;
}

.player-scroll { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 20px; }
.player-scroll::-webkit-scrollbar { display: none; }
.player-list { display: flex; gap: 12px; padding: 0 20px; width: max-content; }

.player-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 14px 14px; min-width: 108px;
  background: var(--white); border: 2px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; position: relative; overflow: visible;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.player-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.player-card.active { border-color: var(--blue); background: var(--blue-bg); box-shadow: var(--shadow-m); }
.player-card.active::after { transform: scaleX(1); }

.p-avatar { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: #fff; }
.avatar-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.avatar-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.avatar-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
/* S3 선수 이미지 */
.p-avatar-wrap { position: relative; width: 54px; height: 54px; flex-shrink: 0; }
.p-avatar-wrap .p-avatar { width: 100%; height: 100%; }
.p-avatar-img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top; display: block; }
.p-school-logo-img { width: 54px; height: 54px; border-radius: 50%; object-fit: contain; object-position: center; display: block; background: #fff; border: 2px solid #E2E8F0; padding: 4px; }
.p-info { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.p-name   { font-size: 14px; font-weight: 700; }
.p-school { font-size: 11px; color: var(--sub); text-align: center; line-height: 1.3; }
.p-pts    { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-top: 2px; }
.p-pts-val { font-size: 22px; font-weight: 900; color: var(--blue); line-height: 1; }
.p-pts-lbl { font-size: 10px; color: var(--muted); font-weight: 500; }

/* FEATURES */
.features { padding: 18px 16px 40px; }
.features-label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.live-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0;
  animation: live-pulse 2s infinite;
}
@keyframes live-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(5,150,105,.4)} 60%{box-shadow:0 0 0 7px rgba(5,150,105,0)} }
#selName    { font-size: 15px; font-weight: 700; }
.sel-school { font-size: 12px; color: var(--sub); background: var(--border); padding: 2px 9px; border-radius: 100px; }

.fcard {
  background: var(--card); border-radius: var(--r); padding: 20px; margin-bottom: 14px;
  border: 1px solid rgba(226,232,240,.8); box-shadow: var(--shadow-s);
  transition: opacity .35s ease, transform .35s ease;
}
/* 스티키 헤더와 겹침 방지 (선수 카드 재탭 시 스크롤 정렬) */
#fc1 { scroll-margin-top: 68px; }
.fcard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ficon { width: 32px; height: 32px; border-radius: var(--r-xs); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fi-blue   { background: var(--blue-bg);   color: var(--blue); }
.fi-purple { background: var(--purple-bg); color: var(--purple); }
.fi-green  { background: var(--green-bg);  color: var(--green); }
.fi-orange { background: var(--orange-bg); color: var(--orange); }
.fi-red    { background: rgba(239,68,68,.1); color: #EF4444; }
.ftitle    { flex: 1; font-size: 15px; font-weight: 700; }
.fbadge    { font-size: 12px; color: var(--muted); background: var(--bg); padding: 3px 9px; border-radius: 100px; }
.live-badge { font-size: 11px; font-weight: 700; color: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* SKELETON */
.skeleton-block { display: flex; flex-direction: column; gap: 10px; }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.sk-row {
  height: 46px; border-radius: var(--r-sm);
  background: linear-gradient(90deg,#F1F5F9 25%,#E2E8F0 50%,#F1F5F9 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
.sk-bar {
  height: 30px; border-radius: var(--r-xs);
  background: linear-gradient(90deg,#F1F5F9 25%,#E2E8F0 50%,#F1F5F9 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
.sk-bar.short { width: 55%; }
.sk-circle {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(90deg,#F1F5F9 25%,#E2E8F0 50%,#F1F5F9 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  margin: 0 auto 10px;
}

/* FEATURE 1 — 경기 기록 */
.game-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.game-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--bg); border-radius: var(--r-sm); transition: background .15s; }
.game-row:active { background: var(--blue-bg); }
.g-num { font-size: 11px; font-weight: 700; color: var(--muted); width: 22px; flex-shrink: 0; }
.g-pts-wrap { display: flex; align-items: baseline; gap: 2px; width: 52px; flex-shrink: 0; }
.g-pts  { font-size: 24px; font-weight: 900; color: var(--blue); line-height: 1; }
.g-pts-u { font-size: 11px; color: var(--muted); }
.g-sub  { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.g-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 34px; }
.g-sv   { font-size: 12px; font-weight: 600; }
.g-sl   { font-size: 10px; color: var(--muted); }
.g-min  { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.game-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.sum-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sum-val  { font-size: 19px; font-weight: 900; }
.sum-lbl  { font-size: 10px; color: var(--muted); text-align: center; }

/* ============================================================
   FEATURE 1 — 선수 분석 카드 (Messi-style)
   ============================================================ */
.pa { display: flex; flex-direction: column; gap: 16px; }

/* 프로필 헤더 — 그라디언트 배경 */
.pa-head {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--blue-bg) 0%, rgba(238,242,255,.55) 100%);
  border-radius: 16px; padding: 12px 14px;
  border: 1px solid rgba(37,99,235,.08);
}
.pa-av {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: white; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
/* S3 선수 이미지 — Feature 1 헤더 */
.pa-av-wrap { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.pa-av-wrap .pa-av { width: 100%; height: 100%; }
.pa-av-img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; object-position: top; display: block;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.pa-hinfo { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pa-hname   { font-size: 17px; font-weight: 800; color: var(--text); }
.pa-hschool { font-size: 12px; color: var(--sub); }
.pa-season-tag {
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: white; padding: 5px 11px; border-radius: 100px;
  flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.12);
}

/* 탭 — 세그먼트 컨트롤 */
.pa-tabs {
  display: flex; gap: 5px;
  padding: 10px 5px 5px;
  background: var(--bg);
  border-radius: 14px;
  position: relative;
  overflow: visible;
  /* 기록 탭 👇 / 뱃지가 위로 삐져나올 여유 */
  margin-top: 2px;
}
.pa-tab {
  flex: 1; padding: 8px 4px;
  font-size: 11.5px; font-weight: 700;
  color: var(--muted); background: transparent;
  border: none; border-radius: 10px;
  cursor: pointer; transition: all .22s ease;
  font-family: var(--font); letter-spacing: -.1px;
  position: relative;
}
.pa-tab:not(.pa-tab-act)::after {
  content: '';
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: #CBD5E1;
  opacity: 0.7;
}
.pa-tab-act {
  color: var(--blue);
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  font-weight: 800;
}
.pa-tab-act::after { display: none; }
.pa-tab-bar { display: none; }

/* 기록 탭 강조 */
.pa-tab-nudge {
  color: var(--blue) !important;
  font-weight: 800 !important;
}

/* 기록 탭 오른쪽 위 펄스 점 */
.pa-nudge-badge {
  display: inline-block;
  width: 7px; height: 7px;
  background: #F97316;
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: super;
  flex-shrink: 0;
  animation: nudge-pulse 1.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes nudge-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: .55; transform: scale(1.45); }
}

/* 슬라이더 */
.pa-slide-outer { overflow: hidden; border-radius: var(--r-xs); }
.pa-slide-inner {
  display: flex;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.pa-page { min-width: 100%; flex-shrink: 0; padding: 4px 0 2px; }

/* Tab 0: 기본 */
.pa-basic { display: flex; align-items: flex-start; gap: 8px; }
.pa-bleft { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; width: 88px; }
.pa-bl-item { display: flex; flex-direction: column; gap: 2px; }
.pa-bl-l { font-size: 10px; color: var(--muted); font-weight: 500; }
.pa-bl-v { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1; }
.pa-bl-v.blue { color: var(--blue); }
.pa-bl-unit { font-size: 11px; font-weight: 600; }
.pa-radar { flex: 1; min-width: 0; width: 100%; max-width: 185px; height: auto; }

/* Tab 1: 기록 차트 */
.pa-chart { display: flex; flex-direction: column; gap: 10px; }
.pa-chart-title { font-size: 12px; font-weight: 700; color: var(--sub); }
.pa-chart-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.pa-cs { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pa-cs-v { font-size: 15px; font-weight: 800; color: var(--text); }
.pa-cs-l { font-size: 10px; color: var(--muted); text-align: center; }

/* Tab 2: 시즌 */
.pa-season-wrap { display: flex; flex-direction: column; gap: 14px; }
.pa-section-label { font-size: 11px; font-weight: 700; color: var(--sub); text-transform: uppercase; letter-spacing: .5px; }
.pa-season-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pa-sg {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; background: var(--bg); border-radius: var(--r-sm);
}
.pa-sg-v { font-size: 20px; font-weight: 900; color: var(--text); }
.pa-sg-l { font-size: 10px; color: var(--muted); }
.pa-eff { display: flex; flex-direction: column; gap: 10px; }
.pa-eff-title { font-size: 11px; font-weight: 700; color: var(--sub); margin-bottom: 2px; }
.pa-eff-row { display: flex; align-items: center; gap: 8px; }
.pa-eff-l { font-size: 11px; color: var(--sub); width: 44px; flex-shrink: 0; }
.pa-eff-bar { flex: 1; height: 7px; background: var(--bg); border-radius: 100px; overflow: hidden; }
.pa-eff-fill { height: 100%; border-radius: 100px; transition: width .85s ease; }
.pa-eff-v { font-size: 12px; font-weight: 700; width: 38px; text-align: right; flex-shrink: 0; }

/* Tab 3: 하이라이트 */
.pa-hl { display: flex; flex-direction: column; gap: 10px; }
.pa-hl-top { display: flex; align-items: center; gap: 8px; }
.pa-hl-badge {
  font-size: 10px; font-weight: 700;
  background: linear-gradient(135deg,#F59E0B,#D97706);
  color: white; padding: 3px 9px; border-radius: 100px;
}
.pa-hl-game { font-size: 12px; color: var(--muted); font-weight: 600; }
.pa-hl-score-wrap { display: flex; align-items: baseline; gap: 4px; }
.pa-hl-pts { font-size: 48px; font-weight: 900; color: var(--blue); line-height: 1; letter-spacing: -2px; }
.pa-hl-pts-u { font-size: 16px; color: var(--sub); font-weight: 600; }
.pa-hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pa-hl-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; background: var(--bg); border-radius: var(--r-sm);
}
.pa-hl-v { font-size: 15px; font-weight: 800; color: var(--text); }
.pa-hl-l { font-size: 10px; color: var(--muted); font-weight: 500; }

/* 하단 배지 3개 — 프리미엄 */
.pa-bgs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-radius: 16px;
}
.pa-bg {
  background: var(--bg); padding: 14px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.pa-bg::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--border); border-radius: 12px 12px 0 0;
}
.pa-bg-mid {
  background: var(--blue-bg);
  border-color: rgba(37,99,235,.15);
}
.pa-bg-mid::before { background: var(--blue); }
.pa-bg-v {
  font-size: 26px; font-weight: 900; color: var(--text); line-height: 1;
}
.pa-bg-mid .pa-bg-v { color: var(--blue); }
.pa-bg-l { font-size: 10px; color: var(--muted); font-weight: 500; }

/* FEATURE 2 — 스탯 분석 */
.bar-list { display: flex; flex-direction: column; gap: 14px; }
.bar-item { display: flex; flex-direction: column; gap: 6px; }
.bar-head { display: flex; align-items: center; gap: 6px; }
.bar-lbl  { font-size: 13px; color: var(--sub); flex: 1; }
.bar-val  { font-size: 15px; font-weight: 700; }
.bar-unit { font-size: 11px; color: var(--muted); width: 28px; }
.bar-track { height: 8px; background: var(--bg); border-radius: 100px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 100px; width: 0%; transition: width .85s cubic-bezier(.4,0,.2,1); }

/* FEATURE 3 — 상대 분석 (스카우팅 리포트) */
.sc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; padding-top: 12px; }
.sc-chip  { position: relative;
            font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 20px;
            border: 1.5px solid var(--border); background: var(--bg); color: var(--sub);
            cursor: pointer; transition: all .2s; }
.sc-chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sc-side { display: flex; align-items: center; gap: 8px; }
.sc-side-r { flex-direction: row-reverse; }
.sc-av-wrap { width: 40px; height: 40px; flex-shrink: 0; }
.sc-av  { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
           font-size: 16px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-av-img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; border: 2px solid var(--border); flex-shrink: 0; background: #fff; }
.sc-info { display: flex; flex-direction: column; gap: 3px; }
.sc-info-r { align-items: flex-end; }
.sc-pname { font-size: 13px; font-weight: 700; color: var(--text); }
.sc-tag-our { font-size: 10px; font-weight: 700; color: var(--blue); background: rgba(37,99,235,.1); padding: 2px 7px; border-radius: 20px; width: fit-content; }
.sc-tag-opp { font-size: 10px; font-weight: 700; color: #EF4444; background: rgba(239,68,68,.1); padding: 2px 7px; border-radius: 20px; width: fit-content; }
.sc-vs-badge { font-size: 11px; font-weight: 900; color: var(--sub); background: var(--bg);
               border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-logo-wrap { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

.sc-radar-wrap { display: flex; flex-direction: column; align-items: center; margin: 4px 0 14px; }
.sc-radar-svg  { width: 100%; max-width: 190px; }
.sc-radar-legend { display: flex; gap: 14px; align-items: center; font-size: 11px; font-weight: 600; color: var(--sub); margin-top: 6px; }
.scl-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.scl-dot.our { background: #2563EB; }
.scl-dot.opp { background: #EF4444; }

.sc-stats { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.ss-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
          padding: 9px 14px; border-bottom: 1px solid var(--border); }
.ss-row:last-child { border-bottom: none; }
.ss-val { font-size: 14px; font-weight: 700; color: var(--sub); }
.ss-val.ss-win { color: #2563EB; }
.ss-val.ss-win.ss-opp { color: #EF4444; }
.ss-r   { text-align: right; }
.ss-cat { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; white-space: nowrap; }

.sc-sw { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.sc-sw-item { font-size: 12px; font-weight: 600; padding: 9px 13px; border-radius: 10px; line-height: 1.4; }
.sc-strong { background: rgba(5,150,105,.08); color: #059669; }
.sc-weak   { background: rgba(239,68,68,.08); color: #EF4444; }

.sc-memo    { }
.sc-memo-hd { font-size: 12px; font-weight: 700; color: var(--sub); margin-bottom: 8px; }
.sc-memo-ta { width: 100%; min-height: 76px; border: 1.5px solid var(--border); border-radius: 10px;
              padding: 10px 12px; font-size: 13px; font-family: system-ui,sans-serif;
              color: var(--text); background: var(--bg); resize: none; outline: none;
              box-sizing: border-box; transition: border-color .2s; line-height: 1.55; }
.sc-memo-ta:focus { border-color: var(--blue); }
.sc-memo-save { display: block; margin: 8px 0 0 auto; padding: 8px 22px; border-radius: 10px;
                background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
                border: none; cursor: pointer; transition: background .3s; }

/* FEATURE 4 — 자랑 카드 */
.bc-row-lbl   { font-size: 11px; font-weight: 700; color: var(--sub); margin-bottom: 8px; letter-spacing: .4px; }
.bc-chips     { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.bc-gc        { font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 20px;
                border: 1.5px solid var(--border); background: var(--bg); color: var(--sub);
                cursor: pointer; transition: all .2s; }
.bc-gc.active { background: #EF4444; color: #fff; border-color: #EF4444; }


.bc-upload       { display: flex; align-items: center; gap: 12px; cursor: pointer;
                   border: 2px dashed var(--border); border-radius: 14px; padding: 14px 16px;
                   margin-bottom: 14px; transition: all .25s; background: var(--bg); position: relative; }
.bc-upload:hover { border-color: #EF4444; background: rgba(239,68,68,.04); }

/* 사진 없을 때 강조 */
.bc-upload-empty { border-color: #EF4444; border-style: dashed;
                   background: rgba(239,68,68,.05);
                   animation: bc-pulse 2.2s ease-in-out infinite; }
@keyframes bc-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.0); }
  50%      { box-shadow: 0 0 0 5px rgba(239,68,68,.12); }
}

.bc-thumb    { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.bc-change   { font-size: 12px; font-weight: 600; color: var(--sub); }
.bc-up-icon  { font-size: 30px; line-height: 1; flex-shrink: 0; }
.bc-up-txt   { font-size: 13px; font-weight: 700; color: #EF4444; line-height: 1.5; }
.bc-up-sub   { font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.bc-up-arrow { margin-left: auto; font-size: 18px; color: #EF4444; font-weight: 700; flex-shrink: 0; }

.bc-preview-wrap  { position: relative; margin-bottom: 12px; }
.bc-canvas        { width: 100%; border-radius: 14px; display: block;
                    box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
.bc-preview-label { text-align: center; font-size: 11px; color: var(--muted); margin-top: 6px; font-weight: 600; }

.bc-dl { width: 100%; padding: 13px; border-radius: 12px; background: #EF4444; color: #fff;
         font-size: 14px; font-weight: 700; border: none; cursor: pointer;
         transition: background .2s; letter-spacing: .2px; }
.bc-dl:hover { background: #DC2626; }

/* 기존 퍼포먼스 지수 스타일 유지 (혹시 다른 곳에서 참조 시) */
.perf-inner { display: flex; flex-direction: column; gap: 20px; }
.perf-top   { display: flex; align-items: center; gap: 18px; }
.score-circle { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.score-svg  { width: 100%; height: 100%; }
.score-arc  { transition: stroke-dashoffset 1.1s ease; }
.score-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; }
.score-grade { font-size: 24px; font-weight: 900; line-height: 1; }
.score-num   { font-size: 13px; font-weight: 700; color: var(--sub); }
.score-breakdown { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bd-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; background: var(--bg); border-radius: var(--r-xs); }
.bd-lbl { font-size: 12px; color: var(--sub); }
.bd-val { font-size: 13px; font-weight: 700; }
.ai-box { background: var(--blue-bg); border-left: 3px solid var(--blue); border-radius: var(--r-sm); padding: 16px; }
.ai-tag  { font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.ai-text { font-size: 13px; color: var(--sub); line-height: 1.75; min-height: 56px; }

/* ============================================================
   경기 일지 — 가로 스크롤형 (Feature 2)
   ============================================================ */
.journal-wrap { display: flex; flex-direction: column; gap: 12px; }

/* 주 헤더 */
.jweek-section { display: flex; flex-direction: column; gap: 8px; }
.jcal-header   { display: flex; align-items: center; justify-content: space-between; }
.jcal-title    { font-size: 12px; font-weight: 800; color: var(--text); }
.jcal-range    { font-size: 11px; color: var(--muted); font-weight: 600; }

/* 가로 스크롤 트랙 */
.jweek-scroll {
  display: flex; align-items: stretch; gap: 6px;
  overflow-x: auto; padding: 10px 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.jweek-scroll::-webkit-scrollbar { display: none; }

/* 쉬는 날 — 얇은 구분선 */
.jday-sep {
  flex-shrink: 0; width: 32px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; gap: 4px;
  padding: 10px 0;
}
.jday-lbl  { font-size: 9px;  color: var(--muted); font-weight: 700; }
.jday-dt   { font-size: 10px; color: var(--sub);   font-weight: 700; }
.jday-dash { font-size: 12px; color: var(--border); margin-top: 6px; }

/* 경기 있는 날 — 넓은 카드 */
.jgame-card {
  position: relative;
  flex-shrink: 0; width: 96px;
  background: white; border-radius: 14px;
  padding: 12px 8px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1.5px solid rgba(37,99,235,.12);
  box-shadow: 0 2px 10px rgba(37,99,235,.08);
  scroll-snap-align: start;
  transition: all .2s ease;
}
.jgame-click { cursor: pointer; }
.jgame-click:hover  { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(37,99,235,.18); border-color: var(--blue); }
.jgame-click:focus  { outline: 2px solid var(--blue); outline-offset: 2px; }
.jgame-click:active { transform: scale(.97); }

.jgame-head { display: flex; align-items: center; gap: 5px; }
.jgame-logo {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
}
.jgame-opp   { font-size: 11px; font-weight: 700; color: var(--text); }
.jgame-score {
  font-size: 22px; font-weight: 900; color: var(--blue); line-height: 1;
}
.jgame-score-u { font-size: 10px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.jgame-sched   { font-size: 10px; font-weight: 700; color: var(--blue); }
.jgame-tap     { font-size: 9px; color: var(--blue); opacity: .6; }

/* 다음 주 (흐릿) */
.jweek-next     { opacity: .45; }
.jweek-scroll-dim { filter: blur(.5px); pointer-events: none; }

/* 유도 버튼 */
.journal-nudge {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-bg), #F5F3FF);
  border: 1.5px solid rgba(37,99,235,.18);
  border-radius: var(--r-sm); padding: 11px 14px;
  cursor: pointer; transition: all .2s; width: 100%;
}
.journal-nudge:hover { border-color: var(--blue); box-shadow: var(--shadow-m); }
.jn-icon { font-size: 16px; }
.jn-text { flex: 1; font-size: 12.5px; font-weight: 700; color: var(--blue); text-align: left; }
.jn-arr  { font-size: 14px; color: var(--blue); opacity: .7; }

/* ============================================================
   경기 일지 모달 (하단 시트)
   ============================================================ */
.jmodal {
  position: fixed; inset: 0; z-index: 900;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.jmodal.hidden { display: none; }

.jmodal-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  animation: jm-fade-in .22s ease;
}
@keyframes jm-fade-in { from{opacity:0} to{opacity:1} }

.jmodal-sheet {
  position: relative; z-index: 1;
  background: white;
  border-radius: 24px 24px 0 0;
  max-height: 88vh;
  display: flex; flex-direction: column;
  animation: jm-slide-up .28s cubic-bezier(.22,1,.36,1);
  max-width: 430px; width: 100%; margin: 0 auto;
}
@keyframes jm-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.jmodal-handle {
  width: 40px; height: 4px; background: var(--border);
  border-radius: 2px; margin: 12px auto 0;
  flex-shrink: 0;
}
.jmodal-close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); color: var(--sub);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: background .15s;
}
.jmodal-close:hover { background: var(--border); }

.jmodal-body {
  overflow-y: auto; padding: 16px 18px 32px;
  flex: 1; scrollbar-width: thin;
}

/* 모달 헤더 */
.jm-head {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.jm-logo { position: relative; width: 72px; height: 72px; flex-shrink: 0; overflow: visible; }
.jm-logo img { width: 72px; height: 72px; }
.jm-logo .jlogo-init { width: 72px; height: 72px; font-size: 26px; }
.jm-info { display: flex; flex-direction: column; gap: 4px; }
.jm-vs   { font-size: 20px; font-weight: 900; color: var(--text); }
.jm-meta { font-size: 12px; color: var(--muted); font-weight: 600; }

/* 스탯 그리드 */
.jm-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 20px;
}
.jm-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px; background: var(--bg); border-radius: var(--r-sm);
}
.jm-stat-hi { background: var(--blue-bg); }
.jm-stat-hi .jms-v { color: var(--blue); }
.jms-v { font-size: 18px; font-weight: 900; color: var(--text); line-height: 1; }
.jms-l { font-size: 10px; color: var(--muted); font-weight: 600; }

/* 피드백 섹션 */
.jm-fb-section { display: flex; flex-direction: column; gap: 10px; }
.jm-fb-label {
  font-size: 13px; font-weight: 800; color: var(--text);
}
.jm-fb-saved {
  background: var(--blue-bg);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 14px;
}
.jm-fb-text {
  font-size: 13px; color: var(--sub); line-height: 1.75;
  word-break: keep-all;
  font-style: italic;
}
.jm-fb-add { display: flex; flex-direction: column; gap: 8px; }
.jm-fb-input {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--font); font-size: 13px; color: var(--text);
  resize: none; line-height: 1.6;
  transition: border-color .2s;
  background: white;
}
.jm-fb-input:focus { border-color: var(--blue); outline: none; }
.jm-input-shake { animation: fb-shake .35s ease; }
@keyframes fb-shake {
  0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)}
}
.jm-save-btn {
  align-self: flex-end; padding: 10px 22px;
  background: var(--blue); color: white;
  border-radius: var(--r-sm); font-size: 13px; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s;
}
.jm-save-btn:hover { background: var(--blue-dark); }
.jm-save-ok { background: var(--green) !important; }

/* ============================================================
   CTA / 대기자 등록 섹션
   ============================================================ */
.cta-section    { margin: 0 0 32px; background: var(--white);
                  border-top: 6px solid var(--bg); }

/* ── 트리거 (닫힌 상태) ── */
.cta-trigger{
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px 24px; cursor: default;
  background: linear-gradient(105deg, #EFF6FF 0%, #fff 65%);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15,23,42,.14), 0 4px 16px rgba(37,99,235,.12);

  /* CTA 섹션 안에서만 하단 고정(sticky) */
  position: sticky;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  width: calc(100% - 24px);
  margin: 6px auto 0;
  z-index: 10;
}
.cta-trigger-left { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.cta-live-badge { display: inline-flex; align-items: center; gap: 6px;
                  background: var(--blue-bg); color: var(--blue);
                  font-size: 11px; font-weight: 700; letter-spacing: .5px;
                  padding: 3px 9px; border-radius: 100px; width: fit-content; }
.cta-live-dot   { width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
                  animation: cta-pulse 1.8s ease-in-out infinite; flex-shrink:0; }
@keyframes cta-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.cta-trigger-txt    { font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.3;
                      letter-spacing: -0.02em; }
.cta-trigger-txt em { font-style: normal; color: var(--blue); }
.cta-trigger-btn{
  flex-shrink: 0;
  padding: 12px 16px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 70%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, filter .22s ease;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(37,99,235,.28);
  position: relative;
  overflow: hidden;
}
.cta-trigger-btn::before{
  content:'';
  position:absolute; inset:-2px;
  background: radial-gradient(120px 60px at 20% 20%, rgba(255,255,255,.28), rgba(255,255,255,0) 60%);
  transform: translateX(-30%);
  animation: cta-shine 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-shine{
  0%,100% { transform: translateX(-35%); opacity: .7; }
  50%     { transform: translateX(10%);  opacity: 1; }
}
.cta-trigger-btn:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 16px 34px rgba(37,99,235,.34);
}
.cta-trigger-btn:active{ transform: translateY(0) scale(.99); }
.cta-trigger-arrow  { display: inline-block; transition: transform .2s; }
.cta-trigger-btn:hover .cta-trigger-arrow { transform: translateX(3px); }

/* ── 숨김 처리 ── */
.cta-body.hidden    { display: none; }
.cta-success.hidden { display: none; }
.cta-trigger.hidden { display: none; }
.cta-form.hidden    { display: none; }

/* ── 펼쳐진 폼 영역 ── */
.cta-body       { padding: 0 20px 32px; overflow: hidden;
                  animation: cta-expand .35s cubic-bezier(.4,0,.2,1); }
@keyframes cta-expand {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 긴급 알림 행 */
.cta-urgency-row { display: flex; align-items: center; gap: 7px;
                   margin-bottom: 10px; padding-top: 16px; }
.cta-urgency-dot { width: 8px; height: 8px; border-radius: 50%; background: #EF4444;
                   flex-shrink: 0; animation: cta-urgency-blink 1.2s ease-in-out infinite; }
@keyframes cta-urgency-blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.cta-urgency-txt { font-size: 12px; font-weight: 600; color: #EF4444; }

.cta-top        { margin-bottom: 14px; }
.cta-title      { font-size: 20px; font-weight: 900; color: var(--text); line-height: 1.3;
                  letter-spacing: -.4px; margin-bottom: 6px; word-break: keep-all; }
.cta-sub        { font-size: 12px; color: var(--sub); line-height: 1.65; word-break: keep-all; }
.cta-sub strong { color: var(--blue); font-weight: 700; }

/* 폼 */
.cta-form       { display: flex; flex-direction: column; gap: 10px; }
.cta-field      { display: flex; flex-direction: column; gap: 4px; }
.cta-label      { font-size: 11px; font-weight: 700; color: var(--sub); letter-spacing: .3px; }
.cta-input      { background: var(--white); border: 1.5px solid var(--border);
                  border-radius: var(--r-sm); padding: 11px 14px;
                  font-size: 14px; font-family: var(--font); color: var(--text);
                  transition: border-color .2s; }
.cta-input::placeholder { color: #CBD5E1; }
.cta-input:focus { outline: none; border-color: var(--blue);
                   box-shadow: 0 0 0 3px rgba(37,99,235,.08); }

/* 기능 선택 칩 */
.cta-feat-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cta-feat-btn   { padding: 6px 12px; border-radius: 20px;
                  border: 1.5px solid var(--border); background: var(--white);
                  font-size: 12px; font-weight: 700; color: var(--sub);
                  cursor: pointer; transition: all .18s; white-space: nowrap; }
.cta-feat-btn:hover    { border-color: var(--blue); color: var(--blue); }
.cta-feat-btn.selected { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 전화번호 수집 안내 */
.cta-phone-hint { font-size: 12px; color: var(--muted); line-height: 1.55; word-break: keep-all; margin-top: 4px; }

/* 에러 */
.cta-form-err   { font-size: 12px; color: #EF4444; min-height: 16px; }

/* 제출 버튼 */
.cta-submit     { width: 100%; padding: 16px;
                  background: linear-gradient(135deg, var(--blue) 0%, #1D4ED8 100%);
                  color: #fff; font-size: 15px; font-weight: 800;
                  border-radius: var(--r-sm); cursor: pointer;
                  transition: all .22s; margin-top: 6px;
                  box-shadow: 0 4px 18px rgba(37,99,235,.32);
                  position: relative; overflow: hidden; }
.cta-submit::after  { content: ''; position: absolute; inset: 0;
                      background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 60%);
                      pointer-events: none; }
.cta-submit:hover    { transform: translateY(-1px);
                       box-shadow: 0 7px 22px rgba(37,99,235,.42); }
.cta-submit:active   { transform: scale(.99); }
.cta-submit:disabled { opacity: .55; cursor: default; transform: none; }

/* 성공 화면 */
.cta-success        { text-align: center; padding: 20px 0 12px; position: relative; overflow: hidden; }
.cta-success-icon   { font-size: 56px; margin-bottom: 12px;
                      animation: cta-bounce .6s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes cta-bounce {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  60%  { transform: scale(1.2) rotate(6deg); opacity: 1; }
  80%  { transform: scale(.9) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}
.cta-success-title  { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px;
                      animation: cta-fadein .4s .3s ease both; }
.cta-success-msg    { font-size: 13px; color: var(--sub); line-height: 1.75;
                      word-break: keep-all; animation: cta-fadein .4s .5s ease both; }
@keyframes cta-fadein { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

/* 컨페티 파티클 */
.cta-confetti       { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-confetti span  { position: absolute; top: -10px; border-radius: 2px;
                      animation: cta-fall linear forwards; }
@keyframes cta-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(260px) rotate(720deg); opacity: 0; }
}
