
/* =========================================================================
   FOUNDATION — "EDITORIAL SUNRISE"
   ========================================================================= */
:root {
  /* Color — 朝焼けの水彩パレット */
  --paper: #FFFAF2;
  --paper-warm: #FDF1DF;
  --paper-deep: #F9E6CB;
  --cream: #F7E3C2;

  --coral: #F87660;
  --coral-deep: #E85A3C;
  --coral-dark: #B8421F;
  --sunrise: #F9A158;
  --amber: #F5C363;
  --amber-bright: #FFD98C;
  --amber-line: #F2B84F;

  --ink: #2A1810;
  --ink-mid: #5B3C2A;
  --ink-soft: #8F7158;
  --ink-ghost: #B9A48A;

  --line: rgba(42, 24, 16, .08);
  --line-strong: rgba(42, 24, 16, .18);
  --line-bold: rgba(42, 24, 16, .4);

  --grad-sunrise: linear-gradient(135deg, #F87660 0%, #F9A158 45%, #F5C363 100%);
  --grad-sunrise-soft: linear-gradient(135deg, rgba(248,118,96,.85) 0%, rgba(249,161,88,.85) 50%, rgba(245,195,99,.9) 100%);
  --grad-sunrise-wash: linear-gradient(160deg, #F87660 0%, #F9955A 30%, #F5C363 70%, #FFE1A8 100%);

  /* Typography */
  --f-display: 'Big Shoulders Display', 'Noto Serif JP', sans-serif;
  --f-serif: 'Fraunces', 'Noto Serif JP', Georgia, serif;
  --f-script: 'Allura', 'Fraunces', cursive;
  --f-body: 'DM Sans', 'Zen Kaku Gothic New', system-ui, sans-serif;
  --f-jp: 'Zen Kaku Gothic New', sans-serif;
  --f-jp-serif: 'Noto Serif JP', serif;
  --f-mono: 'JetBrains Mono', monospace;

  --maxw: 1400px;
  --pad-x: clamp(1.25rem, 4vw, 3.25rem);
  --nav-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
  scroll-behavior: smooth; 
  font-size: clamp(0.875rem, 0.8333333333vw, 1.125rem);
}
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt", "pnum", "tnum", "ss01";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--coral); color: var(--paper); }

/* Paper grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 0.6 0'/></filter><rect width='300' height='300' filter='url(%23n)'/></svg>");
}

/* Watercolor filter definitions (inline SVG reused) */
.svg-defs { position: absolute; width: 0; height: 0; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 250, 242, .85);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
}
.nav__logo-img {
  display: block;
  height: 40px;
  width: auto;
  /* 白抜きロゴを明るいヘッダーで黒く反転 */
  filter: brightness(0) saturate(100%);
  transition: filter .2s;
}
.nav__brand:hover .nav__logo-img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(72%) saturate(1800%) hue-rotate(335deg) brightness(96%) contrast(94%);
}
.nav__logo { width: 34px; height: 34px; }
.nav__brand-text {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
  text-transform: uppercase;
}
.nav__brand-text .cup {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: 1.45em;
  margin-left: 0.1em;
  color: var(--coral);
  font-style: italic;
  line-height: .6;
  vertical-align: -0.12em;
}
.nav__menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav__link {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: .5rem 0;
  position: relative;
  transition: color .25s;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  inset: auto 0 -3px 0;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .25s;
}
.nav__cta:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}
.nav__burger { display: none; }

@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--paper);
    padding: 1.25rem var(--pad-x) 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-items: center;
    width: 40px; height: 40px;
  }
  .nav__burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    position: relative;
  }
  .nav__burger span::before,
  .nav__burger span::after {
    content: ''; position: absolute; left: 0;
    width: 22px; height: 2px; background: var(--ink);
  }
  .nav__burger span::before { top: -7px; }
  .nav__burger span::after { top: 7px; }
}

/* =========================================================================
   PAGE ROUTER
   ========================================================================= */
