/**
 * OneDown 版式桥接层。
 *
 * 在 main.css 之后加载，只补三类东西：
 *   1. 主题里由小工具/短代码提供的结构，这里用简版替代
 *   2. 没有缩略图时的占位块
 *   3. 少量主题里没有的辅助类
 *
 * 颜色一律走主题的 CSS 变量（--od-primary 等），保证换主色时不脱节。
 */

/* ── 列表容器 ─────────────────────────────────── */
.od-post-list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-bottom: 26px;
}

.od-post-list .post-item {
    margin: 0;
}

/* 没有缩略图时的占位 */
.od-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 168px;
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
    font-size: 30px;
    opacity: .92;
}

.post-thumb { position: relative; display: block; overflow: hidden; }

/* 有缩略图时铺满卡片顶部，比例与占位块一致 */
.od-thumb-img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    transition: transform .35s ease;
}

.post-thumb:hover .od-thumb-img { transform: scale(1.04); }

/* 悬浮按钮可能渲染成 <button>，去掉浏览器默认外观 */
.od-float {
    font: inherit;
    border: 0;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* ── 分页 ─────────────────────────────────────── */
.od-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 8px;
    font-size: 13.5px;
}

.od-pager__btn {
    padding: 7px 15px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .08));
    color: var(--od-text, #2f3640);
    transition: border-color .2s ease, color .2s ease;
}

