/* あうん 共通スタイル（システムフォントのみ・外部読み込みなし） */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --text: #222222;
  --muted: #666666;
  --border: #e5e5e5;
  /* 指示書の #D9465F は白文字とのコントラストが 4.21:1 で基準(4.5:1)未満のため、少し暗くした（5.27:1） */
  --accent: #C4364F;
  --accent-weak: #FCECEF;
  --on-accent: #ffffff;
  --ok: #1f7a4d;
  --ok-weak: #e7f5ee;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .05);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1c1c1c;
    --surface-2: #232323;
    --text: #EEEEEE;
    --muted: #AAAAAA;
    --border: #333333;
    --accent: #F07A8E;
    --accent-weak: #3a2228;
    --on-accent: #121212;
    --ok: #6fd3a0;
    --ok-weak: #17301f;
    --shadow: 0 1px 3px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; margin-top: 2rem; }
h3 { font-size: 1.1rem; margin-top: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
main { padding: 24px 0 48px; min-height: 60vh; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px; z-index: 100; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* ---------- ヘッダー・フッター ---------- */
#site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.02rem; min-height: 48px; }
.logo-icon .i-a { fill: var(--accent); }
.logo-icon .i-b { fill: var(--accent-weak); stroke: var(--accent); stroke-width: 1.5; }
.gnav { display: flex; gap: 2px; }
.gnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; color: var(--text); text-decoration: none; font-size: .95rem; border-radius: 8px; }
.gnav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.gnav a:hover { background: var(--surface-2); }
#site-footer { border-top: 1px solid var(--border); padding: 24px 0 32px; font-size: .9rem; color: var(--muted); }
.footer-note { font-weight: 700; color: var(--text); }
.footer-links { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { display: inline-block; padding: 8px 0; color: var(--muted); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 20px;
  border-radius: var(--radius); border: 2px solid var(--accent);
  background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  text-align: center; line-height: 1.4;
}
.btn:hover { filter: brightness(1.06); }
.btn-sub { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
/* 緑地に濃い文字（白文字だとコントラスト不足のため）。LINE公式アイコンは使わない */
.btn-line { background: #06C755; border-color: #06C755; color: #06230f; }
.btn-big { min-height: 56px; font-size: 1.1rem; width: 100%; }
.btn.is-disabled, .btn:disabled { background: var(--surface-2); color: var(--muted); border-color: var(--border); cursor: not-allowed; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.btn-row .btn { flex: 1 1 200px; }

/* ---------- カード・汎用 ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.note { background: var(--accent-weak); border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; }
.note p:last-child { margin-bottom: 0; }
.warn { font-size: .9rem; color: var(--muted); border-left: 4px solid var(--accent); padding: 4px 0 4px 10px; margin: 12px 0 0; }
.error { background: var(--accent-weak); color: var(--text); border: 2px solid var(--accent); border-radius: var(--radius); padding: 12px 14px; font-weight: 700; }
.todo { color: var(--muted); font-style: normal; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent-weak); color: var(--accent); }
.pr-label { display: inline-block; font-size: .75rem; font-weight: 700; padding: 0 6px; border: 1px solid var(--muted); color: var(--muted); border-radius: 4px; margin-bottom: 4px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--surface-2); }
.table-wrap { overflow-x: auto; }
dl.faq dt { font-weight: 700; margin-top: 1.2em; }
dl.faq dt::before { content: "Q. "; color: var(--accent); }
dl.faq dd { margin: .3em 0 0; }
ol.legal, ul.legal { padding-left: 1.4em; }
ol.legal li, ul.legal li { margin-bottom: .4em; }

/* ---------- トップ ---------- */
.hero { padding: 16px 0 8px; }
.hero h1 { font-size: 1.55rem; }
.hero .lead { font-size: 1.05rem; color: var(--muted); }
.points { list-style: none; padding: 0; display: grid; gap: 10px; margin: 20px 0; }
.points li { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-weak); border-radius: var(--radius); padding: 12px 14px; }
.points svg { flex: 0 0 28px; width: 28px; height: 28px; }
.points .ic { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.points strong { display: block; }
.games { display: grid; gap: 12px; }
.game-card { display: block; text-decoration: none; color: var(--text); }
.game-card:hover { border-color: var(--accent); }
.game-card h3 { margin: 4px 0 6px; color: var(--accent); font-size: 1.2rem; }
.game-card p { margin: 0; color: var(--muted); }
.stats { display: grid; gap: 10px; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.cite { font-size: .82rem; color: var(--muted); }
@media (min-width: 640px) {
  .points { grid-template-columns: repeat(3, 1fr); }
  .points li { flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- 3ステップ ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.steps li { counter-increment: st; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before { content: counter(st); flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li { flex-direction: column; } }

/* ---------- 料金 ---------- */
.plans { display: grid; gap: 12px; margin: 16px 0; }
.plan h2 { margin: 0 0 4px; font-size: 1.15rem; }
.price { font-size: 1.6rem; font-weight: 800; margin: 4px 0 8px; }
.price small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); line-height: 1.4; }
.plan ul { padding-left: 1.2em; margin: 0; }
.plan.is-main { border: 2px solid var(--accent); }
@media (min-width: 680px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* ---------- ガチャ ---------- */
body.has-dock { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
body.has-dock main { padding-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; padding: 0; border: 0; }
.chips legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.chip { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--border); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-weak); color: var(--accent); font-weight: 700; }
.topic-card { min-height: 220px; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 24px 18px; perspective: 800px; }
.topic-cat { margin-bottom: 10px; }
.topic-text { font-size: 1.45rem; font-weight: 700; line-height: 1.6; margin: 0; }
.topic-card.flip { animation: flip .38s ease-out; }
@keyframes flip { from { transform: rotateY(80deg); opacity: .2; } to { transform: rotateY(0); opacity: 1; } }
.topic-meta { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.dock { position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg); border-top: 1px solid var(--border); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); z-index: 10; }
.dock .wrap { display: flex; gap: 10px; }
.dock .btn { min-height: 56px; }
.dock .btn-back { flex: 0 0 auto; }
.dock .btn-draw { flex: 1 1 auto; font-size: 1.15rem; }

/* ---------- 往復ゲーム ---------- */
.set-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.set-btn { width: 100%; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.set-btn:hover { border-color: var(--accent); }
.set-btn .n { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.progress { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: .9rem; }
.bar { flex: 1; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); }
.q-text { font-size: 1.4rem; font-weight: 700; margin: 8px 0 16px; }
.choices { display: grid; gap: 10px; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choice { min-height: 56px; padding: 12px 14px; border-radius: var(--radius); border: 2px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 1.05rem; cursor: pointer; text-align: left; }
.choices.two .choice { text-align: center; min-height: 72px; font-weight: 700; }
.choice:hover, .choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-weak); }
.score { text-align: center; padding: 20px 0 8px; }
.score .big { font-size: 2.6rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.result-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.result-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; background: var(--surface); }
.result-item.same { border-color: var(--ok); background: var(--ok-weak); }
.result-item .rq { font-weight: 700; margin-bottom: 6px; }
.result-item .ra { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .95rem; }
.result-item .who { color: var(--muted); }
.result-item .tag { font-size: .8rem; font-weight: 700; }
.result-item.same .tag { color: var(--ok); }
.talk { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- 共有 ---------- */
.share { margin: 16px 0; }
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btns .btn { flex: 1 1 160px; }
.share-status { min-height: 1.5em; margin: 8px 0 0; font-size: .9rem; color: var(--ok); }
.share-fallback label { display: block; font-size: .9rem; margin: 8px 0 4px; }
.share-fallback textarea { width: 100%; font: inherit; font-size: .85rem; padding: 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }

/* ---------- データ確認ページ ---------- */
.check-table td:first-child { white-space: nowrap; font-family: ui-monospace, monospace; font-size: .8rem; }

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

/* ---------- ご意見・不具合の報告欄 ---------- */
.feedback { background: var(--surface-2); border-top: 1px solid var(--border); padding: 20px 0; margin-top: 32px; }
.feedback-title { font-weight: 700; margin: 0 0 4px; }
.feedback-text { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.feedback .btn { min-height: 44px; }

/* ==========================================================
   デザイン刷新（2026-10）：あたたかい背景・狛犬・ゲームごとの色
   ========================================================== */
:root { --bg: #FFF8F4; --surface: #ffffff; --surface-2: #FFF1EA; --border: #F0E2DA;
  --c-issho: #A3520E; --c-issho-w: #FFEEDC; --c-gacha: #7B52B8; --c-gacha-w: #F1E9FB;
  --c-match: #C4364F; --c-match-w: #FCE6EA; --c-dotchi: #1A7063; --c-dotchi-w: #DFF3EF;
  --hero-1: #FFE1E7; --hero-2: #FFF0DD; --radius: 16px; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #151213; --surface: #1f1b1c; --surface-2: #2a2324; --border: #3a3132;
    --c-issho: #F5A35A; --c-issho-w: #3a2a1a; --c-gacha: #B897EA; --c-gacha-w: #2c2338;
    --c-match: #F07A8E; --c-match-w: #3a2228; --c-dotchi: #63CDBB; --c-dotchi-w: #17302b;
    --hero-1: #3a2228; --hero-2: #33281c; }
}
#site-header { background: var(--surface); }
main h2 { display: flex; align-items: center; gap: 8px; margin-top: 2em; }
main h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--accent); flex: 0 0 auto; }

/* トップのヒーロー */
.hero { margin-top: 16px; padding: 20px 18px 6px; border-radius: 24px; background: linear-gradient(140deg, var(--hero-1), var(--hero-2)); }
.hero-koma { display: flex; justify-content: center; gap: 2px; margin: 0 0 6px; }
.hero-koma svg { display: block; }
.hero .badge { background: var(--surface); }
.hero h1 { font-size: 1.6rem; line-height: 1.45; }
.hero .lead { color: var(--text); opacity: .8; }
.points li { background: var(--surface); border: 1px solid var(--border); }

/* ゲームカード */
.gc { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); transition: transform .12s ease, box-shadow .12s ease; }
.gc:hover { transform: translateY(-2px); border-color: var(--border); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.gc-ic { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.gc-ic svg { width: 30px; height: 30px; }
.gc-ic .ic { fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gc-body { flex: 1 1 auto; min-width: 0; }
.gc-go { flex: 0 0 auto; font-size: 1.8rem; line-height: 1; color: var(--muted); }
.game-card.gc h3 { color: var(--text); }
.gc-issho .gc-ic { background: var(--c-issho-w); } .gc-issho .ic { stroke: var(--c-issho); } .gc-issho .badge { background: var(--c-issho-w); color: var(--c-issho); }
.gc-gacha .gc-ic { background: var(--c-gacha-w); } .gc-gacha .ic { stroke: var(--c-gacha); } .gc-gacha .badge { background: var(--c-gacha-w); color: var(--c-gacha); }
.gc-match .gc-ic { background: var(--c-match-w); } .gc-match .ic { stroke: var(--c-match); } .gc-match .badge { background: var(--c-match-w); color: var(--c-match); }
.gc-dotchi .gc-ic { background: var(--c-dotchi-w); } .gc-dotchi .ic { stroke: var(--c-dotchi); } .gc-dotchi .badge { background: var(--c-dotchi-w); color: var(--c-dotchi); }
@media (min-width: 640px) { .games { grid-template-columns: 1fr 1fr; } }

/* ゲームページの見出し */
.page-head { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; padding: 14px 14px; border-radius: 20px; }
.page-head h1 { margin: 0; font-size: 1.45rem; flex: 1 1 auto; }
.page-head .gc-ic { background: var(--surface); }
.ph-koma { display: flex; flex: 0 0 auto; }
.ph-koma svg { display: block; }
.page-head.gc-match { background: var(--c-match-w); } .page-head.gc-dotchi { background: var(--c-dotchi-w); } .page-head.gc-gacha { background: var(--c-gacha-w); }
@media (max-width: 380px) { .ph-koma svg + svg { display: none; } }

/* セット選び・回答 */
.set-btn { border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; }
.set-btn .n { font-weight: 400; background: var(--surface-2); padding: 2px 10px; border-radius: 999px; }
@media (min-width: 560px) { .set-list { grid-template-columns: 1fr 1fr; } }
.choice { border-radius: 14px; box-shadow: var(--shadow); }
.score .big { font-size: 3rem; }
.topic-card { border: 2px solid var(--c-gacha-w); background: linear-gradient(180deg, var(--surface), var(--c-gacha-w)); }
.topic-card .badge { background: var(--c-gacha-w); color: var(--c-gacha); }
.chip[aria-pressed="true"] { border-color: var(--c-gacha); background: var(--c-gacha-w); color: var(--c-gacha); }
.dock .btn-draw { background: var(--c-gacha); border-color: var(--c-gacha); color: #fff; }
.feedback { background: var(--surface); }

/* デザイン刷新・微調整 */
.page-head h1 { font-size: 1.3rem; }
.ph-koma svg { width: 44px; height: 44px; }
@media (min-width: 640px) { .page-head h1 { font-size: 1.6rem; } .ph-koma svg { width: 56px; height: 56px; } }
.issho-card h3 { color: var(--c-issho); }
.issho-card .badge { background: var(--c-issho-w); color: var(--c-issho); }
@media (prefers-color-scheme: dark) { .dock .btn-draw { color: #151213; } }

/* ==========================================================
   Genspark版デザイン（2026-10-13）：丸ゴシック・クリームの水玉・ぽってりボタン
   ========================================================== */
:root { --bg: #FFF9EE; --surface: #FFFFFF; --surface-2: #FFF3E0; --border: #F4E6CE; --text: #40332E; --muted: #6E5A50;
  --cta: #C9620F; --cta-shadow: #9E4A08; --radius: 20px; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #17130f; --surface: #221c17; --surface-2: #2c241d; --border: #3b3128; --text: #F3EAE2; --muted: #C4B3A6; --cta: #F29A46; --cta-shadow: #A85A16; }
}
body { font-family: "M PLUS Rounded 1c", system-ui, -apple-system, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background-color: var(--bg); background-image: radial-gradient(var(--border) 1.6px, transparent 1.6px); background-size: 26px 26px; }
#site-header { background: var(--surface); border-bottom: 2px solid var(--border); position: sticky; top: 0; z-index: 30; }
.logo { gap: 4px; font-size: 1.3rem; font-weight: 800; letter-spacing: 1px; }
.logo-koma { display: inline-flex; width: 30px; height: 30px; }
.logo-koma svg { width: 30px; height: 30px; display: block; }
.gnav { gap: 6px; }
.gnav a { background: var(--surface-2); border-radius: 999px; min-height: 40px; padding: 0 14px; font-weight: 800; font-size: .9rem; color: var(--muted); }
.gnav a[aria-current="page"] { background: var(--accent-weak); color: var(--accent); }
@media (max-width: 400px) { .gnav a { padding: 0 10px; font-size: .85rem; } .logo { font-size: 1.15rem; } .logo-koma, .logo-koma svg { width: 24px; height: 24px; } }

/* ヒーロー */
.hero { text-align: center; background: linear-gradient(160deg, #FFE9CF, #FFDDBC 70%, #FFD1A8); border-radius: 26px; padding: 22px 18px 18px; }
@media (prefers-color-scheme: dark) { .hero { background: linear-gradient(160deg, #3a2a1d, #33261b); } }
.komarow { display: flex; align-items: center; justify-content: center; gap: 4px; }
.komarow span { display: block; } .komarow svg { display: block; }
.heart { width: 34px; height: 30px; flex: 0 0 auto; } .heart path { fill: #FF8FA8; }
.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 6px 0 12px; }
.badges span { font-size: .85rem; font-weight: 800; border-radius: 999px; padding: 4px 14px; }
.b1 { background: #FFD3DD; color: #8E1F3B; } .b2 { background: #CFEFE2; color: #1F5C48; }
.hero h1 { font-size: 1.4rem; font-weight: 800; line-height: 1.55; }
.hero .lead { font-size: 1rem; color: var(--muted); opacity: 1; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 12px; padding: 0 48px; border-radius: 999px;
  background: var(--cta); color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; text-decoration: none; box-shadow: 0 6px 0 var(--cta-shadow); }
.cta:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--cta-shadow); }
@media (prefers-color-scheme: dark) { .cta { color: #1b120a; } }
.hero-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.points svg { flex: 0 0 46px; width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: #FFE2C2; }
.points li:nth-child(1) .ic { stroke: #8A4300; }
.points li:nth-child(2) svg { background: #D9F1E6; } .points li:nth-child(2) .ic { stroke: #1F5C48; }
.points li:nth-child(3) svg { background: #E9E1FA; } .points li:nth-child(3) .ic { stroke: #4A3E80; }
@media (prefers-color-scheme: dark) { .points svg { background: #3a2a1a; } .points li:nth-child(1) .ic { stroke: #F5B67A; } .points li:nth-child(2) svg { background: #17302b; } .points li:nth-child(2) .ic { stroke: #8FDCC4; } .points li:nth-child(3) svg { background: #2c2338; } .points li:nth-child(3) .ic { stroke: #C9B5F0; } }

/* 特長・カード */
.points li { background: var(--surface); border: 2px solid var(--border); border-radius: 20px; align-items: center; }
.card, .gc, .set-btn, .choice, .result-item { border-width: 2px; border-color: var(--border); border-radius: 20px; box-shadow: none; }
main h2::before { width: 10px; height: 10px; border-radius: 50%; background: #FFA53C; }
main h2 small { font-size: .8rem; font-weight: 700; color: var(--muted); }

/* ゲームカードの色ラベル */
.gc-lb { flex: 0 0 64px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: .9rem; line-height: 1.2; }
.gc-issho .gc-lb { background: #FFE2C2; color: #8A4300; }
.gc-gacha .gc-lb { background: #E9E1FA; color: #4A3E80; }
.gc-match .gc-lb { background: #FCE0E6; color: #9E2440; }
.gc-dotchi .gc-lb { background: #D9F1E6; color: #1F5C48; }
@media (prefers-color-scheme: dark) {
  .gc-issho .gc-lb { background: #3a2a1a; color: #F5B67A; } .gc-gacha .gc-lb { background: #2c2338; color: #C9B5F0; }
  .gc-match .gc-lb { background: #3a2228; color: #F4A1B1; } .gc-dotchi .gc-lb { background: #17302b; color: #8FDCC4; }
}

/* ゲームページの見出し帯 */
.page-head { border-radius: 0 0 24px 24px; margin-top: 0; padding: 16px 14px; }
.page-head.gc-dotchi { background: #DFF3EA; } .page-head.gc-gacha { background: #EAE4F9; } .page-head.gc-match { background: #FCE6EA; }
@media (prefers-color-scheme: dark) { .page-head.gc-dotchi { background: #17302b; } .page-head.gc-gacha { background: #2c2338; } .page-head.gc-match { background: #3a2228; } }
.page-head .gc-ic { border-radius: 16px; }

/* ボタンをぽってりに */
.btn:not(.btn-ghost):not(.btn-sub):not(.btn-line) { box-shadow: 0 4px 0 rgba(0,0,0,.18); border-radius: 999px; }
.btn-line { border-radius: 999px; box-shadow: 0 4px 0 #04913f; }
.btn-ghost, .btn-sub { border-radius: 999px; }
.set-btn .n { background: #D9F1E6; color: #1F5C48; font-weight: 800; }
@media (prefers-color-scheme: dark) { .set-btn .n { background: #17302b; color: #8FDCC4; } }
