/* Homepage — Style 3: Poster */

.s3-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.s3-poster { width: 210px; aspect-ratio: 3/4; margin: 6px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 22px 55px rgba(0,0,0,0.55); position: relative; }
.s3-poster .status-flag { position: absolute; top: 10px; right: 10px; }
.s3-wrap .series-alt { margin-top: 18px; }
.s3-wrap .series-title { font-size: clamp(30px, 5vw, 52px); text-transform: uppercase; margin-top: 8px; }
.s3-meta-inline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.s3-meta-inline b { color: var(--text); font-weight: 700; }
.s3-meta-inline .sep { color: var(--muted-2); }
.s3-wrap .genres { justify-content: center; margin-top: 16px; }
.s3-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.s3-syn { margin: 30px auto 0; max-width: 68ch; }
.s3-syn .synopsis { text-align: left; }
.s3-chapters { margin-top: 40px; text-align: left; }
.s3-chapters .sec-title { margin-bottom: 14px; }

/* Chapter chips */
.ch-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; }
.ch-chip { position: relative; display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 15px; transition: .14s; }
.ch-chip:hover { border-color: var(--accent, #f0a92b); color: var(--accent, #f0a92b); transform: translateY(-2px); }
.ch-chip.is-new { border-color: rgba(255,75,110,0.5); }
.ch-chip.is-new::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 8px var(--hot); }
.ch-chip .cn { font-size: 10px; color: var(--muted-2); font-weight: 700; margin-right: 3px; }

/* ---- Chips on a novel ----
   The chip itself is already the right shape: a number grid is how you index
   thousands of chapters. Two things it needs that the manga chip never did.

   The manga chip has NO horizontal padding - it never needed any, because the
   66px track left room to spare around "Ch 12". A four-digit number fills that
   on its own and the text ends up touching both edges. Padding plus a wider
   track fixes it; tabular-nums stops the columns jittering row to row. */
.ch-chips.is-text { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.ch-chips.is-text .ch-chip {
  padding: 0 12px; font-size: 14px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ch-chips.is-text .ch-chip .cn { margin-right: 4px; }
