/* ============================================================
   wu5cn 主题 · 仿 wu5cn.com（555电影 · MacCMS mxpro 黑夜影视门户）
   设计规范（实测 wu5cn.com /mxtheme/css/black.css + style.css + 首页/栏目/详情 HTML + CDP 参考图）：
   - 页面底 #1A1C1F / 卡片 #16161a / 面板 #25252b·#32323c / 边框 #25252b
   - 主橙 #f96518（激活/页码/角标/new/播放）；new 角标渐变 #f96518 -> #ff2a14
   - 文字 #e1e3e5 主 / #999 次；radius 8px；banner 圆角 8 + 28vw 高
   - 骨架：左侧固定竖导航 200px + 顶栏 64px 居中搜索（#ffffff14 胶囊）
   - 海报网格 8 列（12.5% - 18px），竖版 2:3 封面 + 左上豆瓣绿标 + 右上 new
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

:root {
    --w5-primary: #f96518;
    --w5-primary-dk: #e04e0a;
    --w5-primary-bg: rgba(249, 101, 24, .12);
    --w5-bg: #1A1C1F;
    --w5-card: #16161a;
    --w5-card-border: #25252b;
    --w5-title: #e1e3e5;
    --w5-text: #b8bcc2;
    --w5-mut: #8a8f96;
    --w5-border: #25252b;
    --w5-header-bg: #16161a;
    --w5-header-text: #e1e3e5;
    --w5-radius: 8px;
    --w5-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    --w5-red: #ff4d2e;
    --w5-yellow: #f7c32e;
    --w5-green: #0cbc87;
    --w5-cyan: #4f9ef8;
    --w5-head-h: 0px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--w5-text);
    background-color: var(--w5-bg);
    padding-top: var(--w5-head-h);
    overflow-x: clip;   /* hero 100vw 兜底：桌面端 vw 含滚动条宽，裁掉防横向滚动 */
}

a { color: var(--w5-text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--w5-primary); }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--w5-title); line-height: 1.4; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.bw-container, .w5-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============ 固定顶栏：纯白深灰字（ripro site-header） ============ */
.w5-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--w5-head-h);
    background: var(--w5-header-bg);
    box-shadow: 0 0 30px rgba(0, 0, 0, .35);
}

.w5-header-inner {
    height: var(--w5-head-h);
    display: flex;
    align-items: center;
    gap: 16px;
}

.w5-brand { flex: none; display: flex; align-items: center; }
.w5-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--w5-title);
    letter-spacing: .5px;
    white-space: nowrap;
}
.w5-logo:hover { color: var(--w5-primary); }

/* 主菜单：深灰字，当前项蓝 */
.w5-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.w5-menu::-webkit-scrollbar { display: none; }
.w5-menu a {
    display: block;
    padding: 6px 11px;
    font-size: 14.5px;
    color: var(--w5-header-text);
    white-space: nowrap;
    border-radius: 6px;
}
.w5-menu a:hover { color: var(--w5-primary); background: var(--w5-primary-bg); }
.w5-menu a.on { color: #fff; background: var(--w5-primary); font-weight: 600; }

/* 顶栏搜索：浅灰胶囊 */
.w5-header-search {
    flex: none;
    display: flex;
    align-items: center;
    background: #25252b;
    border: 1px solid var(--w5-border);
    border-radius: 17px;
    padding: 2px 4px 2px 13px;
    transition: .2s;
}
.w5-header-search:focus-within { background: #fff; border-color: var(--w5-primary); }
.w5-header-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 118px;
    font-size: 13px;
    color: var(--w5-title);
    padding: 5px 0;
}
.w5-header-search input::placeholder { color: var(--w5-mut); }
.w5-header-search button {
    border: 0;
    background: var(--w5-primary);
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 13px;
}

/* 顶栏右侧 */
.w5-header-auth {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.w5-btn-sm {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid var(--w5-border);
    background: transparent;
    color: var(--w5-header-text);
    cursor: pointer;
    white-space: nowrap;
}
.w5-btn-sm:hover { color: var(--w5-primary); border-color: var(--w5-primary); }
/* 「VIP」：ripro 主蓝按钮 */
.w5-btn-sm.w5-btn-gold {
    background: var(--w5-primary);
    border: 1px solid var(--w5-primary);
    color: #fff;
    font-weight: 600;
}
.w5-btn-sm.w5-btn-gold:hover { background: var(--w5-primary-dk); color: #fff; }
.w5-btn-sm.w5-btn-white { background: #25252b; }

.w5-user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 6px;
}
.w5-user-chip:hover { background: #25252b; color: var(--w5-primary); }
.w5-user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--w5-primary);
    color: #fff;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex: none;
}
.w5-user-avatar.is-vip { background: var(--w5-yellow); color: #e1e3e5; }
.w5-user-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.w5-user-name { font-size: 13px; font-weight: 600; color: var(--w5-title); max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w5-user-level { font-size: 11px; color: var(--w5-mut); }
.w5-user-level.is-vip { color: #d19f00; }
.w5-sep { font-style: normal; margin: 0 3px; color: var(--w5-border); }

/* 移动端菜单按钮 */
.w5-nav-toggle {
    display: none;
    flex: none;
    width: 36px; height: 36px;
    border: 1px solid var(--w5-border);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    padding: 8px 7px;
    flex-direction: column;
    justify-content: space-between;
}
.w5-nav-toggle span { display: block; height: 2px; background: var(--w5-header-text); border-radius: 2px; }

/* ============ 主体：两栏 ============ */
.w5-shell {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 16px 30px;
}
.w5-main { flex: 1 1 auto; min-width: 0; }
.w5-side { flex: none; width: 300px; }
.w5-side-inner { position: sticky; top: calc(var(--w5-head-h) + 14px); display: flex; flex-direction: column; gap: 16px; }
/* 首页无侧栏（wu5cn home 无 sidebar，网格全宽） */
.w5-shell--full { display: block; }
.w5-shell--full .w5-main { width: 100%; }

/* ============ 白卡通用 ============ */
.w5-block, .w5-content-card, .w5-buy-card,
.w5-form-card, .w5-hero, .w5-paid-box, .w5-home-seo, .w5-home-links {
    background: var(--w5-card);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
}

/* 区块标题：ripro 居中式 section-title */
.w5-block { padding: 16px 18px 18px; margin-bottom: 18px; }
.w5-block-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--w5-border);
    text-align: center;
}
.w5-block-head { border-bottom: none; padding-bottom: 4px; }
.w5-block-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--w5-title);
    display: flex;
    align-items: center;
    gap: 8px;
}
.w5-block-title i { display: none; }
.w5-more { font-size: 12px; color: var(--w5-mut); margin-top: 4px; }

/* ============ 首页 hero 大搜索（ripro home-search：深色底 + 渐变遮罩 + 居中表单） ============
   全出血：width:100vw + 负边距把 hero 撑出 shell 到视口两缘；
   移动端 100vw == 视口宽（无滚动条），不会触发 ICB 扩张 */
.w5-hero-search {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 110px 20px 112px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 55% 85% at 18% 12%, rgba(249, 101, 24, .32), transparent 62%),
        radial-gradient(ellipse 45% 75% at 82% 22%, rgba(79, 158, 248, .2), transparent 60%),
        linear-gradient(0deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, .72)),
        #16161a;
}
.w5-hero-search-title { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 26px; letter-spacing: .5px; }
.w5-hero-search-form {
    display: flex;
    align-items: stretch;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.w5-hero-search-form select {
    flex: none;
    width: 118px;
    border: 0;
    outline: 0;
    background: #1e2024;
    border-right: 1px solid var(--w5-border);
    padding: 0 10px;
    font-size: 13px;
    color: var(--w5-text);
    cursor: pointer;
    border-radius: 0;
}
.w5-hero-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 14px;
    font-size: 14px;
    color: var(--w5-title);
}
.w5-hero-search-form button {
    flex: none;
    border: 0;
    background: var(--w5-primary);
    color: #fff;
    font-size: 14px;
    padding: 0 26px;
    cursor: pointer;
}
.w5-hero-search-form button:hover { background: var(--w5-primary-dk); }

