/* GamePita のデザイン */
:root {
  --bg: #fff8f4;
  --card: #ffffff;
  --ink: #23202b;
  --sub: #6d6878;
  --line: #efe3dc;
  --accent: #ff4f6b;
  --accent2: #ff7a45;
  --blue: #3d6bff;
  --soft: #fff0eb;
  --star: #ffb400;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(80, 40, 30, .08);
  --field: #fffdfc;
  --star-off: #e6dcd6;
  --danger: #d62c3a;
  --danger-bg: #fde8ea;
  --danger-line: #f5c6cb;
  --on-ink: #ffffff;
  --topbar: rgba(255, 248, 244, .92);
  --cover-a: #ffe1d6;
  --cover-b: #ffd0dc;
  color-scheme: light;
}
/* ダークモード（data-theme は theme.js が設定。未設定なら端末の設定に合わせる） */
:root[data-theme="dark"] {
  --bg: #17141c; --card: #221e29; --ink: #f1edf5; --sub: #a9a2b4; --line: #3a3443; --soft: #33232b;
  --field: #1c1922; --star-off: #4a4352; --danger: #ff7b86; --danger-bg: #3d1d23; --danger-line: #6a2c35;
  --on-ink: #17141c; --topbar: rgba(23, 20, 28, .9); --cover-a: #3a2630; --cover-b: #2f2340;
  --shadow: 0 6px 20px rgba(0, 0, 0, .35); --blue: #8aa4ff; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17141c; --card: #221e29; --ink: #f1edf5; --sub: #a9a2b4; --line: #3a3443; --soft: #33232b;
    --field: #1c1922; --star-off: #4a4352; --danger: #ff7b86; --danger-bg: #3d1d23; --danger-line: #6a2c35;
    --on-ink: #17141c; --topbar: rgba(23, 20, 28, .9); --cover-a: #3a2630; --cover-b: #2f2340;
    --shadow: 0 6px 20px rgba(0, 0, 0, .35); --blue: #8aa4ff; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  line-height: 1.7; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--blue); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.small { font-size: .82rem; color: var(--sub); }
.wrap { width: min(1100px, 100% - 32px); margin: 0 auto; flex: 1; padding: 20px 0 48px; }

/* ---------- ヘッダー ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--topbar); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { width: min(1100px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { flex: none; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo-text { font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; }
.logo-text b { color: var(--accent); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-link { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; padding: 6px 10px; border-radius: 10px; }
.nav-link:hover { background: var(--soft); }
.user-btn { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 12px 4px 6px; cursor: pointer; }
.user-btn #userAvatar { font-size: 1.2rem; }
.user-name { font-size: .88rem; font-weight: 700; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--card);
  border-radius: 12px; padding: 9px 16px; font-weight: 700; cursor: pointer; text-decoration: none; color: var(--ink); transition: transform .08s, box-shadow .15s; }
.btn:hover { box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #fff; border: none; }
.btn-sm { padding: 6px 12px; font-size: .88rem; border-radius: 10px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--sub); }
.btn-danger { color: var(--danger); border-color: var(--danger-line); }

/* ---------- トップ ---------- */
.hero { background: linear-gradient(135deg, #ff7a45, #ff4f6b 55%, #c84cff); color: #fff; border-radius: 24px; padding: 34px 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.35; }
.hero p { margin: 0 0 18px; opacity: .95; }
.hero .btn { background: #ffffff; color: var(--accent); border: none; }
.hero .btn + .btn { background: rgba(255, 255, 255, .18); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-deco { position: absolute; right: -10px; bottom: -24px; font-size: 140px; opacity: .18; transform: rotate(-12deg); pointer-events: none; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 12px; }
.search { flex: 1 1 260px; display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.search input { flex: 1; border: none; padding: 10px 14px; outline: none; background: transparent; min-width: 0; }
.search button { border: none; background: transparent; padding: 0 14px; cursor: pointer; }
select { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: var(--card); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 12px; font-size: .86rem; cursor: pointer; color: var(--ink); text-decoration: none; }
.chip.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip.tag { color: var(--blue); }
.filter-note { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--sub); font-size: .9rem; }

/* ---------- カード ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .12s; }
.card:hover { transform: translateY(-3px); }
.cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--cover-a), var(--cover-b)); display: flex; align-items: center; justify-content: center; font-size: 2.6rem; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-game { font-size: .78rem; color: var(--accent); font-weight: 800; }
.card-title { font-weight: 800; font-size: 1.02rem; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.card-ex { font-size: .84rem; color: var(--sub); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--sub); padding-top: 6px; }
.card-meta .who { margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.genre-badge { display: inline-block; font-size: .72rem; background: var(--soft); color: var(--accent); border-radius: 6px; padding: 1px 8px; font-weight: 700; }
.stars { color: var(--star); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--star-off); }
.score { position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--on-ink); border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: .85rem; }
.card-wrap { position: relative; }
.empty { text-align: center; color: var(--sub); padding: 40px 10px; background: var(--card); border-radius: var(--radius); }
.more { display: flex; justify-content: center; margin-top: 18px; }
.section-title { font-size: 1.15rem; margin: 26px 0 10px; }

/* ---------- 記事 ---------- */
.article { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; max-width: 820px; margin: 0 auto; }
.article .cover { aspect-ratio: 21 / 9; font-size: 4rem; }
.article-in { padding: 22px 26px 28px; }
.article h1 { margin: 6px 0 8px; font-size: clamp(1.35rem, 3.5vw, 1.9rem); line-height: 1.4; overflow-wrap: anywhere; }
.article-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--sub); font-size: .88rem; }
.author { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 700; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 18px 0; }
.spec div { background: var(--bg); border-radius: 12px; padding: 8px 12px; }
.spec dt { font-size: .74rem; color: var(--sub); }
.spec dd { margin: 0; font-weight: 700; font-size: .92rem; }
.body { font-size: 1.02rem; overflow-wrap: anywhere; }
.body h2 { font-size: 1.2rem; border-left: 5px solid var(--accent); padding-left: 10px; margin: 26px 0 10px; }
.body p { margin: 0 0 14px; }
.body figure { margin: 16px 0; }
.body figure img { border-radius: 12px; display: block; max-height: 560px; margin: 0 auto; }
.body .yt { position: relative; aspect-ratio: 16 / 9; margin: 16px 0; border-radius: 12px; overflow: hidden; background: #000; }
.body .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.linkcard { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 12px 0; text-decoration: none; color: var(--ink); background: var(--field); }
.linkcard:hover { background: var(--soft); }
.linkcard .lc-icon { font-size: 1.4rem; }
.linkcard .lc-text { min-width: 0; }
.linkcard .lc-host { font-weight: 700; font-size: .92rem; }
.linkcard .lc-url { font-size: .78rem; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
img.broken { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.pita { font-size: 1rem; }
.pita.on { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #fff; border: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.removed-note { background: var(--danger-bg); color: var(--danger); padding: 8px 14px; border-radius: 10px; margin-bottom: 12px; }

.comments { max-width: 820px; margin: 22px auto 0; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 18px 22px; }
.comments h2 { font-size: 1.05rem; margin: 0 0 10px; }
.comment { border-top: 1px solid var(--line); padding: 10px 0; }
.comment:first-of-type { border-top: none; }
.comment-head { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--sub); }
.comment-head .author { font-size: .88rem; }
.comment-head .btn { margin-left: auto; }
.comment-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 4px 0 0; }
.comment-form { display: flex; gap: 8px; margin-top: 12px; align-items: flex-end; }
.comment-form textarea { flex: 1; min-height: 44px; }

/* ---------- フォーム ---------- */
.form { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 24px; max-width: 900px; margin: 0 auto; }
.form h1 { margin: 0 0 14px; font-size: 1.4rem; }
.field { margin-bottom: 16px; }
.field > label, .field > .label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--sub); font-weight: 400; margin-left: 6px; }
input[type=text], input[type=url], input[type=search], textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--field); outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 79, 107, .15); }
textarea { resize: vertical; line-height: 1.7; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; background: var(--card); font-size: .9rem; user-select: none; }
.opt input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 3px solid rgba(255, 79, 107, .4); }
.star-input { display: flex; gap: 2px; font-size: 1.8rem; }
.star-input button { border: none; background: none; cursor: pointer; color: var(--star-off); padding: 0 2px; line-height: 1; }
.star-input button.on { color: var(--star); }
.editor-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.editor { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editor textarea { min-height: 380px; font-size: .95rem; }
.preview { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; min-height: 380px; max-height: 640px; overflow: auto; background: var(--field); }
.preview-label { font-size: .78rem; color: var(--sub); margin-bottom: 4px; }
.count { font-size: .78rem; color: var(--sub); text-align: right; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.err { color: var(--danger); font-weight: 700; font-size: .9rem; }
.cover-preview { margin-top: 8px; max-width: 320px; border-radius: 12px; overflow: hidden; }

/* ---------- 診断 ---------- */
.quiz { max-width: 720px; margin: 0 auto; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 26px; text-align: center; }
.quiz h1 { margin: 0 0 4px; font-size: 1.5rem; }
.progress { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; margin: 14px 0 22px; }
.progress div { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width .25s; }
.q-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.q-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.q-opt { border: 2px solid var(--line); background: var(--card); border-radius: 16px; padding: 14px 12px; cursor: pointer; font-weight: 700; font-size: 1rem; }
.q-opt:hover { border-color: var(--accent); }
.q-opt.on { border-color: var(--accent); background: var(--soft); }
.q-opt .e { display: block; font-size: 1.8rem; }
.q-nav { display: flex; justify-content: space-between; margin-top: 20px; }
.result-head { text-align: center; margin: 10px 0 16px; }

/* ---------- プロフィール・管理 ---------- */
.profile { display: flex; align-items: center; gap: 16px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 18px 22px; margin-bottom: 14px; }
.profile .av { font-size: 3rem; }
.profile h1 { margin: 0; font-size: 1.3rem; overflow-wrap: anywhere; }
.report-item { background: var(--card); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.rules { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 26px; }

/* ---------- モーダル・トースト ---------- */
.modal { position: fixed; inset: 0; background: rgba(30, 20, 30, .45); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: var(--card); border-radius: 18px; padding: 20px 22px; width: min(440px, 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.modal-box h2 { margin: 0 0 10px; font-size: 1.1rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--on-ink); padding: 10px 18px; border-radius: 12px; z-index: 60; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.loading { text-align: center; color: var(--sub); padding: 40px; }

.foot { border-top: 1px solid var(--line); text-align: center; padding: 18px 16px 26px; color: var(--sub); font-size: .9rem; }
.foot p { margin: 4px 0; }

@media (max-width: 720px) {
  .nav-hide-sm { display: none; }
  .nav .lbl { display: none; }
  .nav a, .nav button { white-space: nowrap; }
  #newBtn { padding: 6px 10px; }
  .icon-btn { width: 32px; height: 32px; font-size: .95rem; }
  .nav-link { padding: 6px 4px; font-size: .85rem; }
  .logo-text { font-size: 1.15rem; }
  .nav { gap: 6px; }
  .user-name { display: none; }
  .user-btn { padding: 4px 8px; }
  .row2, .editor { grid-template-columns: 1fr; }
  .editor textarea, .preview { min-height: 240px; }
  .article-in { padding: 18px 16px 22px; }
  .hero { padding: 26px 20px; }
  .form { padding: 18px 16px; }
}

/* ---------- v1.1.0: ページ分け ---------- */
.page-title { font-size: clamp(1.3rem, 3.5vw, 1.7rem); margin: 6px 0 4px; }
.crumbs { font-size: .8rem; color: var(--sub); margin-bottom: 6px; }
.crumbs a { color: var(--sub); }
a.genre-badge { text-decoration: none; }
.foot-links a { color: var(--sub); }
.intro { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin-top: 18px; color: var(--sub); font-size: .92rem; }
.intro h2 { color: var(--ink); font-size: 1.05rem; margin: 0 0 6px; }

/* ---------- v1.2.0 ---------- */
.icon-btn { position: relative; border: 1px solid var(--line); background: var(--card); border-radius: 999px; width: 36px; height: 36px; cursor: pointer; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.bell-n { position: absolute; top: -4px; right: -4px; background: var(--accent); color: #fff; border-radius: 999px; font-size: .68rem; font-weight: 800; min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px; }
.notif { display: block; padding: 10px 4px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; }
.notif:first-child { border-top: none; }
.notif.unread { background: var(--soft); border-radius: 10px; padding: 10px 8px; }
.notif .small { display: block; }
.notif-list { max-height: 60vh; overflow: auto; }

/* 目次・ネタバレ */
.toc { background: var(--bg); border-radius: 12px; padding: 10px 16px; margin: 0 0 18px; font-size: .92rem; }
.toc ol { margin: 6px 0 0; padding-left: 1.4em; }
.toc a { color: var(--ink); }
.body h2 { scroll-margin-top: 76px; }
.spoiler { background: var(--ink); color: transparent; border-radius: 4px; padding: 0 4px; cursor: pointer; transition: background .2s, color .2s; user-select: none; }
.spoiler.open { background: var(--soft); color: inherit; user-select: auto; }
.spoiler strong { color: inherit; }

/* バッジ・ゲーム */
.badges { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.badge { display: inline-block; font-size: .72rem; background: var(--soft); color: var(--ink); border-radius: 999px; padding: 1px 8px; font-weight: 700; white-space: nowrap; }
.game-link { text-decoration: none; color: var(--ink); }
.game-link:hover { text-decoration: underline; }
.marks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 0; }
.marks .label { font-size: .85rem; color: var(--sub); font-weight: 700; }
.mark-btn.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.game-head { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 16px; }
.game-head h1 { margin: 4px 0 8px; font-size: clamp(1.4rem, 4vw, 2rem); overflow-wrap: anywhere; }
.game-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--sub); font-size: .9rem; }
.game-stats b { color: var(--ink); }
.similar { max-width: 820px; margin: 22px auto 0; }
.similar .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.mylist-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.mini { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; text-decoration: none; color: var(--ink); }
.mini .cover { width: 96px; flex: none; border-radius: 10px; font-size: 1.6rem; }
.mini-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }

/* 診断タイプ */
.type-card { background: linear-gradient(135deg, #ff7a45, #ff4f6b 55%, #c84cff); color: #fff; border-radius: 24px; padding: 26px 24px; text-align: center; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.type-card .te { font-size: 4rem; line-height: 1.1; }
.type-card .tl { font-size: .9rem; opacity: .9; }
.type-card h1, .type-card h2 { margin: 4px 0 10px; font-size: clamp(1.4rem, 4.5vw, 2rem); }
.type-card p { margin: 0 auto; max-width: 34em; }
.share { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0 6px; }
.type-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }

@media (max-width: 430px) {
  .nav .lbl2 { display: none; }
  .nav-link { font-size: 1.05rem; padding: 6px 2px; }
  /* 商品紹介タブが増えた分、ヘッダーのすき間を詰める */
  .nav { gap: 3px; }
  .icon-btn { width: 28px; height: 28px; }
  .user-btn { padding: 4px 5px; }
  #newBtn { padding: 6px 8px; }
  .logo { gap: 6px; }
  .logo img { width: 30px; height: 30px; }
  .logo-text { font-size: 1.02rem; }
}

/* ---------- v1.3.0: 運営者情報・お問い合わせ ---------- */
.rules h2 { font-size: 1.1rem; margin: 22px 0 8px; border-left: 5px solid var(--accent); padding-left: 10px; }
.rules ul, .rules ol { padding-left: 1.4em; }
.rules li { margin: 4px 0; }
.info { display: grid; gap: 6px; margin: 8px 0; }
.info div { display: grid; grid-template-columns: 9em 1fr; gap: 10px; background: var(--bg); border-radius: 10px; padding: 8px 12px; }
.info dt { color: var(--sub); font-size: .88rem; }
.info dd { margin: 0; overflow-wrap: anywhere; }
.inq-form { margin-top: 12px; }
.inq { border-top: 1px solid var(--line); padding: 10px 0; }
.inq-reply { background: var(--soft); border-radius: 10px; padding: 8px 12px; margin-top: 6px; }
@media (max-width: 520px) { .info div { grid-template-columns: 1fr; gap: 2px; } }

/* v1.4 商品紹介 */
.cat-badge { background: var(--soft); }
.pr-badge { display: inline-block; font-size: .7rem; font-weight: 800; color: #fff; background: #8a6d00; border-radius: 4px; padding: 1px 6px; vertical-align: middle; }
.pr-note { background: #fff6d6; color: #6b5400; border-radius: 10px; padding: 8px 12px; margin: 8px 0; font-size: .9rem; }
[data-theme=dark] .pr-note { background: #3a3110; color: #f3dc8a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .pr-note { background: #3a3110; color: #f3dc8a; } }
.card-game .price { font-weight: 700; color: var(--accent); margin-left: 4px; }
.goods-cover img { object-fit: contain; background: var(--card); }
.linkcard.shop { border-color: var(--accent); }
.pr-opt { align-items: flex-start; }
.pr-opt span { white-space: normal; }

/* v1.5 リアクション・あとで読む・ほしい・比較・フォロー・ランキング・お題 */
.extras { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.reacts, .extra-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.extras .btn.on, #followBtn.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.follow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.cmp-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 2px solid var(--accent); border-radius: 999px; padding: 6px 8px 6px 14px; box-shadow: var(--shadow); white-space: nowrap; }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 520px; }
.cmp-table th, .cmp-table td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; font-size: .92rem; }
.cmp-table thead th { width: 30%; }
.cmp-table thead th:first-child, .cmp-table tbody th { width: 90px; color: var(--sub); font-weight: 700; }
.cmp-table thead a { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.cmp-table .cover { border-radius: 10px; font-size: 2rem; }
.cmp-table .off { color: var(--star-off); }
.rank-wrap { position: relative; }
.rank-no { position: absolute; z-index: 2; top: 8px; left: 8px; background: var(--card); border-radius: 999px; padding: 2px 10px; font-weight: 800; box-shadow: var(--shadow); }
.theme-banner { background: linear-gradient(135deg, var(--soft), var(--card)); border: 2px solid var(--accent); border-radius: 14px; padding: 12px 14px; margin: 12px 0; display: grid; gap: 6px; }
.tb-label { font-size: .8rem; font-weight: 800; color: var(--accent); }
.tb-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0; }
.mylist-top { margin-bottom: 8px; }
.danger-text { color: var(--danger); }
.cmp-spacer { height: 72px; }
