/* ===== src/css/00-tokens.css ===== */
/* 角鯖 一般向け紹介サイト — マインクラフト風
   ブレークポイント（メディアクエリでは CSS 変数を使えないため、値はここを正とする）
   sm: 480px / md: 768px / lg: 1024px / xl: 1440px
   mobile-first（min-width）で積み上げる。720px の旧ブレークポイントは廃止。 */
:root {
  /* ===== サーフェス（写真を浮かせるため下層を暗く） ===== */
  --surface-base: #0d1310;
  --surface-raised: #18211b;
  --surface-high: #222d25;
  --surface-sunk: #0a0f0c;

  /* ===== アクセント: グラスブロック緑 ===== */
  --grass-100: #b6f5b6;
  --grass-300: #7de07d;
  --grass-500: #55c257;
  --grass-700: #35863a;
  --grass-glow: rgba(85, 194, 87, 0.28);

  /* ===== CTA: たいまつの炎（Discord 参加ボタン専用） ===== */
  --torch-300: #ffd77a;
  --torch-500: #f5a623;
  --torch-700: #a8620c;

  /* ===== 情報色 ===== */
  --sky-400: #7ec8ff;

  /* ===== テキスト（コントラスト 4.5:1 以上を確保） ===== */
  --text-strong: #f4f8f4;
  --text: #dfe7e0;
  --text-muted: #9fb0a3;

  /* ===== ベベル（マイクラらしい立体枠。1トークンにまとめる） ===== */
  --bevel-hi: #4a5a4c;
  --bevel-lo: #0c110d;
  --bevel: var(--bevel-hi) var(--bevel-lo) var(--bevel-lo) var(--bevel-hi);
  --bevel-pressed: var(--bevel-lo) var(--bevel-hi) var(--bevel-hi) var(--bevel-lo);
  --border: #4a5548;

  /* ===== マイクラブロック色（アイコン・装飾用） ===== */
  --mc-dirt: #8b6914;
  --mc-stone: #6b6b6b;
  --mc-stone-light: #9a9a9a;

  --radius: 4px;
  --shadow: 0 6px 0 var(--bevel-lo), 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-inset: inset 2px 2px 0 rgba(255, 255, 255, 0.06), inset -2px -2px 0 rgba(0, 0, 0, 0.35);

  /* ===== タイポグラフィ: display は見出し・数値のみ。本文には使わない ===== */
  --font-display: "DotGothic16", "Hiragino Sans", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --fs-hero: clamp(1.75rem, 1.2rem + 3.5vw, 3.25rem);
  --fs-h2: clamp(1.35rem, 1.05rem + 1.6vw, 2rem);
  --fs-h3: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  --fs-body: clamp(.95rem, .92rem + .18vw, 1.05rem);
  --fs-small: .875rem;
  --fs-stat: clamp(1.6rem, 1.1rem + 2.4vw, 2.75rem);

  /* ===== 余白 ===== */
  --space-3xs: .25rem;
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --section-y: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  --gutter: clamp(1rem, .5rem + 2vw, 2rem);

  --container-max: 1080px;
  --card-min: 17rem;

  --z-header: 100;
  --z-lightbox: 200;
  --header-h: 4rem;
  --lightbox-chrome: clamp(4.5rem, 3rem + 6vw, 8.5rem);
}

@media (min-width: 1440px) {
  :root {
    --container-max: 1200px;
  }
}

/* ===== src/css/01-reset.css ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* .btn など display 指定が hidden を打ち消さないようにする */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-s));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .base-card-link:hover,
  .feature-card-link:hover,
  .streamer-card:has(.streamer-card-link:hover),
  .base-gallery-item:hover {
    transform: none;
  }
}

/* ===== src/css/02-base.css ===== */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface-base);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 15px,
      rgba(85, 194, 87, 0.03) 15px,
      rgba(85, 194, 87, 0.03) 16px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 15px,
      rgba(85, 194, 87, 0.03) 15px,
      rgba(85, 194, 87, 0.03) 16px
    ),
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--grass-glow), transparent),
    linear-gradient(180deg, #0a0f0c 0%, var(--surface-base) 45%);
  min-height: 100svh;
}

a {
  color: var(--grass-500);
  text-decoration: none;
  transition: color 0.15s ease;
}

.step p a,
.section-desc a,
.hero-lead a,
.base-card-body a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--grass-300);
}

a:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container-max));
  margin-inline: auto;
}

