/* oz-comic 1.0（2026-11-16）：在线专区漫画变体，只在正文含 data-oz-kind="comic" 的文章加载；只新增 oz-cm-* 类，不改 oz-tpl.css 已有规则 */
.oz-tpl .oz-cm-note{font-size:12px;line-height:1.6;color:var(--m);margin:10px 0 0;padding:8px 12px;border-radius:10px;background:rgba(155,123,255,.06);box-shadow:0 0 0 1px rgba(155,123,255,.28) inset}
.oz-tpl .oz-hero__cover .oz-cm-badge{position:absolute;right:10px;bottom:10px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;color:#fff;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 0 0 1px rgba(255,255,255,.18) inset}
.oz-paybox .oz-cm-reader{margin-top:14px;padding:12px;border-radius:14px;background:rgba(0,0,0,.35);box-shadow:0 0 0 1px var(--line,rgba(255,255,255,.08)) inset}
.oz-paybox .oz-cm-reader__bar{position:sticky;top:60px;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:-4px -4px 12px;padding:10px 12px;border-radius:10px;font-size:12.5px;color:rgba(255,255,255,.72);background:rgba(16,14,28,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.oz-paybox .oz-cm-reader__bar b{font-size:14px;color:#fff}
.oz-paybox .oz-cm-reader__bar b:before{content:"";display:inline-block;width:6px;height:6px;margin:0 8px 2px 0;border-radius:50%;background:#3ee6a8;box-shadow:0 0 8px #3ee6a8}
.oz-paybox .oz-cm-reader__tip{margin-left:auto;opacity:.7}
.oz-paybox .oz-cm-pg{position:relative;margin:0 auto;max-width:1100px}
.oz-paybox .oz-cm-pg+.oz-cm-pg{margin-top:4px}
.oz-paybox .oz-cm-pg img{display:block;width:100%;height:auto;border-radius:6px;background:rgba(255,255,255,.04)}
.oz-paybox .oz-cm-pg figcaption{position:absolute;right:8px;bottom:8px;padding:2px 8px;border-radius:999px;font-size:11px;color:#fff;background:rgba(0,0,0,.5);pointer-events:none}
.oz-paybox .oz-cm-reader__end{padding:16px 0 4px;text-align:center;font-size:12px;letter-spacing:.2em;color:rgba(255,255,255,.5)}
@media (max-width:599px){.oz-paybox .oz-cm-reader{padding:6px;margin-left:-6px;margin-right:-6px}.oz-paybox .oz-cm-reader__bar{top:50px}.oz-paybox .oz-cm-reader__tip{margin-left:0;width:100%}}
/* 1.1 章节小标题 + 跳转条（只在已购阅读器里出现） */
.oz-paybox .oz-cm-toc{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.oz-paybox .oz-cm-toc a{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:700;color:#fff!important;text-decoration:none!important;background:rgba(255,255,255,.05);box-shadow:0 0 0 1px rgba(62,230,168,.35) inset;transition:background .2s ease}
.oz-paybox .oz-cm-toc a small{font-weight:400;font-size:11px;color:rgba(255,255,255,.55)}
.oz-paybox .oz-cm-toc a:hover{background:rgba(62,230,168,.14)}
.oz-paybox .oz-cm-ch{display:flex;align-items:center;gap:10px;margin:18px auto 10px!important;padding:10px 14px!important;max-width:1100px;border-radius:10px;font-size:15px!important;line-height:1.3;color:#fff;background:rgba(16,14,28,.86);box-shadow:0 0 0 1px rgba(62,230,168,.28) inset;scroll-margin-top:120px}
.oz-paybox .oz-cm-toc+.oz-cm-ch{margin-top:0!important}
.oz-paybox .oz-cm-ch:before{content:"";flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#3ee6a8;box-shadow:0 0 10px #3ee6a8}
.oz-paybox .oz-cm-ch b{font-weight:800;letter-spacing:.02em}
.oz-paybox .oz-cm-ch span{margin-left:auto;font-size:12px;font-weight:400;color:rgba(255,255,255,.55)}
/* 1.2 竖向 / 相册切换 + 缩略图格子 + 全屏查看器（只在已购阅读器里出现） */
.oz-paybox .oz-cm-reader [hidden],.oz-cm-lb[hidden]{display:none!important}
.oz-paybox .oz-cm-mode{display:inline-flex;padding:3px;border-radius:999px;background:rgba(255,255,255,.06);box-shadow:0 0 0 1px rgba(255,255,255,.1) inset}
.oz-paybox .oz-cm-mode button{appearance:none;border:0;margin:0;padding:5px 14px;border-radius:999px;font-size:12.5px;font-weight:700;line-height:1.2;color:rgba(255,255,255,.65);background:transparent;cursor:pointer;transition:background .2s ease,color .2s ease}
.oz-paybox .oz-cm-mode button[aria-pressed="true"]{color:#0b1a14;background:#3ee6a8;box-shadow:0 0 12px rgba(62,230,168,.45)}
.oz-paybox .oz-cm-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 auto 6px;max-width:1100px}
.oz-paybox .oz-cm-grid--land{grid-template-columns:repeat(3,minmax(0,1fr))}
.oz-paybox .oz-cm-th{position:relative;display:block;width:100%;padding:0;margin:0;border:0;cursor:zoom-in;appearance:none;aspect-ratio:3/4;border-radius:8px;overflow:hidden;background:rgba(255,255,255,.05);box-shadow:0 0 0 1px rgba(255,255,255,.06) inset;-webkit-tap-highlight-color:transparent}
.oz-paybox .oz-cm-grid--land .oz-cm-th{aspect-ratio:16/9}
.oz-paybox .oz-cm-th img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease,opacity .3s ease}
.oz-paybox .oz-cm-th img:not([src]){opacity:0}
.oz-paybox .oz-cm-th:hover img{transform:scale(1.04)}
.oz-paybox .oz-cm-th i{position:absolute;right:5px;bottom:5px;padding:1px 6px;border-radius:999px;font-style:normal;font-size:10.5px;color:#fff;background:rgba(0,0,0,.55);pointer-events:none}
.oz-paybox .oz-cm-th:focus-visible{outline:2px solid #3ee6a8;outline-offset:2px}
.oz-paybox .oz-cm-g .oz-cm-ch:first-child{margin-top:0!important}
.oz-cm-lock,.oz-cm-lock body{overflow:hidden!important}
.oz-cm-lb{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:rgba(6,5,12,.96);touch-action:pan-y;overscroll-behavior:contain}
.oz-cm-lb__stage{position:absolute;inset:52px 0 0;display:flex;align-items:center;justify-content:center;padding:8px}
.oz-cm-lb__img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;user-select:none;-webkit-user-drag:none}
.oz-cm-lb__top{position:absolute;left:0;right:0;top:0;height:52px;display:flex;align-items:center;gap:12px;padding:0 12px 0 16px;color:#fff;background:linear-gradient(rgba(0,0,0,.6),transparent);z-index:2}
.oz-cm-lb__n{font-weight:800;font-size:15px;font-variant-numeric:tabular-nums}
.oz-cm-lb__n:before{content:"";display:inline-block;width:7px;height:7px;margin:0 8px 2px 0;border-radius:50%;background:#3ee6a8;box-shadow:0 0 8px #3ee6a8}
.oz-cm-lb__c{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;color:rgba(255,255,255,.6)}
.oz-cm-lb button{appearance:none;border:0;margin:0;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent}
.oz-cm-lb__x{width:40px;height:40px;border-radius:50%;font-size:18px;background:rgba(255,255,255,.1)}
.oz-cm-lb__p,.oz-cm-lb__q{position:absolute;top:50%;z-index:2;width:48px;height:72px;margin-top:-36px;border-radius:12px;font-size:40px;line-height:1;background:rgba(255,255,255,.08);transition:background .2s ease}
.oz-cm-lb__p{left:12px}.oz-cm-lb__q{right:12px}
.oz-cm-lb__p:hover,.oz-cm-lb__q:hover{background:rgba(62,230,168,.25)}
@media (max-width:599px){
 .oz-paybox .oz-cm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .oz-paybox .oz-cm-grid--land{grid-template-columns:repeat(2,minmax(0,1fr))}
 .oz-cm-lb__stage{inset:52px 0 0;padding:0}
 .oz-cm-lb__p,.oz-cm-lb__q{top:auto;bottom:18px;margin-top:0;width:56px;height:44px;font-size:30px;background:rgba(255,255,255,.12)}
 .oz-cm-lb__p{left:16px}.oz-cm-lb__q{right:16px}
 .oz-paybox .oz-cm-mode{margin-left:auto}
}
