  /**
   * [CSS_Sparring.html] 스파링 데이 탭 스타일 (spar- prefix)
   * CSS_Dashboard.html에서 분리됨.
   */
  /* ═══════════════════════════════════════════════════════
     [스파링 데이] — Premium UI v3
     세련된 인풋 필드, 글래스모피즘 드롭다운, 3D 버튼
     ═══════════════════════════════════════════════════════ */

  /* ── 카드 공통 ── */
  .spar-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
  }

  .spar-card-label {
    font-size: 13px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    display: block;
  }

  .spar-card-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .spar-hint {
    font-size: 11px;
    color: #c0c0c0;
    font-weight: 700;
    letter-spacing: -0.2px;
  }

  /* ── 상단 2열 그리드: 안내(좌) + 신청(우) 같은 행 ── */
  .spar-hero-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 14px;
    align-items: stretch;
  }

  /* 좌측: 다크 안내 카드 */
  .spar-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(155deg, #111 0%, #1e1e1e 50%, #262626 100%);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
  }

  /* 미세한 빛 효과 */
  .spar-hero-info::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .spar-hero-info .spar-card-label {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .spar-hero-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
  }

  .spar-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .spar-stat-val {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    font-family: 'Share Tech Mono', monospace;
  }

  .spar-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 3px;
  }

  .spar-stat-sep {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
  }

  .spar-hero-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.22);
    font-weight: 600;
    letter-spacing: -0.2px;
  }

  /* 새로고침 버튼 — 부드러운 회전 */
  .spar-refresh {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    flex-shrink: 0;
  }

  .spar-refresh:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    transform: rotate(360deg);
    border-color: rgba(255, 255, 255, 0.12);
  }

  /* 우측: 신청 폼 카드 */
  .spar-hero-form {
    display: flex;
    flex-direction: column;
  }

  .spar-form-fields {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  /* ── 인풋 필드 (공통) — 섬세한 디자인 ── */
  .spar-field-wrap {
    flex: 1;
    min-width: 180px;
    position: relative;
  }

  .spar-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #d0d0d0;
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s;
  }

  .spar-field {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px 13px 40px;
    border: 1.5px solid #ececec;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    background: #f8f9fa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  .spar-field:hover {
    border-color: #d8d8d8;
    background: #f5f6f7;
  }

  .spar-field:focus {
    border-color: #FF3B30;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.02);
  }

  .spar-field-wrap:focus-within .spar-field-icon {
    color: #FF3B30;
  }

  .spar-field::placeholder {
    color: #c8c8c8;
    font-weight: 600;
  }

  .spar-field-memo {
    flex: 0.5;
    min-width: 100px;
    padding-left: 16px;
  }

  .spar-memo-wrap {
    flex: 0.5;
    min-width: 100px;
  }

  /* ── 자동완성 드롭다운 — 글래스모피즘 ── */
  .spar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    z-index: 9999;
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.1),
      0 4px 16px rgba(0, 0, 0, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #eee transparent;
  }

  .spar-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.12s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .spar-dropdown-item:last-child {
    border-bottom: none;
  }

  .spar-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.04), rgba(255, 59, 48, 0.02));
  }

  .spar-dropdown-item:active {
    background: rgba(255, 59, 48, 0.08);
  }

  .spar-dropdown-name {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
  }

  .spar-dropdown-phone {
    font-size: 12px;
    font-weight: 900;
    color: #FF3B30;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1.5px;
    background: rgba(255, 59, 48, 0.06);
    padding: 3px 10px;
    border-radius: 8px;
  }

  .spar-dropdown-empty {
    padding: 24px;
    color: #d0d0d0;
    font-size: 13px;
    text-align: center;
    font-weight: 700;
  }

  /* ── 선택 배지 — 네온 그린 ── */
  .spar-selected-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 2px solid #66bb6a;
    border-radius: 14px;
    padding: 11px 14px 11px 42px;
    /* ← 수정: 좌측 42px (돋보기 아이콘 회피) */
    font-size: 15px;
    font-weight: 900;
    color: #1b5e20;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.1);
    animation: sparBadgeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  @keyframes sparBadgeIn {
    0% {
      transform: scale(0.9);
      opacity: 0;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .spar-badge-clear {
    background: rgba(0, 0, 0, 0.04);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .spar-badge-clear:hover {
    background: #ffcdd2;
    color: #c62828;
    transform: scale(1.1);
  }

  /* ── 신청 버튼 — 프리미엄 3D + 미세한 빛 ── */
  .spar-submit {
    height: 48px;
    min-width: 92px;
    padding: 0 22px;
    background: linear-gradient(135deg, #FF4136 0%, #c0392b 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
      0 4px 0 #8b1a12,
      0 6px 20px rgba(255, 59, 48, 0.18);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
  }

  /* 미세한 빛 하이라이트 */
  .spar-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 14px 14px 0 0;
  }

  .spar-submit:hover {
    transform: translateY(-2px);
    box-shadow:
      0 6px 0 #8b1a12,
      0 10px 28px rgba(255, 59, 48, 0.22);
  }

  .spar-submit:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #8b1a12;
  }

  .spar-submit-plus {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
  }

  /* ── 신청자 목록 ── */
  .spar-list-area {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #eee transparent;
  }

  .spar-applicant-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    margin: 3px 0;
    transition: all 0.2s;
  }

  .spar-applicant-row:hover {
    background: #f8f8f8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  }

  .spar-applicant-num {
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #1a1a1a, #333);
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .spar-applicant-name {
    font-size: 15px;
    font-weight: 800;
    flex: 1;
    color: #1a1a1a;
  }

  .spar-applicant-memo {
    font-size: 11px;
    color: #aaa;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
  }

  /* ── 조 셀렉트 — 컬러 코딩 ── */
  .spar-group-select {
    padding: 8px 30px 8px 12px;
    border: 2px solid #ececec;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    color: #ccc;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    background: #fafafa;
    min-width: 74px;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23d0d0d0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }

  .spar-group-select:focus {
    outline: none;
    border-color: #bbb;
  }

  .spar-group-select.group-a {
    border-color: #FF3B30;
    background-color: #fff5f5;
    color: #FF3B30;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.06);
  }

  .spar-group-select.group-b {
    border-color: #00C853;
    background-color: #f0fff4;
    color: #00C853;
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.06);
  }

  .spar-group-select.group-c {
    border-color: #2196F3;
    background-color: #f0f7ff;
    color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.06);
  }

  /* ── 취소 버튼 ── */
  .spar-cancel-btn {
    padding: 6px 12px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #ddd;
    cursor: pointer;
    background: transparent;
    transition: all 0.25s;
    font-family: 'Noto Sans KR', sans-serif;
  }

  .spar-cancel-btn:hover {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
    border-color: #ef9a9a;
  }

  /* ── 매칭 액션 바 ── */
  .spar-action-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
  }

  /* 조별 랜덤 매칭 버튼 — 프리미엄 3D + SVG 아이콘 */
  .spar-btn-match {
    flex: 1;
    height: 54px;
    padding: 0 28px;
    background: linear-gradient(135deg, #FF4136 0%, #c0392b 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow:
      0 4px 0 #7f1410,
      0 8px 28px rgba(255, 59, 48, 0.16);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
  }

  .spar-btn-match::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 16px 16px 0 0;
  }

  .spar-btn-match svg {
    flex-shrink: 0;
  }

  .spar-btn-match:hover {
    transform: translateY(-3px);
    box-shadow:
      0 7px 0 #7f1410,
      0 14px 36px rgba(255, 59, 48, 0.22);
  }

  .spar-btn-match:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #7f1410;
  }

  /* 초기화 버튼 — 미니멀 */
  .spar-btn-reset {
    min-width: 120px;
    height: 54px;
    padding: 0 20px;
    background: #fff;
    color: #aaa;
    border: 1.5px solid #ececec;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }

  .spar-btn-reset svg {
    flex-shrink: 0;
  }

  .spar-btn-reset:hover {
    background: #f8f8f8;
    color: #555;
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
  }

  .spar-btn-reset:hover svg {
    transform: rotate(360deg);
    transition: transform 0.5s;
  }

  /* ── 반응형 ── */
  @media (max-width: 700px) {
    .spar-hero-row {
      grid-template-columns: 1fr;
    }

    .spar-form-fields {
      flex-direction: column;
    }

    .spar-field-wrap,
    .spar-field-memo,
    .spar-memo-wrap {
      min-width: 100%;
      flex: 1;
    }

    .spar-submit {
      width: 100%;
    }

    .spar-action-row {
      flex-direction: column;
    }

    .spar-btn-match,
    .spar-btn-reset {
      width: 100%;
    }
  }

