/* HAKOBUNE MANGA 作品の頁の連載の部品（serial.js の MangaSerial.lists）。色と書体は app-site.css の .mg の決まり。手で書いた CSS */
.mg .sr { display: flex; flex-direction: column; gap: 56px; }
.mg .sr-new { display: inline-block; margin-left: 8px; padding: 3px 7px; border-radius: 3px; background: #c8321e; color: #fff; font: 800 10.5px/1 var(--body); font-style: normal; letter-spacing: .12em; vertical-align: 1px; }

/* 最新話 */
.mg .sr-latest { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--paper-2); color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.mg a.sr-latest:hover { border-color: var(--water); box-shadow: 0 20px 44px -32px rgba(8,16,26,.55); }
.mg .sr-latest-art { position: relative; display: block; min-height: 200px; background: var(--night); }
.mg .sr-latest-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mg .sr-latest-art.is-blank { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 6%, transparent) 0 10px, transparent 10px 20px); }
.mg .sr-latest-text { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 28px 32px; min-width: 0; }
.mg .sr-kicker { font: 700 12.5px/1 var(--body); letter-spacing: .16em; color: var(--water); }
.mg .sr-latest-text b { font: 800 clamp(20px, 2.4vw, 26px)/1.4 var(--display); }
.mg .sr-theme { font: 500 14.5px/1.85 var(--display); color: var(--muted); }
.mg .sr-date { font-size: 13px; color: var(--muted); }
.mg .sr-go { margin-top: 6px; font: 700 13.5px/1 var(--body); color: var(--water); letter-spacing: .06em; }
.mg .sr-go::after { content: " →"; }
.mg .sr-latest.is-soon .sr-go::after { content: none; }

.mg .sr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.mg .sr-head h2 { margin: 0; font: 800 clamp(21px, 2.4vw, 26px)/1.25 var(--display); letter-spacing: .08em; }
.mg .sr-head p { margin: 0; font-size: 13px; color: var(--muted); }

/* 話の一覧（新しい順） */
.mg .sr-eps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.mg .sr-ep-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 72px; padding: 10px 6px 10px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
.mg a.sr-ep-row:hover b { color: var(--water); }
.mg .sr-ep-art { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--night); }
.mg .sr-ep-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.mg .sr-ep-art.is-blank { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 7%, transparent) 0 8px, transparent 8px 16px); }
.mg .sr-ep-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mg .sr-ep-text small { font: 700 12px/1.3 var(--body); color: var(--water); letter-spacing: .06em; }
.mg .sr-ep-text b { font: 800 16.5px/1.4 var(--display); overflow-wrap: anywhere; }
.mg .sr-ep-date { font-size: 12px; color: var(--muted); }
.mg .sr-ep-go { font: 700 12.5px/1 var(--body); color: var(--water); }
.mg .sr-ep-go::after { content: " →"; }
.mg .sr-ep-tag { font: 700 10.5px/1 var(--body); letter-spacing: .12em; padding: 5px 8px; border-radius: 3px; background: #fff3d6; color: #8a5a00; }
.mg .sr-ep.is-soon .sr-ep-text small { color: var(--muted); }
@media (max-width: 760px) {
  .mg .sr-latest { grid-template-columns: 1fr; }
  .mg .sr-latest-art { min-height: 0; aspect-ratio: 16 / 9; }
  .mg .sr-latest-text { padding: 20px 20px 24px; }
  .mg .sr-eps { grid-template-columns: 1fr; }
  .mg .sr-ep-row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; }
}

/* 巻の一覧 */
.mg .sr-vols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.mg .sr-vol { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper-2); color: inherit; text-decoration: none; }
.mg a.sr-vol:hover { border-color: var(--water); }
.mg .sr-vol-cover { display: block; container-type: inline-size; }
.mg .sr-vol-cover .mb-cover { box-shadow: 0 10px 20px -12px rgba(8,16,26,.55); border-radius: 2px; }
.mg .sr-vol-cover .mb-asset { display: none; }
.mg .sr-vol-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; color: var(--muted); }
.mg .sr-vol-text b { font: 800 19px/1.3 var(--display); color: var(--ink); }
.mg .sr-vol-more { font-size: 12px; }
.mg .sr-vol.is-soon { opacity: .8; }
.mg .sr-vol.is-soon .sr-go { color: #8a5a00; }
.mg .sr-vol.is-soon .sr-go::after { content: none; }

/* 新しい作品の共通の組み（work-generic.js） */
.mg .mg-soon { margin: 0; padding: 16px 18px; border-radius: 12px; background: #fff3d6; color: #5d3e00; font-size: 14px; line-height: 1.8; }
.mg .mg-soon b { font-family: var(--display); }
.mg .mg-comment { margin: 0; padding: 24px 28px; border-left: 3px solid var(--water); background: var(--paper-2); }
.mg .mg-comment p { margin: 0; font: 500 16px/2 var(--display); }
.mg .mg-comment cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--muted); }
.mg .mg-disclaimer { font-size: 12.5px; color: var(--muted); }
.mg .sr-vol-cover .mb-review-tags { display: none !important; }
