/* 妄想漫画広場 / 広場（読む側）
   Claude Design の 妄想漫画広場.dc.html を実装したもの。
   デザイン側はインラインスタイルだったので、値はそのままにクラスへ展開している。 */

:root {
  --navy: #0e1b3d;
  --navy-2: #1a2e5e;
  --yellow: #ffc400;
  --blue: #2e5bff;
  --blue-d: #1637a8;
  --red: #f0264b;
  --ink: #1a1c22;
  --sub: #5a6072;
  --muted: #8a8f9c;
  --on-navy: #8fa0c9;
  --on-navy-2: #b9c4e0;
  --on-navy-3: #c9d6ff;
  --line: #e7eaf2;
  --line-2: #e3e6ee;
  --line-3: #eef0f6;
  --line-4: #d7dce8;
  --bg: #f4f5f9;
  --bg-out: #dde2ec;
  --cream: #fbfaf4;
  --dash: #b9c0d4;
  --tint: #eef2ff;
  --shell: 480px;
  --display: 'Reggae One', 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-out);
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

h1, h2, h3, p, figure { margin: 0; }
img { display: block; }
button { font-family: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(14, 27, 61, 0.18);
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 横スクロール棚。スクロールバーは隠すが、キーボード操作は残す。 */
.hs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hs::-webkit-scrollbar { display: none; }

/* ── ヘッダー ─────────────────────────────── */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(14, 27, 61, 0.4);
}
.head__bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; }
.head__logo {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0; cursor: pointer;
}
.head__mark {
  width: 28px; height: 28px; background: var(--yellow); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 15px; color: var(--navy);
  transform: rotate(-4deg);
}
.head__name { font-family: var(--display); font-size: 18px; color: #fff; letter-spacing: 1px; }
.head__name em { color: var(--yellow); font-style: normal; }
.head__spacer { flex: 1; }
/* ヘッダーの検索欄と「全作品無料」はPC幅だけ。
   スマホは右の⌕から検索画面へ行く（帯にも同じ文言がある） */
.head__search, .head__free { display: none; }
.head__icon {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  font-size: 17px; cursor: pointer; line-height: 1;
}
.head__cta {
  border: none; background: var(--yellow); color: var(--navy);
  font-weight: 900; font-size: 11px; padding: 10px 12px;
  border-radius: 999px; cursor: pointer;
}
.tabs { padding: 0 8px; }
.tabs button {
  flex: 0 0 auto; padding: 10px 13px 9px; font-size: 13px; font-weight: 800;
  cursor: pointer; border: none; background: none;
  color: rgba(255, 255, 255, 0.6); border-bottom: 3px solid transparent;
}
.tabs button[aria-current='page'] { color: var(--yellow); border-bottom-color: var(--yellow); }

/* 1行に収まりきらないと帯が3行になって太る。nowrap で1本の帯に固定する。 */
.promo {
  background: var(--blue); color: #fff; font-size: 10px; font-weight: 700;
  display: flex; gap: 8px; justify-content: center; padding: 7px 8px;
  letter-spacing: 0.2px; white-space: nowrap;
  overflow-x: auto; scrollbar-width: none;
}
.promo::-webkit-scrollbar { display: none; }
.promo span[aria-hidden] { opacity: 0.45; }

/* ── ティッカー ───────────────────────────── */
.ticker {
  overflow: hidden; background: #fff;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 12px;
}
.ticker__run {
  display: flex; gap: 36px; white-space: nowrap; width: max-content;
  animation: ticker 30s linear infinite;
  padding: 7px 0; font-size: 11px; color: var(--sub); font-weight: 500;
}
.ticker b { font-weight: 900; }
.ticker .is-blue { color: var(--blue); }
.ticker .is-red { color: var(--red); }
.ticker .is-navy { color: var(--navy); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__run { animation: none; }
}

/* ── バナー ───────────────────────────────── */
.banners { gap: 10px; padding: 12px 14px 2px; scroll-snap-type: x mandatory; }
.bn {
  flex: 0 0 auto; width: 318px; height: 178px; border-radius: 12px;
  position: relative; overflow: hidden; scroll-snap-align: start;
  border: none; padding: 0; text-align: left; font: inherit; color: inherit;
  background: var(--navy);
}
button.bn { cursor: pointer; }
.bn__body { position: absolute; left: 16px; top: 14px; right: 150px; color: #fff; }
.bn__kicker { font-family: var(--display); color: var(--yellow); font-size: 15px; }
.bn__title { font-size: 17px; font-weight: 900; line-height: 1.3; margin-top: 6px; }
.bn__catch { font-size: 11px; color: var(--on-navy-2); margin-top: 4px; }
.bn__pill {
  display: inline-block; margin-top: 8px; background: var(--yellow); color: var(--navy);
  font-size: 11px; font-weight: 900; padding: 7px 14px; border-radius: 999px;
}
.bn__meta { font-size: 10px; color: #7e8cb0; margin-top: 6px; }
.bn--rank { background: linear-gradient(105deg, #0e1b3d 55%, #1a2e5e); box-shadow: 0 4px 14px rgba(14, 27, 61, 0.25); }
.bn--rank img {
  position: absolute; right: -12px; top: 14px; width: 130px; height: 174px;
  object-fit: cover; border: 3px solid #fff; border-radius: 6px;
  transform: rotate(5deg); box-shadow: -6px 6px 16px rgba(0, 0, 0, 0.4);
}
.bn--post { background: var(--yellow); box-shadow: 0 4px 14px rgba(14, 27, 61, 0.2); }
.bn--post .bn__body { right: 18px; left: 18px; top: 18px; color: var(--navy); }
.bn--post .bn__lead { font-family: var(--display); font-size: 21px; line-height: 1.35; }
.bn--post .bn__sub { font-size: 11.5px; font-weight: 700; margin-top: 8px; }
.bn--post .bn__pill { background: var(--navy); color: var(--yellow); font-size: 11.5px; padding: 8px 16px; margin-top: 10px; }
.bn--post .bn__ring {
  position: absolute; right: -20px; bottom: -30px; width: 120px; height: 120px;
  border: 10px solid rgba(14, 27, 61, 0.12); border-radius: 50%;
}
.bn--hot { background: linear-gradient(105deg, #2e5bff, #1637a8); box-shadow: 0 4px 14px rgba(14, 27, 61, 0.25); }
.bn--hot img {
  position: absolute; right: 14px; top: 16px; width: 110px; height: 146px;
  object-fit: cover; border: 3px solid #fff; border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.bn--hot .bn__body { right: 140px; top: 16px; }
.bn--hot .bn__catch { color: var(--on-navy-3); }
.bn--hot .bn__stat { font-size: 10.5px; color: #fff; font-weight: 700; margin-top: 10px; }
.bn--name { background: var(--cream); border: 2px dashed var(--dash); }
.bn--name .bn__body { left: 18px; right: 18px; top: 16px; color: var(--ink); }
.bn--name .bn__lead { font-family: var(--display); font-size: 19px; margin-top: 8px; }
.bn--name .bn__sub { font-size: 11.5px; color: var(--sub); margin-top: 6px; font-weight: 500; }
.bn--name .bn__link { display: inline-block; margin-top: 8px; color: var(--blue); font-size: 12px; font-weight: 900; }
.bn--name .bn__vert {
  position: absolute; right: 14px; bottom: 12px; writing-mode: vertical-rl;
  font-size: 13px; font-weight: 800; color: var(--dash); line-height: 1.5;
}
.bn--reco { background: linear-gradient(120deg, #1a1c22, #3a3f4e); }
.bn--reco .bn__body { left: 16px; top: 22px; width: 120px; right: auto; }
.bn--reco .bn__lead { font-family: var(--display); font-size: 20px; line-height: 1.4; }
.bn--reco .bn__sub { font-size: 11px; color: #b8bdcb; margin-top: 8px; font-weight: 700; }
.bn--reco .bn__a {
  position: absolute; right: 16px; top: 18px; width: 100px; height: 133px;
  object-fit: cover; border-radius: 6px; opacity: 0.9; filter: grayscale(1);
}
.bn--reco .bn__b {
  position: absolute; right: 96px; top: 30px; width: 100px; height: 133px;
  object-fit: cover; border-radius: 6px; transform: rotate(-6deg);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}
.bn--free { background: #fff; border: 2px solid var(--blue); }
.bn--free .bn__body { left: 18px; right: 18px; top: 18px; color: var(--ink); }
.bn--free .bn__l1 { font-family: var(--display); font-size: 22px; color: var(--red); }
.bn--free .bn__l2 { font-family: var(--display); font-size: 22px; color: var(--navy); margin-top: 2px; }
.bn--free .bn__sub { font-size: 11.5px; color: var(--sub); margin-top: 8px; font-weight: 500; }
.bn--free .bn__note { font-size: 10px; color: var(--muted); margin-top: 10px; }

/* ── チップ ───────────────────────────────── */
.chips { gap: 8px; padding: 12px 14px 10px; }
.chip {
  flex: 0 0 auto; padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--line-4); background: #fff; color: var(--navy);
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.chip[aria-pressed='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }

.seg { display: flex; background: #e3e7f1; border-radius: 10px; padding: 3px; }
.seg button {
  flex: 1; border: none; border-radius: 8px; padding: 9px 0;
  font-size: 12px; font-weight: 900; cursor: pointer;
  background: none; color: var(--sub);
}
.seg button[aria-pressed='true'] { background: var(--navy); color: #fff; }

/* ── セクション見出し ─────────────────────── */
.sec {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; margin: 22px 0 10px;
}
.sec__l { display: flex; align-items: center; gap: 8px; }
.sec__rule { width: 5px; height: 20px; border-radius: 2px; background: var(--yellow); }
.sec__rule--blue { background: var(--blue); }
.sec__rule--navy { background: var(--navy); }
.sec__rule--red { background: var(--red); }
.sec h2 { font-family: var(--display); font-size: 18px; color: var(--navy); font-weight: 400; }
.sec__tag { font-size: 10px; color: var(--muted); }
.sec__hot { font-size: 10px; color: var(--red); font-weight: 900; }
.sec__more {
  border: none; background: none; color: var(--blue);
  font-size: 12px; font-weight: 800; cursor: pointer; padding: 8px 0;
}
.lead { padding: 0 14px; font-size: 10.5px; color: var(--muted); margin-bottom: 10px; }
.lead b { color: var(--red); }

/* ── 作品カード ───────────────────────────── */
.row { gap: 10px; padding: 0 14px 4px; }
.card {
  width: 132px; flex: 0 0 auto; cursor: pointer;
  background: none; border: none; padding: 0; text-align: left; font: inherit; color: inherit;
}
.card__shot {
  /* <span> なので既定は inline。inline のままだと中のバッジ（absolute）の
     包含ブロックがインラインボックス基準になって潰れ、「急上昇」が縦積みになる。 */
  display: block;
  position: relative; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line-2); background: #fff;
  box-shadow: 0 2px 8px rgba(14, 27, 61, 0.1);
}
.card__shot img { width: 100%; height: 176px; object-fit: cover; }
.card__over {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(14, 27, 61, 0.8));
  padding: 16px 7px 5px; color: #fff; font-size: 10px; font-weight: 800;
}
.card__title {
  font-size: 12.5px; font-weight: 800; line-height: 1.35; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__catch {
  font-size: 10.5px; color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card__meta { font-size: 10px; color: var(--blue); font-weight: 700; margin-top: 3px; }
.card__sub { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* カードや一覧の行は <span> で書いてある。inline のままだと
   あらすじ・メタ・作者が1行に流れてしまい、margin-top も ellipsis も効かない。
   スマホ幅では偶然折り返って積まれて見えていたが、幅が広がると崩れる。
   「1項目1行」を幅に頼らず指定する。 */
/* グリッドの子は既定で min-width:auto ＝ 中身より狭くならない。
   あらすじが white-space:nowrap なので、これがあると
   列が 1fr を無視して本文の長さまで広がり、画面から溢れる。 */
.row > *, .rank-row > *, .grid > *, .digs > *, .list > * { min-width: 0; }

.card__catch, .card__meta, .card__sub,
.list__title, .list__catch, .list__meta, .list__sub,
.reco-card__meta, .name-card__meta, .name-card__author,
.dig__title, .dig__syn, .dig__meta,
.bn__kicker, .bn__title, .bn__catch, .bn__meta,
.bn__lead, .bn__sub, .bn__stat, .bn__l1, .bn__l2, .bn__note { display: block; }
/* .bn__pill と .bn__link は丸ボタン／リンクなので inline-block のまま。
   上が block になったぶん、自然に次の行から始まる。 */

/* ランキング上位（順位を大きく出す） */
.rank-row { gap: 14px; padding: 0 14px 4px; align-items: flex-start; }
.rcard { width: 158px; }
.rcard__head { display: flex; align-items: flex-end; gap: 2px; }
.rcard__head .card__shot { flex: 1; }
.rcard__head .card__shot img { height: 150px; }
.no {
  font-family: var(--display); line-height: 1; flex: 0 0 auto;
  min-width: 34px; text-align: center; font-size: 30px; color: #c6ccda;
}
.no--1 { font-size: 38px; color: var(--yellow); -webkit-text-stroke: 1px var(--navy); }
.no--2 { font-size: 38px; color: #9aa3b8; }
.no--3 { font-size: 38px; color: #c9822e; }

/* バッジ */
.badge {
  position: absolute; top: 6px; left: 6px; font-size: 10px; font-weight: 900;
  padding: 2px 7px; border-radius: 3px; letter-spacing: 0.5px; line-height: 1.5;
  background: rgba(255, 255, 255, 0.95); color: var(--blue); border: 1px solid var(--blue);
}
.badge--chip { position: static; display: inline-block; padding: 2px 8px; border: none; }
.badge--new { background: var(--red); color: #fff; border: none; }
.badge--hot { background: var(--yellow); color: var(--navy); border: none; }
.badge--top { background: var(--navy); color: var(--yellow); border: none; }
.badge--first { background: var(--blue); color: #fff; border: none; }

/* おすすめ（横） */
.reco-block {
  margin: 22px 14px 0; background: var(--navy); border-radius: 14px;
  padding: 16px 14px 14px; position: relative; overflow: hidden;
}
.reco-block__ring {
  position: absolute; right: -30px; top: -30px; width: 130px; height: 130px;
  border: 12px solid rgba(255, 196, 0, 0.12); border-radius: 50%;
}
.reco-block .sec { padding: 0; margin: 0; }
.reco-block .sec h2 { color: #fff; }
.reco-block .sec__more { color: var(--yellow); }
.reco-block__note { font-size: 10.5px; color: var(--on-navy); margin: 2px 0 10px; }
.reco-block .row { margin: 0 -14px; padding: 0 14px 2px; }
.reco-card {
  width: 256px; flex: 0 0 auto; cursor: pointer; background: #fff;
  border-radius: 10px; padding: 10px; display: flex; gap: 10px;
  border: none; text-align: left; font: inherit; color: inherit;
}
.reco-card img {
  width: 82px; height: 110px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--line-2); flex: 0 0 auto;
}
.reco-card__body { min-width: 0; }
.reco-card__title {
  font-size: 13px; font-weight: 900; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reco-card__meta { font-size: 10px; color: var(--blue); font-weight: 700; margin-top: 2px; }
.cmt {
  margin-top: 6px; background: var(--tint); border-radius: 8px; padding: 6px 8px;
  font-size: 10.5px; color: var(--navy-2); line-height: 1.5; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ネームカード（絵がないのでタイポで見せる） */
/* タイトルの行数がカードごとに違うので、ボタンは下端で揃える。 */
.name-card {
  width: 176px; flex: 0 0 auto; background: var(--cream);
  border: 1.5px dashed var(--dash); border-radius: 10px;
  padding: 12px 10px 10px; position: relative;
  display: flex; flex-direction: column;
}
.name-card .want { margin-top: auto; }
.name-card__title + .name-card__meta { margin-top: 3px; }
.name-card__tag {
  position: absolute; top: 0; right: 10px; background: var(--navy); color: var(--yellow);
  font-size: 9px; font-weight: 900; padding: 3px 8px;
  border-radius: 0 0 6px 6px; letter-spacing: 1px;
}
.name-card__quote { height: 96px; display: flex; justify-content: center; align-items: center; }
.name-card__quote span {
  writing-mode: vertical-rl; font-size: 14px; font-weight: 800;
  line-height: 1.7; max-height: 96px; overflow: hidden;
}
.name-card__title {
  font-size: 12.5px; font-weight: 900; line-height: 1.35; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.name-card__meta { font-size: 10px; color: var(--muted); margin-top: 3px; }
.name-card__author { font-size: 10px; color: var(--blue); font-weight: 700; margin-top: 2px; }
.want {
  margin-top: 10px; width: 100%; padding: 10px 0; border-radius: 999px;
  font-size: 11.5px; font-weight: 900; cursor: pointer;
  border: 1.5px solid var(--blue); background: #fff; color: var(--blue);
}
.want[aria-pressed='true'] { background: var(--blue); color: #fff; }
.want--inline { margin-top: 0; width: auto; padding: 10px 14px; flex: 0 0 auto; }

/* 発掘枠 */
.digs { display: flex; flex-direction: column; gap: 8px; padding: 0 14px; }
.dig {
  display: flex; gap: 10px; background: #fff; border-radius: 10px; padding: 10px;
  cursor: pointer; border: 1px solid var(--line); text-align: left; font: inherit; color: inherit;
}
.dig img {
  width: 64px; height: 85px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--line-2); flex: 0 0 auto;
}
.dig__body { min-width: 0; flex: 1; }
.dig__top { display: flex; gap: 6px; align-items: center; }
.dig__rate {
  background: #fff3d6; color: #8a6400; font-size: 10px; font-weight: 900;
  padding: 2px 7px; border-radius: 3px;
}
.dig__reads { font-size: 10px; color: var(--muted); }
.dig__title { font-size: 13.5px; font-weight: 900; margin-top: 4px; line-height: 1.3; }
.dig__syn {
  font-size: 11px; color: var(--muted); margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dig__meta { font-size: 10px; color: var(--blue); font-weight: 700; margin-top: 3px; }

/* CTA / フッター */
.cta {
  margin: 26px 14px 0; background: var(--navy); border-radius: 16px;
  padding: 24px 18px; text-align: center; position: relative; overflow: hidden;
}
.cta__ring {
  position: absolute; left: -24px; bottom: -24px; width: 110px; height: 110px;
  border: 10px solid rgba(46, 91, 255, 0.25); border-radius: 50%;
}
.cta__lead { font-family: var(--display); font-size: 22px; color: #fff; line-height: 1.5; }
.cta__lead em { color: var(--yellow); font-style: normal; }
.cta__sub { font-size: 11.5px; color: var(--on-navy); margin-top: 8px; line-height: 1.7; }
.cta__btn {
  margin-top: 14px; border: none; background: var(--yellow); color: var(--navy);
  font-weight: 900; font-size: 13px; padding: 13px 26px; border-radius: 999px; cursor: pointer;
}
.foot { padding: 24px 14px 30px; text-align: center; }
.foot__name { font-family: var(--display); font-size: 13px; color: var(--muted); }
.foot__links {
  display: flex; gap: 14px; justify-content: center; margin-top: 8px;
  font-size: 10.5px; color: var(--muted); flex-wrap: wrap;
}

/* ── 一覧系スクリーン ─────────────────────── */
.screen { padding-bottom: 30px; }
.screen__head { padding: 16px 14px 0; }
.screen__head h2 { font-family: var(--display); font-size: 20px; color: var(--navy); font-weight: 400; }
.screen__head p { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.list { background: #fff; }
.list__item {
  display: flex; gap: 12px; padding: 12px 14px; width: 100%;
  border: none; border-bottom: 1px solid var(--line-3); cursor: pointer;
  background: #fff; text-align: left; font: inherit; color: inherit;
}
.list__item img {
  width: 76px; height: 101px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--line-2); flex: 0 0 auto;
}
.list__body { min-width: 0; flex: 1; }
.list__top { display: flex; gap: 6px; align-items: center; }
.time-chip {
  background: var(--tint); color: var(--blue); font-size: 10px; font-weight: 900;
  padding: 2px 8px; border-radius: 999px;
}
.list__title { font-size: 14px; font-weight: 900; margin-top: 5px; line-height: 1.3; }
.list__catch {
  font-size: 11px; color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list__meta { font-size: 10.5px; color: var(--blue); font-weight: 700; margin-top: 4px; }
.list__sub { font-size: 10px; color: var(--muted); margin-top: 2px; }
.list__item--rank { align-items: center; gap: 10px; }
.list__item--rank img { width: 64px; height: 85px; }

.name-intro {
  margin: 14px; background: var(--cream); border: 1.5px dashed var(--dash);
  border-radius: 12px; padding: 14px;
}
.name-intro__t { font-family: var(--display); font-size: 18px; color: var(--navy); }
.name-intro p { font-size: 11.5px; color: var(--sub); margin-top: 6px; line-height: 1.7; }
.name-intro b { color: var(--red); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.grid .name-card { width: auto; }
.grid--works { gap: 12px; padding: 10px 14px 0; }
.grid--works .card { width: auto; }
.grid--works .card__shot img { height: 200px; }

.reco-list { display: flex; flex-direction: column; gap: 10px; padding: 10px 14px 0; }
.reco-full {
  display: flex; gap: 12px; background: #fff; border-radius: 12px; padding: 12px;
  cursor: pointer; border: 1px solid var(--line); text-align: left; font: inherit; color: inherit;
}
.reco-full img {
  width: 88px; height: 117px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--line-2); flex: 0 0 auto;
}
.reco-full__title { font-size: 14.5px; font-weight: 900; line-height: 1.3; }
.cmt--full {
  margin-top: 8px; padding: 7px 9px; font-size: 11px; line-height: 1.6;
  position: relative; -webkit-line-clamp: unset; display: block;
}
.cmt--full::before {
  content: ''; position: absolute; top: -5px; left: 14px;
  width: 10px; height: 10px; background: var(--tint); transform: rotate(45deg);
}

.search-box { padding: 14px 14px 0; }
.search-box input {
  width: 100%; border: 1.5px solid var(--line-4); border-radius: 12px;
  padding: 13px 14px; font-size: 13px; font-family: inherit; background: #fff;
}
.search-box input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.result-count { padding: 0 14px; font-size: 11px; color: var(--muted); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* ── 作品ページ ───────────────────────────── */
.hero { background: var(--navy); padding: 10px 14px 18px; }
.back {
  border: none; background: none; color: var(--on-navy);
  font-size: 12px; font-weight: 700; cursor: pointer; padding: 8px 0;
}
.hero__main { display: flex; gap: 14px; margin-top: 6px; }
.hero__shot {
  width: 118px; height: 157px; object-fit: cover; border-radius: 8px;
  border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); flex: 0 0 auto;
}
.hero__body { min-width: 0; color: #fff; }
.hero__body h1 { font-size: 18px; font-weight: 900; line-height: 1.35; margin-top: 6px; }
.hero__catch { font-size: 11.5px; color: var(--on-navy-2); margin-top: 4px; }
.hero__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.hero__tags span {
  background: rgba(255, 255, 255, 0.12); color: var(--on-navy-3);
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.hero__author {
  display: flex; align-items: center; gap: 7px; margin-top: 10px; cursor: pointer;
  background: none; border: none; padding: 0; font: inherit;
}
.avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--yellow);
  color: var(--navy); font-weight: 900; font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.hero__author b { font-size: 12px; color: var(--yellow); }
.hero__author small { font-size: 10px; color: var(--on-navy); }

.stats { display: flex; background: #fff; border-bottom: 1px solid var(--line-3); text-align: center; }
.stats > div { flex: 1; padding: 12px 0; }
.stats__sep { flex: 0 0 1px !important; padding: 0 !important; background: var(--line-3); }
.stats strong { display: block; font-size: 15px; font-weight: 900; color: var(--navy); }
.stats .is-blue { color: var(--blue); }
.stats span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.free-note {
  background: #eaf6ee; color: #1b7a3d; font-size: 11px; font-weight: 800;
  text-align: center; padding: 7px;
}
.read-actions { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.btn-primary {
  border: none; background: var(--blue); color: #fff; font-weight: 900;
  font-size: 14.5px; padding: 15px; border-radius: 12px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(46, 91, 255, 0.35);
}
.btn-ghost {
  border: 1.5px solid var(--blue); background: #fff; color: var(--blue);
  font-weight: 900; font-size: 12.5px; padding: 12px; border-radius: 12px; cursor: pointer;
}
.syn { padding: 0 14px; }
.syn h3 { font-size: 12px; font-weight: 900; color: var(--navy); }
.syn p { font-size: 12px; color: #3a3f4e; line-height: 1.8; margin-top: 6px; }
.rel { width: 120px; }
.rel img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line-2); background: #fff;
}

/* ── 作者ページ ───────────────────────────── */
.author-hero { background: var(--navy); padding: 10px 14px 20px; }
.author-hero__main { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.avatar--lg {
  width: 64px; height: 64px; font-family: var(--display); font-size: 26px; font-weight: 400;
}
.author-hero__name { font-size: 18px; font-weight: 900; color: #fff; }
.author-hero__bio { font-size: 11px; color: var(--on-navy); margin-top: 3px; line-height: 1.6; }
.x-link {
  flex: 0 0 auto; background: #fff; color: var(--navy); font-size: 11px;
  font-weight: 900; padding: 9px 13px; border-radius: 999px;
}
.author-stats {
  display: flex; margin-top: 16px; background: rgba(255, 255, 255, 0.07);
  border-radius: 10px; text-align: center;
}
.author-stats > div { flex: 1; padding: 10px 0; }
.author-stats strong { display: block; font-size: 15px; font-weight: 900; color: #fff; }
.author-stats .is-yellow { color: var(--yellow); }
.author-stats span { display: block; font-size: 9.5px; color: var(--on-navy); }
.name-line {
  background: var(--cream); border: 1.5px dashed var(--dash); border-radius: 10px;
  padding: 12px; display: flex; gap: 12px; align-items: center;
}

/* ── ビューア ─────────────────────────────── */
.viewer {
  position: fixed; inset: 0; z-index: 100; background: #0b0d13;
  display: flex; flex-direction: column;
}
.viewer__bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; flex: 0 0 auto; }
.viewer__close {
  width: 44px; height: 44px; border: none; background: rgba(255, 255, 255, 0.1);
  color: #fff; border-radius: 50%; font-size: 16px; cursor: pointer;
}
.viewer__title {
  min-width: 0; flex: 1; color: #fff; font-size: 12px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.viewer__count {
  color: var(--muted); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.viewer__stage {
  flex: 1; position: relative; display: flex; align-items: center;
  justify-content: center; padding: 10px; min-height: 0;
}
.viewer__stage img {
  max-width: 100%; max-height: 100%; border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
/* 読み順は右→左。画面の左半分が「進む」。 */
.tap-next { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; cursor: pointer; border: none; background: none; }
.tap-prev { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; cursor: pointer; border: none; background: none; }
.hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(14, 27, 61, 0.9); color: #fff; font-size: 11px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; pointer-events: none;
}
.viewer__foot { flex: 0 0 auto; padding: 0 12px 14px; }
.bar { height: 4px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--yellow); transition: width 0.2s; }
.done { text-align: center; padding: 20px; max-width: 300px; }
.done__t { font-family: var(--display); font-size: 30px; color: var(--yellow); }
.done__w { color: #fff; font-size: 14px; font-weight: 900; margin-top: 8px; }
.done__n { color: var(--muted); font-size: 11px; margin-top: 4px; }
.done__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.done__actions .btn-primary { font-size: 13px; padding: 13px; box-shadow: none; }
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.35); background: none; color: #fff;
  font-weight: 900; font-size: 12px; padding: 11px; border-radius: 12px;
  cursor: pointer; text-align: center; display: block;
}
.btn-quiet {
  border: none; background: none; color: var(--muted);
  font-weight: 700; font-size: 11px; padding: 8px; cursor: pointer;
}
.pager { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 12px 14px; }
.pager button {
  flex: 1; border: none; background: rgba(255, 255, 255, 0.12); color: #fff;
  font-weight: 900; font-size: 12px; padding: 13px; border-radius: 10px; cursor: pointer;
}
.pager span {
  color: var(--muted); font-size: 11px; font-weight: 800;
  font-variant-numeric: tabular-nums; flex: 0 0 auto;
}

/* ── 共有（読者向け）──────────────────────── */
/* 作品は作者名の表示だけを条件に自由に使える（docs/03-decisions.md §10）。
   拡散が唯一の広がり方なので、読む面から直接広められるようにする。 */
.share-box {
  margin: 22px 14px 0; background: var(--tint);
  border: 1px solid #d6e0ff; border-radius: 14px; padding: 14px;
}
.share-box__t { font-size: 13.5px; font-weight: 900; color: var(--navy); }
.share-box__d { font-size: 11.5px; color: var(--sub); line-height: 1.8; margin-top: 6px; }
.share-box__row { display: flex; gap: 8px; margin-top: 12px; }
.btn-x {
  flex: 1; background: #000; color: #fff; font-weight: 900; font-size: 13px;
  padding: 13px; border-radius: 12px; text-align: center;
}
.btn-x:hover { color: #fff; }
.share-box .btn-ghost { flex: 1; }
.viewer__share {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.viewer__share:hover { color: #fff; background: rgba(255, 255, 255, 0.22); }

/* ── 連載 ─────────────────────────────────── */
/* 巻の見た目は全巻共通。並んだときの統一感がそのままブランドになる
   （→ docs/03-decisions.md §12）。 */
.series-list { display: flex; flex-direction: column; gap: 10px; padding: 0 14px; }
.series-row {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; cursor: pointer; font: inherit; color: inherit;
}
/* 背表紙を少しずらして重ねる。巻数がある作品だと一目で分かる。 */
.series-row__shelf { position: relative; flex: 0 0 auto; width: 86px; height: 104px; }
.series-row__shelf img {
  position: absolute; top: 0; width: 66px; height: 88px; object-fit: cover;
  border: 1px solid var(--line-2); border-radius: 4px;
  box-shadow: 0 3px 10px rgba(14, 27, 61, 0.22);
}
.series-row__shelf img:nth-child(1) { left: 20px; top: 8px; }
.series-row__shelf img:nth-child(2) { left: 10px; top: 4px; }
.series-row__shelf img:nth-child(3) { left: 0; top: 0; }
.series-row__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.series-row__title { font-size: 14px; font-weight: 900; line-height: 1.35; }

.vol-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 14px;
}
.vol {
  border: none; background: none; padding: 0; cursor: pointer;
  text-align: left; font: inherit; color: inherit;
}
.vol__shot {
  display: block; border: 1px solid var(--line-2); border-radius: 5px;
  overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(14, 27, 61, 0.12);
}
.vol__shot img { width: 100%; display: block; }
.vol__no { display: block; font-size: 12px; font-weight: 900; margin-top: 5px; }
.vol__meta { display: block; font-size: 10px; color: var(--muted); }

/* 通報・問い合わせ。読者は登録不要なので、メールで誰でも送れるようにする */
.report {
  padding: 18px 14px 0; font-size: 10.5px; color: var(--muted); line-height: 1.8;
}
.foot__mail { margin-top: 10px; font-size: 10px; color: var(--muted); }

/* ══════════════════════════════════════════════
   PC・タブレット

   主戦場はXなのでスマホ幅が主。ただし広場のトップは
   「みんなが最初に見る面」なので、PCでは Claude Design の
   PC版（妄想漫画広場 PC.dc.html）の構成に合わせる。

   一番の違いは棚を横スクロールからグリッドにすること。
   スマホは指で流せるが、マウスだと横スクロールは存在に気づけない。
   JSは触らず、同じマークアップのままCSSで組み替える。
   ══════════════════════════════════════════════ */

@media (min-width: 768px) {
  :root { --shell: 720px; }

  .head__bar { padding: 12px 18px 8px; }
  .head__name { font-size: 20px; }
  .head__cta { font-size: 12px; padding: 11px 16px; }
  .tabs { padding: 0 12px; }
  .tabs button { font-size: 14px; padding: 12px 16px 10px; }
  .promo { font-size: 11px; gap: 12px; }

  .banners { gap: 14px; padding: 16px 18px 4px; }
  .bn { width: 360px; height: 200px; }
  .bn__title { font-size: 19px; }

  .sec { padding: 0 18px; }
  .lead, .result-count { padding: 0 18px; }
  .row, .rank-row, .chips, .digs, .grid, .series-list { padding-left: 18px; padding-right: 18px; }
  .card { width: 150px; }
  .card__shot img { height: 200px; }
  .grid--works { grid-template-columns: repeat(3, 1fr); }
  .vol-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  :root { --shell: 1240px; }
  body { background: var(--bg-out); }
  .shell { box-shadow: 0 0 60px rgba(14, 27, 61, 0.16); }

  /* ヘッダーは1行にまとめる。
     マークアップは [.head__bar][.tabs] の2段だが、
     display:contents で .head__bar を透明にして中身とタブを同じ行に出し、
     order で設計どおりの並びにする。 */
  /* **窓を細くしない。** 背景と紺色のバーは画面いっぱいに伸ばし、
     中身だけ --shell に収める。左右のpaddingで寄せると、
     マークアップを増やさずに「全幅の帯＋中央の中身」にできる。 */
  .shell { max-width: none; box-shadow: none; }
  #app, .foot { max-width: var(--shell); margin-left: auto; margin-right: auto; }

  .head__bar { display: contents; }
  .head {
    display: flex; align-items: center; gap: 18px;
    height: 76px; max-width: none;
    padding-inline: max(20px, calc((100% - var(--shell)) / 2));
  }
  .head__logo { order: 1; flex: 0 0 auto; }
  .tabs { order: 2; flex: 0 0 auto; padding: 0; overflow: visible; margin-left: 6px; }
  .tabs button { font-size: 13px; padding: 8px 12px; border-bottom-width: 3px; }
  .head__spacer { display: none; }
  .head__icon { display: none; }
  .head__cta { order: 6; flex: 0 0 auto; font-size: 13px; padding: 12px 20px; }
  .head__mark { width: 34px; height: 34px; font-size: 18px; }
  .head__name { font-size: 23px; }

  .head__search {
    order: 4; flex: 1; max-width: 360px; height: 42px;
    display: flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 0 6px 0 16px;
  }
  .head__search input {
    flex: 1; min-width: 0; border: none; background: none; outline: none;
    color: #fff; font-size: 12.5px; font-family: inherit;
  }
  .head__search input::placeholder { color: var(--on-navy); }
  .head__search-go {
    width: 30px; height: 30px; border: none; border-radius: 50%;
    background: var(--blue); color: #fff; font-size: 14px; cursor: pointer;
  }
  .head__free {
    order: 5; flex: 0 0 auto; margin: 0;
    font-size: 10.5px; color: var(--on-navy); font-weight: 700;
    line-height: 1.5; text-align: right;
  }
  .search-box { display: none; }

  .promo { font-size: 12px; gap: 18px; padding: 9px; }
  .ticker__run { font-size: 12.5px; gap: 48px; padding: 9px 0; }

  /* ヒーロー：大きい1枚＋右に2枚 */
  .banners {
    display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 170px 170px;
    gap: 14px; padding: 18px 20px 0; overflow: visible;
  }
  .bn { width: auto; height: auto; }
  .bn--rank { grid-column: 1; grid-row: 1 / 3; }
  .bn--post { grid-column: 2; grid-row: 1; }
  .bn--name { grid-column: 2; grid-row: 2; }
  .bn--hot, .bn--reco, .bn--free { display: none; }
  .bn--rank .bn__body { left: 36px; top: 46px; right: auto; width: 340px; }
  .bn__kicker { font-size: 22px; }
  .bn--rank .bn__title { font-size: 32px; line-height: 1.3; margin-top: 10px; }
  .bn--rank .bn__catch { font-size: 14px; margin-top: 8px; }
  .bn--rank .bn__pill { font-size: 14px; padding: 12px 26px; margin-top: 18px; }
  .bn--rank .bn__meta { font-size: 12px; }
  .bn--rank img { width: 200px; height: 266px; right: 40px; top: 34px; }
  .bn--post .bn__lead { font-size: 19px; }
  .bn--name .bn__lead { font-size: 17px; }

  .chips { flex-wrap: wrap; overflow: visible; padding: 16px 20px 0; gap: 10px; }
  .chip { font-size: 12.5px; padding: 9px 16px; }

  .sec { padding: 0 20px; margin: 28px 0 14px; }
  .sec h2 { font-size: 23px; }
  .sec__rule { width: 6px; height: 24px; }
  .sec__more { font-size: 13px; }
  .lead, .result-count { padding: 0 20px; font-size: 11.5px; }

  /* 棚をグリッドにする */
  .row, .rank-row { display: grid; overflow: visible; padding: 0 20px; }
  .rank-row { grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start; }
  /* 1行で収める。はみ出したぶんは出さない（スマホでは全部横に流れる） */
  .rank-row .rcard:nth-child(n+6) { display: none; }
  .row { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .reco-block .row { grid-template-columns: repeat(3, 1fr); }
  .row:has(.name-card) { grid-template-columns: repeat(6, 1fr); gap: 12px; }

  .rcard { width: auto; }
  .rcard__head .card__shot img { height: 200px; }
  .no { font-size: 40px; min-width: 42px; }
  .no--1, .no--2, .no--3 { font-size: 52px; }
  .rcard .card__title { font-size: 14px; margin-top: 8px; }
  .rcard .card__catch, .rcard .card__meta, .rcard .card__sub { font-size: 11px; }

  /* 棚のカードは横型にする。縦型のまま4列にすると表紙が横に伸びる。
     子が [表紙][題][あらすじ][メタ][作者] と平らに並んでいるので、
     グリッドで表紙を1列目の全行にまたがせ、残りを2列目に積む。 */
  .row .card {
    width: auto; display: grid; grid-template-columns: 84px 1fr;
    column-gap: 12px; align-content: start;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  }
  .row .card__shot { grid-row: 1 / -1; border-radius: 6px; }
  .row .card__shot img { width: 84px; height: 112px; }
  .row .card__over { font-size: 9px; }
  .row .card__title { font-size: 13.5px; margin-top: 0; }
  .row .card__catch, .row .card__meta, .row .card__sub { font-size: 10.5px; }

  .reco-block { margin: 28px 20px 0; padding: 22px 24px 18px; }
  .reco-block .sec, .reco-block .lead { padding: 0; }
  .reco-card { width: auto; }
  .reco-card img { width: 92px; height: 123px; }
  .reco-card__title { font-size: 14px; }
  .cmt { font-size: 11px; }

  .name-card { width: auto; }
  .name-card__quote { height: 100px; }
  .name-card__quote span { font-size: 13.5px; max-height: 100px; }

  .digs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 20px; }
  .dig img { width: 78px; height: 104px; }
  .dig__title { font-size: 14px; }

  /* 一覧系スクリーン（設計はトップだけなので、同じ考えで広げる） */
  .list { display: grid; grid-template-columns: 1fr 1fr; }
  .list__item { padding: 16px 20px; }
  .list__item img { width: 96px; height: 128px; }
  .list__title { font-size: 16px; }
  .list__item--rank img { width: 84px; height: 112px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 20px; }
  .grid--works { grid-template-columns: repeat(5, 1fr); padding: 14px 20px 0; }
  .grid--works .card__shot img { height: 250px; }
  .vol-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .series-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 20px; }
  .screen__head { padding: 24px 20px 0; }
  .screen__head h2 { font-size: 26px; }
  .name-intro { margin: 20px; padding: 20px; }
  .seg { margin-left: 20px; margin-right: 20px; }

  /* 作品ページ */
  .hero { padding: 20px 20px 26px; }
  .hero__shot { width: 200px; height: 267px; }
  .hero__body h1 { font-size: 28px; }
  .hero__catch { font-size: 14px; }
  .stats > div { padding: 18px 0; }
  .stats strong { font-size: 20px; }
  .free-note { font-size: 13px; padding: 10px; }
  .read-actions { flex-direction: row; padding: 20px; gap: 14px; max-width: 720px; }
  .btn-primary { flex: 2; font-size: 16px; }
  .btn-ghost { flex: 1; }
  .syn { padding: 0 20px; max-width: 860px; }
  .syn p { font-size: 14px; }
  .share-box { margin: 28px 20px 0; max-width: 720px; }
  .report { padding: 22px 20px 0; }
  .author-hero { padding: 20px 20px 26px; }
  .avatar--lg { width: 84px; height: 84px; font-size: 34px; }
  .author-hero__name { font-size: 24px; }

  /* 締めと足まわりは横並び */
  .cta {
    margin: 36px 20px 0; padding: 40px; text-align: left;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
  }
  .cta__lead { font-size: 30px; }
  .cta__sub { font-size: 13px; margin-top: 8px; }
  .cta__btn { margin-top: 0; flex: 0 0 auto; font-size: 15px; padding: 16px 32px; }
  .foot {
    padding: 28px 20px 36px; display: flex; align-items: center;
    justify-content: space-between; text-align: left; flex-wrap: wrap; gap: 10px;
  }
  .foot__name { font-size: 14px; }
  .foot__links { margin-top: 0; gap: 20px; font-size: 11.5px; }
  .foot__mail { width: 100%; text-align: right; margin-top: 0; }

  /* ビューアは画面いっぱいに広げず、読みやすい幅に収める */
  .viewer__stage img { max-width: min(100%, 760px); }
  .viewer__bar, .viewer__foot, .pager {
    max-width: 900px; margin-left: auto; margin-right: auto; width: 100%;
  }
}

/* 圏点（傍点）。書き出し（縦書き）では文字の右に点、
   画面（横書き）では文字の上に点が付く。記法は render.js と共通で 《《ここ》》 */
.kenten {
  font-style: normal;
  text-emphasis: filled dot;
  -webkit-text-emphasis: filled dot;
  text-emphasis-position: over right;
  -webkit-text-emphasis-position: over right;
}

/* ── もっと広い画面 ────────────────────────
   1240px は Claude Design のPC版に合わせた幅だが、
   いまのモニタだと左右が余る。**広げたぶんは列を増やして使う。**
   幅だけ広げてカードを引き伸ばすと、表紙が間延びして漫画に見えなくなる。 */
@media (min-width: 1500px) {
  :root { --shell: 1440px; }
  .rank-row { grid-template-columns: repeat(6, 1fr); }
  .rank-row .rcard:nth-child(n+6) { display: block; }
  .rank-row .rcard:nth-child(n+7) { display: none; }
  .row { grid-template-columns: repeat(5, 1fr); }
  .reco-block .row { grid-template-columns: repeat(4, 1fr); }
  .row:has(.name-card) { grid-template-columns: repeat(8, 1fr); }
  .digs { grid-template-columns: repeat(4, 1fr); }
  .grid--works { grid-template-columns: repeat(6, 1fr); }
  .grid { grid-template-columns: repeat(5, 1fr); }
  .list { grid-template-columns: repeat(3, 1fr); }
  .vol-grid { grid-template-columns: repeat(8, 1fr); }
  .series-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1800px) {
  :root { --shell: 1680px; }
  .rank-row { grid-template-columns: repeat(7, 1fr); }
  .rank-row .rcard:nth-child(n+7) { display: block; }
  .rank-row .rcard:nth-child(n+8) { display: none; }
  .row { grid-template-columns: repeat(6, 1fr); }
  .row:has(.name-card) { grid-template-columns: repeat(9, 1fr); }
  .grid--works { grid-template-columns: repeat(7, 1fr); }
  .vol-grid { grid-template-columns: repeat(9, 1fr); }
}
