/* Spovia 共通スタイル（全競技・全体トップ・英語版。スマートフォン優先・外部フォントなし）
   色は「意味のトークン」で指定する。競技ごとの色と専用部品は css/sports/<競技>.css で上書き・追加する。
     --brand-900/800/600/100  競技のメインカラー（濃→淡）   --brand-hero  ヒーローのグラデーションの明るい側
     --brand-soft-ink         ダークモードで淡色背景に載せる文字  --accent / --accent-ink / --accent-hover  強調色（ボタン・バッジ） */
:root {
  --bg: #f7f6f1;
  --surface: #ffffff;
  --surface-2: #eef1ea;
  --text: #17201b;
  --muted: #5b665f;
  --line: #dde2da;
  --brand-900: #0a3a2a;
  --brand-800: #0d4a35;
  --brand-600: #1b6b4c;
  --brand-100: #e2efe7;
  --accent: #f2c94c;
  --accent-ink: #3d2f00;
  --accent-hover: #f6d670;
  --brand-hero: #1f7a55;
  --brand-soft-ink: #9fe0bf;
  --live: #d6453d;
  --link: #135e43;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 40, 28, .06), 0 4px 14px rgba(10, 40, 28, .06);
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1412; --surface: #171e1a; --surface-2: #1d2621; --text: #e6ece8; --muted: #9eaaa3; --line: #2a352f;
    --brand-100: #1d3027; --link: #7fd1a8; --shadow: none;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.35; margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.env-band { background: #8a1c1c; color: #fff; text-align: center; font-size: 12px; padding: 2px 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header { background: var(--brand-800); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 32px; height: 32px; color: var(--brand-600); flex: none; }
.brand-name { font-size: 18px; }
.nav-toggle { margin-left: auto; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; content: ""; transition: transform .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--brand-900); padding: 8px 16px 16px; flex-direction: column; }
.site-nav.is-open { display: flex; }
.site-nav a { color: #fff; text-decoration: none; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta { margin-top: 12px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; text-align: center; border: 0; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; background: none; padding: 0; margin-left: auto; align-items: center; gap: 4px; }
  .site-nav a { border: 0; padding: 8px 12px; font-size: 15px; border-radius: 8px; }
  .site-nav a:hover { background: rgba(255,255,255,.08); }
  .site-nav .nav-cta { margin: 0 0 0 8px; padding: 8px 16px; }
  .site-nav .nav-cta:hover { background: var(--accent-hover); }
}

/* ---------- hero ---------- */
.hero { background: radial-gradient(120% 140% at 85% 0%, var(--brand-hero) 0%, var(--brand-800) 45%, var(--brand-900) 100%); color: #fff; padding: 28px 0 32px; }
.hero-date { margin: 0 0 6px; font-size: 13px; opacity: .8; letter-spacing: .04em; }
.hero-title { font-size: clamp(22px, 5.4vw, 38px); font-weight: 800; letter-spacing: .01em; margin-bottom: 20px; }
.hero-paths { display: grid; gap: 12px; }
@media (min-width: 720px) { .hero-paths { grid-template-columns: 1fr 1fr; gap: 16px; } .sp-only { display: none; } }
.path-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 48px 18px 18px; border-radius: var(--radius); text-decoration: none; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); transition: background .15s, transform .15s; }
.path-card:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.path-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .85; }
.path-title { font-size: 20px; font-weight: 800; }
.path-desc { font-size: 14px; opacity: .9; }
.path-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 700; }

