/* ヒユウセイ ゲームズ — 色・文字・間隔はヒユウセイ公式サイト(home)にそろえている */
:root {
  color-scheme: dark;
  --bg: #05060b;
  --bg-deep: #03040a;
  --surface: #0a0e18;
  --surface-raised: #121a2b;
  --ink: #e9eefb;
  --ink-strong: #ffffff;
  --ink-dim: #97a3bd;
  --ink-faint: #6b768f;
  --accent: #7cc4ff;
  --accent-soft: #9dd4ff;
  --accent-deep: #2f7fc4;
  --spark: #ffd9a0;
  --violet: #b79bff;
  --line: rgb(255 255 255 / 9%);
  --line-strong: rgb(255 255 255 / 18%);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 18px 48px rgb(0 0 0 / 45%);
  --shadow-glow: 0 0 32px rgb(124 196 255 / 18%);
  --shell: 1180px;
  --shell-narrow: 780px;
  --gutter: 16px;
  --header-h: 64px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic UI', 'Yu Gothic', Meiryo, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --step-0: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.35rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.8vw, 3.9rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 720px) { :root { --gutter: 24px; --header-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.no-scroll, html.no-scroll body { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.75;
  overflow-x: hidden;
}
/* うっすら星空 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgb(255 255 255 / 55%), transparent 60%),
    radial-gradient(1px 1px at 78% 12%, rgb(255 255 255 / 40%), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 42%, rgb(157 212 255 / 45%), transparent 60%),
    radial-gradient(1px 1px at 30% 66%, rgb(255 255 255 / 35%), transparent 60%),
    radial-gradient(1px 1px at 88% 78%, rgb(183 155 255 / 45%), transparent 60%),
    radial-gradient(1px 1px at 46% 88%, rgb(255 255 255 / 30%), transparent 60%),
    radial-gradient(60% 50% at 80% 0%, rgb(47 127 196 / 14%), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgb(183 155 255 / 8%), transparent 70%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: var(--ink-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.3; margin: 0; color: var(--ink-strong); letter-spacing: 0.02em; }
p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
.sp { display: inline; }
@media (min-width: 720px) { .sp { display: none; } }

.shell { width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: calc(var(--shell-narrow) + var(--gutter) * 2); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface-raised); padding: 8px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ ヘッダー・フッター */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(5 6 11 / 72%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-strong); text-decoration: none; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.brand:hover { color: var(--ink-strong); }
.brand-mark { flex: none; filter: drop-shadow(0 0 8px rgb(124 196 255 / 40%)); }
.brand-name { font-size: 1rem; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--ink-dim); text-decoration: none; font-size: var(--step--1); font-weight: 700; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink-strong); background: rgb(255 255 255 / 6%); }
.nav-ext span { margin-left: 2px; opacity: 0.7; }
@media (max-width: 719px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 8px 4px; }
  .site-nav { width: calc(100% + var(--gutter) * 2); margin: 4px calc(var(--gutter) * -1) 0; padding: 0 calc(var(--gutter) - 8px); }
  .site-nav a { padding: 6px 10px; }
}

.site-footer { margin-top: 96px; border-top: 1px solid var(--line); background: var(--bg-deep); padding-block: 48px 32px; color: var(--ink-dim); font-size: var(--step--1); }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.2fr 1fr; } }
.footer-brand p { margin-top: 10px; }
.footer-op a { color: var(--ink-dim); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; align-content: start; }
.footer-links a { color: var(--ink-dim); text-decoration: none; }
.footer-links a:hover { color: var(--ink-strong); }
.copyright { margin-top: 40px; color: var(--ink-faint); }