/* ============ 分类彩点说明：wu5cn 卡片分类名前 6px 圆点（见网格节） ============ */

/* ============ 封面网格（ripro item-grid：3:2 封面图上文下 + 分类彩点） ============ */

/* ============ 封面 overlay 网格（ripro grid-overlay 标志样式） ============ */
.w5-grids {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.w5-grid {
    position: relative;
    overflow: hidden;
    background: var(--w5-card);
    border: 1px solid var(--w5-card-border);
    border-radius: var(--w5-radius);
    transition: .2s;
}
.w5-grid:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.w5-grid-img {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%;   /* ripro ratio-3x2 */
    overflow: hidden;
    background: #32323c;
}
.w5-grid-img img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s ease-out;
}
.w5-grid:hover .w5-grid-img img { transform: scale(1.05); }
.w5-noimg {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--w5-mut);
    font-size: 13px;
}
/* 图上文下（ripro item-grid entry-wrapper：padding 10px 白底） */
.w5-grid-con {
    padding: 10px;
}
.w5-grid-cat {
    font-size: 12px;
    color: #8a8f96;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.w5-grid-cat::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(249, 101, 24, .75);
}
.w5-grid-cat a { color: #8a8f96; }
.w5-grid-cat a:hover { color: var(--w5-primary); }
.w5-grid-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.w5-grid-title a { color: var(--w5-title); }
.w5-grid-title a:hover { color: var(--w5-primary); }
.w5-grid-ex { display: none; }
.w5-grid-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--w5-mut);
    white-space: nowrap;
}
.w5-grid-meta > span { display: inline-flex; align-items: center; gap: 3px; }

/* overlay 内价格胶囊：白底蓝字 / 免费 黄底 */
.w5-price, .w5-badge-hot {
    display: inline-flex;
    align-items: center;
    padding: 0 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}
.w5-price { background: var(--w5-primary); color: #fff; }
.w5-price.is-free, .w5-badge-hot.is-free { background: var(--w5-green); color: #fff; }
.w5-badge-hot { background: rgba(255, 255, 255, .2); color: #fff; }

/* 卡片直系角标（栏目/专题/免费）：叠左上角 */
.w5-grid > .w5-badge-hot, .w5-grid > .w5-badge-cat {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 2;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(249, 101, 24, .9);
    color: #fff;
    border-radius: 4px;
}
.w5-grid > a.w5-badge-hot:hover { color: #fff; filter: brightness(1.1); }
.w5-grid > .w5-badge-hot.is-free { background: rgba(12, 188, 135, .92); color: #fff; }

/* ============ 侧栏 widget（白卡 + 深色标题） ============ */
.w5-widget {
    background: var(--w5-card);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
    padding: 16px;
}
.w5-widget-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--w5-title);
    padding-left: 11px;
    position: relative;
    margin-bottom: 12px;
}
.w5-widget-head i {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--w5-primary);
    border-radius: 2px;
}
.w5-widget-body { font-size: 13px; }

/* 热门榜单 */
.w5-hotlist { list-style: none; }
.w5-hotlist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--w5-border);
}
.w5-hotlist li:last-child { border-bottom: none; }
.w5-hot-idx {
    flex: none;
    width: 20px; height: 20px;
    border-radius: 4px;
    background: #25252b;
    color: var(--w5-mut);
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.w5-hot-idx.idx-1 { background: rgba(214, 41, 62, .1); color: var(--w5-red); }
.w5-hot-idx.idx-2 { background: rgba(247, 195, 46, .15); color: #d19b00; }
.w5-hot-idx.idx-3 { background: rgba(249, 101, 24, .1); color: var(--w5-primary); }
.w5-hot-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--w5-title);
}
.w5-hot-title:hover { color: var(--w5-primary); }
.w5-hot-views { flex: none; font-size: 12px; color: var(--w5-mut); }

