/* Aozora — a calm, reader-first theme for Koma Engine.
   Precompiled and dependency-free: no build step required on the server. */

:root {
    --accent: oklch(0.56 0.15 245);
    /* Derived from --accent so a theme.json accent override needs only one value. */
    --accent-hover: color-mix(in oklab, var(--accent), black 12%);
    --accent-soft: color-mix(in oklab, var(--accent), transparent 90%);
    --bg: #f7f8fa;
    --panel: #ffffff;
    --ink: #16181d;
    --muted: #6b7280;
    --faint: #9aa1ac;
    --line: #e8eaef;
    --line-soft: #f0f2f5;
    --radius: 16px;
    --wrap: 1200px;
    --display: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
    --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 18px; }
.brand .glyph {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
    background: var(--accent); color: #fff; font-size: 18px;
}
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav a:hover, .nav a.active { background: var(--accent-soft); color: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.search {
    display: flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 14px; border-radius: 999px;
    background: var(--bg); border: 1px solid var(--line); min-width: 220px;
}
.search input { border: 0; background: transparent; outline: none; width: 100%; font-size: 14px; font-family: inherit; }

.btn {
    display: inline-flex; align-items: center; gap: 7px; justify-content: center;
    height: 38px; padding: 0 16px; border-radius: 10px;
    font-weight: 700; font-size: 14px; cursor: pointer; border: 0;
    background: var(--accent); color: #fff; transition: background 0.15s;
}
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--line-soft); }
.btn.block { width: 100%; height: 46px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; border-radius: 22px; margin-top: 26px;
    min-height: 340px; display: flex; align-items: flex-end; color: #fff;
    padding: 34px; isolation: isolate;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, rgba(8, 10, 16, 0.82) 8%, rgba(8, 10, 16, 0.2) 55%, rgba(8, 10, 16, 0.35));
}
.hero .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 800; opacity: 0.85; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 10px; max-width: 620px; }
.hero p { max-width: 560px; margin: 0 0 18px; font-size: 15.5px; opacity: 0.9; }
.hero .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; opacity: 0.85; margin-bottom: 18px; }