/* ===== src/css/03-panels.css ===== */
/* 立体ボタン共通 */
.mc-raised {
  border: 2px solid;
  border-color: var(--bevel);
  box-shadow: var(--shadow-inset);
}

.mc-raised:active {
  border-color: var(--bevel-pressed);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.font-display {
  font-family: var(--font-display);
}

/* ===== src/css/10-header.css ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(13, 19, 16, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid;
  border-color: var(--bevel);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  min-height: var(--header-h);
  padding-block: var(--space-2xs);
  position: relative;
}

.logo {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  color: var(--text);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 var(--bevel-lo);
}

.logo span {
  color: var(--grass-500);
}

.nav-toggle {
  display: block;
  background: var(--surface-raised);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.nav-toggle.mc-raised:hover {
  background: var(--surface-high);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(13, 19, 16, 0.98);
  border-bottom: 3px solid var(--bevel-lo);
  padding: var(--space-s);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.site-nav a {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0.7rem 0.75rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 2px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--grass-500);
  background: rgba(85, 194, 87, 0.12);
  box-shadow: inset 0 -2px 0 var(--grass-500);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    background: none;
    border-bottom: 0;
    padding: 0;
    box-shadow: none;
    min-width: 0;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem 1rem;
  }

  .site-nav a {
    padding: 0.25rem 0.5rem;
    min-height: 0;
  }
}

/* ===== src/css/20-hero.css ===== */
.hero {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-2xl);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 12, 0.55) 0%, rgba(10, 15, 12, 0.78) 55%, var(--surface-base) 100%),
    linear-gradient(90deg, rgba(10, 15, 12, 0.45), rgba(10, 15, 12, 0.2) 40%, rgba(10, 15, 12, 0.45));
}

.page-hero {
  padding: var(--space-xl) 0 var(--space-l);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 400;
  margin: 0 0 1rem;
  text-shadow: 2px 2px 0 var(--bevel-lo);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(13, 19, 16, 0.65);
  color: var(--text-muted);
  margin-bottom: var(--space-s);
  border: 2px solid;
  border-color: var(--bevel);
  box-shadow: var(--shadow-inset);
  backdrop-filter: blur(4px);
}

.hero-heading {
  margin: 0 0 var(--space-s);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-hero);
  letter-spacing: 0.06em;
  text-shadow: 3px 3px 0 var(--bevel-lo), 0 0 32px rgba(0, 0, 0, 0.6);
}

.hero-heading span {
  color: var(--grass-500);
}

.hero-heading small {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(0.9rem, 0.7rem + 1vw, 1.15rem);
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-shadow: 1px 1px 0 var(--bevel-lo);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 var(--space-s);
  text-shadow: 1px 1px 0 var(--bevel-lo);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36em;
  margin: 0 auto var(--space-m);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-top: var(--space-m);
}

/* ===== スタッツバー ===== */
.stats-bar {
  padding: var(--space-l) 0;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--bevel-lo);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-m) var(--space-s);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.stat-value {
  font-size: var(--fs-stat);
  font-weight: 400;
  color: var(--grass-300);
  line-height: 1.1;
}

.stat-value small {
  font-size: 0.5em;
  color: var(--text-muted);
  margin-left: 0.15em;
}

/* Java 版・統合版のように並列で優劣のない2項目は、主従関係を示す
   small ではなく同じ大きさ・色で揃える */
.stat-value--pair {
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.6rem);
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== オンライン人数バナー ===== */
.server-status {
  margin: 0 0 var(--space-l);
  text-align: center;
}

