/* マンガ新刊ポチ — ポチシリーズ共通の見た目（shinhatsubai-pochi の style.css を土台）。アクセントは濃い紫 #5E35B1（make_icons.py の BRAND_COLOR と同じ値）。 */
:root {
  --bg: #f8f6fc; --card: #ffffff; --text: #1f2430; --muted: #5d6677;
  --accent: #5E35B1; --accent-soft: #efe9fa; --on-accent: #ffffff; --line: #ddd6ee;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14111d; --card: #1d1a2a; --text: #e8ecf4; --muted: #a2adc0;
    --accent: #b9a2f0; --accent-soft: #2a2145; --on-accent: #170f30; --line: #3a3254; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; }
a { color: var(--accent); }
.site-header { max-width: 980px; margin: 0 auto; padding: 20px 16px 8px; }
.site-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.site-title a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.site-title img { width: 44px; height: 44px; }
.tagline { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 0.88rem; }
.nav a { text-decoration: none; font-weight: 600; }
main { max-width: 980px; margin: 0 auto; padding: 0 16px 40px; }
h1 { font-size: 1.5rem; line-height: 1.4; margin: 16px 0 6px; }
h2 { font-size: 1.1rem; line-height: 1.4; margin: 26px 0 10px; padding-left: 10px; border-left: 4px solid var(--accent); }
h2 small { margin-left: 10px; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
h2.band { background: var(--accent-soft); border-left: 0; padding: 6px 10px; border-radius: 8px; }
.intro, .note { color: var(--muted); font-size: 0.9rem; }
.crumbs { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.crumbs a { text-decoration: none; }
.empty { color: var(--muted); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { display: flex; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.cover { flex: 0 0 64px; width: 64px; height: auto; align-self: flex-start; border-radius: 4px; background: var(--card); }
.cover-none { height: 90px; display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 0.65rem; color: var(--muted); border: 1px dashed var(--line); line-height: 1.3; }
.card-main { flex: 1; min-width: 0; }
.card h3 { margin: 0 0 2px; font-size: 1rem; line-height: 1.4; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.vol { font-size: 0.78rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 9px; margin-left: 4px; }
.ed { font-size: 0.72rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; margin-left: 4px; color: var(--muted); }
.meta, .meta2, .src { margin: 0; font-size: 0.82rem; color: var(--muted); }
.meta a { color: var(--muted); }
.price { font-weight: 700; color: var(--text); margin-left: 10px; }
.btn { display: inline-block; margin-top: 4px; padding: 3px 14px; border-radius: 999px; background: var(--accent);
  color: var(--on-accent); font-weight: 700; font-size: 0.82rem; text-decoration: none; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.chips a[aria-current], .chips a:hover { border-color: var(--accent); background: var(--accent-soft); }
.site-footer { max-width: 980px; margin: 0 auto; padding: 16px 16px 40px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer p { margin: 4px 0; }
.affil { font-weight: 700; }
/* ナビ: 2グループ＋作品一覧＋検索。375pxでも折り返して横スクロールを出さない */
.nav { display: block; margin-top: 10px; }
.nav-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 4px 0; font-size: 0.88rem; }
.nav-label { font-weight: 700; color: var(--muted); font-size: 0.78rem; background: var(--accent-soft); border-radius: 999px; padding: 0 10px; }
.search { position: relative; display: flex; gap: 6px; margin: 8px 0 0; max-width: 460px; }
.search input { flex: 1; min-width: 0; padding: 6px 10px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); }
.search button { padding: 6px 14px; font: inherit; font-weight: 700; border: 0; border-radius: 8px; background: var(--accent); color: var(--on-accent); cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sr-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; list-style: none; margin: 4px 0 0; padding: 4px 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); max-height: 60vh; overflow-y: auto; }
.sr-list li { padding: 6px 12px; }
.sr-list a { display: block; font-weight: 700; text-decoration: none; }
.sr-list small { display: block; color: var(--muted); font-size: 0.75rem; }
.works { list-style: none; margin: 0; padding: 0; }
.works li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.works .meta { display: block; }
.intro { overflow-wrap: anywhere; }

/* 関連サイト（ポチシリーズ）。折り返すチップ。375px幅でも横スクロールしない */
.site-footer nav.sites { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.site-footer nav.sites .lbl { font-size: 0.75rem; color: var(--muted); }
.site-footer nav.sites a {
  font-size: 0.78rem; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--text); text-decoration: none; overflow-wrap: anywhere;
}
.site-footer nav.sites a:hover { border-color: var(--accent); background: var(--accent-soft); }
.site-footer nav.sites a .lbl { color: var(--muted); }
