:root {
  --bg: #ffffff; --bg2: #f2f2f2; --bg3: #e5e5e5; --hover: rgba(0,0,0,.05); --text: #0f0f0f; --text2: #606060;
  --line: #e5e5e5; --chip: #f2f2f2; --chip-on-bg: #0f0f0f; --chip-on-fg: #fff; --accent: #e8590c; --red: #ff0033;
  --mark: #ffe58a; --mark-fg: #0f0f0f; --card: #fff; --shadow: 0 4px 24px rgba(0,0,0,.14); --link: #065fd4;
  --ok: #188038;
  --side-w: 240px; --top-h: 56px;
}
:root[data-theme="dark"] {
  --bg: #0f0f0f; --bg2: #272727; --bg3: #3f3f3f; --hover: rgba(255,255,255,.1); --text: #f1f1f1; --text2: #aaaaaa;
  --line: #3f3f3f; --chip: #272727; --chip-on-bg: #f1f1f1; --chip-on-fg: #0f0f0f; --card: #212121;
  --shadow: 0 4px 24px rgba(0,0,0,.6); --mark: #6b5a12; --mark-fg: #fff; --link: #3ea6ff; --ok: #81c995;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 14px/1.4 Roboto, -apple-system, "Segoe UI", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--text); }
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr;
  -webkit-font-smoothing: antialiased; font-variation-settings: "FILL" 0, "wght" 400; user-select: none; }
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400; }
mark { background: var(--mark); color: var(--mark-fg); border-radius: 2px; padding: 0 1px; }
.muted { color: var(--text2); }