.server-status-label {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.server-status-banner a {
  display: inline-block;
  line-height: 0;
}

.server-status-banner img {
  display: block;
  width: 560px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* ===== src/css/21-video.css ===== */
.pv-section {
  background: var(--surface-sunk);
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid;
  border-color: var(--bevel);
  box-shadow: var(--shadow);
  background: #000;
}

.video-embed .pv-yt-host,
.video-embed .pv-yt-host iframe,
.video-embed iframe,
.video-embed > div > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed.is-lazy-poster .pv-yt-host {
  visibility: hidden;
  pointer-events: none;
}

.video-embed.is-lazy-poster .video-lazy-trigger {
  z-index: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  color: var(--text);
}

.video-embed.is-lazy-poster .video-lazy-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-embed.is-lazy-poster .video-lazy-trigger:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: -4px;
}

.video-link {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.video-notice {
  max-width: 800px;
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(232, 184, 74, 0.12);
  border: 2px solid;
  border-color: rgba(232, 184, 74, 0.5) rgba(120, 90, 30, 0.6) rgba(120, 90, 30, 0.6) rgba(232, 184, 74, 0.5);
  border-radius: var(--radius);
  line-height: 1.6;
  box-shadow: var(--shadow-inset);
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--text);
}

.video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(220, 0, 0, 0.9);
  border-radius: var(--radius);
  border: 2px solid #fff #900 #900 #fff;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.video-fallback-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

/* ===== src/css/22-button.css ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--grass-500);
  color: #0f1419;
  border-color: var(--grass-300) var(--grass-700) var(--grass-700) var(--grass-300);
  box-shadow: var(--shadow-inset), 0 3px 0 var(--grass-700);
}

.btn-primary:hover {
  color: #0f1419;
  background: var(--grass-300);
  box-shadow: var(--shadow-inset), 0 4px 12px var(--grass-glow);
}

.btn-primary:active {
  border-color: var(--grass-700) var(--grass-300) var(--grass-300) var(--grass-700);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.btn-secondary {
  background: var(--mc-stone);
  color: var(--text);
  border-color: var(--mc-stone-light) var(--bevel-lo) var(--bevel-lo) var(--mc-stone-light);
  box-shadow: var(--shadow-inset), 0 3px 0 var(--bevel-lo);
}

.btn-secondary:hover {
  color: var(--text);
  background: #7a7a7a;
}

.btn-secondary:active {
  border-color: var(--bevel-lo) var(--mc-stone-light) var(--mc-stone-light) var(--bevel-lo);
}

/* 最優先 CTA（ヒーローの Discord 参加ボタンのみ）。たいまつの炎色で他と差をつける */
.btn-cta {
  padding: 1rem 1.75rem;
  min-height: 52px;
  font-size: 1.05rem;
  background: var(--torch-500);
  color: #2b1400;
  border-color: var(--torch-300) var(--torch-700) var(--torch-700) var(--torch-300);
  box-shadow: var(--shadow-inset), 0 4px 0 var(--torch-700), 0 6px 20px rgba(245, 166, 35, 0.35);
}

.btn-cta:hover {
  color: #2b1400;
  background: var(--torch-300);
  box-shadow: var(--shadow-inset), 0 4px 0 var(--torch-700), 0 6px 24px rgba(245, 166, 35, 0.55);
}

.btn-cta:active {
  border-color: var(--torch-700) var(--torch-300) var(--torch-300) var(--torch-700);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.35);
}

/* ===== src/css/23-section.css ===== */
section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(85, 194, 87, 0.05) 100%);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  margin: 0 0 1rem;
  text-align: center;
  text-shadow: 2px 2px 0 var(--bevel-lo);
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin: 0.5rem auto 0;
  background: var(--grass-500);
  border: 1px solid;
  border-color: var(--grass-300) var(--grass-700) var(--grass-700) var(--grass-300);
  border-radius: 1px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 40em;
  margin: 0 auto 2rem;
  font-size: var(--fs-body);
}

/* ===== src/css/24-feature-card.css ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--card-min), 100%), 1fr));
  gap: var(--space-s);
}

.feature-card {
  background: var(--surface-raised);
  border: 2px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  position: relative;
  box-shadow: var(--shadow-inset);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.feature-card[data-icon]::before {
  content: attr(data-icon);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  font-size: 1.25rem;
  line-height: 1;
}

.feature-card:hover {
  border-color: var(--grass-700) var(--bevel-lo) var(--bevel-lo) var(--grass-700);
  background: var(--surface-high);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--grass-500);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.feature-card-link:hover {
  color: inherit;
  border-color: var(--grass-700) var(--bevel-lo) var(--bevel-lo) var(--grass-700);
  transform: translateY(-2px);
}

.feature-card-link:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: 3px;
}

.feature-card-cta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grass-500);
}

.feature-card-link:hover .feature-card-cta {
  color: var(--grass-300);
}

/* 写真つきカード（イベント・配布マップ）: アイコンではなくスクショを主役にする */
.feature-card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card--media .feature-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 2px solid var(--bevel-lo);
}

.feature-card--media .feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.feature-card--media:hover .feature-card-media img {
  transform: scale(1.05);
}

.feature-card--media .feature-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.feature-card--media h3,
.feature-card--media p {
  margin: 0 0 0.4rem;
}

