/* MIE SHINOBI GATHERS — 静的サイト共通スタイル
   現行 Studio.Design サイトのブランドカラー(ネイビーグラデーション+ゴールド)と
   使用フォント(Inter Tight / 日本語ゴシック)を踏襲したテーマです。 */

:root {
  --navy-dark: #011d2f;
  --navy-light: #054d79;
  --gold: #a9936a;
  --black: #111111;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b7686;
  --bg: #f5f6f8;
  --card-bg: #ffffff;
  --max-width: 1120px;
  --radius: 14px;
  --font-heading: 'Inter Tight', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Inter Tight', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
  color: var(--navy-dark);
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-topbar {
  background: var(--navy-dark);
  color: var(--white);
}
.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  gap: 12px;
}
.header-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.header-site-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-shurikens { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.header-shurikens .shuriken { width: 12px; height: 12px; fill: var(--gold); }
.header-topbar-social { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-topbar-social a { color: var(--white); display: flex; opacity: 0.9; transition: opacity 0.15s ease; }
.header-topbar-social a:hover { opacity: 1; }
.header-topbar-social svg { width: 16px; height: 16px; }

.header-mainbar { background: var(--white); }
.header-mainbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  order: 2;
}
.brand img { height: 120px; width: auto; margin: -22px 0; position: relative; z-index: 1; }
@media (max-width: 900px) {
  .brand img { height: 86px; margin: -14px 0; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--navy-dark);
  font-size: 26px;
  cursor: pointer;
  order: 4;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--navy-dark);
  color: var(--white);
}

@media (min-width: 901px) {
  .main-nav { display: contents; }
  .main-nav-left, .main-nav-right { flex: 1; }
  .main-nav-left { order: 1; justify-content: flex-end; }
  .main-nav-right { order: 3; justify-content: flex-start; }
}

@media (max-width: 900px) {
  .header-site-title { font-size: 10px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 10px 20px 20px;
    order: 5;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a {
    padding: 12px 8px;
    color: var(--white);
  }
  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    background: rgba(169, 147, 106, 0.35);
    color: var(--white);
  }
}

/* ---------- Carousel (top-of-page image slider) ---------- */
.carousel {
  position: relative;
  background: var(--navy-dark);
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 21 / 9;
  display: block;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy-dark);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.carousel-arrow:hover { background: rgba(0, 0, 0, 0.65); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.carousel-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}
@media (max-width: 600px) {
  .carousel-slide { aspect-ratio: 4 / 3; }
  .carousel-arrow { width: 32px; height: 32px; font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy-light));
  color: var(--white);
  padding: 72px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(169,147,106,0.25), transparent 55%);
  pointer-events: none;
}
.hero .eyebrow {
  font-family: 'Yellowtail', cursive;
  font-size: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 18px;
}
.hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}
.hero-logo {
  width: 120px;
  margin: 0 auto 20px;
}

.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy-light));
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(24px, 4vw, 36px); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 10px auto 0; }

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(1,29,47,0.08);
  overflow: hidden;
}
.contact-form-wrap iframe { display: block; border: none; }

.page-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.page-subnav a {
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease;
}
.page-subnav a:hover { background: rgba(255,255,255,0.28); }

.fact-list { margin: 24px 0; }
.fact-list .row {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #e6e8ec;
}
.fact-list dt { flex: 0 0 130px; margin: 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.fact-list dd { margin: 0; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: #ffffff; }
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title .en {
  display: block;
  font-family: 'Francois One', var(--font-heading);
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 14px;
  margin-bottom: 6px;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 801px) and (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 18px rgba(1,29,47,0.08);
}

/* Video */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(1,29,47,0.08);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Match cards (schedule/results) */
.match-category-block { margin-bottom: 40px; }
.match-category-block:last-child { margin-bottom: 0; }
.match-category-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.match-grid { align-items: start; }

.match-grid-scroll {
  display: flex;
  align-items: start;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.match-grid-scroll .match-card { flex: 0 0 320px; scroll-snap-align: start; }
.match-grid-scroll::-webkit-scrollbar { height: 8px; }
.match-grid-scroll::-webkit-scrollbar-track { background: rgba(1,29,47,0.08); border-radius: 999px; }
.match-grid-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }

.scroll-wrap { position: relative; }
.scroll-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--navy-light);
  background: var(--white);
  color: var(--navy-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(1,29,47,0.18);
}
.scroll-arrow:hover { background: var(--navy-dark); color: var(--white); }
.scroll-arrow-left { left: -14px; }
.scroll-arrow-right { right: -14px; }
@media (max-width: 640px) {
  .scroll-arrow { display: none; }
}

.season-tabs, .type-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.type-tabs { margin-bottom: 20px; }
.season-tab, .type-tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--navy-light);
  background: transparent;
  color: var(--navy-light);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.season-tab:hover, .type-tab:hover { background: rgba(5, 77, 121, 0.08); }