/* ---------- sections ---------- */
.section { margin: 32px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section h2, .section-head h2 { font-size: 20px; font-weight: 800; padding-left: 12px; border-left: 4px solid var(--brand-600); }
.section > h2 { margin-bottom: 14px; }
.more { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more::after { content: " →"; }
.empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; margin: 0; }
.two-col { display: grid; gap: 0 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.page-title { font-size: clamp(22px, 4.6vw, 30px); font-weight: 800; margin: 8px 0 16px; }
.page-title .season { font-size: .7em; color: var(--muted); font-weight: 700; }
.lead { font-size: 16px; color: var(--muted); margin: 0 0 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; padding-top: 16px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a::after, .crumbs span:not(:last-child)::after { content: "›"; margin: 0 8px; }
.crumbs span:last-child { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---------- tournament cards ---------- */
.source-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* ---------- filters / chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.filters .chips { margin: 0; }
[hidden] { display: none !important; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.chip[aria-current="true"] { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
select, input[type=search], input[type=text] { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.search { display: flex; gap: 8px; margin-bottom: 20px; }
.search input { flex: 1; min-width: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--brand-800); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand-600); }
.btn-gold { background: var(--accent); color: var(--accent-ink); }
.btn-gold:hover { background: var(--accent-hover); }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn-text { color: inherit; font-weight: 600; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* ---------- detail pages ---------- */
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); font-weight: 800; font-size: 18px; flex: none; }
.avatar-lg { width: 72px; height: 72px; font-size: 30px; }
@media (prefers-color-scheme: dark) { .avatar { color: var(--brand-soft-ink); } }
.notice { background: var(--surface-2); border-radius: var(--radius); padding: 16px; }
.notice p { margin: 0 0 10px; }
.notice-correction { border-left: 4px solid var(--live); margin: 20px 0; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- articles ---------- */
.feat-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.art-list { display: grid; gap: 10px; }
.art-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.art-link { display: block; padding: 16px; text-decoration: none; color: var(--text); height: 100%; }
.art-link:hover .art-title { text-decoration: underline; }
.art-compact .art-link { padding: 12px 14px; }
.art-cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--brand-600); margin-bottom: 4px; }
.cat-link { color: #1d5fa8; }
@media (prefers-color-scheme: dark) { .art-cat { color: #7fd1a8; } .cat-link { color: #8fb8f0; } }
.art-title { font-size: 16px; font-weight: 800; }
.art-compact .art-title { font-size: 15px; }
.ext { font-size: 13px; margin-left: 4px; color: var(--muted); }
.art-sum { margin: 6px 0 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-meta { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.article header { margin: 8px 0 16px; }
.article-title { font-size: clamp(22px, 5vw, 32px); font-weight: 800; margin: 4px 0 8px; }
.prose { font-size: 16px; }
.prose h2 { font-size: 20px; margin: 28px 0 10px; padding-left: 10px; border-left: 4px solid var(--brand-600); }
.prose h3 { font-size: 17px; margin: 22px 0 8px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--line); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.prose cite { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); font-style: normal; }
.prose-page .prose h2 { margin-top: 24px; }
.pager { display: flex; justify-content: space-between; margin: 24px 0; font-weight: 700; }

/* ---------- players / courses ---------- */

/* ---------- SNS ---------- */
.ai-badge { display: inline-block; margin-right: 6px; padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; font-weight: 700; color: var(--muted); vertical-align: 1px; }
.ai-note { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.pref-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 20px; }
.pref-nav a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--text); }
.pref-nav a small { margin-left: 4px; color: var(--muted); }
.pref-nav a[aria-current="page"] { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.pref-nav a[aria-current="page"] small { color: inherit; }
.sns-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .sns-grid { grid-template-columns: repeat(3, 1fr); } }
.sns-card { min-width: 0; }
.sns-link { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); height: 100%; }
.sns-platform { font-size: 12px; font-weight: 800; }
.sns-x { color: var(--text); }
.sns-instagram { color: #c13584; }
.sns-tiktok { color: var(--text); }
.sns-card .tiktok-embed { margin: 0 !important; }
.sns-caption { font-weight: 700; }
.sns-player { font-size: 13px; color: var(--muted); }

/* ---------- coach ---------- */
.coach-banner { display: grid; gap: 16px; align-items: center; margin: 36px 0; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, var(--brand-900), var(--brand-600)); color: #fff; }
@media (min-width: 800px) { .coach-banner { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.coach-banner h2 { font-size: 22px; font-weight: 800; }
.coach-banner p { margin: 6px 0 0; opacity: .92; }
.coach-banner-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin: 0 0 4px; }

/* ---------- ads ---------- */
.ad { margin: 28px 0; text-align: center; }
.ad-label { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-bottom: 4px; }
.ad-placeholder { border: 1px dashed var(--line); border-radius: 10px; padding: 12px; min-height: 100px; display: flex; flex-direction: column; justify-content: center; background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(0,0,0,.025) 8px, rgba(0,0,0,.025) 16px); }
.ad-ph-text { color: var(--muted); font-size: 13px; }

/* ---------- error / footer ---------- */
.error-page { padding: 48px 16px; text-align: center; }
.error-code { font-size: 64px; font-weight: 800; color: var(--brand-600); margin: 0; }
.site-footer { margin-top: 48px; background: var(--brand-900); color: rgba(255,255,255,.85); padding: 32px 0 20px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid nav { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-brand { font-weight: 800; font-size: 17px; margin: 0 0 4px; color: #fff; }
.site-footer .muted { color: rgba(255,255,255,.65); }
.copyright { margin-top: 24px; color: rgba(255,255,255,.55); }

/* ---------- home ---------- */
.hero-lead { margin: -8px 0 20px; opacity: .9; }
.hero-compact { padding: 22px 0 18px; }
.hero-compact .hero-title { margin-bottom: 14px; }
.sport-cards { display: grid; gap: 12px; }
@media (min-width: 720px) { .sport-cards { grid-template-columns: repeat(3, 1fr); } }
.sport-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 44px 18px 18px; border-radius: var(--radius); text-decoration: none; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.sport-card:hover { background: rgba(255,255,255,.14); }
.sport-card-golf { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sport-card-golf:hover { background: var(--accent-hover); }
.sport-card-soon { opacity: .55; }
.sport-card-name { font-size: 22px; font-weight: 800; }
.sport-card-name small { font-size: 12px; font-weight: 700; margin-left: 8px; opacity: .75; letter-spacing: .08em; }
.sport-card-tag { font-size: 14px; opacity: .9; }
.lang-note { margin: 0 0 12px; font-weight: 700; }

/* ---------- videos ---------- */
.video-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.yt, .yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; position: relative; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%, -50%); background: #e62117; border-radius: 12px; }
.yt-play::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.video-title { font-size: 15px; font-weight: 800; margin: 10px 14px 0; }
.video-title a { color: var(--text); text-decoration: none; }
.video-caption { margin: 4px 14px 0; font-size: 13px; color: var(--muted); }
.video-channel { margin: 4px 14px 12px; font-size: 12px; color: var(--muted); }

/* ---------- picks ---------- */
.pick-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .pick-grid { grid-template-columns: repeat(4, 1fr); } }
.pick-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.pick-card:hover { border-color: var(--brand-600); }
.pick-name { font-weight: 800; }
.pick-sub { font-size: 12px; color: var(--muted); }
.pick-list { display: grid; gap: 12px; }
.pick-profile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.pick-profile h3 small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 6px; }

/* ゴルフトップ（全件を縦に並べるページ） */
.site-counts ul { list-style: none; padding: 0; margin: 12px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.site-counts a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); font-size: 13px; }
.site-counts strong { font-size: 18px; }
.long-page .section { scroll-margin-top: 72px; }
.long-sub { margin: 18px 0 6px; font-size: 15px; }
.name-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 16px; font-size: 14px; }
.name-list li { padding: 3px 0; border-bottom: 1px dotted var(--line); overflow-wrap: anywhere; }
.name-list .yr { display: inline-block; min-width: 3.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