/* SPA表示切替は削除 (マルチページPHPに変更) */
.page-enter { animation: pageIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   HERO — 添付画像再現 (背景画像 + 3カラム + パララックス)
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

/* 背景画像 — fixed でスクロール時にコンテンツが上を流れる */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  /* フォールバック: 画像が無い場合のグラデ */
  background-color: #F56A38;
}
.hero__bg::before {
  /* 画像なし時のフォールバックグラデ */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #E85A3C 0%, #F56A38 30%, #F78E3A 65%, #F9B342 100%);
  z-index: -1;
}
.hero__bg::after {
  /* 微細なグレイン */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='400' height='400' filter='url(%23p)' opacity='0.4'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

/* Top-left corner eyebrow */
.hero__eyebrow {
  position: absolute;
  top: calc(var(--nav-h) + clamp(1rem, 3vw, 2.5rem));
  margin-left: 10rem;
  left: clamp(1.5rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(.75rem, 1vw, .9rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: .95;
  z-index: 5;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 12px rgba(255, 250, 242, .9);
  animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.hero__eyebrow-jp {
  font-family: var(--f-jp-serif);
  font-weight: 500;
  font-size: .85em;
  opacity: .8;
  margin-left: .5rem;
  letter-spacing: .3em;
}

/* メインの 3カラムグリッド */
.hero__stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--nav-h) clamp(1.5rem, 4vw, 3.25rem) 5rem;
  gap: clamp(1rem, 3vw, 4rem);
}

/* === LEFT: メインロゴ + 日程 === */
.hero__left {
  margin-left: 10rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  z-index: 3;
}
.hero__logo-img {
  width: clamp(240px, 26vw, 440px);
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(184, 48, 20, .3));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-6px) rotate(0.3deg); }
}
.hero__logo-fallback {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .85;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.hero__logo-fallback .cup {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: 1.3em;
  line-height: .5;
  margin-left: .1em;
  vertical-align: -0.1em;
}

.hero__tagline {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-left: clamp(.5rem, 2vw, 1.5rem);
  border-left: 2px solid rgba(255, 250, 242, .55);
  margin-left: clamp(0rem, 1vw, .75rem);
}
.hero__tagline-en {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--paper);
  letter-spacing: .08em;
  line-height: 1;
}
.hero__tagline-jp {
  font-family: var(--f-jp-serif);
  font-weight: 500;
  font-size: .82rem;
  color: var(--paper);
  letter-spacing: .3em;
  opacity: .88;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .5rem;
}
.hero__date {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: .95;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 2px 20px rgba(184, 48, 20, .25);
}
.hero__time-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: clamp(.85rem, 1.1vw, 1rem);
  letter-spacing: .15em;
  color: var(--paper);
  opacity: .95;
}
.hero__time-row::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--paper);
  opacity: .7;
}

/* === CENTER: 巨大 I マーク === */
.hero__center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 2;
}
.hero__i-mark {
  width: 100%;
  max-width: clamp(300px, 45vw, 680px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(184, 48, 20, .35));
  animation: iMarkFloat 8s ease-in-out infinite;
}
@keyframes iMarkFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.015); }
}
.hero__i-mark-fallback {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  background: var(--paper);
  clip-path: polygon(
    0% 15%, 15% 0%, 35% 5%, 50% 35%, 65% 5%, 85% 0%, 100% 15%,
    90% 50%, 100% 85%, 85% 100%, 65% 95%, 50% 65%, 35% 95%, 15% 100%, 0% 85%, 10% 50%
  );
}

/* === RIGHT: キャラ + サブマーク + 縦書き === */
.hero__right {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  z-index: 3;
  gap: clamp(.5rem, 1.5vw, 1.5rem);
}
.hero__character-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  align-items: center;
}
.hero__character {
  width: 30rem;
  max-width: 100%;
  max-height: 85rem;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(-10px 20px 40px rgba(184, 48, 20, .4));
  animation: charFloat 5s ease-in-out infinite;
}
@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__character-fallback {
  width: 100%;
  max-height: 60vh;
  aspect-ratio: 3/4;
  background: rgba(255, 250, 242, .08);
  border: 2px dashed rgba(255, 250, 242, .35);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .2em;
  color: rgba(255, 250, 242, .6);
  padding: 2rem;
  line-height: 1.5;
}
.hero__character-fallback small {
  display: block;
  margin-top: .75rem;
  font-family: var(--f-mono);
  font-size: .65rem;
  opacity: .7;
}

/* Right sub column: small I mark + vertical text */
.hero__sub {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1vw, 1rem);
  flex-shrink: 0;
  padding-right: clamp(.25rem, 1vw, 1rem);
}
.hero__sub-mark {
  width: clamp(36px, 4vw, 58px);
  height: auto;
  opacity: .95;
}
.hero__sub-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding-left: clamp(.5rem, 1vw, .75rem);
  border-left: 1px solid rgba(255, 250, 242, .55);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(.72rem, .95vw, .95rem);
  letter-spacing: .18em;
  color: var(--paper);
  line-height: 1.5;
}
.hero__sub-text span { display: block; }

/* スクロール指示 */
.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-family: var(--f-mono);
  font-size: .65rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: .8;
  z-index: 5;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184, 48, 20, .7);
  transform: translateY(-100%);
  animation: scrollPulse 2.4s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Mobile/tablet layout */
@media (max-width: 1024px) {
  .hero__stage {
    grid-template-columns: 1fr;
    padding-bottom: 4rem;
    gap: 2rem;
  }
  .hero__left { margin-top: 2rem; margin-left: 0; text-align: center; align-items: center; }
  .hero__right { flex-direction: column; align-items: center; }
}
@media (max-width: 720px) {
  .hero__stage {
    padding-top: calc(var(--nav-h) + 2rem);
    min-height: auto;
  }
  .hero { min-height: auto; }
  .hero__eyebrow { margin-left: 2rem; font-size: .7rem; }
  .hero__right { flex-direction: column-reverse; align-items: center; }
  .hero__sub {
    flex-direction: row;
    align-self: flex-start;
    padding: 0;
  }
  .hero__character-wrap { width: 100%; }
  .hero__scroll { display: none; }
}