.feature-card--media .feature-card-cta {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .feature-card--media {
    grid-column: span 2;
    flex-direction: row;
  }

  .feature-card--media .feature-card-media {
    aspect-ratio: auto;
    width: 45%;
    flex-shrink: 0;
    border-bottom: 0;
    border-right: 2px solid var(--bevel-lo);
  }

  .feature-card--media .feature-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ===== src/css/25-play-card.css ===== */
.play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--card-min), 100%), 1fr));
  gap: var(--space-m);
}

.play-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-raised);
  border: 2px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-inset);
  color: inherit;
}

.play-card-shot {
  aspect-ratio: 16 / 9;
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.3) 0 10px,
      rgba(0, 0, 0, 0.12) 10px 20px
    ),
    linear-gradient(160deg, var(--surface-high) 0%, var(--surface-sunk) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--bevel-lo);
}

.play-card-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スクショが入ったら（img が存在したら）クリックで拡大できることを示す */
.play-card-shot:has(img) {
  cursor: zoom-in;
}

.play-card-shot:has(img)::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(10, 15, 12, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.play-card-shot:has(img):hover::after,
.play-card-shot:has(img):focus-visible::after {
  opacity: 1;
}

.play-card-shot:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: -2px;
}

.play-card-shot-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.play-card-shot-placeholder::before {
  content: attr(data-icon);
  font-size: 1.75rem;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}

.play-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.play-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--grass-500);
}

.play-card-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== src/css/26-x-timeline.css ===== */
.home-streamers-action {
  margin: 1.5rem 0 0;
  text-align: center;
}

.x-timeline-wrap {
  margin: 0 auto;
  max-width: 600px;
}

.x-timeline {
  background: var(--surface-raised);
  border: 3px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.x-timeline-heading {
  margin: 0;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  border-bottom: 2px solid var(--bevel-lo);
  background: rgba(0, 0, 0, 0.15);
}

.x-timeline-panel {
  max-height: min(520px, 70dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0f1712;
}

.x-timeline-panel::-webkit-scrollbar {
  width: 10px;
}

.x-timeline-panel::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
  border: 2px solid #0f1712;
}

.x-timeline-message {
  margin: 0;
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.x-timeline-message.is-error {
  color: #f0a8a8;
}

.x-timeline-list {
  display: flex;
  flex-direction: column;
}

.x-timeline-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.65rem 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(74, 85, 72, 0.65);
}

.x-timeline-item:last-child {
  border-bottom: 0;
}

.x-timeline-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--bevel-lo);
  background: var(--surface-base);
}

.x-timeline-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x-timeline-avatar-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--border) 0%, var(--surface-base) 100%);
}

.x-timeline-body {
  min-width: 0;
}

.x-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.x-timeline-name {
  font-weight: 700;
  color: var(--text);
}

.x-timeline-name:hover {
  text-decoration: underline;
}

.x-timeline-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: var(--sky-400);
  border-radius: 50%;
  line-height: 1;
}

.x-timeline-username,
.x-timeline-time {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.x-timeline-username:hover {
  text-decoration: underline;
}

.x-timeline-sep {
  color: var(--text-muted);
}

.x-timeline-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.x-timeline-text a {
  color: var(--sky-400);
}

.x-timeline-text a:hover {
  text-decoration: underline;
}

.x-timeline-media {
  display: grid;
  gap: 3px;
  margin-top: 0.55rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bevel-lo);
}

.x-timeline-media--1 {
  grid-template-columns: 1fr;
}

.x-timeline-media--2,
.x-timeline-media--3,
.x-timeline-media--4 {
  grid-template-columns: repeat(2, 1fr);
}

.x-timeline-media--3 .x-timeline-media-link:first-child {
  grid-row: span 2;
}

.x-timeline-media-link {
  display: block;
  line-height: 0;
  background: #000;
  min-height: 64px;
}

.x-timeline-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 64px;
  max-height: clamp(140px, 38vw, 260px);
  object-fit: cover;
}

.x-timeline-media--1 img {
  max-height: clamp(180px, 55vw, 320px);
}

.x-timeline-item-link {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
}

.x-timeline-item-link a {
  color: var(--text-muted);
}

.x-timeline-item-link a:hover {
  color: var(--grass-500);
}

.x-timeline-footer {
  margin: 0;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  border-top: 2px solid var(--bevel-lo);
  background: rgba(0, 0, 0, 0.12);
}