/* ------------------------------------------------------------ ボタン・タグ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgb(255 255 255 / 4%);
  color: var(--ink-strong); font-weight: 700; font-size: var(--step--1); text-decoration: none;
  cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:hover { background: rgb(255 255 255 / 9%); border-color: rgb(255 255 255 / 30%); color: var(--ink-strong); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn--primary { background: linear-gradient(135deg, #8fd0ff, #b79bff); border-color: transparent; color: #071021; box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: linear-gradient(135deg, #a8dbff, #c7b2ff); color: #071021; }
.btn--sm { min-height: 38px; padding: 6px 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 0.72rem; font-weight: 700; line-height: 1; padding: 6px 9px; border-radius: 999px; background: rgb(124 196 255 / 10%); color: var(--accent-soft); border: 1px solid rgb(124 196 255 / 18%); }
.tags li:first-child { background: rgb(255 217 160 / 10%); color: var(--spark); border-color: rgb(255 217 160 / 22%); }
.tags--lg li { font-size: 0.8rem; padding: 7px 11px; }
.pill { position: absolute; top: 10px; left: 10px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; padding: 5px 9px; border-radius: 999px; line-height: 1; }
.pill--new { background: var(--spark); color: #2a1a00; }
.pill--series { background: rgb(5 6 11 / 78%); color: var(--ink-strong); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); }
.eyebrow { font-size: var(--step--1); font-weight: 800; letter-spacing: 0.24em; color: var(--accent); text-transform: uppercase; }

/* ------------------------------------------------------------ セクション・カード */
.section { margin-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; }
.section-head h2 { font-size: var(--step-2); }
.section-head p { flex-basis: 100%; color: var(--ink-dim); font-size: var(--step--1); }
.section-head .more { margin-left: auto; font-size: var(--step--1); font-weight: 700; text-decoration: none; }
.section-head h2 + .more { order: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-dim); font-size: var(--step--1); font-weight: 700; cursor: pointer; }
.chip:hover { color: var(--ink-strong); }
.chip[aria-pressed='true'] { background: var(--ink-strong); color: var(--bg); border-color: var(--ink-strong); }

.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); gap: 14px; }
.card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 1.5%)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.35s var(--ease-out), border-color 0.25s, box-shadow 0.35s; }
.card a:hover { transform: translateY(-4px); border-color: rgb(124 196 255 / 40%); box-shadow: var(--shadow-soft), var(--shadow-glow); }
.card-media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-raised); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.card a:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-meta { color: var(--ink-faint); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; }
.card-title { font-size: var(--step-1); }
.card-catch { color: var(--ink-dim); font-size: var(--step--1); line-height: 1.6; flex: 1; }
.card .tags { margin-top: 6px; }
.card--compact .card-body { padding: 10px 12px 12px; gap: 4px; }
.card--compact .card-title { font-size: 0.95rem; }
.card--compact .card-meta { font-size: 0.7rem; }
.card--series a { border-color: rgb(183 155 255 / 30%); background: linear-gradient(180deg, rgb(183 155 255 / 9%), rgb(255 255 255 / 2%)); }
.empty { color: var(--ink-dim); padding: 24px 0; }

.recent-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.recent-list li { flex: 0 0 auto; scroll-snap-align: start; }
.recent-list a { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface-raised); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.recent-list img { width: 56px; height: 32px; object-fit: cover; border-radius: 999px; }

/* ------------------------------------------------------------ トップのヒーロー */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 72px 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .hero { padding-block: 120px 96px; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgb(5 6 11 / 72%) 50%, rgb(5 6 11 / 30%)), linear-gradient(0deg, var(--bg), transparent 45%); }
.hero-inner { display: grid; gap: 18px; }
.hero-title { font-size: var(--step-4); line-height: 1.15; background: linear-gradient(180deg, #fff 20%, #b9cdf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--ink-dim); max-width: 34em; }
.hero-pick { display: grid; gap: 12px; justify-items: start; margin-top: 12px; max-width: 520px; }
.hero-pick-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; color: var(--spark); }
.hero-pick-card { display: grid; gap: 4px; text-decoration: none; color: var(--ink); padding: 14px 18px; border-radius: var(--radius); background: rgb(10 14 24 / 70%); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.hero-pick-card strong { font-size: var(--step-1); color: var(--ink-strong); }
.hero-pick-card span { color: var(--ink-dim); font-size: var(--step--1); }

.about-strip { display: grid; gap: 20px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); max-width: calc(var(--shell) - 0px); }
.about-strip h2 { font-size: var(--step-1); margin-bottom: 10px; }
.about-strip p { color: var(--ink-dim); font-size: var(--step--1); margin-top: 6px; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
@media (min-width: 900px) { .about-strip { grid-template-columns: 1fr auto; align-items: center; margin-inline: auto; width: calc(100% - var(--gutter) * 2); } }
@media (max-width: 899px) { .about-strip { margin-inline: var(--gutter); width: auto; } }

/* ------------------------------------------------------------ パンくず・ゲームの見出し */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 20px 0 0; font-size: var(--step--1); color: var(--ink-faint); }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: var(--ink-faint); }
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: var(--ink-strong); }