/* TOPページ: ヒーロー以降のコンテンツがヒーロー背景画像の上に重なってスクロール */
body[data-page="top"] .sponsors,
body[data-page="top"] .section,
body[data-page="top"] .reg {
  position: relative;
  z-index: 2;
}
body[data-page="top"] .sponsors { margin-top: 0; }

/* =========================================================================
   SECTION
   ========================================================================= */
.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
}
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section--warm { background: var(--paper-warm); }
.section--cream { background: var(--paper-deep); }

.shead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
  flex-wrap: wrap;
}
.shead__num {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--coral-deep);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.shead__num::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--coral-deep);
}
.shead__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.shead__title em {
  font-family: var(--f-script);
  font-weight: 400;
  font-style: italic;
  font-size: 1.3em;
  color: var(--coral);
  letter-spacing: 0;
  line-height: .5;
  margin: 0 .08em;
  text-transform: none;
}
.shead__title-sub {
  display: block;
  margin-top: .35rem;
  font-family: var(--f-jp-serif);
  font-weight: 500;
  font-size: .26em;
  letter-spacing: .3em;
  color: var(--ink-mid);
  line-height: 1;
}
.shead__link {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  transition: all .25s;
  white-space: nowrap;
}
.shead__link:hover { color: var(--coral-deep); border-color: var(--coral-deep); }
.shead__link .arr { transition: transform .25s; }
.shead__link:hover .arr { transform: translateX(4px); }

/* =========================================================================
   SPONSORS
   ========================================================================= */
.sponsors {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.sponsors::before,
.sponsors::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
}
.sponsors::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper-warm), transparent);
}
.sponsors::after {
  right: 0;
  background: linear-gradient(-90deg, var(--paper-warm), transparent);
}
.sponsors__label {
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: .95rem;
  color: var(--ink-mid);
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.sponsors__label::before,
.sponsors__label::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--line-strong);
}
.sponsors__track {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad-x);
  flex-wrap: wrap;
}
.sponsor {
  display: grid;
  place-items: center;
  min-width: 10rem;
  height: 7rem;
  transition: all .35s;
  cursor: pointer;
  filter: saturate(.2) opacity(.55);
  text-decoration: none;
}
.sponsor:hover { filter: none; transform: translateY(-3px); }
.sponsor__pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  max-height: 100%;
  max-width: 100%;
}
 
.sponsor__img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}
.sponsor__img--mark { max-height: 20rem; max-width: 10rem; }
.sponsor__img--word { max-height: 20rem; max-width: 10rem; }
 
.sponsor__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .08em;
  color: var(--ink);
  text-align: center;
}

/* =========================================================================
   STANDINGS PREVIEW (Editorial Style)
   ========================================================================= */
.stand-list { border-top: 1px solid var(--line-strong); }
.stand-row {
  display: grid;
  grid-template-columns: 80px 48px 1fr 90px 90px 110px 110px;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .25s, padding .25s;
  position: relative;
}
.stand-row:hover {
  background: linear-gradient(90deg, rgba(248, 118, 96, .04), transparent);
  padding-left: 1rem;
}
.stand-row__rank {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 3rem;
  line-height: .9;
  color: var(--ink-ghost);
  letter-spacing: -0.03em;
}
.stand-row--1 .stand-row__rank {
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stand-row--2 .stand-row__rank { color: var(--coral); }
.stand-row--3 .stand-row__rank { color: var(--amber-deep, #E8A537); }
.stand-row__logo {
  width: 44px; height: 44px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .85rem;
  color: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  padding: 3px;
}
.stand-row__logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.stand-row__logo__short {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .85rem;
  color: var(--ink);
  letter-spacing: .02em;
}
.stand-row__main {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.stand-row__tno {
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--ink-soft);
  letter-spacing: .2em;
}
.stand-row__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.stand-row__stat {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-mid);
  text-align: right;
}
.stand-row__stat--big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stand-row__stat--big small {
  font-family: var(--f-mono);
  font-size: .65em;
  font-weight: 500;
  color: var(--ink-soft);
}
.stand-row__diff.is-pos {
  color: var(--coral-deep);
  font-weight: 700;
}
.stand-row__diff.is-neg { color: var(--ink-soft); }

@media (max-width: 720px) {
  .stand-row {
    grid-template-columns: 50px 40px 1fr auto auto;
    gap: .85rem;
    padding: 1.1rem 0;
  }
  .stand-row__rank { font-size: 1.8rem; }
  .stand-row__logo { width: 36px; height: 36px; font-size: .7rem; }
  .stand-row__name { font-size: 1.1rem; }
  .stand-row__stat--winpct, .stand-row__stat--rounds { display: none; }
  .sponsor { min-width: 120px; height: 60px; }
  .sponsor__img--mark { max-height: 44px; max-width: 52px; }
  .sponsor__img--word { max-height: 32px; max-width: 110px; }
}

/* =========================================================================
   MATCH CARD
   ========================================================================= */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 1.5rem;
}
.match-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 1.75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(42, 24, 16, .04);
}
.match-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-sunrise);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: -1;
}
.match-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-sunrise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: 0 12px 40px rgba(248, 118, 96, .15);
}
.match-card:hover::after { transform: scaleX(1); }

