/* ============================================================
 * AI活课本 · 「刷真题」模块样式（照搬主站 AI精品阅读 板块）
 * 全部规则限定在 .rd-scope 作用域内：进入 #/reading 时给 <html> 加 .rd-scope，
 * 离开时移除 —— 因此不影响 AI活课本 其它页面。
 * 色彩风格沿用主站（后续可单独调整）。
 * ============================================================ */

/* 作用域内变量（对齐主站设计令牌） */
.rd-scope {
    --primary-color: #ff9f9f;
    --primary-dark: #e97591;
    --text-primary: #443a56;
    --text-regular: #6f6680;
    --text-secondary: #6f6680;
    --border-color: #ece5f3;
    --border-radius: 12px;
    --danger-color: #df6e8d;
    --success-color: #78c7a5;
    --info-color: #8b9eea;
}

/* 承载容器：进入 #/reading 时的内容区 */
.rd-scope #page-reading { padding: 22px 26px 40px; }
@media (max-width: 860px) {
    .rd-scope #page-reading { padding: 14px 12px 32px; }
}

/* toast 兜底（不依赖作用域） */
.hjrd-toast-host { position: fixed; top: 78px; left: 50%; transform: translateX(-50%); z-index: 99998; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.hjrd-toast { padding: 11px 22px; border-radius: 8px; font-size: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.15); background: #f4f4f5; color: #6f6680; border: 1px solid #ece5f3; animation: hjrdToastIn .28s ease-out; max-width: 80vw; }
.hjrd-toast.hjrd-success { background: #f0f9eb; color: #4e9a2e; border-color: #c2e7b0; }
.hjrd-toast.hjrd-error { background: #fef0f0; color: #e04b4b; border-color: #fbc4c4; }
.hjrd-toast.hjrd-info { background: #f4f4f5; color: #6f6680; }
.hjrd-toast.hjrd-warning { background: #fdf6ec; color: #c99a45; border-color: #f3d9a8; }
.hjrd-toast.out { opacity: 0; transform: translateY(-8px); transition: all .3s; }
@keyframes hjrdToastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* 大提示（showBigToast） */
.big-toast { position: fixed; top: 20%; left: 50%; transform: translateX(-50%); z-index: 99999; min-width: 280px; max-width: 420px; padding: 18px 28px; border-radius: 14px; color: #fff; font-size: 17px; font-weight: 600; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,.35); cursor: pointer; line-height: 1.5; }

/* 顶部宣传横幅（参照 #/ear 磨耳朵 hero）：仅入口（分类）页显示。
   版式＝左水彩配图 + 右文案栏（kicker / 主标题 / 说明 / 数据胶囊），
   资源重组自原「AI精品阅读 · 高效学习引擎」宣传图 —— 与该图同一套文案，改成双栏结构。 */
.rd-scope .hjrd-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 16px;
    padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border-color);
    background: linear-gradient(120deg, #fffdf9, #fdeef2);
    box-shadow: 0 8px 26px rgba(31,42,68,.12); }
/* 左图沿用 #/ear 的图文配比（56% / 上限 560px）；画面已裁成同款 2.2:1，故两处横幅等高 */
.rd-scope .hjrd-hero-img { display: block; flex: 0 1 56%; max-width: 560px; min-width: 0;
    height: auto; border-radius: 12px; box-shadow: 0 6px 20px rgba(31,42,68,.10); }
.rd-scope .hjrd-hero-meta { display: flex; flex-direction: column; gap: 12px; justify-content: center;
    align-items: flex-start; flex: 1 1 auto; min-width: 0; padding: 0 2px; }
.rd-scope .hjrd-hero-lead { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 0 1 auto; }
.rd-scope .hjrd-hero-kicker { font-size: 12.5px; font-weight: 800; color: var(--primary-dark);
    letter-spacing: .6px; }
.rd-scope .hjrd-hero-h1 { margin: 0; font-size: 26px; line-height: 1.28; font-weight: 900;
    color: var(--text-primary); letter-spacing: .5px; }
.rd-scope .hjrd-hero-h1::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 3px;
    margin-top: 9px; background: linear-gradient(90deg, #ff9f9f, #8b9eea); }
.rd-scope .hjrd-hero-meta p { margin: 0; color: var(--text-regular); font-size: 14px; line-height: 1.8; max-width: 760px; }
.rd-scope .hjrd-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 auto; }
.rd-scope .hjrd-pill { background: #fff; border: 1px solid var(--border-color); border-radius: 20px;
    padding: 5px 14px; font-size: 12.5px; color: var(--text-regular); white-space: nowrap; }
.rd-scope .hjrd-pill b { color: var(--primary-dark); font-weight: 800; font-size: 14px; margin: 0 2px; }
@media (max-width: 860px) {
    .rd-scope .hjrd-hero { display: block; padding: 12px; border-radius: 12px; margin-bottom: 12px; }
    .rd-scope .hjrd-hero-img { width: 100%; max-width: none; }
    .rd-scope .hjrd-hero-meta { align-items: stretch; margin-top: 14px; }
    .rd-scope .hjrd-hero-lead { flex: 1 1 100%; }
    .rd-scope .hjrd-hero-h1 { font-size: 21px; }
    .rd-scope .hjrd-hero-stats { flex: 1 1 100%; min-width: 0; }
    .rd-scope .hjrd-pill { white-space: normal; }
}

/* ===== generic/page-header ===== */
.rd-scope .page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.rd-scope .page-header-left h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.rd-scope .page-header-left p {
    font-size: 14px;
    color: var(--text-secondary);
}
.rd-scope .page-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== generic/btn ===== */
.rd-scope .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
}
.rd-scope .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.rd-scope .btn-primary {
    background: var(--primary-color);
    color: white;
}
.rd-scope .btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}
.rd-scope .btn-default {
    background: white;
    color: var(--text-regular);
    border: 1px solid var(--border-color);
}
.rd-scope .btn-default:hover:not(:disabled) {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.rd-scope .btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}
.rd-scope .btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 4px 8px;
    font-size: 13px;
    cursor: pointer;
}
.rd-scope .btn-text:hover {
    opacity: 0.8;
}
.rd-scope .btn-text.danger {
    color: var(--danger-color);
}
.rd-scope .stat-cards {}

/* ===== generic/card ===== */
.rd-scope .card {
    background: linear-gradient(180deg, #fffdfb, #fff9f4);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.06), 0 1px 3px rgba(233,117,145,.03);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(233,117,145,0.04);
}
.rd-scope .card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rd-scope .card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
.rd-scope .card-header p {
    font-size: 13px;
    color: var(--text-secondary);
}
.rd-scope .card-body {
    padding: 20px;
}
.rd-scope .filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px}

/* ===== generic/badge ===== */
.rd-scope .badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
.rd-scope .badge-success { background: #f0f9eb; color: #67c23a; }
.rd-scope .badge-warning { background: #fdf6ec; color: #c99a45; }
.rd-scope .badge-danger { background: #fef0f0; color: #f56c6c; }
.rd-scope .badge-info { background: #f4f4f5; color: #6f6680; }
.rd-scope .badge-primary { background: #fef0e6; color: var(--primary-color); }

/* ===== generic/modal ===== */
.rd-scope .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}
.rd-scope .modal-overlay.show {
    display: flex;
    animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; }
    to { opacity: 1; } }
.rd-scope .modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 520px;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; } }
.rd-scope .modal-large {
    width: 680px;
}
.rd-scope .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rd-scope .modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}
.rd-scope .buy-member-reminder {
    flex: 1;
    min-width: 0;
    margin: 0 18px;
    color: #c07a2a;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
.rd-scope .modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.rd-scope .modal-close:hover {
    background: #f7f4fb;
    color: var(--text-primary);
}
.rd-scope .dd-export-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.rd-scope .dd-export-group .btn-sm {
    font-size: 12px;
    padding: 4px 10px;
    white-space: nowrap;
}
.rd-scope .modal-body {
    padding: 24px;
}
.rd-scope .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ===== generic/toast ===== */
.rd-scope .toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    animation: toastSlide 0.3s;
}
@keyframes toastSlide { from { transform: translate(-50%, -20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; } }
.rd-scope .toast.success { background: #f0f9eb; color: #67c23a; border: 1px solid #c2e7b0; }
.rd-scope .toast.error { background: #fef0f0; color: #f56c6c; border: 1px solid #fbc4c4; }
.rd-scope .toast.info { background: #f4f4f5; color: #6f6680; border: 1px solid #ece5f3; }
.rd-scope .action-btns {
    display: flex;
    gap: 4px}

/* ===== generic/btn-extra ===== */
.rd-scope .btn-success { background: #67c23a; color: white; border-color: #67c23a; }
.rd-scope .btn-success:hover { background: #85ce61; border-color: #85ce61; }
.rd-scope .btn-danger { background: #f56c6c; color: white; border-color: #f56c6c; }
.rd-scope .btn-danger:hover { background: #f78989; border-color: #f78989; }

/* ===== generic/btn-xs ===== */
.rd-scope .btn-xs { padding: 2px 8px; font-size: 11px; border-radius: 4px; }

/* ===== generic/proofread ===== */
.rd-scope .proofread-badge {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 2px 8px; border-radius: 4px; font-size: 12px;
    font-weight: 500; white-space: nowrap; cursor: default;
    line-height: 1.5;
}
.rd-scope .proofread-yes {
    background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9;
}
.rd-scope .proofread-no {
    background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb;
}

/* ===== rd/core ===== */
.rd-scope .rd-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rd-scope .rd-search { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 220px; }
.rd-scope .rd-search input {
    flex: 1; padding: 6px 10px; font-size: 13px; border: 1px solid #ece5f3;
    border-radius: 6px; outline: none; min-width: 120px;
}
.rd-scope .rd-search input:focus { border-color: #e97591; }
.rd-scope .rd-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rd-scope .rd-cat-card {
    background: linear-gradient(180deg, #fffdfb, #fff8f2); border-radius: 12px; padding: 18px 16px; cursor: pointer;
    border: 1px solid rgba(233,117,145,0.06); transition: box-shadow .2s, transform .2s, border-color .2s;
    position: relative; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.rd-scope .rd-cat-card:hover { box-shadow: 0 6px 20px rgba(233,117,145,.15); transform: translateY(-2px); border-color: #ffe4ea; }
.rd-scope .rd-cat-tag {
    display: inline-block; background: #c04a6c; color: #fff; font-size: 11px;
    padding: 2px 8px; border-radius: 10px; margin-bottom: 10px;
}
.rd-scope .rd-cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rd-scope .rd-cat-top .rd-cat-tag { margin-bottom: 0; }
.rd-scope .rd-cat-ico {
    width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 5px 14px rgba(233,117,145,.24), inset 0 1px 0 rgba(255,255,255,.4);
    transition: transform .2s, box-shadow .2s;
}
.rd-scope .rd-cat-ico svg { width: 25px; height: 25px; display: block; }
.rd-scope .rd-cat-ico--primary { background: linear-gradient(135deg, #ffb95e, #ff8a3d); box-shadow: 0 5px 14px rgba(255,138,61,.28), inset 0 1px 0 rgba(255,255,255,.45); }
.rd-scope .rd-cat-ico--junior  { background: linear-gradient(135deg, #ff9db4, #e97591); }
.rd-scope .rd-cat-ico--gaokao  { background: linear-gradient(135deg, #a98bf0, #7b5cd6); box-shadow: 0 5px 14px rgba(123,92,214,.28), inset 0 1px 0 rgba(255,255,255,.45); }
.rd-scope .rd-cat-ico--cet     { background: linear-gradient(135deg, #b9b0c8, #8e839f); box-shadow: 0 4px 10px rgba(120,110,140,.2), inset 0 1px 0 rgba(255,255,255,.3); }
.rd-scope .rd-cat-card:hover .rd-cat-ico { transform: translateY(-1px) scale(1.04); }
.rd-scope .rd-cat-dev .rd-cat-card .rd-cat-ico, .rd-scope .rd-cat-dev .rd-cat-ico { filter: saturate(.85); }
.rd-scope .rd-cat-name { font-size: 18px; font-weight: 700; color: #443a56; }
.rd-scope .rd-cat-code { font-size: 12px; color: #6f6680; margin-top: 4px; }
.rd-scope .rd-cat-stat { font-size: 12px; color: #6f6680; margin-top: 6px; }
.rd-scope .rd-cat-divider { height: 1px; background: rgba(233,117,145,0.06); margin: 12px 0 8px; }
.rd-scope .rd-cat-enter { color: #e97591; font-size: 13px; font-weight: 600; }
.rd-scope .rd-cat-dev {
    background: linear-gradient(180deg, #f8f5fc, #f2eef7);
    border: 1px dashed #a99fb8;
    cursor: default;
    box-shadow: none;
    opacity: 0.85;
}
.rd-scope .rd-cat-dev:hover { transform: none; box-shadow: none; border-color: #a99fb8; }
.rd-scope .rd-cat-dev .rd-cat-name { color: #6f6680; }
.rd-scope .rd-cat-dev .rd-cat-code { color: #a99fb8; }
.rd-scope .rd-share-overlay { position:fixed; inset:0; z-index:3200; background:rgba(42,34,57,.58); display:flex; align-items:center; justify-content:center; padding:20px; }
.rd-scope .rd-share-modal { position:relative; width:min(440px,100%); background:#fff; border-radius:18px; padding:26px 26px 22px; text-align:center; box-shadow:0 18px 60px rgba(42,34,57,.28); }
.rd-scope .rd-share-close { position:absolute; right:13px; top:8px; border:0; background:transparent; color:#6f6680; font-size:28px; cursor:pointer; }
.rd-scope .rd-share-title { font-size:20px; font-weight:700; color:#443a56; }
.rd-scope .rd-share-sub { margin-top:7px; color:#6f6680; font-size:13px; }
.rd-scope .rd-share-qr { width:220px; height:220px; margin:18px auto 12px; display:flex; justify-content:center; align-items:center; background:#fff; border:10px solid #fff; box-shadow:0 0 0 1px #ece5f3, 0 5px 16px rgba(155,123,190,.12); border-radius:10px; }
.rd-scope .rd-share-qr img { width:200px; height:200px; display:block; }
.rd-scope .rd-share-expire { font-size:12px; color:#c28a22; margin-bottom:12px; }
.rd-scope .rd-share-url-row { display:flex; gap:6px; }
.rd-scope .rd-share-url-row input { flex:1; min-width:0; border:1px solid #ece5f3; border-radius:7px; padding:8px; font-size:11px; color:#6f6680; background:#fbfaff; }
.rd-scope .rd-share-actions { display:flex; justify-content:center; gap:8px; margin-top:16px; }
.rd-scope .rd-share-tip { font-size:11px; color:#9a92a8; line-height:1.6; margin-top:14px; text-align:left; background:#faf8fd; padding:9px 11px; border-radius:8px; }
.rd-scope .rd-inline-share { display:flex; align-items:center; gap:18px; margin:18px 0; padding:16px 18px; border:1px solid #f0e2e8; border-radius:14px; background:linear-gradient(105deg,#fff8f2,#fff1f4); box-shadow:0 4px 14px rgba(155,123,190,.06); }
.rd-scope .rd-inline-share-copy { display:flex; flex-direction:column; gap:5px; min-width:0; color:#443a56; }
.rd-scope .rd-read-head-with-qr { display:flex; align-items:center; gap:14px; }
.rd-scope .rd-read-head-copy { min-width:0; flex:1; }
.rd-scope .rd-read-title-qr { width:112px; height:112px; flex:0 0 112px; padding:5px; border:1px solid #f0dfe6; background:#fff; border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#6f6680; font-size:11px; }
.rd-scope .rd-read-title-qr img { width:100px; height:100px; display:block; }
.rd-scope .rd-title-qr-code { width:100px; height:100px; display:flex; align-items:center; justify-content:center; }
.rd-scope .rd-title-qr-code img { width:100px; height:100px; display:block; }
.rd-scope .rd-title-qr-tip { display:block; color:#c28a22; font-size:11px; line-height:1.2; margin-top:3px; }
.rd-scope .rd-inline-qr-loading { font-size:11px; color:#c28a22; }
.rd-scope .rd-inline-qr-error { font-size:11px; color:#c45c70; }
.rd-scope .rd-inline-qr-retry { font-size:10px; color:#6f6680; margin-top:3px; }
.rd-scope .rd-read-title-qr .rd-inline-share-copy, .rd-scope .rd-read-title-qr .rd-inline-share-loading, .rd-scope .rd-read-title-qr .rd-inline-share-error { display:none; }
.rd-scope .rd-inline-share-copy strong { font-size:15px; }
.rd-scope .rd-inline-share-copy span { color:#6f6680; font-size:12px; }
.rd-scope .rd-inline-share-copy small { color:#c28a22; font-size:11px; }
.rd-scope .rd-inline-share-qr { width:132px; height:132px; padding:6px; flex:0 0 132px; background:#fff; border:1px solid #ece5f3; border-radius:8px; display:flex; align-items:center; justify-content:center; }
.rd-scope .rd-inline-share-qr img { width:118px; height:118px; display:block; }
.rd-scope .rd-inline-share-loading, .rd-scope .rd-inline-share-error { color:#6f6680; font-size:12px; padding:4px; }
.rd-scope .rd-inline-share-error { color:#c45c70; }
@media (max-width: 600px) {
  .rd-scope .rd-inline-share { align-items:flex-start; gap:12px; }
  .rd-scope .rd-inline-share-qr { order:-1; }
  .rd-scope .rd-read-head-with-qr { align-items:flex-start; gap:9px; }
  .rd-scope .rd-read-title-qr { width:82px; height:82px; flex-basis:82px; }
  .rd-scope .rd-read-title-qr img { width:72px; height:72px; }
}
.rd-scope .rd-art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rd-scope .rd-art-card {
    background: linear-gradient(180deg, #fffdfb, #fff8f2); border-radius: 12px; padding: 16px; border: 1px solid rgba(233,117,145,0.06);
    position: relative; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.rd-scope .rd-art-card:hover { box-shadow: 0 6px 20px rgba(233,117,145,.15); transform: translateY(-2px); }
.rd-scope .rd-art-tag {
    display: inline-block; background: #fff6f9; color: #e97591; font-size: 11px;
    padding: 2px 8px; border-radius: 10px; margin-bottom: 8px; align-self: flex-start;
}
.rd-scope .rd-art-title { font-size: 15px; font-weight: 700; color: #443a56; line-height: 1.4; }
.rd-scope .rd-art-source { font-size: 12px; color: #6f6680; margin-top: 6px; }
.rd-scope .rd-art-meta { font-size: 12px; color: #6f6680; margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rd-scope .rd-art-status { padding: 1px 8px; border-radius: 10px; font-size: 11px; }
.rd-scope .rd-status-none { background: #f2eef7; color: #6f6680; }
.rd-scope .rd-status-learning { background: #fff6f9; color: #e97591; }
.rd-scope .rd-status-done { background: #e6f7f0; color: #3a8a6e; }
.rd-scope .rd-art-enter {
    color: #e97591; font-size: 13px; font-weight: 600; margin-top: 12px;
    padding-top: 10px; border-top: 1px solid rgba(233,117,145,0.06); cursor: pointer;
}
.rd-scope .rd-art-tts-row { display:flex; align-items:center; gap:6px; margin-top:8px; }
.rd-scope .rd-art-tts-row .btn { color:#8b9eea; border-color:#dfe5ff; background:#f7f8ff; }
.rd-scope .rd-art-tts-row .rd-btn-tts-active { color:#9b6b00; border-color:#e9b83f; background:#fff8e1; }
.rd-scope .rd-article-bar {
    display: flex; align-items: center; gap: 8px; padding: 10px 0; margin-bottom: 12px;
    border-bottom: 1px solid #ece5f3; flex-wrap: wrap;
}
.rd-scope .rd-bar-spacer { flex: 1; }
.rd-scope .rd-font-group { display: flex; align-items: center; gap: 4px; }
.rd-scope .rd-font-btn {
    border: 1px solid #ece5f3; background: #fff; color: #6f6680;
    padding: 3px 10px; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.rd-scope .rd-font-btn.active { background: #c04a6c; color: #fff; border-color: #c04a6c; }
.rd-scope .rd-read-wrap { display: flex; flex-direction: column; gap: 16px; }
.rd-scope .rd-read-wrap.rd-side-mode { flex-direction: row; }
.rd-scope .rd-read-article { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #ece5f3; flex: 1; min-width: 0; }
.rd-scope .rd-side-mode .rd-read-article { flex: 1.4; }
.rd-scope .rd-read-head { margin-bottom: 16px; border-bottom: 1px solid #ece5f3; padding-bottom: 12px; }
.rd-scope .rd-read-sub { font-size: 12px; color: #e97591; font-weight: 600; }
.rd-scope .rd-read-title { font-size: 22px; color: #443a56; margin: 6px 0; font-weight: 700; line-height: 1.3; }
.rd-scope .rd-read-source { font-size: 12px; color: #6f6680; }
.rd-scope .rd-read-tip { font-size: 12px; color: #6f6680; margin-bottom: 14px; }
.rd-scope .rd-link { color: #e97591; cursor: pointer; text-decoration: underline; }
.rd-scope .rd-read-body { line-height: 1.9; color: #443a56; }
.rd-scope .rd-para { position: relative; padding: 8px 0 8px 36px; border-bottom: 1px dashed #f2eef7; }
.rd-scope .rd-para:last-child { border-bottom: none; }
.rd-scope .rd-para-num {
    position: absolute; left: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%;
    background: #f2eef7; color: #6f6680; font-size: 12px; display: flex; align-items: center;
    justify-content: center;
}
.rd-scope .rd-para-text p { margin: 0; }
.rd-scope .rd-trans-btn {
    position: absolute; right: 0; top: 8px; border: 1px solid #ece5f3; background: #fff;
    color: #6f6680; padding: 2px 10px; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.rd-scope .rd-trans-btn.active { color: #e97591; border-color: #e97591; background: #fff6f9; }
.rd-scope .rd-para-trans {
    background: #fff6f9; color: #d2691e; padding: 8px 12px; border-radius: 8px;
    margin-top: 8px; font-size:13px; line-height: 1.7;
}
.rd-scope .rd-word { cursor: pointer; border-radius: 3px; padding: 0 1px; transition: background .15s; }
.rd-scope .rd-word:hover { background: #fff6f9; }
.rd-scope .rd-word-kg { color: #7f92e0; font-weight: 600; }
.rd-scope .rd-word-kg:hover { background: #dbeafe; }
.rd-scope .rd-word-hf { color: #e85d04; font-weight: 600; }
.rd-scope .rd-word-hf:hover { background: #fff0e6; }
.rd-scope .rd-word-hf.rd-word-kg { color: #7f92e0; }
.rd-scope .rd-word-wt { display: inline-block; vertical-align: top; margin: 0 1px; }
.rd-scope .rd-word-wt .rd-word-gloss {
    display: block; font-size: 11px; line-height: 1.3;
    color: #6f6680; font-weight: 400; font-family: 'Microsoft YaHei', sans-serif;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 120px; margin-top: 1px;
}
.rd-scope .rd-word-wt.rd-word-kg .rd-word-gloss { color: #a9b8f2; }
.rd-scope .rd-word-wt.rd-word-hf .rd-word-gloss { color: #f0a060; }
.rd-scope .rd-body-wt { line-height: 2.4; }
.rd-scope .rd-body-wt .rd-para-text p { line-height: 2.4; }
.rd-scope .rd-btn-wt.active {
    background: #c04a6c; border-color: #c04a6c; color: #fff; font-weight: 600;
}
.rd-scope .rd-read-side {
    flex: 1; min-width: 0; max-height: 85vh; overflow-y: auto;
}
.rd-scope .rd-read-wrap:not(.rd-side-mode) .rd-read-side { max-height: none; overflow: visible; }
.rd-scope .rd-quiz-wrap:not(.rd-side-mode) .rd-quiz-article { max-height: none; overflow: visible; }
.rd-scope .rd-quiz-wrap { display: flex; flex-direction: column; gap: 16px; }
.rd-scope .rd-quiz-wrap.rd-side-mode { flex-direction: row; }
.rd-scope .rd-quiz-article {
    background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #ece5f3;
    flex: 1.3; max-height: 80vh; overflow-y: auto; min-width: 0;
}
.rd-scope .rd-quiz-main { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #ece5f3; flex: 1; min-width: 0; }
.rd-scope .rd-side-mode .rd-quiz-main { flex: 1; }
.rd-scope .rd-tabs { display: flex; gap: 24px; border-bottom: 1px solid #ece5f3; margin-bottom: 16px; }
.rd-scope .rd-tab { padding: 8px 0; font-size: 14px; color: #6f6680; cursor: pointer; border-bottom: 2px solid transparent; font-weight: 600; }
.rd-scope .rd-tab.active { color: #e97591; border-bottom-color: #e97591; }
.rd-scope .rd-empty { text-align: center; color: #6f6680; padding: 40px; font-size: 13px; }
.rd-scope .rd-words-list { display: flex; flex-direction: column; gap: 8px; }
.rd-scope .rd-word-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #f7f4fb;
    border-radius: 8px;
}
.rd-scope .rd-word-w { font-weight: 700; color: #443a56; min-width: 100px; }
.rd-scope .rd-word-m { flex: 1; color: #6f6680; font-size: 13px; }
.rd-scope .rd-score-bar {
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: #f7f4fb;
    padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; color: #6f6680;
}
.rd-scope .rd-score-hint { color: #6f6680; font-size: 12px; }
.rd-scope .rd-questions { display: flex; flex-direction: column; gap: 18px; }
.rd-scope .rd-q {
    display: flex; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid #ece5f3;
    background: #fff;
}
.rd-scope .rd-q-ok { border-color: #b7e8c5; background: #f6fff9; }
.rd-scope .rd-q-wrong { border-color: #f5b5b5; background: #fff5f5; }
.rd-scope .rd-q-num {
    width: 28px; height: 28px; border-radius: 50%; background: #c04a6c; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.rd-scope .rd-q-body { flex: 1; min-width: 0; }
.rd-scope .rd-q-stem { font-weight: 600; color: #443a56; margin-bottom: 10px; line-height: 1.5; }
.rd-scope .rd-q-opts { display: flex; flex-direction: column; gap: 6px; }
.rd-scope .rd-opt {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #ece5f3;
    border-radius: 8px; cursor: pointer; background: #fff; transition: background .15s;
}
.rd-scope .rd-opt:hover { background: #faf8fd; }
.rd-scope .rd-opt-radio {
    width: 22px; height: 22px; border-radius: 50%; border: 1px solid #ece5f3; display: flex;
    align-items: center; justify-content: center; font-size: 12px; color: #6f6680; flex-shrink: 0;
}
.rd-scope .rd-opt-selected { border-color: #e97591; background: #fff6f9; }
.rd-scope .rd-opt-selected .rd-opt-radio { background: #c04a6c; color: #fff; border-color: #c04a6c; }
.rd-scope .rd-opt-right { border-color: #67c23a; background: #f0f9eb; }
.rd-scope .rd-opt-right .rd-opt-radio { background: #67c23a; color: #fff; border-color: #67c23a; }
.rd-scope .rd-opt-wrong { border-color: #f56c6c; background: #fef0f0; }
.rd-scope .rd-opt-wrong .rd-opt-radio { background: #f56c6c; color: #fff; border-color: #f56c6c; }
.rd-scope .rd-opt-text { color: #443a56; }
.rd-scope .rd-q-explain { margin-top: 10px; padding: 10px 12px; background: #f7f4fb; border-radius: 8px; font-size:13px; }
.rd-scope .rd-q-ans { color: #443a56; margin-bottom: 4px; }
.rd-scope .rd-q-expl { color: #6f6680; line-height: 1.6; }
.rd-scope .rd-action-bar {
    display: flex; gap: 10px; justify-content: center; margin-top: 20px; padding-top: 16px;
    border-top: 1px solid #ece5f3;
}
.rd-scope .rd-word-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.25); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
}
.rd-scope .rd-word-popup {
    background: #fff; border-radius: 12px; padding: 18px 20px; width: 360px; max-width: 92vw;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.rd-scope .rd-word-pop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rd-scope .rd-word-pop-w { font-size: 20px; font-weight: 700; color: #443a56; }
.rd-scope .rd-word-pop-close { border: none; background: none; font-size: 18px; color: #6f6680; cursor: pointer; }
.rd-scope .rd-word-pop-pron { font-size: 12px; color: #6f6680; margin-bottom: 8px; }
.rd-scope .rd-word-pop-meaning { font-size: 14px; color: #443a56; line-height: 1.6; margin-bottom: 8px; }
.rd-scope .rd-word-pop-bank { font-size: 11px; color: #a99fb8; margin-bottom: 10px; }
.rd-scope .rd-word-pop-actions { display: flex; gap: 8px; }
.rd-scope .btn-xs { padding: 2px 8px; font-size: 11px; border-radius: 4px; }
.rd-scope .rd-filter-group { display: flex; gap: 0; border-radius: 6px; overflow: hidden; border: 1px solid #ece5f3; }
.rd-scope .rd-filter-btn {
    border: none; background: #fff; color: #6f6680; padding: 5px 14px;
    font-size: 13px; cursor: pointer; transition: all .15s; border-right: 1px solid #ece5f3;
}
.rd-scope .rd-filter-btn:last-child { border-right: none; }
.rd-scope .rd-filter-btn:hover { background: #f7f4fb; }
.rd-scope .rd-filter-btn.active { background: #c04a6c; color: #fff; border-color: #c04a6c; }
.rd-scope .rd-filter-btn.rd-filter-done.active { background: #3a8a6e; border-color: #3a8a6e; }
.rd-scope .rd-filter-btn.rd-filter-undone.active { background: #e8534f; border-color: #e8534f; }
.rd-scope .rd-select-group { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-scope .rd-select {
    height: 30px; padding: 0 8px; border: 1px solid #ece5f3; border-radius: 6px;
    background: #fff; color: #6f6680; font-size: 12px; cursor: pointer; transition: all .15s;
    outline: none;
}
.rd-scope .rd-select:hover { border-color: #e97591; }
.rd-scope .rd-select:focus { border-color: #e97591; box-shadow: 0 0 0 2px rgba(233,117,145,.1); }
.rd-scope .rd-art-title-done { color: #3a8a6e; }
.rd-scope .rd-art-title-undone { color: #e8534f; }
.rd-scope .rd-pagination {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 20px 0 4px; flex-wrap: wrap;
}
.rd-scope .rd-page-btn {
    min-width: 32px; height: 32px; border: 1px solid #ece5f3; border-radius: 6px;
    background: #fff; color: #6f6680; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0 10px;
    transition: all .15s;
}
.rd-scope .rd-page-btn:hover:not(:disabled):not(.active) { border-color: #e97591; color: #e97591; }
.rd-scope .rd-page-btn.active { background: #c04a6c; border-color: #c04a6c; color: #fff; font-weight: 600; }
.rd-scope .rd-page-btn:disabled { color: #a99fb8; cursor: not-allowed; background: #f7f4fb; }
.rd-scope .rd-page-ellipsis { color: #6f6680; padding: 0 4px; }
@media print {
  .rd-scope .sidebar, .rd-scope .topbar, .rd-scope .rd-article-bar, .rd-scope .rd-read-tip, .rd-scope .rd-trans-btn, .rd-scope .rd-tabs, .rd-scope .rd-action-bar, .rd-scope .page-header, .rd-scope #rdWordCard { display: none !important; }
  .rd-scope .main-content { margin: 0 !important; }
  .rd-scope .rd-read-article, .rd-scope .rd-quiz-article { border: none; box-shadow: none; }
  .rd-scope .rd-para-num { background: #e0d9ea !important; }
  .rd-scope .rd-read-side { max-height: none !important; overflow: visible !important; }
  .rd-scope .rd-quiz-article { max-height: none !important; overflow: visible !important; }
  .rd-scope .rd-word { color: #443a56 !important; }
  .rd-scope .rd-word-gloss { display: block !important; }
  .rd-scope .rd-btn-wt { display: none !important; }
}
.rd-scope .rd-fs-bar {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px; margin-bottom: 12px;
    background: #fff; border-bottom: 1px solid #ece5f3;
    box-shadow: 0 2px 8px rgba(0,0,0,.04); flex-wrap: wrap;
}
.rd-scope .rd-fs-title { font-size: 16px; font-weight: 700; color: #443a56; }
.rd-scope .rd-fs-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rd-scope .rd-fs-body { display: flex; flex-direction: row; gap: 16px; align-items: flex-start; }
@media (max-width: 1024px) {
  .rd-scope .rd-fs-body { flex-direction: column; }
}
.rd-scope .rd-fs-article {
    background: #fff; border-radius: 12px; padding: 24px;
    border: 1px solid #ece5f3; flex: 1.4; min-width: 0;
}
.rd-scope .rd-fs-quiz {
    background: #fff; border-radius: 12px; padding: 24px;
    border: 1px solid #ece5f3; flex: 1; min-width: 0;
    max-height: 80vh; overflow-y: auto;
}
@media print {
  .rd-scope .rd-fs-bar { display: none !important; }
  .rd-scope .rd-fs-quiz { max-height: none !important; overflow: visible !important; }
}
.rd-scope .rd-editor-form { display: flex; flex-direction: column; gap: 12px; }
.rd-scope .rd-form-row { display: flex; flex-direction: column; gap: 4px; }
.rd-scope .rd-form-row-3 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.rd-scope .rd-form-label { font-size: 13px; font-weight: 600; color: #443a56; }
.rd-scope .rd-form-input {
    border: 1px solid #ece5f3; border-radius: 8px; padding: 8px 12px;
    font-size: 14px; color: #443a56; background: #fff; outline: none; transition: border-color .2s;
}
.rd-scope .rd-form-input:focus { border-color: #e97591; }
.rd-scope .rd-form-textarea {
    border: 1px solid #ece5f3; border-radius: 8px; padding: 10px 12px;
    font-size: 14px; color: #443a56; background: #fff; outline: none;
    line-height: 1.6; font-family: inherit; resize: vertical; transition: border-color .2s;
}
.rd-scope .rd-form-textarea:focus { border-color: #e97591; }
.rd-scope .rd-form-hint {
    font-size: 12px; color: #6f6680; background: #f7f4fb;
    padding: 8px 12px; border-radius: 8px; line-height: 1.6;
}
@media (max-width: 768px) {
  .rd-scope .rd-form-row-3 { grid-template-columns: 1fr; }
}
.rd-scope .rd-art-admin {
    display: flex; gap: 6px; margin-top: 8px; padding-top: 8px;
    border-top: 1px dashed #ece5f3; align-items: center; flex-wrap: wrap;
}
.rd-scope .proofread-badge {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 2px 8px; border-radius: 4px; font-size: 12px;
    font-weight: 500; white-space: nowrap; cursor: default;
    line-height: 1.5;
}
.rd-scope .proofread-yes {
    background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9;
}
.rd-scope .proofread-no {
    background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb;
}
.rd-scope .rd-export-dropdown {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ece5f3;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    overflow: hidden;
    min-width: 180px;
}
.rd-scope .rd-export-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: #443a56;
    cursor: pointer;
    transition: background 0.15s;
}
.rd-scope .rd-export-item:hover {
    background: #fff6f9;
    color: #e97591;
}
.rd-scope .rd-export-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    width: 380px;
    max-width: 90vw;
    overflow: hidden;
}
.rd-scope .rd-export-dialog-mask {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.3);
}
.rd-scope .rd-export-dialog-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #e97591 0%, #ffb3c1 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rd-scope .rd-export-dialog-body {
    padding: 20px;
}
.rd-scope .rd-export-dialog-section {
    margin-bottom: 16px;
}
.rd-scope .rd-export-dialog-label {
    font-size: 13px;
    color: #6f6680;
    margin-bottom: 8px;
    font-weight: 500;
}
.rd-scope .rd-export-dialog-opts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.rd-scope .rd-export-opt-btn {
    padding: 8px 16px;
    border: 1.5px solid #ece5f3;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: #6f6680;
    cursor: pointer;
    transition: all 0.15s;
    flex: 1;
    text-align: center;
    min-width: 80px;
}
.rd-scope .rd-export-opt-btn:hover {
    border-color: #ffb3c1;
    color: #e97591;
}
.rd-scope .rd-export-opt-btn.active {
    border-color: #e97591;
    background: #fff5eb;
    color: #e97591;
    font-weight: 600;
}
.rd-scope .rd-export-dialog-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6f6680;
    cursor: pointer;
    padding: 8px 0;
}
.rd-scope .rd-export-dialog-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #e97591;
    cursor: pointer;
}
.rd-scope .rd-export-dialog-footer {
    padding: 12px 20px;
    border-top: 1px solid #ece5f3;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.rd-scope .rd-export-info {
    font-size: 12px;
    color: #a99fb8;
    margin-top: 12px;
    text-align: center;
}
.rd-scope .rd-prov-checkbox-list {
    display: flex; flex-wrap: wrap; gap: 8px;
    max-height: 200px; overflow-y: auto; padding: 4px;
    border: 1px solid #ece5f3; border-radius: 8px; background: #faf8fd;
}
.rd-scope .rd-prov-checkbox-item {
    display: flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 6px; background: #fff;
    border: 1px solid #ece5f3; font-size: 13px; color: #6f6680; cursor: pointer;
    transition: all .15s; white-space: nowrap;
}
.rd-scope .rd-prov-checkbox-item:hover { border-color: #ffb3c1; }
.rd-scope .rd-prov-checkbox-item input { accent-color: #e97591; cursor: pointer; margin: 0; }
.rd-scope .rd-prov-checkbox-item:has(input:checked) {
    border-color: #e97591; background: #fff5eb; color: #e97591; font-weight: 600;
}
.rd-scope .rd-promo-banner {
    margin-top: 0;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff9f5 0%, #fff6f9 40%, #ffeed9 100%);
    border: 1px solid #ffe4ea;
    box-shadow: 0 2px 12px rgba(233,117,145, 0.08);
}
.rd-scope .rd-promo-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px 16px;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf0 100%);
    color: #443a56;
}
.rd-scope .rd-promo-header-text {
    flex: 1;
}
.rd-scope .rd-promo-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.7);
    padding: 8px 12px;
    border-radius: 8px;
}
.rd-scope .rd-promo-icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}
.rd-scope .rd-promo-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
    color: #443a56;
}
.rd-scope .rd-promo-subtitle {
    font-size: 13px;
    margin: 0;
    color: #6f6680;
    line-height: 1.5;
}
.rd-scope .rd-promo-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 1px;
    background: #ffe4ea;
    padding: 1px;
}
.rd-scope .rd-promo-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 16px;
    background: #fffbf7;
    transition: background 0.2s;
}
.rd-scope .rd-promo-item:hover {
    background: #fff5eb;
}
.rd-scope .rd-promo-item-icon {
    font-size: 24px;
    line-height: 1.4;
    flex-shrink: 0;
}
.rd-scope .rd-promo-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #e97591;
    margin-bottom: 4px;
}
.rd-scope .rd-promo-item-desc {
    font-size: 12px;
    color: #6f6680;
    line-height: 1.5;
}
.rd-scope .rd-promo-stat-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid #ffe4ea;
}
.rd-scope .rd-promo-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.rd-scope .rd-promo-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #e97591;
    line-height: 1;
}
.rd-scope .rd-promo-stat-label {
    font-size: 12px;
    color: #6f6680;
}
.rd-scope .rd-promo-stat-sep {
    width: 1px;
    height: 32px;
    background: #ece5f3;
}
.rd-scope .rd-stats-panel {
    background: linear-gradient(135deg, #fff5eb 0%, #fffaf6 100%);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid #ffe4ea;
}
.rd-scope .rd-stats-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.rd-scope .rd-stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}
.rd-scope .rd-stats-num {
    font-size: 24px;
    font-weight: 700;
    color: #e97591;
    line-height: 1.2;
}
.rd-scope .rd-stats-label {
    font-size: 12px;
    color: #6f6680;
    margin-top: 2px;
}
.rd-scope .rd-stats-bar-wrap {
    flex: 1;
    min-width: 200px;
    height: 8px;
    background: #ffe4ea;
    border-radius: 4px;
    overflow: hidden;
}
.rd-scope .rd-stats-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e97591, #ff9a40);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.rd-scope .rd-stats-bar-text {
    font-size: 12px;
    color: #6f6680;
    margin-top: 4px;
}
.rd-scope .rd-stats-genres {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px dashed #ffe4ea;
}
.rd-scope .rd-stats-genre-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6f6680;
    padding: 4px 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 6px;
}
.rd-scope .rd-stats-genre-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
@media (max-width: 768px) {
  .rd-scope .rd-stats-row { flex-direction: column; gap: 12px; }
  .rd-scope .rd-stats-bar-wrap { width: 100%; }
}
.rd-scope .rd-promo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(90deg, #fff5eb 0%, #ffeed9 50%, #fff5eb 100%);
    font-size: 14px;
    color: #e97591;
    font-weight: 600;
    border-top: 1px solid #ffe4ea;
}
.rd-scope .rd-promo-cta-icon {
    font-size: 18px;
}
@media (max-width: 768px) {
  .rd-scope .rd-promo-features { grid-template-columns: repeat(2, 1fr); }
  .rd-scope .rd-promo-stat-bar { flex-wrap: wrap; gap: 12px; }
  .rd-scope .rd-promo-stat-sep { display: none; }
}

/* ===== rd/timer ===== */
.rd-scope .rd-session-start-btn {
    background: linear-gradient(135deg, #e97591, #3a8a6e);
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(233,117,145, 0.25);
}
.rd-scope .rd-session-start-btn:hover { opacity: 0.9; box-shadow: 0 3px 8px rgba(233,117,145, 0.35); }
.rd-scope .rd-timer-label { color: #c99a45; font-size: 13px; font-weight: 600; padding: 0 4px; white-space: nowrap; }
.rd-scope .rd-timer-display {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 16px; font-weight: 700; color: #f56c6c;
    min-width: 60px; text-align: center;
    background: #fef0f0; padding: 2px 10px; border-radius: 6px;
}
.rd-scope .rd-session-table-wrap { overflow-x: auto; }
.rd-scope .rd-session-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rd-scope .rd-session-table th {
    background: #f7f4fb; color: #6f6680; font-weight: 600;
    padding: 11px 10px; text-align: left; border-bottom: 2px solid #ece5f3;
    white-space: nowrap;
}
.rd-scope .rd-session-table td {
    padding: 11px 10px; border-bottom: 1px solid #ece5f3; color: #443a56; vertical-align: middle;
}
.rd-scope .rd-session-table tbody tr:hover { background: #f7f4fb; }
.rd-scope .rd-del-btn { color: #f56c6c; }
.rd-scope .rd-del-btn:hover { background: #f56c6c; color: #fff; border-color: #f56c6c; }
@media (max-width: 768px) {
  .rd-scope .rd-article-bar { flex-wrap: wrap; gap: 6px; }
  .rd-scope .rd-session-table { font-size: 12px; }
  .rd-scope .rd-session-table th, .rd-scope .rd-session-table td { padding: 8px 6px; }
}