.game-head { display: grid; gap: 14px; padding-block: 18px 22px; }
@media (min-width: 900px) { .game-head { grid-template-columns: 1fr auto; align-items: end; } }
.game-title { font-size: var(--step-3); }
.game-sub { display: block; margin-top: 6px; font-size: var(--step-1); color: var(--ink-dim); font-weight: 700; }
.game-kana { color: var(--ink-faint); font-size: var(--step--1); margin-top: 4px; }
.game-catch { color: var(--ink-dim); margin-top: 8px; font-size: var(--step-1); }

/* ------------------------------------------------------------ プレイ画面 */
.player-wrap { background: linear-gradient(180deg, transparent, rgb(124 196 255 / 4%) 50%, transparent); }
.player { max-width: 1180px; margin-inline: auto; }
.player-stage { position: relative; width: 100%; max-height: calc(100vh - var(--header-h) - 96px); margin-inline: auto; background: #000; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft); }
@supports (height: 100dvh) { .player-stage { max-height: calc(100dvh - var(--header-h) - 96px); } }
.player-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-poster { position: absolute; inset: 0; }
.player-poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.player-poster::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 55%, rgb(5 6 11 / 20%), rgb(5 6 11 / 75%)); }
.player-start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 16px; text-align: center; }
.play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 12px 30px 12px 22px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #8fd0ff, #b79bff); color: #071021;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem); font-weight: 800; letter-spacing: 0.06em;
  cursor: pointer; box-shadow: 0 10px 40px rgb(124 196 255 / 45%); transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.play-btn:hover { transform: scale(1.05); box-shadow: 0 12px 52px rgb(124 196 255 / 60%); }
.play-icon { width: 36px; height: 36px; border-radius: 50%; background: #071021; position: relative; }
.play-icon::after { content: ''; position: absolute; left: 14px; top: 10px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent #c8e8ff; }
.player-hint { font-size: var(--step--1); color: var(--ink); text-shadow: 0 1px 8px rgb(0 0 0 / 90%); background: rgb(5 6 11 / 55%); padding: 4px 12px; border-radius: 999px; }
.player.is-playing .player-poster, .player.is-playing .player-start { display: none; }
.player-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 2px 0; }
.player-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.player-note { font-size: 0.78rem; color: var(--ink-faint); }
.i-full, .i-restart { width: 14px; height: 14px; display: inline-block; border: 2px solid currentColor; border-radius: 3px; }
.i-full { clip-path: polygon(0 0, 40% 0, 40% 20%, 20% 20%, 20% 40%, 0 40%, 0 60%, 20% 60%, 20% 80%, 40% 80%, 40% 100%, 0 100%, 0 0, 60% 0, 100% 0, 100% 40%, 80% 40%, 80% 20%, 60% 20%, 60% 0, 100% 60%, 100% 100%, 60% 100%, 60% 80%, 80% 80%, 80% 60%); }
.i-restart { border-radius: 50%; border-right-color: transparent; }

/* 全画面(ブラウザの全画面 API) */
.player-stage:fullscreen { max-height: none; width: 100vw; height: 100vh; border: 0; border-radius: 0; aspect-ratio: auto !important; }
.player-stage:-webkit-full-screen { max-height: none; width: 100vw; height: 100vh; border: 0; border-radius: 0; }

/* スマホ: 画面いっぱいに広げて遊ぶ(iPhone は全画面 API がないので、これだけで全画面ふうにする) */
.immersive-close { display: none; }
.player.is-immersive .player-stage {
  position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100vh; max-height: none;
  aspect-ratio: auto !important; border: 0; border-radius: 0; box-shadow: none;
}
@supports (height: 100dvh) { .player.is-immersive .player-stage { height: 100dvh; } }
.player.is-immersive .immersive-close {
  display: grid; place-items: center; position: absolute; z-index: 3;
  top: max(6px, env(safe-area-inset-top)); right: max(6px, env(safe-area-inset-right));
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 30%);
  background: rgb(0 0 0 / 45%); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: 0.7;
}
.rotate-hint { display: none; }
@media (orientation: portrait) {
  .player.is-immersive[data-orientation='landscape']:not(.rotate-ok) .rotate-hint {
    display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center;
    position: absolute; inset: 0; z-index: 2; padding: 24px; background: rgb(5 6 11 / 92%);
  }
}
.rotate-icon { width: 46px; height: 74px; border: 3px solid var(--accent); border-radius: 10px; animation: rotate-hint 2.4s var(--ease-out) infinite; }
@keyframes rotate-hint { 0%, 20% { transform: rotate(0); } 55%, 100% { transform: rotate(-90deg); } }

