/* ============================================
   雀皇 -JANOH- 共通スタイルシート
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&family=Noto+Sans+JP:wght@300;400;500;700&family=Oswald:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Base Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a2e;
  --bg-card: #14141f;
  --bg-card-hover: #1c1c2e;
  --border-subtle: rgba(201, 168, 76, 0.15);
  --border-medium: rgba(201, 168, 76, 0.3);

  /* Accent */
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #a08030;
  --gold-glow: rgba(201, 168, 76, 0.2);

  /* Text */
  --text-primary: #f0f0f0;
  --text-secondary: #999;
  --text-muted: #666;

  /* Status */
  --status-active: #4ade80;
  --status-recruiting: #60a5fa;
  --status-ended: #6b7280;

  /* Ranks */
  --rank-gold: #c9a84c;
  --rank-silver: #c0c0c0;
  --rank-bronze: #cd7f32;

  /* Typography */
  --font-heading: 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-accent: 'Oswald', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
  --card-radius: 12px;
  --card-padding: 24px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section__title span {
  color: var(--gold);
}

.section__subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

.accent-text {
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.nav__logo-kanji {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.nav__logo-en {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  letter-spacing: 0.05em;
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Card --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.card--clickable {
  cursor: pointer;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge--active {
  background: rgba(74, 222, 128, 0.15);
  color: var(--status-active);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.badge--recruiting {
  background: rgba(96, 165, 250, 0.15);
  color: var(--status-recruiting);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.badge--ended {
  background: rgba(107, 114, 128, 0.15);
  color: var(--status-ended);
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.badge--gold {
  background: rgba(201, 168, 76, 0.15);
  color: var(--rank-gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.badge--silver {
  background: rgba(192, 192, 192, 0.12);
  color: var(--rank-silver);
  border: 1px solid rgba(192, 192, 192, 0.25);
}

.badge--bronze {
  background: rgba(205, 127, 50, 0.12);
  color: var(--rank-bronze);
  border: 1px solid rgba(205, 127, 50, 0.25);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}

.tab:hover {
  color: var(--text-primary);
}

.tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- Table --- */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table thead th {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

.ranking-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.ranking-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.05);
}

.ranking-table tbody td {
  padding: 16px;
  font-size: 0.95rem;
}

.ranking-table .rank-cell {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  width: 60px;
}

.ranking-table .rank-cell--1 { color: var(--rank-gold); }
.ranking-table .rank-cell--2 { color: var(--rank-silver); }
.ranking-table .rank-cell--3 { color: var(--rank-bronze); }

.ranking-table .team-name {
  font-weight: 600;
}

.ranking-table .points {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  color: var(--gold);
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0a0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn--line {
  background: #06C755;
  color: #fff;
}

.btn--line:hover {
  background: #05b04c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(6, 199, 85, 0.3);
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Placeholder Image --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  overflow: hidden;
  position: relative;
}

.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(201, 168, 76, 0.05) 50%, transparent 60%);
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand .nav__logo {
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(26, 26, 46, 0.8) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero__logo-kanji {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-shadow: 0 0 60px var(--gold-glow);
  margin-bottom: 4px;
}

.hero__logo-en {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--text-secondary);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.hero__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

.hero__scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 8px auto 0;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- League Card --- */
.league-card {
  position: relative;
  overflow: hidden;
}

.league-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.league-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.league-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.league-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.league-card__meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.league-card__prize {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.league-card__prize-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: 4px;
}

/* --- Sponsor Card --- */
.sponsor-card {
  overflow: hidden;
  padding: 0;
}

.sponsor-card__image {
  width: 100%;
  height: 200px;
}

.sponsor-card__body {
  padding: 20px;
}

.sponsor-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sponsor-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sponsor-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.sponsor-card__link {
  font-size: 0.85rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sponsor-card__link::after {
  content: '→';
}

/* --- Pickup Section --- */
.pickup-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.pickup-card__image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.pickup-card__body {
  padding: 16px 16px 16px 0;
}

.pickup-card__label {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.pickup-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pickup-card__shop {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Page Header --- */
.page-header {
  padding: 120px 0 48px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header__title span {
  color: var(--gold);
}

.page-header__subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- League Detail Header --- */
.league-header {
  padding: 120px 0 40px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.league-header__name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.league-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.league-header__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.league-header__prize-row {
  display: flex;
  gap: 32px;
  align-items: baseline;
}

.league-header__prize {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
}

.league-header__prize-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  padding: 32px 20px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::after {
  content: '+';
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
  padding-top: 12px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    var(--bg-primary);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* --- Prize Table --- */
.prize-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.prize-table th,
.prize-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.prize-table th {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-accent);
}

.prize-table td {
  font-size: 0.95rem;
}

.prize-table .prize-amount {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
}

/* --- Info Box --- */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 24px;
  margin-bottom: 24px;
}

.info-box__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
}

.info-box__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Mobile Overlay --- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  z-index: 999;
  backdrop-filter: blur(10px);
}

.mobile-overlay.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-overlay .nav__link {
  font-size: 1.2rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --card-padding: 20px;
  }

  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }

  .hero__logo-kanji { font-size: 3.2rem; }
  .hero__logo-en { font-size: 1rem; }
  .hero__tagline { font-size: 1.2rem; }

  .section__title { font-size: 1.6rem; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat__number { font-size: 2rem; }

  .steps { grid-template-columns: 1fr; }

  .tabs { gap: 0; }
  .tab { padding: 10px 16px; font-size: 0.8rem; }

  .league-header__name { font-size: 1.8rem; }
  .league-header__prize { font-size: 2.2rem; }
  .league-header__meta { gap: 12px; }
  .league-header__prize-row { flex-direction: column; gap: 8px; }

  .page-header { padding: 100px 0 32px; }
  .page-header__title { font-size: 1.6rem; }

  .ranking-table { font-size: 0.85rem; }
  .ranking-table thead th { padding: 10px 8px; font-size: 0.7rem; }
  .ranking-table tbody td { padding: 12px 8px; }

  .pickup-card { flex-direction: column; }
  .pickup-card__image { width: 100%; height: 160px; }
  .pickup-card__body { padding: 16px; }

  .hero__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero__logo-kanji { font-size: 2.6rem; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   AGE GATE
   ============================================ */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    var(--bg-primary);
}

.gate__content {
  max-width: 440px;
  padding: 0 24px;
}

.gate__logo {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-shadow: 0 0 60px var(--gold-glow);
  margin-bottom: 4px;
}

.gate__logo-en {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.gate__message {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.gate__question {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.gate__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.gate__btn {
  padding: 14px 48px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.gate__btn--yes {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
}

.gate__btn--yes:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--gold-glow);
  color: #0a0a0f;
}

.gate__btn--no {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gate__btn--no:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .gate__logo { font-size: 2.8rem; }
  .gate__buttons { flex-direction: column; }
  .gate__btn { padding: 14px 32px; }
}

/* ============================================
   TAB DIVIDER (for league-detail ranking/sponsor tabs)
   ============================================ */
.tab-divider {
  width: 1px;
  height: 20px;
  background: var(--border-subtle);
  margin: auto 8px;
  flex-shrink: 0;
}

/* ============================================
   LIGHT THEME (inner pages)
   ============================================ */
body.light {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7fa;
  --bg-tertiary: #efeff4;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-medium: rgba(201, 168, 76, 0.3);
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  background-color: #ffffff;
  color: #1a1a2e;
}

/* Links on light */
body.light a {
  color: var(--gold-dark);
}

body.light a:hover {
  color: var(--gold);
}

/* Keep nav dark on light pages */
body.light .nav {
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(20px);
}

body.light .nav .nav__link {
  color: #999;
}

body.light .nav .nav__link:hover,
body.light .nav .nav__link--active {
  color: var(--gold);
}

body.light .nav__hamburger span {
  background: #f0f0f0;
}

/* Keep mobile overlay dark */
body.light .mobile-overlay {
  background: rgba(10, 10, 15, 0.97);
}

body.light .mobile-overlay .nav__link {
  color: #999;
}

body.light .mobile-overlay .nav__link:hover,
body.light .mobile-overlay .nav__link--active {
  color: var(--gold);
}

/* Card shadow on light */
body.light .card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light .card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 168, 76, 0.2);
}

/* Table on light */
body.light .ranking-table thead th {
  border-bottom-color: rgba(0, 0, 0, 0.1);
  color: #888;
}

body.light .ranking-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light .ranking-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.04);
}

body.light .ranking-table .points {
  color: var(--gold-dark);
}

/* Placeholder image on light */
body.light .placeholder-img {
  background: linear-gradient(135deg, #efeff4, #e4e4ea);
  color: #aaa;
}

body.light .placeholder-img::before {
  background: linear-gradient(45deg, transparent 40%, rgba(201, 168, 76, 0.08) 50%, transparent 60%);
}

/* Page header on light */
body.light .page-header {
  background: #f7f7fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light .page-header__title span {
  color: var(--gold-dark);
}

/* League header on light */
body.light .league-header {
  background: linear-gradient(180deg, #f7f7fa 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light .league-header__prize {
  color: var(--gold-dark);
}

/* CTA section on light */
body.light .cta-section {
  background: linear-gradient(180deg, #f7f7fa 0%, #efeff4 100%);
}

/* Info box on light */
body.light .info-box {
  background: #f7f7fa;
  border-color: rgba(0, 0, 0, 0.06);
}

/* FAQ on light */
body.light .faq-item {
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

/* Tabs on light */
body.light .tabs {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light .tab:hover {
  color: #1a1a2e;
}

/* Badges on light (keep vibrant) */
body.light .badge--active {
  background: rgba(74, 222, 128, 0.1);
  color: #16a34a;
  border-color: rgba(74, 222, 128, 0.3);
}

body.light .badge--recruiting {
  background: rgba(96, 165, 250, 0.1);
  color: #2563eb;
  border-color: rgba(96, 165, 250, 0.3);
}

body.light .badge--ended {
  background: rgba(107, 114, 128, 0.08);
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.2);
}

body.light .badge--gold {
  background: rgba(201, 168, 76, 0.1);
  color: #a08030;
  border-color: rgba(201, 168, 76, 0.3);
}

body.light .badge--silver {
  background: rgba(150, 150, 150, 0.1);
  color: #777;
  border-color: rgba(150, 150, 150, 0.25);
}

body.light .badge--bronze {
  background: rgba(205, 127, 50, 0.08);
  color: #a0642a;
  border-color: rgba(205, 127, 50, 0.25);
}

/* Button adjustments on light */
body.light .btn--outline {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

body.light .btn--outline:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  border-color: var(--gold);
}

/* Prize table on light */
body.light .prize-table th,
body.light .prize-table td {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light .prize-table .prize-amount {
  color: var(--gold-dark);
}

/* Steps on light */
body.light .step::before {
  color: #fff;
}

/* Section title gold on light */
body.light .section__title span {
  color: var(--gold-dark);
}

/* Sponsor card link on light */
body.light .sponsor-card__link {
  color: var(--gold-dark);
}

body.light .sponsor-card__link:hover {
  color: var(--gold);
}

/* League card prize on light */
body.light .league-card__prize {
  color: var(--gold-dark);
}

/* Keep footer dark on light pages */
body.light .footer {
  background: #0f0f18;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  color: #f0f0f0;
}

body.light .footer .nav__logo-kanji {
  color: var(--gold);
}

body.light .footer .nav__logo-en {
  color: #999;
}

body.light .footer .footer__heading {
  color: #f0f0f0;
}

body.light .footer .footer__brand p {
  color: #999;
}

body.light .footer .footer__links a {
  color: #999;
}

body.light .footer .footer__links a:hover {
  color: var(--gold);
}

body.light .footer .footer__bottom {
  border-top-color: rgba(201, 168, 76, 0.15);
  color: #666;
}

/* Rank cell colors stay the same on light */
body.light .ranking-table .rank-cell--1 { color: var(--rank-gold); }
body.light .ranking-table .rank-cell--2 { color: #888; }
body.light .ranking-table .rank-cell--3 { color: var(--rank-bronze); }

/* ============================================
   LEAGUE CARD BADGE (右下コーナー 初心者OK)
   ============================================ */
.league-card__badge-corner {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
  z-index: 2;
}

body.light .league-card__badge-corner {
  background: #15803d;
  color: #fff;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
}

/* ============================================
   CLICKABLE TABLE ROW
   ============================================ */
.ranking-table tbody tr.clickable-row {
  cursor: pointer;
}

.ranking-table tbody tr.clickable-row:hover {
  background: rgba(201, 168, 76, 0.08);
}

body.light .ranking-table tbody tr.clickable-row:hover {
  background: rgba(201, 168, 76, 0.06);
}

.row-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  text-align: right;
  width: 32px;
}

/* ============================================
   TEAM DETAIL PAGE
   ============================================ */
.team-header {
  padding: 120px 0 40px;
  background: linear-gradient(180deg, #f7f7fa 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.team-header__name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.team-header__league {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.team-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.team-stats__item {
  text-align: center;
}

.team-stats__value {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.team-stats__label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.league-rule-note {
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.league-rule-note strong {
  color: var(--text-primary);
  font-weight: 600;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 24px;
}

body.light .member-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.member-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.member-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.member-card__role {
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-weight: 600;
  background: rgba(201, 168, 76, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.member-card__profile {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.member-card__profile-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.member-card__stats {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.member-card__stat {
  text-align: center;
}

.member-card__stat-value {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.member-card__stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .member-grid { grid-template-columns: 1fr; }
  .team-stats { gap: 20px; }
  .team-stats__value { font-size: 1.4rem; }
  .team-header__name { font-size: 1.6rem; }
  .member-card__profile { flex-direction: column; gap: 8px; }
  .member-card__stats { flex-wrap: wrap; gap: 16px; }
}

/* ============================================
   Status Buttons (リーグ一覧 ステータス切替え)
   ============================================ */

.status-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.status-btn {
  padding: 10px 32px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-btn:hover {
  background: rgba(201, 168, 76, 0.1);
}

.status-btn.active {
  background: var(--gold);
  color: #fff;
}

body.light .status-btn {
  border-color: var(--gold);
  color: var(--gold-dark);
}

body.light .status-btn:hover {
  background: rgba(201, 168, 76, 0.08);
}

body.light .status-btn.active {
  background: var(--gold);
  color: #fff;
}

/* Area tabs variant */
.tabs--area {
  margin-bottom: 24px;
}

/* ============================================
   League List (grid with filtering)
   ============================================ */

.league-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.league-list__past-header {
  grid-column: 1 / -1;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.league-card--past {
  opacity: 0.7;
}

.league-list__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-secondary);
  padding: 48px 0;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .league-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .league-list { grid-template-columns: 1fr; }
  .status-buttons { width: 100%; }
  .status-btn { flex: 1; text-align: center; padding: 10px 16px; }
}

/* ============================================
   Sponsor Banner (S枠・A枠)
   ============================================ */

.sponsor-banner {
  display: block;
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.sponsor-banner__image {
  width: 100%;
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.85rem;
}

.sponsor-banner__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.sponsor-banner__overlay .badge {
  margin-bottom: 6px;
}

.sponsor-banner__name {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.sponsor-banner__catch {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

/* S枠: 横幅100%の大型バナー */
.sponsor-banner--s {
  margin-bottom: 16px;
}

.sponsor-banner--s .sponsor-banner__image {
  height: 220px;
}

.sponsor-banner--s .sponsor-banner__name {
  font-size: 1.4rem;
}

/* A枠: 中型バナー（横並び） */
.sponsor-banner-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.sponsor-banner--a .sponsor-banner__image {
  height: 160px;
}

.sponsor-banner--a .sponsor-banner__name {
  font-size: 1.05rem;
}

.sponsor-banner--a .sponsor-banner__catch {
  font-size: 0.8rem;
}

.sponsor-banner--a .sponsor-banner__overlay {
  padding: 14px 18px;
}

/* Light theme adjustments */
body.light .sponsor-banner__image {
  background: linear-gradient(135deg, #d8d8e0 0%, #c0c0cc 100%);
  color: #999;
}

@media (max-width: 768px) {
  .sponsor-banner--s .sponsor-banner__image { height: 180px; }
  .sponsor-banner-row { grid-template-columns: 1fr; }
  .sponsor-banner--a .sponsor-banner__image { height: 150px; }
}

/* ============================================
   SPONSOR TOP BANNER (リーグ詳細ヘッダー上部)
   ============================================ */
.sponsor-top-banner {
  padding: 16px 0 0;
  background: var(--bg-secondary);
}

.sponsor-top-banner__link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.sponsor-top-banner__link:hover {
  opacity: 0.85;
}

.sponsor-top-banner__image {
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
  border-radius: 8px;
}

body.light .sponsor-top-banner {
  background: #f0f0f5;
}

body.light .sponsor-top-banner__image {
  background: linear-gradient(135deg, #d8d8e0 0%, #c0c0cc 100%);
  color: #999;
}

@media (max-width: 768px) {
  .sponsor-top-banner__image {
    height: 70px;
    font-size: 0.75rem;
  }
}

/* ============================================
   SPONSOR BOTTOM BANNER AREA (チーム詳細下部等)
   ============================================ */
.sponsor-bottom-area {
  padding: 40px 0;
}

.sponsor-bottom-area__banners {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.sponsor-bottom-area__banner {
  display: block;
  width: 100%;
  max-width: 728px;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.sponsor-bottom-area__banner:hover {
  opacity: 0.85;
}

.sponsor-bottom-area__image {
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
  border-radius: 8px;
}

body.light .sponsor-bottom-area__image {
  background: linear-gradient(135deg, #d8d8e0 0%, #c0c0cc 100%);
  color: #999;
}

@media (max-width: 768px) {
  .sponsor-bottom-area__image {
    height: 70px;
    font-size: 0.75rem;
  }
}

/* ============================================
   AGE GATE OVERLAY (新TOP用 / ダーク調オーバーレイ)
   ============================================ */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.age-gate-overlay.hidden {
  display: none;
}

.age-gate-overlay__inner {
  max-width: 480px;
  padding: 32px 24px;
}

.age-gate-overlay__logo-kanji {
  font-family: 'Noto Serif JP', serif;
  font-size: 4rem;
  font-weight: 900;
  color: #c9a84c;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.age-gate-overlay__logo-en {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: #999;
  letter-spacing: 0.3em;
  margin-bottom: 40px;
}

.age-gate-overlay__text {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 24px;
}

.age-gate-overlay__question {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 32px;
}

.age-gate-overlay__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.age-gate-overlay__buttons .btn {
  min-width: 260px;
}

.age-gate-overlay__no {
  color: #666 !important;
  border-color: #333 !important;
}

.age-gate-overlay__no:hover {
  color: #999 !important;
  border-color: #555 !important;
}

/* ============================================
   TOP SLIDER (バナースライダー)
   ============================================ */
.top-slider {
  position: relative;
  overflow: hidden;
  background: #f0f0f5;
}

.top-slider__track {
  position: relative;
  width: 100%;
}

.top-slider__slide {
  display: none;
  width: 100%;
}

.top-slider__slide--active {
  display: block;
}

.top-slider__image {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.6;
}

.top-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 16px;
}

.top-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}

.top-slider__dot--active {
  background: #a08030;
}

@media (max-width: 768px) {
  .top-slider__image {
    height: 180px;
    font-size: 0.8rem;
  }
}

/* ============================================
   MATCH UPDATES (試合速報)
   ============================================ */
.match-updates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.match-update {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.match-update--live {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 1px 8px rgba(239, 68, 68, 0.08);
}

.match-update__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.match-update__live-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #ef4444;
  color: #fff;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.match-update__result-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #e5e7eb;
  color: #555;
}

.match-update__league {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a2e;
}

.match-update__round {
  font-size: 0.75rem;
  color: #888;
}

.match-update__scores {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.match-update__team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.match-update__team-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1a2e;
}

.match-update__score {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.match-update__score--positive {
  color: #a08030;
}

.match-update__score--negative {
  color: #888;
}

@media (max-width: 1024px) {
  .match-updates {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .match-updates {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NEWS LIST (ニュース)
   ============================================ */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: background 0.2s ease;
}

.news-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.news-item:hover {
  background: rgba(201, 168, 76, 0.04);
}

.news-item__date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  min-width: 80px;
}

.news-item__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.news-item__badge--new {
  background: #ef4444;
  color: #fff;
}

.news-item__badge--sponsor {
  background: rgba(201, 168, 76, 0.15);
  color: #a08030;
}

.news-item__title {
  font-size: 0.9rem;
  color: #1a1a2e;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .news-item {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .news-item__date {
    min-width: auto;
  }
  .news-item__title {
    width: 100%;
    font-size: 0.85rem;
  }
}

/* ============================================
   TOP LEAGUE LIST (TOP開催中リーグ)
   ============================================ */
.tabs--top-area {
  margin-bottom: 20px;
}

.top-league-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .top-league-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-league-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MAIN TAB BAR (雀皇ニュース / 協賛店 切替)
   ============================================ */
.main-tab-bar {
  background: #fff;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 72px;
  z-index: 100;
}

.main-tab-bar__inner {
  display: flex;
  gap: 0;
}

.main-tab-btn {
  flex: 1;
  padding: 16px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #888;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.04em;
}

.main-tab-btn:hover {
  color: #555;
  background: rgba(0, 0, 0, 0.02);
}

.main-tab-btn--active {
  color: #1a1a2e;
  border-bottom-color: #a08030;
}

/* Main tab panels */
.main-tab-panel {
  display: none;
}

.main-tab-panel--active {
  display: block;
}

/* ============================================
   TOP SPONSOR GRID (協賛店タブ内)
   ============================================ */
.top-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tabs--sponsor-genre {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .top-sponsor-grid {
    grid-template-columns: 1fr;
  }
  .main-tab-btn {
    font-size: 0.85rem;
    padding: 14px 16px;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.breadcrumb__link {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb__link:hover {
  color: var(--gold);
}

.breadcrumb__separator {
  color: #bbb;
  font-size: 0.7rem;
}

.breadcrumb__current {
  color: var(--text-secondary);
}

body.light .breadcrumb__current {
  color: #666;
}

/* ============================================
   AREA HEADER (エリアTOPページ)
   ============================================ */
.area-header {
  background: linear-gradient(180deg, #f7f7fa 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 0;
}

.area-header .container {
  padding-bottom: 0;
}

.area-header__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.area-header__subtitle {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: #aaa;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.area-header__stats {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.area-header__stat {
  text-align: center;
}

.area-header__stat-value {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.area-header__stat-label {
  font-size: 0.75rem;
  color: #888;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .area-header__title {
    font-size: 1.6rem;
  }
  .area-header__stats {
    gap: 20px;
  }
  .area-header__stat-value {
    font-size: 1.4rem;
  }
  .area-header__nav-link {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

/* ============================================
   TAB LINK VARIANT (aタグをtabとして表示)
   ============================================ */
a.tab {
  text-decoration: none;
}

/* ============================================
   ENTRY STEPS MINI (TOPページ 参加方法セクション)
   ============================================ */
.entry-steps-mini {
  display: flex;
  gap: 16px;
}

.entry-step-mini {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.entry-step-mini__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-step-mini__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.entry-step-mini__desc {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .entry-steps-mini {
    flex-direction: column;
  }
}

/* ============================================
   AREA ACCORDION (アコーディオン型エリアセレクター)
   ============================================ */
.area-accordion-wrap {
  background: #fff;
  padding: 10px 0;
}

.area-accordion {
  border: 1.5px solid rgba(160, 128, 48, 0.35);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.area-accordion--open {
  border-color: rgba(160, 128, 48, 0.5);
}

.area-accordion__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}

.area-accordion__trigger:hover {
  background: rgba(201, 168, 76, 0.03);
}

.area-accordion__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.06em;
  margin-right: auto;
}

.area-accordion__current-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(160, 128, 48, 0.4);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  transition: all 0.2s ease;
  min-width: 80px;
}

.area-accordion__trigger:hover .area-accordion__current-chip {
  border-color: rgba(160, 128, 48, 0.6);
  background: rgba(201, 168, 76, 0.04);
}

.area-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.area-accordion__panel--open {
  max-height: 120px;
}

.area-accordion__panel-inner {
  padding: 0 20px 16px;
}

.area-accordion__divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-bottom: 14px;
}

.area-accordion__options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.area-accordion__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 22px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #888;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}

.area-accordion__btn:hover {
  color: #555;
  border-color: rgba(160, 128, 48, 0.4);
  background: rgba(201, 168, 76, 0.04);
}

.area-accordion__btn--active {
  color: #fff;
  background: #a08030;
  border-color: #a08030;
  cursor: default;
}

.area-accordion__btn--active:hover {
  color: #fff;
  background: #a08030;
  border-color: #a08030;
}

@media (max-width: 768px) {
  .area-accordion-wrap {
    padding: 8px 0;
  }
  .area-accordion__trigger {
    padding: 12px 16px;
  }
  .area-accordion__label {
    font-size: 0.8rem;
  }
  .area-accordion__current-chip {
    font-size: 0.84rem;
    padding: 7px 20px;
    min-width: 70px;
  }
  .area-accordion__btn {
    padding: 6px 16px;
    font-size: 0.78rem;
  }
  .area-accordion__panel-inner {
    padding: 0 16px 14px;
  }
}
