/* ============================================================
  

   - 页面底 #e8ebee / 卡片 #fff + 1px #eee 边 / 圆角 5px / 正文 #595d69 / 标题 #333333
   - 主色蓝 #fd78a3（ripro-v5 原生 token）；辅色 红 #ff5b5b 绿 #0cbc87 黄 #ffb84d
   - 纯白顶栏 #fff 深灰字 #4d4d4d，阴影 0 0 30px rgba(0,0,0,.07)
   - 首页 hero 大搜索：深色底图 + 渐变遮罩 rgba(25,27,38,.32→.72)，
     居中白标题 28px + 居中搜索表单（分类下拉+输入）
   - 卡片：3:2 封面图上文下（entry-wrapper padding 10px）+ 分类彩点
     （entry-cat-dot：6px 圆点 + #a1a1a8 12px 分类名）
   - 模块标题居中（section-title + muted 副标题）；footer 白底极简居中
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

:root {
    --acg-primary: #fd78a3;
    --acg-primary-dk: #f45f90;
    --acg-primary-bg: rgba(253, 120, 163, .1);
    --acg-bg: #f0f2f5;
    --acg-card: #ffffff;
    --acg-card-border: #f2f3f5;
    --acg-title: #333333;
    --acg-text: #555555;
    --acg-mut: #999999;
    --acg-border: #ebedf0;
    --acg-header-bg: #ffffff;
    --acg-header-text: #444444;
    --acg-radius: 8px;
    --acg-shadow: 0 1px 3px rgba(51, 51, 51, .05);
    --acg-red: #ff5b7f;
    --acg-yellow: #ffb84d;
    --acg-green: #0cbc87;
    --acg-cyan: #53bbff;
    --acg-head-h: 56px;


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(--acg-text);
    background-color: var(--acg-bg);
    padding-top: var(--acg-head-h);
    overflow-x: clip;   /* hero 100vw 兜底：桌面端 vw 含滚动条宽，裁掉防横向滚动 */
}

a { color: var(--acg-text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--acg-primary); }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--acg-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, .acg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

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

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

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

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

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

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

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

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

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

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

/* 区块标题：ripro 居中式 section-title */
.acg-block { padding: 16px 18px 18px; margin-bottom: 18px; }
.acg-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(--acg-border);
    text-align: center;
}
.acg-block-head { border-bottom: none; padding-bottom: 4px; }
.acg-block-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--acg-title);
    display: flex;
    align-items: center;
    gap: 8px;
}
.acg-block-title i { display: none; }
.acg-more { font-size: 12px; color: var(--acg-mut); margin-top: 4px; }

/* ============ 首页 hero 大搜索（ripro home-search：深色底 + 渐变遮罩 + 居中表单） ============
   全出血：width:100vw + 负边距把 hero 撑出 shell 到视口两缘；
   移动端 100vw == 视口宽（无滚动条），不会触发 ICB 扩张 */
.acg-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(253, 120, 163, .32), transparent 62%),
        radial-gradient(ellipse 45% 75% at 82% 22%, rgba(79, 158, 248, .2), transparent 60%),
        linear-gradient(0deg, rgba(25, 27, 38, .32), rgba(25, 27, 38, .72)),
        #3a3f45;
}
.acg-hero-search-title { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 26px; letter-spacing: .5px; }
.acg-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);
}
.acg-hero-search-form select {
    flex: none;
    width: 118px;
    border: 0;
    outline: 0;
    background: #f7f8fa;
    border-right: 1px solid var(--acg-border);
    padding: 0 10px;
    font-size: 13px;
    color: var(--acg-text);
    cursor: pointer;
    border-radius: 0;
}
.acg-hero-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 14px;
    font-size: 14px;
    color: var(--acg-title);
}
.acg-hero-search-form button {
    flex: none;
    border: 0;
    background: var(--acg-primary);
    color: #fff;
    font-size: 14px;
    padding: 0 26px;
    cursor: pointer;
}
.acg-hero-search-form button:hover { background: var(--acg-primary-dk); }

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

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

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