.match-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px dashed var(--line-strong);
}
.match-card__no {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: var(--ink);
}
.match-card__no small {
  font-family: var(--f-mono);
  font-size: .65rem;
  color: var(--ink-soft);
  letter-spacing: .2em;
  display: block;
  margin-bottom: .15rem;
}
.match-card__status {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.match-card__status.is-done {
  background: var(--ink);
  color: var(--paper);
}
.match-card__status.is-live {
  background: var(--coral-deep);
  color: var(--paper);
}
.match-card__status.is-pending {
  background: var(--paper-deep);
  color: var(--ink-mid);
}

.match-card__body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.mc-team { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.mc-team--r { flex-direction: row-reverse; text-align: right; }
.mc-team__logo {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .75rem;
  color: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  padding: 3px;
  display: none;
}
.mc-team__logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.mc-team__logo__short {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .75rem;
  color: var(--ink);
  letter-spacing: .02em;
}
.mc-team__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-team__tno {
  font-family: var(--f-mono);
  font-size: .65rem;
  color: var(--ink-soft);
  letter-spacing: .2em;
  margin-top: .15rem;
}
.mc-score {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 .3rem;
}
.mc-score__n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.mc-score__n.is-winner {
  color: var(--coral-deep);
}
.mc-score__n.is-loser { color: var(--ink-ghost); }
.mc-score__sep {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-ghost);
}
.match-card__foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--ink-soft);
  letter-spacing: .1em;
}
.match-card__map {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.match-card__map::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* =========================================================================
   REGULATION — Editorial 4 column
   ========================================================================= */
.reg {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 9vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.reg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(248,118,96,.15), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(245,195,99,.1), transparent 50%);
}
.reg__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.reg__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.reg__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--paper);
}
.reg__title em {
  font-family: var(--f-script);
  font-weight: 400;
  font-style: italic;
  font-size: 1.2em;
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-transform: none;
  line-height: .6;
  margin: 0 .1em;
}
.reg__tag {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--amber-bright);
  max-width: 350px;
}
.reg__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 250, 242, .15);
}
.reg__item {
  padding: 2.5rem 1.5rem 0 0;
  border-right: 1px solid rgba(255, 250, 242, .15);
  position: relative;
}
.reg__item:nth-child(1) { padding-left: 0; }
.reg__item:nth-child(4) { border-right: none; padding-right: 0; }
.reg__item-n {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}
.reg__item-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  color: var(--paper);
}
.reg__item-desc {
  font-family: var(--f-jp);
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255, 250, 242, .75);
}

@media (max-width: 820px) {
  .reg__grid { grid-template-columns: 1fr 1fr; }
  .reg__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 250, 242, .15); padding-bottom: 2rem; margin-bottom: 0; }
  .reg__item:nth-child(2) { border-right: none; padding-right: 0; }
  .reg__item:nth-child(3) { padding-left: 0; padding-top: 2rem; }
  .reg__item:nth-child(4) { padding-top: 2rem; }
}

/* =========================================================================
   TEAMS PAGE
   ========================================================================= */
.page-head {
  padding: calc(var(--nav-h) + 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(248,118,96,.15), transparent 60%);
  pointer-events: none;
}
.page-head__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.page-head__eyebrow {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--coral-deep);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.page-head__eyebrow::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--coral-deep);
}
.page-head__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}
.page-head__title em {
  font-family: var(--f-script);
  font-weight: 400;
  font-style: italic;
  font-size: 1.3em;
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-transform: none;
  line-height: .5;
  margin: 0 .05em;
}
.page-head__lead {
  font-family: var(--f-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-mid);
  max-width: 540px;
  line-height: 1.6;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all .3s;
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(42, 24, 16, .04);
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle at top right, rgba(248, 118, 96, .12), transparent 65%);
  pointer-events: none;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(42, 24, 16, .08);
  border-color: var(--coral);
}
.team-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
  gap: 1rem;
}
.team-card__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.team-card__logo {
  width: 58px; height: 58px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 6px;
}
.team-card__tno {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--coral-deep);
}
.team-card__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: .25rem;
}
.team-card__record {
  text-align: right;
}
.team-card__record-val {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--coral-deep);
  letter-spacing: -0.01em;
}
.team-card__record-lbl {
  font-family: var(--f-mono);
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: .25rem;
}