.x-timeline-footer a {
  color: var(--sky-400);
  font-weight: 600;
}

/* ===== src/css/27-base-card.css ===== */
.base-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--card-min), 100%), 1fr));
  gap: var(--space-m);
}

.base-card {
  background: var(--surface-raised);
  border: 2px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-inset);
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.base-card-media {
  aspect-ratio: 16 / 9;
  border-bottom: 2px solid var(--bevel-lo);
  overflow: hidden;
}

.base-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.base-card-link:hover .base-card-media img {
  transform: scale(1.05);
}

.base-card-media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.3) 0 10px,
      rgba(0, 0, 0, 0.12) 10px 20px
    ),
    linear-gradient(160deg, var(--surface-high) 0%, var(--surface-sunk) 100%);
}

.base-card-media--placeholder::before {
  content: attr(data-icon);
  font-size: 2rem;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}

.base-card-link {
  text-decoration: none;
  color: inherit;
}

.base-card-link:hover {
  color: inherit;
  border-color: var(--grass-700) var(--bevel-lo) var(--bevel-lo) var(--grass-700);
  transform: translateY(-2px);
}

.base-card-link:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: 3px;
}

.base-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--bevel-lo);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
}

.base-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.base-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  background: rgba(85, 194, 87, 0.28);
  color: #c8f0c8;
  white-space: nowrap;
  border: 1px solid var(--grass-700);
}

.base-tag.mature {
  background: rgba(232, 184, 74, 0.32);
  color: #ffe8a8;
  border-color: #a08030;
}

.base-tag.new {
  background: rgba(120, 180, 232, 0.32);
  color: #d4ecff;
  border-color: #4a7aaa;
}

.base-card-body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
}

.base-card-body p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.base-card-body p:last-child {
  margin-bottom: 0;
}

.base-card-cta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--grass-500);
  font-weight: 600;
}

.base-card-link:hover .base-card-cta {
  color: var(--grass-300);
}

/* ===== src/css/28-base-gallery.css ===== */
/* 拠点詳細・ギャラリー */
.base-breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-align: left;
}

.base-breadcrumb a {
  color: var(--grass-500);
}

.base-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.base-detail-header h1 {
  margin: 0;
}

.base-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(var(--card-min), 100%), 1fr));
  gap: 1rem;
}

.base-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 3px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  background: var(--surface-raised);
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-inset), var(--shadow);
  transition: border-color 0.15s ease, transform 0.12s ease;
  font-family: inherit;
  text-align: left;
  color: inherit;
}

.base-gallery-item:hover {
  border-color: var(--grass-700) var(--bevel-lo) var(--bevel-lo) var(--grass-700);
  transform: translateY(-2px);
}

.base-gallery-item:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: 2px;
}

.base-gallery-item-thumb {
  position: relative;
  display: block;
}

.base-gallery-item-thumb img,
.base-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.base-gallery-item-model-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  padding: 0.2rem 0.55rem 0.18rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: #e8f8e8;
  background: linear-gradient(145deg, rgba(43, 92, 46, 0.95), rgba(12, 22, 12, 0.96));
  border: 2px solid;
  border-color: var(--grass-300) var(--bevel-lo) var(--bevel-lo) var(--grass-300);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--grass-glow);
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.base-gallery-caption {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
  border-top: 2px solid var(--bevel-lo);
}

.base-gallery-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow-inset);
}

.base-related-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.base-related-heading {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.base-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.base-related-list a {
  color: var(--grass-300);
  text-decoration: none;
  font-size: 0.9rem;
}

.base-related-list a:hover {
  text-decoration: underline;
}

/* ===== src/css/29-base-lightbox.css ===== */
.base-lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
}

/* 3Dモードでは、指がcanvasの外（ステージの余白など）にはみ出してもブラウザのピンチズームが
   発生しないよう、モーダル全体でタッチ操作を無効化する（回転・移動・ズームは自前実装で処理）。
   画像モードでは対象外にし、ネイティブのピンチズームを維持する。 */
.base-lightbox:has(.base-lightbox-model:not([hidden])) {
  touch-action: none;
}

.base-lightbox::backdrop {
  background: rgba(10, 14, 12, 0.88);
}

.base-lightbox-inner {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 0.3rem + 2vw, 2rem);
  pointer-events: none;
}

.base-lightbox-inner > * {
  pointer-events: auto;
}