/* ---------- Sections ---------- */
.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 21px; }
.section-head a { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ---------- Grids & cards ---------- */
.grid {
    display: grid; gap: 20px 18px;
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
.card { display: block; }
.cover {
    position: relative; aspect-ratio: 3 / 4.3; border-radius: 13px; overflow: hidden;
    display: grid; place-items: center; color: rgba(255, 255, 255, 0.55);
    font-family: var(--display); font-weight: 800; font-size: 30px;
    box-shadow: 0 6px 18px rgba(20, 24, 33, 0.1); transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover .cover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(20, 24, 33, 0.18); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .rating {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    background: rgba(8, 10, 16, 0.62); color: #fff; font-size: 10px; font-weight: 800;
    letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px;
}
.card .title { margin-top: 10px; font-weight: 700; font-size: 14px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .sub { margin-top: 2px; font-size: 12.5px; color: var(--faint); }

.chip {
    display: inline-block; padding: 3px 9px; border-radius: 7px;
    font-size: 11.5px; font-weight: 700; background: var(--accent-soft); color: var(--accent);
}
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-transform: capitalize; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.status-dot.ongoing::before { background: oklch(0.7 0.15 150); }
.status-dot.completed::before { background: oklch(0.62 0.14 245); }
.status-dot.hiatus::before { background: oklch(0.75 0.15 65); }

/* ---------- Latest updates list ---------- */
.updates { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.update {
    display: flex; gap: 12px; align-items: center; padding: 10px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 13px;
}
.update .cv { width: 46px; height: 62px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center;
    color: rgba(255,255,255,0.5); font-family: var(--display); font-weight: 800; font-size: 15px; overflow: hidden; }
.update .cv img { width: 100%; height: 100%; object-fit: cover; }
.update .info { min-width: 0; flex: 1; }
.update .info .t { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.update .info .c { font-size: 13px; color: var(--accent); font-weight: 600; }
.update .info .time { font-size: 11.5px; color: var(--faint); }

/* ---------- Browse ---------- */
.browse-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin-top: 28px; }
.filters { position: sticky; top: 82px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.filter-group { margin-bottom: 20px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-list a { padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; background: var(--bg); color: var(--muted); }
.filter-list a:hover { background: var(--line-soft); }
.filter-list a.on { background: var(--accent); color: #fff; }

/* ---------- Series page ---------- */
.private-preview {
    display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 12px 15px;
    border: 1px solid #ead7b8; border-radius: 12px; background: #fff9ee; color: #6f481d;
    font-size: 13.5px;
}
.private-preview strong { flex-shrink: 0; font-family: var(--display); font-size: 13px; }
.private-preview span { color: #805e39; }
.series-head { display: grid; grid-template-columns: 240px 1fr; gap: 32px; margin-top: 28px; }
.series-head .cover { aspect-ratio: 3 / 4.3; font-size: 44px; }
.series-title { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 8px; }
.series-by { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.series-genres { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.series-stats { display: flex; gap: 26px; margin: 18px 0; }
.series-stats .n { font-family: var(--display); font-weight: 800; font-size: 20px; }
.series-stats .l { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.synopsis { color: #3f4650; font-size: 15px; line-height: 1.7; max-width: 720px; margin-top: 8px; }
.series-actions { display: flex; gap: 10px; margin: 20px 0 4px; }

.chapter-list { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.chapter-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.chapter-row:last-child { border-bottom: 0; }
.chapter-row:hover { background: var(--line-soft); }
.chapter-row .num { font-family: var(--display); font-weight: 800; color: var(--accent); min-width: 52px; }
.chapter-row .ct { flex: 1; font-weight: 600; font-size: 14px; }
.chapter-row .cmeta { font-size: 12.5px; color: var(--faint); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); padding: 30px 0; color: var(--faint); font-size: 13px; }
.site-footer .bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.empty { text-align: center; padding: 70px 20px; color: var(--faint); }

/* ---------- Public discussions ---------- */
.comments { margin-top: 42px; }
.comments-shell {
    max-width: 840px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--panel);
}
.comments-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.comments-heading h2 { font-size: 21px; }
.comments-eyebrow {
    margin: 0 0 3px; color: var(--accent); font-size: 10.5px; font-weight: 800;
    letter-spacing: .11em; text-transform: uppercase;
}
.comments-count { color: var(--faint); font-size: 12.5px; white-space: nowrap; }
.comment-notice, .comment-error, .comment-signed-out {
    margin-bottom: 16px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--bg); color: var(--muted); font-size: 13.5px;
}
.comment-notice { border-color: color-mix(in oklab, var(--accent), white 70%); background: var(--accent-soft); color: var(--ink); }
.comment-error { border-color: #efb9b0; background: #fff4f2; color: #8a3023; }
.comment-signed-out a { color: var(--accent); font-weight: 800; }
.comment-composer { margin-bottom: 22px; }
.comment-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.comment-composer > label { display: block; margin-bottom: 7px; font-weight: 800; }
.comment-composer textarea, .comment-actions textarea, .comment-actions select {
    display: block; width: 100%; resize: vertical; padding: 11px 12px; border: 1px solid var(--line);
    border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; line-height: 1.5;
}
.comment-actions select { min-height: 42px; resize: none; }
.comment-composer textarea:focus, .comment-actions textarea:focus, .comment-actions select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.comment-composer-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 9px; }
.comment-composer-meta span { color: var(--faint); font-size: 12px; }
.comment-empty { display: grid; gap: 2px; padding: 34px 20px; border-top: 1px solid var(--line-soft); text-align: center; }
.comment-empty span { color: var(--faint); font-size: 13.5px; }
.comment-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.comment-item { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.comment-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--faint); font-size: 12px; }
.comment-meta strong { color: var(--ink); font-size: 13.5px; }
.comment-status { padding: 2px 6px; border-radius: 5px; background: #fff3d9; color: #744b0f; font-weight: 800; }
.comment-status.rejected { background: #f3f4f6; color: var(--muted); }
.comment-body { margin: 8px 0 0; color: #343942; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.comment-deleted { color: var(--faint); font-style: italic; }
.comment-actions { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; font-size: 12.5px; }
.comment-actions details { flex: 1; }
.comment-actions summary, .comment-delete { color: var(--accent); font: inherit; font-weight: 800; cursor: pointer; }
.comment-actions summary { width: max-content; }
.comment-actions summary:focus-visible, .comment-delete:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.comment-actions details form { display: grid; gap: 8px; margin-top: 8px; }
.comment-actions details form label { font-weight: 800; }
.comment-actions details form label span { color: var(--faint); font-weight: 500; }
.comment-actions details .btn { justify-self: start; }
.comment-delete { padding: 0; border: 0; background: transparent; color: #9b3d31; }
.comment-reported { color: var(--faint); font-weight: 800; }
.comment-report-error { color: #8a3023; font-weight: 700; }
.comments-pagination { margin-top: 22px; }
.comment-window-note { margin: 18px 0 0; color: var(--faint); font-size: 11.5px; }

.reader-discussion {
    position: relative; z-index: 30; margin: 0; padding: 52px 24px 90px;
    background: #111319; color: #e8eaef;
}
.reader-discussion .comments-shell { margin: 0 auto; border-color: #292d35; background: #171a20; }
.reader-discussion .comments-heading h2, .reader-discussion .comment-meta strong { color: #f4f5f7; }
.reader-discussion .comments-count, .reader-discussion .comment-composer-meta span,
.reader-discussion .comment-empty span, .reader-discussion .comment-meta,
.reader-discussion .comment-window-note, .reader-discussion .comment-deleted { color: #9ba3af; }
.reader-discussion .comment-notice, .reader-discussion .comment-signed-out,
.reader-discussion .comment-composer textarea, .reader-discussion .comment-actions textarea,
.reader-discussion .comment-actions select {
    border-color: #303540; background: #111319; color: #e8eaef;
}
.reader-discussion .comment-error { border-color: #79443d; background: #321e1c; color: #ffbcb1; }
.reader-discussion .comment-list, .reader-discussion .comment-item, .reader-discussion .comment-empty { border-color: #292d35; }
.reader-discussion .comment-body { color: #d7dbe2; }

/* ---------- Mature content gate ---------- */
.mature-notice { background: #fff8f1; border-bottom: 1px solid #f1dcc8; color: #713b19; }
.mature-notice-inner {
    min-height: 44px; display: flex; align-items: center; justify-content: center;
    gap: 18px; font-size: 13.5px; text-align: center;
}
.mature-notice a { flex-shrink: 0; color: #8a4218; font-weight: 800; }
.mature-notice a:hover { text-decoration: underline; }

.mature-gate-shell { min-height: calc(100vh - 190px); display: grid; place-items: center; padding: 52px 0; }
.mature-gate-card {
    width: min(100%, 580px); padding: 42px; border: 1px solid var(--line);
    border-radius: 22px; background: var(--panel); text-align: center;
    box-shadow: 0 18px 50px rgba(20, 24, 33, 0.08);
}
.mature-gate-mark {
    display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px;
    border-radius: 20px; background: #fff1e5; color: #8a4218;
    font-family: var(--display); font-size: 22px; font-weight: 800;
}
.mature-gate-card .eyebrow {
    margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
}
.mature-gate-card h1 { font-size: clamp(27px, 4vw, 36px); }
.mature-gate-card > p { max-width: 470px; margin: 16px auto 0; color: var(--muted); }
.mature-gate-card .mature-gate-note { margin-top: 10px; color: var(--faint); font-size: 13px; }
.mature-gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.mature-gate-actions form { margin: 0; }

/* ---------- Reader ---------- */
.reader { background: #0b0c0f; color: #e8eaef; min-height: 100vh; font-family: var(--sans); }
.reader-bar {
    position: fixed; left: 0; right: 0; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 14px; padding: 0 18px; height: 56px;
    background: linear-gradient(180deg, rgba(11, 12, 15, 0.96), rgba(11, 12, 15, 0.7));
    backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.25s ease; color: #fff;
}
.reader-bar.is-hidden { transform: translateY(-100%); }
.reader-bar a, .reader-bar button { color: #fff; }
.reader-bar .r-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.reader-bar .r-title { flex: 1; min-width: 0; }
.reader-bar .r-title .s { display: flex; align-items: center; min-width: 0; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.reader-bar .r-title .c { overflow: hidden; color: #9aa1ac; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.r-series-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.r-private {
    display: inline-block; flex-shrink: 0; margin-left: 6px; padding: 1px 5px; border-radius: 4px;
    background: #7a4f20; color: #fff1da; font-size: 9px; font-weight: 800;
    letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 1px;
}
.reader-bar .r-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.r-modes { display: flex; gap: 3px; background: rgba(255, 255, 255, 0.08); padding: 3px; border-radius: 9px; }
.r-modes button { border: 0; background: transparent; color: #b9bec7; font-weight: 700; font-size: 12.5px; padding: 6px 11px; border-radius: 7px; cursor: pointer; }
.r-modes button.on { background: var(--accent); color: #fff; }
.r-modes button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.r-modes button:disabled { cursor: wait; opacity: 0.65; }
.r-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.r-pref-status {
    position: fixed; top: 66px; right: 12px; z-index: 65; max-width: min(320px, calc(100vw - 24px));
    padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
    background: rgba(25, 27, 33, 0.94); color: #e8eaef; font-size: 11.5px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.r-pref-status:empty { display: none; }
.r-pref-status.error { border-color: rgba(235, 103, 78, 0.55); color: #ffd4cc; }
.r-counter { font-family: var(--display); font-weight: 700; font-size: 13px; color: #cfd3da; min-width: 60px; text-align: center; }
.r-chap-btn { border: 0; background: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 9px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.r-chap-btn[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }

.reader-stage { padding-top: 56px; }
/* Paged mode */
.reader-stage.paged { height: 100vh; display: grid; place-items: center; overflow: hidden; }
.reader-stage.paged .page { display: none; max-height: calc(100vh - 56px); }
.reader-stage.paged .page.current { display: block; }
.reader-stage.paged .page img { max-height: calc(100vh - 56px); width: auto; max-width: 100vw; margin: 0 auto; }
.reader-zones { position: fixed; inset: 56px 0 0 0; z-index: 20; display: flex; }
.reader-zones .z { flex: 1; cursor: pointer; }
/* Webtoon mode */
.reader-stage.webtoon { padding-bottom: 60px; }
.reader-stage.webtoon .page { display: block; }
.reader-stage.webtoon .page img { width: min(820px, 100%); margin: 0 auto; display: block; }
.reader-end { text-align: center; padding: 40px 20px 80px; }
.reader-end .btn { margin: 0 6px; }
.reader-empty { position: relative; z-index: 30; display: grid; place-items: center; gap: 8px; color: #9aa1ac; text-align: center; }
.reader-empty strong { color: #fff; }
.reader-empty a { color: var(--accent); font-weight: 700; }
.page-skeleton { background: #16181d; min-height: 60vh; display: grid; place-items: center; color: #3a3f47; font-family: var(--mono, monospace); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .browse-layout { grid-template-columns: 1fr; }
    .filters { position: static; }
    .series-head { grid-template-columns: 150px 1fr; gap: 20px; }
    .nav { display: none; }
    .search { min-width: 0; width: 150px; }
}
@media (max-width: 560px) {
    .site-header .bar { gap: 12px; }
    .site-header .brand { font-size: 16px; white-space: nowrap; }
    .site-header .search { display: none; }
    .mature-notice-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 10px; padding-bottom: 10px; text-align: left; }
    .mature-gate-shell { min-height: 0; padding: 28px 0; }
    .mature-gate-card { padding: 30px 20px; }
    .mature-gate-actions { grid-template-columns: 1fr; }
    .private-preview { align-items: flex-start; flex-direction: column; gap: 2px; }
    .reader-bar {
        gap: 8px; padding: 0 10px; background: rgba(11, 12, 15, 0.96);
        -webkit-backdrop-filter: none; backdrop-filter: none;
    }
    .reader-bar .r-tools { flex-shrink: 0; gap: 5px; margin-left: 0; }
    .r-chap-btn { padding: 7px 9px; font-size: 12px; }
    .reader-bar.is-hidden { transform: none; }
    .r-counter { display: none; }
    .r-modes {
        position: fixed; right: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 55;
        display: flex; transform: translateX(50%); padding: 4px; background: rgba(25, 27, 33, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    }
    .r-modes button { min-height: 40px; padding: 8px 14px; }
    .r-pref-status { top: auto; right: 12px; bottom: max(68px, calc(env(safe-area-inset-bottom) + 68px)); }
    .reader-stage.webtoon { padding-bottom: 112px; }
    .r-discuss-label { display: none; }
    .reader-discussion { padding: 36px 12px 92px; }
    .reader-discussion .comments-shell { padding: 18px 14px; }
    .comments-shell { padding: 20px 16px; }
    .comment-composer-meta { align-items: flex-start; flex-direction: column; }
    .comment-composer-meta .btn { width: 100%; }
    .series-head { grid-template-columns: 1fr; }
    .series-head .cover { max-width: 200px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 16px 12px; }
}