.player-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: .9rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}
.player-row:last-child { border-bottom: none; }
.player-row__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .9rem;
  color: var(--ink-mid);
}
.player-row__main { min-width: 0; }
.player-row__name {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.player-row__sub {
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--ink-soft);
  margin-top: .15rem;
  letter-spacing: .05em;
}
.player-row__rank {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--coral-deep);
  padding: .35rem .7rem;
  border: 1px solid var(--coral);
  background: rgba(248, 118, 96, .06);
  border-radius: 4px;
}
.badge {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: .58rem;
  padding: 2px 6px;
  letter-spacing: .15em;
  border-radius: 2px;
}
.badge--leader { background: var(--amber-bright); color: var(--coral-dark); }
.badge--rookie { background: #D6F0D9; color: #2E7A3D; }
.badge--coach  { background: var(--paper-deep); color: var(--ink-mid); }

/* =========================================================================
   SCHEDULE
   ========================================================================= */
.sched-day-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 2.5rem 0 1.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: .5rem;
}
.sched-day-head:first-child { padding-top: 0; }
.sched-day-head__n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--coral-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sched-day-head__date {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--ink-mid);
}

.sched-session { margin-bottom: 1.5rem; }
.sched-session__label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 0 .75rem;
  margin-top: 1rem;
  border-bottom: 1px dashed var(--line-strong);
}
.sched-session__n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.sched-session__meta {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--coral-deep);
  text-transform: uppercase;
}
.sched-row {
  display: grid;
  grid-template-columns: 60px 1fr 120px 1fr 130px 80px;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .2s, padding .2s;
}
.sched-row:hover {
  background: linear-gradient(90deg, rgba(248, 118, 96, .04), transparent);
  padding-left: .75rem;
}
.sched-row__no {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.sched-row__team {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.sched-row__team--r {
  flex-direction: row-reverse;
  text-align: right;
}
.sched-row__logo {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .7rem;
  color: var(--ink);
  border-radius: 4px;
  padding: 3px;
}
.sched-row__logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* 画像がない場合の略称テキストのスタイル */
.sched-row__logo__short {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .7rem;
  color: var(--ink);
  letter-spacing: .02em;
}
.sched-row__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sched-row__score {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.sched-row__score .w { color: var(--coral-deep); }
.sched-row__score .l { color: var(--ink-ghost); }
.sched-row__score .sep {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-ghost);
  margin: 0 .2em;
  font-size: .75em;
}
.sched-row__score.pending {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .85rem;
  color: var(--ink-ghost);
  letter-spacing: .2em;
}
.sched-row__map {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .8rem;
  color: var(--ink-mid);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sched-row__map::before {
  content: '▲ ';
  color: var(--coral);
}
.sched-row__time {
  text-align: right;
  font-family: var(--f-mono);
  font-size: .75rem;
  color: var(--ink-soft);
  letter-spacing: .1em;
}

@media (max-width: 820px) {
  .sched-row {
    grid-template-columns: 40px 1fr 90px 1fr;
    gap: .6rem;
  }
  .sched-row__map, .sched-row__time { display: none; }
  .sched-row__name { font-size: .9rem; }
}

/* =========================================================================
   STANDINGS FULL TABLE
   ========================================================================= */
.stand-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.stand-table thead th {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 1rem .8rem;
  text-align: right;
  border-bottom: 2px solid var(--ink);
}
.stand-table thead th:nth-child(-n+3) { text-align: left; }
.stand-table tbody td {
  padding: 1.4rem .8rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: .95rem;
  color: var(--ink-mid);
  text-align: right;
}
.stand-table tbody td:nth-child(-n+3) { text-align: left; }
.stand-table tbody tr:hover td { background: rgba(248, 118, 96, .03); }
.stand-table td.rank {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--ink-ghost);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stand-table tr.r1 td.rank {
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stand-table tr.r2 td.rank { color: var(--coral); }
.stand-table tr.r3 td.rank { color: var(--amber-deep, #E8A537); }
.stand-table td.team {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.stand-table td.big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stand-table td.diff.pos { color: var(--coral-deep); font-weight: 700; }
.stand-table td.diff.neg { color: var(--ink-soft); }

/* =========================================================================
   MATCH DETAIL
   ========================================================================= */
.md-hero {
  padding: calc(var(--nav-h) + 3rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--grad-sunrise-wash);
  position: relative;
  overflow: hidden;
  color: var(--paper);
}
.md-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3'/></filter><rect width='400' height='400' filter='url(%23p)' opacity='0.35'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
}
.md-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.md-eyebrow {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--paper);
  margin-bottom: 3rem;
  opacity: .9;
  text-transform: uppercase;
}
.md-eyebrow span:not(:last-child)::after {
  content: '·';
  margin-left: 1.25rem;
  opacity: .6;
}
.md-score-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.md-team {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.md-team--r { flex-direction: row-reverse; text-align: right; }
.md-team__logo {
  width: 88px; height: 88px;
  background: rgba(255, 250, 242, .15);
  border: 1px solid rgba(255, 250, 242, .4);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--paper);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}
.md-team__tno {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .25em;
  opacity: .85;
}
.md-team__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: .35rem;
}
.md-score { display: flex; align-items: center; gap: 1.25rem; }
.md-score__n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: .85;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.md-score__n.is-loser { opacity: .4; }
.md-score__sep {
  width: 2px; height: 60px;
  background: rgba(255, 250, 242, .5);
}
.md-map-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 250, 242, .3);
}
.md-map-row__label {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  opacity: .9;
}
.md-map-row__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stats-block { margin-top: 3.5rem; }
.stats-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}
.stats-block__team {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.stats-block__logo {
  width: 44px; height: 44px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .85rem;
  color: var(--ink);
  border-radius: 6px;
}
.stats-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.stats-table thead th {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 1rem .6rem;
  text-align: right;
  border-bottom: 1px solid var(--line-strong);
  text-transform: uppercase;
}
.stats-table thead th:first-child,
.stats-table thead th:nth-child(2) { text-align: left; }
.stats-table tbody td {
  padding: 1.1rem .6rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: .92rem;
  color: var(--ink-mid);
  text-align: right;
}
.stats-table tbody td:first-child,
.stats-table tbody td:nth-child(2) { text-align: left; }
.stats-table tbody tr:hover td { background: rgba(248, 118, 96, .03); }
.stats-table td.player {
  font-family: var(--f-body);
  font-weight: 700;
  color: var(--ink);
  vertical-align: middle;
}
.stats-table td.player .player__cell {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.stats-table td.player .avatar-ph {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: .7rem;
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--ink-mid);
}
.stats-table td.agent {
  vertical-align: middle;
}
.stats-table td.agent .agent__cell {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.stats-table td.agent .agent-ic {
  width: 28px; height: 28px;
  border-radius: 4px;
  background: var(--grad-sunrise);
  display: grid; place-items: center;
  font-size: .65rem;
  font-family: var(--f-display);
  font-weight: 900;
  color: var(--paper);
  flex-shrink: 0;
}
.stats-table tbody td { vertical-align: middle; }
.stats-table td.acs {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stats-table tr.top-acs td.acs {
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

@media (max-width: 820px) {
  .md-score__n { font-size: 3.5rem; }
  .md-team__logo { display: hidden; }
  .stats-table { font-size: .82rem; }
  .stats-table th.hide-sm, .stats-table td.hide-sm { display: none; }
}

/* =========================================================================
   STATS PAGE
   ========================================================================= */
.stats-mode-switch {
  display: inline-flex;
  gap: 0;
  background: var(--paper-warm);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.stats-mode-switch button {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .75rem 1.75rem;
  color: var(--ink-mid);
  border-radius: 999px;
  transition: all .3s;
}
.stats-mode-switch button.is-active {
  background: var(--ink);
  color: var(--paper);
}
.stats-mode-switch button:not(.is-active):hover { color: var(--ink); }

.stats-cat-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
}
.stats-cat-tabs button {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  padding: .65rem 1.1rem;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  transition: all .25s;
  text-transform: uppercase;
  border-radius: 4px;
}
.stats-cat-tabs button:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.stats-cat-tabs button.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.rank-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rank-card {
  display: grid;
  grid-template-columns: 90px 60px 1fr auto;
  gap: 1.75rem;
  align-items: center;
  padding: 1.8rem 2rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.rank-card:hover {
  transform: translateX(6px);
  border-color: var(--coral);
  box-shadow: 0 12px 40px rgba(248, 118, 96, .12);
}
.rank-card.is-top {
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-warm) 100%);
  border-color: var(--coral);
}
.rank-card.is-top::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--grad-sunrise);
}
.rank-card__rank {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--ink-ghost);
  letter-spacing: -0.04em;
}
.rank-card.is-top .rank-card__rank {
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rank-card__avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink-mid);
}
.rank-card.is-top .rank-card__avatar {
  border-color: var(--coral);
}
.rank-card__info {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.rank-card__player {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.rank-card__meta {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: .75rem;
  color: var(--ink-soft);
  letter-spacing: .05em;
}
.rank-card__meta span.dot::before { content: '·'; margin-right: .75rem; color: var(--ink-ghost); }
.rank-card__value {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1;
  text-align: right;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.rank-card.is-top .rank-card__value {
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rank-card__value-sub {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .65rem;
  color: var(--ink-soft);
  letter-spacing: .2em;
  margin-top: .35rem;
  text-transform: uppercase;
  background: none;
  -webkit-text-fill-color: var(--ink-soft);
}

@media (max-width: 640px) {
  .rank-card { grid-template-columns: 55px 46px 1fr auto; gap: .9rem; padding: 1.1rem 1.2rem; }
  .rank-card__rank { font-size: 2.2rem; }
  .rank-card__avatar { width: 46px; height: 46px; }
  .rank-card__player { font-size: 1.15rem; }
  .rank-card__value { font-size: 1.8rem; }
}

/* =========================================================================
   RULES PAGE
   ========================================================================= */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.rules-block {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 2.25rem 2rem;
  position: relative;
  transition: all .3s;
}
.rules-block:hover {
  border-color: var(--coral);
  box-shadow: 0 10px 40px rgba(248, 118, 96, .1);
}
.rules-block__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: baseline;
  gap: .75rem;
}
.rules-block__title span {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.2em;
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rules-list { list-style: none; padding: 0; }
.rules-list li {
  position: relative;
  padding: .65rem 0 .65rem 1.5rem;
  font-family: var(--f-jp);
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-mid);
  border-bottom: 1px dashed var(--line);
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.1rem;
  width: 8px; height: 1px;
  background: var(--coral);
}
.rules-list b { color: var(--ink); font-weight: 700; }

.rules-maps {
  list-style: none;
  padding: 0;
  counter-reset: map;
}
.rules-maps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.rules-maps li:last-child { border-bottom: none; }
.rules-maps li span {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--coral-deep);
  width: 40px;
}

/* Timetable */
.timetable {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  margin: 0 0 3rem;
  position: relative;
  overflow: hidden;
}
.timetable::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(248, 118, 96, .18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(245, 195, 99, .12), transparent 50%);
}
.timetable__head {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 250, 242, .2);
}
.timetable__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: .9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: .75rem;
}
.timetable__title em {
  font-family: var(--f-script);
  font-weight: 400;
  font-style: italic;
  font-size: 1.2em;
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-transform: none;
  line-height: .6;
  margin: 0 .1em;
}
.timetable__sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--amber-bright);
  max-width: 600px;
}
.timetable__days {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.tt-day {
  padding: 0 clamp(1rem, 2vw, 2rem);
  border-right: 1px solid rgba(255, 250, 242, .15);
}
.tt-day:last-child { border-right: none; }
.tt-day:first-child { padding-left: 0; }
.tt-day:last-child { padding-right: 0; }
.tt-day__head {
  margin-bottom: 2rem;
}
.tt-day__n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: .9;
  letter-spacing: -0.02em;
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: .5rem;
}
.tt-day__date {
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, .7);
}
.tt-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(255, 250, 242, .12);
}
.tt-row:last-child { border-bottom: none; }
.tt-time {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.tt-event {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .92rem;
  color: rgba(255, 250, 242, .9);
}
.tt-map {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--coral);
}
.tt-row--break {
  opacity: .5;
}
.tt-row--break .tt-time,
.tt-row--break .tt-event {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
}
.tt-row--highlight .tt-event {
  color: var(--amber-bright);
  font-weight: 700;
}
.tt-row--end .tt-time,
.tt-row--end .tt-event {
  color: var(--coral);
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.rules-foot {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.rules-foot__r {
  font-family: var(--f-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-mid);
}

@media (max-width: 820px) {
  .rules-grid { grid-template-columns: 1fr; }
  .timetable__days { grid-template-columns: 1fr; gap: 2rem; }
  .tt-day {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 250, 242, .15);
    padding-bottom: 2rem;
  }
  .tt-day:last-child { border-bottom: none; padding-bottom: 0; }
  .rules-foot { flex-direction: column; gap: .5rem; text-align: center; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(248, 118, 96, .1), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 195, 99, .08), transparent 50%);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 250, 242, .12);
}
.footer__brand-block { max-width: 400px; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.footer__brand-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 280px;
  /* フッターは暗い背景なので白抜きロゴをそのまま表示 */
}
.footer__brand-svg { width: 48px; height: 48px; }
.footer__brand-text {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.footer__brand-text .cup {
  font-family: var(--f-script);
  font-weight: 400;
  color: var(--coral);
  font-size: 1.4em;
  vertical-align: -0.15em;
  margin-left: .05em;
}
.footer__tag {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--amber-bright);
  line-height: 1.5;
}
.footer__col-label {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__col a {
  display: block;
  padding: .4rem 0;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .9rem;
  color: rgba(255, 250, 242, .75);
  transition: color .2s;
}
.footer__col a:hover { color: var(--coral); }
.footer__btm {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: rgba(255, 250, 242, .5);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer__btm-r {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--amber-bright);
  opacity: .85;
  text-transform: none;
  letter-spacing: normal;
  font-size: .85rem;
}

@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand-block { grid-column: 1 / -1; }
  .footer__btm { flex-direction: column; gap: .5rem; text-align: center; }
}

