/* ---------- 漫画板块：竖封面卡、首页、更新表、排行、分类、详情、书架、阅读器 ---------- */
@media (max-width: 719.98px) {
  .hide-m { display: none !important; }
}
.mg { padding-top: 4px; }
.msec .sec-t h2 .sec-n { margin-left: 8px; font: 400 13px var(--num); color: var(--dim); }

/* 竖封面 3:4 */
.mcv { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--s2); box-shadow: 0 0 0 1px rgba(255,255,255,.04); flex: none; }
.mcv img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-page) var(--ease); }
.mcv-t { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; font-size: 15px; font-weight: 700; color: var(--mid); text-align: center; background: linear-gradient(160deg, var(--s3), var(--s1)); }
/* 有封面时书名垫在底下，封面取不到才露出来 */
.mcv-t.is-bk, .mcv > img.is-err, .mban-bg img.is-err, .mdh-bg img.is-err { visibility: hidden; }
.mcv:has(> img.is-err) .mcv-t { visibility: visible; }
.mcv em { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 7px 5px; font: normal 600 11px var(--num); color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); }
.mdot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px rgba(17,16,19,.85); }
.mc { display: block; min-width: 0; }
.mc b { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t-fade); }
.mc small { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc .mcv { transition: transform var(--t-fade) var(--ease), box-shadow var(--t-fade); }
@media (hover: hover) {
  .mc:hover .mcv { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.4); }
  .mc:hover b { color: var(--pink); }
}
.mc .mcv em:only-of-type { font-size: 11px; }
.mg5 .mc .mcv em, .mrail .mc .mcv em { font-size: 12px; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
.mrail { gap: 10px; }
.mrail > .mc { flex: none; width: 108px; scroll-snap-align: start; }
.mnew { margin-left: 6px; height: 17px; padding: 0 5px; border-radius: 6px; display: inline-flex; align-items: center; vertical-align: 2px; font-size: 11px; font-weight: 700; color: var(--pink); box-shadow: inset 0 0 0 1px rgba(236,127,160,.55); }

/* 列表行 */
.mgl { display: flex; flex-direction: column; }
.mr { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.mr + .mr { border-top: 1px solid var(--line); }
.mr-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.mr-a .mcv { width: 54px; border-radius: 10px; }
.mr-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mr-t b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-t small { font-size: 12px; color: var(--mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-t em { font-style: normal; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-t em b { font-size: 12px; font-weight: 700; color: var(--pink); }
.mr-a:hover .mr-t b { color: var(--pink); }
.mfo { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: var(--s2); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background var(--t-fade), color var(--t-fade), transform var(--t-press); }
.mfo svg { width: 15px; height: 15px; }
.mfo:hover { background: var(--s3); }
.mfo:active { transform: scale(.94); }
.mfo[aria-pressed="true"] { background: var(--pink-soft); color: var(--pink); }
.mfo.is-go { background: var(--pink); color: var(--pink-ink); }
.btn.mfo { height: 46px; padding: 0 20px; font-size: 15px; }
.btn.sm.mfo { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.mfo svg { width: 18px; height: 18px; }
.btn.glass.mfo[aria-pressed="true"] { background: var(--pink-soft); color: var(--pink); }
.mgrp { margin: 22px 0 4px; font-size: 13px; font-weight: 500; color: var(--dim); }

/* 板块页签：电脑顶栏下一条 */
.mbar { display: flex; align-items: center; gap: 4px; height: 56px; }
.mbar-tabs { display: flex; gap: 4px; }
.mbar-tabs a, .mbar-g a { height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 15px; color: var(--mid); white-space: nowrap; transition: background var(--t-fade), color var(--t-fade); }
.mbar-tabs a:hover, .mbar-g a:hover { color: var(--ink); background: var(--s1); }
.mbar-tabs a { box-shadow: inset 0 0 0 1px var(--line); }
.mbar-tabs a[aria-current="page"] { background: var(--ink); color: var(--bg); font-weight: 700; box-shadow: none; }
.mbar-sep { flex: none; width: 1px; height: 18px; margin: 0 10px; background: var(--line); }
.mbar-g { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.mbar-g a { font-size: 14px; padding: 0 12px; }
.mbar-all { margin-left: auto; flex: none; height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; background: var(--s2); color: var(--mid); font-size: 14px; }
.mbar-all:hover { background: var(--s3); color: var(--ink); }
.mbar-all svg { width: 14px; height: 14px; }

/* 首页大图：手机一张横幅，右下叠竖封面 */
.mhero { padding-top: 12px; }
.mban { position: relative; height: 200px; border-radius: 16px; overflow: hidden; background: var(--s1); isolation: isolate; touch-action: pan-y pinch-zoom; }
.mban-s { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity var(--t-hero) var(--ease), visibility 0s linear var(--t-hero); }
.mban-s.is-on { opacity: 1; visibility: visible; transition: opacity var(--t-hero) var(--ease); }
.mban-bg { position: absolute; inset: 0; -webkit-tap-highlight-color: transparent; }
.mban-bg img { width: 100%; height: 100%; object-fit: cover; }
.mban-bg img.is-blur { filter: blur(26px) saturate(1.3); transform: scale(1.2); opacity: .75; }
.mban-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,16,19,.82), rgba(17,16,19,.2) 70%), linear-gradient(0deg, rgba(17,16,19,.7), transparent 60%); }
.mban-t { position: absolute; left: 16px; right: 110px; bottom: 18px; display: flex; flex-direction: column; gap: 3px; pointer-events: none; }
.mban-t a, .mban-t button { pointer-events: auto; }
.mban-k { font-size: 12px; font-weight: 700; color: var(--pink); }
.mban-t h2 { font-size: 20px; line-height: 1.25; }
.mban-t h2 a:hover { color: var(--pink); }
.mban-m { font-size: 12px; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mban-cv { position: absolute; right: 16px; bottom: 16px; width: 82px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.mban-cv .mcv { border-radius: 10px; }
.mban-dots { position: absolute; z-index: 2; left: 16px; top: 14px; display: flex; gap: 5px; }
.mban-dots button { width: 6px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.4); transition: width var(--t-fade) var(--ease), background var(--t-fade); }
.mban-dots button[aria-selected="true"] { width: 16px; background: #fff; }
@media (pointer: coarse) {
  .mban-dots { gap: 12px; }
  .mban-dots button { position: relative; }
  .mban-dots button::before { content: ""; position: absolute; inset: -19px -6px; }
}

/* 首页其他 */
.mconts { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scroll-snap-type: x mandatory; }
.mconts::-webkit-scrollbar { display: none; }
.mct { flex: none; width: 250px; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--s1); scroll-snap-align: start; transition: background var(--t-fade); }
.mct:hover { background: var(--s2); }
.mct .mcv { width: 52px; border-radius: 6px; }
.mct .mr-t { flex: 1; }
.mbar-p { display: block; height: 3px; margin-top: 6px; border-radius: 6px; background: var(--s3); overflow: hidden; }
.mbar-p i { display: block; height: 100%; border-radius: 6px; background: var(--pink); }
.mrks { margin: 0; padding: 0; list-style: none; }
.mrk { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.mrk > .n { flex: none; width: 20px; font: 700 18px var(--num); color: var(--dim); text-align: center; }
li:nth-child(-n+3) > .mrk > .n, .mrise .mrk:nth-of-type(-n+3) > .n { color: var(--pink); }
.mrk .mcv { width: 44px; border-radius: 6px; }
.mrk:hover .mr-t b { color: var(--pink); }
.mgenres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mgenres a { height: 58px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--t-fade); }
.mgenres a:hover { background: var(--s2); }
.mgenres b { font-size: 14px; }
.mgenres small { font: 11px var(--num); color: var(--dim); }
.mtoday-none { padding: 30px 0; text-align: center; font-size: 13px; color: var(--dim); }

/* 更新表 */
.mup { padding-top: 12px; }
.mweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--s1); }
.mweek a { height: 52px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--mid); transition: background var(--t-fade), color var(--t-fade); }
.mweek a:hover { color: var(--ink); }
.mweek b { font-size: 15px; }
.mweek small { font: 11px var(--num); color: var(--dim); }
.mweek a[aria-current="page"] { background: var(--pink); color: var(--pink-ink); }
.mweek a[aria-current="page"] small { color: inherit; opacity: .75; }
.mup-h { display: flex; align-items: baseline; gap: 10px; padding: 18px 0 0; }
.mup-h b { font-size: 18px; }
.mup-h span { font-size: 13px; color: var(--mid); }
.mup-h small { margin-left: auto; font-size: 12px; color: var(--dim); }

/* 排行 */
.mrank { padding-top: 14px; }
.mrank-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.mrank-h h1 { font-size: 24px; line-height: 1.25; }
.mrank-h .cx-seg { margin-left: 0; align-self: center; }
.mrank-h small { font-size: 12px; color: var(--dim); }
.mrank-l { margin: 10px 0 0; padding: 0; list-style: none; }
.mrank-i { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.mrank-i + .mrank-i { border-top: 1px solid var(--line); }
.mrank-i > .n { flex: none; width: 26px; font: 700 20px var(--num); color: var(--dim); text-align: center; }
.mrank-i.is-top > .n { color: var(--pink); }
.mrank-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.mrank-a .mcv { width: 64px; border-radius: 10px; }
.mrank-a:hover .mr-t b { color: var(--pink); }
.mrank-ab { margin-top: 2px; font-size: 13px; color: var(--mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrank-v { flex: none; width: 96px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.mrank-v b { font-size: 18px; line-height: 1.1; }
.mrank-v small { font-size: 12px; color: var(--dim); }

/* 分类 */
.mall { padding-top: 12px; }
.msearch { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; margin-bottom: 12px; border-radius: 999px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.msearch svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.msearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
.mall-h { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.mall-h .cx-sorts { margin-top: 0; }
.mall-n { margin-left: auto; font-size: 13px; color: var(--dim); white-space: nowrap; }
.mall-n b { color: var(--ink); font-size: 15px; }
.mall .cx-grid { margin-top: 14px; }

/* 详情 */
.mdh { position: relative; overflow: hidden; isolation: isolate; }
.mdh-bg { position: absolute; inset: 0; z-index: -1; }
.mdh-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) saturate(1.2); transform: scale(1.3); opacity: .5; }
.mdh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,19,.35), var(--bg)); }
.mdh-in { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px 16px; padding-top: 18px; padding-bottom: 6px; }
.mdh-in > .mcv { width: 100%; border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.mdh-t { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mdh-t h1 { font-size: 24px; line-height: 1.25; }
.mdh-m { font-size: 13px; color: var(--mid); }
.mtags { display: flex; flex-wrap: wrap; gap: 6px; }
.mtags span { height: 22px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; background: rgba(255,255,255,.1); font-size: 12px; color: var(--mid); }
.mtags .is-pk { background: var(--pink-soft); color: var(--pink); font-weight: 700; }
.mstat { display: flex; gap: 16px; margin-top: 2px; font-size: 12px; color: var(--dim); }
.mstat span { display: flex; flex-direction: column; }
.mstat b { font-size: 16px; color: var(--ink); }
.macts { display: flex; gap: 10px; margin-top: 8px; }
@media (max-width: 719.98px) {
  .mdh .macts { grid-column: 1 / -1; margin-top: 0; }
  .mdh .macts .btn { flex: none; min-width: 0; }
  .mdh .macts .mread { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.mabout { font-size: 14px; color: var(--mid); line-height: 1.75; }
.mabout[data-fold] { margin-top: 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; cursor: pointer; }
.mabout[data-fold].is-open { display: block; }
.mdb { padding-top: 6px; }
.mvip { margin-top: 14px; min-height: 44px; padding: 10px 14px; border-radius: 12px; display: flex; align-items: center; gap: 10px; background: var(--pink-soft); color: var(--pink); font-size: 13px; }
.mvip svg { width: 17px; height: 17px; flex: none; }
.mvip span { flex: 1; min-width: 0; color: var(--ink); }
.mvip b { color: var(--pink); font-family: var(--num); }
.mvip em { flex: none; font-style: normal; font-weight: 700; display: inline-flex; align-items: center; }
.mvip em svg { width: 14px; height: 14px; }
.mchh { display: flex; align-items: baseline; gap: 10px; padding: 22px 0 10px; }
.mchh h3 { font-size: 18px; }
.mchh small { min-width: 0; flex: 1; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mchh-sort { flex: none; height: 30px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; background: var(--s1); color: var(--mid); font-size: 13px; }
.mchh-sort svg { width: 14px; height: 14px; }
.mchh-sort:hover { color: var(--ink); }
.mrange { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)) 10px; padding: 0 var(--pad); }
.mrange::-webkit-scrollbar { display: none; }
.mrange button { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--s1); color: var(--mid); font: 13px var(--num); }
.mrange button[aria-selected="true"] { background: var(--ink); color: var(--bg); font-weight: 700; }
.mchs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; transition: opacity var(--t-fade); }
.mchs.is-busy { opacity: .4; }
.mch { position: relative; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; background: var(--s1); font-size: 14px; transition: background var(--t-fade); }
.mch:hover { background: var(--s2); }
.mch > .n { font-style: normal; font-weight: 600; }
.mch > span { display: none; min-width: 0; flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mch.is-read { color: var(--dim); }
.mch.is-now { box-shadow: inset 0 0 0 1.5px var(--pink); color: var(--pink); }
.mch-l { position: absolute; top: 5px; right: 5px; width: 11px; height: 11px; color: var(--dim); }
.mch em { position: absolute; top: -5px; right: -3px; height: 16px; padding: 0 4px; border-radius: 6px; background: var(--pink); color: var(--pink-ink); font: normal 700 11px/16px var(--font); }
.mdb-side h4 { display: flex; align-items: baseline; gap: 8px; padding: 26px 0 6px; font-size: 16px; }
.mdb-side h4 small { font-size: 12px; font-weight: 400; color: var(--dim); }

/* 书架 */
.mshelf { padding-top: 14px; }
.mseg2 { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.mseg2 a { height: 32px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; color: var(--mid); }
.mseg2 a[aria-current="page"] { background: var(--s3); color: var(--ink); font-weight: 700; }
.msubt { display: flex; align-items: center; gap: 20px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.msubt [role="tab"] { position: relative; height: 42px; display: inline-flex; align-items: center; gap: 5px; font-size: 16px; color: var(--mid); }
.msubt [role="tab"] small { font: 12px var(--num); color: var(--dim); }
.msubt [role="tab"][aria-selected="true"] { color: var(--ink); font-weight: 700; }
.msubt [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 1px; background: var(--pink); }
.msubt-ed { margin-left: auto; font-size: 14px; color: var(--pink); }
.mrm { display: none; flex: none; width: 32px; height: 32px; border-radius: 50%; place-items: center; background: var(--s2); color: var(--mid); }
.mrm svg { width: 15px; height: 15px; }
.mrm:hover { background: var(--danger); color: #fff; }
.mshelf.is-edit .mrm { display: grid; }
.mshelf.is-edit .mr > .mfo { display: none; }
.mclear { display: block; margin: 18px auto 0; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--s1); color: var(--bad); font-size: 13px; }
.mshelf.is-edit .mclear { display: block !important; }

.mtoast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--tab-h) + var(--safe-bottom) + 20px); transform: translate(-50%, 10px); padding: 10px 18px; border-radius: 999px; background: rgba(245,242,240,.96); color: var(--bg); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity var(--t-fade), transform var(--t-sheet) var(--ease); white-space: nowrap; }
.mtoast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 719.98px) {
  .mg-home .mhero { padding-top: 10px; }
  .top.has-cht.is-tuck { transform: translateY(calc(-1 * var(--top-h))); }
}

@media (min-width: 720px) {
  .mg { padding-top: 0; }
  .mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
  .mc b { font-size: 15px; margin-top: 10px; }
  .mhero { padding-top: 4px; }
  .mban { height: 360px; border-radius: 20px; }
  .mban-t { left: 36px; right: 240px; bottom: 36px; gap: 8px; max-width: 560px; }
  .mban-k { font-size: 13px; }
  .mban-t h2 { font-size: 30px; }
  .mban-m { font-size: 14px; }
  .mban-a { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .mban-acts { display: flex; gap: 10px; margin-top: 10px; }
  .mban-cv { right: 36px; bottom: 32px; width: 168px; }
  .mban-cv .mcv { border-radius: 12px; }
  .mban-dots { left: 36px; top: auto; bottom: 18px; }
  .mconts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; overflow: visible; }
  .mct { width: auto; }
  .mct:nth-child(n+5) { display: none; }
  .mg5 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
  .mg5 > .mc:nth-child(n+9) { display: none; }
  .mg5 .mc .mcv em { font: 700 30px/.9 var(--num); letter-spacing: -.04em; padding: 30px 10px 8px; }
  .mg5 .mc .mcv em.is-top { color: var(--pink); }
  .mg5 .mc[hidden] { display: none; }
  .mhot .sec-t .cx-seg { margin-left: 16px; margin-right: auto; }
  .mgenres { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
  .mgenres a { height: 70px; }
  .mweek { max-width: 640px; }
  .mweek a { height: 58px; }
  .mgl .mr { padding: 10px 0; }
  .mr-a .mcv { width: 60px; }
  .mup .mgl, .mshelf > section, .mshelf > .msubt { max-width: 860px; }
  .mrank-h h1 { font-size: 30px; }
  .mrank-h .cx-seg { margin-left: auto; }
  .mrank-a .mcv { width: 76px; }
  .mrank-i { padding: 14px 0; gap: 16px; }
  .mall { padding-top: 22px; }
  .mdh-in { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 32px; padding-top: 36px; padding-bottom: 20px; }
  .mdh-in > .mcv { grid-row: 1 / span 2; border-radius: 12px; }
  .mdh .macts { grid-column: 2; align-self: start; }
  .mdh-t { gap: 10px; padding-top: 6px; }
  .mdh-t h1 { font-size: 30px; }
  .mdh-m { font-size: 14px; }
  .mstat { gap: 28px; font-size: 13px; }
  .mstat b { font-size: 20px; }
  .mabout { max-width: 60ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .macts { margin-top: 10px; }
  .mch { justify-content: flex-start; padding: 0 30px 0 14px; height: 48px; }
  .mch > .n { flex: none; min-width: 24px; color: var(--dim); font-size: 13px; }
  .mch.is-now > .n, .mch.is-now > span { color: var(--pink); }
  .mch > span { display: block; color: var(--ink); }
  .mch.is-read > span { color: var(--dim); }
  .mch-l { top: 50%; right: 12px; width: 14px; height: 14px; margin-top: -7px; }
  .mchh h3 { font-size: 24px; }
  .mrange { margin: 0 0 12px; padding: 0; flex-wrap: wrap; overflow: visible; }
  .mshelf { padding-top: 24px; }
}
@media (min-width: 1100px) {
  .mgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mhero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: stretch; }
  .mban { height: 400px; }
  .mtoday { display: flex; flex-direction: column; padding: 16px 18px 8px; border-radius: 20px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); min-height: 0; overflow: hidden; }
  .mtoday h4 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; font-size: 16px; }
  .mtoday h4 small { font: 400 12px var(--num); color: var(--dim); }
  .mtoday h4 a { margin-left: auto; display: inline-flex; align-items: center; font-size: 13px; font-weight: 400; color: var(--mid); }
  .mtoday h4 a:hover { color: var(--ink); }
  .mtoday h4 svg { width: 14px; height: 14px; }
  .mtoday .mr-a .mcv { width: 46px; }
  .mtoday .mr-t b { font-size: 14px; }
  .mconts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mhot-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
  .mg5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mg5 > .mc:nth-child(n+9) { display: block; }
  .mg5 > .mc:nth-child(n+11) { display: none; }
  .mrise { padding: 16px 16px 8px; border-radius: 20px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
  .mrise h4 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: 15px; }
  .mrise h4 small { font-size: 12px; font-weight: 400; color: var(--dim); }
  .mdb { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
  .mdb-side { position: sticky; top: calc(var(--top-h) + 10px); }
  .mchs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1099.98px) {
  .mtoday { display: none !important; }
}
@media (min-width: 1280px) {
  .mall .cx-main .cx-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mchs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1600px) {
  .mgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mall .cx-main .cx-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- 阅读器 ---------- */
.rd-html { background: #000; overflow-y: auto; scrollbar-gutter: auto; }
.rd-html[data-bg="gray"], .rd-html[data-bg="gray"] .rd { background: #3a3a3e; }
.rd-html[data-bg="paper"], .rd-html[data-bg="paper"] .rd { background: #f3efe6; }
.rd-html[data-bg="white"], .rd-html[data-bg="white"] .rd { background: #fff; }
.rd-html[data-bg="paper"] .rd-end, .rd-html[data-bg="white"] .rd-end { color: #222; }
.rd { background: #000; min-height: 100dvh; overscroll-behavior-y: none; }
.rd-flow { width: min(100%, 720px); margin: 0 auto; padding: 0; }
.rd-pg { position: relative; margin: 0; aspect-ratio: 3 / 4; background: #0d0d0e; }
.rd-pg.is-sized { background: none; }
.rd-pg img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .2s ease; }
.rd-pg.is-in img { opacity: 1; }
.rd-pg.is-in { aspect-ratio: auto !important; background: none; }
.rd-pg.is-in img { height: auto; }
.rd-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: rgba(255,255,255,.12); }
.rd-pg.is-in .rd-ph { display: none; }
.rd-err { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; color: #bbb; font-size: 14px; text-align: center; background: #111; }
.rd-err svg { width: 30px; height: 30px; color: #666; }
.rd-err button { height: 36px; padding: 0 16px; border-radius: 999px; background: #2a2a2e; color: #eee; font-size: 13px; font-weight: 700; }
.rd.is-locked .rd-pg img { filter: blur(22px) brightness(.7); }
.rd.is-locked .rd-pg { overflow: hidden; }
.rd-veil { height: 30vh; }
.rd-end { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 20px calc(60px + var(--safe-bottom)); color: var(--ink); text-align: center; }
.rd-end > b { font-size: 18px; }
.rd-end > small { font-size: 12px; color: var(--dim); }
.rd-like { display: flex; gap: 10px; margin: 10px 0 8px; }
.rd-like .mfo { height: 38px; padding: 0 16px; }
.rd-next { width: min(100%, 420px); display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 12px; background: #19191b; text-align: left; transition: background var(--t-fade); }
.rd-next:hover { background: #222225; }
.rd-next .mcv { width: 44px; border-radius: 6px; }
.rd-next .mr-t { flex: 1; }
.rd-next > svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.rd-next.is-lock small { color: var(--pink); }
.rd-last { font-size: 14px; color: var(--mid); margin: 8px 0; }
.rd-mini { position: fixed; z-index: 20; left: 50%; bottom: calc(14px + var(--safe-bottom)); transform: translateX(-50%); height: 26px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(0,0,0,.6); color: rgba(255,255,255,.85); font-size: 12px; white-space: nowrap; pointer-events: none; transition: opacity .4s ease; }
.rd-mini.is-off, .rd.is-ui .rd-mini { opacity: 0; }

.rd-top, .rd-bot { position: fixed; z-index: 30; left: 0; right: 0; background: rgba(20,20,22,.9); -webkit-backdrop-filter: var(--bar-blur); backdrop-filter: var(--bar-blur); transition: transform var(--t-sheet) var(--ease), opacity var(--t-sheet); }
.rd-top { top: 0; display: flex; align-items: center; gap: 10px; padding: calc(8px + var(--safe-top)) 12px 8px; transform: translateY(-110%); opacity: 0; box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); }
.rd-bot { bottom: 0; padding: 12px 14px calc(10px + var(--safe-bottom)); transform: translateY(110%); opacity: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.rd.is-ui .rd-top, .rd.is-ui .rd-bot { transform: none; opacity: 1; }
.rd-top .icon-btn { width: 38px; height: 38px; background: rgba(255,255,255,.08); box-shadow: none; }
.rd-top .icon-btn[aria-pressed="true"] { color: var(--pink); }
.rd-top .icon-btn[aria-pressed="true"] svg path { fill: currentColor; }
.rd-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rd-tt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-tt small { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-sl { display: flex; align-items: center; gap: 10px; }
.rd-sl > a { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--mid); }
.rd-sl > a svg { width: 16px; height: 16px; }
.rd-sl > a[aria-disabled="true"] { opacity: .3; pointer-events: none; }
.rd-track { position: relative; flex: 1; height: 32px; display: flex; align-items: center; }
.rd-track input { width: 100%; height: 4px; margin: 0; -webkit-appearance: none; appearance: none; border-radius: 6px; background: linear-gradient(90deg, var(--pink) var(--p, 0%), rgba(255,255,255,.18) var(--p, 0%)); outline: 0; }
.rd-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.rd-track input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; }
.rd-track em { position: absolute; bottom: 30px; left: var(--p, 0%); transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: #fff; color: #111; font: normal 700 12px var(--num); white-space: nowrap; opacity: 0; transition: opacity var(--t-fade); pointer-events: none; }
.rd-track.is-drag em { opacity: 1; }
.rd-ics { display: flex; justify-content: space-around; margin-top: 10px; }
.rd-ics button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; font-size: 11px; color: var(--mid); }
.rd-ics svg { width: 22px; height: 22px; color: var(--ink); }
.rd-ics button[aria-pressed="true"] svg { color: var(--pink); }
.rd-ics button[aria-pressed="true"] svg path { fill: currentColor; }

.rd-rail { display: none; }
.rd-dim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.5); animation: rd-fade var(--t-fade) ease; }
@keyframes rd-fade { from { opacity: 0; } }
.rd-drawer { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: 72dvh; display: flex; flex-direction: column; border-radius: 20px 20px 0 0; background: #18181a; box-shadow: 0 -12px 40px rgba(0,0,0,.5); animation: rd-up var(--t-sheet) var(--ease); }
@keyframes rd-up { from { transform: translateY(40px); opacity: 0; } }
.rd-drawer-h { display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px 18px; }
.rd-drawer-h b { font-size: 18px; }
.rd-drawer-h small { flex: 1; font: 12px var(--num); color: var(--dim); }
.rd-drawer-h .icon-btn { width: 34px; height: 34px; background: rgba(255,255,255,.08); box-shadow: none; }
.rd-dl { flex: 1; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0 8px calc(14px + var(--safe-bottom)); list-style: none; display: flex; flex-direction: column; }
.rd-dl.is-rev { flex-direction: column-reverse; justify-content: flex-end; }
.rd-dl a { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border-radius: 10px; font-size: 14px; }
.rd-dl a:hover { background: rgba(255,255,255,.05); }
.rd-dl a > .n { flex: none; min-width: 32px; font-style: normal; color: var(--dim); }
.rd-dl a > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-dl a > small { flex: none; font-size: 12px; color: var(--dim); }
.rd-dl a > svg { width: 15px; height: 15px; color: var(--dim); flex: none; }
.rd-dl a.is-now { background: var(--pink-soft); color: var(--pink); }
.rd-dl a.is-now > .n, .rd-dl a.is-now > small { color: var(--pink); }
.rd-dl a.is-read { color: var(--dim); }

.rd-sheet { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; max-height: 86dvh; overflow-y: auto; padding: 20px 20px calc(20px + var(--safe-bottom)); border-radius: 20px 20px 0 0; background: #1b1b1e; box-shadow: 0 -12px 40px rgba(0,0,0,.5); animation: rd-up var(--t-sheet) var(--ease); }
.rd-set h4 { margin: 18px 0 10px; font-size: 13px; font-weight: 500; color: var(--dim); }
.rd-set h4:first-child { margin-top: 0; }
.rd-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rd-modes button { height: 84px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #26262a; font-size: 14px; font-weight: 600; }
.rd-modes button small { font-size: 11px; font-weight: 400; color: var(--dim); }
.rd-modes svg { width: 24px; height: 24px; }
.rd-modes button[aria-checked="true"] { background: var(--pink-soft); color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--pink); }
.rd-bgs { display: flex; gap: 12px; }
.rd-bgs button { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.rd-bgs button[aria-checked="true"] { box-shadow: 0 0 0 2px #1b1b1e, 0 0 0 4px var(--pink); }
.rd-opt { display: flex; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; }
.rd-opt + .rd-opt { border-top: 1px solid rgba(255,255,255,.06); }
.rd-opt > span { flex: 1; display: flex; flex-direction: column; font-size: 15px; }
.rd-opt small { font-size: 12px; color: var(--dim); }
.rd-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rd-opt input:checked + .switch { background: var(--pink); }
.rd-opt input:checked + .switch::after { transform: translateX(18px); }
.rd-opt input:focus-visible + .switch { outline: 2px solid var(--pink); outline-offset: 2px; }
.rd-gate { text-align: center; padding-top: 28px; }
.rd-gico { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); }
.rd-gico svg { width: 26px; height: 26px; }
.rd-gate h3 { font-size: 20px; }
.rd-gate p { margin-top: 8px; font-size: 14px; color: var(--mid); line-height: 1.7; }
.rd-gbtn { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* 页漫：一屏一页（宽屏可双页），点左右翻 */
.rd.is-paged { overflow: hidden; height: 100dvh; }
.rd.is-paged .rd-flow { position: fixed; inset: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0; touch-action: pan-y pinch-zoom; }
.rd.is-paged .rd-pg { display: none; aspect-ratio: auto !important; height: 100dvh; background: none; }
.rd.is-paged .rd-pg.is-cur { display: flex; align-items: center; justify-content: center; }
.rd.is-paged .rd-pg img { width: auto; max-width: 100vw; height: auto; max-height: 100dvh; }
.rd.is-paged.is-dual .rd-pg.is-cur img { max-width: 50vw; }
.rd.is-paged.is-dual .rd-pg.is-cur:first-of-type img, .rd.is-paged.is-dual .rd-pg.is-solo img { max-width: 100vw; }
/* 知道高宽比的图先把框按比例撑好，图片到了不跳；双页时每张最宽半屏 */
.rd.is-paged .rd-pg[style*="--hw"] { --mw: 100vw; }
.rd.is-paged.is-dual .rd-pg[style*="--hw"]:is(.is-l, .is-r) { --mw: 50vw; }
.rd.is-paged .rd-pg[style*="--hw"] img { height: min(100dvh, calc(var(--mw) * var(--hw))); aspect-ratio: 1 / var(--hw); }
.rd.is-paged .rd-pg.is-l { justify-content: flex-end; }
.rd.is-paged .rd-pg.is-r { justify-content: flex-start; }
.rd.is-paged .rd-end { display: none; position: absolute; inset: 0; justify-content: center; }
.rd.is-paged .rd-end.is-cur { display: flex; }
.rd.is-paged .rd-veil { display: none; }
.rd.is-paged .rd-pg:not([style*="--hw"]) .rd-ph { position: static; }
.rd.is-rtl .rd-flow { flex-direction: row-reverse; }
.rd-arrow { display: none; }

@media (min-width: 720px) {
  .rd-flow { width: min(100%, 600px); }
  .rd-top { left: 20px; right: auto; top: 16px; padding: 6px 16px 6px 6px; border-radius: 999px; max-width: 420px; transform: none; opacity: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: opacity .3s ease; }
  .rd-top > [data-follow] { display: none; }
  .rd-bot { left: 50%; right: auto; width: 520px; bottom: 18px; padding: 6px 16px; border-radius: 999px; transform: translateX(-50%); opacity: 1; transition: opacity .3s ease; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
  .rd.is-ui .rd-bot { transform: translateX(-50%); }
  .rd-bot .rd-ics { display: none; }
  .rd.is-idle .rd-top, .rd.is-idle .rd-bot, .rd.is-idle .rd-rail { opacity: 0; pointer-events: none; }
  .rd-mini { display: none; }
  .rd-rail { position: fixed; z-index: 30; top: 50%; left: calc(50% + 320px); transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; border-radius: 999px; background: rgba(28,28,30,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: opacity .3s ease, left var(--t-sheet) var(--ease); }
  .rd-rail > a, .rd-rail > button { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--mid); transition: background var(--t-fade), color var(--t-fade); }
  .rd-rail > a:hover, .rd-rail > button:hover, .rd-rail > .is-on { background: rgba(255,255,255,.1); color: var(--ink); }
  .rd-rail > [aria-disabled="true"] { opacity: .3; pointer-events: none; }
  .rd-rail > [aria-pressed="true"] { color: var(--pink); }
  .rd-rail > [aria-pressed="true"] svg path { fill: currentColor; }
  .rd-rail svg { width: 20px; height: 20px; }
  .rd-rail em { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 4px 9px; border-radius: 6px; background: #fff; color: #111; font: normal 700 12px var(--font); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fade); display: inline-flex; gap: 6px; align-items: center; }
  .rd-rail em kbd { padding: 0 4px; border-radius: 6px; background: #e8e8e8; font: 600 11px var(--num); }
  .rd-rail > :hover em { opacity: 1; }
  .rd-sep { width: 18px; height: 1px; margin: 4px 0; background: rgba(255,255,255,.1); }
  .rd-drawer { left: auto; top: 0; width: 330px; height: auto; border-radius: 0; animation-name: rd-left; box-shadow: -12px 0 40px rgba(0,0,0,.5); }
  .rd.is-drawer .rd-dim { display: none; }
  .rd.is-drawer .rd-flow { transform: translateX(-165px); }
  .rd.is-drawer .rd-rail { left: calc(50% + 155px); }
  .rd-flow { transition: transform var(--t-sheet) var(--ease); }
  .rd-sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 420px; transform: translate(-50%, -50%); border-radius: 20px; animation: rd-fade var(--t-sheet) var(--ease); }
  .rd.is-paged .rd-flow { transform: none; }
  .rd.is-paged .rd-rail { left: auto; right: 24px; }
  .rd-arrow { position: fixed; z-index: 25; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: none; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: opacity .3s ease, background var(--t-fade); }
  .rd-arrow:hover { background: rgba(255,255,255,.16); }
  .rd-arrow svg { width: 22px; height: 22px; }
  .rd.is-paged .rd-arrow { display: grid; }
  .rd.is-idle .rd-arrow { opacity: 0; }
}
@keyframes rd-left { from { transform: translateX(40px); opacity: 0; } }
@media (min-width: 720px) and (max-width: 899.98px) {
  .rd-flow { width: 100%; }
  .rd-rail { left: auto; right: 14px; }
  .rd.is-drawer .rd-flow { transform: none; }
  .rd.is-drawer .rd-rail { left: auto; right: 344px; }
}