.base-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  background: var(--mc-stone);
  border: 2px solid;
  border-color: var(--mc-stone-light) var(--bevel-lo) var(--bevel-lo) var(--mc-stone-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  z-index: 2;
}

.base-lightbox-close:hover {
  background: #7a7a7a;
}

.base-lightbox-close:active {
  border-color: var(--bevel-lo) var(--mc-stone-light) var(--mc-stone-light) var(--bevel-lo);
}

.base-lightbox-toolbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.base-lightbox-mode {
  display: inline-flex;
  gap: 0;
  padding: 0.2rem;
  background: var(--mc-stone);
  border: 2px solid;
  border-color: var(--mc-stone-light) var(--bevel-lo) var(--bevel-lo) var(--mc-stone-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.base-lightbox-mode-btn {
  min-width: 4.5rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
}

.base-lightbox-mode-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.base-lightbox-mode-btn.is-active,
.base-lightbox-mode-btn[aria-selected="true"] {
  color: #fff;
  background: var(--grass-500);
}

.base-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1120px);
  max-height: calc(100dvh - var(--lightbox-chrome));
}

.base-lightbox-image {
  max-width: 100%;
  max-height: calc(100dvh - var(--lightbox-chrome));
  width: auto;
  height: auto;
  border: 6px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.base-lightbox-model {
  position: relative;
  width: min(100% - 2rem, 1120px);
  height: min(72dvh, 720px);
  border: 6px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #141a16;
  /* ドラッグ操作（回転・パン）中にブラウザのネイティブテキスト選択が走らないようにする */
  -webkit-user-select: none;
  user-select: none;
}

.base-lightbox-model-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.base-lightbox-model-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.base-lightbox-time-control {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #f2f6f3;
}

.base-lightbox-time-control.is-live .base-lightbox-time-value {
  color: #b8f0c8;
}

.base-lightbox-time-control-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  font-size: 0.82rem;
}

.base-lightbox-time-label {
  font-weight: 600;
}

.base-lightbox-time-value {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.base-lightbox-time-date {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.base-lightbox-time-slider {
  width: 100%;
  margin: 0;
  min-height: 24px;
  accent-color: #7fcf9a;
}

.base-lightbox-time-live-btn {
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f6f3;
  padding: 0.4rem 0.85rem;
  min-height: 36px;
  font-size: 0.78rem;
  cursor: pointer;
}

.base-lightbox-time-live-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
}

.base-lightbox-time-live-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.base-lightbox-model:has(.base-lightbox-time-control:not([hidden])) .base-lightbox-model-hint {
  bottom: 4.6rem;
}

.base-lightbox-model-loading,
.base-lightbox-model-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: #fff;
  background: rgba(10, 14, 12, 0.72);
}

.base-lightbox-model-error {
  color: #ffb4b4;
}

.base-lightbox-caption {
  margin: 0.75rem 0 0;
  max-width: 40em;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== src/css/30-steps.css ===== */
.steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-m);
  counter-reset: step;
}

.step {
  flex: 1 1 0;
  background: var(--surface-raised);
  border: 2px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  padding-top: 2.5rem;
  box-shadow: var(--shadow-inset);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--grass-500);
  color: #0f1419;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 2px;
  border: 2px solid;
  border-color: var(--grass-300) var(--grass-700) var(--grass-700) var(--grass-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .steps {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .step {
    max-width: 22rem;
  }

  .step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: calc(-1 * var(--space-m) / 2 - 0.55em);
    transform: translateY(-50%);
    color: var(--grass-500);
    font-size: 1.5rem;
    font-family: var(--font-display);
  }
}

/* ===== src/css/31-links.css ===== */
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== src/css/32-streamer.css ===== */
.streamer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--card-min), 100%), 1fr));
  gap: var(--space-m);
}