/* =========================================================================
   UTIL / SCROLL REVEALS
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-l { transform: translateX(-30px); }
.reveal-l.is-in { transform: translateX(0); }

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #1F0B06;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1);
}
.splash.is-done { opacity: 0; pointer-events: none; }
.splash.is-gone { display: none; }
 
/* 2回目以降モード: ロゴとパーセンテージを非表示 */
.splash.is-minimal [data-first-only] { display: none !important; }
 
/* 背景グラデーション */
.splash__bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(248, 118, 96, .9), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(249, 161, 88, .6), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 130%, rgba(245, 195, 99, .3), transparent 55%),
    linear-gradient(180deg, #1F0B06 0%, #3A1510 55%, #5A2315 100%);
  animation: splashBg 6s ease-in-out infinite alternate;
}
@keyframes splashBg {
  0%   { transform: scale(1) translateY(0); }
  100% { transform: scale(1.05) translateY(-1%); }
}
 
/* グレイン */
.splash__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='400' height='400' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
  opacity: .35;
  pointer-events: none;
}
 
/* 上昇する縦ライン群 */
.splash__lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  pointer-events: none;
}
.splash__lines span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(249, 161, 88, 0) 20%,
    rgba(249, 161, 88, .7) 50%,
    rgba(248, 118, 96, .9) 80%,
    transparent 100%);
  transform: translateY(100%);
  animation: splashLine 2.4s cubic-bezier(.22, 1, .36, 1) infinite;
}
.splash__lines span:nth-child(1)  { animation-delay:  .00s; opacity: .3; }
.splash__lines span:nth-child(2)  { animation-delay:  .20s; opacity: .5; }
.splash__lines span:nth-child(3)  { animation-delay:  .08s; opacity: .4; }
.splash__lines span:nth-child(4)  { animation-delay:  .35s; opacity: .7; }
.splash__lines span:nth-child(5)  { animation-delay:  .12s; opacity: .5; }
.splash__lines span:nth-child(6)  { animation-delay:  .28s; opacity: .9; }
.splash__lines span:nth-child(7)  { animation-delay:  .05s; opacity: .4; }
.splash__lines span:nth-child(8)  { animation-delay:  .42s; opacity: .6; }
.splash__lines span:nth-child(9)  { animation-delay:  .18s; opacity: .8; }
.splash__lines span:nth-child(10) { animation-delay:  .33s; opacity: .4; }
 
