  /**
   * =============================================================================
   * [CSS_Dashboard.html] 대시보드 핵심 스타일
   * =============================================================================
   * 대시보드 헤더, 탭 네비, 요약 카드, 실시간 대기열, 공지/숙제
   * 
   * ■ 분리된 CSS 파일 목록
   *   CSS_Dashboard.html    ← 현재 파일 (핵심)
   *   CSS_Timer.html        : 타이머 탭 + TV 최적화
   *   CSS_Ranking.html      : 랭킹 탭
   *   CSS_Setting.html      : 설정 탭 아코디언/폼
   *   CSS_Sparring.html     : 스파링 데이 탭
   *   CSS_Locker.html       : 사물함 관리 탭
   *   CSS_Media.html        : 미디어 모달/버튼
   *   CSS_MultiPlayer.html  : 멀티플레이어 카드
   * =============================================================================
   */
  /* =============================================================================
   * [CSS_Dashboard.html] 대시보드 화면 전용 스타일 v2
   * =============================================================================
   * ■ 구조
   *   #dashboard-screen
   *     .dash-header            ← 체육관명 / 등급 / 새로고침 / 로그아웃
   *     .dash-tab-nav           ← 탭 버튼 3개
   *     .dash-tab-content       ← 탭별 콘텐츠
   *       .dash-grid-2          ← 요약 카드 2열
   *       .dash-waiting-section ← 실시간 대기열 3열
   *       .dash-card (공지)     ← 공지/숙제 풀너비
   *       .dash-go-board-btn    ← 전체화면 이동 버튼
   * ============================================================================= */

  /* ── 전체 대시보드 화면 컨테이너 ── */
  #dashboard-screen {
    display: none;
    flex-direction: column;
    height: 100vh;
    background: #f2f2f2;
    font-family: 'Noto Sans KR', sans-serif;
    padding: 12px;
    box-sizing: border-box;
    gap: 10px;
    overflow: hidden;
  }

  /* ════════════════ 상단 헤더 ════════════════ */
  .dash-header {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 0 28px;
    height: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
  }

  .dash-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .dash-gym-name {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
  }

  .dash-grade-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
  }

  .dash-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .dash-logout-btn {
    background: #2a2a2a;
    color: #888;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
  }

  .dash-logout-btn:hover {
    background: #ff5252;
    color: #fff;
    border-color: #ff5252;
  }

  /* 보드 열기 버튼 — 헤더 우측 */
  .dash-board-btn {
    background: linear-gradient(135deg, #00ff88, #00c97a);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -0.3px;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
  }

  .dash-board-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0, 255, 136, 0.45);
  }

  .dash-refresh-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: transform 0.35s;
  }

  .dash-refresh-btn:hover {
    color: #aaa;
  }

  .dash-refresh-btn.spinning {
    animation: dash-spin 0.8s linear infinite;
  }

  @keyframes dash-spin {
    to {
      transform: rotate(360deg);
    }
  }

  /* ════════════════ 탭 네비게이션 ════════════════ */
  .dash-tab-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  .dash-tab-btn {
    flex: 1;
    height: 52px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    color: #999;
    cursor: pointer;
    transition: all 0.18s;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -0.3px;
  }

  .dash-tab-btn:hover {
    border-color: #bbb;
    color: #555;
    background: #f9f9f9;
  }

  /* 활성 탭 */
  .dash-tab-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #00ff88;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  }

  /* ════════════════ 탭 콘텐츠 영역 ════════════════ */
  .dash-tab-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }

  .dash-tab-content::-webkit-scrollbar {
    width: 5px;
  }

  .dash-tab-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }

  /* ════════════════ 요약 카드 (2열) ════════════════ */
  .dash-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dash-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .dash-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 4px;
  }

  .dash-card-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f5f5f5;
  }

  .dash-card-title {
    font-size: 12px;
    font-weight: 900;
    color: #999;
    letter-spacing: 0.5px;
  }

  .dash-card-value {
    font-size: 38px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
  }

  .dash-card-value.large {
    font-size: 28px;
  }

  .dash-card-value.medium {
    font-size: 22px;
    line-height: 1.4;
  }

  .dash-card-sub {
    font-size: 12px;
    color: #aaa;
    font-weight: 600;
  }

  .dash-expiry-warn {
    color: #ff9800 !important;
  }

  .dash-expiry-danger {
    color: #ff5252 !important;
  }

  /* ════════════════ 실시간 대기열 섹션 (3열) ════════════════ */
  .dash-waiting-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .dash-waiting-section-title {
    font-size: 13px;
    font-weight: 900;
    color: #888;
    letter-spacing: 0.5px;
    padding: 0 4px;
  }

  /* 3열 그리드 */
  .dash-waiting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .dash-waiting-col {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
  }

  /* 열 헤더 */
  .dash-waiting-col-header {
    font-size: 13px;
    font-weight: 900;
    padding: 12px 16px;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  }

  .dash-waiting-col-header.jindo {
    background: #e3f2fd;
    color: #1565c0;
  }

  .dash-waiting-col-header.mitt {
    background: #fce4ec;
    color: #c62828;
  }

  .dash-waiting-col-header.spar {
    background: #fff8e1;
    color: #e65100;
  }

  /* 열 목록 */
  .dash-waiting-col-list {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 160px;
    max-height: 520px;
    /* 380 → 520 */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
  }

  .dash-waiting-empty {
    color: #ccc;
    text-align: center;
    font-size: 13px;
    padding: 20px 0;
  }

  /* 대기 항목 */
  .dash-waiting-item {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 17px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
  }

  .dash-waiting-item:hover {
    background: #f0f0f0;
  }

  .dash-waiting-num {
    font-size: 12px;
    font-weight: 900;
    color: #bbb;
    min-width: 20px;
  }

  .dash-waiting-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ════════════════ 공지/숙제 카드 ════════════════ */
  .dash-notice-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.9;
    word-break: keep-all;
    min-height: 80px;
  }

  /* ════════════════ 대기열 전체화면 버튼 ════════════════ */
  .dash-go-board-btn {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #00ff88;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: -0.3px;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
  }

  .dash-go-board-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

  /* ── 보드 화면: 대시보드 복귀 버튼 (칼로리 원형 대체) ── */
  .board-back-btn {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.2s;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
  }

  .board-back-btn:hover {
    border-color: #00ff88;
    background: #111;
  }

  .board-back-arrow {
    font-size: 20px;
    color: #00ff88;
    line-height: 1;
  }

  .board-back-label {
    font-size: 9px;
    font-weight: 800;
    color: #555;
    letter-spacing: 0.5px;
  }
  /* ════════════════ 준비 중 콘텐츠 ════════════════ */
  .dash-coming-soon {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 0;
    color: #bbb;
  }

  .dash-coming-soon-icon {
    font-size: 56px;
  }

  .dash-coming-soon-title {
    font-size: 22px;
    font-weight: 900;
    color: #888;
  }

  .dash-coming-soon-sub {
    font-size: 14px;
  }
  /* ════════════════ 모바일 반응형 ════════════════ */
  @media (max-width: 768px) {
    #dashboard-screen {
      padding: 8px;
      gap: 8px;
    }

    .dash-header {
      padding: 0 14px;
      height: 62px;
      min-height: 62px;
    }

    .dash-gym-name {
      font-size: 16px;
    }

    .dash-tab-btn {
      font-size: 12px;
      height: 46px;
    }

    .dash-grid-2 {
      grid-template-columns: 1fr;
    }

    .dash-waiting-grid {
      grid-template-columns: 1fr;
    }

    .dash-waiting-col-list {
      max-height: 280px;
    }

    .dash-board-btn {
      padding: 6px 12px;
      font-size: 12px;
    }
  }

  