.streamer-list-root {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.streamer-crawl-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.streamer-crawl-heading {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.streamer-crawl-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.streamer-crawl-list a {
  color: var(--grass-300);
  text-decoration: none;
  font-size: 0.9rem;
}

.streamer-crawl-list a:hover {
  text-decoration: underline;
}

.streamer-related-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.streamer-related-heading {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.streamer-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.streamer-related-list a {
  color: var(--grass-300);
  text-decoration: none;
  font-size: 0.9rem;
}

.streamer-related-list a:hover {
  text-decoration: underline;
}

.streamer-card-registered .streamer-card-cta {
  display: none;
}

.streamer-card {
  background: var(--surface-raised);
  border: 2px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-inset);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.streamer-card:has(.streamer-card-link:hover) {
  border-color: var(--grass-700) var(--bevel-lo) var(--bevel-lo) var(--grass-700);
  background: var(--surface-high);
  transform: translateY(-2px);
}

.streamer-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.streamer-card-link:focus-visible {
  outline: 2px solid var(--sky-400);
  outline-offset: 3px;
}

.streamer-card-cta {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grass-500);
}

.streamer-card-link:hover .streamer-card-cta {
  color: var(--grass-300);
}

.streamer-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.streamer-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid;
  border-color: var(--bevel);
  box-shadow: var(--shadow-inset);
}

.streamer-card-title {
  min-width: 0;
}

.streamer-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.streamer-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: pre-line;
}

.streamer-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: left;
}

.streamer-detail-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid;
  border-color: var(--bevel);
  box-shadow: var(--shadow-inset);
}

.streamer-detail-title {
  flex: 1 1 16rem;
  min-width: 0;
}

.streamer-detail-desc {
  white-space: pre-line;
}

.streamer-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.streamer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
}

.streamer-links .btn,
.streamer-links .btn-link {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 7rem;
  margin-top: 0;
  width: auto;
  text-align: center;
  box-sizing: border-box;
}

.streamer-links .btn-link,
.streamer-detail-links .btn-link {
  border: 2px solid;
  min-height: 44px;
}

.streamer-links .btn-link-youtube,
.streamer-detail-links .btn-link-youtube {
  background: #e62117;
  color: #fff;
  border-color: #ff6b60 #9a1810 #9a1810 #ff6b60;
  box-shadow: var(--shadow-inset), 0 3px 0 #9a1810;
}

.streamer-links .btn-link-youtube:hover,
.streamer-detail-links .btn-link-youtube:hover {
  color: #fff;
  background: #ff2a2a;
  box-shadow: var(--shadow-inset), 0 4px 14px rgba(230, 33, 23, 0.45);
}

.streamer-links .btn-link-twitch,
.streamer-detail-links .btn-link-twitch {
  background: #9146ff;
  color: #fff;
  border-color: #b794ff #5c2eb8 #5c2eb8 #b794ff;
  box-shadow: var(--shadow-inset), 0 3px 0 #5c2eb8;
}

.streamer-links .btn-link-twitch:hover,
.streamer-detail-links .btn-link-twitch:hover {
  color: #fff;
  background: #a970ff;
  box-shadow: var(--shadow-inset), 0 4px 14px rgba(145, 70, 255, 0.45);
}

.streamer-links .btn-link-x,
.streamer-detail-links .btn-link-x {
  background: #0f0f0f;
  color: #f5f5f5;
  border-color: #3d3d3d #000 #000 #3d3d3d;
  box-shadow: var(--shadow-inset), 0 3px 0 #000;
}

.streamer-links .btn-link-x:hover,
.streamer-detail-links .btn-link-x:hover {
  color: #fff;
  background: #262626;
  box-shadow: var(--shadow-inset), 0 4px 14px rgba(0, 0, 0, 0.5);
}

.streamer-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  grid-column: 1 / -1;
  box-shadow: var(--shadow-inset);
}

/* ===== src/css/33-note-footer.css ===== */
.site-footer {
  padding: var(--space-l) 0;
  border-top: 3px solid;
  border-color: var(--bevel-lo) var(--bevel-hi) var(--bevel-hi) var(--bevel-lo);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
}

.site-footer a {
  margin: 0 0.5rem;
}

/* ===== src/css/34-news.css ===== */
/* 更新情報一覧・記事 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 3px solid;
  border-color: var(--bevel);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow-inset), var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.news-item:hover {
  border-color: var(--grass-700) var(--bevel-lo) var(--bevel-lo) var(--grass-700);
  transform: translateY(-2px);
}

.news-item-date {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.news-item-title {
  margin: 0 0 0.4rem;
}

.news-item-excerpt {
  margin: 0;
  color: var(--text-muted);
}

.news-latest {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-article-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.news-article-body p {
  margin: 1rem 0;
}

/* ===== src/css/90-responsive.css ===== */
/* 横向きスマホ（低い高さ）ではヒーローの縦余白を圧縮する */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    padding: var(--space-l) 0;
  }

  .hero-heading {
    font-size: clamp(1.5rem, 1rem + 3vw, 2.25rem);
  }
}