.od-pager__btn:hover {
    border-color: var(--od-primary, #f04494);
    color: var(--od-primary, #f04494);
}

.od-pager__btn.is-disabled { opacity: .42; pointer-events: none; }
.od-pager__info { color: var(--od-muted, #5f6875); font-size: 12.5px; }

/* ── 侧栏 ─────────────────────────────────────── */
.od-sidebar .widget {
    background: var(--od-card, #fff);
    border-radius: var(--od-radius, 8px);
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: var(--od-shadow, 0 12px 34px rgba(33, 40, 66, .08));
}

.od-sidebar .widget-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--od-line, rgba(40, 46, 60, .08));
}

.widget-list { list-style: none; margin: 0; padding: 0; }

.widget-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 13.5px;
    border-bottom: 1px dashed var(--od-line, rgba(40, 46, 60, .08));
}

.widget-list li:last-child { border-bottom: 0; }
.widget-list a { color: var(--od-text, #2f3640); }
.widget-list a:hover { color: var(--od-primary, #f04494); }

.od-count {
    font-size: 11.5px;
    color: var(--od-muted, #5f6875);
    background: rgba(120, 130, 150, .1);
    padding: 1px 7px;
    border-radius: 999px;
}

.od-widget-text { margin: 0 0 10px; font-size: 13px; color: var(--od-muted, #5f6875); line-height: 1.7; }
.od-widget-link { font-size: 13px; color: var(--od-primary, #f04494); }

/* ── 页面标题 / 空状态 ─────────────────────────── */
.od-page-head { margin-bottom: 20px; }
.od-page-head h1 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.od-page-head p { margin: 0; color: var(--od-muted, #5f6875); font-size: 13.5px; }

.od-empty {
    padding: 48px 0;
    text-align: center;
    color: var(--od-muted, #5f6875);
    background: var(--od-card, #fff);
    border-radius: var(--od-radius, 8px);
    margin-bottom: 20px;
}

.od-dim { color: var(--od-muted, #5f6875); }

/* 正文里经 /go 跳转的外链，给个「离开本站」的视觉提示 */
.article-content a.od-golink::after {
    content: "\2197";
    font-size: .82em;
    margin-left: 2px;
    opacity: .5;
    vertical-align: super;
}

/* 标签变成可点击的链接后，不要出现下划线 */
a.status-tag { text-decoration: none; color: inherit; }
a.status-tag:hover { color: var(--od-primary, #f04494); }

/* VIP 档位价格 */
.od-vip__price {
    font-style: normal;
    font-weight: 700;
    color: var(--od-primary, #f04494);
    margin-left: 6px;
}

/* 账户概览：余额与佣金 */
.od-account {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.od-account__item {
    flex: 1 1 140px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(120, 130, 150, .06);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.od-account__item span { font-size: 12.5px; color: var(--od-muted, #5f6875); }
.od-account__item strong { font-size: 19px; letter-spacing: -.01em; }

[data-theme="dark"] .od-account__item { background: rgba(255, 255, 255, .05); }

/* ── 个人中心 ─────────────────────────────────── */
.od-tabnav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
    border-bottom: 1px solid rgba(40, 46, 60, .1);
    padding-bottom: 8px;
}

.od-tabnav--sub { border-bottom: 0; padding-bottom: 0; margin-top: 8px; }

.od-tabnav__item {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--od-muted, #5f6875);
    text-decoration: none;
}

.od-tabnav__item:hover { background: rgba(120, 130, 150, .1); }

.od-tabnav__item.is-active {
    background: var(--od-primary, #f04494);
    color: #fff;
}

.od-subtitle {
    font-size: 15px;
    margin: 22px 0 10px;
    padding-left: 9px;
    border-left: 3px solid var(--od-primary, #f04494);
}

.od-mini-list { list-style: none; margin: 0; padding: 0; }

.od-mini-list__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(40, 46, 60, .07);
    font-size: 13.5px;
}

.od-mini-list__row:last-child { border-bottom: 0; }
.od-mini-list__row a { color: inherit; }

.od-pay__table-wrap { overflow-x: auto; }

.od-pay__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

.od-pay__table th {
    text-align: left;
    font-size: 12.5px;
    color: var(--od-muted, #5f6875);
    font-weight: 500;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(40, 46, 60, .12);
    white-space: nowrap;
}

.od-pay__table td {
    padding: 10px;
    border-bottom: 1px solid rgba(40, 46, 60, .07);
    vertical-align: middle;
}

[data-theme="dark"] .od-tabnav { border-bottom-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .od-mini-list__row,
[data-theme="dark"] .od-pay__table td { border-bottom-color: rgba(255, 255, 255, .07); }

/* 概览里的数量列表 */
.od-counts .od-mini-list__row { padding: 8px 0; }

/* 我的评论：标题 + 摘要 */
.od-comment-row { align-items: flex-start; }
.od-comment-row > div { flex: 1 1 auto; min-width: 0; }

.od-comment-row__text {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--od-muted, #5f6875);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* ── 分类 / 标签 / 热榜 列表页 ─────────────────── */
.od-card-list { list-style: none; margin: 0; padding: 0; }

.od-card-list__item {
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(120, 130, 150, .05);
    margin-bottom: 10px;
}

.od-card-list__item a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.od-card-list__item a:hover strong { color: var(--od-primary, #f04494); }
.od-card-list__item p { margin: 6px 0 0; font-size: 12.5px; }

.od-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.od-tagcloud__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(var(--od-primary-rgb, 240, 68, 148), .08);
    color: var(--od-primary, #f04494);
    font-size: 13.5px;
    text-decoration: none;
}

.od-tagcloud__item:hover { background: rgba(var(--od-primary-rgb, 240, 68, 148), .16); }

.od-tagcloud__item em {
    font-style: normal;
    font-size: 11.5px;
    opacity: .7;
}

.od-hot-list--page { margin-top: 6px; }
.od-hot__count { font-size: 12px; margin-left: auto; }

/* ── VIP 会员介绍页 ───────────────────────────── */.odv-hero {
    background: #1f242c;
    color: #fff;
    padding: 58px 20px 74px;
    text-align: center;
}

.odv-hero__inner { max-width: 1100px; margin: 0 auto; }

.odv-hero h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; }

.odv-hero h1 em {
    font-style: normal;
    color: #ff6b6b;
    font-size: 42px;
    margin: 0 6px;
    font-weight: 700;
}

.odv-hero__ticker { margin: 12px 0 0; color: rgba(255, 255, 255, .55); font-size: 13.5px; }

.odv-body { max-width: 1240px; margin: -40px auto 34px; padding: 0 20px; position: relative; }

.odv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.odv-card {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.odv-card.is-mine {
    border-color: var(--od-primary, #f04494);
    box-shadow: 0 0 0 3px rgba(var(--od-primary-rgb, 240, 68, 148), .12);
}

.odv-card__head {
    padding: 22px 20px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(40, 46, 60, .08);
}

/* 每个会员档位一个独立图标 */
.odv-card__icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 19px;
    background: linear-gradient(135deg, #9aa7bd, #64748b);
    box-shadow: 0 8px 18px rgba(100, 116, 139, .25);
}

.odv-card__icon.is-monthly {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 8px 18px rgba(59, 130, 246, .28);
}

.odv-card__icon.is-yearly {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 18px rgba(245, 158, 11, .3);
}

.odv-card__icon.is-forever {
    background: linear-gradient(135deg, #c084fc, #8b5cf6);
    box-shadow: 0 8px 18px rgba(139, 92, 246, .32);
}

/* VIP 页：介绍文案 + 权益列表（都来自主题设置） */
.odv-intro {
    max-width: 1120px;
    margin: 26px auto 0;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.85;
    color: #5f6875;
}

.odv-intro p { margin: 0 0 8px; }

.odv-benefits { max-width: 1120px; margin: 22px auto 60px; padding: 0 20px; }
.odv-benefits__title { margin: 0 0 14px; font-size: 18px; }

.odv-benefits__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.odv-benefits__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 10px;
    font-size: 13.5px;
}

.odv-benefits__list i { color: #12b76a; }

[data-theme="dark"] .odv-benefits__list li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odv-intro { color: #9aa4b2; }

.odv-card__head h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.odv-card.is-vip .odv-card__head h2 { color: #e8506a; }

.odv-card__tag { font-size: 12px; color: #98a2b3; }
.odv-card__tag.is-vip { color: #e8506a; letter-spacing: .06em; }

/* 档位说明（来自后台「会员类型」的简短描述） */
.odv-card__desc { margin: 6px 0 0; font-size: 12.5px; color: #7b8494; }
.odv-price__old { margin-left: 8px; font-size: 13px; color: #98a2b3; }

.odv-card__specs { list-style: none; margin: 0; padding: 12px 20px; flex: 1 1 auto; }

.odv-card__specs li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    font-size: 13.5px;
    border-bottom: 1px dashed rgba(40, 46, 60, .08);
}

.odv-card__specs li:last-child { border-bottom: 0; }
.odv-card__specs span { color: #7b8494; }
.odv-card__specs b { font-weight: 500; }
.odv-card__specs b.is-accent { color: #12b76a; }

.odv-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid rgba(40, 46, 60, .08);
}

.odv-price { font-size: 20px; font-weight: 700; color: #e8506a; }
.odv-price.is-free { color: #12b76a; }

.odv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    background: #f1f3f6;
    color: #344054;
    font-size: 13.5px;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}

.odv-btn.is-primary { background: var(--od-primary, #f04494); color: #fff; }
.odv-btn.is-primary:hover { opacity: .92; }

/*
 * 每档的标题 / 标签 / 价格 / 按钮统一用该档的颜色，
 * 和卡片顶部的图标保持一致，不再统一是粉色。
 */
.odv-card.is-monthly .odv-card__head h2,
.odv-card.is-monthly .odv-card__tag.is-vip,
.odv-card.is-monthly .odv-price { color: #3b82f6; }

.odv-card.is-monthly .odv-btn.is-primary {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 8px 18px rgba(59, 130, 246, .26);
}

.odv-card.is-yearly .odv-card__head h2,
.odv-card.is-yearly .odv-card__tag.is-vip,
.odv-card.is-yearly .odv-price { color: #d97706; }

.odv-card.is-yearly .odv-btn.is-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 18px rgba(245, 158, 11, .28);
}

.odv-card.is-forever .odv-card__head h2,
.odv-card.is-forever .odv-card__tag.is-vip,
.odv-card.is-forever .odv-price { color: #8b5cf6; }

.odv-card.is-forever .odv-btn.is-primary {
    background: linear-gradient(135deg, #c084fc, #8b5cf6);
    box-shadow: 0 8px 18px rgba(139, 92, 246, .28);
}

/* 普通用户保持中性灰，不抢 VIP 的颜色 */
.odv-card:not(.is-vip) .odv-card__head h2 { color: #344054; }
.odv-btn.is-current { background: transparent; border-color: rgba(40, 46, 60, .16); color: #98a2b3; cursor: default; }

/* 在线开通：按钮包在表单里，去掉默认间距 */
.odv-buy { display: inline-flex; margin: 0; }
.odv-buy .odv-btn { font-family: inherit; }

.odv-redeem { max-width: 1240px; margin: 0 auto 40px; padding: 0 20px; }

.odv-redeem__inner {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 12px;
    padding: 22px 24px;
}

.odv-redeem__title { margin: 0 0 6px; font-size: 16px; }

@media (max-width: 1000px) {
    .odv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .odv-grid { grid-template-columns: 1fr; }
    .odv-hero { padding: 40px 18px 60px; }
    .odv-hero h1 { font-size: 21px; }
    .odv-hero h1 em { font-size: 30px; }
}

[data-theme="dark"] .odv-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odv-card__specs span { color: #9aa4b2; }
[data-theme="dark"] .odv-card__specs li { border-bottom-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .odv-card__head { border-bottom-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odv-card__foot { border-top-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odv-redeem__inner { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odv-btn { background: rgba(255, 255, 255, .08); color: #e5e7eb; }

/* ═══════════════════════════════════════════════
   杂志式首页
   ═══════════════════════════════════════════════ */
.odl-hero {
    position: relative;
    min-height: 430px;
    padding: 86px 20px 78px;
    background-color: #0b1120;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}

/* 内置星空：深空底色 + 三团星云 */
.odl-hero.is-space {
    background-image:
        radial-gradient(1100px 520px at 50% -10%, rgba(56, 96, 180, .40), transparent 62%),
        radial-gradient(820px 460px at 84% 8%, rgba(126, 87, 194, .30), transparent 60%),
        radial-gradient(760px 420px at 10% 88%, rgba(38, 148, 173, .22), transparent 66%),
        linear-gradient(180deg, #0b1120 0%, #090d18 58%, #060910 100%);
}

/* 两层星点：慢的一层小星，快的一层亮星，形成视差 */
.odl-hero.is-space::before,
.odl-hero.is-space::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -240px;
    bottom: -240px;
    pointer-events: none;
    background-repeat: repeat;
}

.odl-hero.is-space::before {
    background-image:
        radial-gradient(1px 1px at 18px 24px, rgba(255, 255, 255, .88), transparent 100%),
        radial-gradient(1px 1px at 74px 118px, rgba(255, 255, 255, .62), transparent 100%),
        radial-gradient(1.4px 1.4px at 132px 58px, rgba(255, 255, 255, .82), transparent 100%),
        radial-gradient(1px 1px at 188px 156px, rgba(255, 255, 255, .55), transparent 100%),
        radial-gradient(1px 1px at 236px 92px, rgba(255, 255, 255, .72), transparent 100%),
        radial-gradient(1.2px 1.2px at 292px 30px, rgba(255, 255, 255, .78), transparent 100%),
        radial-gradient(1px 1px at 330px 176px, rgba(255, 255, 255, .5), transparent 100%),
        radial-gradient(1px 1px at 396px 120px, rgba(255, 255, 255, .68), transparent 100%),
        radial-gradient(1.4px 1.4px at 448px 44px, rgba(255, 255, 255, .85), transparent 100%),
        radial-gradient(1px 1px at 508px 160px, rgba(255, 255, 255, .55), transparent 100%),
        radial-gradient(1px 1px at 560px 86px, rgba(255, 255, 255, .75), transparent 100%),
        radial-gradient(1.2px 1.2px at 606px 190px, rgba(255, 255, 255, .6), transparent 100%);
    background-size: 640px 220px;
    opacity: .35;
    animation: odl-drift 90s linear infinite;
}

.odl-hero.is-space::after {
    background-image:
        radial-gradient(2px 2px at 40px 60px, rgba(255, 255, 255, .95), transparent 100%),
        radial-gradient(1.6px 1.6px at 210px 140px, rgba(196, 224, 255, .9), transparent 100%),
        radial-gradient(2.2px 2.2px at 380px 40px, rgba(255, 255, 255, .85), transparent 100%),
        radial-gradient(1.8px 1.8px at 540px 170px, rgba(214, 232, 255, .9), transparent 100%),
        radial-gradient(2px 2px at 700px 90px, rgba(255, 255, 255, .8), transparent 100%),
        radial-gradient(1.6px 1.6px at 780px 200px, rgba(255, 255, 255, .7), transparent 100%);
    background-size: 820px 260px;
    opacity: .45;
    animation: odl-drift 55s linear infinite;
}

/* canvas 星网：压在遮罩之下、内容之上 */
.odl-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 0;
}

.odl-hero__inner { z-index: 2; }

@keyframes odl-drift {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -220px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .odl-hero.is-space::before,
    .odl-hero.is-space::after { animation: none; }
}

.odl-hero__mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 620px at 50% 0%, rgba(6, 10, 18, .18), rgba(6, 10, 18, .52));
    pointer-events: none;
}

.odl-hero__inner { position: relative; max-width: 820px; margin: 0 auto; z-index: 1; }

.odl-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.01em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.odl-hero__sub {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 14.5px;
}

.odl-search {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 720px;
    margin: 26px auto 0;
    padding: 6px 6px 6px 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(8, 12, 20, .28);
}

.odl-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    color: #101828;
    font-family: inherit;
}

.odl-search__btn {
    flex: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: #1f2937;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.odl-search__btn:hover { background: var(--od-primary, #f04494); }

.odl-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.odl-tags__item {
    padding: 5px 13px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 12.8px;
    text-decoration: none;
    backdrop-filter: blur(2px);
}

.odl-tags__item:hover { background: rgba(255, 255, 255, .26); }

.odl-cats {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.odl-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(16, 24, 40, .1);
    text-decoration: none;
    color: inherit;
}

.odl-cat:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(16, 24, 40, .14); }

.odl-cat__icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(135deg, #ff5a5f, #ff8a5b);
}

.odl-cat:nth-child(2) .odl-cat__icon { background: linear-gradient(135deg, #ff7a45, #ffb547); }
.odl-cat:nth-child(3) .odl-cat__icon { background: linear-gradient(135deg, #3aa0ff, #56c8ff); }
.odl-cat:nth-child(4) .odl-cat__icon { background: linear-gradient(135deg, #ffcb45, #ffd98a); }

.odl-cat__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.odl-cat__body strong { font-size: 14.5px; }
.odl-cat__body small { font-size: 12px; color: var(--od-muted, #7b8494); }

.odl-promo { max-width: 1200px; margin: 26px auto 0; padding: 0 20px; }

.odl-promo__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, #6d3bd6, #8b5cf6 55%, #a78bfa);
    color: #fff;
    box-shadow: 0 16px 34px rgba(109, 59, 214, .28);
}

.odl-promo__text { margin: 0; flex: 1 1 auto; font-size: 15px; font-weight: 600; }
.odl-promo__text i { margin-right: 6px; opacity: .9; }

.odl-promo__btn {
    flex: none;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-size: 13.5px;
    text-decoration: none;
}

.odl-promo__btn:hover { background: rgba(255, 255, 255, .3); }

.odl-latest { max-width: 1200px; margin: 36px auto 64px; padding: 0 20px; }

.odl-latest__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.odl-latest__head h2 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.odl-latest__head p { margin: 5px 0 0; font-size: 12.8px; color: var(--od-muted, #7b8494); }
.odl-latest__links { display: flex; gap: 10px; font-size: 13px; }
.odl-latest__links a { color: var(--od-muted, #7b8494); }

/* ═══════════════════════════════════════════════
   全部分类
   ═══════════════════════════════════════════════ */
.odcat {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 20px 64px;
}

.odcat__head { margin-bottom: 22px; }
.odcat__head h1 { margin: 0; font-size: 26px; letter-spacing: -.01em; }
.odcat__head p { margin: 6px 0 0; font-size: 13px; color: var(--od-muted, #7b8494); }

.odcat__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.odcat__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

.odcat__card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 24, 40, .1); }

.odcat__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    background: linear-gradient(135deg, #7aa8ff, #4f7cff);
}

.odcat__card:nth-child(6n+2) .odcat__icon { background: linear-gradient(135deg, #ffb36b, #ff8a5b); }
.odcat__card:nth-child(6n+3) .odcat__icon { background: linear-gradient(135deg, #6ee7b7, #10b981); }
.odcat__card:nth-child(6n+4) .odcat__icon { background: linear-gradient(135deg, #c084fc, #8b5cf6); }
.odcat__card:nth-child(6n+5) .odcat__icon { background: linear-gradient(135deg, #fda4af, #f43f5e); }
.odcat__card:nth-child(6n+6) .odcat__icon { background: linear-gradient(135deg, #67e8f9, #06b6d4); }

.odcat__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.odcat__body strong { font-size: 15px; font-weight: 600; }

.odcat__body small {
    font-size: 12.5px;
    color: var(--od-muted, #7b8494);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.odcat__count {
    flex: none;
    font-style: normal;
    font-size: 12.5px;
    color: var(--od-muted, #7b8494);
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3f5f9;
}

[data-theme="dark"] .odcat__card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odcat__count { background: rgba(255, 255, 255, .08); }

@media (max-width: 900px) {
    .odcat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .odcat { padding: 26px 14px 48px; }
}

@media (max-width: 560px) {
    .odcat__grid { grid-template-columns: 1fr; }
    .odcat__head h1 { font-size: 21px; }
}

/* 页脚列数：多出「产品 / 支持」列时改成自适应，避免挤成一坨 */
.footer-links.has-extra { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* 搜索结果里的「相关页面」（仅搜索文章关闭时才有） */
.od-matched-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 1px dashed #e3e8ef;
    border-radius: 10px;
    font-size: 13px;
}

.od-matched-pages strong { color: #7b8494; font-weight: 500; }
.od-matched-pages a { color: #1677ff; text-decoration: none; }

[data-theme="dark"] .od-matched-pages { border-color: rgba(255, 255, 255, .14); }

/* LOGO 和站点名并排：间距、尺寸、窄屏处理 */
.brand { display: flex; align-items: center; gap: 10px; }

.brand-logo {
    display: block;
    height: auto;
    max-height: 42px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    min-width: 0;
}

/* 手机上只留 LOGO，标题文字太挤反而难看 */
@media (max-width: 560px) {
    .site-header .brand-name { display: none; }
}

/* 演示地址按钮 */
.od-demo { margin: 22px 0 4px; }

.od-demo__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    background: rgba(var(--od-primary-rgb, 240, 68, 148), .1);
    color: var(--od-primary, #f04494);
    font-size: 13.5px;
    text-decoration: none;
}

.od-demo__btn:hover { background: rgba(var(--od-primary-rgb, 240, 68, 148), .18); }

/* ═══════════════════════════════════════════════
   文章页（资源下载版式）
   ═══════════════════════════════════════════════ */
.odp-hero {
    background: linear-gradient(135deg, #5b5fd8 0%, #6a5ae0 100%);
    color: #fff;
    padding: 44px 20px 112px;
}

.odp-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.odp-hero h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: #fff; }

.odp-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.odp-crumbs a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.odp-crumbs a:hover { color: #fff; }
.odp-crumbs i { opacity: .6; font-size: 11px; }

.odp-wrap {
    max-width: 1200px;
    margin: -84px auto 56px;
    padding: 0 20px;
}

.odp-card {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, .1);
    position: relative;
    z-index: 2;
}

/* 卡片右上角的圆形操作按钮 */
.odp-card__tools {
    position: absolute;
    top: 16px;
    right: 18px;
    display: flex;
    gap: 10px;
}

.odp-tool {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e6eaf0;
    background: #fff;
    color: #7b8494;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.odp-tool:hover { border-color: #cdd5e0; color: #e8506a; }
.odp-tool.is-done { border-color: #e8506a; color: #e8506a; background: #fff0f3; }

/* 点赞 / 收藏用真表单提交，这里只负责排版 */
.od-action-form, .odp-tool-form { display: inline-flex; margin: 0; }
.od-action.is-done { border-color: #f7c6d2; background: #fff5f8; color: #e8506a; }

/* 评分 */
.odp-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.odp-rating__stars { display: inline-flex; gap: 2px; }

.odp-star {
    border: 0;
    background: transparent;
    padding: 0 1px;
    font-size: 15px;
    line-height: 1;
    color: #d8dde6;
    cursor: pointer;
}

.odp-star.is-on { color: #ffb021; }
.odp-star:hover { color: #ffc94a; }

.odp-rating__text { font-size: 12.5px; color: #98a2b3; }
.odp-rating__text b { color: #ff8a00; font-size: 14px; }
.odp-rating__text em { font-style: normal; margin-left: 6px; }

/* 右侧悬浮客服 */
.odcf {
    position: fixed;
    right: 18px;
    bottom: 96px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.odcf__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .16);
}

.odcf__btn--qq { background: linear-gradient(135deg, #38b6ff, #1e8ff0); }
.odcf__btn--wx { background: linear-gradient(135deg, #34d17a, #16a34a); }
.odcf__btn--mail { background: linear-gradient(135deg, #6ea8ff, #3b6ef0); }

.odcf__btn:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   登录 / 注册（居中卡片）
   ═══════════════════════════════════════════════ */
.oda {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 16px 56px;
    margin: -26px -20px -60px;
    background:
        radial-gradient(760px 380px at 16% 6%, #eef2ff, transparent 62%),
        radial-gradient(700px 360px at 88% 10%, #fdf2f8, transparent 62%),
        #f7f9fc;
}

.oda__card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 18px;
    padding: 34px 28px 22px;
    box-shadow: 0 22px 60px rgba(16, 24, 40, .10);
    text-align: center;
}

.oda__card--wide { max-width: 440px; }

.oda__avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(135deg, #7aa8ff, #4f7cff);
    box-shadow: 0 10px 24px rgba(79, 124, 255, .3);
}

.oda__title { margin: 0 0 6px; font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.oda__sub { margin: 0 0 22px; font-size: 12.8px; color: #7b8494; }
.oda__flash { margin-bottom: 14px; text-align: left; }

.oda__field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #e3e8ef;
    border-radius: 999px;
    margin-bottom: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.oda__field:focus-within { border-color: #4f7cff; box-shadow: 0 0 0 3px rgba(79, 124, 255, .12); }

.oda__field i { color: #9aa4b2; font-size: 14px; width: 16px; text-align: center; flex: none; }

.oda__field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    font-family: inherit;
    color: inherit;
}

.oda__submit {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    background: #1677ff;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: .02em;
}

.oda__submit:hover { background: #0f68e8; }

.oda__foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 13px; color: #7b8494; }
.oda__foot a { color: #5f6875; }
.oda__dot { color: #c4cbd6; }
.oda__agree { margin: 4px 0 12px; font-size: 12.5px; color: #7b8494; }

.oda .od-captcha { justify-content: center; gap: 8px; margin: 2px 0 12px; }
.oda .od-captcha__q { font-size: 14px; padding: 6px 12px; }
.oda .od-captcha .od-comment-form__input { max-width: 130px; height: 44px; border-radius: 999px; }

[data-theme="dark"] .oda {
    background:
        radial-gradient(760px 380px at 16% 6%, rgba(60, 90, 160, .22), transparent 62%),
        radial-gradient(700px 360px at 88% 10%, rgba(150, 60, 120, .16), transparent 62%),
        #0b0f16;
}

[data-theme="dark"] .oda__card { background: #141a23; }
[data-theme="dark"] .oda__field { background: #0f151d; border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .oda__field input { color: #e6e9ef; }

/* ═══════════════════════════════════════════════
   登录 / 注册（双栏卡片）
   ═══════════════════════════════════════════════ */
.oda2 {
    padding: 44px 20px 64px;
    margin: -26px -20px -60px;
    background:
        radial-gradient(900px 420px at 12% 0%, #eef4ff, transparent 62%),
        radial-gradient(820px 400px at 92% 6%, #fdf2f8, transparent 60%),
        #f7f9fc;
}

.oda2__head { max-width: 900px; margin: 0 auto 30px; text-align: center; }
.oda2__head h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.oda2__head h1 em { font-style: normal; color: #1677ff; }
.oda2__head p { margin: 12px 0 0; font-size: 15px; color: #5f6875; }
.oda2__head p b { color: #1677ff; font-weight: 700; }

.oda2__card {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 22px 60px rgba(16, 24, 40, .09);
    overflow: hidden;
}

.oda2__side { padding: 42px 28px; border-right: 1px solid #eef1f5; }
.oda2__side h2 { margin: 0 0 20px; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.oda2__hint { margin: 0 0 12px; font-size: 12.5px; color: #1677ff; }

.oda2__qr {
    width: 172px;
    height: 172px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef1f5;
    border-radius: 6px;
    background: #fff;
}

.oda2__qr canvas { display: block; width: 160px; height: 160px; }

.oda2__other { margin: 26px 0 10px; font-size: 12.5px; color: #98a2b3; }
.oda2__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.oda2__links a { color: #5f6875; text-decoration: none; }
.oda2__links a:hover { color: #1677ff; }

.oda2__right { padding: 42px 44px 36px; }

.oda2__tabs {
    display: flex;
    align-items: center;
    gap: 26px;
    border-bottom: 1px solid #eef1f5;
    margin-bottom: 26px;
}

.oda2__tab {
    padding-bottom: 12px;
    margin-bottom: -1px;
    font-size: 16px;
    color: #344054;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.oda2__tab.is-active { color: #1677ff; font-weight: 600; border-bottom-color: #1677ff; }

.oda2__go { margin-left: auto; padding-bottom: 12px; font-size: 13px; color: #1677ff; text-decoration: none; }

.oda2__field {
    display: flex;
    align-items: center;
    height: 48px;
    margin-bottom: 16px;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.oda2__field:focus-within { border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22, 119, 255, .1); }

.oda2__field > span {
    flex: 0 0 86px;
    padding-left: 16px;
    line-height: 46px;
    font-size: 14px;
    color: #5f6875;
    background: #fafbfc;
    border-right: 1px solid #eef1f5;
}

.oda2__field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14.5px;
    font-family: inherit;
    color: inherit;
}

.oda2__eye {
    flex: none;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #98a2b3;
    font-size: 14px;
    cursor: pointer;
}

.oda2__btn {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: 0;
    border-radius: 4px;
    background: #1677ff;
    color: #fff;
    font-size: 15.5px;
    font-family: inherit;
    cursor: pointer;
}

.oda2__btn:hover { background: #0f68e8; }

.oda2__foot { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 20px; font-size: 13px; }
.oda2__foot a { color: #5f6875; text-decoration: none; }
.oda2__foot a:hover { color: #1677ff; }

.oda2__agree { margin: 0 0 12px; font-size: 12.5px; color: #7b8494; }
.oda2__agree a { color: #1677ff; }

.oda2 .od-captcha { justify-content: flex-start; margin: 0 0 14px; }
.oda2 .od-captcha__q { font-size: 14px; }
.oda2 .od-captcha .od-comment-form__input { max-width: 150px; height: 44px; }

[data-theme="dark"] .oda2 {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(50, 90, 170, .2), transparent 62%),
        radial-gradient(820px 400px at 92% 6%, rgba(150, 60, 120, .14), transparent 60%),
        #0b0f16;
}

[data-theme="dark"] .oda2__card { background: #141a23; }
[data-theme="dark"] .oda2__side { border-right-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .oda2__tabs { border-bottom-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .oda2__field { background: #0f151d; border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .oda2__field > span { background: rgba(255, 255, 255, .04); border-right-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .oda2__field input { color: #e6e9ef; }
[data-theme="dark"] .oda2__tab { color: #c7ccd6; }
[data-theme="dark"] .oda2__qr { border-color: rgba(255, 255, 255, .1); }

@media (max-width: 820px) {
    .oda2 { padding: 30px 14px 48px; margin: -18px -14px -40px; }
    .oda2__head h1 { font-size: 24px; }
    .oda2__head p { font-size: 13.5px; }
    .oda2__card { grid-template-columns: minmax(0, 1fr); }
    .oda2__side { border-right: 0; border-bottom: 1px solid #eef1f5; padding: 26px 20px; }
    .oda2__side h2 { font-size: 22px; margin-bottom: 14px; }
    .oda2__qr { margin: 0 auto; }
    .oda2__right { padding: 26px 20px 24px; }
    .oda2__tabs { gap: 18px; }
    .oda2__tab { font-size: 15px; }
}

/* ═══════════════════════════════════════════════
   个人中心
   ═══════════════════════════════════════════════ */
.odac-hero {
    background: #2b3244;
    color: #fff;
    padding: 32px 20px 92px;
}

.odac-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.odac-hero__inner h1 { margin: 0; font-size: 20px; font-weight: 600; color: #fff; }
.odac-hero__inner p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .58); }

.odac-wrap { max-width: 1200px; margin: -64px auto 60px; padding: 0 20px; }

.odac-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.odac-side {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 14px;
    overflow: hidden;
}

.odac-profile { padding: 26px 20px 18px; text-align: center; border-bottom: 1px solid #eef1f5; }

.odac-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    background: linear-gradient(135deg, #7aa8ff, #4f7cff);
    margin-bottom: 10px;
}

.odac-name { display: block; font-size: 15px; font-weight: 600; }

.odac-vip {
    display: inline-block;
    margin-top: 7px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 12px;
    background: #f3f5f9;
    color: #7b8494;
}

.odac-vip.is-active { background: #fff1e6; color: #e8720c; }
.odac-vip i { margin-right: 5px; font-size: 11px; }

/* 徽章颜色跟着档位走，和 VIP 页卡片一致 */
.odac-vip.is-monthly { background: #eaf2ff; color: #3b82f6; }
.odac-vip.is-yearly { background: #fff6e5; color: #d97706; }
.odac-vip.is-forever { background: #f4eeff; color: #8b5cf6; }
.odac-vip em { font-style: normal; margin-left: 5px; color: #f04494; }

.odac-profile .od-dim { display: block; margin-top: 6px; font-size: 12px; }

.odac-menu { display: flex; flex-direction: column; padding: 6px 0; }

.odac-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.odac-menu__item i { font-size: 12px; color: #c4cbd6; }
.odac-menu__item:hover { background: #f7f9fc; }
.odac-menu__item.is-active { color: #f04494; border-left-color: #f04494; background: #fff8fb; font-weight: 600; }
.odac-menu__item.is-active i { color: #f04494; }

/* 管理员专属入口：和普通菜单区分开 */
.odac-menu__admin {
    margin-top: 6px;
    border-top: 1px solid #eef1f5;
    color: #3b82f6;
}

.odac-menu__admin i { color: #3b82f6; }
.odac-menu__admin span i { margin-right: 5px; font-size: 12px; }

.odac-logout {
    display: block;
    padding: 14px 20px;
    border-top: 1px solid #eef1f5;
    font-size: 13px;
    color: #7b8494;
    text-decoration: none;
}

.odac-logout:hover { color: #e8506a; }

.odac-main {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 14px;
    padding: 22px 24px;
    min-width: 0;
}

.odac-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.odac-stat { background: #f7f9fc; border-radius: 12px; padding: 16px 18px; }
.odac-stat span { font-size: 12.5px; color: #7b8494; }
.odac-stat strong { display: block; margin-top: 8px; font-size: 23px; font-weight: 700; letter-spacing: -.02em; }

.odac-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.odac-card { border: 1px solid #eef1f5; border-radius: 12px; padding: 16px 18px; }
.odac-card h3 { margin: 0 0 10px; font-size: 14px; }

.odac-info { list-style: none; margin: 0; padding: 0; }
.odac-info li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #eef1f5; font-size: 13px; }
.odac-info li:last-child { border-bottom: 0; }
.odac-info span { color: #7b8494; flex: none; }
.odac-info b { font-weight: 500; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.odac-link { display: inline-block; margin-top: 10px; font-size: 13px; color: #1677ff; text-decoration: none; }

.odac-referral { margin-top: 16px; border: 1px solid #eef1f5; border-radius: 12px; padding: 16px 18px; }
.odac-referral__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.odac-referral__head h3 { margin: 0; font-size: 14px; }
.odac-referral__tip { margin: 8px 0 12px; font-size: 12.8px; color: #7b8494; }
.odac-referral__row { display: flex; gap: 10px; }

.odac-referral__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    background: #f9fafc;
    color: inherit;
    font-family: inherit;
}

.odac-referral__btn {
    flex: none;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #f04494;
    color: #fff;
    font-size: 13.5px;
    cursor: pointer;
    font-family: inherit;
}

.odac-referral__btn:hover { background: #d92f80; }

[data-theme="dark"] .odac-side,
[data-theme="dark"] .odac-main { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odac-profile,
[data-theme="dark"] .odac-logout,
[data-theme="dark"] .odac-card,
[data-theme="dark"] .odac-referral { border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odac-menu__item { color: #c7ccd6; }
[data-theme="dark"] .odac-menu__item:hover { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .odac-menu__item.is-active { background: rgba(240, 68, 148, .12); }
[data-theme="dark"] .odac-stat { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .odac-referral__input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }

/* ═══════════════════════════════════════════════
   USDT 付款页
   ═══════════════════════════════════════════════ */
.od-usdt {
    margin-top: 18px;
    padding: 22px 18px;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    text-align: center;
}

.od-usdt__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.od-usdt__badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e8f7ef;
    color: #0f9d58;
}

.od-usdt__amount { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.od-usdt__cny { font-size: 13px; color: #98a2b3; }

.od-usdt__qr {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
}

.od-usdt__qr canvas { display: block; width: 200px; height: 200px; }

.od-usdt__tip { margin: 12px 0 10px; font-size: 13px; color: #5f6875; }

.od-usdt__addr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.od-usdt__addr code {
    font-size: 12.5px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f5f7fa;
    word-break: break-all;
    max-width: 100%;
}

.od-usdt__copy {
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    background: #1677ff;
    color: #fff;
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
}

.od-usdt__copy:hover { background: #0f68e8; }

.od-usdt__steps {
    text-align: left;
    max-width: 430px;
    margin: 0 auto 14px;
    padding-left: 18px;
    font-size: 13px;
    color: #5f6875;
}

.od-usdt__steps li { margin-bottom: 6px; }

[data-theme="dark"] .od-usdt { border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .od-usdt__addr code { background: rgba(255, 255, 255, .06); color: #e6e9ef; }
[data-theme="dark"] .od-usdt__badge { background: rgba(15, 157, 88, .18); color: #4ade80; }

@media (max-width: 900px) {
    .odac-grid { grid-template-columns: minmax(0, 1fr); }
    .odac-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .odac-menu__item { border-left: 0; border-bottom: 1px solid #f2f4f8; }
    .odac-menu__item.is-active { border-left: 0; border-bottom-color: #f2f4f8; }
    .odac-stats { grid-template-columns: minmax(0, 1fr); }
    .odac-cards { grid-template-columns: minmax(0, 1fr); }
    .odac-hero { padding: 24px 16px 84px; }
    .odac-hero__inner h1 { font-size: 17px; }
    .odac-wrap { margin-top: -60px; padding: 0 14px; }
    .odac-main { padding: 18px 16px; }
    .odac-referral__row { flex-direction: column; }
    .odac-referral__btn { width: 100%; }
}

@media (max-width: 620px) {
    .oda { margin: -18px -14px -40px; padding: 26px 14px 44px; min-height: 0; }
    .oda__card { padding: 26px 20px 18px; border-radius: 16px; }
    .oda__title { font-size: 18px; }
    .oda__field { height: 46px; }
}

.odp-card__thumb {
    flex: 0 0 300px;
    height: 190px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef1f6, #dfe4ec);
    display: flex;
    align-items: center;
    justify-content: center;
}

.odp-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.odp-card__ph { font-size: 34px; color: #b6bfcc; }

.odp-card__body { flex: 1 1 auto; min-width: 0; }

.odp-card__price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.odp-price { font-size: 28px; font-weight: 700; color: #ff5a5f; line-height: 1.2; }
.odp-price.is-free { color: #12b76a; }
.odp-price__old { color: #98a2b3; font-size: 14px; }

.odp-badge {
    font-size: 12.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #ffe9ec;
    color: #e8506a;
}

.odp-badge a { color: #e8506a; text-decoration: underline; }

.odp-meta {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 22px;
    font-size: 13px;
    color: #7b8494;
}

.odp-meta li { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.odp-meta span { font-size: 12px; color: #98a2b3; }
.odp-meta b { font-weight: 500; color: #344054; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.odp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.odp-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 26px;
    border-radius: 8px;
    border: 1px solid #d9dee7;
    background: #fff;
    color: #344054;
    font-size: 14.5px;
    text-decoration: none;
    cursor: pointer;
}

.odp-btn:hover { border-color: #b9c1cf; }

.odp-btn.is-primary {
    border-color: transparent;
    background: linear-gradient(100deg, #4c9bff, #3b7cf6);
    color: #fff;
    box-shadow: 0 8px 18px rgba(59, 124, 246, .28);
}

.odp-btn.is-primary:hover { opacity: .94; }

.odp-btn.is-disabled { background: #f4f6f9; color: #a6aebb; cursor: not-allowed; }

.odp-buy { margin-top: 16px; }

.odp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    margin-top: 20px;
    align-items: start;
}

.odp-tabs {
    display: flex;
    gap: 4px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 0 12px;
    border-bottom: 1px solid #edf0f4;
}

.odp-tab {
    padding: 15px 20px;
    border: 0;
    background: transparent;
    font-size: 14.5px;
    color: #5f6875;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-family: inherit;
}

.odp-tab.is-active { color: #ff4d4f; border-bottom-color: #ff4d4f; font-weight: 600; }

.odp-panel {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 22px 26px;
    border-top: 0;
}

.odp-lead { margin: 0 0 14px; font-size: 14px; color: #5f6875; }

.odp-sub { margin: 22px 0 12px; font-size: 15px; }
.odp-sub:first-child { margin-top: 0; }

.odp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.odp-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 10px;
    background: #f7f9fc;
    font-size: 13px;
    color: #5f6875;
}

.odp-note strong { display: block; margin-bottom: 8px; color: #344054; }
.odp-note ul { margin: 0; padding-left: 18px; }
.odp-note li { margin-bottom: 4px; }

.odp-empty { text-align: center; padding: 36px 10px; color: #7b8494; }
.odp-empty i { font-size: 30px; color: #c4cbd6; display: block; margin-bottom: 10px; }
.odp-empty p { margin: 0 0 14px; }

/* 下载标签里的购买引导 */
.odp-lockbox { text-align: center; padding: 26px 18px 8px; }
.odp-lockbox > i { font-size: 30px; color: #c4cbd6; display: block; margin-bottom: 12px; }
.odp-lockbox h3 { margin: 0 0 6px; font-size: 16px; }
.odp-lockbox > p { margin: 0 0 16px; font-size: 13px; color: #7b8494; }
.odp-lockbox__price { margin-bottom: 16px; }
.odp-lockbox__price strong { font-size: 26px; color: #ff5a5f; }
.odp-lockbox__price del { margin-left: 8px; font-size: 13px; color: #98a2b3; }
.odp-lockbox__vip { margin-top: 14px; font-size: 13px; }
.odp-lockbox__vip a { color: #1677ff; }
.odp-lockbox .odp-btn { min-width: 200px; justify-content: center; }

.odp-side { display: flex; flex-direction: column; gap: 16px; }

.odp-disclaimer {
    background: #fff8ec;
    border: 1px solid #ffe2b8;
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 12.8px;
    color: #8a5a15;
    line-height: 1.75;
}

.odp-disclaimer strong { display: block; margin-bottom: 6px; color: #a35c00; }
.odp-disclaimer p { margin: 0; }

[data-theme="dark"] .odp-card,
[data-theme="dark"] .odp-tabs,
[data-theme="dark"] .odp-panel { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odp-tabs { border-bottom-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odp-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #e6e9ef; }
[data-theme="dark"] .odp-note { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .odp-disclaimer { background: rgba(255, 180, 60, .1); border-color: rgba(255, 180, 60, .28); color: #f0c07a; }
[data-theme="dark"] .odp-card__thumb { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .odp-tool { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #9aa4b2; }
[data-theme="dark"] .odp-meta b { color: #e6e9ef; }
[data-theme="dark"] .odp-btn.is-disabled { background: rgba(255, 255, 255, .04); color: #6b7280; }
[data-theme="dark"] .odp-star { color: #46505f; }
[data-theme="dark"] .odp-rating__text { color: #7b8494; }
[data-theme="dark"] .odp-lockbox h3 { color: #e6e9ef; }

@media (max-width: 900px) {
    .odp-grid { grid-template-columns: minmax(0, 1fr); }

    .odp-card { flex-direction: column; gap: 18px; }
    .odp-card__thumb { flex: none; width: 100%; height: 175px; }

    .odp-card__tools { top: 12px; right: 14px; }
    .odp-tool { width: 34px; height: 34px; font-size: 13px; }

    .odp-hero { padding: 26px 16px 96px; }
    .odp-hero h1 { font-size: 18px; line-height: 1.45; }

    .odp-wrap { margin-top: -72px; padding: 0 14px; }
    .odp-card, .odp-panel { padding: 18px 16px; }

    .odp-price { font-size: 24px; }

    .odp-actions { gap: 8px; }
    .odp-btn { flex: 1 1 140px; height: 42px; padding: 0 14px; font-size: 13.5px; }

    .odp-tabs { overflow-x: auto; flex-wrap: nowrap; padding: 0 4px; }
    .odp-tab { padding: 13px 15px; font-size: 14px; white-space: nowrap; }

    .odp-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }

    .odcf { right: 10px; bottom: 78px; gap: 8px; }
    .odcf__btn { width: 40px; height: 40px; font-size: 16px; }
}

.odl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.odl-card {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.odl-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #eef1f6, #dfe4ec);
    overflow: hidden;
}

.odl-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.odl-card:hover .odl-card__thumb img { transform: scale(1.05); }

.odl-card__ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #b6bfcc;
}

.odl-card__flag {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 2px 9px;
    border-radius: 6px;
    background: rgba(15, 20, 30, .62);
    color: #fff;
    font-size: 11.5px;
}

.odl-card__body { padding: 11px 14px 13px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }

.odl-card__body h3 { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 500; }

.odl-card__body h3 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.odl-card__body h3 a:hover { color: var(--od-primary, #f04494); }

.odl-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    margin-top: auto;
}

.odl-card__price { color: #e8506a; font-weight: 600; }
.odl-card__free { color: #12b76a; font-weight: 600; }

.odl-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(40, 46, 60, .08);
    font-size: 13px;
    color: var(--od-muted, #7b8494);
}

.odl-stats strong { color: inherit; font-size: 15px; }

/* 首页底部的友情链接 */
.odl-friends {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(40, 46, 60, .08);
}

.odl-friends__title { margin: 0 0 12px; font-size: 15px; font-weight: 600; }

.odl-friends__list { display: flex; flex-wrap: wrap; gap: 10px; }

.odl-friends__item {
    padding: 7px 14px;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: #5f6875;
    text-decoration: none;
}

.odl-friends__item:hover { color: #1677ff; border-color: #cfe0ff; }

[data-theme="dark"] .odl-friends { border-top-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odl-friends__item { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #9aa4b2; }

/* 热榜页的平台切换 */
.od-hot-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.od-hot-tab {
    padding: 7px 16px;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: #5f6875;
    text-decoration: none;
}

.od-hot-tab:hover { color: var(--od-primary, #f04494); border-color: rgba(240, 68, 148, .4); }

.od-hot-tab.is-active {
    background: var(--od-primary, #f04494);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

[data-theme="dark"] .od-hot-tab { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #9aa4b2; }

[data-theme="dark"] .odl-cat,
[data-theme="dark"] .odl-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odl-card__thumb { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .odl-stats { border-top-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odl-search { background: rgba(20, 24, 32, .92); }
[data-theme="dark"] .odl-search__input { color: #e6e9ef; }

@media (max-width: 1000px) {
    .odl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .odl-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .odl-hero { padding: 56px 16px 66px; min-height: 0; }
    .odl-hero h1 { font-size: 23px; }
    .odl-grid { grid-template-columns: 1fr; }
    .odl-cats { grid-template-columns: 1fr; margin-top: -24px; }
    .odl-promo__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .odl-latest__head { flex-direction: column; align-items: flex-start; }
}

[data-theme="dark"] .od-card-list__item { background: rgba(255, 255, 255, .05); }

/* ── 文章页 ───────────────────────────────────── */
.od-article {
    background: var(--od-card, #fff);
    border-radius: var(--od-radius, 8px);
    padding: 26px 28px 30px;
    box-shadow: var(--od-shadow, 0 12px 34px rgba(33, 40, 66, .08));
}

.od-article__head { margin-bottom: 22px; }
.od-article__head h1 { margin: 0 0 12px; font-size: 25px; line-height: 1.4; letter-spacing: -.02em; }

.od-article__excerpt {
    margin: 16px 0 0;
    padding: 12px 16px;
    background: rgba(120, 130, 150, .07);
    border-left: 3px solid var(--od-primary, #f04494);
    border-radius: 4px;
    color: var(--od-muted, #5f6875);
    font-size: 13.5px;
    line-height: 1.7;
}

.od-article .article-content {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--od-text, #2f3640);
    word-break: break-word;
}

.od-article__tags { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }

.flag-inline {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
    font-size: 11.5px;
}

.od-back { margin: 18px 0 0; font-size: 13.5px; }
.od-back a { color: var(--od-primary, #f04494); }

/* ── 版权声明 ─────────────────────────────────── */
.od-copyright {
    margin-top: 26px;
    padding: 14px 16px;
    border-radius: var(--od-radius, 8px);
    background: rgba(120, 130, 150, .08);
    border-left: 3px solid var(--od-primary, #f04494);
    color: var(--od-muted, #5f6875);
    font-size: 13px;
    line-height: 1.75;
}

.od-copyright i { color: var(--od-primary, #f04494); margin-right: 6px; }

/* ── 点赞 / 收藏 / 分享 ───────────────────────── */
.od-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
}

.od-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .1));
    background: #fff;
    color: var(--od-text, #2f3640);
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.od-action:hover { border-color: var(--od-primary, #f04494); color: var(--od-primary, #f04494); }
.od-action em { font-style: normal; font-size: 12px; opacity: .7; }
.od-action.is-done { background: var(--od-primary, #f04494); border-color: var(--od-primary, #f04494); color: #fff; }
.od-action.is-done em { opacity: .9; }
.od-action[disabled] { opacity: .6; cursor: default; }

.od-share { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }

/* ── 相关推荐 ─────────────────────────────────── */
.od-related { margin-top: 30px; }

.od-related__title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    padding-left: 11px;
    border-left: 3px solid var(--od-primary, #f04494);
}

.od-post-list--related { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

[data-theme="dark"] .od-copyright { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .od-action { background: rgba(255, 255, 255, .05); color: #e6e9ef; }

/* ── 评论区 ───────────────────────────────────── */
.od-comments {
    margin-top: 34px;
    background: var(--od-card, #fff);
    border-radius: var(--od-radius, 8px);
    padding: 24px 26px;
    box-shadow: var(--od-shadow, 0 12px 34px rgba(33, 40, 66, .08));
}

.od-comments__title {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    padding-left: 11px;
    border-left: 3px solid var(--od-primary, #f04494);
}

.od-comments__title em { font-style: normal; font-size: 12.5px; color: var(--od-muted, #5f6875); }

.od-comments__flash {
    margin-bottom: 14px;
    padding: 9px 13px;
    border-radius: 6px;
    font-size: 13px;
}

.od-comments__flash--ok { background: rgba(53, 201, 135, .12); color: #1a8b5c; }
.od-comments__flash--err { background: rgba(255, 95, 109, .12); color: #c62b38; }

.od-comments__empty,
.od-comments__need-login {
    color: var(--od-muted, #5f6875);
    font-size: 13.5px;
    padding: 10px 0;
}

.od-comment-list { list-style: none; margin: 0 0 8px; padding: 0; }

.od-comment {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--od-line, rgba(40, 46, 60, .1));
}

.od-comment:last-child { border-bottom: 0; }

.od-comment__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.od-comment__body { flex: 1 1 auto; min-width: 0; }

.od-comment__head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.od-comment__head strong { font-size: 13.5px; }
.od-comment__head time { font-size: 11.5px; color: var(--od-muted, #5f6875); }

.od-comment__content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--od-text, #2f3640);
    word-break: break-word;
}

/* ── 评论表单 ─────────────────────────────────── */
.od-comment-form { margin-top: 20px; }

.od-comment-form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.od-comment-form__input,
.od-comment-form__textarea {
    width: 100%;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .15));
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-family: inherit;
    background: #fff;
    color: var(--od-text, #2f3640);
}

.od-comment-form__textarea { resize: vertical; line-height: 1.75; }

.od-comment-form__input:focus,
.od-comment-form__textarea:focus {
    outline: 2px solid rgba(240, 68, 148, .18);
    border-color: var(--od-primary, #f04494);
}

.od-comment-form__foot { margin-top: 12px; }

.od-comment-form__submit {
    height: 38px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
}

.od-comment-form__submit:hover { opacity: .92; }

[data-theme="dark"] .od-comments { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .od-comment-form__input,
[data-theme="dark"] .od-comment-form__textarea {
    background: rgba(255, 255, 255, .06);
    color: #e6e9ef;
    border-color: rgba(255, 255, 255, .14);
}

/* ── 面包屑 ───────────────────────────────────── */
.od-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--od-muted, #5f6875);
    margin: 0 0 14px;
}

.od-crumbs a { color: var(--od-muted, #5f6875); }
.od-crumbs a:hover { color: var(--od-primary, #f04494); }
.od-crumbs__current { color: var(--od-text, #2f3640); }
.od-crumbs__sep { opacity: .45; }

/* ── 悬浮按钮 ─────────────────────────────────── */
.od-floats {
    position: fixed;
    bottom: 110px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity .2s ease, transform .2s ease;
}

.od-floats--right { right: 18px; }
.od-floats--left { left: 18px; }

.od-float {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--od-primary, #f04494);
    box-shadow: 0 6px 18px rgba(33, 40, 66, .16);
    transition: transform .15s ease;
}

.od-float:hover { transform: translateY(-2px); }
.od-float span { display: none; }

.od-floats.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ── 移动端底部 Tabbar ────────────────────────── */
.od-tabbar { display: none; }

@media (max-width: 768px) {
    .od-tabbar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        background: #fff;
        border-top: 1px solid var(--od-line, rgba(40, 46, 60, .1));
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    }

    .od-tabbar__item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 4px 0;
        font-size: 11px;
        color: var(--od-muted, #5f6875);
    }

    .od-tabbar__item i { font-size: 18px; }
    .od-tabbar__item:hover { color: var(--od-primary, #f04494); }
    .od-tabbar--icons .od-tabbar__item span { display: none; }

    body { padding-bottom: 60px; }
}

/* ── 公告弹窗 ─────────────────────────────────── */
.od-notice {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.od-notice[hidden] { display: none; }

.od-notice__mask {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, .5);
    backdrop-filter: blur(2px);
}

.od-notice__dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 14px;
    padding: 26px 26px 20px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .28);
}

.od-notice__x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a92a1;
    cursor: pointer;
}

.od-notice__x:hover { background: #f1f3f6; }

.od-notice__head h2 { margin: 8px 0 12px; font-size: 18px; }

.od-notice__kicker {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
    font-size: 11px;
}

.od-notice__body {
    font-size: 14px;
    line-height: 1.85;
    color: var(--od-text, #2f3640);
    max-height: 48vh;
    overflow: auto;
}

.od-notice__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

.od-notice__btn {
    flex: 1 1 0;
    min-width: 120px;
    height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .15));
    background: #fff;
    color: var(--od-text, #2f3640);
    font-size: 12.5px;
    font-family: inherit;
    line-height: 36px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.od-notice__btn--ghost { background: transparent; }
.od-notice__btn--primary {
    background: var(--od-primary, #f04494);
    border-color: var(--od-primary, #f04494);
    color: #fff;
}

[data-theme="dark"] .od-notice__dialog { background: #171c25; color: #e6e9ef; }
[data-theme="dark"] .od-notice__btn { background: rgba(255, 255, 255, .06); color: #e6e9ef; }

/*
 * 站内搜索弹层。
 *
 * 主题里输入框 46px、按钮 50px，且对话框底部没有留白，
 * 结果按钮比输入框高出一截、下边缘直接被卡片裁掉。
 * 这里把两者拉齐，并补上底部间距。
 */
.search-modal-dialog { padding-bottom: 30px; }
.search-modal-form { align-items: stretch; }

.search-modal-input-wrap,
.search-modal-submit {
    height: 46px;
    box-sizing: border-box;
}

.search-modal-submit { padding: 0 24px; font-size: 14.5px; }

@media (max-width: 560px) {
    .search-modal-dialog { padding-bottom: 22px; }
    .search-modal-form { grid-template-columns: 1fr; }
    .search-modal-submit { width: 100%; }
}

/* ── 付费购买框 ───────────────────────────────── */
.od-buy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 22px 0;
    padding: 18px 20px;
    border-radius: var(--od-radius, 8px);
    background: rgba(255, 184, 77, .1);
    border: 1px dashed rgba(240, 68, 148, .35);
}

.od-buy__price { display: flex; align-items: baseline; gap: 8px; }
.od-buy__label { font-size: 12.5px; color: var(--od-muted, #5f6875); }

.od-buy__price strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--od-primary, #f04494);
    letter-spacing: -.02em;
}

.od-buy__price del { font-size: 13px; color: var(--od-muted, #5f6875); }
.od-buy form { margin: 0; margin-left: auto; }

.od-buy__btn {
    height: 40px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.od-buy__btn:hover { opacity: .93; }

.od-buy__hint {
    flex: 1 1 100%;
    margin: 0;
    font-size: 12px;
    color: var(--od-muted, #5f6875);
}

/* 未购买时的锁定区 */
.od-locked {
    text-align: center;
    padding: 46px 20px;
    border-radius: var(--od-radius, 8px);
    background: rgba(120, 130, 150, .06);
    color: var(--od-muted, #5f6875);
}

.od-locked i { font-size: 26px; color: var(--od-primary, #f04494); display: block; margin-bottom: 10px; }

/* ── 支付页 ───────────────────────────────────── */
.od-pay {
    background: var(--od-card, #fff);
    border-radius: var(--od-radius, 8px);
    padding: 28px;
    box-shadow: var(--od-shadow, 0 12px 34px rgba(33, 40, 66, .08));
}

.od-pay__head h1 { margin: 0 0 6px; font-size: 21px; }
.od-pay__no { margin: 0 0 20px; font-size: 12.5px; color: var(--od-muted, #5f6875); }
.od-pay__no code { background: rgba(120, 130, 150, .12); padding: 2px 7px; border-radius: 4px; }

.od-pay__kv { margin: 0 0 20px; }
.od-pay__kv > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--od-line, rgba(40, 46, 60, .1));
    font-size: 14px;
}
.od-pay__kv dt { color: var(--od-muted, #5f6875); margin: 0; }
.od-pay__kv dd { margin: 0; text-align: right; }

.od-pay__amount { font-size: 18px; font-weight: 700; color: var(--od-primary, #f04494); }

.od-pay__methods h2,
.od-pay__offline h2 { font-size: 15px; margin: 0 0 14px; }

.od-pay__method {
    display: block;
    padding: 13px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .1));
    font-size: 14px;
    color: var(--od-text, #2f3640);
}

.od-pay__method:hover { border-color: var(--od-primary, #f04494); color: var(--od-primary, #f04494); }

.od-pay__jump { padding: 18px; border-radius: 8px; background: rgba(79, 124, 255, .08); font-size: 14px; }
.od-pay__fallback { margin: 8px 0 0; font-size: 12.5px; color: var(--od-muted, #5f6875); }

.od-pay__offline { padding: 18px; border-radius: 8px; background: rgba(255, 184, 77, .1); font-size: 14px; }

.od-pay__ok { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 8px; background: rgba(53, 201, 135, .12); }
.od-pay__ok i { font-size: 24px; color: #1a8b5c; }
.od-pay__ok strong { display: block; margin-bottom: 4px; }
.od-pay__ok p { margin: 0; font-size: 13px; color: var(--od-muted, #5f6875); }

.od-pay__foot { margin-top: 20px; }

.od-pay__btn {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 13.5px;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .1));
    color: var(--od-text, #2f3640);
}

.od-pay__btn--primary {
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    border: 0;
    color: #fff;
}

.od-pay__empty { padding: 18px; border-radius: 8px; background: rgba(120, 130, 150, .08); font-size: 14px; }
.od-pay__hint { margin: 8px 0 0; font-size: 12.5px; color: var(--od-muted, #5f6875); }

[data-theme="dark"] .od-pay { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .od-locked { background: rgba(255, 255, 255, .04); }

/* ── VIP 页面 ─────────────────────────────────── */
.od-vip {
    background: var(--od-card, #fff);
    border-radius: var(--od-radius, 8px);
    padding: 28px;
    box-shadow: var(--od-shadow, 0 12px 34px rgba(33, 40, 66, .08));
}

.od-vip__head h1 { margin: 0 0 6px; font-size: 22px; }
.od-vip__head p { margin: 0 0 20px; font-size: 13.5px; color: var(--od-muted, #5f6875); }

.od-vip__status {
    padding: 18px;
    border-radius: 8px;
    background: rgba(120, 130, 150, .08);
    margin-bottom: 20px;
}

.od-vip__status p { margin: 10px 0 0; font-size: 13.5px; color: var(--od-muted, #5f6875); }

.od-vip__badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(120, 130, 150, .16);
    color: var(--od-muted, #5f6875);
    font-size: 12.5px;
    font-weight: 600;
}

.od-vip__badge--active {
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
}

.od-vip__plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 6px;
}

.od-vip__plan {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .1));
    text-align: center;
}

.od-vip__plan strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.od-vip__plan span { font-size: 12.5px; color: var(--od-muted, #5f6875); }

.od-vip__redeem { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.od-vip__redeem .od-comment-form__input { flex: 1 1 240px; }

/* 前台里的表格（购买记录） */
.od-pay .odc-table-wrap { overflow-x: auto; }

.od-pay .odc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

.od-pay .odc-table th {
    text-align: left;
    font-size: 12px;
    color: var(--od-muted, #5f6875);
    padding: 10px 12px;
    border-bottom: 1px solid var(--od-line, rgba(40, 46, 60, .1));
    white-space: nowrap;
}

.od-pay .odc-table td { padding: 10px 12px; border-bottom: 1px solid var(--od-line, rgba(40, 46, 60, .1)); }
.od-pay .odc-table tbody tr:last-child td { border-bottom: 0; }
.od-pay .odc-table code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }

[data-theme="dark"] .od-vip { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .od-vip__status { background: rgba(255, 255, 255, .05); }

/* ── 正文里的链接 ─────────────────────────────── */
.article-content a { color: var(--od-primary, #f04494); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { opacity: .85; }

/* ── 外链跳转页 ───────────────────────────────── */
.od-go__url {
    margin: 6px 0 10px;
    word-break: break-all;
    font-size: 13.5px;
}

.od-go__url a { color: var(--od-primary, #f04494); }

/* ── 侧栏广告 ─────────────────────────────────── */
.od-ad {
    display: block;
    padding: 10px 0;
    border-bottom: 1px dashed var(--od-line, rgba(40, 46, 60, .1));
}

.od-ad:last-child { border-bottom: 0; padding-bottom: 0; }

.od-ad__img {
    display: block;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
}

.od-ad__title { display: block; font-size: 13.5px; font-weight: 600; color: var(--od-text, #2f3640); }
.od-ad__desc { display: block; font-size: 12px; color: var(--od-muted, #5f6875); margin-top: 2px; }
.od-ad:hover .od-ad__title { color: var(--od-primary, #f04494); }

/* 投放协议 */
.od-ad-agreement {
    max-height: 220px;
    overflow: auto;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(120, 130, 150, .07);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--od-muted, #5f6875);
}

[data-theme="dark"] .od-ad-agreement { background: rgba(255, 255, 255, .05); }

/* ── 侧栏热榜 ─────────────────────────────────── */
.od-hot-list { list-style: none; margin: 0; padding: 0; counter-reset: hot; }

.od-hot {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 0;
    font-size: 13.5px;
    line-height: 1.5;
}

.od-hot__rank {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 4px;
    background: rgba(120, 130, 150, .15);
    color: var(--od-muted, #5f6875);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.od-hot__rank.is-top {
    background: var(--od-gradient, linear-gradient(135deg, #f04494, #ff7eb2));
    color: #fff;
}

.od-hot__title { color: var(--od-text, #2f3640); }
.od-hot__title:hover { color: var(--od-primary, #f04494); }

/* ── 下载区 ───────────────────────────────────── */
.od-downloads {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: var(--od-radius, 8px);
    background: rgba(79, 124, 255, .07);
    border: 1px solid rgba(79, 124, 255, .18);
}

.od-downloads__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    padding-left: 10px;
    border-left: 3px solid var(--od-primary, #f04494);
}

.od-dl-list { display: flex; flex-direction: column; gap: 10px; }

.od-dl {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--od-line, rgba(40, 46, 60, .1));
    color: var(--od-text, #2f3640);
    font-size: 13.5px;
}

.od-dl:hover { border-color: var(--od-primary, #f04494); }
.od-dl i { color: var(--od-primary, #f04494); font-size: 16px; }
.od-dl__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.od-dl__platform,
.od-dl__pwd {
    font-style: normal;
    font-size: 11.5px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(120, 130, 150, .12);
    color: var(--od-muted, #5f6875);
    flex: 0 0 auto;
}

.od-dl__pwd { background: rgba(240, 68, 148, .12); color: var(--od-primary, #f04494); }

[data-theme="dark"] .od-downloads { background: rgba(79, 124, 255, .1); }
[data-theme="dark"] .od-dl { background: rgba(255, 255, 255, .05); }

/* 深色模式下的浅色块 */
[data-theme="dark"] .od-widget-text,
[data-theme="dark"] .od-page-head p { color: #a8b0bd; }

[data-theme="dark"] .od-empty { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .od-article { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .od-sidebar .widget { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .od-pager__btn { background: rgba(255, 255, 255, .06); color: #e6e9ef; }

@media (max-width: 720px) {
    .od-post-list { grid-template-columns: 1fr; }
    .od-article { padding: 20px 18px 24px; }
    .od-article__head h1 { font-size: 20px; }
}

/* ── 登录 / 注册卡片 ──────────────────────────── */
.od-auth-card { max-width: 460px; margin: 0 auto; }

.od-comment-form__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.od-auth-alt { font-size: 13px; color: var(--od-muted, #5f6875); }
.od-auth-alt:hover { color: var(--od-primary, #f04494); }

/* ── 验证码 ───────────────────────────────────── */
.od-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.od-captcha__q {
    font-size: 15px;
    font-weight: 600;
    color: var(--od-primary, #f04494);
    padding: 7px 14px;
    border-radius: 6px;
    background: rgba(240, 68, 148, .1);
    white-space: nowrap;
    margin: 0;
}

.od-captcha .od-comment-form__input { max-width: 140px; }

/* ── 个人中心 · API 密钥 ───────────────────────────── */
.odak-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.odak-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 10px;
    background: #fafbfc;
    flex-wrap: wrap;
}

.odak-row__label { flex: none; width: 88px; font-size: 12.5px; color: #667085; }

.odak-code {
    flex: 1 1 200px;
    min-width: 0;
    font-size: 12.5px;
    word-break: break-all;
    background: transparent;
    color: #101828;
}

.odak-copy {
    flex: none;
    height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(40, 46, 60, .14);
    border-radius: 8px;
    background: #fff;
    font-size: 12.5px;
    color: #475467;
    cursor: pointer;
}

.odak-copy:hover { border-color: var(--od-primary, #f04494); color: var(--od-primary, #f04494); }

.odak-note { margin: 0 0 16px; font-size: 12.5px; color: #667085; line-height: 1.8; }
.odak-title { margin: 22px 0 10px; font-size: 14px; }

.odak-create { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }

.odak-input {
    flex: 1 1 220px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(40, 46, 60, .14);
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    background: #fff;
    color: inherit;
}

.odak-btn {
    flex: none;
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: var(--od-primary, #f04494);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.odak-table-wrap { overflow-x: auto; }

.odak-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.odak-table th, .odak-table td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(40, 46, 60, .08);
    text-align: left;
    white-space: nowrap;
}
.odak-table th { font-size: 12px; color: #667085; font-weight: 600; }
.odak-key { font-size: 12px; color: #475467; }

.odak-del {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 12.5px;
    color: #d92d20;
    cursor: pointer;
}

.odak-del:hover { text-decoration: underline; }

.odak-empty { font-size: 13px; color: #98a2b3; margin: 0 0 12px; }

.odak-pre {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #101828;
    color: #d1d5db;
    font-size: 12.5px;
    line-height: 1.7;
    overflow-x: auto;
    white-space: pre;
}

[data-theme="dark"] .odak-row { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odak-code { color: #e6e9ef; }
[data-theme="dark"] .odak-copy { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #c3cad6; }
[data-theme="dark"] .odak-input { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #e6e9ef; }
[data-theme="dark"] .odak-table th, [data-theme="dark"] .odak-table td { border-bottom-color: rgba(255, 255, 255, .08); }

/* 页头下方的模型条 */
.odai-models--top {
    padding: 14px 18px;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 14px;
    background: #fff;
}

.odai-models--top h2 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #667085;
    display: flex;
    align-items: center;
    gap: 8px;
}

.odai-models--top h2 em {
    font-style: normal;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(240, 68, 148, .1);
    color: var(--od-primary, #f04494);
}

[data-theme="dark"] .odai-models--top { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }

/* AI 介绍页 · 自定义 HTML 整宽容器 */
.odai-wide {
    width: 100%;
    max-width: 1280px;
    margin: 24px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.odai-wide .odai-custom { margin-bottom: 26px; }

/* 介绍页的正文流：单列、整宽，不再套 content-shell 的窄栏 */
.odai-stack { display: flex; flex-direction: column; gap: 0; }
.odai-stack > .odai-about:first-child { margin-top: 0; }
.odai-stack .odai-about { margin-bottom: 22px; }

/* 三列卡片在整宽下别拉太长 */
.odai-stack .odai-intro,
.odai-stack .odai-steps {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* 正文里的嵌入（iframe / video / 表格）一律占满容器 */
.odai-custom .article-content iframe,
.odai-custom .article-content video,
.odai-custom .article-content embed,
.odai-custom .article-content table {
    width: 100%;
    max-width: 100%;
    display: block;
    border: 0;
}

.odai-custom .article-content img { max-width: 100%; height: auto; }

.odai-custom .article-content > :first-child { margin-top: 0; }
.odai-custom .article-content > :last-child { margin-bottom: 0; }

/* AI 介绍页 */
.odai-custom {
    margin-bottom: 26px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 16px;
}

[data-theme="dark"] .odai-custom { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }

.odai-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.odai-faq details {
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #fafbfc;
}

.odai-faq summary {
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2430;
    list-style: none;
}

.odai-faq summary::-webkit-details-marker { display: none; }
.odai-faq summary::before { content: '＋'; margin-right: 8px; color: var(--od-primary, #f04494); }
.odai-faq details[open] summary::before { content: '－'; }

.odai-faq p { margin: 10px 0 0; font-size: 13px; line-height: 1.85; color: #667085; }

.odai-cta {
    margin-top: 26px;
    padding: 30px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(240, 68, 148, .08), rgba(109, 110, 240, .08));
    border: 1px solid rgba(240, 68, 148, .18);
    text-align: center;
}

.odai-cta h2 { margin: 0 0 8px; font-size: 17px; }
.odai-cta p { margin: 0 0 16px; font-size: 13px; color: #667085; }

[data-theme="dark"] .odai-faq details { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odai-faq summary { color: #e6e9ef; }
[data-theme="dark"] .odai-faq p { color: #9aa4b2; }
[data-theme="dark"] .odai-cta { border-color: rgba(240, 68, 148, .25); }

/* 提示词库 */
.odpr-group { margin-bottom: 26px; }

.odpr-group__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin: 0 0 14px;
}

.odpr-group__title em {
    font-style: normal;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(16, 24, 40, .06);
    color: #667085;
}

.odpr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.odpr-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 14px;
    padding: 16px 18px;
}

.odpr-card__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.odpr-card__head h3 { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 auto; }

.odpr-copy {
    flex: none;
    height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(40, 46, 60, .14);
    border-radius: 7px;
    background: #fff;
    font-size: 12px;
    color: #475467;
    cursor: pointer;
}

.odpr-copy:hover { border-color: var(--od-primary, #f04494); color: var(--od-primary, #f04494); }
.odpr-copy.is-done { border-color: #47cd89; color: #12b76a; }

.odpr-card__body {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fafbfc;
    border: 1px solid rgba(40, 46, 60, .07);
    font-size: 12.5px;
    line-height: 1.8;
    color: #344054;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
    font-family: inherit;
}

.odpr-card__note {
    margin: 10px 0 0;
    font-size: 12px;
    color: #98a2b3;
    line-height: 1.7;
}

[data-theme="dark"] .odpr-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odpr-card__body { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); color: #c3cad6; }
[data-theme="dark"] .odpr-copy { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #c3cad6; }
[data-theme="dark"] .odpr-group__title em { background: rgba(255, 255, 255, .08); color: #9aa4b2; }

/* AI 介绍区块 */
.odai-about {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 22px;
}

.odai-about h2 { margin: 0 0 10px; font-size: 15px; }

.odai-about > p {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.9;
    color: #475467;
}

.odai-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.odai-step {
    position: relative;
    background: #fafbfc;
    border: 1px solid rgba(40, 46, 60, .08);
    border-radius: 12px;
    padding: 16px 16px 16px 46px;
}

.odai-step__num {
    position: absolute;
    left: 14px;
    top: 15px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--od-primary, #f04494);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.odai-step strong { display: block; font-size: 13.5px; margin-bottom: 5px; }
.odai-step p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #667085; }

.odai-about__tip {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(240, 68, 148, .06);
    border: 1px solid rgba(240, 68, 148, .18);
    font-size: 12.5px;
    line-height: 1.85;
    color: #475467;
}

[data-theme="dark"] .odai-about { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odai-about > p { color: #b9c2cf; }
[data-theme="dark"] .odai-step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .odai-step p { color: #9aa4b2; }
[data-theme="dark"] .odai-about__tip { background: rgba(240, 68, 148, .1); border-color: rgba(240, 68, 148, .25); color: #c3cad6; }

@media (max-width: 760px) {
    .odai-steps { grid-template-columns: 1fr; }
}

/* AI 介绍与模型列表 */
.odai-intro {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.odai-intro__item {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.odai-intro__item i { font-size: 18px; color: var(--od-primary, #f04494); }
.odai-intro__item strong { font-size: 13.5px; }
.odai-intro__item span { font-size: 12.5px; color: #667085; line-height: 1.7; }

.odai-models { margin-bottom: 22px; }
.odai-models h2 { font-size: 15px; margin: 0 0 12px; }

.odai-models__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.odai-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(40, 46, 60, .12);
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    color: #475467;
}

.odai-chip.is-active {
    border-color: var(--od-primary, #f04494);
    color: var(--od-primary, #f04494);
    font-weight: 600;
}

.odai-chip em {
    font-style: normal;
    font-size: 10.5px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(240, 68, 148, .12);
}

.odai-models__empty { margin: 0; font-size: 12.5px; color: #98a2b3; }

.odai-login { text-align: center; padding: 30px 12px; color: #667085; }
.odai-login i { font-size: 26px; display: block; margin-bottom: 10px; opacity: .6; }
.odai-login p { margin: 0 0 14px; font-size: 13.5px; }

@media (max-width: 760px) {
    .odai-intro { grid-template-columns: 1fr; }
}

[data-theme="dark"] .odai-intro__item { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odai-chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #9aa4b2; }

/* 单独的 AI 助手页面 */
.odai-panel {
    background: #fff;
    border: 1px solid rgba(40, 46, 60, .1);
    border-radius: 16px;
    overflow: hidden;
}

.odai-panel__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(40, 46, 60, .08);
    background: #fafbfc;
}

.odai-panel__body { padding: 18px; }

[data-theme="dark"] .odai-panel { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .odai-panel__bar { background: rgba(255, 255, 255, .04); border-bottom-color: rgba(255, 255, 255, .08); }

/* 用量条与操作按钮 */
.odac-usage { margin-bottom: 18px; }

.odac-usage__bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(16, 24, 40, .08);
    overflow: hidden;
}

.odac-usage__bar > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--od-primary, #f04494);
}

.odac-usage__text { margin: 8px 0 0; font-size: 12.5px; color: #667085; }

.odac-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.odac-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(40, 46, 60, .14);
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.odac-btn--primary {
    background: var(--od-primary, #f04494);
    border-color: transparent;
    color: #fff;
}

.odac-btn:hover { text-decoration: none; }

[data-theme="dark"] .odac-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #c3cad6; }
[data-theme="dark"] .odac-btn--primary { background: var(--od-primary, #f04494); border-color: transparent; color: #fff; }

/* ── 个人中心 · AI 助手 ───────────────────────────── */
.odac-card__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.odac-pill {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(16, 24, 40, .06);
    font-size: 12px;
    color: #475467;
    white-space: nowrap;
}

.odac-linkbtn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 12.5px;
    color: var(--od-primary, #f04494);
    cursor: pointer;
    text-decoration: underline;
}

[data-theme="dark"] .odac-pill { background: rgba(255, 255, 255, .08); color: #9aa4b2; }

.odai-chat { display: flex; flex-direction: column; gap: 12px; }

.odai-log {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
    padding: 4px 2px;
}

.odai-empty {
    text-align: center;
    color: #98a2b3;
    padding: 34px 12px;
}

.odai-empty i { font-size: 30px; display: block; margin-bottom: 10px; opacity: .6; }
.odai-empty p { margin: 0; font-size: 13px; }

.odai-msg { display: flex; }
.odai-msg.is-me { justify-content: flex-end; }

.odai-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.75;
    word-break: break-word;
    white-space: normal;
}

.odai-msg.is-me .odai-bubble {
    background: var(--od-primary, #f04494);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.odai-msg.is-bot .odai-bubble {
    background: #f4f5f8;
    color: #1f2430;
    border-bottom-left-radius: 4px;
}

.odai-msg.is-err .odai-bubble {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.odai-bubble.is-pending { opacity: .55; font-style: italic; }

.odai-form { display: flex; gap: 10px; align-items: flex-end; }

.odai-input {
    flex: 1 1 auto;
    min-height: 46px;
    max-height: 140px;
    padding: 12px 14px;
    border: 1px solid rgba(40, 46, 60, .14);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 13.5px;
    line-height: 1.6;
    resize: vertical;
    color: inherit;
}

.odai-input:focus { outline: none; border-color: var(--od-primary, #f04494); }

.odai-send {
    flex: none;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: var(--od-primary, #f04494);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.odai-send:disabled { opacity: .55; cursor: not-allowed; }

.odai-meta { margin: 0; font-size: 12px; color: #98a2b3; }

.odai-tip {
    margin: 0;
    padding: 16px 18px;
    border: 1px dashed rgba(40, 46, 60, .18);
    border-radius: 12px;
    font-size: 13px;
    color: #667085;
    background: #fafbfc;
}

/* 深色 */
[data-theme="dark"] .odai-msg.is-bot .odai-bubble { background: rgba(255, 255, 255, .07); color: #e6e9ef; }
[data-theme="dark"] .odai-input { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #e6e9ef; }
[data-theme="dark"] .odai-tip { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #9aa4b2; }
[data-theme="dark"] .odai-msg.is-err .odai-bubble { background: rgba(240, 68, 68, .12); color: #ff9b96; border-color: rgba(240, 68, 68, .3); }

@media (max-width: 640px) {
    .odai-bubble { max-width: 88%; }
    .odai-form { flex-direction: column; align-items: stretch; }
    .odai-send { width: 100%; }
}
