﻿:root {
  --navy: #1B43A0;
  --navy-dark: #0E2B7A;
  --navy-light: #3A66C7;
  --gold: #ffffff;
  --gold-light: #f0f4ff;
  --white: #ffffff;
  --off-white: #f5f6fa;
  --text: #1a202c;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.14);
  --radius: 8px;
  --transition: 0.25s ease;
  --nav-h: 88px;        /* ナビ（ヘッダー）の高さ。ロゴ拡大に合わせて調整 */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 0.5rem;
}
.section-title { font-size: 2rem; font-weight: 900; color: var(--navy); margin-bottom: 0.75rem; }
.section-divider { width: 48px; height: 3px; background: var(--navy); margin: 0 auto; }
.section-footer { text-align: center; margin-top: 2.5rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.9rem; transition: var(--transition);
  cursor: pointer; border: 2px solid transparent; font-family: inherit;
}
.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { background: #e7eefc; transform: translateY(-2px); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo-img { height: 64px; width: auto; max-width: none; aspect-ratio: 2134 / 754; flex: 0 0 auto; display: block; }
.nav-logo { font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: 0.05em; }
.nav-subtitle { font-size: 0.83rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 0.2rem; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-weight: 500; font-size: 0.88rem;
  padding: 0.45rem 0.95rem; border-radius: var(--radius); transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--white); border-radius: 1px;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 1px; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-dark); flex-direction: column; align-items: stretch;
    padding: 0.75rem; gap: 0.4rem;
    transform: translateY(-110%); opacity: 0; pointer-events: none; transition: var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  /* タップ範囲を明確に分離（間隔を空け、角丸ボタン化。隣同士が重なって誤タップするのを防ぐ）
     display:block が肝心。inline のままだと縦paddingが行の高さに反映されず項目が重なる */
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.95rem 1rem; border-radius: 8px; }
  .nav-links a.active::after { display: none; }
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  padding: 8rem 0 4rem; text-align: center; color: var(--white);
}
.page-header-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); display: block; margin-bottom: 0.75rem;
}
.page-header-title { font-size: 2.25rem; font-weight: 900; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, #3A66C7 100%);
  min-height: 100vh; display: flex; flex-direction: column; padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: transparent;
}
.hero-body { flex: 1; display: flex; align-items: center; padding: 4rem 0 3rem; position: relative; z-index: 2; }
.hero-content {
  max-width: 600px;
  padding: 1.5rem 1.75rem;
  /* 背景画像をぼかして白色のフロスト調パネルにして、白文字を読みやすく */
  background: rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: transparent;
}
.hero-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white); border: 1px solid rgba(255,255,255,0.5);
  padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.hero-title { font-size: 3.25rem; font-weight: 900; color: var(--white); line-height: 1.18; margin-bottom: 0.65rem; text-shadow: 0 0 22px rgba(0,0,0,0.65), 0 2px 10px rgba(0,0,0,0.65); }
.hero-subtitle { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.32em; color: var(--white); margin-bottom: 2rem; text-shadow: 0 0 16px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.55); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-placeholder {
  background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px; aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; color: rgba(255,255,255,0.3);
}
.hero-image-placeholder .icon { font-size: 4.5rem; }
.hero-image-placeholder span { font-size: 0.85rem; }

/* ===== HERO BG SLIDER ===== */
.hero-bg-slider {
  position: absolute; inset: 0;
  /* NO z-index here — children (buttons/dots) participate in .hero stacking context */
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.75s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(14,43,122,0.52); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35); color: var(--white);
  font-size: 1.7rem; line-height: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); z-index: 10;
}
.slider-btn:hover { background: rgba(14,43,122,0.85); border-color: var(--white); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 1.25rem; }
.slider-next { right: 1.25rem; }

.slider-dots {
  position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.38); border: none; cursor: pointer;
  transition: var(--transition); padding: 0;
}
.slider-dot.active { background: var(--white); transform: scale(1.3); }
.hero-stats-bar { background: var(--navy); padding: 1.4rem 0; position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stats { display: flex; justify-content: center; gap: 4rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 1.7rem; font-weight: 900; color: var(--white); display: block; line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 0.2rem; }

@media (max-width: 900px) {
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 2rem; }
  .stat-number { font-size: 1.4rem; }
  .hero-overlay { background: transparent; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1.25rem; }
  .slider-btn { width: 38px; height: 38px; font-size: 1.3rem; }
  .slider-prev { left: 0.5rem; }
  .slider-next { right: 0.5rem; }
}

