/* ============================================================
   riplus 主题样式 · 仿 riplus.rizhuti.com（RiPlus-New 官方演示站）
   第 23 套 · 第 91 期
   token（实测 riplus-new main.min.css ver 3.4 + 演示站内联）：
     主蓝 #2163e8（soft rgba(33,99,232,.1)）· header 深紫黑 #0c0028（下拉 #000051）
     页底 #f7f8f9 · 卡 #fff 圆角 4px 轻阴影 · 文 #191a1f / 次 #595d69 / 弱 #a1a1a8
     边 #e6e6e6/#dfe0e5 · 红 #d6293e · 绿 #0cbc87 · 黄 #f7c32e · 浅蓝 #4f9ef8
     粉价卡 #fbe9eb 虚线 #ffabb5 · 容器 1140 · 断点 1200/992/768/479
   注意：pay-* 弹窗类名是 JS 契约不可改；pay-mask 由 JS 设 display:flex 弹出
   ============================================================ */

/* ---------- 1. Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px; line-height: 1.6; color: #191a1f; background: #f7f8f9;
}
a { color: #2163e8; text-decoration: none; transition: color .2s; }
a:hover { color: #1a53c4; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(33,99,232,.18); }

/* ---------- 2. 骨架 ---------- */
.rpls-container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.rpls-home-main { margin-top: 18px; margin-bottom: 30px; }
.rpls-shell { display: flex; align-items: flex-start; gap: 20px; margin-top: 16px; margin-bottom: 30px; }
.rpls-main { flex: 1 1 auto; min-width: 0; }
.rpls-side { flex: 0 0 300px; width: 300px; position: sticky; top: 70px; }

/* ---------- 3. 通用卡 ---------- */
.rpls-card {
    background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06);
    padding: 20px; margin-bottom: 16px;
}
.rpls-card-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }

/* ---------- 4. 按钮（RiPlus soft 形态） ---------- */
.rpls-btn {
    display: inline-block; padding: 7px 16px; border: 1px solid #dfe0e5; border-radius: 4px;
    background: #fff; color: #595d69; font-size: 14px; line-height: 1.5; cursor: pointer;
    text-align: center; transition: all .2s; vertical-align: middle;
}
.rpls-btn:hover { color: #2163e8; border-color: #2163e8; }
.rpls-btn-primary { background: #2163e8; border-color: #2163e8; color: #fff; }
.rpls-btn-primary:hover { background: #1a53c4; border-color: #1a53c4; color: #fff; }
.rpls-btn-suc { background: #0cbc87; border-color: #0cbc87; color: #fff; }
.rpls-btn-suc:hover { background: #0a966c; border-color: #0a966c; color: #fff; }
.rpls-btn-danger { background: #d6293e; border-color: #d6293e; color: #fff; }
.rpls-btn-danger:hover { background: #ab2132; border-color: #ab2132; color: #fff; }
.rpls-btn-warning { background: #f7c32e; border-color: #f7c32e; color: #191a1f; font-weight: 600; }
.rpls-btn-warning:hover { background: #ffcf47; border-color: #ffcf47; color: #191a1f; }
.rpls-btn-ghost { background: none; border-color: #dfe0e5; color: #595d69; }
.rpls-btn-light { background: #fff; border-color: #fff; color: #2163e8; font-weight: 600; }
.rpls-btn-block { display: block; width: 100%; }
.rpls-btn-lg { padding: 11px 26px; font-size: 15px; }
/* soft 系：浅色底 + 深色字（RiPlus btn-*-soft 契约形态） */
.rpls-btn-soft-blue, .rpls-btn-primary.rpls-btn-soft-blue { background: rgba(33,99,232,.1); border-color: transparent; color: #2163e8; }
.rpls-btn-soft-blue:hover { background: #2163e8; color: #fff; }
.rpls-btn-soft-red { background: rgba(214,41,62,.1); border-color: transparent; color: #d6293e; }
.rpls-btn-soft-red:hover { background: #d6293e; color: #fff; }
.rpls-btn-soft-yellow { background: rgba(247,195,46,.14); border-color: transparent; color: #9a7a0a; }
.rpls-btn-soft-yellow:hover { background: #f7c32e; color: #191a1f; }

/* ---------- 4.5 沿用页形制（表单卡 / 页头 / 橙钮） ---------- */
.rpls-btn-orange { background: #ff9800; border-color: #ff9800; color: #fff; }
.rpls-btn-orange:hover { background: #e08900; border-color: #e08900; color: #fff; }
.rpls-form-card { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 22px 20px; margin-bottom: 16px; }
.rpls-form-card-wide { max-width: 760px; }
.rpls-page-head { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 18px 20px; margin-bottom: 16px; }
.rpls-page-title { font-size: 20px; font-weight: 700; }
.rpls-page-sub { font-size: 13px; color: #a1a1a8; margin-top: 4px; }

/* ---------- 5. badge / alert ---------- */
.rpls-badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; line-height: 1.6; }
.rpls-alert { padding: 10px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 14px; }
.rpls-alert-error { background: rgba(214,41,62,.08); color: #d6293e; border: 1px solid rgba(214,41,62,.2); }
.rpls-alert-success { background: rgba(12,188,135,.08); color: #0cbc87; border: 1px solid rgba(12,188,135,.25); }

/* ---------- 6. 表单 ---------- */
.rpls-form-group { margin-bottom: 16px; }
.rpls-form-group label { display: block; font-size: 13px; color: #595d69; margin-bottom: 6px; }
.rpls-form-group input, .rpls-form-group select, .rpls-form-group textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #dfe0e5; border-radius: 4px;
    font-size: 14px; outline: none; transition: border .2s, box-shadow .2s; background: #fff;
}
.rpls-form-group input:focus, .rpls-form-group select:focus, .rpls-form-group textarea:focus {
    border-color: #2163e8; box-shadow: 0 0 0 3px rgba(33,99,232,.12);
}
.rpls-form-hint { font-size: 12px; color: #a1a1a8; margin-top: 6px; }

/* ---------- 7. 表格 ---------- */
.rpls-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rpls-table th, .rpls-table td { padding: 9px 10px; text-align: left; border-bottom: 1px solid #eef0f2; }
.rpls-table th { color: #595d69; font-weight: 600; background: #fafbfc; }
.rpls-table tr:hover td { background: #f7f9fd; }
.rpls-status-ok { color: #0cbc87; font-weight: 600; }
.rpls-status-no { color: #a1a1a8; }

/* ---------- 8. 深色 header（sticky，RiPlus #0c0028 + 白字） ---------- */
.rpls-header {
    background: #0c0028; color: #fff; position: sticky; top: 0; z-index: 50;
    box-shadow: 0 0 30px rgba(0,0,0,.25);
}
.rpls-navbar { display: flex; align-items: center; min-height: 58px; flex-wrap: wrap; }
.rpls-brand { display: flex; align-items: center; margin-right: 14px; }
.rpls-logo-mark {
    background: #2163e8; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .5px;
    border-radius: 4px; padding: 4px 7px; margin-right: 8px;
}
.rpls-logo-txt { color: #fff; font-size: 17px; font-weight: 700; }
.rpls-nav-sep { width: 1px; height: 20px; background: rgba(255,255,255,.18); margin-right: 14px; }
.rpls-menu { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.rpls-menu > a { color: rgba(255,255,255,.82); font-size: 14px; padding: 17px 13px; display: inline-block; }
.rpls-menu > a:hover, .rpls-menu > a.on { color: #fff; }
.rpls-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.rpls-act { color: rgba(255,255,255,.85); font-size: 13px; padding: 6px 9px; display: inline-block; }
.rpls-act:hover { color: #fff; }
.rpls-act-user { font-weight: 700; color: #fff; }
.rpls-act-vip { background: #f7c32e; color: #191a1f; border-radius: 20px; padding: 5px 14px; font-weight: 700; }
.rpls-act-vip:hover { background: #ffcf47; color: #191a1f; }
.rpls-act-out { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 13px; padding: 6px 9px; cursor: pointer; }
.rpls-act-out:hover { color: #fff; }
.rpls-burger { display: none; background: none; border: 0; padding: 6px 4px; cursor: pointer; }
.rpls-burger i { display: block; width: 20px; }
.rpls-burger span { display: block; height: 2px; background: #fff; border-radius: 1px; margin: 4px 0; }

/* ---------- 9. 首页 hero 大搜索（深底多彩光带 + 白底搜索框） ---------- */
.rpls-hero {
    position: relative; overflow: hidden; color: #fff; text-align: center;
    background-color: #191b26;
    background-image:
        radial-gradient(ellipse 42% 88% at 8% 110%, rgba(255,94,58,.55), transparent 60%),
        radial-gradient(ellipse 40% 90% at 30% -10%, rgba(123,97,255,.5), transparent 62%),
        radial-gradient(ellipse 46% 95% at 56% 112%, rgba(33,99,232,.55), transparent 62%),
        radial-gradient(ellipse 40% 85% at 82% -6%, rgba(232,62,140,.45), transparent 60%),
        radial-gradient(ellipse 38% 80% at 97% 108%, rgba(247,195,46,.4), transparent 58%);
}
.rpls-hero-search { padding: 64px 15px 68px; }
.rpls-hero-title { color: #fff; font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.rpls-hero-desc { color: rgba(255,255,255,.82); font-size: 14px; margin-bottom: 24px; }
.rpls-search-form {
    display: flex; align-items: stretch; max-width: 620px; margin: 0 auto;
    background: #fff; border-radius: .3rem; overflow: hidden; text-align: left;
    transition: box-shadow .25s;
}
.rpls-search-form:hover { box-shadow: 0 0 0 5px rgba(0,0,0,.12); }
.rpls-search-select {
    flex: 0 0 auto; display: flex; align-items: center; padding: 0 16px;
    font-size: 14px; color: #595d69; border-right: 1px solid #e6e6e6; position: relative;
}
.rpls-search-select::after {
    content: ""; display: inline-block; margin-left: 8px; border: 4px solid transparent;
    border-top-color: #a1a1a8; transform: translateY(2px);
}
.rpls-search-fields { flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
.rpls-search-fields input {
    flex: 1 1 auto; min-width: 0; border: 0; outline: none; padding: 13px 16px; font-size: 14px; color: #191a1f;
}
.rpls-search-btn {
    flex: 0 0 auto; width: 52px; border: 0; background: #191a1f; color: #fff;
    font-size: 17px; cursor: pointer; transition: background .2s;
}
.rpls-search-btn:hover { background: #000; }
.rpls-hotwords { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.75); display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.rpls-hotword-label { padding: 3px 0; }
.rpls-hotword {
    color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; padding: 2px 13px;
}
.rpls-hotword:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- 9.5 分类宫格（深色渐变图卡 + 彩色数量角标轮换） ---------- */
.rpls-catgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px; }
.rpls-catcell {
    position: relative; display: flex; align-items: flex-end; min-height: 96px;
    border-radius: 4px; overflow: hidden; padding: 12px; color: #fff;
    background: linear-gradient(135deg, #23262e, #3a3f4d);
    box-shadow: 0 1px 3px rgba(25,26,31,.12); transition: transform .2s, box-shadow .2s;
}
.rpls-catcell:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(25,26,31,.2); color: #fff; }
.rpls-catcell::after { content: ""; position: absolute; inset: 0; background: rgba(12,0,40,.18); }
.rpls-catcnt {
    position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 11px; font-weight: 700;
    color: #fff; padding: 1px 8px; border-radius: 3px;
}
.rpls-catcnt.is-danger { background: rgba(214,41,62,.85); }
.rpls-catcnt.is-primary { background: rgba(33,99,232,.85); }
.rpls-catcnt.is-success { background: rgba(12,188,135,.85); }
.rpls-catcnt.is-warning { background: rgba(247,195,46,.9); color: #191a1f; }
.rpls-catcnt.is-info { background: rgba(79,158,248,.85); }
.rpls-catname { position: relative; z-index: 2; font-size: 15px; font-weight: 600; letter-spacing: 1px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

/* ---------- 10. 区块标题 + tab 行（居中） ---------- */
.rpls-secthead { text-align: center; margin: 26px 0 18px; }
.rpls-secttitle { font-size: 22px; font-weight: 700; color: #191a1f; }
.rpls-sectsub { font-size: 13px; color: #a1a1a8; margin-top: 4px; }
.rpls-secttabs { margin-top: 14px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.rpls-secttab {
    border: 1px solid #dfe0e5; background: #fff; color: #595d69;
    border-radius: 20px; padding: 4px 16px; font-size: 13px;
}
.rpls-secttab:hover { color: #2163e8; border-color: #2163e8; }
.rpls-secttab.on { background: #2163e8; border-color: #2163e8; color: #fff; }

/* ---------- 11. 卡片网格（RiPlus item-grid：4 列大封面卡） ---------- */
.rpls-grids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rpls-grids-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rpls-grid {
    background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06);
    overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s;
}
.rpls-grid:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(25,26,31,.1); }
.rpls-gridbadge {
    position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 11px; font-weight: 600;
    padding: 1px 8px; border-radius: 3px;
}
.rpls-gridbadge.is-free { background: rgba(12,188,135,.14); color: #0cbc87; }
.rpls-gridbadge.is-vip { background: rgba(247,195,46,.24); color: #8a6d08; }
.rpls-grid-img {
    display: block; aspect-ratio: 3 / 2; background: #eef0f3; overflow: hidden; position: relative;
}
.rpls-grid-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rpls-grid:hover .rpls-grid-img img { transform: scale(1.05); }
.rpls-noimg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #b9bdc6; font-size: 13px;
    background: linear-gradient(135deg, #f2f4f7, #e8ebf0);
}
.rpls-grid-con { padding: 10px 12px 12px; }
.rpls-grid-cat {
    display: flex; align-items: center; font-size: 12px; color: #595d69; margin-bottom: 4px;
}
.rpls-grid-cat::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2163e8; margin-right: 6px;
}
.rpls-grid-cat a { color: #595d69; }
.rpls-grid-cat a:hover { color: #2163e8; }
.rpls-grid-title {
    font-size: .95rem; font-weight: 600; line-height: 1.45; margin-bottom: 4px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
}
.rpls-grid-title a { color: #191a1f; }
.rpls-grid-title a:hover { color: #2163e8; }
.rpls-grid-desc {
    color: #a1a1a8; font-size: .875rem; line-height: 1.35; margin-bottom: 6px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
    word-break: break-all;
}
.rpls-grid-meta {
    display: flex; align-items: center; gap: 10px; font-size: 12px; color: #a1a1a8;
    white-space: nowrap;
}
.rpls-meta-views { overflow: hidden; text-overflow: ellipsis; }
.rpls-price { margin-left: auto; color: #d6293e; font-weight: 700; }
.rpls-price.is-free { color: #0cbc87; }

/* ---------- 12. 分页（RiPlus 黑胶囊） ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 24px 0 6px; flex-wrap: wrap; }
.pagination a, .pagination span.current {
    display: inline-block; padding: 7px 18px; border-radius: 20px; font-size: 14px;
    background: #191a1f; color: #fff; transition: background .2s;
}
.pagination a:hover { background: #33353d; color: #fff; }
.pagination span.current { background: #2163e8; font-weight: 600; }

/* ---------- 13. 首页 SEO 简介卡 + 友链卡 ---------- */
.rpls-home-seo-title, .rpls-home-links-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.rpls-home-seo-body { font-size: 13px; color: #595d69; line-height: 1.8; }
.rpls-home-links-body { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }

/* ---------- 14. 面包屑 ---------- */
.rpls-crumb {
    display: flex; align-items: center; flex-wrap: wrap; font-size: 13px; color: #a1a1a8;
    padding: 12px 2px;
}
.rpls-crumb a { color: #595d69; }
.rpls-crumb a:hover { color: #2163e8; }
.rpls-crumb-sep { font-style: normal; margin: 0 8px; color: #d0d4d9; }
.rpls-crumb-right { margin-left: auto; }

/* ---------- 15. 列表页头卡（category/topic/search） ---------- */
.rpls-pagehead { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 18px 20px; margin-bottom: 16px; }
.rpls-pagehead-title { font-size: 20px; font-weight: 700; }
.rpls-pagehead-sub { font-size: 13px; color: #a1a1a8; margin-top: 4px; }
.rpls-pagehead-desc { font-size: 13px; color: #595d69; margin-top: 8px; line-height: 1.7; }
.rpls-subtags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* ---------- 16. 详情页头卡 ---------- */
.rpls-posthead { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 20px; margin-bottom: 16px; }
.rpls-posthead-title { font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.rpls-posthead-pic { border-radius: 4px; margin-bottom: 12px; }
.rpls-posthead-info { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #a1a1a8; }
.rpls-posthead-ext { margin-top: 10px; font-size: 13px; color: #595d69; }

/* ---------- 17. 付费区（RiPlus 粉底虚线价格表形制） ---------- */
.rpls-paybox { margin: 0 0 16px; }
.rpls-pay-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.rpls-prices {
    position: relative; background: #fbe9eb; border: 1px dashed #ffabb5; border-radius: 4px;
    padding: 12px 14px; margin-bottom: 14px;
}
.rpls-price-item {
    display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 13px;
}
.rpls-price-item .rpls-pi-name { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; border-radius: 3px; }
.rpls-price-item.is-user .rpls-pi-name { background: rgba(89,93,105,.12); color: #595d69; }
.rpls-price-item.is-vip .rpls-pi-name { background: rgba(247,195,46,.18); color: #9a7a0a; }
.rpls-price-item.is-note .rpls-pi-name { background: rgba(25,26,31,.06); color: #a1a1a8; }
.rpls-price-item em { font-style: normal; font-weight: 700; color: #d6293e; }
.rpls-price-item.is-vip em, .rpls-price-item.is-note em { color: #0cbc87; }
.rpls-price-item.is-note em { color: #a1a1a8; font-weight: 400; }
.rpls-pay-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rpls-res-services { font-size: 12px; color: #a1a1a8; margin-top: 10px; }
.rpls-notice {
    display: flex; align-items: center; gap: 8px; font-size: 12px; color: #a1a1a8;
    margin-top: 10px;
}
.rpls-notice-tag { flex: 0 0 auto; background: #191a1f; color: #fff; border-radius: 10px; padding: 0 10px; font-size: 11px; line-height: 20px; }

/* ---------- 18. 正文排版 ---------- */
.rpls-content-card { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 20px; margin-bottom: 16px; }
.rpls-detail-content { font-size: 15px; line-height: 1.9; color: #2b2d33; word-break: break-word; }
.rpls-detail-content p { margin-bottom: 14px; }
.rpls-detail-content img { border-radius: 4px; margin: 8px auto; }
.rpls-detail-content a { color: #2163e8; border-bottom: 1px solid rgba(33,99,232,.3); }
.rpls-detail-content h1, .rpls-detail-content h2, .rpls-detail-content h3, .rpls-detail-content h4 {
    font-size: 17px; font-weight: 700; margin: 22px 0 12px; padding-left: 10px;
    border-left: 3px solid #2163e8; line-height: 1.5;
}
.rpls-detail-content blockquote {
    background: #f7f8f9; border-left: 3px solid #dfe0e5; border-radius: 0 4px 4px 0;
    padding: 12px 16px; color: #595d69; margin-bottom: 14px;
}
.rpls-detail-content pre {
    background: #191a1f; color: #e6e6e6; border-radius: 4px; padding: 14px; overflow: auto;
    font-size: 13px; margin-bottom: 14px;
}
.rpls-detail-content code { background: #f0f1f3; border-radius: 3px; padding: 1px 6px; font-size: 13px; }
.rpls-detail-content pre code { background: none; padding: 0; }
.rpls-detail-content table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.rpls-detail-content table td, .rpls-detail-content table th { border: 1px solid #e6e6e6; padding: 8px 10px; }

/* ---------- 19. paid 契约（已购解锁区） ---------- */
.rpls-paid-hint {
    background: #fdf3d5; border: 1px solid #ebcb8b; border-radius: 4px;
    padding: 10px 14px; font-size: 13px; color: #7a6414; margin-bottom: 14px;
}
.rpls-paid-hint-link { color: #d6293e; font-weight: 600; }
.rpls-paid-box {
    background: rgba(33,99,232,.05); border: 1px dashed rgba(33,99,232,.4); border-radius: 4px;
    padding: 14px 16px; margin-bottom: 14px; animation: rpls-flash 1.6s ease-in-out 3;
}
.rpls-paid-head { font-size: 14px; font-weight: 600; color: #2163e8; margin-bottom: 6px; }
.rpls-paid-body { font-size: 13px; color: #595d69; line-height: 1.8; word-break: break-all; }
.rpls-paid-copy { margin-top: 8px; }
@keyframes rpls-flash { 0%, 100% { background: rgba(33,99,232,.05); } 50% { background: rgba(33,99,232,.14); } }

/* ---------- 20. 相关推荐 / 上下篇 / 再搜条 ---------- */
.rpls-rel { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 16px 20px; margin-bottom: 16px; }
.rpls-rel ul li { padding: 7px 0; border-bottom: 1px dashed #eef0f2; font-size: 14px; }
.rpls-rel ul li:last-child { border-bottom: 0; }
.rpls-rel ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #2163e8; margin-right: 8px; vertical-align: 2px; }
.rpls-rel ul li a { color: #191a1f; }
.rpls-rel ul li a:hover { color: #2163e8; }
.rpls-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.rpls-pn-cell {
    background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06);
    padding: 12px 14px; font-size: 13px; min-width: 0;
}
.rpls-pn-next { text-align: right; }
.rpls-pn-label { display: block; color: #a1a1a8; font-size: 12px; margin-bottom: 4px; }
.rpls-pn-cell a {
    color: #191a1f; font-weight: 600; display: inline-block; max-width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
}
.rpls-pn-cell a:hover { color: #2163e8; }
.rpls-pn-none { color: #b0b5bd; font-size: 13px; }
.rpls-research {
    display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 4px;
    box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 12px 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.rpls-research input {
    flex: 1 1 200px; min-width: 0; padding: 8px 12px; border: 1px solid #dfe0e5; border-radius: 4px; outline: none;
}
.rpls-research input:focus { border-color: #2163e8; box-shadow: 0 0 0 3px rgba(33,99,232,.12); }

/* ---------- 21. 订单页沿用：资源信息 hero 卡（order_create） ---------- */
.rpls-hero-info { flex: 1 1 auto; min-width: 0; }
.rpls-hero-thumb { flex: 0 0 120px; width: 120px; height: 90px; border-radius: 4px; object-fit: cover; background: #f0f1f3; margin-right: 14px; }
.rpls-hero-thumb-bar { display: flex; gap: 8px; margin-top: 10px; }
.rpls-hero-thumb-bar img { width: 64px; height: 48px; border-radius: 4px; object-fit: cover; border: 1px solid #e6e6e6; }
.rpls-hero-free-tag { display: inline-block; border: 1px solid #0cbc87; color: #0cbc87; font-size: 11px; border-radius: 3px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.rpls-hero-price-row { display: flex; align-items: baseline; margin-top: 8px; }
.rpls-hero-price { color: #d6293e; font-size: 22px; font-weight: 700; }
.rpls-hero-price-label { color: #a1a1a8; font-size: 12px; margin-left: 8px; }
.rpls-hero-notice { font-size: 12px; color: #a1a1a8; margin-top: 8px; }
.rpls-article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #a1a1a8; margin-top: 8px; }
.rpls-buy-card { border: 2px dashed #dfe0e5; box-shadow: none; }

/* ---------- 22. VIP 套餐页 ---------- */
.rpls-pay-type { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.rpls-pay-type-label { font-size: 13px; color: #595d69; }
.rpls-pay-pill { border: 1px solid #dfe0e5; background: #fff; color: #595d69; border-radius: 20px; padding: 6px 18px; font-size: 13px; cursor: pointer; transition: .2s; }
.rpls-pay-pill:hover { border-color: #2163e8; color: #2163e8; }
.rpls-pay-pill.active { background: #2163e8; border-color: #2163e8; color: #fff; }
.rpls-vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.rpls-vip-card {
    background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06);
    border: 2px solid transparent; padding: 22px 18px; text-align: center; position: relative; transition: .2s;
}
.rpls-vip-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(33,99,232,.12); }
.rpls-vip-card.hot { border-color: #2163e8; }
.rpls-vip-flag { position: absolute; top: -1px; right: -1px; background: #2163e8; color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 0 4px 0 4px; }
.rpls-vip-name { font-size: 16px; font-weight: 700; color: #191a1f; }
.rpls-vip-price { font-size: 28px; font-weight: 800; color: #2163e8; margin: 8px 0; }
.rpls-vip-price small { font-size: 13px; font-weight: 400; }
.rpls-vip-days { font-size: 12px; color: #a1a1a8; margin-bottom: 14px; }
.rpls-cta { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 22px; text-align: center; margin: 18px 0; }
.rpls-cta-body { font-size: 14px; }
.rpls-cta-title { font-size: 19px; font-weight: 700; color: #191a1f; margin-bottom: 6px; }
.rpls-cta-sub { font-size: 13px; color: #595d69; margin-bottom: 14px; }
.rpls-cta-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.rpls-cta-note { font-size: 12px; color: #a1a1a8; margin-top: 10px; }

/* ---------- 23. 侧栏（用户卡 / 会员卡 / 排行榜 / 专题 / 分类） ---------- */
.rpls-user-card { padding: 16px; }
.rpls-user-main { display: flex; align-items: center; gap: 10px; }
.rpls-user-nologin { flex-direction: column; align-items: flex-start; gap: 2px; }
.rpls-user-nologin strong { font-size: 15px; }
.rpls-user-nologin span { font-size: 12px; color: #a1a1a8; }
.rpls-user-avatar {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #2163e8;
    color: #fff; font-size: 17px; font-weight: 700; line-height: 42px; text-align: center;
}
.rpls-user-avatar.is-vip { background: linear-gradient(135deg, #f7c32e, #f7692e); }
.rpls-user-meta { min-width: 0; display: flex; flex-direction: column; }
.rpls-user-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpls-user-level { font-size: 12px; color: #a1a1a8; }
.rpls-user-level.is-vip { color: #d6293e; }
.rpls-sep { font-style: normal; margin: 0 4px; color: #d0d4d9; }
.rpls-user-actions { display: flex; gap: 8px; margin-top: 12px; }
.rpls-user-actions .rpls-btn { flex: 1 1 0; }
.rpls-side-vip { background: #fff; border: 2px dashed #dfe0e5; box-shadow: none; }
.rpls-side-vip-head { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.rpls-side-vip-body p { color: #595d69; font-size: 13px; margin-bottom: 12px; }
.rpls-side-vip-note { display: block; color: #a1a1a8; font-size: 12px; margin-top: 8px; }
.rpls-side-title {
    font-size: 15px; font-weight: 600; margin: -20px -20px 14px; padding: 12px 20px;
    border-bottom: 1px solid #e6e6e6;
}
.rpls-side-list li { display: flex; align-items: center; padding: 7px 0; border-bottom: 1px dashed #eef0f2; font-size: 13px; }
.rpls-side-list li:last-child { border-bottom: 0; }
.rpls-side-btl { flex: 1 1 auto; min-width: 0; color: #191a1f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpls-side-btl:hover { color: #2163e8; }
.rpls-side-num { flex: 0 0 auto; color: #a1a1a8; font-size: 12px; margin-left: 8px; }
/* 排行榜（RiPlus ranking-item：圆形序号 + 单行标题，序号色蓝/绿/黄轮换） */
.rpls-ranking { counter-reset: rk; }
.rpls-ranking-item { display: flex; align-items: center; padding: 7px 0; }
.rpls-ranking-num {
    counter-increment: rk; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
    background: rgba(33,99,232,.16); color: #2163e8; font-size: 12px; font-weight: 700;
    line-height: 24px; text-align: center; margin-right: 10px;
}
.rpls-ranking-num::before { content: counter(rk); }
.rpls-ranking-item:nth-child(3n+2) .rpls-ranking-num { background: rgba(12,188,135,.14); color: #0cbc87; }
.rpls-ranking-item:nth-child(3n) .rpls-ranking-num { background: rgba(247,195,46,.2); color: #9a7a0a; }
.rpls-ranking-title {
    flex: 1 1 auto; min-width: 0; color: #191a1f; font-size: 14px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rpls-ranking-title:hover { color: #2163e8; }
.rpls-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.rpls-tag { background: #f0f1f3; color: #595d69; border-radius: 3px; padding: 3px 12px; font-size: 13px; }
.rpls-tag:hover { background: rgba(33,99,232,.1); color: #2163e8; }

/* ---------- 24. 专题页 / sitemap / 友链 / 404 ---------- */
.rpls-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rpls-topic-card { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 16px; transition: transform .2s, box-shadow .2s; }
.rpls-topic-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(25,26,31,.1); }
.rpls-topic-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.rpls-topic-name a { color: #191a1f; }
.rpls-topic-name a:hover { color: #2163e8; }
.rpls-topic-meta { font-size: 12px; color: #a1a1a8; margin-bottom: 6px; }
.rpls-topic-summary { font-size: 13px; color: #595d69; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.rpls-widget { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 16px 20px; margin-bottom: 16px; }
.rpls-widget-head { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.rpls-widget-body { font-size: 13px; color: #595d69; }
.rpls-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rpls-chip { background: #f0f1f3; color: #595d69; border-radius: 3px; padding: 3px 12px; font-size: 13px; }
.rpls-chip:hover { background: rgba(33,99,232,.1); color: #2163e8; }
.rpls-hotlist li { display: flex; align-items: center; padding: 6px 0; border-bottom: 1px dashed #eef0f2; font-size: 13px; }
.rpls-hotlist li:last-child { border-bottom: 0; }
.rpls-hot-idx { flex: 0 0 20px; color: #a1a1a8; font-weight: 700; font-style: normal; }
.rpls-hot-title { flex: 1 1 auto; min-width: 0; color: #191a1f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpls-hot-title:hover { color: #2163e8; }
.rpls-hot-views { flex: 0 0 auto; color: #a1a1a8; font-size: 12px; margin-left: 8px; }
.rpls-links-intro { font-size: 13px; color: #595d69; margin-bottom: 14px; }
.rpls-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rpls-link-card {
    display: flex; align-items: center; background: #fff; border-radius: 4px;
    box-shadow: 0 1px 3px rgba(25,26,31,.06); padding: 12px 14px; transition: transform .2s;
}
.rpls-link-card:hover { transform: translateY(-2px); }
.rpls-link-logo {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 4px; background: rgba(33,99,232,.1);
    color: #2163e8; font-weight: 700; font-size: 16px; line-height: 40px; text-align: center; margin-right: 10px;
}
.rpls-link-text { min-width: 0; }
.rpls-link-name { font-weight: 600; font-size: 14px; color: #191a1f; }
.rpls-link-desc { font-size: 12px; color: #a1a1a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpls-404 { text-align: center; padding: 60px 0; }
.rpls-404-num { font-size: 64px; font-weight: 800; color: #2163e8; line-height: 1.2; }

/* ---------- 25. 页脚（白底居中小字） ---------- */
.rpls-footer { background: #fff; border-top: 1px solid #eef0f2; padding: 22px 0 26px; margin-top: 20px; text-align: center; }
.rpls-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; font-size: 13px; margin-bottom: 8px; }
.rpls-footer-links li { display: flex; align-items: center; }
.rpls-footer-links li + li::before { content: "|"; color: #dfe0e5; margin: 0 10px; }
.rpls-footer-links a { color: #595d69; }
.rpls-footer-links a:hover { color: #2163e8; }
.rpls-footer-friend { color: #a1a1a8; }
.rpls-footer-note { font-size: 12px; color: #a1a1a8; margin-bottom: 6px; }
.rpls-footer-copy { font-size: 12px; color: #a1a1a8; }

/* ---------- 26. 返回顶部（RiPlus 蓝透底） ---------- */
.rpls-backtop {
    position: fixed; right: 30px; bottom: 30px; z-index: 90; width: 40px; height: 40px;
    background: rgba(33,99,232,.3); color: #2163e8; border-radius: 5px;
    font-size: 18px; line-height: 40px; text-align: center; box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.rpls-backtop:hover { background: #2163e8; color: #fff; }

/* ---------- 27. 支付扫码弹窗（pay-mask JS 契约，类名不可改） ---------- */
.pay-mask { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(12,0,40,.6); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; }
.pay-modal { background: #fff; border-radius: 8px; width: 320px; max-width: 100%; padding: 18px 20px; }
.pay-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; color: #191a1f; margin-bottom: 14px; }
.pay-amount { color: #d6293e; }
.pay-close { font-size: 20px; color: #a1a1a8; cursor: pointer; line-height: 1; }
.pay-close:hover { color: #d6293e; }
.pay-qr-wrap { text-align: center; min-height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.pay-qr-wrap img { max-width: 180px; }
.pay-caption { text-align: center; font-size: 13px; color: #595d69; margin-bottom: 10px; }
.pay-btn-phone { display: block; width: 100%; padding: 8px 0; margin-bottom: 10px; background: #2163e8; border: 0; border-radius: 4px; color: #fff; font-size: 13px; cursor: pointer; }
.pay-btn-phone:hover { background: #1a53c4; }
.pay-status { text-align: center; font-size: 13px; color: #a1a1a8; margin-bottom: 10px; }
.pay-status-ok { color: #0cbc87; }
.pay-status-fail { color: #d6293e; }
.pay-status-expired { color: #f7c32e; }
.pay-spinner {
    display: inline-block; width: 12px; height: 12px; border: 2px solid #dfe0e5; border-top-color: #2163e8;
    border-radius: 50%; vertical-align: -2px; margin-right: 6px; animation: rpls-spin .8s linear infinite;
}
@keyframes rpls-spin { to { transform: rotate(360deg); } }

/* ---------- 28. 空态 ---------- */
.rpls-empty { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(25,26,31,.06); text-align: center; padding: 46px 20px; color: #a1a1a8; }

/* ---------- 29. 响应式 ---------- */
@media (max-width: 1200px) {
    .rpls-grids { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .rpls-shell { flex-direction: column; }
    .rpls-side { position: static; width: 100%; flex: 1 1 auto; }
    .rpls-burger { display: inline-block; }
    .rpls-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; background: #000051; border-radius: 4px; margin: 0 0 10px; }
    .rpls-menu.open { display: flex; }
    .rpls-menu > a { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .rpls-menu > a:last-child { border-bottom: 0; }
    .rpls-grids { grid-template-columns: repeat(3, 1fr); }
    .rpls-hero-title { font-size: 25px; }
    .rpls-hero-search { padding: 46px 15px 50px; }
    .rpls-topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .rpls-grids, .rpls-grids-2 { grid-template-columns: repeat(2, 1fr); }
    .rpls-vip-grid { grid-template-columns: 1fr; }
    .rpls-search-select { display: none; }
    .rpls-pn { grid-template-columns: 1fr; }
    .rpls-pn-next { text-align: left; }
    .rpls-posthead-pic { margin-bottom: 10px; }
    .rpls-grid-desc { display: none; }
}
@media (max-width: 479px) {
    .rpls-catgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .rpls-hero-title { font-size: 21px; }
    .rpls-act-vip { display: none; }
    .rpls-link-grid { grid-template-columns: 1fr; }
    .rpls-footer-links li + li::before { margin: 0 7px; }
    .rpls-backtop { right: 14px; bottom: 14px; }
}

/* 付费引导卡（七十七期：同步主站 m-paid-cta 形态 —— 大号橙价 + 绿色按钮 + 找回订单） */
.rpls-paid-cta{background:linear-gradient(180deg,#f1f2f4,#e9eaec);border-radius:10px;padding:22px 16px;text-align:center;margin:18px 0}
.rpls-paid-cta-price{font-size:14px;color:#555;margin-bottom:14px}
.rpls-paid-cta-price strong{font-size:30px;color:#ff6600;font-weight:700;margin:0 4px;line-height:1.1}
.rpls-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}
.rpls-paid-cta-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(23,179,74,.36)}
.rpls-paid-cta-tip{font-size:13px;color:#888;margin-top:12px}
.rpls-paid-cta-tip a{color:#ff8c00;text-decoration:none}
.rpls-paid-cta-tip a:hover{text-decoration:underline}
@media (max-width:640px){.rpls-paid-cta-btn{width:100%;padding:13px 0}}