@keyframes splashLine {
  0%   { transform: translateY(100%); }
  70%, 100% { transform: translateY(-100%); }
}
 
/* 中央ブロック */
.splash__center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
 
/* ロゴ画像ラッパー (初回のみ) */
.splash__logo-wrap {
  opacity: 0;
  transform: translateY(20px) scale(.92);
  animation: splashLogoIn 1s cubic-bezier(.22, 1, .36, 1) .2s forwards;
  filter: drop-shadow(0 10px 40px rgba(248, 118, 96, .5));
}
@keyframes splashLogoIn {
  0%   { opacity: 0; transform: translateY(20px) scale(.92); filter: drop-shadow(0 10px 40px rgba(248, 118, 96, 0)) blur(8px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: drop-shadow(0 10px 40px rgba(248, 118, 96, .5)) blur(0); }
}
.splash__logo {
  display: block;
  width: clamp(220px, 32vw, 420px);
  height: auto;
  max-height: 40vh;
  object-fit: contain;
  animation: splashLogoFloat 4s ease-in-out 1.2s infinite;
}
@keyframes splashLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
 
/* プログレスバー */
.splash__bar {
  position: relative;
  width: clamp(220px, 30vw, 360px);
  height: 2px;
  background: rgba(255, 250, 242, .12);
  overflow: hidden;
  border-radius: 1px;
  opacity: 0;
  animation: splashFadeIn .6s ease-out .5s forwards;
}
.splash.is-minimal .splash__bar { animation-delay: .05s; }
.splash__bar-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F87660 0%, #F9A158 50%, #F5C363 100%);
  box-shadow: 0 0 12px rgba(249, 161, 88, .8);
  transition: width .15s ease-out;
}
@keyframes splashFadeIn { to { opacity: 1; } }
 