/* ===== NEWS CARDS ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(27,67,160,0.4); font-size: 2.5rem; overflow: hidden;
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.news-card-date { font-size: 0.73rem; color: var(--text-light); margin-bottom: 0.4rem; }
.news-card-title { font-size: 0.93rem; font-weight: 700; color: var(--text); line-height: 1.55; flex: 1; margin-bottom: 1rem; }
.news-card-link { color: var(--navy); font-size: 0.82rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.3rem; transition: var(--transition); }
.news-card-link:hover { color: var(--navy); }
.news-card-link::after { content: '→'; }
.news-loading { text-align: center; padding: 3rem; color: var(--text-light); grid-column: 1 / -1; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.7s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== NOTE BANNER ===== */
.note-banner {
  background: var(--navy); padding: 1.25rem 1.5rem; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.note-banner-text { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600; }
.note-banner-text strong { color: var(--white); }

/* ===== SCHEDULE TABLE ===== */
.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule-table thead { background: var(--navy); color: var(--white); }
.schedule-table th { padding: 0.9rem 1.2rem; text-align: left; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.schedule-table td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: #fafbff; }
/* モバイルでは「日程」「大会名」のみ表示してテーブルが潰れないようにする */
@media (max-width: 640px) {
  .schedule-table th:nth-child(n+3),
  .schedule-table td:nth-child(n+3) { display: none; }
  .schedule-table th, .schedule-table td { padding: 0.75rem 0.9rem; font-size: 0.88rem; }
  .schedule-table th:first-child, .schedule-table td:first-child { white-space: nowrap; }
}
.badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 100px; font-size: 0.73rem; font-weight: 700; }
.badge-upcoming { background: rgba(27,67,160,0.1); color: var(--navy); }
.badge-done { background: rgba(148,163,184,0.18); color: #475569; }
.badge-live { background: rgba(22,163,74,0.12); color: #15803d; }
.year-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.year-tab {
  padding: 0.4rem 1.1rem; border: 2px solid var(--border); border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: var(--transition);
  background: var(--white); color: var(--text-mid); font-family: inherit;
}
.year-tab.active, .year-tab:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.season-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.season-tab {
  padding: 0.5rem 1.4rem; border: 2px solid var(--border); border-radius: 100px;
  font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: var(--transition);
  background: var(--white); color: var(--text-mid); font-family: inherit;
}
.season-tab.active, .season-tab:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.schedule-season { display: none; }
.schedule-season.active { display: block; }

/* ===== ROSTER ===== */
.year-filter { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.year-btn {
  padding: 0.45rem 1.1rem; border: 2px solid var(--border); border-radius: 100px;
  font-size: 0.83rem; font-weight: 700; cursor: pointer; transition: var(--transition);
  background: var(--white); color: var(--text-mid); font-family: inherit;
}
.year-btn.active, .year-btn:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.roster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.player-card { display: block; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); color: inherit; text-decoration: none; }
.player-card:hover .player-name { color: var(--navy); }
.player-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.player-card[data-year="1"] .player-photo { background: linear-gradient(160deg, #2a4fa0, var(--navy-dark)); }
.player-card[data-year="2"] .player-photo { background: linear-gradient(160deg, #163d85, #0d2060); }
.player-card[data-year="3"] .player-photo { background: linear-gradient(160deg, #1B43A0, #0E2B7A); }
.player-card[data-year="4"] .player-photo { background: linear-gradient(160deg, var(--navy), #0a1f50); }
.player-photo {
  aspect-ratio: 3/4; position: relative;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.12); font-size: 5rem;
}
.player-number {
  position: absolute; top: 0.65rem; right: 0.65rem;
  background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 900;
  padding: 0.2rem 0.55rem; border-radius: 4px;
}
.player-info { padding: 1rem; text-align: center; }
.player-year { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--navy); text-transform: uppercase; margin-bottom: 0.2rem; }
.player-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.15rem; }
.player-name-en { font-size: 0.72rem; color: var(--text-light); margin-bottom: 0.4rem; }
.player-detail { font-size: 0.8rem; color: var(--text-mid); }

@media (max-width: 900px) { .roster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px) { .roster-grid { grid-template-columns: repeat(2, 1fr); } }
/* スマホでは選手一覧（roster ページ）を1カラムにして写真を大きく見せる */
@media (max-width: 580px) { #rosterGrid { grid-template-columns: 1fr; } }

/* ===== RESULTS ===== */
.result-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem; margin-bottom: 1rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  transition: var(--transition);
}
.result-card:hover { box-shadow: var(--shadow-lg); transform: translateX(3px); }
.result-date { text-align: center; background: var(--navy); color: var(--white); padding: 0.65rem 0.9rem; border-radius: var(--radius); min-width: 66px; }
.result-month { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); }
.result-day { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.result-title { font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.result-meta { font-size: 0.82rem; color: var(--text-light); }
.result-rank { text-align: right; }
.result-rank-number { font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.result-rank-label { font-size: 0.72rem; color: var(--text-light); }
.result-rank.first .result-rank-number { color: #b8860b; }
.result-rank.second .result-rank-number { color: #888; }
.result-rank.third .result-rank-number { color: #a0522d; }

@media (max-width: 580px) {
  .result-card { grid-template-columns: auto 1fr; }
  .result-rank { grid-column: 2; text-align: left; }
}

/* ===== COACHES ===== */
.coaches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.coach-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; text-align: center; transition: var(--transition);
}
.coach-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy-light), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2); font-size: 3rem;
  position: relative; overflow: hidden;
}
.coach-info { padding: 1rem; }
.coach-role { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--navy); text-transform: uppercase; margin-bottom: 0.2rem; }
.coach-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; transition: var(--transition); }
.coach-profile { font-size: 0.83rem; color: var(--text-mid); line-height: 1.65; }

@media (max-width: 768px) { .coaches-grid { grid-template-columns: repeat(2, 1fr); } }
/* スマホでは選手カードと同じ 2 カラム表示にする（学生と同じ大きさ感） */
@media (max-width: 480px) { .coaches-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.65); padding: 3rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand-name { font-size: 1.1rem; font-weight: 900; color: var(--white); margin-bottom: 0.2rem; }
.footer-brand-sub { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 0.9rem; letter-spacing: 0.04em; }
.footer-desc { font-size: 0.83rem; line-height: 1.75; }
.footer-heading { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 0.9rem; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { font-size: 0.83rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.4rem; text-align: center; font-size: 0.78rem; }

@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-light); }

/* ===== PHOTO ICONS ===== */
.player-photo-icons {
  position: absolute; top: 0.55rem; left: 0.55rem;
  display: flex; flex-direction: column; gap: 0.32rem; z-index: 3;
}
.photo-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  border: none; cursor: pointer; transition: var(--transition);
  text-decoration: none; line-height: 1;
}
.photo-icon:hover { transform: scale(1.15); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.photo-icon-email     { color: var(--navy); }
.photo-icon-instagram { color: #e1306c; }
.photo-icon-threads   { color: #000; }

/* ===== EMAIL MODAL ===== */
.email-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(14,43,122,0.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.email-overlay.open { opacity: 1; pointer-events: all; }
.email-modal {
  background: var(--white); border-radius: 16px;
  padding: 2.25rem 2rem; max-width: 360px; width: 90%;
  position: relative; text-align: center;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.email-overlay.open .email-modal { transform: translateY(0) scale(1); }
.email-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--off-white); border: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 1.1rem; color: var(--text-mid); line-height: 30px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.email-modal-close:hover { background: var(--border); }
.email-modal-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.email-modal-icon svg { width: 24px; height: 24px; }
.email-modal-title { font-size: 1.15rem; font-weight: 900; color: var(--navy); margin-bottom: 0.6rem; }
.email-modal-note  { font-size: 0.78rem; color: var(--text-mid); margin-bottom: 1.25rem; line-height: 1.55; }
.email-modal-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.35rem; }
.email-modal-addr  { font-size: 0.95rem; color: var(--text); margin-bottom: 1.5rem; word-break: break-all; }
.email-modal-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.btn-copy {
  background: var(--off-white); color: var(--text-mid);
  border: 2px solid var(--border); font-family: inherit;
  font-size: 0.85rem; font-weight: 700; cursor: pointer;
  padding: 0.65rem 1.25rem; border-radius: var(--radius);
  transition: var(--transition);
}
.btn-copy:hover { border-color: var(--navy); color: var(--navy); }

/* ===== SCORE BOARD ===== */
.score-board { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 2rem; }
.score-board-header { background: var(--navy); color: var(--white); padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.score-board-title { font-size: 1rem; font-weight: 900; }
.score-board-meta { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.score-board-summary { display: flex; align-items: center; gap: 1.25rem; padding: 0.85rem 1.5rem; background: var(--off-white); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.score-board-team-badge { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 0.45rem 0.9rem; text-align: center; min-width: 58px; }
.score-board-team-badge .badge-rank { font-size: 1.3rem; font-weight: 900; line-height: 1; display: block; }
.score-board-team-badge .badge-lbl { font-size: 0.6rem; color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.score-board-team-info .info-total { font-size: 1rem; font-weight: 900; color: var(--navy); }
.score-board-team-info .info-meta { font-size: 0.78rem; color: var(--text-light); }

.score-row { display: grid; grid-template-columns: 30px 44px 1fr auto auto auto; align-items: center; gap: 0.75rem; padding: 0.8rem 1.5rem; border-bottom: 1px solid var(--border); transition: background var(--transition); }
.score-row:last-child { border-bottom: none; }
.score-row:hover { background: #fafbff; }

.score-medal { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 900; flex-shrink: 0; }
.medal-1 { background: #ffd700; color: #7a5c00; }
.medal-2 { background: #d4d4d4; color: #555; }
.medal-3 { background: #cd7f32; color: #fff; }
.medal-n { background: var(--border); color: var(--text-mid); font-size: 0.65rem; }

.score-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-light), var(--navy-dark)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); font-size: 1.4rem; border: 2px solid rgba(27,67,160,0.15); flex-shrink: 0; overflow: hidden; }
.score-avatar img { width: 100%; height: 100%; object-fit: cover; }
.score-player { min-width: 0; }
.score-player-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-player-year { font-size: 0.7rem; color: var(--text-light); }
.score-rounds { display: flex; gap: 4px; justify-content: center; }
.score-rounds span { display: inline-block; background: var(--off-white); padding: 0.18rem 0.45rem; border-radius: 4px; font-size: 0.78rem; font-variant-numeric: tabular-nums; color: var(--text-mid); min-width: 28px; text-align: center; }
.score-total { font-size: 1.1rem; font-weight: 900; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; min-width: 40px; }
.score-vspar { text-align: right; font-size: 0.82rem; font-weight: 700; min-width: 38px; }
.score-vspar.under { color: #c53030; }
.score-vspar.even, .score-vspar.over { color: var(--text-mid); }

@media (max-width: 580px) {
  .score-row { grid-template-columns: 26px 36px 1fr auto; gap: 0.5rem; padding: 0.65rem 1rem; }
  .score-rounds, .score-vspar { display: none; }
  .score-avatar { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* ===== HIGHLIGHTS ===== */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.highlight-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.highlight-card[data-playable="true"] { cursor: pointer; }
.highlight-card[data-playable="true"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.highlight-thumb { aspect-ratio: 16/9; position: relative; background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.highlight-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.highlight-play { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.95); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: var(--transition); box-shadow: 0 4px 18px rgba(0,0,0,0.35); z-index: 1; }
.highlight-play svg { margin-left: 4px; }
.highlight-card[data-playable="true"]:hover .highlight-play { background: var(--white); transform: scale(1.12); }
.highlight-placeholder-txt { color: rgba(255,255,255,0.3); font-size: 0.75rem; text-align: center; }
.highlight-info { padding: 1rem; }
.highlight-date { font-size: 0.7rem; color: var(--text-light); margin-bottom: 0.2rem; }
.highlight-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; line-height: 1.5; }
.highlight-desc { font-size: 0.78rem; color: var(--text-mid); line-height: 1.6; }

.video-overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,0.88); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.video-overlay.open { opacity: 1; pointer-events: all; }
.video-modal { position: relative; width: 90%; max-width: 880px; }
.video-modal-close { position: absolute; top: -2.75rem; right: 0; background: none; border: none; color: rgba(255,255,255,0.8); font-size: 1.8rem; cursor: pointer; line-height: 1; transition: var(--transition); padding: 0.25rem; }
.video-modal-close:hover { color: var(--white); }
.video-modal iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius); display: block; }

@media (max-width: 900px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .highlights-grid { grid-template-columns: 1fr; } }

/* ===== PHOTO IMAGES ===== */
.player-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.player-header-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.coach-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ===== COACH CARD (CLICKABLE) ===== */
.coach-card-clickable { cursor: pointer; }
.coach-card-clickable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.coach-card-clickable:hover .coach-name { color: var(--navy); }

/* ===== NOTE ARTICLE CARD ===== */
.note-article-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.note-article-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: opacity var(--transition); }
.note-article-link:hover { opacity: 0.88; }
.note-article-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.note-article-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.note-article-no-img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-light), var(--navy-dark)); display: flex; align-items: center; justify-content: center; }
.note-article-no-img span { font-size: 1.5rem; font-weight: 900; color: rgba(255,255,255,0.3); letter-spacing: 0.12em; }
.note-article-body { padding: 0.9rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.note-article-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
.note-article-cta { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.note-article-cta::after { content: ' →'; }
.note-article-loading { display: flex; align-items: center; justify-content: center; padding: 1.5rem; color: var(--text-light); font-size: 0.82rem; gap: 0.5rem; }
