/* =====================================================================
   أنمي ليك · www.animelek.cyou — 第二十一版「漫画格」Manga panel
   纸白底 + 网点、黑色粗描边、热红色 + 一点黄色；标题 Lalezar，正文 Rubik
   ===================================================================== */
@font-face { font-family: "Lalezar"; font-display: swap; src: url("/assets/fonts/lalezar-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Lalezar"; font-display: swap; src: url("/assets/fonts/lalezar-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/rubik-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/rubik-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --ink: #111; --ink2: #2b2b2b; --paper: #fffdf6; --paper2: #f4efe1; --white: #fff;
  --red: #e5242b; --red2: #b5151b; --yel: #ffd400; --gray: #5f5f5f; --gray2: #8d8a80;
  --fd: "Lalezar", "Rubik", Tahoma, sans-serif; --fb: "Rubik", Tahoma, "Segoe UI", system-ui, sans-serif;
  --b: 3px solid var(--ink); --b2: 2px solid var(--ink); --sh: 5px 5px 0 var(--ink); --sh2: 3px 3px 0 var(--ink);
  --tone: radial-gradient(rgba(17, 17, 17, .13) 1.1px, transparent 1.45px) 0 0 / 7px 7px;
  --tone-w: radial-gradient(rgba(255, 255, 255, .16) 1.1px, transparent 1.45px) 0 0 / 7px 7px;
  --w: 1280px; --pad: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font: 400 15.5px/1.7 var(--fb);
  background: var(--paper) radial-gradient(rgba(17, 17, 17, .055) 1.1px, transparent 1.4px) 0 0 / 8px 8px; overflow-x: hidden; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.vol-cv img, .pnl-in img, .td-p img, .t-p img, .vc-bg img, .vc-cover img, .ln-p img, .sim-p img, .rank-p img, .th-p img, .sg-p img, .crew img, .pk-fan img { color: transparent; font-size: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--fd); font-weight: 400; line-height: 1.35; margin: 0; }
p { margin: 0 0 .7em; }
[hidden] { display: none !important; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.i.fill { fill: currentColor; stroke: none; }
.mk { flex: none; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 12px; z-index: 100; padding: 8px 16px; background: var(--yel); border: var(--b); font-weight: 700; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- 按钮 / 标签 / 气泡 / 印章 ---------- */
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 18px; border: var(--b); background: var(--white); color: var(--ink);
  font: 400 18px/1 var(--fd); box-shadow: var(--sh2); transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.k-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.k-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.k-btn .i { width: 18px; height: 18px; }
.k-red { background: var(--red); color: #fff; }
.k-ink { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--red); }
.k-paper { background: var(--white); }
.k-lg { min-height: 50px; padding: 0 26px; font-size: 22px; }
.k-ic { width: 42px; padding: 0; }
.k-btn.on { background: var(--yel); }
.k-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.lbls { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.lbl { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: var(--b2); background: var(--white); font-size: 12.5px; font-weight: 700; line-height: 1; }
.lbl-q { background: var(--ink); color: #fff; }
.lbl-dub { background: var(--yel); }
.lbl-ar { background: var(--red); color: #fff; }
.lbl-fin { background: var(--red); color: #fff; }
.bub { position: relative; display: inline-block; padding: 3px 11px 4px; background: var(--white); border: var(--b2); border-radius: 50%; font: 400 15px/1.2 var(--fd); color: var(--ink); white-space: nowrap; z-index: 2; }
.bub::after { content: ""; position: absolute; bottom: -9px; right: 14px; width: 12px; height: 10px; background: var(--white); border-right: var(--b2); border-bottom: var(--b2); transform: skewX(35deg); clip-path: polygon(100% 0, 100% 100%, 0 0); }
.bub-y { background: var(--yel); }
.bub-y::after { background: var(--yel); }
.bub-k { background: var(--ink); color: #fff; }
.bub-k::after { background: var(--ink); }
.bub-xl { font-size: 22px; padding: 6px 18px 8px; border-width: 3px; }
.stamp { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid #fff; outline: 2px solid var(--red);
  font: 400 15px/1 var(--fd); font-style: normal; transform: rotate(-12deg); }
.stamp-xl { width: 64px; height: 64px; font-size: 24px; border-width: 3px; outline-width: 3px; }
.onair { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; background: var(--red); color: #fff; font: 400 14px/1.5 var(--fd); font-style: normal; }
.onair::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.none { color: var(--gray); }
.none-b { padding: 28px 18px; text-align: center; border: var(--b); background: var(--white); box-shadow: var(--sh); font-weight: 600; }
.note { color: var(--gray); font-size: 13.5px; }
.more-p { text-align: center; margin: 16px 0 4px; }

/* ---------- 顶栏 ---------- */
.inkbar { position: sticky; top: 0; z-index: 40; background: var(--ink); color: #fff; border-bottom: 4px solid var(--red); }
.inkbar-in { max-width: var(--w); margin: 0 auto; height: 66px; padding: 0 var(--pad); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand b { font: 400 30px/1 var(--fd); letter-spacing: 0; padding-top: 6px; white-space: nowrap; }
.brand b span { color: var(--red); }
.brand img { height: var(--logo-h); width: auto; }
.inkbar .brand b { color: #fff; }
.ib-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 2px solid #fff; background: transparent; color: #fff; flex: none; }
.ib-btn:hover { background: #fff; color: var(--ink); }
.ib-n { position: absolute; top: -8px; left: -8px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: var(--yel); color: var(--ink); border: 2px solid var(--ink); font: 700 11px/16px var(--fb); font-style: normal; text-align: center; }
.ib-menu, .ib-q { display: none; }
.qbox { position: relative; flex: 1; max-width: 520px; margin-inline-start: auto; display: flex; height: 42px; background: #fff; border: 2px solid #fff; }
.qbox input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; color: var(--ink); outline: none; font-size: 15px; }
.qbox input::placeholder { color: var(--gray2); }
.qbox button { width: 46px; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; }
.ib-x { display: flex; gap: 10px; flex: none; }
.cats { background: var(--paper); border-bottom: var(--b); position: relative; z-index: 30; }
.cats-in { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); display: flex; overflow-x: auto; scrollbar-width: none; }
.cats-in::-webkit-scrollbar { display: none; }
.cats a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 13px 10px; font-weight: 700; font-size: 14.5px; white-space: nowrap; border-inline-start: 2px solid transparent; position: relative; }
.cats a .i { width: 18px; height: 18px; }
.cats a:hover { background: var(--yel); }
.cats a.on { background: var(--ink); color: #fff; }
.cats a.cats-hot { background: var(--red); color: #fff; font: 400 18px/1 var(--fd); padding-top: 13px; border-inline: var(--b2); margin-inline: 4px; }
.cats a.cats-hot:hover, .cats a.cats-hot.on { background: var(--ink); }
.sug-box { position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 60; background: #fff; color: var(--ink); border: var(--b); box-shadow: var(--sh); display: none; max-height: 70vh; overflow-y: auto; }
.sug-box.on { display: block; }
.sg { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px dashed #ccc; }
.sg:hover { background: var(--yel); }
.sg-p { width: 38px; height: 54px; flex: none; background: var(--paper2); border: var(--b2); overflow: hidden; }
.sg-p img { width: 100%; height: 100%; object-fit: cover; }
.sg-b { display: flex; flex-direction: column; min-width: 0; }
.sg-b b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-b small { color: var(--gray); font-size: 12.5px; }
.sg-none { padding: 12px; margin: 0; color: var(--gray); }
.sg-all { display: block; padding: 10px; text-align: center; background: var(--ink); color: #fff; font-weight: 700; }

/* ---------- 内容区 ---------- */
.sheet { flex: 1; width: 100%; max-width: var(--w); margin: 0 auto; padding: 22px var(--pad) 46px; }
.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); margin-bottom: 14px; }
.trail a { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--yel); }
.trail i { font-style: normal; font-size: 10px; color: var(--red); }
.trail span { color: var(--gray); }
.cap { position: relative; margin: 0 0 22px; padding: 16px 22px 14px; background: var(--white); border: var(--b); box-shadow: var(--sh); }
.cap::before { content: ""; position: absolute; inset: 0; background: var(--tone); opacity: .6; pointer-events: none; clip-path: polygon(70% 0, 100% 0, 100% 100%, 85% 100%); }
.cap h1 { position: relative; font-size: 34px; }
.cap p { position: relative; margin: 4px 0 0; color: var(--ink2); max-width: 820px; }
.cap-k { position: relative; display: inline-block; margin-bottom: 6px; padding: 1px 10px; background: var(--red); color: #fff; font: 400 15px/1.6 var(--fd); transform: skewX(-8deg); }
.cap-flag { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.cap-flag .cap-f { grid-row: span 2; font-size: 54px; line-height: 1; }
.cap-flag p { grid-column: 2; }

/* 「格」区块 */
.koma { position: relative; margin: 0 0 30px; padding: 18px 20px 20px; background: var(--white); border: var(--b); box-shadow: var(--sh); }
.koma-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: -18px -20px 16px; padding: 0; border-bottom: var(--b); background: var(--paper); }
.koma-h h2 { position: relative; padding: 9px 18px 6px 26px; background: var(--ink); color: #fff; font-size: 22px; clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%); }
.koma-h small { color: var(--gray); font-size: 13px; font-weight: 600; }
.koma-h .more, .more { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: auto; padding: 6px 14px; font-weight: 800; font-size: 13.5px; color: var(--red); }
.koma-h .more:hover, .more:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.koma-h .more .i, .more .i { width: 16px; height: 16px; }
.koma-h > select { margin-inline-start: auto; height: 34px; border: var(--b2); background: #fff; padding: 0 8px; font-weight: 700; }
.koma-h > select + a.more { margin-inline-start: 0; }
.more-b { margin-top: 12px; }
.koma-about p { max-width: 900px; }
.koma-about h3 { font-size: 19px; margin-top: 10px; }
.sw { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 6px; }
.sw button { height: 32px; padding: 0 14px; border: var(--b2); background: #fff; font-weight: 700; font-size: 13.5px; }
.sw button.on { background: var(--red); color: #fff; }

/* 贴纸、分段、筛选 */
.stk { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; margin-bottom: 14px; }
.stk::-webkit-scrollbar { display: none; }
.stk a, .stk button { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 14px; border: var(--b2); background: var(--white); font-weight: 700; font-size: 13.5px; box-shadow: 2px 2px 0 var(--ink); white-space: nowrap; }
.stk a:hover, .stk button:hover { background: var(--yel); }
.stk .on { background: var(--ink) !important; color: #fff; box-shadow: 2px 2px 0 var(--red); }
.stk small { opacity: .7; }
.stk .i { width: 16px; height: 16px; }
.stk-g { flex-wrap: wrap; overflow: visible; }
.seg { display: inline-flex; border: var(--b2); background: var(--white); box-shadow: 2px 2px 0 var(--ink); }
.seg a, .seg button { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 14px; border: 0; background: transparent; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.seg > * + * { border-inline-start: var(--b2) !important; }
.seg .on { background: var(--red); color: #fff; }
.tools-box { margin: 0 0 22px; padding: 14px 16px 12px; border: var(--b); background: var(--paper2); position: relative; }
.tools-box .stk { margin-bottom: 8px; }
.sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flt { position: relative; }
.flt summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: var(--b2); background: var(--white); cursor: pointer; font-size: 13.5px; box-shadow: 2px 2px 0 var(--ink); }
.flt summary::-webkit-details-marker { display: none; }
.flt summary small { color: var(--gray); }
.flt summary .i { width: 16px; height: 16px; }
.flt[open] summary { background: var(--yel); }
.flt > div { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 20; width: 300px; max-width: 82vw; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: #fff; border: var(--b); box-shadow: var(--sh); }
.flt > div a { padding: 4px 10px; border: var(--b2); font-weight: 600; font-size: 13px; }
.flt > div a:hover { background: var(--yel); }
.flt > div a.on { background: var(--ink); color: #fff; }
.flt select { width: 100%; height: 34px; border: var(--b2); background: #fff; margin-top: 4px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 6px; }
.pager a, .pager b, .pager .gap { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 12px; border: var(--b2); background: var(--white); font: 400 18px/1 var(--fd); box-shadow: 2px 2px 0 var(--ink); }
.pager .i { width: 16px; height: 16px; }
.pager b { background: var(--red); color: #fff; }
.pager .gap { border: 0; box-shadow: none; background: none; }
.pager a:hover { background: var(--yel); }
.kw { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; }
.kw a { padding: 2px 11px; border: var(--b2); background: var(--white); font-size: 13px; font-weight: 700; transform: rotate(-1.5deg); }
.kw a:nth-child(2n) { transform: rotate(1.5deg); background: var(--yel); }
.kw a:nth-child(3n) { background: var(--paper2); }
.kw a:hover { background: var(--ink); color: #fff; }

/* ---------- 单行本卡 / 书架 ---------- */
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; }
.shelf-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shelf-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shelf-row { display: flex; overflow-x: auto; gap: 18px; padding: 2px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ink) var(--paper2); }
.shelf-row .vol { flex: 0 0 168px; scroll-snap-align: start; }
.vol { position: relative; display: flex; flex-direction: column; min-width: 0; }
.vol-cv { position: relative; display: block; aspect-ratio: 2 / 3; border: var(--b); background: hsl(var(--h, 0) 30% 80%); box-shadow: var(--sh2); overflow: visible; transition: transform .15s, box-shadow .15s; }
.vol-cv img { width: 100%; height: 100%; object-fit: cover; }
.vol-cv::before { content: ""; position: absolute; inset: 0; background: var(--tone); opacity: .0; pointer-events: none; transition: opacity .15s; z-index: 1; }
.vol-no { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font: 400 20px/1.4 var(--fd); font-style: normal; color: var(--ink);
  background: hsl(var(--h, 0) 40% 82%) var(--tone); }
.vol-sp { position: absolute; top: -3px; bottom: -3px; inset-inline-start: -3px; width: 18px; background: var(--ink); color: #fff; font: 700 9.5px/18px var(--fb); writing-mode: vertical-rl; text-align: center; overflow: hidden; white-space: nowrap; letter-spacing: .3px; }
.vol .bub { position: absolute; top: -12px; inset-inline-end: -8px; font-size: 14px; }
.vol .stamp { position: absolute; bottom: -12px; inset-inline-end: -10px; z-index: 2; width: 38px; height: 38px; font-size: 14px; }
.vol-n { position: absolute; bottom: 4px; inset-inline-start: 22px; z-index: 2; font: 400 54px/1 var(--fd); color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.vol-go { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .15s; z-index: 1; }
.vol-go .i { width: 46px; height: 46px; padding: 11px 9px 11px 13px; border-radius: 50%; background: var(--red); color: #fff; border: var(--b); }
.vol-t { margin-top: 11px; font-weight: 800; font-size: 14.5px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vol-m { color: var(--gray); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vol:hover .vol-cv { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--red); }
.vol:hover .vol-cv::before { opacity: .55; }
.vol:hover .vol-go { opacity: 1; }
.vol:hover .vol-t { color: var(--red); }
.prog { position: absolute; bottom: 0; inset-inline: 0; height: 7px; background: rgba(255, 255, 255, .85); border-top: var(--b2); z-index: 2; }
.prog i { display: block; height: 100%; background: var(--red); }

/* 列表行 */
.lns { display: grid; gap: 10px; }
.lns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.ln { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px 10px; border: var(--b2); background: var(--white); transition: background .12s; }
.ln:hover { background: var(--yel); }
.ln-n { font: 400 28px/1 var(--fd); color: var(--red); min-width: 30px; text-align: center; }
.ln-p { width: 48px; aspect-ratio: 2 / 3; flex: none; border: var(--b2); background: hsl(var(--h, 0) 35% 80%); overflow: hidden; display: grid; place-items: center; font: 400 20px var(--fd); }
.ln-p img { width: 100%; height: 100%; object-fit: cover; }
.ln-p i { font-style: normal; }
.ln-b { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ln-b b { font-weight: 800; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln-b small { color: var(--gray); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln-go { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ln-go .i { width: 15px; height: 15px; }
.ln .bub { flex: none; margin-top: -10px; }
.ln-s { padding: 6px 8px; }
.ln-s .ln-p { width: 40px; }
.ln-s .ln-go { width: 28px; height: 28px; }

/* ---------- 首页：漫画页大推荐 ---------- */
.hero { margin: 0 0 34px; }
.hero-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.hero-cap h1 { font-size: 30px; padding: 6px 18px 2px; background: var(--white); border: var(--b); box-shadow: var(--sh2); }
.hero-cap .cap-k { margin: 0; }
.spread { position: relative; display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: 232px 232px; gap: 12px; padding: 0 30px; transform: skewX(-5deg); }
.pnl { position: relative; min-width: 0; border: 4px solid var(--ink); background: hsl(var(--h, 0) 35% 75%); box-shadow: var(--sh); }
.pnl-1 { grid-row: span 2; }
.pnl-in { position: absolute; inset: 0; overflow: hidden; display: block; }
.pnl-in img, .pnl-no { position: absolute; inset: 0 -30px; width: calc(100% + 60px); max-width: none; height: 100%; object-fit: cover; transform: skewX(5deg); }
.pnl-no { display: grid; place-items: center; font: 400 26px var(--fd); font-style: normal; background: var(--tone); }
.pnl-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 55%), var(--tone-w); opacity: .9; }
.pnl > .bub { position: absolute; top: 12px; inset-inline-start: 14px; transform: skewX(5deg); }
.pnl-cap { position: absolute; bottom: 12px; inset-inline-end: 12px; inset-inline-start: 12px; transform: skewX(5deg); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.pnl-cap > * { pointer-events: auto; }
.pnl-cap small { padding: 0 8px; background: var(--yel); border: var(--b2); font-size: 11.5px; font-weight: 800; }
.pnl-cap b { max-width: 100%; padding: 4px 12px 2px; background: var(--white); border: var(--b2); font: 400 19px/1.35 var(--fd); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnl-cap p { max-width: 520px; margin: 2px 0 4px; padding: 6px 10px; background: rgba(255, 255, 255, .94); border: var(--b2); font-size: 13.5px; line-height: 1.6; }
.pnl-cap .k-btn { min-height: 36px; padding: 0 14px; font-size: 16px; display: none; }
.pnl-1 .pnl-cap b { font-size: 32px; padding: 6px 16px 3px; }
.pnl-1 .pnl-cap .k-btn { display: inline-flex; }
.pnl:hover { box-shadow: 7px 7px 0 var(--red); }

/* 今天的集 */
.tday { display: flex; gap: 16px; overflow-x: auto; padding: 14px 4px 8px; scrollbar-width: thin; scrollbar-color: var(--ink) var(--paper2); }
.td { position: relative; flex: 0 0 132px; display: flex; flex-direction: column; gap: 8px; }
.td-p { display: block; aspect-ratio: 2 / 3; border: var(--b); background: hsl(var(--h, 0) 35% 80%); overflow: hidden; box-shadow: var(--sh2); display: grid; place-items: center; font: 400 28px var(--fd); }
.td-p img { width: 100%; height: 100%; object-fit: cover; }
.td-p i { font-style: normal; }
.td > .bub { position: absolute; top: -10px; inset-inline-start: -6px; background: var(--yel); }
.td > .bub::after { background: var(--yel); }
.td-b b { display: block; font-weight: 800; font-size: 13.5px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.td-b small { color: var(--gray); font-size: 12px; }
.td:hover .td-p { box-shadow: 4px 4px 0 var(--red); }

/* 动漫格 */
.koma-anime { background: var(--white) var(--tone); }
.koma-anime .koma-h h2 { background: var(--red); }

/* 前十 */
.top10 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 16px; counter-reset: t; }
.top10 a { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 20px; }
.t-n { position: absolute; top: 0; inset-inline-start: -6px; z-index: 2; font: 400 64px/1 var(--fd); color: var(--white); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--red); }
.t-p { aspect-ratio: 16 / 10; border: var(--b); background: hsl(var(--h, 0) 35% 78%); overflow: hidden; display: grid; place-items: center; font: 400 26px var(--fd); }
.t-p img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.t-p i { font-style: normal; }
.t-b { display: flex; flex-direction: column; min-width: 0; }
.t-b strong { font-weight: 800; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-b small { color: var(--gray); font-size: 12px; }
.top10 a:hover .t-p { box-shadow: 4px 4px 0 var(--red); }

/* 专题卡 */
.pks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pk { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: var(--b); background: var(--paper2); box-shadow: var(--sh2); }
.pk:hover { box-shadow: 5px 5px 0 var(--red); }
.pk-fan { position: relative; display: flex; justify-content: center; height: 170px; }
.pk-fan span { width: 104px; height: 156px; border: var(--b); background: var(--white); overflow: hidden; box-shadow: var(--sh2); margin-inline: -18px; }
.pk-fan span:nth-child(1) { transform: rotate(8deg) translateY(10px); }
.pk-fan span:nth-child(3) { transform: rotate(-8deg) translateY(10px); }
.pk-fan span:nth-child(2) { z-index: 1; }
.pk-fan img { width: 100%; height: 100%; object-fit: cover; }
.pk-b { display: flex; flex-direction: column; }
.pk-b b { font: 400 21px/1.35 var(--fd); }
.pk-b small { color: var(--gray); font-weight: 600; }
.pk-b span { font-size: 13.5px; margin-top: 4px; }
.pkh { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; margin: 0 0 24px; padding: 22px; border: var(--b); background: var(--white); box-shadow: var(--sh); }
.pk-fan-xl { height: 240px; }
.pk-fan-xl span { width: 140px; height: 210px; }
.pkh h1 { font-size: 34px; margin: 4px 0 8px; }

/* ---------- 「单行本封面」详情头 ---------- */
.vc { position: relative; margin: 0 0 28px; border: var(--b); background: var(--white); box-shadow: var(--sh); overflow: hidden; }
.vc-bg { position: absolute; inset: 0 0 auto; height: 300px; overflow: hidden; background: hsl(var(--h, 0) 30% 60%); border-bottom: var(--b); }
.vc-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.15); opacity: .7; }
.vc-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(17, 17, 17, .5) 1.3px, transparent 1.7px) 0 0 / 6px 6px, linear-gradient(to bottom, transparent 40%, rgba(255, 253, 246, .9)); }
.vc-in { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 34px; padding: 130px 34px 30px; }
.vc-book { position: relative; display: flex; align-self: start; filter: drop-shadow(8px 8px 0 var(--ink)); }
.vc-spine { flex: 0 0 40px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 10px; background: var(--ink); color: #fff; border: var(--b); border-inline-start: 0; }
.vc-spine b { writing-mode: vertical-rl; font: 400 17px/1 var(--fd); max-height: 260px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vc-spine small { writing-mode: vertical-rl; font: 700 11px/1 var(--fb); letter-spacing: 1px; color: var(--yel); }
.vc-cover { position: relative; flex: 1; aspect-ratio: 2 / 3; border: var(--b); background: hsl(var(--h, 0) 35% 78%); overflow: hidden; }
.vc-cover img { width: 100%; height: 100%; object-fit: cover; }
.vc-cover > i { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font: 400 26px/1.4 var(--fd); font-style: normal; background: var(--tone); }
.vc-band { position: absolute; top: 18px; inset-inline-start: -34px; width: 150px; padding: 3px 0; background: var(--red); color: #fff; text-align: center; font: 400 16px/1.5 var(--fd); font-style: normal; transform: rotate(-35deg); border-block: var(--b2); }
.vc-cover .stamp { position: absolute; bottom: 12px; inset-inline-end: 12px; }
.vc-txt { min-width: 0; padding-top: 70px; }
.vc-k { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.vc-k span { padding: 1px 10px; border: var(--b2); background: var(--white); font-size: 13px; font-weight: 700; }
.vc-k span:first-child { background: var(--ink); color: #fff; }
.live-k { display: inline-flex; align-items: center; gap: 6px; background: var(--red) !important; color: #fff; }
.live-k i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.vc-txt h1 { font-size: 44px; line-height: 1.25; }
.vc-en { margin: 2px 0 0; color: var(--gray); font-weight: 600; text-align: right; }
.vc-stats { list-style: none; display: flex; flex-wrap: wrap; margin: 16px 0; padding: 0; border: var(--b); width: max-content; max-width: 100%; background: var(--white); }
.vc-stats li { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 92px; padding: 6px 14px; }
.vc-stats li + li { border-inline-start: var(--b2); }
.vc-stats b { font: 400 24px/1.2 var(--fd); }
.vc-stats small { color: var(--gray); font-size: 12px; font-weight: 600; }
.vc-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.vc-bio { position: relative; max-width: 820px; margin: 0 0 6px; padding: 12px 16px; background: var(--paper); border: var(--b2); line-height: 1.85; }
.vc-txt .vc-bio::before { content: ""; position: absolute; top: -12px; inset-inline-start: 24px; width: 16px; height: 12px; background: var(--paper); border-inline: var(--b2); border-top: 0; clip-path: polygon(0 100%, 100% 100%, 50% 0); display: none; }
.vc-next { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding: 8px 14px; background: var(--yel); border: var(--b2); font-weight: 700; }
.vc-next a { text-decoration: underline; text-decoration-thickness: 2px; }
.vc-next small { color: var(--ink2); font-weight: 600; }

/* 标签页 */
.vbox { margin: 0 0 30px; border: var(--b); background: var(--white); box-shadow: var(--sh); }
.vtabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: var(--b); background: var(--paper2); }
.vtabs::-webkit-scrollbar { display: none; }
.vtabs button { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 12px 20px 9px; border: 0; border-inline-end: var(--b2); background: transparent; font: 400 19px/1 var(--fd); }
.vtabs button .i { width: 18px; height: 18px; }
.vtabs button.on { background: var(--ink); color: #fff; }
.vtabs button:hover:not(.on) { background: var(--yel); }
.vpane { padding: 20px; }
.vbox > .vtabs:only-child { border-bottom: 0; }
[data-wtabs] { border: var(--b); margin-bottom: 18px; box-shadow: var(--sh2); }
.wl-box { margin-bottom: 30px; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: var(--b2); }
.spec > div { display: grid; grid-template-columns: 130px 1fr; border-bottom: 1px dashed #bbb; }
.spec > div:nth-child(odd) { border-inline-end: 1px dashed #bbb; }
.spec dt { padding: 9px 12px; background: var(--paper2); font-weight: 800; font-size: 13px; }
.spec dd { margin: 0; padding: 9px 12px; font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.spec dd a { border-bottom: 2px solid var(--yel); font-weight: 600; }
.spec .spec-hi { grid-column: 1 / -1; }
.spec .spec-hi dd { font: 400 20px/1.4 var(--fd); color: var(--red); }
.vpane .note { margin-top: 14px; }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 14px; }
.crew li { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.crew i { width: 96px; height: 96px; display: grid; place-items: center; border: var(--b); background: var(--paper2) var(--tone); overflow: hidden; font: 400 34px var(--fd); font-style: normal; box-shadow: var(--sh2); transform: rotate(-2deg); }
.crew li:nth-child(2n) i { transform: rotate(2deg); }
.crew img { width: 100%; height: 100%; object-fit: cover; }
.crew b { margin-top: 10px; font-size: 13.5px; font-weight: 800; line-height: 1.35; }
.crew small { color: var(--gray); font-size: 12px; line-height: 1.35; }

/* 章节行（集列表） */
.eps { min-width: 0; }
.rng { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rng button { height: 32px; padding: 0 12px; border: var(--b2); background: var(--white); font: 400 16px/1 var(--fd); }
.rng button.on { background: var(--red); color: #fff; }
.rng-b button { height: 28px; font-size: 14px; }
.eps-body { transition: opacity .15s; }
.eps-body.busy { opacity: .4; }
.chs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.chr { display: flex; align-items: stretch; min-height: 58px; border: var(--b2); background: var(--white); transition: background .12s, box-shadow .12s; }
.chr-n { flex: 0 0 64px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 400 26px/1 var(--fd); }
.chr-b { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 12px; }
.chr-b strong { font: 400 17px/1.3 var(--fd); }
.chr-b strong em { font-style: normal; padding: 0 6px; background: var(--red); color: #fff; font-size: 13px; }
.chr-b small { color: var(--gray); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chr-go { flex: 0 0 52px; display: grid; place-items: center; border-inline-start: var(--b2); color: var(--red); font-size: 12px; font-weight: 800; }
.chr-go .i { width: 20px; height: 20px; }
a.chr:hover { background: var(--yel); box-shadow: 3px 3px 0 var(--ink); }
.chr.on { background: var(--yel); }
.chr.on .chr-n { background: var(--red); }
.chr.soon { background: var(--paper2); color: var(--gray); }
.chr.soon .chr-n { background: #8b877c; }
a.chr.soon .chr-go { color: var(--ink); background: var(--yel); }
.epn { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 7px; }
.epn a, .epn span { display: grid; place-items: center; height: 44px; border: var(--b2); background: var(--white); font: 400 18px/1 var(--fd); }
.epn a:hover { background: var(--yel); }
.epn a.on { background: var(--red); color: #fff; box-shadow: 2px 2px 0 var(--ink); }
.epn .soon { background: var(--paper2); color: var(--gray2); border-style: dashed; }
.epn a.soon { color: var(--ink); }

/* 对话式问答 */
.talk { position: relative; margin: 0 0 30px; padding: 18px 20px 20px; background: var(--white) var(--tone); border: var(--b); box-shadow: var(--sh); }
.talk .koma-h { background: var(--paper); }
.talk-l { display: flex; flex-direction: column; gap: 14px; }
.talk-i { display: flex; flex-direction: column; }
.talk-q { margin: 0; font: inherit; align-self: flex-start; max-width: 86%; }
.talk-q button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 18px; text-align: start; border: var(--b); border-radius: 22px 22px 4px 22px; background: var(--white); font: 700 15px/1.6 var(--fb); box-shadow: var(--sh2); }
.talk-q button i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 400 17px/1 var(--fd); font-style: normal; }
.talk-q button:hover { background: var(--yel); }
.talk-i.on .talk-q button { background: var(--ink); color: #fff; }
.talk-a { align-self: flex-end; display: flex; align-items: flex-end; gap: 8px; max-width: 86%; margin-top: 10px; }
.talk-av { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: var(--b2); border-radius: 50%; background: var(--yel); }
.talk-a p { margin: 0; padding: 10px 16px; border: var(--b); border-radius: 22px 22px 22px 4px; background: var(--yel); font-size: 14.5px; line-height: 1.8; }

/* ---------- 放映格（播放页） ---------- */
.theater { margin: 0 0 26px; border: var(--b); background: var(--ink); color: #fff; box-shadow: 6px 6px 0 var(--red); }
.th-h { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--ink) var(--tone-w); border-bottom: 3px solid #333; }
.th-p { position: relative; flex: none; width: 54px; aspect-ratio: 2 / 3; border: 2px solid #fff; background: hsl(var(--h, 0) 35% 60%); display: grid; place-items: center; font: 400 22px var(--fd); }
.th-p img { width: 100%; height: 100%; object-fit: cover; }
.th-p i { font-style: normal; }
.th-p .bub { position: absolute; bottom: -10px; inset-inline-start: 22px; font-size: 13px; padding: 1px 8px 2px; }
.th-t { min-width: 0; flex: 1; }
.th-t h1 { font-size: 26px; line-height: 1.3; }
.th-en { margin: 0 0 4px; color: #bbb; font-size: 12.5px; text-align: right; }
.th-t .lbls { margin-top: 4px; }
.th-t .lbl { border-color: #fff; background: transparent; color: #fff; }
.th-t .lbl-q { background: #fff; color: var(--ink); }
.th-t .lbl-dub { background: var(--yel); color: var(--ink); border-color: var(--yel); }
.th-t .lbl-ar, .th-t .lbl-fin { background: var(--red); border-color: var(--red); }
.scr { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.scr-in { position: absolute; inset: 0; background: #000 center / cover no-repeat; }
.scr-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(0, 0, 0, .55) 1.3px, transparent 1.7px) 0 0 / 6px 6px, rgba(0, 0, 0, .35); pointer-events: none; }
.scr-in iframe, .scr iframe, .scr video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; }
.scr-play { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 0; background: transparent; color: #fff; }
.scr-play > span { width: 96px; height: 96px; display: grid; place-items: center; background: var(--red); border: 4px solid #fff; border-radius: 50%; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s; }
.scr-play > span .i { width: 40px; height: 40px; transform: translateX(3px); }
.scr-play small { padding: 3px 14px; background: #fff; color: var(--ink); border: var(--b2); font: 400 17px/1.5 var(--fd); }
.scr-play:hover > span { transform: scale(1.06) rotate(-4deg); }
.scr-msg { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; }
.scr-msg b { padding: 6px 18px 3px; background: #fff; color: var(--ink); border: var(--b); font: 400 22px/1.4 var(--fd); font-weight: 400; }
.scr-msg span { padding: 2px 12px; background: var(--yel); color: var(--ink); font-weight: 700; font-size: 14px; }
.scr-msg code { direction: ltr; font-size: 12px; background: #000; padding: 4px 8px; }
.scr-re { position: absolute; bottom: 16px; inset-inline: 0; z-index: 4; text-align: center; }
.nx-cd { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 5; padding: 14px 16px; background: #fff; color: var(--ink); border: var(--b); box-shadow: 5px 5px 0 var(--red); font-size: 14px; }
.nx-cd .nx-m { color: var(--gray); font-size: 13px; }
.th-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-top: 3px solid #333; }
.tl { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 2px solid #fff; background: transparent; color: #fff; font-weight: 700; font-size: 13.5px; }
.tl:hover { background: #fff; color: var(--ink); }
.tl.on { background: var(--yel); color: var(--ink); border-color: var(--yel); }
.tl .i { width: 18px; height: 18px; }
.th-nav { display: inline-flex; gap: 8px; margin-inline-end: auto; }
.th-nav .k-btn { min-height: 38px; font-size: 16px; box-shadow: 3px 3px 0 var(--red); }
.th-note { margin: 0; padding: 0 14px 12px; color: #bbb; }
body.dim::before { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .9); }
body.dim .theater { position: relative; z-index: 46; }
.srv { display: flex; flex-direction: column; gap: 12px; }
.ln-g { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ln-g > b { min-width: 62px; padding: 2px 10px; background: var(--ink); color: #fff; font: 400 16px/1.6 var(--fd); font-weight: 400; text-align: center; }
.ln-g button { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px 0 6px; border: var(--b2); background: var(--white); text-align: start; box-shadow: 2px 2px 0 var(--ink); }
.ln-g button i { width: 30px; height: 30px; display: grid; place-items: center; background: var(--paper2); border: var(--b2); font: 400 16px/1 var(--fd); font-style: normal; }
.ln-g button span { font-weight: 800; font-size: 13.5px; }
.ln-g button small { color: var(--gray); font-size: 11.5px; }
.ln-g button:hover { background: var(--yel); }
.ln-g button.on { background: var(--red); color: #fff; box-shadow: 2px 2px 0 var(--ink); }
.ln-g button.on i { background: #fff; color: var(--ink); }
.ln-g button.on small { color: #ffe1e1; }
.ln-g button.miss, .ln-g button[data-off] { opacity: .5; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 26px; align-items: start; }
.duo-s .koma { margin-bottom: 26px; }
.about-s .ln { border: 0; padding: 0; margin-bottom: 12px; }
.about-s .ln:hover { background: none; }
.about-s .k-btn { width: 100%; }
.ep-name { font-size: 22px; margin: 0 0 8px; }
.soon-k { background: var(--yel); }
.soon-k .koma-h h2 { background: var(--red); }
.soon-b { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: start; }
.soon-d { display: flex; flex-direction: column; align-items: center; padding: 10px; background: var(--white); border: var(--b); box-shadow: var(--sh2); text-align: center; }
.soon-d b { font: 400 64px/1 var(--fd); color: var(--red); }
.soon-d small { font-weight: 700; font-size: 13px; }
.soon-b .spec { grid-template-columns: 1fr; background: var(--white); margin-bottom: 12px; }
.soon-b .spec > div { border-inline-end: 0 !important; }

/* ---------- 播出表 ---------- */
.nums { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 22px; padding: 0; }
.nums li { display: flex; align-items: baseline; gap: 8px; padding: 8px 18px 6px; border: var(--b); background: var(--white); box-shadow: var(--sh2); }
.nums li:first-child { background: var(--yel); }
.nums b { font: 400 34px/1.1 var(--fd); }
.nums small { font-weight: 700; font-size: 13px; }
.nums-s { margin: 10px 0 14px; }
.nums-s li { padding: 4px 12px; }
.nums-s b { font-size: 24px; }
.dtabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; border-bottom: var(--b); padding: 0 4px; }
.dtabs::-webkit-scrollbar { display: none; }
.dtabs button, .dtabs a { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: 8px 12px 6px; margin-bottom: -3px; border: var(--b); border-bottom: 0; background: var(--paper2); margin-inline-end: -3px; }
.dtabs b { font: 400 18px/1.2 var(--fd); font-weight: 400; display: inline-flex; align-items: center; gap: 5px; }
.dtabs b .i { width: 17px; height: 17px; }
.dtabs small { font-size: 11.5px; color: var(--gray); font-weight: 700; }
.dtabs [data-fut] { background: var(--white); border-style: dashed; border-bottom: 0; }
.dtabs .on { background: var(--red) !important; color: #fff; border-style: solid; position: relative; z-index: 1; padding-top: 12px; }
.dtabs .on small { color: #ffe0e0; }
.dtabs a:hover:not(.on), .dtabs button:hover:not(.on) { background: var(--yel); }
.stk-k { margin-bottom: 18px; }
.sim-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.sim-row a { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border: var(--b2); background: var(--white); min-height: 84px; }
.sim-row a:hover { background: var(--yel); box-shadow: 3px 3px 0 var(--ink); }
.sim-row a.fresh { border-inline-start: 7px solid var(--red); }
.sim-p { flex: none; width: 46px; aspect-ratio: 2 / 3; border: var(--b2); background: hsl(var(--h, 0) 35% 80%); overflow: hidden; display: grid; place-items: center; font: 400 18px var(--fd); }
.sim-p img { width: 100%; height: 100%; object-fit: cover; }
.sim-p i { font-style: normal; }
.sim-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sim-b b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-b span { font-size: 13px; font-weight: 600; }
.sim-b small { color: var(--gray); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-row .bub { flex: none; margin-top: -14px; }

/* ---------- 搜索 / 404 / 空状态 ---------- */
.look { margin: 0 0 26px; padding: 22px; border: var(--b); background: var(--white) var(--tone); box-shadow: var(--sh); }
.look h1 { font-size: 32px; margin-bottom: 12px; }
.qbig { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; padding-inline-start: 14px; border: var(--b); background: var(--white); box-shadow: var(--sh2); }
.qbig > .i { color: var(--gray); }
.qbig input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; outline: none; font-size: 16px; }
.oops { text-align: center; padding-top: 34px; }
.oops-b { position: relative; display: inline-block; padding: 8px 24px; margin-bottom: 12px; border: var(--b); border-radius: 50%; background: var(--yel); font: 400 24px/1.3 var(--fd); }
.oops h2 { font-size: 24px; }
.oops .k-btn { margin-top: 6px; }
.lost { position: relative; max-width: 720px; margin: 10px auto 34px; padding: 34px 26px 30px; text-align: center; border: var(--b); background: var(--white) var(--tone); box-shadow: 8px 8px 0 var(--ink); }
.lost-code { display: inline-block; padding: 4px 40px; background: var(--ink); color: #fff; font: 400 104px/1.05 var(--fd); transform: skewX(-8deg); box-shadow: 7px 7px 0 var(--red); }
.lost-bub { position: absolute; top: 18px; inset-inline-start: 22px; padding: 8px 18px; border: var(--b); border-radius: 50%; background: var(--yel); font: 400 19px/1.3 var(--fd); transform: rotate(-6deg); }
.lost h1 { font-size: 30px; margin: 22px 0 6px; }
.lost p { color: var(--ink2); }
.lost .qbig { margin: 16px 0 16px; text-align: start; }

/* 排行 */
.rank { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.rank a { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: var(--b2); background: var(--white); min-height: 86px; }
.rank a:hover { background: var(--yel); box-shadow: 3px 3px 0 var(--ink); }
.rank-n { flex: 0 0 58px; text-align: center; font: 400 40px/1 var(--fd); color: var(--white); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--red); }
.rank-p { flex: none; width: 46px; aspect-ratio: 2 / 3; border: var(--b2); background: hsl(var(--h, 0) 35% 80%); overflow: hidden; display: grid; place-items: center; font: 400 18px var(--fd); }
.rank-p img { width: 100%; height: 100%; object-fit: cover; }
.rank-p i { font-style: normal; }
.rank-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rank-b strong { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-b small { color: var(--gray); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .stamp { flex: none; }
.rank-top { grid-column: span 2; }
.rank-top a { min-height: 150px; border-width: 3px; box-shadow: var(--sh); background: var(--white) var(--tone); }
.rank-top .rank-n { flex-basis: 100px; font-size: 84px; -webkit-text-stroke-width: 3px; }
.rank-top .rank-p { width: 86px; border-width: 3px; }
.rank-top .rank-b strong { font: 400 26px/1.35 var(--fd); }
.rank-top .stamp { width: 58px; height: 58px; font-size: 21px; }

/* 类型 / 国家格、关键词墙 */
.gts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.gt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 88px; padding: 10px 14px; border: var(--b2); background: var(--white); overflow: hidden; }
.gt::before { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 55%; height: 100%; background: var(--tone); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); }
.gt:nth-child(4n+2) { background: var(--yel); }
.gt:nth-child(4n+3) { background: var(--paper2); }
.gt:nth-child(5n) { background: var(--ink); color: #fff; }
.gt:nth-child(5n)::before { background: var(--tone-w); }
.gt b { position: relative; font: 400 21px/1.3 var(--fd); }
.gt small { position: relative; font-size: 12px; font-weight: 700; opacity: .75; }
.gt-f { position: relative; font-size: 30px; line-height: 1; margin-bottom: auto; }
.gt:hover { box-shadow: 4px 4px 0 var(--red); transform: translate(-1px, -1px); }
.gts-hot .gt { background: var(--red); color: #fff; }
.gts-hot .gt::before { background: var(--tone-w); }
.gts-c .gt { min-height: 104px; }
.tagwall { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px; border: var(--b); background: var(--white) var(--tone); box-shadow: var(--sh); }
.tagwall a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: var(--b2); background: var(--white); box-shadow: 2px 2px 0 var(--ink); }
.tagwall b { font: 400 18px/1.3 var(--fd); }
.tagwall small { font-weight: 800; font-size: 11.5px; padding: 0 6px; background: var(--ink); color: #fff; }
.tagwall .tw-1 { transform: rotate(-2deg); background: var(--yel); }
.tagwall .tw-2 { transform: rotate(1.5deg); }
.tagwall .tw-3 { background: var(--red); color: #fff; transform: rotate(-1deg); }
.tagwall a:hover { background: var(--ink); color: #fff; }

/* 单页 */
.doc { max-width: 880px; margin: 0 auto 30px; padding: 26px 30px; border: var(--b); background: var(--white); box-shadow: var(--sh); background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(17, 17, 17, .06) 31px 32px); }
.doc-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.doc-h span { display: flex; flex-direction: column; }
.doc-h b { font: 400 18px/1.2 var(--fd); }
.doc-h small { color: var(--gray); font-size: 12px; }
.doc h1 { font-size: 34px; margin-bottom: 10px; }
.doc-b h2 { font-size: 22px; margin: 18px 0 6px; }
.doc-b a, .doc-b .mail { color: var(--red); font-weight: 700; text-decoration: underline; }
.doc-b ul { padding-inline-start: 22px; }

/* ---------- 封底 ---------- */
.backcover { background: var(--ink) var(--tone-w); color: #ddd; border-top: 6px solid var(--red); margin-top: auto; }
.bc-in { max-width: var(--w); margin: 0 auto; padding: 36px var(--pad) 22px; display: grid; grid-template-columns: 320px 1fr; gap: 40px; }
.bc-brand .brand b { color: #fff; font-size: 34px; }
.bc-brand p { margin: 12px 0 16px; color: #bbb; }
.barcode { display: inline-flex; flex-direction: column; gap: 3px; padding: 8px 10px 4px; background: #fff; color: var(--ink); }
.barcode i { display: block; width: 150px; height: 42px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.barcode small { font: 700 10px/1 var(--fb); letter-spacing: 1.5px; text-align: center; direction: ltr; }
.bc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.bc-cols nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bc-cols h2 { font-size: 20px; color: #fff; margin-bottom: 6px; padding: 0 10px; background: var(--red); }
.bc-cols a { color: #ccc; font-size: 14px; }
.bc-cols a:hover { color: var(--yel); }
.bc-kw { flex-direction: row !important; flex-wrap: wrap; gap: 6px !important; align-content: flex-start; }
.bc-kw h2 { width: 100%; flex: 0 0 auto; }
.bc-kw a { padding: 0 8px; border: 1px solid #555; font-size: 12.5px; }
.bc-legal { max-width: var(--w); margin: 0 auto; padding: 14px var(--pad) 26px; border-top: 1px dashed #444; display: flex; flex-direction: column; gap: 4px; }
.bc-legal small { color: #999; font-size: 12px; line-height: 1.7; }
.tmdb-attr b { color: #90cea1; }

/* ---------- 抽屉 ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(17, 17, 17, 0); transition: background .2s; }
.drawer.on { background: rgba(17, 17, 17, .6); }
.drawer-p { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(340px, 88vw); background: var(--paper) var(--tone); border-inline-end: 4px solid var(--ink); overflow-y: auto; transform: translateX(100%); transition: transform .22s; }
.drawer.on .drawer-p { transform: none; }
.drawer-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--ink); color: #fff; border-bottom: 4px solid var(--red); }
.drawer-h .brand b { color: #fff; font-size: 26px; }
.drawer-l { display: flex; flex-direction: column; padding: 12px; gap: 6px; }
.drawer-l a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: var(--b2); background: var(--white); font-weight: 700; }
.drawer-l a.hot { background: var(--red); color: #fff; font: 400 19px/1.2 var(--fd); }
.drawer-l a.on { background: var(--ink); color: #fff; }
.drawer-w { margin: 6px 12px 16px; }
.drawer-w h2 { font-size: 19px; margin-bottom: 8px; padding: 0 10px; background: var(--ink); color: #fff; display: inline-block; }
.drawer-w h2 small { color: var(--yel); font: 700 12px var(--fb); }
.drawer-w .ln { margin-bottom: 6px; }
.drawer-w .more { margin-top: 2px; padding-inline: 0; }
.mm { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px; border: var(--b2); background: var(--white); font-size: 13px; }
.mm b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.mm em { font: 400 16px var(--fd); font-style: normal; display: inline-flex; gap: 3px; }
.mm em i { font-style: normal; }
.mm > i { font-style: normal; color: var(--gray); font-size: 12px; }
.mm > i.onair { color: #fff; }

/* 提示、Cookie */
.toast { visibility: hidden; position: fixed; bottom: 24px; left: 50%; z-index: 99; transform: translate(-50%, 140%); padding: 10px 22px; background: var(--yel); border: var(--b); box-shadow: var(--sh2); font-weight: 800; transition: transform .2s; pointer-events: none; max-width: 90vw; }
.toast.on { visibility: visible; transform: translate(-50%, 0); }
.cookie-bar { position: fixed; bottom: 14px; inset-inline: 14px; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 760px; margin: 0 auto; padding: 12px 16px; background: #fff; border: var(--b); box-shadow: var(--sh); font-size: 14px; }
.cookie-bar a { color: var(--red); font-weight: 700; }
.ad-slot { margin: 0 0 24px; text-align: center; overflow: hidden; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .shelf { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .top10 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .duo { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 960px) {
  :root { --pad: 16px; }
  .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 14px; }
  .top10 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spread { grid-template-columns: 1.3fr 1fr; grid-template-rows: 210px 160px 160px; padding: 0 22px; }
  .pnl-1 { grid-row: span 1; grid-column: span 2; }
  .vc-in { grid-template-columns: 230px 1fr; gap: 24px; padding: 110px 22px 24px; }
  .vc-txt h1 { font-size: 36px; }
  .duo { grid-template-columns: 1fr; }
  .pks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-in { grid-template-columns: 1fr; gap: 26px; }
  .chs, .sim-l, .rank { grid-template-columns: 1fr; }
  .rank-top { grid-column: auto; }
}
@media (max-width: 860px) {
  .ib-menu, .ib-q { display: inline-grid; }
  .inkbar-in { height: 58px; gap: 10px; }
  .brand b { font-size: 25px; }
  .inkbar .brand .mk { width: 32px; height: 32px; }
  .inkbar .brand img { height: var(--logo-h-m); }
  .ib-x { margin-inline-start: auto; gap: 8px; }
  .ib-btn { width: 38px; height: 38px; }
  .ib-wl { display: none; }
  .qbox { display: none; position: absolute; top: 100%; inset-inline: 0; max-width: none; height: 54px; margin: 0; padding: 7px var(--pad); background: var(--ink); border: 0; border-bottom: 4px solid var(--red); }
  .qbox input { background: #fff; border: 2px solid #fff; }
  .qbox .sug-box { top: 100%; inset-inline: var(--pad); }
  .inkbar.q-on .qbox { display: flex; }
  .cats { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .sheet { padding-top: 16px; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
  .shelf-row .vol { flex-basis: 128px; }
  .vol-t { font-size: 13px; }
  .vol .bub { font-size: 12px; padding: 1px 8px 2px; top: -10px; }
  .vol .stamp { width: 32px; height: 32px; font-size: 12px; }
  .vol-sp { width: 14px; font-size: 8px; line-height: 14px; }
  .top10 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-n { font-size: 50px; }
  .cap { padding: 12px 14px; }
  .cap h1, .look h1 { font-size: 26px; }
  .koma { padding: 14px 12px 16px; margin-bottom: 24px; box-shadow: 4px 4px 0 var(--ink); }
  .koma-h { margin: -14px -12px 14px; }
  .koma-h h2 { font-size: 19px; padding: 8px 12px 5px 20px; }
  .talk { padding: 14px 12px 16px; }
  .talk .koma-h { margin: -14px -12px 14px; }
  .talk-q, .talk-a { max-width: 96%; }
  .hero-cap h1 { font-size: 22px; padding: 6px 12px 2px; }
  .spread { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 140px 140px; gap: 9px; padding: 0 14px; transform: skewX(-3deg); }
  .pnl { border-width: 3px; box-shadow: 3px 3px 0 var(--ink); }
  .pnl-in img, .pnl-no, .pnl > .bub, .pnl-cap { transform: skewX(3deg); }
  .pnl-cap { bottom: 8px; inset-inline: 8px; }
  .pnl-cap b { font-size: 15px; padding: 2px 8px 1px; }
  .pnl-1 .pnl-cap b { font-size: 22px; }
  .pnl-cap p { display: none; }
  .pnl-cap small { display: none; }
  .pnl-1 .pnl-cap small { display: inline; }
  .pnl > .bub { top: 8px; font-size: 13px; }
  .bub-xl { font-size: 16px; padding: 3px 12px 5px; }
  .vc-bg { height: 210px; }
  .vc-in { grid-template-columns: 1fr; padding: 70px 14px 18px; gap: 18px; }
  .vc-book { width: 220px; margin: 0 auto; filter: drop-shadow(6px 6px 0 var(--ink)); }
  .vc-txt { padding-top: 0; text-align: center; }
  .vc-k, .vc-act { justify-content: center; }
  .vc-txt h1 { font-size: 30px; }
  .vc-en { text-align: center; }
  .vc-stats { margin-inline: auto; }
  .vc-stats li { min-width: 74px; padding: 6px 8px; }
  .vc-stats b { font-size: 20px; }
  .vc-bio { text-align: start; }
  .kw { justify-content: center; }
  .vpane { padding: 14px 12px; }
  .vtabs button { padding: 11px 14px 8px; font-size: 17px; }
  .spec { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 108px 1fr; border-inline-end: 0 !important; }
  .lns-2 { grid-template-columns: 1fr; }
  .th-h { padding: 10px 12px; }
  .th-t h1 { font-size: 20px; }
  .th-p { width: 44px; }
  .th-tools { gap: 5px; padding: 8px; }
  .tl { height: 36px; padding: 0 9px; font-size: 12.5px; }
  .tl span { display: none; }
  .th-nav { width: 100%; justify-content: space-between; margin-bottom: 4px; }
  .th-nav .k-btn { flex: 1; }
  .scr-play > span { width: 72px; height: 72px; }
  .scr-play > span .i { width: 30px; height: 30px; }
  .theater { margin-inline: calc(var(--pad) * -1); border-inline: 0; box-shadow: none; }
  .pks { grid-template-columns: 1fr; }
  .pkh { grid-template-columns: 1fr; }
  .gts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-cols { grid-template-columns: 1fr 1fr; }
  .bc-kw { grid-column: 1 / -1; }
  .lost-code { font-size: 76px; padding: 2px 26px; }
  .lost-bub { position: static; display: inline-block; margin-top: 16px; }
  .lost h1 { font-size: 24px; margin-top: 12px; }
  .rank-top .rank-n { flex-basis: 60px; font-size: 56px; }
  .rank-top .rank-p { width: 64px; }
  .rank-top .rank-b strong { font-size: 20px; }
  .rank-n { flex-basis: 42px; font-size: 32px; }
  .rank a { gap: 10px; padding: 8px 10px; }
  .soon-b { grid-template-columns: 1fr; }
  .soon-d { flex-direction: row; gap: 10px; justify-content: center; }
  .soon-d b { font-size: 40px; }
  .nums li { padding: 6px 12px; }
  .nums b { font-size: 26px; }
  .doc { padding: 18px 16px; }
  .doc h1 { font-size: 26px; }
  .qbig { padding-inline-start: 10px; }
  .qbig .k-btn { padding: 0 12px; }
  .chr-n { flex-basis: 54px; font-size: 22px; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .sortbar { position: relative; }
  .flt { position: static; }
  .flt > div { inset-inline: 0; width: auto; max-width: none; }
}
@media (max-width: 380px) {
  .brand b { font-size: 22px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