/* 栏目导航 / 专题 chips */
.w5-navlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.w5-navlist a {
    display: inline-block;
    padding: 4px 12px;
    background: #25252b;
    border-radius: 5px;
    font-size: 13px;
    color: var(--w5-text);
}
.w5-navlist a:hover { background: var(--w5-primary-bg); color: var(--w5-primary); }
.w5-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.w5-chip {
    display: inline-block;
    padding: 4px 12px;
    background: #25252b;
    border-radius: 5px;
    font-size: 13px;
    color: var(--w5-text);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.w5-chip:hover { background: var(--w5-primary-bg); color: var(--w5-primary); }

/* 侧栏 VIP 推广卡：深蓝渐变（ripro 会员风） */
.w5-vip-promo {
    background: linear-gradient(135deg, #32323c 0%, #212126 100%);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
    padding: 20px 18px;
    text-align: center;
    color: #fff;
}
.w5-vip-promo-title { font-size: 17px; font-weight: 700; color: #fff; }
.w5-vip-promo-sub { font-size: 12px; color: rgba(255, 255, 255, .65); margin: 4px 0 14px; }
.w5-vip-promo-btn {
    display: block;
    background: var(--w5-primary);
    color: #fff;
    font-weight: 700;
    padding: 9px 0;
    border-radius: 6px;
    font-size: 14px;
}
.w5-vip-promo-btn:hover { background: var(--w5-primary-dk); color: #fff; }
.w5-vip-promo-note { font-size: 11px; color: rgba(255, 255, 255, .5); margin-top: 8px; }

/* ============ 面包屑 ============ */
.w5-crumb {
    font-size: 13px;
    color: var(--w5-mut);
    padding: 2px 2px 12px;
}
.w5-crumb a { color: var(--w5-mut); }
.w5-crumb a:hover { color: var(--w5-primary); }
.w5-crumb-sep { margin: 0 6px; color: var(--w5-border); }

/* ============ 详情页 Hero 卡 ============ */
.w5-hero { display: flex; gap: 20px; padding: 20px; margin-bottom: 18px; }
.w5-hero-thumb {
    flex: none;
    width: 240px;
    position: relative;
    border-radius: var(--w5-radius);
    overflow: hidden;
    background: #32323c;
    align-self: flex-start;
}
.w5-hero-thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.w5-hero-thumb-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
}
.w5-hero-thumb > span {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 2;
    color: var(--w5-mut);
    font-size: 13px;
}
.w5-hero-info { flex: 1 1 auto; min-width: 0; }
.w5-page-title { margin: 0 0 8px; font-size: 21px; }
.w5-article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--w5-mut); margin-bottom: 12px; }
.w5-article-meta a { color: var(--w5-mut); }
.w5-article-meta a:hover { color: var(--w5-primary); }
.w5-hero-fields {
    display: flex; flex-wrap: wrap; gap: 6px 18px;
    background: #1e2024;
    border-radius: var(--w5-radius);
    padding: 10px 12px;
    font-size: 12px;
    color: var(--w5-text);
    margin-bottom: 12px;
}
.w5-hero-fields b { color: var(--w5-mut); font-weight: 600; }

.w5-hero-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
/* 价格：ripro 主蓝大字 */
.w5-hero-price { font-size: 30px; font-weight: 700; color: var(--w5-primary); line-height: 1; }
.w5-hero-price small { font-size: 13px; font-weight: 400; margin-left: 2px; }
.w5-hero-free-tag {
    display: inline-block;
    background: rgba(12, 188, 135, .12);
    color: var(--w5-green);
    font-size: 14px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 5px;
}
.w5-hero-price-label { font-size: 12px; color: var(--w5-mut); }

/* 付费框：白卡 + 右上蓝角标 */
.w5-paybox {
    position: relative;
    background: #1e2024;
    border: 1px solid var(--w5-border);
    border-radius: var(--w5-radius);
    padding: 18px;
    overflow: hidden;
}
.w5-pay-tag {
    position: absolute;
    top: 0; right: 0;
    background: var(--w5-primary);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    padding: 4px 12px;
    border-radius: 0 0 0 var(--w5-radius);
}
.w5-btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ============ 按钮（ripro btn 体系） ============ */
.w5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 22px;
    font-size: 14px;
    border-radius: var(--w5-radius);
    border: 1px solid var(--w5-border);
    background: #fff;
    color: var(--w5-text);
    cursor: pointer;
    transition: .15s;
    line-height: 1.5;
    white-space: nowrap;
}
.w5-btn:hover { color: var(--w5-primary); border-color: var(--w5-primary); }
/* 主操作（购买）：主蓝 */
.w5-btn.w5-btn-orange, .w5-btn.w5-btn-primary {
    background: var(--w5-primary);
    border: 1px solid var(--w5-primary);
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
}
.w5-btn.w5-btn-orange:hover, .w5-btn.w5-btn-primary:hover {
    background: var(--w5-primary-dk);
    border-color: var(--w5-primary-dk);
    color: #fff;
}
/* VIP：ripro 金黄 */
.w5-btn.w5-btn-vip {
    background: var(--w5-yellow);
    border: 1px solid var(--w5-yellow);
    color: #e1e3e5;
    font-weight: 700;
    padding: 10px 26px;
}
.w5-btn.w5-btn-vip:hover { background: #eab61e; border-color: #eab61e; color: #e1e3e5; }
/* 成功态 */
.w5-btn.w5-btn-suc {
    background: rgba(12, 188, 135, .1);
    border-color: rgba(12, 188, 135, .4);
    color: var(--w5-green);
    font-weight: 600;
}
.w5-btn.w5-btn-suc:hover { color: var(--w5-green); border-color: var(--w5-green); }
/* 幽灵按钮 */
.w5-btn.w5-btn-ghost { background: #fff; }
.w5-btn.w5-btn-block { display: flex; width: 100%; }

.w5-hero-services {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--w5-mut);
}
.w5-hero-notice {
    margin-top: 12px;
    font-size: 12px;
    color: var(--w5-mut);
    line-height: 1.6;
}

/* ============ 正文卡 / 付费内容 ============ */
.w5-content-card { padding: 20px 22px; }
.w5-detail-content { font-size: 15px; line-height: 1.85; color: var(--w5-text); word-break: break-word; }
.w5-detail-content p { margin: 0 0 12px; }
.w5-detail-content img { border-radius: var(--w5-radius); }
.w5-detail-content h1, .w5-detail-content h2, .w5-detail-content h3 { margin: 18px 0 10px; }
.w5-detail-content pre {
    background: #1e2024;
    border: 1px solid var(--w5-border);
    border-radius: var(--w5-radius);
    padding: 12px;
    overflow-x: auto;
    font-size: 13px;
}
.w5-detail-content code { background: #25252b; border-radius: 4px; padding: 1px 5px; font-size: 13px; }
.w5-detail-content pre code { background: transparent; padding: 0; }
.w5-detail-content blockquote {
    margin: 0 0 12px;
    padding: 8px 14px;
    border-left: 3px solid var(--w5-primary);
    background: #1e2024;
    color: var(--w5-mut);
}
.w5-detail-content table { border-collapse: collapse; width: 100%; margin-bottom: 12px; }
.w5-detail-content th, .w5-detail-content td { border: 1px solid var(--w5-border); padding: 6px 10px; font-size: 13px; }
.w5-detail-content th { background: #1e2024; }

.w5-paid-hint {
    margin-top: 14px;
    background: rgba(249, 101, 24, .06);
    border: 1px dashed var(--w5-primary);
    color: var(--w5-primary);
    border-radius: var(--w5-radius);
    padding: 14px 16px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
}
.w5-paid-hint-link { text-decoration: underline; }

.w5-paid-box { margin-top: 14px; padding: 0 0 16px; overflow: hidden; border: 1px solid rgba(12, 188, 135, .35); }
.w5-paid-head {
    background: rgba(12, 188, 135, .08);
    color: var(--w5-green);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
}
.w5-paid-body { padding: 14px 16px 4px; font-size: 14px; line-height: 1.8; word-break: break-all; }
.w5-paid-body p { margin: 0 0 8px; }
.w5-paid-copy {
    margin: 6px 16px 0;
    background: var(--w5-primary);
    border: none;
    color: #fff;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--w5-radius);
    cursor: pointer;
}
.w5-paid-copy:hover { background: var(--w5-primary-dk); }
.paid-flash { animation: paidFlash 1.2s ease; }
@keyframes paidFlash {
    0% { box-shadow: 0 0 0 4px rgba(249, 101, 24, .35); }
    100% { box-shadow: 0 0 0 4px rgba(249, 101, 24, 0); }
}

/* ============ 购买表单 / 通用表单 ============ */
.w5-buy-card { padding: 18px 20px; margin-top: 10px; }
.w5-buy-card h3 { margin: 0 0 8px; font-size: 16px; }
.w5-form-hint { font-size: 13px; color: var(--w5-mut); margin: 0 0 12px; }
.w5-form-group { margin-bottom: 12px; }
.w5-form-group label { display: block; font-size: 13px; color: var(--w5-mut); margin-bottom: 5px; }
.w5-form-group input, .w5-form-group select, .w5-form-group textarea {
    width: 100%;
    border: 1px solid var(--w5-border);
    border-radius: var(--w5-radius);
    padding: 9px 12px;
    font-size: 14px;
    color: var(--w5-title);
    background: #fff;
    outline: 0;
    transition: .15s;
}
.w5-form-group input:focus, .w5-form-group select:focus, .w5-form-group textarea:focus {
    border-color: var(--w5-primary);
    box-shadow: 0 0 0 3px var(--w5-primary-bg);
}

.w5-form-card { padding: 26px 24px; }
.w5-form-card-wide { max-width: 560px; margin: 0 auto; }
.w5-pay-type { display: flex; gap: 10px; }
.w5-pay-type-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--w5-border);
    border-radius: var(--w5-radius);
    padding: 9px 0;
    font-size: 14px;
    cursor: pointer;
    transition: .15s;
}
.w5-pay-pill {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border-radius: 4px;
    background: var(--w5-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}
.w5-pay-pill.is-free { background: var(--w5-green); color: #fff; }

/* ============ 列表页头 / 专题 / 链接页 / CTA / VIP 卡 ============ */
.w5-page-head { margin: 0 0 16px; }
.w5-page-head .w5-page-title { font-size: 20px; }
.w5-page-sub { font-size: 13px; color: var(--w5-mut); margin-top: 2px; }
.w5-cat-head { margin-bottom: 16px; }

.w5-topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.w5-topic-card {
    background: var(--w5-card);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
    padding: 16px;
    transition: .2s;
}
.w5-topic-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.w5-topic-name { font-size: 16px; font-weight: 700; color: var(--w5-title); margin-bottom: 4px; }
a.w5-topic-name:hover { color: var(--w5-primary); }
.w5-topic-summary { font-size: 13px; color: var(--w5-mut); margin-bottom: 8px; }
.w5-topic-meta { font-size: 12px; color: var(--w5-mut); }
.w5-sub-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.w5-sub-tag {
    display: inline-block;
    padding: 3px 12px;
    background: #25252b;
    border-radius: 5px;
    font-size: 12px;
    color: var(--w5-text);
}
.w5-sub-tag:hover { background: var(--w5-primary-bg); color: var(--w5-primary); }

.w5-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.w5-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--w5-card);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
    padding: 14px 16px;
    transition: .2s;
}
.w5-link-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.w5-link-logo {
    flex: none;
    width: 42px; height: 42px;
    border-radius: var(--w5-radius);
    background: #25252b;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: var(--w5-primary);
    overflow: hidden;
}
.w5-link-desc { font-size: 12px; color: var(--w5-mut); }

.w5-cta {
    background: var(--w5-card);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
    padding: 22px;
    text-align: center;
    margin: 18px 0;
}
.w5-cta-title { font-size: 19px; font-weight: 700; color: var(--w5-title); margin-bottom: 6px; }
.w5-cta-sub { font-size: 13px; color: var(--w5-mut); margin-bottom: 14px; }
.w5-cta-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.w5-cta-note { font-size: 12px; color: var(--w5-mut); margin-top: 10px; }

.w5-vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.w5-vip-card {
    background: var(--w5-card);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
    border: 2px solid transparent;
    padding: 22px 18px;
    text-align: center;
    position: relative;
    transition: .2s;
}
.w5-vip-card:hover { transform: translateY(-2px); }
.w5-vip-card.hot { border-color: var(--w5-primary); }
.w5-vip-flag {
    position: absolute;
    top: -1px; right: -1px;
    background: var(--w5-primary);
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 0 var(--w5-radius) 0 var(--w5-radius);
}
.w5-vip-name { font-size: 16px; font-weight: 700; color: var(--w5-title); }
.w5-vip-price { font-size: 28px; font-weight: 800; color: var(--w5-primary); margin: 8px 0; }
.w5-vip-price small { font-size: 13px; font-weight: 400; }
.w5-vip-days { font-size: 12px; color: var(--w5-mut); margin-bottom: 14px; }

.w5-table { width: 100%; border-collapse: collapse; background: var(--w5-card); font-size: 13px; }
.w5-table th, .w5-table td { border-bottom: 1px solid var(--w5-border); padding: 10px 12px; text-align: left; }
.w5-table th { color: var(--w5-mut); font-weight: 600; background: #1e2024; }
.w5-status-ok { color: var(--w5-green); font-weight: 600; }
.w5-status-no { color: var(--w5-red); font-weight: 600; }

.w5-alert {
    border-radius: var(--w5-radius);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
    background: #25252b;
    color: var(--w5-text);
}
.w5-alert.w5-alert-error { background: rgba(214, 41, 62, .08); color: var(--w5-red); }
.w5-alert.w5-alert-success { background: rgba(12, 188, 135, .1); color: var(--w5-green); }

.w5-404 { text-align: center; padding: 60px 0; }
.w5-404-num { font-size: 64px; font-weight: 800; color: var(--w5-primary); line-height: 1; }

.w5-empty {
    background: var(--w5-card);
    border-radius: var(--w5-radius);
    box-shadow: var(--w5-shadow);
    text-align: center;
    color: var(--w5-mut);
    padding: 50px 20px;
    font-size: 14px;
}

/* ============ 首页 SEO 简介 / 友链 ============ */
.w5-home-seo { padding: 18px 20px; margin-bottom: 18px; }
.w5-home-seo-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--w5-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.w5-home-seo-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--w5-primary);
    border-radius: 2px;
}
.w5-home-seo-body { font-size: 13px; color: var(--w5-mut); line-height: 1.8; }
.w5-home-links { padding: 18px 20px; margin-bottom: 18px; }
.w5-home-links-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--w5-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.w5-home-links-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--w5-primary);
    border-radius: 2px;
}
.w5-home-links-body { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.w5-home-links-body a { color: var(--w5-mut); }
.w5-home-links-body a:hover { color: var(--w5-primary); }

/* ============ 分页（引擎固定输出 .pagination > a / span.current） ============ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 22px 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: var(--w5-radius);
    background: var(--w5-card);
    box-shadow: var(--w5-shadow);
    font-size: 13px;
    color: var(--w5-text);
}
.pagination a:hover { color: var(--w5-primary); }
.pagination span.current {
    background: var(--w5-primary);
    color: #fff;
    font-weight: 600;
}

/* ============ 页脚（ripro：白底灰字） ============ */
.w5-footer {
    background: var(--w5-card);
    border-top: 1px solid var(--w5-border);
    padding: 26px 0 30px;
    font-size: 13px;
    color: var(--w5-text);
}
.w5-footer a { color: var(--w5-text); }
.w5-footer a:hover { color: var(--w5-primary); }
.w5-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 12px;
}
.w5-footer-friend { padding-top: 12px; border-top: 1px dashed var(--w5-border); }
.w5-footer-friend-label { color: var(--w5-mut); }
.w5-footer-center { text-align: center; line-height: 1.8; color: var(--w5-mut); }