/* overlay 内价格胶囊：白底蓝字 / 免费 黄底 */
.acg-price, .acg-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;
}
.acg-price { background: var(--acg-primary); color: #fff; }
.acg-price.is-free, .acg-badge-hot.is-free { background: var(--acg-green); color: #fff; }
.acg-badge-hot { background: rgba(255, 255, 255, .2); color: #fff; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ============ 首页 SEO 简介 / 友链 ============ */
.acg-home-seo { padding: 18px 20px; margin-bottom: 18px; }
.acg-home-seo-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--acg-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.acg-home-seo-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--acg-primary);
    border-radius: 2px;
}
.acg-home-seo-body { font-size: 13px; color: var(--acg-mut); line-height: 1.8; }
.acg-home-links { padding: 18px 20px; margin-bottom: 18px; }
.acg-home-links-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--acg-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.acg-home-links-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--acg-primary);
    border-radius: 2px;
}
.acg-home-links-body { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.acg-home-links-body a { color: var(--acg-mut); }
.acg-home-links-body a:hover { color: var(--acg-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(--acg-radius);
    background: var(--acg-card);
    box-shadow: var(--acg-shadow);
    font-size: 13px;
    color: var(--acg-text);
}
.pagination a:hover { color: var(--acg-primary); }
.pagination span.current {
    background: var(--acg-primary);
    color: #fff;
    font-weight: 600;
}

/* ============ 页脚（ripro：白底灰字） ============ */
.acg-footer {
    background: var(--acg-card);
    border-top: 1px solid var(--acg-border);
    padding: 26px 0 30px;
    font-size: 13px;
    color: var(--acg-text);
}
.acg-footer a { color: var(--acg-text); }
.acg-footer a:hover { color: var(--acg-primary); }
.acg-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 12px;
}
.acg-footer-friend { padding-top: 12px; border-top: 1px dashed var(--acg-border); }
.acg-footer-friend-label { color: var(--acg-mut); }
.acg-footer-center { text-align: center; line-height: 1.8; color: var(--acg-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(--acg-title);
    margin-bottom: 14px;
}
.pay-amount { color: var(--acg-primary); margin-left: 4px; }
.pay-close {
    font-size: 22px;
    color: var(--acg-mut);
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}
.pay-close:hover { color: var(--acg-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(--acg-text); margin-bottom: 10px; }
.pay-btn-phone {
    display: block;
    width: 100%;
    background: #f0f2f5;
    border: 1px solid var(--acg-border);
    color: var(--acg-text);
    font-size: 13px;
    padding: 8px 0;
    border-radius: var(--acg-radius);
    cursor: pointer;
    margin-bottom: 10px;
}
.pay-btn-phone:hover { color: var(--acg-primary); border-color: var(--acg-primary); }
.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--acg-mut);
    margin-bottom: 10px;
    min-height: 18px;
}
.pay-status-ok { color: var(--acg-green); }
.pay-status-expired { color: #ffbd54; }
.pay-status-fail { color: var(--acg-red); }
.pay-spinner {
    width: 14px; height: 14px;
    border: 2px solid var(--acg-primary-bg);
    border-top-color: var(--acg-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(--acg-primary);
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 9px 0;
    border-radius: 6px;
    cursor: pointer;
}
.pay-btn-refresh:hover { background: var(--acg-primary-dk); }
.pay-btn-refresh:disabled { opacity: .6; cursor: default; }

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


/* ============================================================
 
   A 骨架 / B 首页 / C 漫画卡 / D 列表 / E 详情 / F 响应式
   ============================================================ */

/* ---------- A. 骨架 ---------- */
/* fixed 白 header 64px + 下阴影（贴参考 .in-header）；body padding-top 已由
   基座 var(--acg-head-h)=64px 留位，无需归零 */
.acg-header {
    position: fixed; top: 0; left: 0; z-index: 50; width: 100%;
    background: #fff; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .1);
}
.acg-header-in {
    width: 990px; max-width: 100%; margin: 0 auto; height: 64px;
    padding: 0 16px; display: flex; align-items: center;
}
.acg-logo {
    font-size: 24px; font-weight: 800; color: #fd78a3;
    letter-spacing: .5px; margin-right: 22px; white-space: nowrap;
}
.acg-menu {
    display: flex; align-items: center; min-width: 0; overflow: hidden;
    height: 30px; font-size: 17px;
}
/* 基座 tjd 血统自带 .acg-menu a(.on) 胶囊样式（padding+radius+橙底白字）——门户菜单需全量还原 */
.acg-menu a {
    display: block; position: relative; margin-right: 20px; color: #333333;
    line-height: 30px; white-space: nowrap;
    padding: 0; border-radius: 0; background: none;
}
.acg-menu a:hover { background: none; }
.acg-menu a.on { background: none; }
.acg-menu a:hover { color: #fd78a3; }
.acg-menu a.on { color: #fd78a3; font-weight: 700; }
.acg-menu a.on::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 3px; border-radius: 2px; background: #fd78a3;
}
.acg-menu .acg-menu-vip { color: #fd78a3; font-weight: 700; }
.acg-menu-btn {
    display: none; margin-right: 12px; width: 30px; height: 30px;
    border: none; background: none; cursor: pointer; padding: 5px 4px;
    flex-direction: column; justify-content: space-between;
}
.acg-menu-btn span { display: block; height: 3px; border-radius: 2px; background: #333333; }

/* 橙胶囊搜索（贴参考：input 橙边左圆角 20 + 橙钮右圆角 20） */
.acg-search { display: flex; margin-left: 14px; }
.acg-search input {
    width: 210px; height: 38px; border: 1px solid #fd78a3; border-right-width: 0;
    border-radius: 20px 0 0 20px; outline: none;
    padding: 0 16px; font-size: 13px; color: #333; background: #fff;
}
.acg-search input:focus { background: #fff7fa; }
.acg-search button {
    width: 76px; height: 38px; border: none; cursor: pointer;
    background: #fd78a3; color: #fff; font-size: 14px; font-weight: 700;
    border-radius: 0 20px 20px 0;
}
.acg-search button:hover { background: #f45f90; }

.acg-user { display: flex; align-items: center; margin-left: auto; min-width: 0; }
.acg-user-chip { display: flex; align-items: center; min-width: 0; }
.acg-user-avatar {
    width: 30px; height: 30px; border-radius: 50%; background: #fd78a3;
    color: #fff; font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.acg-user-avatar.is-vip { background: #ffbd54; color: #fff; }
.acg-user-meta { display: flex; flex-direction: column; margin-left: 7px; line-height: 1.25; min-width: 0; }
.acg-user-name {
    max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 13px; color: #333333; font-weight: 600;
}
.acg-user-level { font-size: 11px; color: #999; white-space: nowrap; }
.acg-user-level.is-vip { color: #fd78a3; }
.acg-sep { font-style: normal; margin: 0 3px; }

/* 移动端横滚导航（≤1024 显示） */
.acg-mnav {
    display: none; background: #fff; border-top: 1px solid #eef1f3;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    white-space: nowrap; padding: 0 10px; scrollbar-width: none;
}
.acg-mnav::-webkit-scrollbar { display: none; }
.acg-mnav a {
    display: inline-block; padding: 9px 13px; font-size: 14px; color: #555;
    position: relative;
}
.acg-mnav a.on { color: #fd78a3; font-weight: 700; }
.acg-mnav a.on::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
    height: 3px; border-radius: 2px; background: #fd78a3;
}

/* 内容壳：990 全宽单列（贴参考 container--response 990px） */
.acg-container { width: 990px; max-width: 100%; margin: 0 auto; padding: 0 16px; }
.acg-shell { min-height: 60vh; }

/* 页脚：深灰 #3a3f45（贴参考 footer-wrapper，白字） */
.acg-footer { background: #3a3f45; margin-top: 50px; padding: 26px 0 20px; }
.acg-footer-links {
    display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center;
    font-size: 13px;
}
.acg-footer-links a { color: #ddd; }
.acg-footer-links a:hover { color: #ff9dc0; }
.acg-footer-friend { margin-top: 10px; color: #aaa; }
.acg-footer-friend-label { color: #aaa; }
.acg-footer-center {
    margin-top: 14px; text-align: center; font-size: 12px;
    color: #aaa; line-height: 22px;
}
.acg-footer-center a { color: #aaa; }

/* 右缘浮动工具球（贴参考右侧 in-float：白底圆钮竖排） */
.acg-quickbar {
    position: fixed; right: 14px; bottom: 90px; z-index: 40;
    display: flex; flex-direction: column; gap: 8px;
}
.acg-qb-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e8ebee;
    background: #fff; color: #666; font-size: 15px; font-weight: 700;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .1); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.acg-qb-btn:hover { color: #fd78a3; border-color: #fd78a3; }
.acg-qb-btn.is-vip { background: #fd78a3; border-color: #fd78a3; color: #fff; }

/* ---------- B. 首页 ---------- */
/* 1+4 横幅（贴参考 in-banner：左大轮播跨 2x2 + 右 2x2 卡，底部黑渐变+白字标题） */
.acg-banner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 149px; gap: 1px; margin-top: 20px;
}
.acg-banner-main { grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden; background: #eee; }
.acg-banner-item { position: relative; overflow: hidden; background: #eee; }
.acg-banner-main > a, .acg-banner-item > a { display: block; width: 100%; height: 100%; }
.acg-banner-main img, .acg-banner-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.acg-banner .feature {
    position: absolute; left: 0; bottom: 0; width: 100%; z-index: 3;
    font-size: 15px; line-height: 40px; text-indent: 12px; color: #fff;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.acg-banner .acg-shadow {
    position: absolute; left: 0; bottom: 0; width: 100%; height: 48px; z-index: 2;
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .05) 13%, rgba(0, 0, 0, .66) 80%, rgba(0, 0, 0, .75) 100%);
    opacity: .83;
}
.acg-banner-main.is-ph, .acg-banner-item.is-ph { background: #f0f2f5; }

/* 主题胶囊导航行（贴参考 in-nav：30px 行 + 下边框） */
.acg-typebar {
    height: 30px; line-height: 30px; padding-bottom: 10px; margin: 14px 0 16px;
    border-bottom: 1px solid #e8ebee; display: flex; align-items: center;
    overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.acg-typebar::-webkit-scrollbar { display: none; }
.acg-typebar a { margin-right: 10px; padding: 0 10px; font-size: 14px; color: #555; }
.acg-typebar a:hover { color: #fd78a3; }
.acg-typebar .acg-type-all { margin-left: auto; margin-right: 0; color: #fd78a3; font-weight: 600; }

/* 模块头（贴参考 in-sec__head：24px/40px + 右侧灰字 more） */
.acg-sec-head {
    height: 40px; margin: 30px 0 18px; display: flex; align-items: center; justify-content: space-between;
}
.acg-sec-title { font-size: 24px; font-weight: 700; color: #333333; line-height: 40px; margin: 0; }
.acg-sec-more { font-size: 14px; color: #666; }

/* 精品区：左大卡 + 右 2x4（贴参考 in-fine） */
.acg-fine { display: grid; grid-template-columns: 385px 1fr; gap: 0 12px; margin-bottom: 6px; }
.acg-fine-big { min-width: 0; }
.acg-fine-cover {
    position: relative; display: block; width: 100%; height: 257px;
    border-radius: 4px; overflow: hidden; background: #eee;
}
.acg-fine-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acg-fine-info { padding: 10px 5px 0; }
.acg-fine-info .comic-title { font-size: 16px; }
.comic-title {
    font-size: 15px; line-height: 26px; font-weight: 600; color: #333333;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0;
}
.comic-title a { color: inherit; }
.comic-title a:hover { color: #fd78a3; }
.acg-text { margin: 2px 0; font-size: 13px; line-height: 20px; color: #999; }
.acg-text-clamp {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
    overflow: hidden; white-space: normal;
}
.acg-fine-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px 12px; min-width: 0;
}

/* ---------- C. 漫画卡（type-a 六列网格 / type-b 195px 横滚） ---------- */
.acg-comic-a { min-width: 0; }
.acg-comic-cover {
    position: relative; display: block; width: 100%; padding-top: 133%;
    border-radius: 4px; overflow: hidden; background: #eee;
}
.acg-comic-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.acg-comic-a:hover .acg-comic-cover img, .acg-comic-b:hover .acg-comic-cover img { transform: scale(1.05); }
.acg-comic-cover .acg-noimg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #b9bcc4; font-size: 13px;
}
.acg-comic-cover .acg-cover-tag {
    position: absolute; right: 0; top: 0; z-index: 3;
    padding: 0 8px; height: 20px; line-height: 20px;
    background: rgba(253, 120, 163, .9); color: #fff; font-size: 11px; font-weight: 600;
    border-radius: 0 4px 0 4px;
}
.acg-comic-cover .acg-count {
    position: absolute; left: 0; bottom: 0; z-index: 3;
    padding: 0 8px; height: 22px; line-height: 22px;
    background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px;
}
.acg-comic-cover .acg-new {
    position: absolute; left: 0; top: 0; z-index: 3;
    padding: 0 7px; height: 20px; line-height: 20px;
    background: #ff5b5b; color: #fff; font-size: 11px; font-weight: 700;
    border-radius: 4px 0 4px 0;
}
.acg-comic-cover.is-ph { background: #f0f2f5; }

/* 主网格：六列（贴参考 type-a 排布） */
.acg-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 0 12px; margin-bottom: 8px; list-style: none; padding: 0;
}
.acg-grid > li, .acg-fine-grid .acg-comic-a { margin-bottom: 18px; }
.acg-comic-title {
    margin-top: 8px; font-size: 14px; font-weight: 600; color: #333333;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acg-comic:hover .acg-comic-title { color: #fd78a3; }
.acg-comic-sub {
    margin-top: 3px; font-size: 12px; color: #999;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 横滑新作（贴参考 type-b cs-item 195px 卡 + slide-wrapper 横滚） */
.acg-slide-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.acg-slide-wrap::-webkit-scrollbar { display: none; }
.acg-slide-track {
    display: flex; gap: 12px; width: max-content;
    scroll-snap-type: x mandatory; contain: strict;
}
.acg-slide-track .acg-comic-b {
    width: 195px; flex: 0 0 195px; scroll-snap-align: start;
}
.acg-slide-track .acg-comic-b .comic-title { font-size: 14px; }

.acg-empty {
    background: #f7f8fa; border-radius: 4px; padding: 52px 20px; text-align: center;
    color: #999; font-size: 14px; margin-top: 16px;
}

/* 首页 SEO / 友链 */
.acg-home-seo {
    background: #fff; border: 1px solid #eef1f3; border-radius: 4px;
    padding: 22px 26px; margin-top: 40px;
}
.acg-home-seo-title { font-size: 17px; font-weight: 700; color: #333333; }
.acg-home-seo-body { margin-top: 10px; font-size: 13px; color: #666; line-height: 24px; }
.acg-home-links {
    background: #fff; border: 1px solid #eef1f3; border-radius: 4px;
    padding: 18px 26px; margin-top: 18px;
}
.acg-home-links-title { font-size: 15px; font-weight: 700; color: #333333; }
.acg-home-links-body {
    margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px;
}
.acg-home-links-body a { color: #888; }
.acg-home-links-body a:hover { color: #fd78a3; }

/* ---------- D. 列表页 ---------- */
.acg-crumb { padding: 14px 0 0; font-size: 13px; color: #bbb; }
.acg-crumb a { color: #888; }
.acg-crumb a:hover { color: #fd78a3; }
.acg-crumb-sep { margin: 0 6px; color: #d5d5da; }

.acg-catalog-head { margin: 26px 0 14px; display: flex; align-items: baseline; gap: 12px; }
.acg-catalog-title { font-size: 24px; font-weight: 700; color: #333333; line-height: 1.25; margin: 0; }
.acg-catalog-more { font-size: 13px; color: #999; }
.acg-page-sub { margin-top: 8px; font-size: 13px; color: #999; }

/* 筛选胶囊行（active 橙底白字） */
.acg-sub-tags {
    margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px;
    background: #fff; border: 1px solid #eef1f3; border-radius: 4px; padding: 12px 14px;
}
.acg-sub-tags a { padding: 3px 14px; border-radius: 3px; font-size: 13px; color: #555; }
.acg-sub-tags a:hover { color: #fd78a3; }
.acg-sub-tags a.on { background: #fd78a3; color: #fff; font-weight: 600; }

.acg-page-head { margin-top: 24px; }
.acg-page-title { font-size: 24px; font-weight: 700; color: #333333; margin: 0; }
.acg-page-search { margin-top: 14px; max-width: 440px; display: flex; }
.acg-page-search input {
    flex: 1; height: 38px; border: 1px solid #e8ebee; border-right-width: 0; outline: none;
    border-radius: 20px 0 0 20px; padding: 0 16px; font-size: 13px; background: #f7f8fa;
}
.acg-page-search button {
    width: 84px; height: 38px; border: none; cursor: pointer;
    background: #fd78a3; color: #fff; font-size: 13px; font-weight: 700;
    border-radius: 0 20px 20px 0;
}

/* ---------- E. 详情换装（橙竖条标题 + 橙渐变下载钮） ---------- */
.acg-entry-header { margin-bottom: 18px; }
.acg-entry-title {
    font-size: 26px; font-weight: 700; color: #333333; margin: 0 0 12px;
    padding-left: 14px; border-left: 4px solid #fd78a3; line-height: 1.3;
}
.acg-paypanel {
    position: relative; background: #fff; border: 1px solid #eef1f3;
    border-radius: 4px; padding: 22px 24px; margin-bottom: 20px;
    box-shadow: var(--acg-shadow);
}
.acg-post-cat {
    display: inline-block; padding: 1px 10px; border-radius: 3px;
    background: var(--acg-primary-bg); color: var(--acg-primary); font-size: 12px;
}
.acg-post-date { color: #999; }
.acg-post-field { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.acg-post-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.acg-post-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 10px; padding: 0; }
.acg-post-meta li { list-style: none; }
.acg-post-update { color: #999; }
.acg-post-views { color: #999; }
.acg-prenext { margin-bottom: 20px; }
.acg-prenext-card {
    display: flex; flex-direction: column; gap: 6px; background: #fff;
    border: 1px solid #eef1f3; border-radius: 4px; padding: 14px 16px;
    text-decoration: none; box-shadow: var(--acg-shadow);
}
.acg-prenext-card:hover { border-color: #fd78a3; }
.acg-prenext-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acg-prenext-label { font-size: 12px; color: #999; }
.acg-prenext-title {
    font-size: 14px; color: #333; font-weight: 600;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.acg-single-download { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.acg-dl-btn {
    display: inline-block; padding: 10px 26px; border: 0; border-radius: 20px;
    background: linear-gradient(95deg, #fd78a3, #ff5b5b); color: #fff;
    font-size: 15px; font-weight: 700; cursor: pointer;
}
.acg-dl-btn:hover { opacity: .92; }
.acg-dl-note { font-size: 12px; color: #999; }
.acg-link-name { font-size: 15px; font-weight: 600; color: #333; }
.acg-link-text { font-size: 13px; color: #999; }
.acg-links-intro { font-size: 13px; color: #999; margin: 0 0 14px; }
.acg-cta-body {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    background: #fff; border: 1px solid #eef1f3; border-radius: 4px;
    padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--acg-shadow);
}

/* ---------- F. 响应式 ---------- */
@media (max-width: 1024px) {
    .acg-menu { display: none; }
    .acg-menu.open {
        display: flex; position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; height: auto;
        background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, .1); padding: 8px 0;
        overflow: visible; z-index: 60;
    }
    .acg-menu.open a { line-height: 40px; margin: 0 16px; border-bottom: 1px solid #f7f8fa; }
    .acg-menu.open a.on::after { display: none; }
    .acg-menu-btn { display: flex; }
    .acg-mnav { display: block; }
    .acg-header { position: sticky; }
    body { padding-top: 0; }
    .acg-user .acg-btn-sm { display: none; }
    .acg-user .acg-btn-vip { display: inline-block; }
    .acg-fine { grid-template-columns: 1fr; }
    .acg-fine-grid { margin-top: 14px; grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .acg-user { display: none; }
    .acg-search input { width: 130px; }
    .acg-banner { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
    .acg-banner-main { grid-column: span 2; grid-row: span 2; }
    .acg-typebar { margin: 12px 0 12px; }
    .acg-sec-head { margin: 22px 0 12px; }
    .acg-sec-title { font-size: 19px; }
    .acg-grid { grid-template-columns: repeat(3, 1fr); gap: 0 10px; }
    .acg-grid > li { margin-bottom: 16px; }
    .acg-fine-grid { grid-template-columns: repeat(2, 1fr); }
    .acg-slide-track .acg-comic-b { width: 130px; flex-basis: 130px; }
    .acg-comic-title { font-size: 13px; }
    .acg-quickbar { display: none; }
    .acg-footer { margin-top: 36px; padding: 22px 0 16px; }
    .acg-footer-links { gap: 6px 12px; }
}
@media (max-width: 480px) {
    .acg-logo { font-size: 20px; margin-right: 12px; }
    .acg-search input { width: 96px; padding: 0 10px; }
    .acg-search button { width: 60px; }
    .acg-banner { grid-auto-rows: 92px; }
    .acg-page-title { font-size: 20px; }
}

/* ---------- fix：列表页卡内子元素（与 acg-comic-cover 同构别名） ---------- */
.acg-comic-pic {
    position: relative; width: 100%; padding-top: 133%;
    border-radius: 4px; overflow: hidden; background: #f0f2f5;
}
.acg-comic-pic img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block; transition: transform .3s;
}
.acg-comic:hover .acg-comic-pic img { transform: scale(1.05); }
.acg-comic-pic .acg-noimg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #b9bcc4; font-size: 13px;
}
.acg-comic .acg-comic-tag {
    position: absolute; left: 0; bottom: 0; z-index: 3;
    padding: 0 8px; height: 20px; line-height: 20px;
    background: rgba(0, 0, 0, .65); color: #fff; font-size: 11px;
    border-radius: 0 4px 0 0;
}
.acg-comic .acg-comic-tag.is-free { background: rgba(253, 120, 163, .9); }
.acg-comic .acg-comic-new {
    position: absolute; right: 0; top: 0; z-index: 3;
    padding: 0 7px; height: 20px; line-height: 20px;
    background: #ff5b5b; color: #fff; font-size: 11px; font-weight: 700;
    border-radius: 0 4px 0 4px;
}
.acg-comic { position: relative; display: block; min-width: 0; }
.acg-comic .acg-comic-cover { padding-top: 0; background: none; }

/* ============================================================
   109 期 acg 追加区：网址导航形制（浅灰底 + 白卡 + 青色主调）
   ============================================================ */

/* ---------- A. 骨架：吸顶白 header ---------- */
.acg-hd {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 51, 51, .06);
}
.acg-hd-in {
    max-width: 1400px; margin: 0 auto; padding: 0 16px;
    height: 56px; display: flex; align-items: center;
}
.acg-logo {
    font-size: 25px; font-weight: 800; color: var(--acg-primary);
    letter-spacing: .5px; text-decoration: none; white-space: nowrap;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
.acg-logo:hover { color: var(--acg-primary-dk); }
.acg-hd-sub {
    margin-left: 14px; font-size: 14px; color: rgba(51, 51, 51, .45);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acg-hd-nav { display: flex; align-items: center; margin-left: auto; }
.acg-hd-nav a {
    margin: 0 7px; font-size: 15px; line-height: 26px;
    color: rgba(51, 51, 51, .85); text-decoration: none; white-space: nowrap;
}
.acg-hd-nav a:hover { color: var(--acg-primary); text-decoration: underline; }
.acg-hd-nav a.on { color: var(--acg-primary); font-weight: 600; }
.acg-hd-right { display: flex; align-items: center; gap: 8px; margin-left: 14px; }
.acg-hd-vip {
    font-size: 12px; font-weight: 700; color: #fff; text-decoration: none;
    background: linear-gradient(135deg, #ffb84d, #ff8f3c);
    padding: 4px 10px; border-radius: 20px; white-space: nowrap;
}
.acg-hd-mini {
    font-size: 13px; color: var(--acg-text); text-decoration: none;
    border: 1px solid var(--acg-border); border-radius: 6px;
    padding: 4px 10px; background: #fff; cursor: pointer; white-space: nowrap;
    font-family: inherit;
}
.acg-hd-mini:hover { color: var(--acg-primary); border-color: var(--acg-primary); }
.acg-hd-mini.is-ghost { color: var(--acg-primary); border-color: var(--acg-primary); }
.acg-logout { display: inline; margin: 0; }
.acg-user-chip {
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none; color: var(--acg-title); font-size: 13px;
}
.acg-user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--acg-primary); color: #fff; font-weight: 700; font-size: 14px;
    flex: none;
}
.acg-user-avatar.is-vip { box-shadow: 0 0 0 2px #ffb84d; }
.acg-user-name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- A2. 移动端横滚导航 ---------- */
.acg-mnav {
    display: none; border-top: 1px dashed rgba(253, 120, 163, .25);
    background: #fff; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.acg-mnav::-webkit-scrollbar { display: none; }
.acg-mnav a {
    display: inline-flex; align-items: center; padding: 9px 12px;
    font-size: 13px; color: rgba(51, 51, 51, .8); text-decoration: none;
    white-space: nowrap; position: relative; flex: none;
}
.acg-mnav a.on { color: var(--acg-primary); font-weight: 600; }
.acg-mnav a.on::before {
    content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 24px; height: 2px; background: var(--acg-primary); border-radius: 2px;
}

/* ---------- A3. 框架：侧栏 + 内容 ---------- */
.acg-frame {
    max-width: 1400px; width: 100%; margin: 14px auto 0; padding: 0 10px;
    display: flex; justify-content: center; align-items: flex-start;
    box-sizing: border-box;
}
.acg-side {
    width: 160px; flex: none; position: sticky; top: 72px;
    margin-right: 12px; z-index: 2;
}
.acg-side-card {
    background: #fff; border-radius: 8px; padding: 12px 10px;
    box-shadow: var(--acg-shadow); overflow: hidden;
}
.acg-side-ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.acg-side-ul li a {
    position: relative; display: flex; align-items: center;
    padding: 8px 8px; border-radius: 6px; margin-bottom: 3px;
    color: rgba(51, 51, 51, .85); text-decoration: none; font-size: 15px;
    line-height: 16px; transition: background .2s, color .2s;
}
.acg-side-ul li:last-child a { margin-bottom: 0; }
.acg-ic {
    width: 20px; height: 20px; margin-right: 6px; border-radius: 6px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; color: #fff; font-weight: 700;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
}
.acg-side-ul li:nth-child(8n+2) .acg-ic { background: linear-gradient(135deg, #4f8ef7, #6aa6ff); }
.acg-side-ul li:nth-child(8n+3) .acg-ic { background: linear-gradient(135deg, #ff7a45, #ff9c6e); }
.acg-side-ul li:nth-child(8n+4) .acg-ic { background: linear-gradient(135deg, #9b6bf3, #b78ef7); }
.acg-side-ul li:nth-child(8n+5) .acg-ic { background: linear-gradient(135deg, #0cbc87, #3ddba0); }
.acg-side-ul li:nth-child(8n+6) .acg-ic { background: linear-gradient(135deg, #f5576c, #f78ca0); }
.acg-side-ul li:nth-child(8n+7) .acg-ic { background: linear-gradient(135deg, #f7b500, #ffd25e); }
.acg-side-ul li:nth-child(8n+8) .acg-ic { background: linear-gradient(135deg, #2d7ef7, #5aa0ff); }
.acg-side-ul li a:hover,
.acg-side-ul li.on a {
    background: linear-gradient(to right, rgba(253, 120, 163, .1) 10%, transparent 99%);
    color: var(--acg-primary); font-weight: 600;
}
.acg-side-ul li.on a::before {
    content: ""; position: absolute; left: -10px; top: 50%;
    transform: translateY(-50%); width: 4px; height: 26px;
    background: var(--acg-primary); border-radius: 0 6px 6px 0; pointer-events: none;
}
.acg-side-sep { border-top: 1px dashed rgba(253, 120, 163, .25); margin: 8px -10px; }
.acg-content { flex: 1; min-width: 0; z-index: 1; }

/* ---------- B. 图标宫格（simple-preset 形制） ---------- */
.acg-collect {
    background: #fff; border-radius: 8px; padding: 20px;
    box-shadow: var(--acg-shadow);
}
.acg-preset {
    list-style: none; display: grid; margin: 0; padding: 0;
    grid-template-columns: repeat(10, 1fr); gap: 8px;
}
.acg-preset li { padding: 2px; min-width: 0; }
.acg-preset li a {
    display: block; text-align: center; padding: 12px 4px 10px;
    border-radius: 8px; border: 1px solid #f0f2f5;
    background: rgba(255, 255, 255, .5); text-decoration: none;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.acg-preset li a:hover {
    transform: translateY(-3px); border-color: var(--acg-primary);
    background: #f7f8fa; box-shadow: 0 8px 18px rgba(253, 120, 163, .12);
    position: relative; z-index: 2;
}
.acg-preset li img {
    display: block; width: 64px; height: 64px; margin: 0 auto;
    border-radius: 12px; object-fit: cover; background: #f0f2f5;
}
.acg-glyph {
    display: block; width: 64px; height: 64px; line-height: 64px;
    margin: 0 auto; border-radius: 12px; color: #fff;
    font-size: 26px; font-weight: 700; text-align: center;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
}
.acg-preset li:nth-child(8n+2) .acg-glyph { background: linear-gradient(135deg, #4f8ef7, #6aa6ff); }
.acg-preset li:nth-child(8n+3) .acg-glyph { background: linear-gradient(135deg, #ff7a45, #ff9c6e); }
.acg-preset li:nth-child(8n+4) .acg-glyph { background: linear-gradient(135deg, #9b6bf3, #b78ef7); }
.acg-preset li:nth-child(8n+5) .acg-glyph { background: linear-gradient(135deg, #0cbc87, #3ddba0); }
.acg-preset li:nth-child(8n+6) .acg-glyph { background: linear-gradient(135deg, #f5576c, #f78ca0); }
.acg-preset li:nth-child(8n+7) .acg-glyph { background: linear-gradient(135deg, #f7b500, #ffd25e); }
.acg-preset li:nth-child(8n+8) .acg-glyph { background: linear-gradient(135deg, #2d7ef7, #5aa0ff); }
@keyframes acgJump {
    0%, 100% { transform: translateY(0); }
    35% { transform: translateY(-6px); }
    70% { transform: translateY(-2px); }
}
.acg-preset li a:hover img,
.acg-preset li a:hover .acg-glyph { animation: acgJump .6s ease; }
.acg-preset-name {
    display: block; font-size: 12px; color: #333; margin-top: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- C. 页头 / 面包屑 / SEO 卡 / 友链墙 ---------- */
.acg-collect .acg-empty { padding: 40px 0; }
.acg-seo {
    margin-top: 14px; background: #fff; border-radius: 8px; padding: 20px 24px;
    border: 1px solid #eef1f3; box-shadow: var(--acg-shadow);
}
.acg-seo-title { margin: 0 0 12px; font-size: 18px; color: #333; }
.acg-seo-body { font-size: 14px; line-height: 1.9; color: #555; word-break: break-word; }
.acg-seo-body b, .acg-seo-body strong { color: #333; }
.acg-logos-card {
    margin-top: 14px; background: #fff; border-radius: 8px; padding: 16px 20px;
    border: 1px solid #eef1f3; box-shadow: var(--acg-shadow);
}
.acg-logos-title { margin: 0 0 10px; font-size: 15px; color: #333; }
.acg-logos {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 8px;
}
.acg-logos a {
    display: inline-flex; align-items: center; padding: 7px 12px;
    border: 1px solid #f0f2f5; border-radius: 8px; background: rgba(255, 255, 255, .6);
    font-size: 13px; color: #444; text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.acg-logos a:hover {
    transform: translateY(-2px); border-color: var(--acg-primary);
    background: #f7f8fa; color: var(--acg-primary);
}

/* ---------- D. 详情页换装微调（post.html 基座类后置覆盖） ---------- */
.acg-entry-header {
    background: #fff; border-radius: 8px; border: 1px solid #eef1f3;
    box-shadow: var(--acg-shadow);
}
.acg-content-card {
    background: #fff; border-radius: 8px; border: 1px solid #eef1f3;
    box-shadow: var(--acg-shadow);
}
.acg-paypanel {
    background: #fff; border-radius: 8px; border: 1px solid #eef1f3;
    box-shadow: var(--acg-shadow);
}
.acg-buy-card {
    background: #fff; border-radius: 8px; border: 1px solid #eef1f3;
    box-shadow: var(--acg-shadow);
}

/* ---------- E. 页脚：白卡链接 + 友链行 + 版权 ---------- */
.acg-ft { margin: 18px 0 0; padding: 0 10px; }
.acg-ft-card {
    max-width: 1380px; margin: 0 auto 16px; background: #fff;
    border: 1px solid #eef1f3; border-radius: 8px; padding: 16px 20px;
    box-shadow: var(--acg-shadow);
}
.acg-ft-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
    padding-bottom: 10px; border-bottom: 1px dashed rgba(253, 120, 163, .2);
}
.acg-ft-links a { font-size: 13px; color: #555; text-decoration: none; }
.acg-ft-links a:hover { color: var(--acg-primary); }
.acg-ft-friend {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px;
    padding: 10px 0; font-size: 13px;
}
.acg-ft-friend-label { color: #999; }
.acg-ft-friend a { color: #555; text-decoration: none; }
.acg-ft-friend a:hover { color: var(--acg-primary); }
.acg-ft-center { text-align: center; font-size: 12px; color: #999; line-height: 1.9; padding-top: 6px; }
.acg-ft-center p { margin: 0; }

/* ---------- F. 响应式 ---------- */
@media (max-width: 1100px) {
    .acg-side { display: none; }
    .acg-frame { display: block; }
}
@media (max-width: 767px) {
    .acg-hd-in { height: 50px; padding: 0 12px; }
    .acg-logo { font-size: 21px; }
    .acg-hd-sub, .acg-hd-nav { display: none; }
    .acg-hd-right { margin-left: auto; }
    .acg-logout { display: none; }
    .acg-user-name { display: none; }
    .acg-mnav { display: flex; }
    .acg-frame { margin-top: 10px; padding: 0 8px; }
    .acg-collect { padding: 10px; }
    .acg-preset { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .acg-preset li a { padding: 8px 2px 7px; border-radius: 6px; }
    .acg-preset li img, .acg-glyph { width: 48px; height: 48px; line-height: 48px; border-radius: 10px; font-size: 20px; }
    .acg-preset-name { font-size: 11px; margin-top: 5px; }
    .acg-logos { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .acg-logos::-webkit-scrollbar { display: none; }
    .acg-logos a { flex: none; }
    .acg-ft { padding: 0 8px; }
}
@media (max-width: 420px) {
    .acg-preset { gap: 3px; }
    .acg-preset li img, .acg-glyph { width: 44px; height: 44px; line-height: 44px; font-size: 18px; }
}

/* ============================================================
 
   ============================================================ */

/* ---------- A. 主体框架 ---------- */
.acg-main { flex: 1; min-width: 0; z-index: 1; }

/* ---------- B. 顶部渐变横幅（二次元云海纯 CSS 复刻）+ 搜索 ---------- */
.acg-hero {
    position: relative; margin-bottom: 14px; padding: 44px 20px 34px;
    border-radius: 10px; overflow: hidden; text-align: center;
    background: linear-gradient(180deg, #8ec9f5 0%, #b7ddf7 34%, #f6d9e8 72%, #fdeef5 100%);
}
.acg-hero-cloud {
    position: absolute; border-radius: 50%; filter: blur(2px); opacity: .75;
    background: rgba(255, 255, 255, .85); pointer-events: none;
}
.acg-hero-cloud--a { width: 220px; height: 64px; left: 6%; top: 18px; }
.acg-hero-cloud--a::after {
    content: ""; position: absolute; width: 120px; height: 52px; border-radius: 50%;
    background: rgba(255, 255, 255, .9); left: 130px; top: -18px;
}
.acg-hero-cloud--b { width: 260px; height: 58px; right: 5%; top: 46px; opacity: .6; }
.acg-hero-cloud--b::after {
    content: ""; position: absolute; width: 140px; height: 56px; border-radius: 50%;
    background: rgba(255, 255, 255, .75); left: 60px; top: -22px;
}
.acg-search-box {
    position: relative; z-index: 2; display: flex; align-items: center;
    max-width: 720px; margin: 0 auto; height: 52px;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-radius: 8px; box-shadow: 0 4px 18px rgba(120, 90, 130, .12);
    overflow: hidden;
}
.acg-search-badge {
    flex: none; margin-left: 14px; font-size: 13px; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, #fd78a3, #ff9dc0);
    border-radius: 6px; padding: 4px 9px;
}
.acg-search-input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0;
    background: transparent; padding: 0 14px; font-size: 15px; color: #333;
}
.acg-search-btn {
    flex: none; height: 100%; border: 0; cursor: pointer;
    padding: 0 26px; font-size: 15px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #fd78a3, #f45f90);
}
.acg-search-btn:hover { filter: brightness(1.05); }
.acg-engines {
    position: relative; z-index: 2; display: flex; justify-content: center;
    flex-wrap: wrap; gap: 6px 12px; margin-top: 12px;
}
.acg-engines a {
    font-size: 12px; color: #7c5a68; text-decoration: none;
    background: rgba(255, 255, 255, .65); border-radius: 14px; padding: 3px 11px;
    transition: background .2s, color .2s;
}
.acg-engines a:hover { background: #fff; color: var(--acg-primary-dk); }

/* ---------- C. 快捷宫格（15 列小图标） ---------- */
.acg-preset--quick { grid-template-columns: repeat(15, 1fr); gap: 6px; }
.acg-preset--quick li a { padding: 8px 2px 7px; border-radius: 6px; }
.acg-preset--quick .acg-glyph,
.acg-preset--quick li img { width: 40px; height: 40px; line-height: 40px; border-radius: 9px; font-size: 17px; }
.acg-preset--quick .acg-preset-name { font-size: 11px; margin-top: 5px; color: #555; }

/* ---------- D. 热榜导航条 ---------- */
.acg-hot {
    background: #fff; border-radius: 8px; padding: 10px 14px;
    box-shadow: var(--acg-shadow); margin-bottom: 14px;
}
.acg-hot-nav {
    list-style: none; margin: 0; padding: 0; display: flex;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.acg-hot-nav::-webkit-scrollbar { display: none; }
.acg-hot-nav li { flex: none; }
.acg-hot-nav li a {
    display: inline-flex; align-items: center; padding: 6px 12px; margin-right: 4px;
    font-size: 13px; color: #555; text-decoration: none; border-radius: 6px;
    white-space: nowrap; transition: background .2s, color .2s;
}
.acg-hot-nav li a:hover { background: var(--acg-primary-bg); color: var(--acg-primary-dk); }

/* ---------- E. 分板块：板块头 + 站点卡网格 ---------- */
.acg-block {
    background: #fff; border-radius: 8px; padding: 18px 20px;
    box-shadow: var(--acg-shadow); margin-bottom: 14px;
}
.acg-block-head {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px dashed var(--acg-border);
}
.acg-term-title {
    display: flex; align-items: center; margin: 0;
    font-size: 17px; font-weight: 700; color: #333; white-space: nowrap;
}
.acg-term-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; margin-right: 8px; border-radius: 7px;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
    color: #fff; font-size: 13px; font-weight: 700;
}
.acg-term-sep {
    display: inline-block; width: 3px; height: 14px; border-radius: 2px;
    background: #d9dde3; margin: 0 14px 0 12px; flex: none;
}
.acg-term-tab {
    display: flex; align-items: center; gap: 4px; overflow-x: auto;
    scrollbar-width: none; max-width: 46%;
}
.acg-term-tab::-webkit-scrollbar { display: none; }
.acg-term-tab a {
    font-size: 13px; color: #666; text-decoration: none; white-space: nowrap;
    padding: 4px 12px; border-radius: 14px; transition: background .2s, color .2s;
}
.acg-term-tab a:hover { color: var(--acg-primary-dk); }
.acg-term-tab a.on { background: var(--acg-primary-bg); color: var(--acg-primary-dk); font-weight: 600; }
.acg-term-desc {
    font-size: 13px; color: rgba(51, 51, 51, .55); margin-left: auto;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30%;
}
.acg-term-more { margin-left: 12px; font-size: 13px; color: var(--acg-primary-dk); text-decoration: none; white-space: nowrap; }
.acg-term-more:hover { text-decoration: underline; }
.acg-term-count { margin-left: auto; font-size: 13px; color: #999; white-space: nowrap; }
.acg-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.acg-grid .acg-empty { grid-column: 1 / -1; }
.acg-site {
    display: flex; align-items: center; min-width: 0;
    border: 1px solid #f2f3f5; border-radius: 8px; padding: 10px 10px;
    text-decoration: none; background: rgba(255, 255, 255, .6);
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.acg-site:hover {
    transform: translateY(-2px); border-color: var(--acg-primary);
    background: #fff7fa; box-shadow: 0 6px 16px rgba(253, 120, 163, .14);
}
.acg-site-img {
    flex: none; width: 30px; height: 30px; line-height: 30px; margin-right: 8px;
    border-radius: 8px; text-align: center; color: #fff;
    font-size: 14px; font-weight: 700;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
}
.acg-grid .acg-site:nth-child(8n+2) .acg-site-img { background: linear-gradient(135deg, #4f8ef7, #6aa6ff); }
.acg-grid .acg-site:nth-child(8n+3) .acg-site-img { background: linear-gradient(135deg, #ff9f45, #ffc38a); }
.acg-grid .acg-site:nth-child(8n+4) .acg-site-img { background: linear-gradient(135deg, #9b6bf3, #b78ef7); }
.acg-grid .acg-site:nth-child(8n+5) .acg-site-img { background: linear-gradient(135deg, #0cbc87, #3ddba0); }
.acg-grid .acg-site:nth-child(8n+6) .acg-site-img { background: linear-gradient(135deg, #f5576c, #f78ca0); }
.acg-grid .acg-site:nth-child(8n+7) .acg-site-img { background: linear-gradient(135deg, #f7b500, #ffd25e); }
.acg-grid .acg-site:nth-child(8n+8) .acg-site-img { background: linear-gradient(135deg, #2d9cf7, #6fc0ff); }
.acg-site-info { flex: 1; min-width: 0; }
.acg-site-title {
    display: block; font-size: 14px; font-weight: 600; color: #333;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.acg-site-desc {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 12px; color: #999; line-height: 1.45;
}

/* ---------- F. 杂项：搜索页容器 / 面包屑 / 空态 ---------- */
.acg-search--page { margin-bottom: 14px; }
.acg-search--page .acg-search-box { background: #fff; box-shadow: var(--acg-shadow); }
.acg-search-tip { text-align: center; font-size: 13px; color: #888; margin: 10px 0 0; }
.acg-search-tip b { color: var(--acg-primary-dk); }
.acg-crumb { font-size: 13px; color: #999; margin-bottom: 12px; }
.acg-crumb a { color: #777; text-decoration: none; }
.acg-crumb a:hover { color: var(--acg-primary-dk); }
.acg-crumb-sep { margin: 0 6px; color: #ccc; }
.acg-empty { text-align: center; padding: 36px 0; color: #999; font-size: 14px; }
.acg-empty p { margin: 0; }

/* ---------- G. 响应式 ---------- */
@media (max-width: 1100px) {
    .acg-grid { grid-template-columns: repeat(4, 1fr); }
    .acg-preset--quick { grid-template-columns: repeat(10, 1fr); }
}
@media (max-width: 767px) {
    .acg-hero { padding: 28px 12px 24px; border-radius: 8px; }
    .acg-search-box { height: 46px; }
    .acg-search-btn { padding: 0 16px; font-size: 14px; }
    .acg-engines { gap: 4px 8px; }
    .acg-preset--quick { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .acg-hot { padding: 8px 10px; }
    .acg-block { padding: 14px 12px; }
    .acg-block-head { flex-wrap: wrap; }
    .acg-term-desc { display: none; }
    .acg-term-tab { max-width: 100%; order: 3; width: 100%; margin-top: 4px; }
    .acg-term-more { margin-left: auto; }
    .acg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .acg-site { padding: 8px 8px; }
    .acg-site-img { width: 26px; height: 26px; line-height: 26px; font-size: 12px; margin-right: 6px; }
    .acg-site-title { font-size: 13px; }
    .acg-site-desc { display: none; }
}
@media (max-width: 420px) {
    .acg-preset--quick .acg-glyph,
    .acg-preset--quick li img { width: 34px; height: 34px; line-height: 34px; font-size: 14px; }
    .acg-grid { gap: 6px; }
}

/* ============================================================
   追加区：次元导航形制（渐变天空横幅 + 分板块站点卡）
   ============================================================ */

/* ---------- A. 主体框架 ---------- */
.acg-main { flex: 1; min-width: 0; z-index: 1; }

/* ---------- B. 顶部渐变横幅（二次元云海纯 CSS 复刻）+ 搜索 ---------- */
.acg-hero {
    position: relative; margin-bottom: 14px; padding: 44px 20px 34px;
    border-radius: 10px; overflow: hidden; text-align: center;
    background: linear-gradient(180deg, #8ec9f5 0%, #b7ddf7 34%, #f6d9e8 72%, #fdeef5 100%);
}
.acg-hero-cloud {
    position: absolute; border-radius: 50%; filter: blur(2px); opacity: .75;
    background: rgba(255, 255, 255, .85); pointer-events: none;
}
.acg-hero-cloud--a { width: 220px; height: 64px; left: 6%; top: 18px; }
.acg-hero-cloud--a::after {
    content: ""; position: absolute; width: 120px; height: 52px; border-radius: 50%;
    background: rgba(255, 255, 255, .9); left: 130px; top: -18px;
}
.acg-hero-cloud--b { width: 260px; height: 58px; right: 5%; top: 46px; opacity: .6; }
.acg-hero-cloud--b::after {
    content: ""; position: absolute; width: 140px; height: 56px; border-radius: 50%;
    background: rgba(255, 255, 255, .75); left: 60px; top: -22px;
}
.acg-search-box {
    position: relative; z-index: 2; display: flex; align-items: center;
    max-width: 720px; margin: 0 auto; height: 52px;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-radius: 8px; box-shadow: 0 4px 18px rgba(120, 90, 130, .12);
    overflow: hidden;
}
.acg-search-badge {
    flex: none; margin-left: 14px; font-size: 13px; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, #fd78a3, #ff9dc0);
    border-radius: 6px; padding: 4px 9px;
}
.acg-search-input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0;
    background: transparent; padding: 0 14px; font-size: 15px; color: #333;
}
.acg-search-btn {
    flex: none; height: 100%; border: 0; cursor: pointer;
    padding: 0 26px; font-size: 15px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #fd78a3, #f45f90);
}
.acg-search-btn:hover { filter: brightness(1.05); }
.acg-engines {
    position: relative; z-index: 2; display: flex; justify-content: center;
    flex-wrap: wrap; gap: 6px 12px; margin-top: 12px;
}
.acg-engines a {
    font-size: 12px; color: #7c5a68; text-decoration: none;
    background: rgba(255, 255, 255, .65); border-radius: 14px; padding: 3px 11px;
    transition: background .2s, color .2s;
}
.acg-engines a:hover { background: #fff; color: var(--acg-primary-dk); }

/* ---------- C. 快捷宫格（15 列小图标） ---------- */
.acg-preset--quick { grid-template-columns: repeat(15, 1fr); gap: 6px; }
.acg-preset--quick li a { padding: 8px 2px 7px; border-radius: 6px; }
.acg-preset--quick .acg-glyph,
.acg-preset--quick li img { width: 40px; height: 40px; line-height: 40px; border-radius: 9px; font-size: 17px; }
.acg-preset--quick .acg-preset-name { font-size: 11px; margin-top: 5px; color: #555; }

/* ---------- D. 热榜导航条 ---------- */
.acg-hot {
    background: #fff; border-radius: 8px; padding: 10px 14px;
    box-shadow: var(--acg-shadow); margin-bottom: 14px;
}
.acg-hot-nav {
    list-style: none; margin: 0; padding: 0; display: flex;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.acg-hot-nav::-webkit-scrollbar { display: none; }
.acg-hot-nav li { flex: none; }
.acg-hot-nav li a {
    display: inline-flex; align-items: center; padding: 6px 12px; margin-right: 4px;
    font-size: 13px; color: #555; text-decoration: none; border-radius: 6px;
    white-space: nowrap; transition: background .2s, color .2s;
}
.acg-hot-nav li a:hover { background: var(--acg-primary-bg); color: var(--acg-primary-dk); }

/* ---------- E. 分板块：板块头 + 站点卡网格 ---------- */
.acg-block {
    background: #fff; border-radius: 8px; padding: 18px 20px;
    box-shadow: var(--acg-shadow); margin-bottom: 14px;
}
.acg-block-head {
    display: flex; flex-direction: row; align-items: center;
    flex-wrap: wrap; gap: 6px 0; text-align: left;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px dashed var(--acg-border);
}
.acg-term-title {
    display: flex; align-items: center; margin: 0;
    font-size: 17px; font-weight: 700; color: #333; white-space: nowrap;
}
.acg-term-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; margin-right: 8px; border-radius: 7px;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
    color: #fff; font-size: 13px; font-weight: 700;
}
.acg-term-sep {
    display: inline-block; width: 3px; height: 14px; border-radius: 2px;
    background: #d9dde3; margin: 0 14px 0 12px; flex: none;
}
.acg-term-tab {
    display: flex; align-items: center; gap: 4px; overflow-x: auto;
    scrollbar-width: none; max-width: 46%;
}
.acg-term-tab::-webkit-scrollbar { display: none; }
.acg-term-tab a {
    font-size: 13px; color: #666; text-decoration: none; white-space: nowrap;
    padding: 4px 12px; border-radius: 14px; transition: background .2s, color .2s;
}
.acg-term-tab a:hover { color: var(--acg-primary-dk); }
.acg-term-tab a.on { background: var(--acg-primary-bg); color: var(--acg-primary-dk); font-weight: 600; }
.acg-term-desc {
    font-size: 13px; color: rgba(51, 51, 51, .55); margin-left: auto;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30%;
}
.acg-term-more { margin-left: 12px; font-size: 13px; color: var(--acg-primary-dk); text-decoration: none; white-space: nowrap; }
.acg-term-more:hover { text-decoration: underline; }
.acg-term-count { margin-left: auto; font-size: 13px; color: #999; white-space: nowrap; }
.acg-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.acg-grid .acg-empty { grid-column: 1 / -1; }
.acg-site {
    display: flex; align-items: center; min-width: 0;
    border: 1px solid #f2f3f5; border-radius: 8px; padding: 10px 10px;
    text-decoration: none; background: rgba(255, 255, 255, .6);
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.acg-site:hover {
    transform: translateY(-2px); border-color: var(--acg-primary);
    background: #fff7fa; box-shadow: 0 6px 16px rgba(253, 120, 163, .14);
}
.acg-site-img {
    flex: none; width: 30px; height: 30px; line-height: 30px; margin-right: 8px;
    border-radius: 8px; text-align: center; color: #fff;
    font-size: 14px; font-weight: 700;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
}
.acg-grid .acg-site:nth-child(8n+2) .acg-site-img { background: linear-gradient(135deg, #4f8ef7, #6aa6ff); }
.acg-grid .acg-site:nth-child(8n+3) .acg-site-img { background: linear-gradient(135deg, #ff9f45, #ffc38a); }
.acg-grid .acg-site:nth-child(8n+4) .acg-site-img { background: linear-gradient(135deg, #9b6bf3, #b78ef7); }
.acg-grid .acg-site:nth-child(8n+5) .acg-site-img { background: linear-gradient(135deg, #0cbc87, #3ddba0); }
.acg-grid .acg-site:nth-child(8n+6) .acg-site-img { background: linear-gradient(135deg, #f5576c, #f78ca0); }
.acg-grid .acg-site:nth-child(8n+7) .acg-site-img { background: linear-gradient(135deg, #f7b500, #ffd25e); }
.acg-grid .acg-site:nth-child(8n+8) .acg-site-img { background: linear-gradient(135deg, #2d9cf7, #6fc0ff); }
.acg-site-info { flex: 1; min-width: 0; }
.acg-site-title {
    display: block; font-size: 14px; font-weight: 600; color: #333;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.acg-site-desc {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 12px; color: #999; line-height: 1.45;
}

/* ---------- F. 杂项：搜索页容器 / 面包屑 / 空态 ---------- */
.acg-search--page { margin-bottom: 14px; }
.acg-search--page .acg-search-box { background: #fff; box-shadow: var(--acg-shadow); }
.acg-search-tip { text-align: center; font-size: 13px; color: #888; margin: 10px 0 0; }
.acg-search-tip b { color: var(--acg-primary-dk); }
.acg-crumb { font-size: 13px; color: #999; margin-bottom: 12px; }
.acg-crumb a { color: #777; text-decoration: none; }
.acg-crumb a:hover { color: var(--acg-primary-dk); }
.acg-crumb-sep { margin: 0 6px; color: #ccc; }
.acg-empty { text-align: center; padding: 36px 0; color: #999; font-size: 14px; }
.acg-empty p { margin: 0; }

/* ---------- G. 响应式 ---------- */
@media (max-width: 1100px) {
    .acg-grid { grid-template-columns: repeat(4, 1fr); }
    .acg-preset--quick { grid-template-columns: repeat(10, 1fr); }
}
@media (max-width: 767px) {
    .acg-hero { padding: 28px 12px 24px; border-radius: 8px; }
    .acg-search-box { height: 46px; }
    .acg-search-btn { padding: 0 16px; font-size: 14px; }
    .acg-engines { gap: 4px 8px; }
    .acg-preset--quick { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .acg-hot { padding: 8px 10px; }
    .acg-block { padding: 14px 12px; }
    .acg-block-head { flex-wrap: wrap; }
    .acg-term-desc { display: none; }
    .acg-term-tab { max-width: 100%; order: 3; width: 100%; margin-top: 4px; }
    .acg-term-more { margin-left: auto; }
    .acg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .acg-site { padding: 8px 8px; }
    .acg-site-img { width: 26px; height: 26px; line-height: 26px; font-size: 12px; margin-right: 6px; }
    .acg-site-title { font-size: 13px; }
    .acg-site-desc { display: none; }
}
@media (max-width: 420px) {
    .acg-preset--quick .acg-glyph,
    .acg-preset--quick li img { width: 34px; height: 34px; line-height: 34px; font-size: 14px; }
    .acg-grid { gap: 6px; }
}

/* ============================================================
   110 期 acgabc 追加区：次元导航形制（渐变天空横幅 + 分板块站点卡）
   ============================================================ */

/* ---------- A. 主体框架 ---------- */
.acg-main { flex: 1; min-width: 0; z-index: 1; }

/* ---------- B. 顶部渐变横幅（二次元云海纯 CSS 复刻）+ 搜索 ---------- */
.acg-hero {
    position: relative; margin-bottom: 14px; padding: 44px 20px 34px;
    border-radius: 10px; overflow: hidden; text-align: center;
    background: linear-gradient(180deg, #8ec9f5 0%, #b7ddf7 34%, #f6d9e8 72%, #fdeef5 100%);
}
.acg-hero-cloud {
    position: absolute; border-radius: 50%; filter: blur(2px); opacity: .75;
    background: rgba(255, 255, 255, .85); pointer-events: none;
}
.acg-hero-cloud--a { width: 220px; height: 64px; left: 6%; top: 18px; }
.acg-hero-cloud--a::after {
    content: ""; position: absolute; width: 120px; height: 52px; border-radius: 50%;
    background: rgba(255, 255, 255, .9); left: 130px; top: -18px;
}
.acg-hero-cloud--b { width: 260px; height: 58px; right: 5%; top: 46px; opacity: .6; }
.acg-hero-cloud--b::after {
    content: ""; position: absolute; width: 140px; height: 56px; border-radius: 50%;
    background: rgba(255, 255, 255, .75); left: 60px; top: -22px;
}
.acg-search-box {
    position: relative; z-index: 2; display: flex; align-items: center;
    max-width: 720px; margin: 0 auto; height: 52px;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-radius: 8px; box-shadow: 0 4px 18px rgba(120, 90, 130, .12);
    overflow: hidden;
}
.acg-search-badge {
    flex: none; margin-left: 14px; font-size: 13px; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, #fd78a3, #ff9dc0);
    border-radius: 6px; padding: 4px 9px;
}
.acg-search-input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0;
    background: transparent; padding: 0 14px; font-size: 15px; color: #333;
}
.acg-search-btn {
    flex: none; height: 100%; border: 0; cursor: pointer;
    padding: 0 26px; font-size: 15px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #fd78a3, #f45f90);
}
.acg-search-btn:hover { filter: brightness(1.05); }
.acg-engines {
    position: relative; z-index: 2; display: flex; justify-content: center;
    flex-wrap: wrap; gap: 6px 12px; margin-top: 12px;
}
.acg-engines a {
    font-size: 12px; color: #7c5a68; text-decoration: none;
    background: rgba(255, 255, 255, .65); border-radius: 14px; padding: 3px 11px;
    transition: background .2s, color .2s;
}
.acg-engines a:hover { background: #fff; color: var(--acg-primary-dk); }

/* ---------- C. 快捷宫格（15 列小图标） ---------- */
.acg-preset--quick { grid-template-columns: repeat(15, 1fr); gap: 6px; }
.acg-preset--quick li a { padding: 8px 2px 7px; border-radius: 6px; }
.acg-preset--quick .acg-glyph,
.acg-preset--quick li img { width: 40px; height: 40px; line-height: 40px; border-radius: 9px; font-size: 17px; }
.acg-preset--quick .acg-preset-name { font-size: 11px; margin-top: 5px; color: #555; }

/* ---------- D. 热榜导航条 ---------- */
.acg-hot {
    background: #fff; border-radius: 8px; padding: 10px 14px;
    box-shadow: var(--acg-shadow); margin-bottom: 14px;
}
.acg-hot-nav {
    list-style: none; margin: 0; padding: 0; display: flex;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.acg-hot-nav::-webkit-scrollbar { display: none; }
.acg-hot-nav li { flex: none; }
.acg-hot-nav li a {
    display: inline-flex; align-items: center; padding: 6px 12px; margin-right: 4px;
    font-size: 13px; color: #555; text-decoration: none; border-radius: 6px;
    white-space: nowrap; transition: background .2s, color .2s;
}
.acg-hot-nav li a:hover { background: var(--acg-primary-bg); color: var(--acg-primary-dk); }

/* ---------- E. 分板块：板块头 + 站点卡网格 ---------- */
.acg-block {
    background: #fff; border-radius: 8px; padding: 18px 20px;
    box-shadow: var(--acg-shadow); margin-bottom: 14px;
}
.acg-block-head {
    display: flex; flex-direction: row; align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap; gap: 6px 0; text-align: left;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px dashed var(--acg-border);
}
.acg-term-title {
    display: flex; align-items: center; margin: 0;
    font-size: 17px; font-weight: 700; color: #333; white-space: nowrap;
}
.acg-term-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; margin-right: 8px; border-radius: 7px;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
    color: #fff; font-size: 13px; font-weight: 700;
}
.acg-term-sep {
    display: inline-block; width: 3px; height: 14px; border-radius: 2px;
    background: #d9dde3; margin: 0 14px 0 12px; flex: none;
}
.acg-term-tab {
    display: flex; align-items: center; gap: 4px; overflow-x: auto;
    scrollbar-width: none; max-width: 46%;
}
.acg-term-tab::-webkit-scrollbar { display: none; }
.acg-term-tab a {
    font-size: 13px; color: #666; text-decoration: none; white-space: nowrap;
    padding: 4px 12px; border-radius: 14px; transition: background .2s, color .2s;
}
.acg-term-tab a:hover { color: var(--acg-primary-dk); }
.acg-term-tab a.on { background: var(--acg-primary-bg); color: var(--acg-primary-dk); font-weight: 600; }
.acg-term-desc {
    font-size: 13px; color: rgba(51, 51, 51, .55); margin-left: auto;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30%;
}
.acg-term-more { margin-left: 12px; font-size: 13px; color: var(--acg-primary-dk); text-decoration: none; white-space: nowrap; }
.acg-term-more:hover { text-decoration: underline; }
.acg-term-count { margin-left: auto; font-size: 13px; color: #999; white-space: nowrap; }
.acg-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.acg-grid .acg-empty { grid-column: 1 / -1; }
.acg-site {
    display: flex; align-items: center; min-width: 0;
    border: 1px solid #f2f3f5; border-radius: 8px; padding: 10px 10px;
    text-decoration: none; background: rgba(255, 255, 255, .6);
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.acg-site:hover {
    transform: translateY(-2px); border-color: var(--acg-primary);
    background: #fff7fa; box-shadow: 0 6px 16px rgba(253, 120, 163, .14);
}
.acg-site-img {
    flex: none; width: 30px; height: 30px; line-height: 30px; margin-right: 8px;
    border-radius: 8px; text-align: center; color: #fff;
    font-size: 14px; font-weight: 700;
    background: linear-gradient(135deg, #fd78a3, #ff9dc0);
}
.acg-grid .acg-site:nth-child(8n+2) .acg-site-img { background: linear-gradient(135deg, #4f8ef7, #6aa6ff); }
.acg-grid .acg-site:nth-child(8n+3) .acg-site-img { background: linear-gradient(135deg, #ff9f45, #ffc38a); }
.acg-grid .acg-site:nth-child(8n+4) .acg-site-img { background: linear-gradient(135deg, #9b6bf3, #b78ef7); }
.acg-grid .acg-site:nth-child(8n+5) .acg-site-img { background: linear-gradient(135deg, #0cbc87, #3ddba0); }
.acg-grid .acg-site:nth-child(8n+6) .acg-site-img { background: linear-gradient(135deg, #f5576c, #f78ca0); }
.acg-grid .acg-site:nth-child(8n+7) .acg-site-img { background: linear-gradient(135deg, #f7b500, #ffd25e); }
.acg-grid .acg-site:nth-child(8n+8) .acg-site-img { background: linear-gradient(135deg, #2d9cf7, #6fc0ff); }
.acg-site-info { flex: 1; min-width: 0; }
.acg-site-title {
    display: block; font-size: 14px; font-weight: 600; color: #333;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.acg-site-desc {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 12px; color: #999; line-height: 1.45;
}

/* ---------- F. 杂项：搜索页容器 / 面包屑 / 空态 ---------- */
.acg-search--page { margin-bottom: 14px; }
.acg-search--page .acg-search-box { background: #fff; box-shadow: var(--acg-shadow); }
.acg-search-tip { text-align: center; font-size: 13px; color: #888; margin: 10px 0 0; }
.acg-search-tip b { color: var(--acg-primary-dk); }
.acg-crumb { font-size: 13px; color: #999; margin-bottom: 12px; }
.acg-crumb a { color: #777; text-decoration: none; }
.acg-crumb a:hover { color: var(--acg-primary-dk); }
.acg-crumb-sep { margin: 0 6px; color: #ccc; }
.acg-empty { text-align: center; padding: 36px 0; color: #999; font-size: 14px; }
.acg-empty p { margin: 0; }

/* ---------- G. 响应式 ---------- */
@media (max-width: 1100px) {
    .acg-grid { grid-template-columns: repeat(4, 1fr); }
    .acg-preset--quick { grid-template-columns: repeat(10, 1fr); }
}
@media (max-width: 767px) {
    .acg-hero { padding: 28px 12px 24px; border-radius: 8px; }
    .acg-search-box { height: 46px; }
    .acg-search-btn { padding: 0 16px; font-size: 14px; }
    .acg-engines { gap: 4px 8px; }
    .acg-preset--quick { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .acg-hot { padding: 8px 10px; }
    .acg-block { padding: 14px 12px; }
    .acg-block-head { flex-wrap: wrap; }
    .acg-term-desc { display: none; }
    .acg-term-tab { max-width: 100%; order: 3; width: 100%; margin-top: 4px; }
    .acg-term-more { margin-left: auto; }
    .acg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .acg-site { padding: 8px 8px; }
    .acg-site-img { width: 26px; height: 26px; line-height: 26px; font-size: 12px; margin-right: 6px; }
    .acg-site-title { font-size: 13px; }
    .acg-site-desc { display: none; }
}
@media (max-width: 420px) {
    .acg-preset--quick .acg-glyph,
    .acg-preset--quick li img { width: 34px; height: 34px; line-height: 34px; font-size: 14px; }
    .acg-grid { gap: 6px; }
}

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