/* ------------------------------------------------------------ ゲームのページ本文 */
.game-layout { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 980px) { .game-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.prose > * + * { margin-top: 1em; }
.prose section + section, .game-main > section + section { margin-top: 44px; }
.prose h2, .game-main h2 { font-size: var(--step-2); padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose p { color: var(--ink); }
.prose p + p, .game-main p + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--accent); }
.steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding: 12px 16px 12px 52px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 !important; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; background: linear-gradient(135deg, #8fd0ff, #b79bff); color: #071021; }
.features { display: grid; gap: 8px; }
.controls { display: grid; gap: 24px; }
.controls { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.controls h3 { font-size: var(--step-0); margin: 0 0 10px; color: var(--ink-dim); }
.ctl { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.ctl th, .ctl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctl th { font-weight: 400; width: 48%; color: var(--ink-dim); line-height: 2; }
kbd { display: inline-block; min-width: 1.8em; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-strong); border-bottom-width: 3px; background: var(--surface-raised); color: var(--ink-strong); font-family: var(--font-mono); font-size: 0.82em; text-align: center; line-height: 1.6; }
.shots { list-style: none; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.shots li { margin: 0 !important; }
.shots a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.shots a:hover img { transform: scale(1.03); }
.credits { color: var(--ink-dim); font-size: var(--step--1); }

.game-side { display: grid; gap: 24px; align-content: start; }
.info-card { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.info-title { font-size: var(--step-1); margin-bottom: 12px; }
.info { margin: 0; display: grid; gap: 0; font-size: var(--step--1); }
.info div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--ink-faint); }
.info dd { margin: 0; }
.store-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.store-links p { flex-basis: 100%; font-size: 0.78rem; color: var(--ink-faint); }
.info-report { margin-top: 16px; font-size: 0.78rem; color: var(--ink-faint); }

/* ------------------------------------------------------------ シリーズ */
.series-hero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.series-hero .eyebrow { margin-top: 48px; }
.series-hero .game-title { margin-top: 8px; font-size: var(--step-4); }
.series-body { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 980px) { .series-body { grid-template-columns: 1.3fr 1fr; gap: 56px; } }

/* ------------------------------------------------------------ 文章ページ */
.doc-title { font-size: var(--step-3); margin-top: 24px; }
.doc-lead { color: var(--ink-dim); margin-top: 14px; }
.doc .prose { margin-top: 40px; }
.doc-meta { color: var(--ink-faint); font-size: var(--step--1); }
.notfound { text-align: left; padding-top: 32px; }
.notfound .btn { margin-top: 24px; }

/* ------------------------------------------------------------ 応援(寄付) */
.btn--support { background: linear-gradient(135deg, #ffd9a0, #ff9fb4); border-color: transparent; color: #2a1206; box-shadow: 0 0 28px rgb(255 159 180 / 22%); }
.btn--support:hover { background: linear-gradient(135deg, #ffe4b8, #ffb5c6); color: #2a1206; }
.support-card { border-radius: var(--radius-lg); border: 1px solid rgb(255 217 160 / 22%); background: radial-gradient(120% 140% at 0% 0%, rgb(255 217 160 / 10%), transparent 60%), var(--surface); }
.support-card p { color: var(--ink-dim); font-size: var(--step--1); }
.support-eyebrow { font-size: 0.72rem !important; font-weight: 800; letter-spacing: 0.22em; color: var(--spark) !important; }
.support-eyebrow span { letter-spacing: 0; margin-right: 2px; }
.support-title { font-size: var(--step-1); margin: 6px 0 10px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.support-note { margin-top: 10px; font-size: 0.78rem !important; color: var(--ink-faint) !important; }
.support-card--wide { display: grid; gap: 22px; padding: 28px; }
@media (min-width: 900px) { .support-card--wide { grid-template-columns: 1fr auto; align-items: center; } }
.support-card--side { padding: 22px; }
.support-card--side .support-actions { margin-top: 14px; }
.support-card--side .support-actions .btn { width: 100%; }
.support-list { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.support-list li { margin: 0 !important; display: grid; gap: 6px; justify-items: start; }
.support-list p { color: var(--ink-dim); font-size: var(--step--1); }

/* ヘッダーの「応援する」は目立つ色に */
.site-nav a.nav-support { color: var(--spark); background: rgb(255 217 160 / 10%); border: 1px solid rgb(255 217 160 / 28%); }
.site-nav a.nav-support:hover, .site-nav a.nav-support[aria-current] { color: #2a1206; background: linear-gradient(135deg, #ffd9a0, #ff9fb4); border-color: transparent; }
.nav-support span { margin-right: 4px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ghost-support { color: var(--spark); border-color: rgb(255 217 160 / 40%); background: rgb(5 6 11 / 55%); backdrop-filter: blur(6px); }
.btn--ghost-support:hover { color: #2a1206; background: linear-gradient(135deg, #ffd9a0, #ff9fb4); border-color: transparent; }

/* 応援ページのいちばん上 */
.support-hero { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 36px 24px; border-radius: var(--radius-lg); border: 1px solid rgb(255 217 160 / 30%); background: radial-gradient(90% 120% at 50% 0%, rgb(255 159 180 / 14%), transparent 70%), var(--surface); }
.support-hero-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 26px; color: #2a1206; background: linear-gradient(135deg, #ffd9a0, #ff9fb4); box-shadow: 0 0 36px rgb(255 159 180 / 35%); }
.support-hero-title { font-size: var(--step-2); font-weight: 800; color: var(--ink-strong) !important; }
.support-hero-text { color: var(--ink-dim) !important; max-width: 32em; }
.support-hero .support-actions { justify-content: center; margin-top: 6px; }
.support-hero .btn { min-height: 52px; padding: 12px 28px; font-size: var(--step-0); }

/* 画面の下の応援バナー。ゲーム画面とは重ならないように site.js が出し入れする */
.support-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgb(10 14 24 / 92%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgb(255 217 160 / 30%);
  box-shadow: 0 -10px 30px rgb(0 0 0 / 35%);
  transform: translateY(110%); visibility: hidden; transition: transform 0.45s var(--ease-out), visibility 0s 0.45s;
}
.support-bar.is-shown { transform: translateY(0); visibility: visible; transition: transform 0.45s var(--ease-out); }
.support-bar-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-block: 8px; }
.support-bar-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #2a1206; background: linear-gradient(135deg, #ffd9a0, #ff9fb4); font-size: 16px; }
.support-bar-text { flex: 1; min-width: 0; font-size: var(--step--1); line-height: 1.5; color: var(--ink-dim); }
.support-bar-text strong { color: var(--ink-strong); margin-right: 6px; }
.support-bar .btn { flex: none; }
.support-bar-more { flex: none; font-size: var(--step--1); color: var(--ink-dim); }
.support-bar-close { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-dim); font-size: 18px; line-height: 1; cursor: pointer; }
.support-bar-close:hover { color: var(--ink-strong); background: rgb(255 255 255 / 8%); }
body.has-support-bar .site-footer { padding-bottom: 104px; }
.support-bar .sp { display: none; }
@media (max-width: 719px) {
  .support-bar-inner { gap: 8px; min-height: 56px; }
  .support-bar .pc, .support-bar-more { display: none; }
  .support-bar .sp { display: inline; }
  .support-bar .btn { padding-inline: 14px; }
}

/* ------------------------------------------------------------ 広告 */
.ad { margin: 56px auto 0; max-width: calc(var(--shell) + var(--gutter) * 2); padding-inline: var(--gutter); min-height: 120px; }
.game-side .ad { padding: 0; margin-top: 0; }
.ad-label { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--ink-faint); margin-bottom: 6px; }
.ad--placeholder { display: grid; place-content: center; min-height: 250px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-faint); }
/* ゲーム画面のすぐ下には広告を置かない(AdSense: ゲームから 150px 以上はなす) */
.player-wrap + .game-layout { margin-top: max(56px, 0px); }
.player-wrap + .ad { margin-top: 160px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