/* ============ 支付弹窗（类名契约固定，勿改） ============ */
.pay-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pay-modal {
    background: #fff;
    border-radius: 8px;
    width: 340px;
    max-width: 94vw;
    padding: 18px 20px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    text-align: center;
}
.pay-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: var(--w5-title);
    margin-bottom: 14px;
}
.pay-amount { color: var(--w5-primary); margin-left: 4px; }
.pay-close {
    font-size: 22px;
    color: var(--w5-mut);
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}
.pay-close:hover { color: var(--w5-title); }
.pay-qr-wrap {
    width: 232px;
    height: 232px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.pay-qr-wrap img { width: 232px; height: 232px; display: block; }
.pay-caption { font-size: 13px; color: var(--w5-text); margin-bottom: 10px; }
.pay-btn-phone {
    display: block;
    width: 100%;
    background: #25252b;
    border: 1px solid var(--w5-border);
    color: var(--w5-text);
    font-size: 13px;
    padding: 8px 0;
    border-radius: var(--w5-radius);
    cursor: pointer;
    margin-bottom: 10px;
}
.pay-btn-phone:hover { color: var(--w5-primary); border-color: var(--w5-primary); }
.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--w5-mut);
    margin-bottom: 10px;
    min-height: 18px;
}
.pay-status-ok { color: var(--w5-green); }
.pay-status-expired { color: #d19b00; }
.pay-status-fail { color: var(--w5-red); }
.pay-spinner {
    width: 14px; height: 14px;
    border: 2px solid var(--w5-primary-bg);
    border-top-color: var(--w5-primary);
    border-radius: 50%;
    animation: paySpin .8s linear infinite;
    flex: none;
}
@keyframes paySpin { to { transform: rotate(360deg); } }
/* 契约：JS 会 inline 设 display:block，必须自带宽度 + auto 边距保持居中 */
.pay-btn-refresh {
    display: block;
    width: 200px;
    margin: 4px auto 0;
    background: var(--w5-primary);
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 9px 0;
    border-radius: 6px;
    cursor: pointer;
}
.pay-btn-refresh:hover { background: var(--w5-primary-dk); }
.pay-btn-refresh:disabled { opacity: .6; cursor: default; }

/* ============ 响应式 ============ */
@media (max-width: 1020px) {
    .w5-header-search input { width: 84px; }
}
@media (max-width: 900px) {
    .w5-shell { flex-direction: column; }
    .w5-side { width: 100%; }
    .w5-side-inner { position: static; }
    .w5-menu {
        display: none;
        position: fixed;
        top: var(--w5-head-h);
        left: 0; right: 0;
        background: var(--w5-header-bg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 14px 14px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
        max-height: calc(100vh - var(--w5-head-h));
        overflow-y: auto;
    }
    .w5-menu.open { display: flex; }
    .w5-menu a { padding: 10px 8px; border-radius: 6px; font-size: 14px; }
    .w5-nav-toggle { display: flex; }
    .w5-user-meta { display: none; }
    .w5-vip-grid { grid-template-columns: 1fr; }
    .w5-topic-grid, .w5-link-grid { grid-template-columns: 1fr; }
    .w5-hero-search { padding: 64px 16px 66px; }
    .w5-hero-search-title { font-size: 22px; margin-bottom: 18px; }
}
@media (max-width: 640px) {
    body { font-size: 14px; }
    .w5-header-search { display: none; }
    .w5-hero-search { padding: 46px 14px 50px; }
    .w5-hero-search-title { font-size: 20px; margin-bottom: 14px; }
    .w5-hero-search-form select { display: none; }
    /* wu5cn 移动端 row-cols-2：两列小卡（ripro 同款），塞不下时间项则隐藏 */
    .w5-grids { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .w5-grid-con { padding: 8px; }
    .w5-grid-title { font-size: 13px; }
    .w5-grid-meta { font-size: 10.5px; gap: 6px; }
    .w5-grid-meta > span:first-child { display: none; }
    .w5-btn-row { flex-direction: column; align-items: stretch; }
    .w5-btn { width: 100%; }
    .w5-page-title { font-size: 18px; }
    .w5-hero { flex-direction: column; }
    .w5-hero-thumb { width: 100%; }
}


/* ============================================================
   == wu5cn 追加区 A：骨架（左侧竖导航 + 顶栏 + 内容区） ==
   ============================================================ */
body { padding-top: 0; }

.w5-sb {
    position: fixed; top: 0; left: 0; bottom: 0; width: 200px; z-index: 30;
    background: #16161a; border-right: 1px solid #25252b;
    display: flex; flex-direction: column; overflow-y: auto;
}
.w5-sb-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 18px 14px; text-decoration: none;
}
.w5-sb-logo {
    flex: none; width: 40px; height: 40px; border-radius: 9px;
    background: linear-gradient(135deg, #f96518, #ff2a14);
    color: #fff; font-size: 20px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.w5-sb-name {
    font-size: 17px; font-weight: 700; color: #e1e3e5; line-height: 1.3;
    word-break: break-all;
}
.w5-sb-nav { flex: 1; padding: 6px 10px; }
.w5-sb-nav a {
    display: block; padding: 9px 12px; margin-bottom: 2px;
    border-radius: 7px; font-size: 14px; color: #b8bcc2; text-decoration: none;
    border-left: 2px solid transparent; transition: background .15s, color .15s;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w5-sb-nav a:hover { color: #f96518; background: #1e2024; }
.w5-sb-nav a.on {
    color: #f96518; background: linear-gradient(to right, rgba(249,101,24,.14), rgba(249,101,24,.04));
    border-left-color: #f96518; font-weight: 600;
}
.w5-sb-foot {
    padding: 12px 18px 16px; border-top: 1px solid #25252b;
    display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px;
}
.w5-sb-foot a { color: #8a8f96; text-decoration: none; }
.w5-sb-foot a:hover { color: #f96518; }

.w5-topbar {
    position: fixed; top: 0; left: 200px; right: 0; height: 64px; z-index: 29;
    background: rgba(26, 28, 31, .92); backdrop-filter: blur(8px);
    border-bottom: 1px solid #25252b;
    display: flex; align-items: center; gap: 16px; padding: 0 28px;
}
.w5-top-logo { display: none; font-size: 18px; font-weight: 800; color: #f96518; text-decoration: none; white-space: nowrap; }
.w5-top-search {
    flex: 1; max-width: 640px; display: flex; align-items: center;
    background: rgba(255, 255, 255, .08); border: 1px solid transparent;
    border-radius: 8px; height: 40px; overflow: hidden;
    transition: background .2s, border-color .2s;
}
.w5-top-search:focus-within { background: #25252b; border-color: #32323c; }
.w5-top-search input {
    flex: 1; height: 100%; border: 0; outline: 0; background: transparent;
    padding: 0 14px; font-size: 14px; color: #e1e3e5;
}
.w5-top-search input::placeholder { color: #8a8f96; }
.w5-top-search button {
    flex: none; height: 100%; border: 0; background: transparent;
    color: #b8bcc2; font-size: 14px; padding: 0 18px; cursor: pointer;
}
.w5-top-search button:hover { color: #f96518; }
.w5-top-auth { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.w5-top-auth .w5-btn-sm {
    display: inline-block; padding: 6px 14px; border-radius: 7px; font-size: 13px;
    color: #e1e3e5; background: #25252b; border: 1px solid #32323c; text-decoration: none;
    cursor: pointer;
}
.w5-top-auth .w5-btn-sm:hover { color: #f96518; border-color: #f96518; }
.w5-top-auth .w5-btn-white { background: transparent; }
.w5-top-auth .w5-btn-gold {
    background: linear-gradient(135deg, #f96518, #ff2a14);
    border-color: transparent; color: #fff; font-weight: 600;
}
.w5-top-auth .w5-btn-gold:hover { color: #fff; filter: brightness(1.08); }
.w5-user-chip { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 8px; border-radius: 8px; }
.w5-user-chip:hover { background: #1e2024; }
.w5-user-avatar {
    width: 32px; height: 32px; border-radius: 50%; background: #32323c; color: #e1e3e5;
    font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.w5-user-avatar.is-vip { background: linear-gradient(135deg, #f96518, #ff2a14); color: #fff; }
.w5-user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.w5-user-name { font-size: 13px; color: #e1e3e5; font-weight: 600; }
.w5-user-level { font-size: 11px; color: #8a8f96; }
.w5-user-level.is-vip { color: #f96518; }
.w5-sep { font-style: normal; margin: 0 3px; }

.w5-page { margin-left: 200px; min-height: 100vh; display: flex; flex-direction: column; }
.w5-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 22px 28px 30px; flex: 1; }
.w5-topbar + .w5-mnav + .w5-page, .w5-page { margin-top: 64px; }
.w5-mnav { display: none; }

/* ============================================================
   == B：顶部轮播（scroll-snap 横滑） ==
   ============================================================ */
.w5-slide-wrap { margin-bottom: 26px; }
.w5-slide-track {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    contain: strict; height: 300px;
}
.w5-slide-track::-webkit-scrollbar { display: none; }
.w5-slide {
    flex: 0 0 calc(58% - 8px); scroll-snap-align: start; position: relative;
    border-radius: 8px; overflow: hidden; background: #1e2024;
    text-decoration: none; display: block;
}
.w5-slide img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.w5-slide.is-ph { background: linear-gradient(135deg, #25252b, #32323c); }
.w5-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 40px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
}
.w5-slide-title {
    display: block; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.w5-slide-desc {
    display: block; font-size: 13px; color: rgba(255,255,255,.82);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ============================================================
   == C：模块头 + 海报网格 + 海报卡 ==
   ============================================================ */
.w5-mod-head {
    display: flex; align-items: baseline; gap: 14px; margin: 26px 0 16px;
}
.w5-mod-title {
    font-size: 26px; font-weight: 700; color: #e1e3e5; margin: 0; line-height: 1.2;
}
.w5-mod-more { font-size: 13px; color: #8a8f96; }

.w5-grid {
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px;
    margin: 0 0 8px;
}
.w5-poster { display: block; text-decoration: none; min-width: 0; }
.w5-poster-cover {
    position: relative; width: 100%; height: 0; padding-bottom: 145%;
    border-radius: 8px; overflow: hidden; background: #1e2024;
    border: 1px solid #25252b;
}
.w5-poster-pic { position: absolute; inset: 0; }
.w5-poster-pic img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .25s;
}
.w5-poster:hover .w5-poster-pic img { transform: scale(1.05); }
.w5-poster-pic .w5-noimg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #8a8f96; font-size: 13px;
    background: linear-gradient(135deg, #1e2024, #25252b);
}
.w5-poster-douban {
    position: absolute; top: 0; left: 0; z-index: 2;
    padding: 2px 8px; border-radius: 0 0 8px 0;
    background: rgba(12, 188, 135, .92); color: #fff; font-size: 12px; font-weight: 600;
}
.w5-poster-new {
    position: absolute; top: 0; right: 0; z-index: 2;
    padding: 2px 8px; border-radius: 0 0 0 8px;
    background: linear-gradient(90deg, #f96518, #ff2a14); color: #fff;
    font-size: 12px; font-weight: 600;
}
.w5-poster-note {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 18px 10px 6px; text-align: right;
    background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
    color: rgba(255,255,255,.88); font-size: 12px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w5-poster-title {
    margin-top: 8px; font-size: 14px; color: #e1e3e5; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.w5-poster:hover .w5-poster-title { color: #f96518; }

.w5-empty {
    background: #16161a; border: 1px solid #25252b; border-radius: 8px;
    padding: 46px 20px; text-align: center; color: #8a8f96; font-size: 14px;
    margin-bottom: 16px;
}

/* 面包屑 / 页头 / 子分类标签（列表与详情共用） */
.w5-crumb { font-size: 13px; color: #8a8f96; margin-bottom: 14px; }
.w5-crumb a { color: #8a8f96; text-decoration: none; }
.w5-crumb a:hover { color: #f96518; }
.w5-crumb-sep { margin: 0 6px; }
.w5-cat-head { margin-bottom: 16px; }
.w5-page-title { font-size: 28px; font-weight: 700; color: #e1e3e5; margin: 0 0 6px; line-height: 1.25; }
.w5-page-sub { font-size: 13px; color: #8a8f96; margin: 0 0 4px; }
.w5-page-head { margin-bottom: 18px; }
.w5-page-search { margin-top: 12px; max-width: 460px; }
.w5-sub-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.w5-sub-tag {
    display: inline-block; padding: 4px 14px; border-radius: 20px;
    background: #1e2024; border: 1px solid #25252b; color: #b8bcc2;
    font-size: 13px; text-decoration: none;
}
.w5-sub-tag:hover { color: #f96518; border-color: #f96518; }

/* 首页 SEO / 友链版块 */
.w5-home-seo, .w5-home-links {
    background: #16161a; border: 1px solid #25252b; border-radius: 8px;
    padding: 20px 22px; margin-top: 22px;
}
.w5-home-seo-title, .w5-home-links-title { font-size: 17px; font-weight: 700; color: #e1e3e5; margin: 0 0 10px; }
.w5-home-seo-body { font-size: 13px; color: #b8bcc2; line-height: 1.8; }
.w5-home-links-body { display: flex; flex-wrap: wrap; gap: 8px; }
.w5-home-links-body a {
    padding: 4px 14px; border-radius: 6px; background: #1e2024; border: 1px solid #25252b;
    color: #b8bcc2; font-size: 13px; text-decoration: none;
}
.w5-home-links-body a:hover { color: #f96518; border-color: #f96518; }

/* ============================================================
   == D：详情页换装（entry-header 橙竖条 + fields pills + paypanel + prenext） ==
   ============================================================ */
.w5-entry-header { margin-bottom: 18px; }
.w5-entry-title {
    font-size: 26px; font-weight: 700; color: #e1e3e5; margin: 0 0 12px;
    padding-left: 14px; border-left: 4px solid #f96518; line-height: 1.3;
}
.w5-post-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 10px; padding: 0; }
.w5-post-meta li { font-size: 13px; color: #8a8f96; }
.w5-post-meta a { color: #8a8f96; text-decoration: none; }
.w5-post-meta a:hover { color: #f96518; }
.w5-post-cat a {
    display: inline-block; padding: 1px 10px; border-radius: 20px;
    background: rgba(249, 101, 24, .14); color: #f96518; font-size: 12px;
}
.w5-post-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.w5-post-field {
    padding: 3px 12px; border-radius: 20px; background: #1e2024; border: 1px solid #25252b;
    font-size: 12px; color: #b8bcc2;
}
.w5-post-field b { color: #8a8f96; font-weight: 600; margin-right: 6px; }
.w5-single-download { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.w5-dl-btn {
    display: inline-block; padding: 10px 26px; border: 0; border-radius: 8px;
    background: linear-gradient(135deg, #f96518, #ff2a14); color: #fff;
    font-size: 15px; font-weight: 700; cursor: pointer;
}
.w5-dl-btn:hover { filter: brightness(1.08); }
.w5-dl-note { font-size: 12px; color: #8a8f96; }

.w5-content-card {
    background: #16161a; border: 1px solid #25252b; border-radius: 8px;
    padding: 22px 24px; margin-bottom: 20px;
}
.w5-detail-content { font-size: 15px; color: #b8bcc2; line-height: 1.9; }
.w5-detail-content img { border-radius: 6px; }
.w5-detail-content pre { background: #1e2024; border-color: #32323c; color: #b8bcc2; }
.w5-detail-content code { background: #25252b; color: #e1e3e5; }
.w5-detail-content blockquote { background: #1e2024; color: #8a8f96; }
.w5-detail-content th { background: #1e2024; color: #e1e3e5; }
.w5-detail-content td, .w5-detail-content th { border-color: #32323c; }
.w5-paid-hint {
    background: rgba(249, 101, 24, .1); border: 1px dashed #f96518; border-radius: 8px;
    padding: 12px 16px; font-size: 13px; color: #f96518; cursor: pointer; margin-top: 14px;
}
.w5-paid-hint-link { text-decoration: underline; }
.w5-paid-box { background: #1e2024; border: 1px solid #32323c; border-radius: 8px; padding: 16px; margin-top: 16px; }
.w5-paid-head { font-size: 14px; font-weight: 600; color: #0cbc87; margin-bottom: 10px; }
.w5-paid-body { font-size: 14px; color: #e1e3e5; line-height: 1.8; word-break: break-all; }
.w5-paid-copy {
    margin-top: 12px; padding: 8px 18px; border: 0; border-radius: 7px;
    background: #f96518; color: #fff; font-size: 13px; cursor: pointer;
}
.paid-flash { animation: w5flash 1.2s ease 2; }
@keyframes w5flash { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 0 3px rgba(249,101,24,.45); } }

.w5-paypanel {
    position: relative; background: #16161a; border: 1px solid #25252b; border-radius: 8px;
    padding: 22px 24px; margin-bottom: 20px;
}
.w5-pay-tag {
    position: static; display: inline-block; margin-bottom: 14px;
    padding: 3px 12px; border-radius: 20px;
    background: linear-gradient(135deg, #f96518, #ff2a14); color: #fff;
    font-size: 12px; font-weight: 600;
}
.w5-pay-tag.is-free { background: rgba(12, 188, 135, .92); }
.w5-btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.w5-btn-row .w5-btn { flex: 0 1 auto; }
.w5-btn.w5-btn-ghost { background: #1e2024; border: 1px solid #32323c; color: #b8bcc2; }
.w5-btn.w5-btn-ghost:hover { color: #f96518; border-color: #f96518; }
.w5-btn.w5-btn-suc { background: rgba(12, 188, 135, .16); border: 1px solid #0cbc87; color: #0cbc87; }
.w5-btn.w5-btn-vip {
    background: linear-gradient(135deg, #f7c32e, #e8a80c); border: none; color: #4a3305; font-weight: 700;
}
.w5-btn.w5-btn-vip:hover { filter: brightness(1.06); color: #4a3305; }
.w5-hero-services { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 12px; color: #8a8f96; }
.w5-hero-notice {
    margin-top: 12px; font-size: 12px; color: #8a8f96;
    background: #1e2024; border-radius: 6px; padding: 8px 12px;
}
.w5-buy-card { background: #1e2024; border: 1px solid #32323c; border-radius: 8px; padding: 18px; margin-top: 8px; }
.w5-buy-card h3 { margin: 0 0 8px; font-size: 16px; color: #e1e3e5; }
.w5-form-hint { font-size: 13px; color: #8a8f96; margin: 0 0 12px; }
.w5-form-group { margin-bottom: 12px; }
.w5-form-group label { display: block; font-size: 13px; color: #b8bcc2; margin-bottom: 6px; }
.w5-form-group input, .w5-form-group select, .w5-form-group textarea {
    background: #16161a; border: 1px solid #32323c; color: #e1e3e5; border-radius: 7px;
}
.w5-form-group input:focus, .w5-form-group select:focus, .w5-form-group textarea:focus { border-color: #f96518; outline: none; }
.w5-btn-block { width: 100%; }

.w5-prenext { margin-bottom: 20px; }
.w5-prenext-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w5-prenext-card {
    display: flex; flex-direction: column; gap: 6px;
    background: #16161a; border: 1px solid #25252b; border-radius: 8px;
    padding: 14px 16px; text-decoration: none;
}
.w5-prenext-card:hover { border-color: #f96518; }
.w5-prenext-label { font-size: 12px; color: #8a8f96; }
.w5-prenext-title {
    font-size: 14px; color: #e1e3e5; font-weight: 600;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.w5-prenext-card.is-none { visibility: hidden; }

/* ============================================================
   == E：黑皮兜底（分页 / 支付弹窗 / 表格 / 表单 / 页脚 / 快捷球） ==
   ============================================================ */
.pagination { margin: 18px 0 6px; }
.pagination a, .pagination span {
    background: #1e2024; border: 1px solid #32323c; color: #b8bcc2;
}
.pagination a:hover { color: #f96518; border-color: #f96518; }
.pagination span.current { background: #f96518; border-color: #f96518; color: #fff; }

.pay-mask { background: rgba(0, 0, 0, .72); }
.pay-modal { background: #16161a; color: #e1e3e5; border: 1px solid #32323c; }
.pay-head { color: #e1e3e5; }
.pay-close { color: #8a8f96; }
.pay-caption { color: #8a8f96; }
.pay-qr-wrap { background: #1e2024; }
.pay-btn-phone { background: #25252b; border: 1px solid #32323c; color: #b8bcc2; }
.pay-btn-phone:hover { color: #f96518; }
.pay-status { color: #8a8f96; }
.pay-status-ok { color: #0cbc87; }
.pay-status-expired, .pay-status-fail { color: #ff4d2e; }

.w5-table th { background: #1e2024; color: #8a8f96; }
.w5-table td { border-color: #32323c; }
.w5-alert { background: #1e2024; color: #b8bcc2; }
.w5-vip-promo { background: linear-gradient(135deg, #32323c 0%, #212126 100%); }
.w5-hot-idx { background: #25252b; color: #8a8f96; }
.w5-navlist a, .w5-chip { background: #1e2024; color: #b8bcc2; }
.w5-link-logo { background: #1e2024; }

.w5-footer { background: #16161a; border-top: 1px solid #25252b; margin-top: 30px; }
.w5-footer .w5-wrap { padding-top: 22px; padding-bottom: 18px; }
.w5-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; margin-bottom: 12px; }
.w5-footer-links a { color: #8a8f96; text-decoration: none; }
.w5-footer-links a:hover { color: #f96518; }
.w5-footer-friend-label { color: #8a8f96; }
.w5-footer-center { font-size: 12px; color: #6d7278; text-align: center; line-height: 1.8; }
.w5-footer-center a { color: #6d7278; }

.w5-quickbar {
    position: fixed; right: 0; bottom: 85px; z-index: 28;
    display: flex; flex-direction: column; gap: 1px;
    background: #25252b; border-radius: 6px 0 0 6px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.w5-qb-btn {
    width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer;
    color: #b8bcc2; font-size: 13px; font-weight: 700; text-decoration: none;
    display: flex; align-items: center; justify-content: center;
}
.w5-qb-btn:hover { background: #32323c; color: #f96518; }
.w5-qb-btn.is-vip { color: #f96518; }

/* 沿用页壳（page/links/404/sitemap 等旧容器类名兜底） */
.w5-shell { display: block; }
.w5-shell--full { display: block; }
.w5-main { width: 100%; }
.w5-block { margin-bottom: 8px; }

/* ============================================================
   == F：响应式（1024 顶栏横滚 / 767 三列 / 480 两列） ==
   ============================================================ */
@media (max-width: 1400px) {
    .w5-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 1024px) {
    .w5-sb { display: none; }
    .w5-topbar { left: 0; padding: 0 14px; gap: 10px; }
    .w5-top-logo { display: block; }
    .w5-page { margin-left: 0; margin-top: 104px; }
    .w5-wrap { padding: 16px 14px 24px; }
    .w5-mnav {
        position: fixed; top: 56px; left: 0; right: 0; z-index: 28;
        display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
        background: #16161a; border-bottom: 1px solid #25252b;
        padding: 0 10px; scrollbar-width: none; contain: strict; height: 44px;
    }
    .w5-mnav::-webkit-scrollbar { display: none; }
    .w5-mnav a {
        flex: none; display: flex; align-items: center; padding: 0 13px;
        font-size: 14px; color: #b8bcc2; text-decoration: none; position: relative;
        white-space: nowrap;
    }
    .w5-mnav a.on { color: #f96518; font-weight: 600; }
    .w5-mnav a.on::after {
        content: ''; position: absolute; left: 32.5%; bottom: 3px; width: 35%; height: 3px;
        border-radius: 3px; background: linear-gradient(90deg, #f96518, #ff2a14);
    }
    .w5-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .w5-slide-track { height: 210px; }
    .w5-slide { flex: 0 0 calc(72% - 8px); }
    .w5-topbar { height: 56px; }
    .w5-user-meta { display: none; }
    .w5-top-auth .w5-btn-white { display: none; }
}
@media (max-width: 767px) {
    .w5-grid { grid-template-columns: repeat(3, 1fr); }
    .w5-mod-title { font-size: 21px; }
    .w5-page-title { font-size: 23px; }
    .w5-entry-title { font-size: 21px; }
    .w5-slide-title { font-size: 16px; }
    .w5-prenext-in { grid-template-columns: 1fr; }
    .w5-content-card, .w5-paypanel { padding: 16px 14px; }
    .w5-top-auth .w5-btn-sm { padding: 5px 10px; font-size: 12px; }
}
@media (max-width: 480px) {
    .w5-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .w5-slide-track { height: 170px; contain: strict; }
    .w5-slide { flex: 0 0 86%; }
    .w5-top-search { max-width: none; }
    .w5-poster-title { font-size: 13px; }
    .w5-quickbar { bottom: 70px; }
}


/* == wu5cn 补遗：links 页形制 + post meta 修饰类 == */
.w5-post-date, .w5-post-views, .w5-post-update { color: #8a8f96; }
.w5-post-views::before { content: '\25CE'; margin-right: 4px; color: #8a8f96; }
.w5-post-date::before { content: '\23F0'; margin-right: 4px; font-size: 12px; }
.w5-links-intro { font-size: 13px; color: #8a8f96; margin: 0 0 14px; }
.w5-cta-body {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    background: #16161a; border: 1px solid #25252b; border-radius: 8px;
    padding: 16px 18px; margin-bottom: 16px;
}
.w5-link-name { font-size: 15px; font-weight: 600; color: #e1e3e5; }
.w5-link-text { font-size: 13px; color: #8a8f96; }

/* 付费引导卡（七十七期：同步主站 m-paid-cta 形态 —— 大号橙价 + 绿色按钮 + 找回订单） */
.w5-paid-cta{background:linear-gradient(180deg,#f1f2f4,#e9eaec);border-radius:10px;padding:22px 16px;text-align:center;margin:18px 0}
.w5-paid-cta-price{font-size:14px;color:#555;margin-bottom:14px}
.w5-paid-cta-price strong{font-size:30px;color:#ff6600;font-weight:700;margin:0 4px;line-height:1.1}
.w5-paid-cta-btn{display:inline-block;border:0;cursor:pointer;padding:13px 64px;border-radius:8px;color:#fff;font-size:16px;font-weight:600;background:linear-gradient(180deg,#2fce5f,#17b34a);box-shadow:0 4px 12px rgba(23,179,74,.28);transition:transform .18s,box-shadow .18s}
.w5-paid-cta-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(23,179,74,.36)}
.w5-paid-cta-tip{font-size:13px;color:#888;margin-top:12px}
.w5-paid-cta-tip a{color:#ff8c00;text-decoration:none}
.w5-paid-cta-tip a:hover{text-decoration:underline}
@media (max-width:640px){.w5-paid-cta-btn{width:100%;padding:13px 0}}
/* thumb-full-override 2026-10-09 */
[class*="-post-thumb"] img,[class*="-hero-thumb"] img,[class*="-cathero-media"] img,[class*="s-thumb"] img{object-fit:contain}
