/* アプリ大百科 */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --ink: #1d2422;
  --ink-2: #4f5a57;
  --muted: #7b8582;
  --line: #dfe4ec;
  --accent: #1a5fd0;
  --accent-ink: #ffffff;
  --accent-soft: #e7effc;
  --star: #f2a516;
  --star-empty: #d3d9e3;
  --good: #1f7a4d;
  --good-soft: #e6f4ec;
  --bad: #b5532f;
  --bad-soft: #fbece5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 28, .05), 0 4px 14px rgba(20, 30, 28, .05);
  color-scheme: light;
}

*, *::before, *::after { 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", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.45; letter-spacing: .01em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-weight: normal; }

/* ── ヘッダー ── */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: .04em; }
.logo__mark { width: 28px; height: 28px; border-radius: 8px; background:
  linear-gradient(var(--accent-ink), var(--accent-ink)) 6px 6px / 7px 7px no-repeat,
  linear-gradient(#f5b83d, #f5b83d) 15px 6px / 7px 7px no-repeat,
  linear-gradient(var(--accent-ink), var(--accent-ink)) 6px 15px / 7px 7px no-repeat,
  linear-gradient(var(--accent-ink), var(--accent-ink)) 15px 15px / 7px 7px no-repeat,
  var(--accent); }
.search { display: flex; flex: 1; min-width: 220px; max-width: 420px; margin-left: auto; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 8px 12px; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: var(--bg); color: var(--ink); }
.search button { font: inherit; font-size: 14px; font-weight: 700; padding: 0 16px; border: 0; border-radius: 0 10px 10px 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.site-nav { display: flex; gap: 4px 18px; overflow-x: auto; white-space: nowrap; padding-bottom: 10px; font-size: 14px; scrollbar-width: none; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--accent); }

.main { padding-top: 16px; padding-bottom: 48px; }

/* ── パンくず ── */
.crumbs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }

/* ── トップ ── */
.hero { background: var(--surface); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); margin-bottom: 28px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(20px, 5.5vw, 34px); }
.hero p { margin: 0 0 16px; color: var(--ink-2); }
.search--hero { max-width: 560px; margin: 0; }
.search--hero input { padding: 12px 14px; font-size: 16px; }
.hero__count { margin: 14px 0 0 !important; font-size: 14px; }

