/* TIC STATSBOOK。色と文字は、公式サイト（tic-hockey.com）・閲覧アプリ・取り込みアプリとそろえる */
/* 2026-10-20から、白い地に、角の丸い薄いグレーのカードを置く見た目（Apple Sports のような）。
   --deep は塗りに使う紺、--card はカード、--card-2 は押せるカードに触れたとき、--sel は選んでいるもの・ボタンの塗り */
:root {
  --navy: #0b1638; --blue: #1b398f; --red: #e22318; --ink: #060c22; --deep: #0b1638; --brand-blue: #1b398f;
  --text: #2b3040; --muted: #636b7d; --ice: #f2f5fa; --ice-2: #e6ecf6; --line: rgba(11, 22, 56, .08); --soft: #9fb0d9;
  --bg: #ffffff; --card: #f3f5fa; --card-2: #e9edf5; --sel: #0b1638;
  --display: 'Barlow Condensed', 'Noto Sans JP', sans-serif;
  --jp: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --wrap: 1120px;
  --streak:
    radial-gradient(rgba(6, 12, 34, .35) 1px, transparent 1.3px) 0 0 / 4px 4px,
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 11px),
    radial-gradient(70% 90% at 88% 18%, #e22318 0%, rgba(226, 35, 24, 0) 62%),
    radial-gradient(60% 80% at 62% 92%, #c0144f 0%, rgba(192, 20, 79, 0) 60%),
    radial-gradient(80% 100% at 8% 70%, #1b398f 0%, rgba(27, 57, 143, 0) 65%),
    linear-gradient(135deg, #2a1660 0%, #0b1638 70%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  font-family: var(--jp); font-weight: 500; font-feature-settings: 'palt' 0;
  background: var(--bg);
}
a { color: var(--blue); }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--card); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.empty { color: var(--muted); text-align: center; padding: 18px 0; font-size: 13px; grid-column: 1 / -1; list-style: none; }
.note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }

/* ---------- ヘッダー ---------- */
.gh { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
/* すりガラスは疑似要素に付ける（.gh に backdrop-filter を付けると、メニューの position: fixed がヘッダーの中に閉じ込められるため） */
.gh::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.gh-in { max-width: var(--wrap); margin: 0 auto; padding: 0 0 0 16px; height: 60px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 40px; height: 40px; }
.brand b, .gf-brand b { display: flex; align-items: center; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 24px; line-height: 1; letter-spacing: -.005em; }
.brand b i, .gf-brand b i { font-style: normal; font-size: 11px; letter-spacing: .06em; background: var(--red); color: #fff; padding: 3px 5px 2px; margin-right: 5px; transform: skewX(-12deg); line-height: 1; }
.brand b em, .gf-brand b em { font-style: italic; color: var(--red); }
.brand small { display: block; margin-top: 3px; font-size: 9.5px; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.gnav { display: none; gap: 2px; margin-left: auto; }
.gnav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.gnav a:hover { background: var(--ice); }
.gnav a[aria-current] { background: var(--sel); color: #fff; }
/* 大会のバー：大会の中のページ（大会トップ・ランキング・大学・選手・試合）の上に、どの大会かを出す */
.tbar { background: var(--deep); color: #fff; position: relative; z-index: 20; }
.tbar-in { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; }
.tsel { position: relative; }
.tsel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 0; white-space: nowrap; }
.tsel summary::-webkit-details-marker { display: none; }
.tsel summary small { font-family: var(--display); font-weight: 600; letter-spacing: .12em; color: var(--soft); font-size: 12px; }
.tsel summary b { font-size: 16px; font-weight: 900; }
.tsel summary::after { content: '▾'; color: var(--soft); font-size: 12px; }
.tsel-menu { position: absolute; left: 0; top: 100%; background: var(--card); color: var(--navy); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(11, 22, 56, .24); padding: 10px; min-width: 260px; }
.tsel-h { margin: 2px 8px 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tsel-all { display: block; margin: 8px 8px 2px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }
.tnav { display: flex; gap: 2px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; width: calc(100% + 32px); scrollbar-width: none; }
.tnav::-webkit-scrollbar { display: none; }
.tnav a { flex: none; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.tnav a:hover { background: rgba(255, 255, 255, .16); }
.tnav a[aria-current] { background: var(--red); }
.tsel-y small, .mnav-t small { display: block; font-family: var(--display); font-weight: 600; letter-spacing: .14em; color: var(--muted); font-size: 12px; margin: 6px 8px 2px; }
.tsel-y a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; }
.tsel-y a:hover { background: var(--ice); }
.tsel-y a[aria-current] { background: var(--ice-2); }
/* パンくず（大会 › 大学 など） */
.crumbs a, .crumbs span { color: #fff; }
.crumbs a + a::before, .crumbs a + span::before { content: '›'; margin: 0 8px; opacity: .6; display: inline-block; text-decoration: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.live { font-size: 11px; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 8px; }
.mnav { margin-left: auto; }
.mnav summary { list-style: none; width: 60px; height: 60px; display: grid; place-items: center; background: var(--sel); color: #fff; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary i, .mnav summary i::before, .mnav summary i::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: ''; }
.mnav summary i::before { position: absolute; top: -7px; }
.mnav summary i::after { position: absolute; top: 7px; }
.mnav[open] summary i { background: transparent; }
.mnav[open] summary i::before { top: 0; transform: rotate(45deg); }
.mnav[open] summary i::after { top: 0; transform: rotate(-45deg); }
.mnav-panel { position: fixed; inset: 60px 0 0 0; overflow-y: auto; background: var(--streak); color: #fff; padding: 22px 22px 40px; }
.mnav-panel::before { content: ''; position: fixed; inset: 60px 0 0 0; background: rgba(11, 22, 56, .75); z-index: -1; }
.mnav-panel nav a { display: flex; align-items: center; justify-content: space-between; color: #fff; text-decoration: none; font-weight: 900; font-size: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.mnav-panel nav a::after { content: '›'; color: var(--red); font-size: 26px; line-height: 1; }
.mnav-panel nav a[aria-current] { color: var(--soft); }
.mnav-h { font-family: var(--display); letter-spacing: .16em; color: var(--soft); margin: 22px 0 4px; }
.mnav-t small { color: var(--soft); margin-left: 0; }
.mnav-t a { display: flex; justify-content: space-between; color: #fff; text-decoration: none; font-weight: 700; padding: 8px 0; }
.mnav-t a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; padding-left: 10px; padding-right: 10px; }
.mnav-panel .btn { margin-top: 24px; }

/* ---------- ボタン ---------- */
.btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; padding: 14px 18px; font-weight: 900; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn.red { background: var(--red); color: #fff; }
.btn.navy { background: var(--sel); color: #fff; display: inline-flex; }

/* ---------- ヒーロー ---------- */
.hero, .phead, .team { position: relative; overflow: hidden; color: #fff; background: var(--streak); }
.hero { padding: 40px 0 32px; }
.hero::after { content: ''; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 180%;
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0) 0 18px, rgba(255, 90, 120, .18) 18px 20px, rgba(255, 255, 255, 0) 20px 34px); transform: rotate(14deg); pointer-events: none; }
.hero-word { position: absolute; right: -8px; bottom: -14px; font-family: var(--display); font-weight: 800; font-size: 150px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28); pointer-events: none; }
.hero-in, .team .wrap, .phead .wrap { position: relative; z-index: 1; }
.eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: .16em; font-size: 12px; text-transform: uppercase; margin: 0; opacity: .9; }
.eyebrow a { color: #fff; }
.title { display: flex; flex-direction: column; align-items: flex-start; margin: 34px 0 0; font-size: inherit; }
.lab { display: inline-block; background: var(--red); color: #fff; font-weight: 900; font-size: 16px; padding: 5px 12px; line-height: 1.35; }
.lab.xl { font-size: 30px; background: rgba(11, 22, 56, .9); padding: 8px 14px; letter-spacing: .02em; }
.meta { margin: 12px 0 0; font-size: 12px; font-weight: 700; opacity: .9; }
.meta span::before { content: '／'; margin: 0 8px; opacity: .6; }
.hsearch, .psearch { display: flex; margin-top: 22px; max-width: 520px; }
.hsearch input, .psearch input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 0; padding: 12px 14px; border-radius: 0; }
.hsearch button, .psearch button { font: inherit; font-weight: 900; border: 0; background: var(--red); color: #fff; padding: 0 20px; cursor: pointer; }
.psearch { margin: 4px 0 6px; max-width: none; border: 1px solid var(--line); }

.phead { padding: 30px 0 26px; }
.ptitle { margin: 6px 0 0; font-size: 30px; font-weight: 900; line-height: 1.3; }
.psub { margin: 6px 0 0; font-size: 13px; font-weight: 700; opacity: .85; }

/* 大学・選手の見出し。ロゴを背景に薄く敷く */
.team { padding: 30px 0 36px; }
.team-logo, .phead-logo { position: absolute; top: 8px; right: 8px; height: calc(100% - 16px); width: auto; aspect-ratio: 1; object-fit: contain; opacity: .4; pointer-events: none; z-index: 0; }
.team .title { margin-top: 26px; }
.tiles { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 18px; }
/* 最後の段は、残りの幅いっぱいに広げる（数が割り切れなくても、すき間が出ないように） */
.tiles div { flex: 1 1 calc(33.333% - 1px); min-width: 96px; background: rgba(11, 22, 56, .82); padding: 8px 12px; }
.tiles small { display: block; font-size: 11px; color: var(--soft); font-weight: 700; }
.tiles b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; }

/* ---------- 表示の切り替え ---------- */
.viewbar { position: relative; z-index: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -18px 0 8px; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; box-shadow: 0 4px 14px rgba(11, 22, 56, .12); max-width: 100%; overflow-x: auto; }
.seg a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 13px; padding: 8px 15px; white-space: nowrap; }
.seg a[aria-current] { background: var(--sel); color: #fff; }

/* ---------- セクション ---------- */
.sec { margin: 34px 0 0; }
.sec-h { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 14px; }
.sec-h .num { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: .85; color: var(--red); }
.sec-h .en { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: .95; color: var(--navy); text-transform: uppercase; }
.sec-h .ja { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.sec-h .more { margin-left: auto; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sub-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; border-bottom: 2px solid var(--navy); padding-bottom: 4px; }
.sub-h b { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--navy); text-transform: uppercase; line-height: 1; }
.sub-h span { font-size: 12px; font-weight: 700; color: var(--muted); }

/* リーダーズ */
.leaders { display: grid; gap: 12px; grid-template-columns: 1fr; }
.leader { background: var(--card); border: 1px solid var(--line); }
.leader header { display: flex; align-items: center; justify-content: space-between; background: var(--deep); color: #fff; padding: 10px 14px; }
.leader h3 { margin: 0; font-size: 15px; font-weight: 900; }
.leader header a { color: var(--soft); font-size: 12px; font-weight: 700; text-decoration: none; }
.leader ol { list-style: none; margin: 0; padding: 4px 14px; }
.leader li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(11, 22, 56, .07); }
.leader li:last-child { border-bottom: 0; }
.leader li.empty { display: block; border-bottom: 0; }
.leader li a { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.leader li a span { min-width: 0; }
.leader li b { display: block; color: var(--ink); font-weight: 900; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader li small { display: block; color: var(--muted); font-size: 11px; }
.lr { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--soft); text-align: center; }
.lr.p1 { color: var(--red); } .lr.p2, .lr.p3 { color: var(--navy); }
.lv { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--red); }

/* 大学のロゴ（透過PNG）。形に沿って白い縁と薄い影を付ける */
.ul { width: 24px; height: 24px; object-fit: contain; flex: none; vertical-align: middle;
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 0 1px rgba(6, 12, 34, .55)); }

/* 大学のタイル（トップ） */
.tts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tt { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); padding: 14px 8px 12px; text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.tt:hover, .tc:hover, .pc:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11, 22, 56, .12); }
.tt-logo { width: 56px; height: 56px; object-fit: contain; }
.tt b { font-weight: 900; font-size: 15px; }
.tt small { font-size: 11px; color: var(--muted); font-weight: 700; }

/* 大学のカード（大学の一覧） */
.tcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tc { position: relative; overflow: hidden; display: block; background: var(--card); border: 1px solid var(--line); padding: 16px; text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.tc-logo { position: absolute; right: -14px; top: -10px; width: 110px; height: 110px; object-fit: contain; opacity: .18; }
.tc-name { position: relative; display: block; font-weight: 900; font-size: 18px; margin-bottom: 10px; }
/* 入れ替わりの印（前の年度の同じ大会と比べて） */
.mv { display: inline-flex; align-items: center; gap: 3px; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .04em; line-height: 1; padding: 4px 7px 3px; transform: skewX(-12deg); white-space: nowrap; vertical-align: 3px; }
.mv i { font-style: normal; font-size: 9px; }
.mv-up { background: var(--brand-blue); color: #fff; }
.mv-down { background: var(--card); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.mv-new { background: var(--red); color: #fff; }
.tt { position: relative; }
.tt .mv { position: absolute; top: 8px; right: 8px; font-size: 11px; padding: 3px 6px 2px; }
.tc-name .mv { margin-left: 8px; }
.mv-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; color: #fff; font-size: 13px; font-weight: 700; }
.mv-line .mv { font-size: 13px; padding: 5px 9px 4px; }
.mv-line .mv-up { background: var(--card); color: var(--blue); }
.mv-line .mv-down { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.mv-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 16px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.mv-legend b { color: var(--navy); flex-basis: 100%; }
.mv-legend > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (min-width: 760px) { .mv-legend b { flex-basis: auto; margin-right: 4px; } }
.tc-rec { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(11, 22, 56, .07); padding-top: 8px; }
.tc-rec span { text-align: center; }
.tc-rec small, .pc-stats small { display: block; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .08em; color: var(--muted); line-height: 1.3; }
.tc-rec b, .pc-stats b { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.1; }

/* 選手のカード */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pc { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); padding: 12px 12px 10px; min-height: 220px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.pc-no { font-family: var(--display); font-weight: 800; color: var(--navy); line-height: 1; font-size: 30px; display: flex; align-items: center; gap: 6px; }
.pc-no small { font-size: 14px; margin-right: -4px; }
.pc-pos { position: absolute; top: 12px; right: 8px; writing-mode: vertical-rl; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.pc-hero { flex: 1; display: grid; place-items: center; margin: 6px 0 4px; min-height: 84px; background: radial-gradient(closest-side, var(--ice-2) 0 92%, transparent 94%) center / 88px 88px no-repeat; }
.pc-hero.hot { background-image: radial-gradient(closest-side, rgba(226, 35, 24, .12) 0 92%, transparent 94%); }
.pc-hero > span { text-align: center; line-height: 1; }
.pc-hero b { display: block; font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--red); }
.pc-hero b.sm { font-size: 34px; }
.pc-hero small { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--navy); }
.pc-name { text-align: center; font-weight: 900; color: var(--ink); font-size: 16px; line-height: 1.3; }
.pc-sub { text-align: center; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(11, 22, 56, .07); padding-top: 6px; text-align: center; }

/* 試合 */
.games { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); }
.game { display: grid; grid-template-columns: 64px 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(11, 22, 56, .07); }
.game:last-child { border-bottom: 0; }
.gmeta { font-size: 11px; color: var(--muted); line-height: 1.3; }
.gmeta b { display: block; font-family: var(--display); font-size: 15px; color: var(--navy); }
.gmeta small { display: block; font-size: 10px; }
.gt { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; min-width: 0; }
.gt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt.win { color: var(--ink); font-weight: 900; }
.gt.focus span { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.game .gt:last-child { flex-direction: row-reverse; text-align: right; }
.gscore { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--navy); white-space: nowrap; }
.gscore i { font-style: normal; color: var(--soft); margin: 0 6px; }
.day h2 { font-family: var(--display); font-size: 20px; color: var(--navy); margin: 26px 0 8px; }

/* ランキング */
.tabs { display: flex; gap: 0; margin: 18px 0 12px; border-bottom: 2px solid var(--navy); overflow-x: auto; }
.tabs a { flex: 1; text-align: center; padding: 11px 10px 9px; text-decoration: none; color: var(--navy); font-weight: 900; font-size: 14px; white-space: nowrap; }
.tabs a[aria-current] { background: var(--sel); color: #fff; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--navy); }
.filters label { display: inline-flex; align-items: center; gap: 6px; }
.filters select { font: inherit; font-size: 14px; border: 1px solid var(--line); padding: 7px 28px 7px 10px; background: var(--card); color: var(--text); }
.tblw { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border: 1px solid var(--line); }
.rt { width: 100%; border-collapse: collapse; font-size: 14px; }
.rt th, .rt td { padding: 9px 10px; border-bottom: 1px solid rgba(11, 22, 56, .07); text-align: left; white-space: nowrap; }
.rt th { position: sticky; top: 0; background: var(--card); color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; user-select: none; }
.rt th[aria-sort]::after { content: ' ▾'; }
.rt th[aria-sort='ascending']::after { content: ' ▴'; }
.rt .n { text-align: right; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--navy); }
.rt th.n { font-family: inherit; font-weight: 700; font-size: 11px; color: var(--muted); }
.rt td.hi { color: var(--red); font-size: 19px; }
.rt th.hi { color: var(--red); }
.rt tr:hover td { background: #f8fafd; }
.rk { width: 56px; color: var(--soft) !important; font-size: 20px !important; }
.rk.p1 { color: var(--red) !important; } .rk.p2, .rk.p3 { color: var(--navy) !important; }
.who { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.who b { display: block; color: var(--ink); font-weight: 900; font-size: 15px; line-height: 1.3; }
.who small { display: block; color: var(--muted); font-size: 11px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); padding: 7px 14px 7px 8px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 14px; }

.prose { max-width: 760px; padding-top: 24px; }
.prose h2 { font-size: 18px; color: var(--navy); margin: 28px 0 8px; }

/* ---------- フッター ---------- */
.gf { margin-top: 56px; background: var(--deep); color: #fff; }
.gf-in { max-width: var(--wrap); margin: 0 auto; padding: 32px 16px 40px; }
.gf-brand { display: flex; align-items: center; gap: 10px; }
.gf-brand b { color: #fff; font-size: 24px; }
.gf-brand small { display: block; margin-top: 3px; font-size: 10px; color: var(--soft); letter-spacing: .1em; }
.gf nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 20px 0; }
.gf nav a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.gf-note { font-size: 11px; color: var(--soft); margin: 0 0 6px; }
.gf-copy { font-size: 11px; color: var(--soft); margin: 0; font-family: var(--display); letter-spacing: .08em; }

/* スマホでは、表の余白を詰めて、右端の列まで画面に収める */
@media (max-width: 759px) {
  .rt th, .rt td { padding: 8px 6px; }
  .rt td.hi { font-size: 17px; }
  .who.sm .ul { display: none; }
}

/* ---------- PC ---------- */
@media (min-width: 760px) {
  .gnav { display: flex; }
  .mnav { display: none; }
  .tbar-in { flex-wrap: nowrap; }
  .tnav { margin: 0 0 0 auto; padding: 0; width: auto; }
  .gh-in { padding-right: 16px; }
  .hero { padding: 56px 0 48px; }
  .hero-word { font-size: 260px; }
  .title { margin-top: 48px; }
  .lab { font-size: 22px; }
  .lab.xl { font-size: 54px; padding: 10px 20px; }
  .meta { font-size: 13px; }
  .phead { padding: 44px 0 40px; }
  .ptitle { font-size: 40px; }
  .team { padding: 40px 0 30px; }
  .team-logo { right: 24px; }
  .tiles div { flex-basis: 0; }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pc { min-height: 260px; padding: 16px 16px 12px; }
  .pc-no { font-size: 36px; }
  .pc-hero b { font-size: 58px; }
  .pc-hero { background-size: 116px 116px !important; min-height: 120px; }
  .game { grid-template-columns: 90px 1fr auto 1fr; padding: 12px 18px; }
  .gt { font-size: 15px; }
}
@media (min-width: 1040px) {
  .leaders { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 選手の試合ごとの記録 ---------- */
.gno { display: block; font-size: 10px; color: var(--muted); font-weight: 700; }
.who.sm b { font-size: 14px; }
.res { display: block; font-weight: 900; font-size: 11px; white-space: nowrap; line-height: 1.3; }
.res.w { color: var(--red); } .res.l { color: var(--muted); } .res.d { color: var(--navy); }
.rt tr.legacy td { background: var(--ice); color: var(--muted); }
.rt tr.legacy td:first-child { font-size: 13px; }
.chart figcaption small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }

/* GKのセーブ率のグラフ。試合ごと＝青（#2f55c8）、累計＝赤（#e22318）。どちらも色の確かめ（明るさ・色覚・コントラスト）を通した色 */
.chart { margin: 0 0 14px; background: var(--card); border: 1px solid var(--line); padding: 14px 14px 6px; }
.chart figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; font-size: 13px; color: var(--navy); }
.ch-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 700; }
.ch-legend .k { display: inline-block; width: 18px; height: 2px; border-radius: 2px; margin-left: 8px; }
.ch-legend .k-game { background: #2f55c8; box-shadow: 0 0 0 0 #2f55c8; position: relative; }
.ch-legend .k-game::after { content: ''; position: absolute; left: 5px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #2f55c8; }
.ch-legend .k-cum { background: #e22318; }
.chart svg { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.ch-grid { stroke: #e3e8f0; stroke-width: 1; }
.ch-tick { font-family: var(--display); font-size: 12px; fill: var(--muted); }
.ch-end { font-family: var(--display); font-weight: 800; font-size: 15px; fill: var(--ink); }
.ch-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-line.game { stroke: #2f55c8; }
.ch-line.cum { stroke: #e22318; }
.ch-dot { fill: #2f55c8; stroke: #fff; stroke-width: 2; }
.ch-hit { fill: transparent; }
.ch-pt { cursor: pointer; outline: none; }
.ch-pt:hover .ch-dot, .ch-pt:focus .ch-dot { r: 7; }
.tip { position: fixed; z-index: 60; pointer-events: none; background: #000; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; padding: 8px 10px; border-radius: 8px; white-space: pre-line; box-shadow: 0 8px 20px rgba(6, 12, 34, .3); max-width: 260px; }

/* グラフは、スマホでは幅の狭い版、PCでは広い版を出す */
@media (max-width: 759px) { .chart svg.ch-wide { display: none; } }
@media (min-width: 760px) { .chart svg.ch-narrow { display: none; } }

/* ---------- サイトのトップ（大会一覧） ---------- */
.hero.site .lab.xl { font-size: 24px; }
.tfeature { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--streak); color: #fff; text-decoration: none; padding: 22px 20px; box-shadow: 0 10px 28px rgba(11, 22, 56, .2); }
.tfeature small { display: block; color: var(--soft); font-size: 12px; font-weight: 700; }
.tfeature b { display: block; font-size: 26px; font-weight: 900; line-height: 1.3; }
.tfeature em { font-style: normal; display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; background: var(--red); padding: 2px 10px; border-radius: 999px; }
.tf-go { flex: none; font-weight: 900; font-size: 14px; }
.tyear h3 { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); margin: 18px 0 8px; }
.tcards { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tcard { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); padding: 12px 14px; text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11, 22, 56, .12); }
.tcard.live-on { border-color: var(--red); }
.tc-season { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--sel); color: #fff; font-weight: 900; font-size: 16px; }
.tc-body { flex: 1; min-width: 0; }
.tc-body small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.tc-body b { font-size: 17px; font-weight: 900; }
.tc-st { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); }
@media (min-width: 760px) {
  .tcards { grid-template-columns: repeat(2, 1fr); }
  .hero.site .lab.xl { font-size: 44px; }
  .tfeature { padding: 30px 32px; }
  .tfeature b { font-size: 34px; }
}
.nw { white-space: nowrap; }

/* ---------- 文字 ----------
 * 日本語は源ノ角ゴシック（Source Han Sans。Google Fonts では Noto Sans JP の名前で配っている、同じ書体）（見出し・名前は太く、文字の間を詰める palt）。数字と英字は Barlow Condensed。
 * 表や数字は、桁がそろうように等幅の数字（tabular-nums）にする。 */
.lab, .ptitle, .tfeature b, .tc-body b, .who b, .leader li b, .pc-name, .tc-name, .tt b, .tsel summary b, .mnav-panel nav a, .gsec h2, .intro h2, .sub-h span, .sec-h .ja { font-feature-settings: 'palt' 1; letter-spacing: .01em; }
.lab.xl, .ptitle { letter-spacing: .02em; }
.rt .n, .tiles b, .lv, .lr, .pc-hero b, .pc-stats b, .tc-rec b, .gscore { font-variant-numeric: tabular-nums; }
.tiles b, .pc-hero b, .lv, .gscore { font-style: italic; font-weight: 800; }
.sec-h .en, .sub-h b, .hero-word { font-style: italic; }
/* トップの見出し（関東大学アイスホッケー選手名鑑）は、画面の幅に合わせて大きさを変え、必ず1行にする */
.hero .lab.xl.one { white-space: nowrap; font-size: min(44px, calc((100vw - 68px) / 15.6)); }

/* ---------- 使い方（入ったときのダイアログ） ---------- */
.intro { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); background: var(--card); color: var(--text); box-shadow: 0 24px 60px rgba(6, 12, 34, .4); }
.intro::backdrop { background: rgba(6, 12, 34, .62); backdrop-filter: blur(2px); }
.intro[open] { animation: intro-in .22s ease-out; }
@keyframes intro-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.intro-in { margin: 0; padding: 22px 20px 18px; }
.intro-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 3px solid var(--navy); }
.intro-en { margin: 0; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.intro h2 { margin: 2px 0 0; font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1.25; }
.intro-steps { list-style: none; margin: 14px 0 0; padding: 0; }
.intro-steps li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(11, 22, 56, .07); }
.is-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--sel); color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; font-style: italic; }
.intro-steps b { display: block; font-size: 15px; font-weight: 900; color: var(--ink); }
.intro-steps p { margin: 2px 0 0; font-size: 13px; line-height: 1.65; color: var(--text); }
.intro-more { display: inline-block; margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--blue); }
.intro-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.intro-off { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.intro-off input { width: 18px; height: 18px; accent-color: var(--red); }
.intro .btn { padding: 12px 28px; }

/* ---------- 使い方のページ ---------- */
.guide { max-width: 980px; }
.gtoc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 10px; }
.gtoc a { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; }
.gtoc a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sel); color: #fff; font-family: var(--display); font-style: italic; font-size: 13px; }
.gstep { display: grid; gap: 18px; padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.gstep-fig { order: 2; }
.phone { margin: 0 auto; max-width: 330px; padding: 10px; background: #000; border-radius: 30px; box-shadow: 0 18px 40px rgba(6, 12, 34, .28); }
.phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.gstep-no { display: flex; align-items: baseline; gap: 6px; margin: 0; color: var(--red); line-height: 1; }
.gstep-no span { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .16em; }
.gstep-no b { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 56px; }
.gstep-en { margin: 6px 0 0; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gstep h2, .gblock h2 { margin: 2px 0 10px; font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1.3; font-feature-settings: 'palt' 1; }
.gstep-lead { margin: 0 0 14px; line-height: 1.85; }
.gpoints { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gpoints li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); padding: 12px 14px; }
.gp-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 16px; }
.gpoints b { display: block; color: var(--ink); font-weight: 900; margin-bottom: 2px; }
.gpoints div { font-size: 14px; line-height: 1.7; }
.gblock { padding: 34px 0 10px; scroll-margin-top: 70px; }
.gterms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gterms div { background: var(--card); border: 1px solid var(--line); padding: 12px 14px; }
.gterms b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; color: var(--red); line-height: 1.1; }
.gterms span { font-size: 12px; color: var(--muted); line-height: 1.6; display: block; }
.gterms em { display: block; font-style: normal; font-weight: 900; font-size: 14px; color: var(--navy); }
.gmarks { display: grid; gap: 8px; margin-top: 14px; }
.gmarks div { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ghome { display: grid; gap: 10px; }
.ghome div { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); padding: 14px; }
.ghome img { border-radius: 12px; box-shadow: 0 4px 10px rgba(11, 22, 56, .15); }
.ghome p { margin: 0; font-size: 14px; line-height: 1.7; }
.ghome b { display: block; color: var(--navy); }
.kbd { display: inline-block; min-width: 22px; text-align: center; border: 1px solid var(--line); border-radius: 6px; padding: 0 4px; background: var(--ice); font-weight: 700; }
@media (min-width: 760px) {
  .gstep { grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
  .gstep-fig { order: 0; }
  .gstep:nth-of-type(even) { grid-template-columns: 1fr 340px; }
  .gstep:nth-of-type(even) .gstep-fig { order: 2; }
  .gterms { grid-template-columns: repeat(4, 1fr); }
  .ghome { grid-template-columns: 1fr 1fr; }
  .intro-in { padding: 28px 30px 24px; }
}
.tfeature { flex-wrap: wrap; }
.tfeature b { white-space: nowrap; }

/* =====================================================================
 * デザインシステム（参考：ANA大阪空港のサイト）。色とグラデーションは今のまま。
 *  ・文字：日本語は中くらいの太さで、文字の間と行の間を広く。英字の見出し・ラベルは Lexend（幾何学的な書体）
 *  ・形：丸いボタン（区切り線と矢印）、角の丸いカード、チケットの形のカード、番号と線（01 ——）
 * ===================================================================== */
:root { --en: 'Lexend', 'Noto Sans JP', sans-serif; --r: 16px; }
body { letter-spacing: .04em; line-height: 1.9; }
.prose p, .gstep-lead, .gpoints div, .note { letter-spacing: .06em; }

/* ヘッダー：文字のリンクと、右端の丸いボタン（選手名鑑） */
.gnav { align-items: center; gap: 4px; }
.gnav a { font-weight: 700; letter-spacing: .1em; padding: 8px 12px; border-radius: 0; background: none !important; color: var(--ink); position: relative; }
.gnav a:not(.cta)[aria-current] { color: var(--red); }
.gnav a:not(.cta)[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); }
.gnav a.cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 11px 24px; border-radius: 999px; background: var(--red) !important; color: #fff; box-shadow: 0 6px 16px rgba(226, 35, 24, .28); }
.gnav a.cta:hover { filter: brightness(1.08); }

/* ヒーロー：枠のない大きな文字。上のラベルは丸い札 */
.hero .eyebrow, .phead .eyebrow, .team .eyebrow { font-family: var(--en); font-weight: 500; letter-spacing: .14em; font-size: 12px; text-transform: none; }
.title { gap: 10px; }
.lab { border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .1em; padding: 5px 16px; }
.lab.xl { background: none; padding: 0; font-size: 32px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-shadow: 0 2px 18px rgba(6, 12, 34, .35); }
.hero .lab.xl.one { font-size: min(52px, calc((100vw - 36px) / 16.4)); }
.tagline { margin: 14px 0 0; font-family: var(--en); font-weight: 600; font-size: 15px; line-height: 1.7; letter-spacing: .06em; }
.meta { font-family: var(--en), var(--jp); letter-spacing: .06em; }
.ptitle { font-weight: 700; letter-spacing: .08em; }
.tiles { gap: 8px; }
.tiles div { border-radius: 12px; }
.tiles b { font-style: normal; font-weight: 700; }

/* 見出し：番号と線（01 ——）、英字は Lexend、その横に日本語 */
.sec-h { align-items: flex-end; }
.sec-h > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.sec-h .num { grid-row: span 2; display: flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 500; font-size: 14px; color: var(--red); line-height: 1; letter-spacing: .1em; align-self: center; }
.sec-h .num::after { content: ''; width: 36px; height: 1px; background: currentColor; }
.sec-h .en { font-family: var(--en); font-weight: 700; font-style: normal; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; }
.sec-h .ja { font-size: 12px; letter-spacing: .12em; }
.sub-h b { font-family: var(--en); font-style: normal; font-weight: 700; letter-spacing: .06em; font-size: 20px; }
.sub-h b::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border: 3px solid var(--red); border-radius: 50%; vertical-align: 2px; }
.hero-word, .sec-h .en { font-style: normal; }

/* 数字：Barlow Condensed（立てる）。表は桁をそろえる */
.pc-hero b, .lv, .gscore, .lr { font-style: normal; font-weight: 700; }

/* ボタン：丸く、区切り線と矢印 */
.btn { border-radius: 999px; padding: 15px 22px 15px 30px; justify-content: center; letter-spacing: .1em; font-weight: 700; box-shadow: 0 8px 20px rgba(11, 22, 56, .16); }
.btn::after { content: '→'; display: inline-block; margin-left: 18px; padding-left: 18px; border-left: 1px dashed rgba(255, 255, 255, .55); font-family: var(--en); font-weight: 500; }
.btn.ext::after { content: '↗'; }
.btn:hover { filter: brightness(1.08); }
.intro .btn::after { display: none; }
.intro .btn { padding: 12px 30px; }
.more { font-family: var(--en), var(--jp); letter-spacing: .08em; }

/* カード：角を丸く、線は細く */
.leader, .tc, .pc, .tt, .tcard, .tblw, .game, .gpoints li, .gterms div, .ghome div, .chips a, .psearch, .tabs { border-radius: var(--r); }
.leader, .tblw, .tabs { overflow: hidden; }
.tcard, .tc, .pc, .tt, .game, .leader, .tblw { border-color: var(--line); box-shadow: 0 2px 10px rgba(11, 22, 56, .04); }
.hsearch, .psearch { border-radius: 999px; overflow: hidden; }
.hsearch input, .psearch input { padding-left: 22px; letter-spacing: .06em; }
.hsearch button, .psearch button { padding: 0 26px; letter-spacing: .1em; }
.tc-season { border-radius: 12px; }
.phone { border-radius: 34px; }
.intro { border-radius: 22px; }
.tsel-menu { border-radius: var(--r); }
.gstep-no b { font-style: normal; font-weight: 700; }
.gstep-en, .intro-en { font-family: var(--en); font-weight: 500; letter-spacing: .14em; text-transform: none; }
.gp-n, .is-n { font-family: var(--en); font-style: normal; font-weight: 600; font-size: 14px; }
.is-n { border-radius: 50%; }

/* 開催中の大会：チケットの形（左に縦の帯、点線の区切り、右に矢印） */
.ticket { display: grid; grid-template-columns: 34px 1fr 54px; background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--navy); box-shadow: 0 14px 34px rgba(11, 22, 56, .16); transition: transform .2s; }
.ticket:hover { transform: translateY(-3px); }
.tk-band { background: var(--streak); color: #fff; writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .2em; }
.tk-main { padding: 20px 22px 18px; }
.tk-main small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.tk-main b { display: block; font-family: var(--en), var(--jp); font-size: 30px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; color: var(--navy); white-space: nowrap; }
.tk-sub { display: block; margin-top: 4px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.tk-bar { display: block; height: 18px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px, var(--navy) 8px 11px, transparent 11px 13px); opacity: .85; max-width: 260px; }
.tk-go { border-left: 2px dashed #c9d3e3; display: grid; place-items: center; }
.tk-go::before { content: '→'; font-family: var(--en); font-size: 22px; color: var(--red); }
@media (min-width: 760px) {
  .lab.xl { font-size: 60px; }
  .sec-h .en { font-size: 34px; }
  .tk-main { padding: 28px 34px 24px; }
  .tk-main b { font-size: 44px; }
  .ticket { grid-template-columns: 44px 1fr 80px; }
  .tagline { font-size: 20px; }
}

/* ---------- オープニング（サイトを開いたとき） ---------- */
.splash { display: none; }
.splash-on body { overflow: hidden; }
.splash-on .splash { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--streak); color: #fff; cursor: pointer; animation: sp-out .6s cubic-bezier(.7, 0, .3, 1) 2.3s forwards; }
.splash.done { display: none !important; }
.sp-in { text-align: center; }
.sp-mark { display: block; margin: 0 auto; overflow: visible; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
.sp-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sp-draw 1s cubic-bezier(.65, 0, .35, 1) .25s forwards; }
.sp-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: sp-pop .45s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.sp-dot.d1 { animation-delay: .15s; }
.sp-dot.d3 { animation-delay: 1.15s; }
.sp-dot.d2 { animation-delay: 1.35s; }
.sp-word { margin: 18px 0 0; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 44px; line-height: 1; letter-spacing: .01em; opacity: 0; transform: translateY(14px); animation: sp-up .6s ease-out 1.45s forwards; }
.sp-word i { font-style: normal; font-size: 18px; letter-spacing: .06em; background: var(--red); padding: 4px 7px 3px; margin-right: 8px; display: inline-block; transform: skewX(-12deg); vertical-align: 6px; }
.sp-word em { color: #ff5a4f; }
.sp-sub { margin: 12px 0 0; font-weight: 700; font-size: 14px; letter-spacing: .3em; opacity: 0; animation: sp-up .6s ease-out 1.65s forwards; }
@keyframes sp-draw { to { stroke-dashoffset: 0; } }
@keyframes sp-pop { to { transform: scale(1); } }
@keyframes sp-up { to { opacity: 1; transform: none; } }
@keyframes sp-out { to { clip-path: inset(0 0 100% 0); } }
@media (min-width: 760px) { .sp-mark { width: 180px; height: 180px; } .sp-word { font-size: 64px; } .sp-sub { font-size: 16px; } }
.meta span { white-space: nowrap; }

/* トップの「ホーム画面に追加」 */
.appcard { display: flex; align-items: flex-start; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; text-decoration: none; color: var(--text); box-shadow: 0 2px 10px rgba(11, 22, 56, .04); }
.appcard img { flex: none; width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 16px rgba(11, 22, 56, .18); }
.ac-body { flex: 1; min-width: 0; font-size: 13px; line-height: 1.8; }
.ac-body b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 2px; }
.ac-go { flex: none; align-self: center; font-family: var(--en); font-size: 22px; color: var(--red); }

/* =====================================================================
 * スタッフ用の画面（staff.tic-hockey.com。src/staff.js）
 * ===================================================================== */
.staff-tag { font-family: var(--en); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #fff; background: var(--sel); border-radius: 999px; padding: 3px 9px; margin-left: 8px; }
.stcards { display: grid; gap: 12px; }
.stcard { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.stcard.is-cur { border-color: var(--red); box-shadow: 0 10px 26px rgba(11, 22, 56, .12); }
.stcard p { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stcard small { color: var(--muted); font-size: 12px; font-weight: 700; }
.stcard b { font-size: 19px; font-weight: 900; color: var(--navy); }
.st-links { display: flex; gap: 8px; flex-wrap: wrap; }
.st-links .btn { padding: 11px 18px 11px 22px; font-size: 14px; }
/* スタッフのトップ：開催中の大会の実況ボードへの大きなボタン */
.st-hero { background: var(--card); border: 1px solid var(--red); border-radius: var(--r); padding: 18px; box-shadow: 0 10px 26px rgba(11, 22, 56, .12); }
.st-hero-t { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-hero-t small { color: var(--muted); font-size: 12px; font-weight: 700; }
.st-hero-t b { font-size: 21px; font-weight: 900; color: var(--navy); }
.st-board { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--red); color: #fff; border-radius: 16px; padding: 18px 20px; text-decoration: none; box-shadow: 0 8px 18px rgba(226, 35, 24, .28); transition: transform .15s; }
.st-board:hover { transform: translateY(-2px); }
.st-board b { display: block; font-size: 24px; font-weight: 900; letter-spacing: .04em; }
.st-board small { display: block; font-size: 12px; opacity: .9; margin-top: 2px; line-height: 1.6; }
.st-board i { flex: none; font-style: normal; font-size: 26px; font-weight: 700; }
.st-sub { margin: 12px 2px 0; font-size: 14px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* 未得点者の一覧 */
.un-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.un-h .ul { width: 30px; height: 30px; object-fit: contain; }
.un-h b { font-size: 19px; font-weight: 900; color: var(--navy); }
.un-h span { font-size: 13px; color: var(--muted); font-weight: 700; }
.un-h a { margin-left: auto; font-size: 13px; font-weight: 700; }
.un-n { text-decoration: none; color: inherit; }
.un-n b { font-weight: 900; color: var(--navy); }
.un-t td { padding-top: 7px; padding-bottom: 7px; }
.un-n small { margin-left: 6px; white-space: nowrap; }
.un-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.un-jump a { font-size: 12px; font-weight: 700; text-decoration: none; color: var(--navy); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.un-jump b { color: var(--red); }
#main .sec[id^="u-"] { scroll-margin-top: 80px; }
.un-n small { font-size: 11px; color: var(--muted); }
.un-b { text-align: right; white-space: nowrap; }
.un-b span + span { margin-left: 4px; }
.st-tcs { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.st-tcs .tc { padding: 12px; }
.st-tcs .tc-name { font-size: 15px; margin-bottom: 8px; }
.st-tcs .tc-name { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.st-logo { flex: none; width: 30px; height: 30px; object-fit: contain; }
.st-tcs + .sub-h { margin-top: 30px; }
.st-team { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 22px 0 6px; }
.st-team-logo { width: 64px; height: 64px; object-fit: contain; background: var(--card); border-radius: 14px; padding: 6px; box-shadow: 0 4px 14px rgba(11, 22, 56, .1); }
.st-tcs .tc-rec b { font-size: 16px; }
.st-tcs .tc-rec small { font-size: 10px; letter-spacing: 0; }
.st-other { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.st-other li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 12px 16px; border-top: 1px solid rgba(11, 22, 56, .07); }
.st-other li:first-child { border-top: 0; }
.st-other b { font-weight: 900; color: var(--navy); }
.st-other-a { margin-left: auto; display: flex; gap: 14px; font-size: 13px; font-weight: 700; }
.tm-only .bd-team > header { display: none; }
.sec-note { margin: -4px 0 12px; }

/* 実況ボード */
.board { max-width: 1280px; }
.bd-pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 22px 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.bd-pick label { display: grid; gap: 4px; flex: 1 1 200px; font-size: 12px; font-weight: 700; color: var(--muted); }
.bd-pick select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.bd-vs { font-family: var(--en); font-weight: 700; color: var(--red); padding-bottom: 10px; }
.bd-cols { display: grid; gap: 18px; }
.bd-team { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bd-team header { display: flex; align-items: center; gap: 12px; background: var(--deep); color: #fff; padding: 12px 16px; }
.bd-team header .ul { width: 36px; height: 36px; background: var(--card); border-radius: 8px; padding: 3px; }
.bd-team h2 { margin: 0; font-size: 20px; font-weight: 900; }
.bd-team header p { margin: 0; font-size: 12px; color: var(--soft); }
.bd-p { border-top: 1px solid rgba(11, 22, 56, .07); }
.bd-p summary { list-style: none; display: grid; grid-template-columns: 40px auto minmax(0, 1fr); grid-template-areas: 'no name stat' 'no badges badges'; align-items: center; gap: 2px 10px; padding: 10px 14px; cursor: pointer; }
.bd-p summary::-webkit-details-marker { display: none; }
.bd-p[open] summary { background: var(--ice); }
.bd-no { grid-area: no; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--navy); text-align: center; }
.bd-name { grid-area: name; min-width: 0; }
.bd-name b { display: block; font-size: 17px; font-weight: 900; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.bd-name small { font-size: 11px; color: var(--muted); }
.bd-stat { grid-area: stat; text-align: right; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1.3; }
.bd-stat small { display: block; font-family: var(--jp); font-weight: 500; font-size: 11px; color: var(--muted); white-space: nowrap; }
.bd-badges { grid-area: badges; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.bd-badges > span { white-space: nowrap; }
.fg, .bd-memo { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 9px; }
.fg-t { background: #fff3c4; color: #7a5a00; }
.fg-l { background: #ffe1de; color: #a3170f; }
.bd-memo { background: var(--sel); color: #fff; }
.bd-detail { padding: 6px 16px 16px 58px; background: var(--ice); }
.bd-more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; }
.memos { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.memos li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 56px 8px 12px; }
.memos p { margin: 0; font-size: 14px; line-height: 1.7; }
.memos small { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 11px; color: var(--muted); }
.memos small span { white-space: nowrap; }
.memo-del { position: absolute; right: 8px; top: 8px; margin: 0; }
.memo-del button { font: inherit; font-size: 11px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 2px 9px; cursor: pointer; color: var(--muted); }
.memo-none { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.memo-form { display: grid; gap: 8px; }
.memo-form textarea { font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: vertical; background: var(--card); }
.memo-form .btn { justify-self: start; padding: 10px 18px 10px 22px; font-size: 14px; }
.h2h { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.h2h li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; }
.h2h small { display: block; color: var(--muted); font-size: 11px; }
@media (min-width: 900px) {
  .bd-cols { grid-template-columns: 1fr 1fr; align-items: start; }
  .stcards { grid-template-columns: 1fr 1fr; }
}
/* 実況ボードの順位（ランキング表の .rk とは別の名前にする） */
.bd-rk { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 9px; background: #e7ecf6; color: var(--navy); }
.bd-rk-top { background: var(--sel); color: #fff; }
.ld-group { margin: 18px 0 10px; font-size: 16px; font-weight: 900; color: var(--navy); }
.ld-group:first-of-type { margin-top: 4px; }
/* スタッフ用の使い方 */
.gmarks .bd-rk, .gmarks .fg, .gmarks .bd-memo { flex: none; min-width: 104px; text-align: center; white-space: nowrap; }
.gmarks div:has(.bd-rk, .fg, .bd-memo) { align-items: flex-start; line-height: 1.7; }
.gnotes { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 8px; line-height: 1.85; }
.ld-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ld-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ld-box h3 { margin: 0; padding: 8px 12px; background: var(--deep); color: #fff; font-size: 14px; }
.ld-box ol { list-style: none; margin: 0; padding: 4px 0; }
.ld-box li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 6px; padding: 5px 12px; font-size: 13px; }
.ld-box li.is-pick { background: #fff3c4; }
.ld-r { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--muted); text-align: center; }
.ld-n { min-width: 0; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-n small { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: 11px; }
.ld-box li b { font-family: var(--display); font-size: 17px; color: var(--red); }
@media (min-width: 900px) { .ld-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- カードのデザイン（2026-10-20） ---------- */
/* カードは角を丸め、線は細く薄く */
.leader, .tc, .tt, .pc, .games, .tblw, .chart, .tcard, .gpoints li, .gterms div, .ghome div, .mv-legend, .chips a, .gtoc a { border-color: var(--line); border-radius: 18px; }
.leader, .games, .tblw, .ld-box, .bd-team, .st-other, .stcard, .st-hero, .appcard, .bd-pick { overflow: hidden; border-radius: 18px; }
.tc:hover, .tcard:hover, .pc:hover { background: var(--card-2); }
/* 表 */
.rt th { background: var(--card); color: var(--muted); }
.rt td { border-color: rgba(11, 22, 56, .06); }
.rt tr:hover td { background: rgba(11, 22, 56, .03); }
/* 大学のロゴは、グレーのカードの上でも形が分かるよう白い丸に載せる */
.ul, .tc-logo, .st-logo, .st-team-logo, .bd-team header .ul { background: #fff; border-radius: 50%; padding: 2px; }
.tc-logo { opacity: .12; background: none; }
.st-team-logo { border-radius: 18px; padding: 6px; }
/* 入力欄 */
input[type="search"], input[type="text"], select, textarea { background: #fff !important; color: var(--ink) !important; border-color: rgba(11, 22, 56, .14) !important; }
/* 重ねて出すもの（大会の切り替え・案内） */
.tsel-menu, .intro { background: #fff; }
/* スタッフ：実況ボードへの大きなボタンは赤のまま、カードの枠は赤を薄く */
.st-hero { border-color: rgba(226, 35, 24, .45); box-shadow: 0 12px 28px rgba(11, 22, 56, .1); }
.stcard.is-cur { border-color: rgba(226, 35, 24, .55); }
.bd-p[open] summary, .bd-detail { background: rgba(11, 22, 56, .03); }

/* ---------- Apple Sports の形（2026-10-20） ----------
   見出しは太字の短い題名だけ、カードは帯をやめて中に題名を入れる、切り替えは灰色の溝に白いつまみ、
   一覧は角の丸いカードの中を細い線で区切る、試合はロゴと大きなスコアを中央に並べる */
:root { --r: 20px; --track: rgba(118, 118, 128, .12); --hair: rgba(11, 22, 56, .08); }
/* 見出し：番号・英字の大見出しをやめ、日本語の題名を太字で */
.sec-h { align-items: center; margin: 0 0 12px; }
.sec-h > div { display: block; }
.sec-h .num, .sec-h .num::after { display: none; }
.sec-h .en { display: none; }
.sec-h .ja { font-size: 22px; font-weight: 900; letter-spacing: 0; color: var(--ink); line-height: 1.3; }
.sec-h .more { font-size: 14px; font-weight: 700; color: var(--red); }
.sub-h { border-bottom: 0; padding-bottom: 0; align-items: center; margin-bottom: 10px; }
.sub-h b { display: none; }
.sub-h span { font-size: 18px; font-weight: 900; color: var(--ink); letter-spacing: 0; }
/* カード：帯をやめ、題名をカードの中に */
.leader, .ld-box, .tblw, .games, .bd-team, .st-other, .tc, .pc, .tt, .tcard, .chart, .stcard, .appcard, .bd-pick, .memos li, .h2h li, .gpoints li, .gterms div, .ghome div { border: 0 !important; border-radius: var(--r) !important; background: var(--card); box-shadow: none; }
.leader header, .ld-box h3 { background: transparent; color: var(--ink); padding: 14px 16px 6px; border: 0; }
.leader h3, .ld-box h3 { font-size: 17px; font-weight: 900; }
.leader header a { color: var(--red); font-size: 13px; }
.leader ol { padding: 0 16px 6px; }
.leader li, .ld-box li, .bd-p, .rt th, .rt td, .game, .st-other li { border-color: var(--hair) !important; }
.bd-team header { background: transparent; color: var(--ink); border-bottom: 1px solid var(--hair); }
.bd-team header p { color: var(--muted); }
.tm-only .bd-team > header { display: none; }
/* 切り替え：灰色の溝に、選んだものだけ白いつまみ */
.seg { background: rgba(238, 240, 245, .96); border: 0; border-radius: 12px; padding: 3px; gap: 2px; box-shadow: 0 6px 18px rgba(11, 22, 56, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.seg a { border-radius: 9px; padding: 7px 14px; color: var(--ink); font-weight: 700; }
.seg a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.tabs { background: var(--track); border: 0 !important; border-radius: 12px !important; padding: 3px; gap: 2px; }
.tabs a { border-radius: 9px; padding: 8px 10px; color: var(--ink); font-weight: 700; }
.tabs a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
/* ボタン：区切り線のない、ふつうの丸いボタン */
.btn { letter-spacing: .02em; padding: 13px 22px; box-shadow: none; border-radius: 14px; }
.btn::after { content: '›'; border-left: 0; margin-left: 10px; padding-left: 0; font-size: 20px; line-height: 1; }
.btn.ext::after { content: '↗'; font-size: 15px; }
.btn.navy { background: var(--deep); }
/* 表：見出しは小さく薄く、行は細い線で区切る */
.rt th { background: var(--card); font-size: 11px; letter-spacing: .02em; }
/* 試合：カード全体が1つのボタン。上に試合番号と日付、その下にロゴと大学名を左右に、まん中に大きなスコア */
.games { display: grid; gap: 10px; background: transparent !important; }
.games .game { background: var(--card); border-radius: var(--r); border: 0; padding: 0; display: block; }
.game-a { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: 'meta meta meta' 'home score away'; align-items: center; gap: 6px 8px; padding: 14px 14px 16px; color: inherit; text-decoration: none; border-radius: inherit; transition: transform .18s ease, background-color .18s ease; -webkit-tap-highlight-color: transparent; }
.game-a:hover { background: var(--card-2); }
.game-a:active { transform: scale(.97); }
.game-a .gmeta { grid-area: meta; display: flex; gap: 8px; align-items: baseline; justify-content: center; font-size: 11px; }
.game-a .gmeta b { display: inline; font-size: 13px; }
.game-a .gmeta small { display: inline; }
.game-a .gt { grid-area: home; flex-direction: column; justify-content: center; gap: 4px; text-align: center; font-size: 13px; }
.game-a .gt:last-child { grid-area: away; flex-direction: column; }
.game-a .gt span { max-width: 100%; }
.game-a .gt .ul { width: 40px; height: 40px; padding: 3px; }
.game-a .gscore { grid-area: score; font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.game-a .gscore i { color: var(--muted); margin: 0 10px; font-size: 22px; vertical-align: middle; }
@media (min-width: 760px) { .games { grid-template-columns: 1fr 1fr; } }

/* 試合の詳細（試合のページと、一覧から開くシートの中身） */
.gsheet { background: var(--card); border-radius: var(--r); padding: 18px 16px 16px; }
.gs-meta { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.gs-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.gs-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); min-width: 0; }
.gs-team b { font-size: 15px; font-weight: 900; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-team.win b { color: var(--ink); }
.gs-team small { font-size: 11px; font-weight: 700; }
.gs-team.win small { color: var(--red); }
.gs-logo { width: 64px; height: 64px; padding: 5px; border-radius: 50%; background: #fff; object-fit: contain; }
.gs-num { font-family: var(--display); font-size: 52px; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gs-num i { font-style: normal; color: var(--muted); margin: 0 10px; font-size: 26px; vertical-align: middle; }
.gs-cols { display: grid; gap: 10px; margin-top: 18px; }
.gs-col { background: #fff; border-radius: 16px; padding: 12px 14px 6px; }
.gs-col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 15px; font-weight: 900; color: var(--ink); }
.gs-col h3 .ul { width: 26px; height: 26px; }
.gs-col ul { list-style: none; margin: 0; padding: 0; }
.gs-col li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hair); }
.gs-col li a { display: flex; align-items: baseline; gap: 8px; min-width: 0; color: var(--ink); text-decoration: none; }
.gs-col li b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-col li small { font-size: 10px; font-weight: 700; color: var(--muted); }
.gs-no { flex: none; min-width: 22px; font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.gs-v { flex: none; font-size: 14px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.gs-col .empty { font-size: 13px; color: var(--muted); padding: 8px 0 10px; margin: 0; border-top: 1px solid var(--hair); }
.gsheet .note { font-size: 11px; color: var(--muted); margin: 12px 2px 0; }
@media (min-width: 760px) { .gs-cols { grid-template-columns: 1fr 1fr; } }

/* 下からせり上がるシート（試合の一覧で試合を押したとき。site.js が開く） */
dialog.sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 640px; max-height: 88vh; max-height: 88dvh; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--text); overflow: hidden; box-shadow: 0 -10px 40px rgba(6, 12, 34, .18); }
dialog.sheet[open] { display: flex; flex-direction: column; animation: sheet-up .38s cubic-bezier(.2, .9, .25, 1); }
dialog.sheet.closing { animation: sheet-down .26s cubic-bezier(.4, 0, 1, 1) forwards; }
dialog.sheet::backdrop { background: rgba(6, 12, 34, .38); animation: sheet-fade .3s ease; }
dialog.sheet.closing::backdrop { animation: sheet-fade .26s ease reverse forwards; }
.sheet-grip { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 6px 16px; touch-action: none; cursor: grab; position: relative; }
.sheet-grip::before { content: ''; position: absolute; top: 7px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: rgba(60, 60, 67, .3); }
.sheet-grip b { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 12px; }
.sheet-x { width: 32px; height: 32px; margin-top: 8px; border: 0; border-radius: 50%; background: var(--card); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 12px calc(16px + env(safe-area-inset-bottom)); }
.sheet-body .gsheet { background: transparent; padding: 6px 4px 4px; }
.sheet-body .gs-col { background: var(--card); }
.sheet-more { display: block; text-align: center; margin: 14px 0 4px; font-size: 14px; font-weight: 700; color: var(--red); text-decoration: none; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes sheet-fade { from { opacity: 0; } }
@media (min-width: 760px) { dialog.sheet { inset: 0; margin: auto; max-height: 82vh; border-radius: 22px; } dialog.sheet[open] { animation-name: sheet-pop; } dialog.sheet.closing { animation-name: sheet-unpop; } }
@keyframes sheet-pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes sheet-unpop { to { opacity: 0; transform: translateY(24px) scale(.97); } }

/* 下のタブバー（スマホ）。大会の中では大会のページ、外ではサイトのページ。パソコンでは上の帯を使う */
.tabbar { display: none; }
@media (max-width: 759.98px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(250, 250, 252, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(11, 22, 56, .1); }
  .tabbar a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 2px 0; color: #8a8f9c; text-decoration: none; font-size: 10px; font-weight: 700; -webkit-tap-highlight-color: transparent; }
  .tabbar a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .tabbar a svg { transition: transform .2s ease; }
  .tabbar a:active svg { transform: scale(.86); }
  .tabbar a[aria-current] { color: var(--red); }
  .tabbar ~ .gf { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .tbar .tnav { display: none; }
}

/* 画面の移り方：区分・グループ・項目を切り替えたとき（横にめくったときも）だけ、その向きに画面がすべる。
   ふつうのページの移動では動かさない（site.js が、向きのないときは動きを止める）。ヘッダーとタブバーは動かさない */
@view-transition { navigation: auto; }
.gh { view-transition-name: gh; }
.tabbar { view-transition-name: tabbar; }
/* 上のほう（大会の帯・ページの見出し・選手や大学の情報・切り替え）は動かさず、その下だけがすべる。
   数字が変わるところは、その場で入れ替わる */
.tbar { view-transition-name: tbar; }
.phead, .team { view-transition-name: hero; }
.viewbar { view-transition-name: viewbar; }
::view-transition-old(hero), ::view-transition-new(hero), ::view-transition-old(viewbar), ::view-transition-new(viewbar) { animation-duration: .2s; }
html[data-vt="left"]::view-transition-old(root) { animation: vt-slide-out-l .3s ease both; }
html[data-vt="left"]::view-transition-new(root) { animation: vt-slide-in-r .3s ease both; }
html[data-vt="right"]::view-transition-old(root) { animation: vt-slide-out-r .3s ease both; }
html[data-vt="right"]::view-transition-new(root) { animation: vt-slide-in-l .3s ease both; }
@keyframes vt-slide-out-l { to { opacity: 0; transform: translateX(-30%); } }
@keyframes vt-slide-in-r { from { opacity: 0; transform: translateX(30%); } }
@keyframes vt-slide-out-r { to { opacity: 0; transform: translateX(30%); } }
@keyframes vt-slide-in-l { from { opacity: 0; transform: translateX(-30%); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  dialog.sheet[open], dialog.sheet.closing, dialog.sheet::backdrop { animation: none; }
}

/* Myカレッジ：登録した大学ごとのカード（成績・次の試合・最近の試合・上位の選手）と、大学を選ぶボタン */
.my-list { display: grid; gap: 14px; }
@media (min-width: 760px) { .my-list { grid-template-columns: 1fr 1fr; align-items: start; } }
.my-u { background: var(--card); border-radius: var(--r); padding: 14px 14px 16px; }
.my-u[hidden], .my-empty[hidden] { display: none; }
.my-head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.my-head::after { content: '›'; margin-left: auto; font-size: 24px; color: var(--muted); }
.my-logo { width: 48px; height: 48px; padding: 4px; border-radius: 50%; background: #fff; object-fit: contain; flex: none; }
.my-head b { display: block; font-size: 18px; font-weight: 900; }
.my-head small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.my-rec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 4px; background: #fff; border-radius: 14px; padding: 10px 6px; text-align: center; }
.my-rec small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
.my-rec b { font-family: var(--display); font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.my-h { font-size: 13px; font-weight: 900; color: var(--ink); margin: 14px 2px 8px; }
.my-next { background: #fff; border-radius: 14px; padding: 10px 14px; margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.my-next b { margin-right: 8px; font-family: var(--display); }
.my-u .games { grid-template-columns: 1fr; gap: 8px; }
.my-u .games .game { background: #fff; }
.my-u .game-a .gscore { font-size: 32px; }
.my-u .empty { font-size: 13px; color: var(--muted); margin: 0 2px; }
.my-top { list-style: none; margin: 0; padding: 0 14px; background: #fff; border-radius: 14px; }
.my-top li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hair); }
.my-top li:first-child { border-top: 0; }
.my-top li a { display: flex; align-items: baseline; gap: 8px; min-width: 0; color: var(--ink); text-decoration: none; }
.my-top li b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-top .gs-v small { font-size: 11px; color: var(--muted); font-weight: 700; }
.my-more { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 700; color: var(--red); text-decoration: none; }
.my-empty { background: var(--card); border-radius: var(--r); padding: 22px 18px; text-align: center; }
.my-empty b { font-size: 17px; font-weight: 900; color: var(--ink); }
.my-empty p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.my-pick { margin-top: 28px; }
.my-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.my-chip { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border: 0; border-radius: 14px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.my-chip:active { transform: scale(.97); }
.my-chip .ul { width: 30px; height: 30px; flex: none; }
.my-chip span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-chip::after { content: '＋'; color: var(--muted); font-weight: 900; }
.my-chip[aria-pressed="true"] { background: var(--deep); color: #fff; }
.my-chip[aria-pressed="true"]::after { content: '✓'; color: #fff; }
/* 大学のページの「Myカレッジに登録」 */
.my-star { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.my-star[hidden] { display: none; }
.my-star i { font-style: normal; font-size: 16px; line-height: 1; }
.my-star[aria-pressed="true"] { background: #fff; color: var(--deep); }
.my-star[aria-pressed="true"] i { color: var(--red); }

/* 区分・グループの切り替え：白いつまみが押したところへすべる。つまみはつかんで左右に動かせる（site.js が .seg-js を付ける） */
.seg.seg-js { position: relative; }
.seg.seg-js a { position: relative; z-index: 1; transition: color .2s ease; -webkit-tap-highlight-color: transparent; }
.seg.seg-js a[aria-current] { background: transparent; box-shadow: none; touch-action: none; }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; z-index: 0; border-radius: 9px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .14), 0 3px 10px rgba(0, 0, 0, .06); pointer-events: none;
  transition: transform .34s cubic-bezier(.3, 1.25, .5, 1), width .34s cubic-bezier(.3, 1.25, .5, 1); }
.seg-thumb.drag { box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.seg.seg-js:has(.seg-thumb.drag) { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) { .seg-thumb { transition: none; } }
@media (max-width: 420px) { .seg a { padding: 7px 10px; } }

/* ---------- 上の部分を画面に残す・見出しの帯を低く（2026-10-21） ----------
   切り替えのあるページでは、ヘッダー・大会の帯・ページの見出し（色の帯）・区分とグループの切り替えを、スクロールしても上に残す（site.js が html に .stack を付け、高さを --st-* に入れる）。
   色の帯は低くし、大学のロゴは背景に透かさず、右上に白い丸に載せて出す */
.phead { padding: 18px 0 16px; }
.phead .eyebrow + .ptitle { margin-top: 2px; }
.ptitle { font-size: 24px; line-height: 1.3; margin: 0; }
.psub { margin-top: 2px; font-size: 12px; }
.team { padding: 16px 0 18px; }
.team .title { margin-top: 10px; gap: 6px; }
.team .lab { font-size: 12px; padding: 3px 12px; }
.team .lab.xl { font-size: 26px; padding: 0; line-height: 1.3; }
.team-logo, .phead-logo { top: 14px; bottom: auto; right: max(16px, calc((100% - var(--wrap)) / 2 + 16px)); width: 56px; height: 56px; padding: 6px; border-radius: 50%; background: #fff; opacity: 1; object-fit: contain; box-shadow: 0 4px 14px rgba(6, 12, 34, .25); z-index: 2; }
.team .wrap > .eyebrow, .team .title, .phead:has(.phead-logo) .wrap > * { padding-right: 72px; }
.team .tiles { margin-top: 14px; }
@media (min-width: 760px) {
  .phead { padding: 24px 0 22px; }
  .ptitle { font-size: 32px; }
  .team { padding: 22px 0 24px; }
  .team .lab.xl { font-size: 38px; }
  .team-logo, .phead-logo { width: 72px; height: 72px; top: 18px; }
  .team .wrap > .eyebrow, .team .title, .phead:has(.phead-logo) .wrap > * { padding-right: 92px; }
}
/* 切り替えは、色の帯の下に離して置く（重ねない） */
.viewbar { margin: 0 0 8px; padding: 10px 0 8px; }
/* 大学・選手の数字（切り替えの下） */
.pinfo { margin: 6px 0 4px; }
.pinfo .meta { margin: 0; color: var(--muted); opacity: 1; }
.pinfo .mv-line { color: var(--ink); margin-top: 8px; }
.pinfo .mv-line .mv-down { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pinfo .tiles { margin-top: 10px; }
.pinfo .tiles div { background: var(--card); color: var(--ink); }
.pinfo .tiles small { color: var(--muted); }
.pinfo .my-star { margin-top: 12px; background: var(--card); color: var(--ink); }
.pinfo .my-star[aria-pressed="true"] { background: var(--deep); color: #fff; }
.pinfo .my-star[aria-pressed="true"] i { color: #fff; }
/* 画面に残す */
.stack .tbar { position: sticky; top: var(--st-gh, 0px); z-index: 29; }
.stack-hero main > .phead, .stack-hero main > .team { position: sticky; top: calc(var(--st-gh, 0px) + var(--st-tbar, 0px)); z-index: 28; }
.stack main .viewbar { position: sticky; top: calc(var(--st-gh, 0px) + var(--st-tbar, 0px) + var(--st-hero, 0px)); z-index: 27; }
/* 地の色を画面の端まで広げる（はみ出して横にスクロールしないよう、影で塗って切り取る）。残っているときは下に細い線 */
.stack main .viewbar { background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.stack main .viewbar.stuck { box-shadow: 0 0 0 100vmax var(--bg), 0 1px 0 100vmax rgba(11, 22, 56, .1); clip-path: inset(0 -100vmax -1px); }
.stack main .viewbar .seg { box-shadow: none; }

/* ヘッダーは透かさない（スクロールした内容が後ろに映らないように） */
.gh::before { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* 大学・選手の数字は、紺のカードに白い大きな数字で目立たせる。いちばん大事な数字（ポイント・SV%）は赤 */
.pinfo .tiles { display: flex; flex-wrap: wrap; gap: 8px; }
/* 大学（5つ）は、スマホでは3つと2つの2段。選手（4つ）は1段で、大事な数字をいちばん左に広く置く */
.pinfo .tiles div { flex: 1 1 calc(33.333% - 8px); min-width: 0; background: var(--deep); color: #fff; border-radius: 16px; padding: 12px 12px 10px; box-shadow: 0 6px 16px rgba(11, 22, 56, .18); }
.pinfo .tiles small { color: rgba(255, 255, 255, .72); font-size: 11px; }
.pinfo .tiles b { display: block; font-size: 34px; line-height: 1.1; margin-top: 2px; white-space: nowrap; }
.pinfo .tiles .key { background: var(--red); }
.pinfo .tiles .key small { color: rgba(255, 255, 255, .85); }
@media (max-width: 420px) { .pinfo .tiles b { font-size: 28px; } .pinfo .tiles div { padding: 10px 10px 8px; } }
.pinfo .tiles:has(.key) { flex-wrap: nowrap; }
.pinfo .tiles:has(.key) div { flex: 1 1 0; }
.pinfo .tiles .key { order: -1; flex-grow: 1.7; }
@media (min-width: 760px) { .pinfo .tiles div { flex-basis: 0; } }
/* ヘッダーの下の線も透かさない（線の部分から後ろの内容が見えないように） */
.gh { border-bottom-color: #e3e6ee; }
.gh::before { inset: 0 0 -1px; }
/* すぐ下に紺の大会の帯があるときは、線を引かずに帯とつなげる */
.gh:has(+ .tbar) { border-bottom: 0; }

/* ---------- ボタンの動き（2026-10-21） ----------
   押すと少し沈み（小さくなり）、離すと戻る。マウスでは、上に乗せると少し浮く。キーボードで選んだときは赤い枠を出す。
   カード（大きいもの）・ボタン（丸いもの）・文字のリンク（行の中のもの）で、動きの大きさを変える */
.pc, .tc, .tt, .tcard, .ticket, .st-board, .appcard, .game-a, .my-head, .gs-team,
.btn, .gnav a, .tnav a, .tabs a, .chips a, .seg a, .my-chip, .my-star, .sheet-x, .tsel summary, .mnav summary, .tsel-y a, .tsel-all, .tabbar a, .brand,
.leader li a, .leader header a, .who, .gs-col li a, .my-top li a, .more, .bd-more, .intro-more, .my-more, .sheet-more, .crumbs a, .gf a, .un-n, .bd-p > summary, .rt th {
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), box-shadow .22s ease, background-color .2s ease, filter .2s ease, opacity .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
/* 押したとき */
.pc:active, .tc:active, .tt:active, .tcard:active, .ticket:active, .st-board:active, .appcard:active, .game-a:active, .my-head:active, .gs-team:active { transform: scale(.97); transition-duration: .08s; }
.btn:active, .gnav a:active, .tnav a:active, .tabs a:active, .chips a:active, .seg a:active, .my-chip:active, .my-star:active, .sheet-x:active, .tsel summary:active, .mnav summary:active, .tsel-y a:active, .tsel-all:active, .brand:active { transform: scale(.94); transition-duration: .08s; }
.leader li a:active, .leader header a:active, .who:active, .gs-col li a:active, .my-top li a:active, .more:active, .bd-more:active, .intro-more:active, .my-more:active, .sheet-more:active, .crumbs a:active, .gf a:active, .un-n:active, .bd-p > summary:active, .rt th:active { opacity: .55; transition-duration: .08s; }
.btn:active { filter: brightness(.92); }
/* マウスを乗せたとき（指で触る端末では出さない） */
@media (hover: hover) and (pointer: fine) {
  .pc:hover, .tc:hover, .tt:hover, .tcard:hover, .st-board:hover, .appcard:hover, .game-a:hover, .my-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 22, 56, .12); }
  .ticket:hover { transform: translateY(-3px); }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11, 22, 56, .18); }
  .my-head:hover, .gs-team:hover { opacity: .8; }
  .leader li a:hover, .who:hover, .gs-col li a:hover, .my-top li a:hover, .un-n:hover { opacity: .7; }
  .more:hover, .bd-more:hover, .intro-more:hover, .my-more:hover, .sheet-more:hover, .leader header a:hover { opacity: .75; }
  .tabbar a:hover { color: var(--ink); }
  .pc:active, .tc:active, .tt:active, .tcard:active, .ticket:active, .st-board:active, .appcard:active, .game-a:active, .my-chip:active { transform: scale(.97); box-shadow: none; }
  .btn:active { transform: scale(.95); box-shadow: none; }
  .my-head:active, .gs-team:active, .leader li a:active, .leader header a:active, .who:active, .gs-col li a:active, .my-top li a:active, .more:active, .bd-more:active, .intro-more:active, .my-more:active, .sheet-more:active, .un-n:active { opacity: .55; }
}
/* キーボードで選んだとき */
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid rgba(230, 33, 23, .55); outline-offset: 2px; }
/* 下のタブ：選んでいるタブのアイコンが、ページを開いたときに小さくはずむ */
.tabbar a[aria-current] svg { animation: tab-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tab-pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .pc, .tc, .tt, .tcard, .ticket, .st-board, .appcard, .game-a, .my-head, .gs-team, .btn, .gnav a, .tnav a, .tabs a, .chips a, .seg a, .my-chip, .my-star, .sheet-x, .tsel summary, .mnav summary, .tsel-y a, .tsel-all, .tabbar a, .brand { transition: none; transform: none !important; }
  .tabbar a[aria-current] svg { animation: none; }
}