/* ---------- top bar */
.top { position: fixed; inset: 0 0 auto 0; height: var(--top-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: var(--bg); z-index: 50; gap: 16px; }
.top-l, .top-r { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.icon-btn:hover { background: var(--hover); }
.logo { display: flex; align-items: center; gap: 4px; padding: 0 8px 0 12px; font-weight: 700; font-size: 19px; letter-spacing: -.5px; }
.logo sup { font-size: 10px; color: var(--text2); font-weight: 400; margin-left: 2px; align-self: flex-start; margin-top: 12px; }
.search { flex: 0 1 728px; display: flex; align-items: center; min-width: 0; }
.search-box { flex: 1; position: relative; display: flex; align-items: center; height: 40px; border: 1px solid var(--line);
  border-right: 0; border-radius: 40px 0 0 40px; padding: 0 4px 0 16px; background: var(--bg); }
.search-box:focus-within { border-color: #1c62b9; box-shadow: inset 0 1px 2px rgba(0,0,0,.2); margin-left: 0; }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; min-width: 0; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box .clear { width: 32px; height: 32px; visibility: hidden; }
.search-box.has-text .clear { visibility: visible; }
.search-btn { height: 40px; width: 64px; border: 1px solid var(--line); border-radius: 0 40px 40px 0; background: var(--bg2);
  display: flex; align-items: center; justify-content: center; }
.back-search, .mobile-search { display: none; }
.suggest { position: absolute; top: 44px; left: -1px; right: -66px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px 0; z-index: 60; max-height: 70vh; overflow: auto; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 6px 16px; font-size: 15px; }
.suggest a:hover, .suggest a.on { background: var(--hover); }
.suggest a .ms { font-size: 20px; color: var(--text2); }
.suggest a small { color: var(--text2); margin-left: auto; font-size: 12px; white-space: nowrap; }
.dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.dot.warn { background: #f9ab00; } .dot.err { background: var(--red); } .dot.run { background: #1a73e8; }

/* ---------- side */
.side { position: fixed; top: var(--top-h); left: 0; bottom: 0; width: var(--side-w); padding: 12px; overflow-y: auto; background: var(--bg);
  z-index: 40; scrollbar-width: thin; }
.side a, .side-btn { display: flex; align-items: center; gap: 24px; height: 40px; padding: 0 12px; border-radius: 10px; width: 100%; text-align: left; }
.side a b, .side-btn b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side a:hover, .side-btn:hover { background: var(--hover); }
.side a.on { background: var(--bg2); }
.side a.on b { font-weight: 500; }
.side a.on .ms { font-variation-settings: "FILL" 1; }
.side hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.side h4 { margin: 4px 12px 4px; font-size: 16px; font-weight: 500; }
.side-foot { color: var(--text2); font-size: 12px; padding: 16px 12px; }
#sidePlaylists a { height: 36px; } #sidePlaylists .ms { font-size: 20px; }
.scrim { display: none; }
main { margin-left: var(--side-w); padding: calc(var(--top-h) + 0px) 24px 48px; min-height: 100vh; }
body.mini .side { width: 72px; padding: 4px; }
body.mini .side a, body.mini .side-btn { flex-direction: column; gap: 4px; height: 74px; justify-content: center; padding: 0; }
body.mini .side a b, body.mini .side-btn b { font-size: 10px; }
body.mini .side hr, body.mini .side h4, body.mini .side-foot, body.mini #sidePlaylists { display: none; }
body.mini main { margin-left: 72px; }
body.watch .side { transform: translateX(-100%); transition: transform .2s; }
body.side-open .side { box-shadow: var(--shadow); }
body.watch.side-open .side { transform: none; }
body.watch main { margin-left: 0; }
body.watch.side-open .scrim, body.side-open.narrow .scrim { display: block; position: fixed; inset: var(--top-h) 0 0 0; background: rgba(0,0,0,.5); z-index: 35; }

/* ---------- chips */
.chips { position: sticky; top: var(--top-h); z-index: 20; background: var(--bg); display: flex; gap: 12px; padding: 12px 0; overflow-x: auto;
  scrollbar-width: none; align-items: center; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--chip); font-weight: 500; display: inline-flex;
  align-items: center; gap: 6px; white-space: nowrap; }
.chip:hover { background: var(--bg3); }
.chip.on { background: var(--chip-on-bg); color: var(--chip-on-fg); }
.chip .ms { font-size: 18px; }
.chips select { height: 32px; border-radius: 8px; background: var(--chip); border: 0; padding: 0 8px; font-weight: 500; }
.chips .sep { width: 1px; height: 24px; background: var(--line); flex-shrink: 0; }
.page-h { display: flex; align-items: center; gap: 16px; margin: 24px 0 8px; flex-wrap: wrap; }
.page-h h1 { font-size: 28px; margin: 0; font-weight: 700; }
.page-h .count { color: var(--text2); }
.page-h .grow { flex: 1; }

/* ---------- grid cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 16px; padding-top: 12px; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.thumb { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--bg2); display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.card:hover .thumb img { transform: scale(1.02); }
.badge-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 500;
  padding: 1px 4px; border-radius: 4px; }
.badge-tl { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; }
.badge { background: rgba(0,0,0,.75); color: #fff; font-size: 11px; font-weight: 500; padding: 2px 6px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 3px; }
.badge .ms { font-size: 14px; }
.badge.mem { background: #2e7d32; } .badge.live { background: #cc0000; } .badge.cloud { background: rgba(0,0,0,.6); }
.pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.4); }
.pbar i { display: block; height: 100%; background: var(--red); }
.watched-ov { position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; color: #fff; }
.watched-ov .ms { font-size: 40px; }
.card-info { display: flex; gap: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #7b2ff7, #f107a3); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.card-text { min-width: 0; flex: 1; }
.card-title { font-size: 16px; font-weight: 500; line-height: 22px; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--text2); font-size: 14px; line-height: 20px; }
.card-books { color: var(--text2); font-size: 13px; display: flex; align-items: center; gap: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-books .ms { font-size: 16px; }
.card-more { margin-left: auto; align-self: flex-start; opacity: 0; width: 32px; height: 32px; }
.card:hover .card-more { opacity: 1; }
.loader { text-align: center; padding: 32px; color: var(--text2); }
.empty { text-align: center; padding: 80px 16px; color: var(--text2); }
.empty .ms { font-size: 64px; display: block; margin-bottom: 12px; }

/* ---------- list (search / history) */
.list { display: flex; flex-direction: column; gap: 16px; max-width: 1100px; padding-top: 8px; }
.row, .row.card { display: flex; flex-direction: row; gap: 16px; }
.row .thumb { width: 360px; flex-shrink: 0; align-self: flex-start; }
.row .card-title { font-size: 18px; line-height: 26px; font-weight: 400; }
.row .desc { color: var(--text2); font-size: 12px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hits { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.hit { display: flex; gap: 8px; font-size: 13px; align-items: baseline; padding: 4px 8px; border-radius: 8px; background: var(--bg2); }
.hit:hover { background: var(--bg3); }
.ts { color: var(--link); font-weight: 500; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.book-hit { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; margin-top: 6px; padding: 2px 8px; background: var(--bg2); border-radius: 12px; }
.book-hit .ms { font-size: 16px; }
.day-h { font-size: 20px; font-weight: 700; margin: 24px 0 4px; }

/* ---------- watch */
.watch-wrap { display: flex; gap: 24px; padding-top: 24px; max-width: 1754px; margin: 0 auto; }
.watch-main { flex: 1; min-width: 0; }
.watch-side { width: 402px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.player { position: relative; background: #000; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; }
.player video, .player iframe, .player > div { width: 100%; height: 100%; display: block; border: 0; }
.heat { height: 22px; margin-top: 2px; opacity: .9; cursor: pointer; }
.heat path { fill: var(--bg3); }
.under-player { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.speed button { height: 28px; padding: 0 10px; border-radius: 14px; background: var(--chip); font-size: 12px; font-weight: 500; }
.speed button.on { background: var(--chip-on-bg); color: var(--chip-on-fg); }
.kbd-hint { color: var(--text2); font-size: 12px; margin-left: auto; }
.w-title { font-size: 20px; font-weight: 700; line-height: 28px; margin: 12px 0 8px; }
.w-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.w-channel { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.w-channel b { font-size: 16px; display: block; }
.w-channel small { color: var(--text2); font-size: 12px; }
.pill { height: 36px; padding: 0 16px; border-radius: 18px; background: var(--chip); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pill:hover { background: var(--bg3); }
.pill .ms { font-size: 20px; }
.pill.on { background: var(--chip-on-bg); color: var(--chip-on-fg); }
.pill.ok.on { background: var(--ok); color: #fff; }
.stars { display: inline-flex; height: 36px; align-items: center; padding: 0 8px; border-radius: 18px; background: var(--chip); }
.stars button { padding: 0 1px; color: var(--text2); } .stars button.on { color: #f9ab00; }
.stars .ms { font-size: 20px; }
.box { background: var(--bg2); border-radius: 12px; padding: 12px; margin-top: 12px; }
.box h3 { margin: 0 0 8px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.box h3 .ms { font-size: 20px; }
.box h3 .grow { flex: 1; }
.desc-stats { font-weight: 500; margin-bottom: 6px; }
.desc-text { white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.desc-text.clamp { max-height: 84px; -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.link-btn { font-weight: 500; margin-top: 6px; }
.link { color: var(--link); cursor: pointer; }
.tags { color: var(--link); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; font-size: 13px; }
.books-list { display: flex; flex-direction: column; gap: 8px; }
.book-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 8px; background: var(--bg); }
.book-item .ms { color: var(--accent); }
.book-item b { display: block; }
.book-item small { color: var(--text2); }
.kv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kv-chips a { background: var(--bg); border-radius: 14px; padding: 3px 10px; font-size: 13px; }
.kv-chips a:hover { background: var(--bg3); }
.points { margin: 4px 0 0; padding-left: 20px; } .points li { margin: 3px 0; }
.chapters { display: flex; flex-direction: column; gap: 2px; }
.chapters a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; }
.chapters a:hover, .chapters a.on { background: var(--bg3); }
.note { width: 100%; min-height: 110px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); padding: 10px; resize: vertical; }
.note-bar { display: flex; gap: 8px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--text2); }
.comments h3 { font-size: 20px; margin: 24px 0 16px; }
.cmt { display: flex; gap: 12px; margin-bottom: 18px; }
.cmt .avatar { width: 40px; height: 40px; background: var(--bg3); color: var(--text); font-weight: 500; }
.cmt b { font-size: 13px; font-weight: 500; } .cmt small { color: var(--text2); font-size: 12px; margin-left: 4px; }
.cmt p { margin: 2px 0 4px; white-space: pre-wrap; word-break: break-word; }
.cmt .likes { color: var(--text2); font-size: 12px; display: flex; align-items: center; gap: 4px; }
.cmt .likes .ms { font-size: 16px; }
.cmt.reply { margin-left: 52px; }
.owner-tag { background: var(--bg3); border-radius: 10px; padding: 0 6px; }

/* transcript panel */
.panel { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.panel-h { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); }
.panel-h h3 { margin: 0; font-size: 18px; flex: 1; }
.panel-search { padding: 8px 12px; border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: center; }
.panel-search input { flex: 1; height: 32px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); padding: 0 12px; outline: 0; min-width: 0; }
.panel-search small { color: var(--text2); white-space: nowrap; }
.tr-body { max-height: 52vh; overflow-y: auto; padding: 4px 0; scroll-behavior: smooth; }
.seg { display: flex; gap: 12px; padding: 6px 12px; cursor: pointer; line-height: 1.45; }
.seg:hover { background: var(--hover); }
.seg.on { background: var(--bg2); }
.seg .ts { background: var(--bg2); color: var(--text); border-radius: 4px; padding: 0 4px; height: fit-content; font-size: 12px; }
.seg.on .ts { background: var(--accent); color: #fff; }
.panel.collapsed .tr-body, .panel.collapsed .panel-search { display: none; }

.related { display: flex; flex-direction: column; gap: 8px; }
.mini-card { display: flex; gap: 8px; }
.mini-card .thumb { width: 168px; border-radius: 8px; flex-shrink: 0; }
.mini-card .card-title { font-size: 14px; line-height: 20px; }
.mini-card .card-meta { font-size: 12px; line-height: 18px; }

/* books page */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 16px; padding-top: 16px; }
.book-card { display: flex; flex-direction: column; gap: 8px; }
.book-cover { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; position: relative; background: var(--bg2); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.book-cover .n { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; background: rgba(0,0,0,.72); color: #fff; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 500; }
.book-card b { font-size: 15px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book-card small { color: var(--text2); }
.filter-input { height: 36px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; min-width: 240px; outline: 0; }

/* status */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 16px 0; }
.stat { background: var(--bg2); border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-size: 26px; font-weight: 700; }
.stat small { color: var(--text2); }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 6px 16px; }
.kv dt { color: var(--text2); } .kv dd { margin: 0; word-break: break-word; }
.ok-t { color: var(--ok); font-weight: 500; } .bad-t { color: var(--red); font-weight: 500; }
.btn { height: 36px; padding: 0 16px; border-radius: 18px; background: var(--chip); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { background: var(--bg3); }
.btn.primary { background: var(--text); color: var(--bg); }
.btn.danger { color: var(--red); }

/* login / toast / modal / menu */
.login { position: fixed; inset: 0; background: var(--bg); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.login-card { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.login-card h1 { margin: 0; font-size: 24px; } .login-card p { margin: 0; color: var(--text2); }
.login-card input { width: 100%; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; font-size: 16px; }
.login-card .btn { width: 100%; height: 44px; justify-content: center; border-radius: 8px; }
.err { color: var(--red); min-height: 20px; }
.toast { position: fixed; left: 24px; bottom: 24px; background: #0f0f0f; color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 120;
  box-shadow: var(--shadow); max-width: calc(100vw - 48px); }
:root[data-theme="dark"] .toast { background: #f1f1f1; color: #0f0f0f; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { background: var(--card); border-radius: 12px; padding: 20px; width: 100%; max-width: 380px; box-shadow: var(--shadow); }
.modal-card h3 { margin: 0 0 12px; }
.modal-card label { display: flex; gap: 12px; align-items: center; padding: 8px 0; cursor: pointer; }
.modal-card input[type=text] { width: 100%; height: 36px; border: 0; border-bottom: 1px solid var(--line); background: transparent; outline: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.menu { position: fixed; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 8px 0; z-index: 115; min-width: 240px; }
.menu button { display: flex; gap: 16px; align-items: center; width: 100%; padding: 8px 16px; text-align: left; }
.menu button:hover { background: var(--hover); }
.menu .ms { font-size: 22px; }

/* ---------- responsive */
@media (max-width: 1300px) { .watch-side { width: 360px; } }
@media (max-width: 1000px) {
  .watch-wrap { flex-direction: column; padding-top: 0; }
  .watch-side { width: 100%; }
  .player { border-radius: 0; margin: 0 -24px; }
}
@media (max-width: 1100px) {
  body:not(.watch) .side { width: 72px; padding: 4px; }
  body:not(.watch) .side a, body:not(.watch) .side-btn { flex-direction: column; gap: 4px; height: 74px; justify-content: center; padding: 0; }
  body:not(.watch) .side a b, body:not(.watch) .side-btn b { font-size: 10px; }
  body:not(.watch) .side hr, body:not(.watch) .side h4, body:not(.watch) .side-foot, body:not(.watch) #sidePlaylists { display: none; }
  body:not(.watch) main { margin-left: 72px; }
}
@media (max-width: 700px) {
  :root { --top-h: 52px; }
  .top { padding: 0 8px; gap: 4px; }
  .logo span { font-size: 17px; }
  .search { display: none; }
  .mobile-search { display: inline-flex; }
  body.searching .search { display: flex; position: absolute; inset: 0; background: var(--bg); padding: 0 8px; z-index: 5; }
  body.searching .back-search { display: inline-flex; }
  body.searching .search-btn { width: 48px; }
  .suggest { right: -50px; }
  body .side { transform: translateX(-100%); width: var(--side-w) !important; padding: 12px !important; transition: transform .2s; }
  body .side a, body .side-btn { flex-direction: row !important; height: 40px !important; gap: 24px !important; padding: 0 12px !important; justify-content: flex-start !important; }
  body .side a b, body .side-btn b { font-size: 14px !important; }
  body .side hr, body .side h4, body .side-foot, body #sidePlaylists { display: block !important; }
  body.side-open .side { transform: none; }
  body.side-open .scrim { display: block; position: fixed; inset: var(--top-h) 0 0 0; background: rgba(0,0,0,.5); z-index: 35; }
  main, body:not(.watch) main { margin-left: 0 !important; padding: var(--top-h) 12px 48px; }
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .grid .thumb { margin: 0 -12px; border-radius: 0; }
  .row, .row.card { flex-direction: column; gap: 8px; }
  .row .thumb { width: 100%; }
  .row .card-title { font-size: 16px; line-height: 22px; }
  .player { margin: 0 -12px; }
  .w-title { font-size: 18px; line-height: 24px; }
  .kbd-hint { display: none; }
  .kv { grid-template-columns: 1fr; }
  .page-h h1 { font-size: 22px; }
  .filter-input { min-width: 0; width: 100%; }
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .mini-card .thumb { width: 150px; }
  .cmt.reply { margin-left: 32px; }
}