.season-tab.is-active, .type-tab.is-active { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }
.type-tab { border-color: var(--gold); color: var(--gold); }
.type-tab.is-active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.season-panel { display: none; }
.season-panel.is-active { display: block; }
.type-group.is-hidden { display: none !important; }
.type-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 20px 0; }

.map-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 10px; overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.course-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.course-table th, .course-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #e7edf3; vertical-align: top; }
.course-table th { background: var(--navy-dark); color: var(--white); font-weight: 700; font-size: 13px; white-space: nowrap; }
.course-table tbody tr:last-child td { border-bottom: none; }
.course-table td:first-child { font-weight: 700; color: var(--navy-dark); white-space: nowrap; }
.course-table td:nth-child(2), .course-table td:nth-child(3) { white-space: nowrap; color: var(--muted); font-size: 13px; }

.match-card { padding: 0; overflow: hidden; text-align: left; }

.match-badge-row { display: flex; align-items: stretch; }
.match-home-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.match-home-badge.is-home { background: #c0392b; }
.match-home-badge.is-away { background: #6b7686; }
.match-venue {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #eef0f3;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-badge-row .badge {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 16px;
  border-radius: 0 var(--radius) 0 0;
}

.match-date-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px 6px;
}
.match-date-main { display: flex; align-items: baseline; gap: 8px; }
.match-year { font-size: 13px; color: var(--muted); font-weight: 700; }
.match-day { font-family: var(--font-heading); font-size: 32px; font-weight: 800; color: var(--navy-dark); line-height: 1; }
.match-weekday { background: var(--navy-dark); color: var(--white); font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.match-time { font-size: 15px; font-weight: 700; color: var(--navy-dark); }

.match-competition {
  padding: 0 20px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid #ececec;
}

.match-games { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.match-game { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.match-team { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.match-team.is-us { flex: 0 0 auto; }
.match-team.is-us .match-team-name { font-weight: 800; color: var(--navy-dark); }
.match-team-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
}
.team-badge.has-logo { background: var(--white); border: 1px solid #ececec; }
.team-badge.has-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.match-center { flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.match-vs { font-weight: 800; color: var(--muted); font-size: 13px; }
.match-vs-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.match-game-time { font-size: 11px; font-weight: 700; color: var(--navy-light); white-space: nowrap; }
.match-score { font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--navy-dark); }
.win-badge { background: var(--gold); color: var(--white); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.win-badge.lose-badge { background: #6b7686; }

.match-status-row { padding: 0 20px 18px; }
.match-card .round-actions { padding: 0 20px 20px; }

/* News */
.news-item {
  display: block;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(1,29,47,0.06);
  transition: box-shadow 0.15s ease;
}
.news-item:hover { box-shadow: 0 6px 20px rgba(1,29,47,0.14); }
.news-item .date {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.news-item h3 { font-size: 17px; margin: 6px 0 8px; }
.news-item p { margin: 0; color: var(--muted); font-size: 14px; }
.news-item .source { font-size: 12px; color: var(--muted); margin-top: 8px; display: inline-block; }

/* Player cards */
.player-card { text-align: center; }
.player-card .photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #dfe4ea url('/images/hero-bg.jpg') center/cover no-repeat;
}
.player-card .number {
  font-family: 'Antonio', var(--font-heading);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.player-card h3 { margin: 4px 0; font-size: 18px; }
.player-card .meta { font-size: 13px; color: var(--muted); }
.player-card-link { display: block; text-decoration: none; color: inherit; transition: transform 0.15s ease; }
.player-card-link:hover { transform: translateY(-4px); }
.player-photo-wrap { position: relative; overflow: hidden; border-radius: 10px; }
.player-number-badge {
  position: absolute;
  top: -6px;
  left: 8px;
  z-index: 1;
  color: var(--gold);
  font-family: 'Antonio', var(--font-heading);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
}
.player-number-badge::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -22px -28px -14px -20px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 55%, rgba(255,255,255,0) 78%);
}
.player-captain-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 8px;
}
.player-card-names { text-align: center; }
.player-courtname {
  margin: 14px 0 0;
  font-family: 'Yellowtail', 'Antonio', var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.player-fullname { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--navy-dark); }
.player-romaji { margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }

/* Player detail page */
.container-narrow { max-width: 760px; }
.player-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(1,29,47,0.5), rgba(1,29,47,0.78)), url('/images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  padding-bottom: 0;
  overflow: hidden;
}
.player-hero-inner { width: 100%; max-width: 460px; }
.player-hero-photo-wrap { position: relative; }
.player-hero-photo {
  width: 100%;
  height: auto;
  display: block;
}
.player-hero-number {
  position: absolute;
  top: -10px;
  left: 16px;
  z-index: 1;
  color: var(--gold);
  font-family: 'Antonio', var(--font-heading);
  font-weight: 700;
  font-size: 84px;
  line-height: 1;
}
.player-hero-number::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -30px -40px -20px -30px;
  background: radial-gradient(ellipse at center, rgba(1,29,47,0.65) 0%, rgba(1,29,47,0.25) 55%, rgba(1,29,47,0) 78%);
}
.player-profile-section { padding-top: 0; }
.player-detail-names { margin-top: 28px; }
.player-detail-names .player-courtname { font-size: 40px; }

.player-info-grid { display: grid; gap: 1px; background: #ececec; border: 1px solid #ececec; border-radius: 10px; overflow: hidden; margin-top: 32px; }
.info-pair { display: grid; grid-template-columns: 1fr 1.6fr 1fr 1.6fr; }
.info-pair-full { display: grid; grid-template-columns: 1fr 3fr; }
.info-label {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  text-align: center;
}
.info-value {
  background: #f4f5f7;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  text-align: center;
}
@media (max-width: 640px) {
  .info-pair, .info-pair-full { grid-template-columns: 1fr 1fr; }
}

/* Round / schedule cards */
.round-card { margin-bottom: 28px; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-scheduled { background: #e7edf3; color: var(--navy-light); }
.badge-completed { background: #f1e9d8; color: var(--gold); }

.match-status-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.placement-text { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--gold); letter-spacing: 0.02em; }
.placement-text.placement-out { font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: normal; }

.stage-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 4px 0 -2px;
}
.stage-label:first-child { margin-top: 0; }

.match-roster { padding: 0 20px 14px; }
.match-roster .stage-label { margin-bottom: 8px; }
.roster-list { display: flex; flex-wrap: wrap; gap: 6px; }
.roster-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef1f0;
  color: var(--navy-dark);
  font-size: 12px;
  font-weight: 700;
}

.round-actions { margin-top: 18px; text-align: center; }
.round-actions canvas { display: none; }

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
  font-size: 14px;
}
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 { color: var(--white); font-size: 14px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--gold); }
.sns-links { display: flex; gap: 12px; margin-top: 10px; }
.sns-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.sns-links a svg { width: 17px; height: 17px; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Utility */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--muted); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin-top: 1.6em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag-list span {
  background: #eef1f4;
  color: var(--navy-light);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.timeline { border-left: 3px solid var(--gold); padding-left: 24px; margin-left: 6px; }
.timeline-item { margin-bottom: 28px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-item .year { font-family: var(--font-heading); font-weight: 800; color: var(--navy-dark); font-size: 18px; }

.history-year { border-bottom: 1px solid #e7edf3; }
.history-year:last-of-type { border-bottom: none; }
.history-year summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 4px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-dark);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.history-year summary .muted { font-family: var(--font-body); font-size: 13px; font-weight: 400; }
.history-year summary::-webkit-details-marker { display: none; }
.history-year summary::before {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  width: 20px;
}
.history-year[open] summary::before { content: "−"; }
.history-year .timeline { margin: 4px 0 24px; }

.partner-logo {
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(1,29,47,0.06);
}
.partner-logo img { max-height: 100px; max-width: 100%; }

.partner-tier-block { margin-bottom: 40px; }
.partner-tier-block:last-child { margin-bottom: 0; }
.partner-ribbon {
  display: inline-block;
  background: var(--navy-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 12px 28px 12px 20px;
  border-radius: 0 999px 999px 0;
  margin-bottom: 22px;
}
.partner-card { text-align: center; padding: 14px; }
.partner-card .partner-logo { margin-bottom: 10px; }
.partner-name { font-size: 13px; }
.partner-card-top .partner-logo { padding: 16px; }
.partner-card-top .partner-logo img { max-height: 140px; }
.partner-card-top .partner-name { font-size: 15px; font-weight: 700; color: var(--navy-dark); }
.partner-card-lg-logo .partner-logo { padding: 6px; }
.partner-card-lg-logo .partner-logo img { max-height: 128px; }

.rule-flag-image {
  display: block;
  width: 100%;
  margin: 0 auto 20px;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(1,29,47,0.1);
}

.notice-banner {
  background: #fff7e6;
  border: 1px solid var(--gold);
  color: #6b5a2c;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  margin: 24px 0;
}

/* Rules page */
.rule-area-card { text-align: left; }
.rule-area-card h3 { margin: 0 0 6px; font-size: 16px; }
.rule-area-current { border: 2px solid var(--gold); }
.rule-area-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.rule-diagram { max-width: 480px; margin: 24px auto 0; text-align: center; }
.rule-diagram-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.rule-diagram-box {
  flex: 1;
  min-width: 140px;
  background: #eef0f3;
  border-radius: 10px;
  padding: 16px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-dark);
}
.rule-diagram-box span { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; }
.rule-diagram-box.rule-diagram-final { background: var(--navy-dark); color: var(--white); flex: none; width: 100%; }
.rule-diagram-box.rule-diagram-final span { color: rgba(255,255,255,0.75); }
.rule-diagram-arrow { font-size: 13px; color: var(--muted); font-weight: 700; margin: 10px 0; }
.rule-diagram-results { gap: 10px; }
.rule-diagram-pill {
  background: #e7edf3;
  color: var(--navy-light);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}
.rule-diagram-pill-gold { background: var(--gold); color: var(--white); }