/* パーセンテージ (初回のみ) */
.splash__status {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, .7);
  opacity: 0;
  animation: splashFadeIn .6s ease-out .7s forwards;
}
.splash__status-pct {
  color: #F9A158;
  font-weight: 700;
  min-width: 2ch;
  display: inline-block;
  text-align: right;
}
.splash__status-pct::after { content: '%'; opacity: .5; margin-left: .2em; }
 
body.splash-active { overflow: hidden; }
 
/* =========================================================================
   PAGE TRANSITION LOADING (ページ遷移時の上部ライン)
   ========================================================================= */
.page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #F87660 0%, #F9A158 50%, #F5C363 100%);
  box-shadow: 0 0 10px rgba(249, 161, 88, .8);
  z-index: 10000;
  transition: width .3s ease-out, opacity .3s ease-out;
  opacity: 0;
  pointer-events: none;
}
.page-loader.is-loading { opacity: 1; }
.page-loader.is-done { opacity: 0; }
/* ヒーローエリアの大きなロゴ */
.md-team__logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.md-team__logo__short {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--paper); /* 背景が暗いグラデなので白抜き */
}

/* スタッツ表の見出しロゴ */
.stats-block__logo {
  padding: 4px; /* 枠線との間に少し余白を作る */
}
.stats-block__logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.stats-block__logo__short {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .85rem;
  color: var(--ink);
}

@media (max-width: 820px) {
  /* 試合詳細のヒーローエリアとスタッツ表の見出しからアイコンを消す */
  .md-team__logo, 
  .stats-block__logo {
    display: none !important;
  }

  /* アイコンが消えた分、テキストの余白を微調整（必要に応じて） */
  .md-team {
    gap: 0; /* ロゴがないので間隔を詰める */
  }
}

/* エージェントアイコン画像 */
.agent-ic {
  position: relative;
  overflow: hidden;
  background: var(--ink-ghost);
  border-radius: 4px;
}
.agent-ic__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* スマホ表示の際はチームアイコンを非表示にする設定 */
@media (max-width: 820px) {
  .md-team__logo, 
  .stats-block__logo {
    display: none !important;
  }
}