.sec-title { font-size: 20px; margin: 32px 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sec-title__sub { font-size: 13px; color: var(--muted); font-weight: normal; }
.page-title { font-size: clamp(22px, 4vw, 30px); margin: 4px 0 10px; }
.intro { color: var(--ink-2); margin-top: 0; }
.more { text-align: right; margin: 10px 0 0; font-weight: 700; font-size: 14px; }

/* ── カード ── */
.cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; border: 1px solid transparent; position: relative; min-width: 0; }
.card:hover { border-color: var(--accent); }
.card__rank { font-weight: 800; font-size: 18px; min-width: 28px; text-align: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card__icon { width: 64px; height: 64px; border-radius: 22%; flex: none; background: var(--line); object-fit: cover; }
.card__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.card__name { font-weight: 700; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__meta { font-size: 13px; color: var(--ink-2); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card--external { opacity: .85; }
.card__ext { position: absolute; right: 10px; top: 8px; font-size: 11px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-left: 2px; line-height: 1.7; }

/* ── 星 ── */
.stars { position: relative; display: inline-block; width: 5.2em; height: 1em; vertical-align: -0.12em; font-size: 14px;
  background: var(--star-empty);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.7 5.8 6.3.7-4.7 4.3 1.3 6.2L10 14.9 4.4 18l1.3-6.2L1 7.5l6.3-.7z'/%3E%3Cuse href='%23s' x='21'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='63'/%3E%3Cuse href='%23s' x='84'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.7 5.8 6.3.7-4.7 4.3 1.3 6.2L10 14.9 4.4 18l1.3-6.2L1 7.5l6.3-.7z'/%3E%3Cuse href='%23s' x='21'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='63'/%3E%3Cuse href='%23s' x='84'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.stars__fill { position: absolute; inset: 0 auto 0 0; background: var(--star); }
.stars--none { font-size: 12px; color: var(--muted); -webkit-mask: none; mask: none; background: none; width: auto; height: auto; }

/* ── アプリページ ── */
.app { background: var(--surface); border-radius: var(--radius); padding: 22px 18px 28px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .app { padding: 32px 40px 40px; } }
.app-head { display: flex; gap: 18px; align-items: flex-start; }
.app-head__icon { width: 80px; height: 80px; border-radius: 22%; flex: none; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 720px) { .app-head__icon { width: 112px; height: 112px; } }
.app-head__body { min-width: 0; }
.app-head h1 { margin: 0; font-size: clamp(21px, 3.8vw, 28px); }
.app-head__full { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.app-head__meta { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.app-head__rating { margin: 4px 0 10px; font-size: 14px; }
.app-head__rating .stars { font-size: 16px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn--wide { padding: 14px 28px; font-size: 16px; }
.btn--small { padding: 5px 12px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.lead { font-size: 17px; font-weight: 600; margin: 20px 0 0; padding: 14px 16px; background: var(--accent-soft); border-radius: 10px; line-height: 1.7; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.stats dt { font-size: 12px; color: var(--muted); }
.stats dd { margin: 0; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.4; }
.stats small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.stats--admin { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 24px; }

.toc { margin: 24px 0 0; border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; font-size: 14px; }
.toc__title { margin: 0; font-weight: 700; }
.toc ol { margin: 4px 0 0; padding-left: 1.4em; }
.toc a { color: var(--ink-2); }

.app section { margin-top: 36px; }
.app h2 { font-size: 20px; margin: 0 0 12px; padding: 0 0 8px 12px; border-left: 5px solid var(--accent); border-bottom: 1px solid var(--line); }
.app h3 { font-size: 16px; margin: 18px 0 6px; }
.app p { margin: 0 0 12px; }

.checks, .points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.points li { padding: 10px 14px 10px 40px; border-radius: 10px; position: relative; }
.points li::before { position: absolute; left: 14px; top: 10px; font-weight: 800; }
.points--good li { background: var(--good-soft); }
.points--good li::before { content: "＋"; color: var(--good); }
.points--bad li { background: var(--bad-soft); }
.points--bad li::before { content: "−"; color: var(--bad); }

.fit { display: grid; gap: 10px; }
@media (min-width: 720px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__col { border-radius: 10px; padding: 12px 16px; border: 1px solid var(--line); }
.fit__col ul { margin: 0; padding-left: 1.2em; }
.fit__title { font-weight: 800; margin: 0 0 4px !important; }
.fit__col--yes .fit__title { color: var(--good); }
.fit__col--no .fit__title { color: var(--bad); }

.source, .caption, .disclaimer { font-size: 12px; color: var(--muted); line-height: 1.7; }
.disclaimer { margin-top: 32px !important; border-top: 1px solid var(--line); padding-top: 14px; }

.shots { display: flex; gap: 10px; overflow-x: auto; margin-top: 16px; padding-bottom: 6px; }
.shots img { height: 300px; width: auto; border-radius: 12px; border: 1px solid var(--line); flex: none; }

.figure { margin: 0 0 18px; }
.figure figcaption { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.chart { width: 100%; height: auto; display: block; }
.chart-grid { stroke: var(--line); stroke-dasharray: 3 4; }
.chart-axis { stroke: var(--line); }
.chart-label { fill: var(--muted); font-size: 15px; font-family: inherit; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-area { fill: var(--accent); opacity: .1; }
.chart-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }

.versions { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.versions li { padding: 0 0 14px 16px; position: relative; }
.versions li::before { content: ""; position: absolute; left: -6px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.versions__head { margin: 0 !important; }
.versions__notes { font-size: 14px; color: var(--ink-2); margin: 2px 0 0 !important; }

.info { width: 100%; border-collapse: collapse; font-size: 14px; }
.info th, .info td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 32%; color: var(--ink-2); font-weight: 600; white-space: nowrap; }

.faq { margin: 0; display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.faq dt { font-weight: 700; }
.faq dt::before { content: "Q. "; color: var(--accent); }
.faq dd { margin: 4px 0 0; color: var(--ink-2); }
.faq dd::before { content: "A. "; color: var(--bad); font-weight: 700; }

.cta { text-align: center; margin: 32px 0 0 !important; }
.notice { background: var(--bad-soft); border-radius: 10px; padding: 10px 14px; margin: 16px 0 0; }
.notice--ok { background: var(--good-soft); }
.ad { margin: 32px 0 0; text-align: center; }
.ad__label { display: block; font-size: 11px; color: var(--muted); }

/* ── 一覧・タブ ── */
.genres { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.genres a { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.genres a:hover { border-color: var(--accent); }
.genres span { font-size: 12px; color: var(--muted); font-weight: normal; }
.genres--big { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.genres--big a { justify-content: space-between; border-radius: 12px; padding: 12px 16px; }
.tabs { display: flex; gap: 6px; margin: 4px 0 14px; }
.tabs a { padding: 6px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink-2); background: var(--surface); box-shadow: var(--shadow); }
.tabs a[aria-current] { background: var(--accent); color: var(--accent-ink); }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 22px 0 0; font-weight: 700; }

/* ── 文章ページ・フォーム ── */
.prose { background: var(--surface); border-radius: var(--radius); padding: 22px 18px 28px; box-shadow: var(--shadow); max-width: 760px; }
@media (min-width: 720px) { .prose { padding: 32px 40px; } }
.prose h2 { font-size: 18px; margin: 26px 0 8px; }
.form { display: grid; gap: 14px; margin-top: 16px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: normal; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* ── 管理ページ ── */
.admin section { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px; }
.admin h2 { font-size: 17px; margin: 0 0 8px; }
.admin__top { display: flex; justify-content: space-between; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table td, .admin-table th { padding: 7px 6px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.admin-table .copy { width: 100%; min-width: 180px; font: inherit; font-size: 12px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); }
.admin-table .is-done { opacity: .45; }
.admin-table--log td:first-child { white-space: nowrap; }
.log-error td { color: var(--bad); }
.log-warn td { color: #b58a16; }
.admin-box { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; font-size: 14px; }
.admin-box p { margin: 0 0 6px; }
.admin-list { margin: 0; padding-left: 1.2em; font-size: 14px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { font: inherit; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 160px; }

/* ── フッター ── */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 22px 0 28px; font-size: 13px; color: var(--muted); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; }
.site-footer__links a { color: var(--ink-2); text-decoration: none; }
.site-footer__note { margin: 0 0 6px; line-height: 1.7; }
.site-footer__copy { margin: 0; }

/* ── キャラクター「スマ子」：帯の上に文章、右端にスマ子（帯の上にはみ出す） ── */
.smako { --band: #1a5fd0; position: relative; display: flex; align-items: center; min-height: 70px; margin: 40px 0 16px; padding: 12px 118px 12px 16px; background: var(--band); color: #fff; border-radius: 14px; }
.smako__face { position: absolute; right: 0; bottom: 0; margin: 0; line-height: 0; pointer-events: none; }
.smako__face img { height: 84px; width: auto; max-width: none; display: block; }
.smako__face figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.smako__bubble { min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.7; }
.smako__bubble p { margin: 0 !important; }
.smako__bubble p + p { margin-top: 2px !important; }
.smako__label { font-size: 12px; font-weight: 700; opacity: .85; }
.smako--good { --band: #1f7a4d; }
.smako--bad, .smako--warn { --band: #c2552f; }
.smako--lead .lead { background: none; padding: 0; margin: 0; border-radius: 0; font-size: 16px; line-height: 1.6; color: #fff; }
@media (min-width: 720px) {
  .smako { min-height: 96px; margin-top: 56px; padding: 16px 220px 16px 24px; }
  .smako__face img { height: 140px; }
  .smako__bubble { font-size: 16px; }
  .smako--lead .lead { font-size: 17px; }
}

/* ── アイキャッチ ── */
.eyecatch { margin: 20px 0 0; }
.eyecatch img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* ── トップのメインビジュアル ── */
.hero { display: grid; gap: 8px; align-items: center; overflow: hidden; }
.hero__text { min-width: 0; }
.hero__visual { display: block; width: min(82%, 340px); height: auto; margin: 0 auto -8px; order: -1; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr 380px; gap: 24px; padding: 28px 32px; }
  .hero__visual { width: 100%; margin: -10px 0 -24px; order: 0; }
}

/* ── 投票 ── */
.poll { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.poll__q { font-weight: 800; margin: 0 0 10px !important; }
.poll__form { display: flex; flex-wrap: wrap; gap: 8px; }
.poll__form button { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent); cursor: pointer; }
.poll__form button:hover { background: var(--accent); color: var(--accent-ink); }
.poll__results { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.poll__results li { display: grid; grid-template-columns: minmax(7.5em, 34%) 1fr 3.2em; gap: 10px; align-items: center; font-size: 14px; }
.poll__label small { display: block; font-size: 11px; color: var(--accent); font-weight: 700; line-height: 1.3; }
.poll__bar { height: 12px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.poll__bar span { display: block; height: 100%; background: var(--star-empty); border-radius: 999px; }
.poll__results .is-mine .poll__bar span { background: var(--accent); }
.poll__results .is-mine .poll__label { font-weight: 800; }
.poll__pct { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.poll__note { font-size: 12px; color: var(--muted); margin: 8px 0 0 !important; }
.card--pending { cursor: default; }
.card--pending:hover { border-color: transparent; }

/* ── 読者レビュー ── */
.ur-summary { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.ur-summary__avg { display: flex; flex-direction: column; align-items: center; min-width: 96px; }
.ur-summary__avg b { font-size: 34px; line-height: 1.1; }
.ur-summary__avg span { font-size: 12px; color: var(--muted); }
.ur-summary__dist { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 180px; display: grid; gap: 4px; }
.ur-summary__dist li { display: grid; grid-template-columns: 2.4em 1fr 2.4em; gap: 8px; align-items: center; font-size: 13px; }
.ur-summary__dist .poll__bar span { background: var(--star); }
.ur-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.ur-item { border-bottom: 1px solid var(--line); padding: 4px 0 10px; }
.ur-item__head { margin: 0 !important; font-size: 14px; }
.ur-item__body { margin: 4px 0 0 !important; }
.ur-item__report { text-align: right; }
.ur-item__report button { font: inherit; font-size: 11px; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.ur-form { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 18px; }
.ur-form__title { font-weight: 800; margin: 0 !important; }
.star-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.star-input__label { font-size: 14px; font-weight: 600; margin: 0 0 -8px !important; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; color: var(--star-empty); cursor: pointer; font-weight: normal; display: inline; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* 代わりになるアプリ */
.alt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.alt:last-child { border-bottom: 0; }
.alt__icon { flex: 0 0 48px; border-radius: 12px; border: 1px solid var(--line); }
.alt p { margin: 0; line-height: 1.8; }
.alt p a:last-child { display: inline-block; margin-left: .3em; font-size: 13px; }
.alt--origin { background: var(--soft, #f3f7ff); border-radius: 10px; padding: 12px 14px; border: 1px solid var(--line); margin: 12px 0; }
.table-wrap { overflow-x: auto; }
.compare td, .compare th { white-space: nowrap; }
.compare .is-origin td { color: var(--muted); }
.alt-item__label { font-weight: 700; margin: 12px 0 4px; font-size: 14px; }

/* アフィリエイト */
.pr { display: inline-block; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; line-height: 1.6; vertical-align: middle; }
.alt--pr { align-items: flex-start; }
.alt--pr .pr { flex: 0 0 auto; margin-top: 4px; }
.alt--pr__body img { max-width: 100%; height: auto; }
.alt--pr__name { margin: 0 0 6px; font-weight: 700; }
.pr-box { margin: 16px 0; }
.app-head__date { font-size: 12px; margin: 2px 0 4px; }

/* スマ子の全身絵 */
.sec-title.has-chara { align-items: flex-end; flex-wrap: nowrap; gap: 8px; }
.sec-title__text { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-bottom: 4px; }
.chara-mini { width: auto; height: 76px; flex: none; }
.page-hero { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px 0 20px; margin: 4px 0 18px; overflow: hidden; }
.page-hero__text { flex: 1; min-width: 0; padding-bottom: 14px; }
.page-hero__text .page-title { margin: 0 0 6px; }
.page-hero__lead { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.page-hero__chara { width: auto; height: 140px; flex: none; align-self: flex-end; }
@media (max-width: 480px) {
  .page-hero__chara { height: 104px; }
  .chara-mini { height: 52px; }
}
