/* ==========================================================================
   外刊阅读 · 四个子版块
   列表（封面）→ 逐段阅读（原文/译文 + 难词难句）→ 难词汇总 → VIP 逐句精讲
   只做版式，颜色/圆角/阴影全部复用 app.css 的设计令牌。
   ========================================================================== */

.rd-page { --rd-ink: #1C1C1E; --rd-ink-2: #4A4A4F; --rd-quiet: #8A8A8F; --rd-line: rgba(60, 60, 67, .12); }
.rd-page .rd-feature, .rd-page .rd-row, .rd-page .rd-vip, .rd-page .rd-pager a,
.rd-page .rd-crumb a, .rd-page .rd-tool-link, .rd-page .rd-chip, .rd-page .rd-sum-tabs a { color: inherit; }
.rd-page a.button { text-decoration: none; }
.rd-page a.button-primary { color: #fff; }

/* ---------------------------------------------------------------- 列表页 -- */

.rd-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rd-hero-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rd-hero-title h1 { margin: 0; }
.rd-hero-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.rd-hero-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.rd-hero-stats b { color: var(--text); font-size: 16px; font-weight: 700; margin-right: 3px; font-variant-numeric: tabular-nums; }

.rd-feature { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 0; overflow: hidden; padding: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--card-shadow); text-decoration: none; margin-bottom: 22px; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.rd-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rd-feature-cover { position: relative; min-height: 110px; background: #EFE7DC; }
.rd-feature-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-feature-body { padding: 13px 20px 13px; display: flex; flex-direction: column; gap: 3px; justify-content: center; min-width: 0; }
.rd-badge-latest { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 2px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--brand-color); }
.rd-badge-latest::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.rd-feature h2 { margin: 0; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.4; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-feature-en { margin: 0; font-size: 12px; font-style: italic; color: var(--muted); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-feature-digest { display: none; }
.rd-feature-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.rd-feature-foot .rd-go { margin-left: auto; font-weight: 650; color: var(--brand-text); }

.rd-month { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; }
.rd-month h2 { margin: 0; font-size: 15px; letter-spacing: .02em; }
.rd-month .line { flex: 1; height: 1px; background: var(--rd-line); }
.rd-month .count { font-size: 12.5px; color: var(--muted); }

.rd-list { display: flex; flex-direction: column; gap: 10px; }
.rd-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 9px 14px 9px 9px; border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-xs); text-decoration: none; transition: box-shadow .16s var(--ease), transform .16s var(--ease); }
.rd-row:hover { box-shadow: var(--card-shadow); transform: translateY(-1px); }
.rd-row-cover { width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #F1EAE1; }
.rd-row-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-row-main { min-width: 0; }
.rd-row-date { font-size: 11px; letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.rd-row h3 { margin: 2px 0 3px; font-size: 15px; line-height: 1.42; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-row-en { margin: 0; font-size: 11.5px; font-style: italic; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-row-digest { display: none; }
.rd-row-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; padding-right: 4px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.rd-row-meta .rd-go { color: var(--brand-text); font-weight: 650; }
.rd-empty { padding: 54px 24px; text-align: center; border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--shadow-xs); }
.rd-empty p { margin: 0; color: var(--muted); font-size: 14px; }

.rd-pages { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 28px 0 6px; flex-wrap: wrap; font-size: 13px; }
.rd-pages a, .rd-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 11px; border-radius: 9px; text-decoration: none; color: var(--rd-ink-2); background: var(--surface); box-shadow: var(--shadow-xs); }
.rd-pages a:hover { color: var(--brand-text); }
.rd-pages .is-current { background: var(--brand-color); color: #fff; font-weight: 650; box-shadow: none; }
.rd-pages .is-off { opacity: .45; }
.rd-pages .gap { background: none; box-shadow: none; min-width: 14px; padding: 0; }
.rd-pages .rd-page-step { padding: 0 14px; }

/* ---------------------------------------------------------------- 阅读页 -- */

.rd-crumb { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.rd-crumb a { color: var(--muted); text-decoration: none; }
.rd-crumb a:hover { color: var(--brand-text); }
.rd-crumb .sep { opacity: .5; }

.rd-head { margin: 0 0 18px; padding: 0 2px; }
.rd-head-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.rd-head-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; }
.rd-head h1 { margin: 8px 0 6px; font-size: clamp(24px, 3.1vw, 33px); line-height: 1.32; letter-spacing: -.025em; }
.rd-head-en { margin: 0; font-size: 15px; font-style: italic; color: var(--muted); line-height: 1.6; }
.rd-head-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.rd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: var(--fill); font-size: 12px; color: var(--rd-ink-2); }
.rd-chip b { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.rd-chip--brand { background: color-mix(in srgb, var(--brand-color) 14%, transparent); color: var(--brand-text); }

.rd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 26px; align-items: start; }

.rd-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 12px; margin: 0 0 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-xs); position: sticky; top: 62px; z-index: 20; }
.rd-tool-group { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 10px; background: var(--fill); }
.rd-tool { border: 0; background: transparent; color: var(--rd-ink-2); font: inherit; font-size: 12.5px; padding: 5px 11px; border-radius: 8px; cursor: pointer; transition: background .14s ease, color .14s ease; }
.rd-tool:hover { color: var(--text); background: rgba(0, 0, 0, .05); }
.rd-tool[aria-pressed="true"] { background: var(--surface); color: var(--text); font-weight: 650; box-shadow: var(--shadow-xs); }
.rd-tool-label { font-size: 12px; color: var(--muted); margin-left: 2px; }
.rd-tool-spacer { flex: 1; }
.rd-tool-link { font-size: 12.5px; color: var(--brand-text); font-weight: 650; text-decoration: none; padding: 5px 8px; border-radius: 8px; }
.rd-tool-link:hover { background: color-mix(in srgb, var(--brand-color) 12%, transparent); }

.rd-body { font-size: 17px; }
.rd-para { margin: 0 0 6px; padding: 4px 0 4px 18px; position: relative; border-left: 2px solid transparent; transition: border-color .2s ease; }
.rd-para::before { content: attr(data-no); position: absolute; left: 2px; top: 8px; font-size: 10.5px; font-weight: 700; color: var(--muted); opacity: .65; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.rd-para.is-current { border-left-color: color-mix(in srgb, var(--brand-color) 55%, transparent); }
.rd-para-en { margin: 0; font-family: var(--font-text); font-size: 1em; line-height: 1.92; color: var(--rd-ink); letter-spacing: .002em; white-space: normal; text-align: justify; text-align-last: start; }
.rd-para-zh { margin: 10px 0 0; font-size: .82em; line-height: 1.95; color: #6B6B70; }
.rd-para + .rd-para { margin-top: 26px; }

.rd-word { cursor: pointer; border-radius: 2px; padding: 0; color: inherit; font-weight: 550; background: transparent; border-bottom: 2px solid color-mix(in srgb, var(--brand-color) 38%, transparent); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.rd-word:hover, .rd-word.is-active { background: color-mix(in srgb, var(--brand-color) 20%, transparent); border-bottom-color: var(--brand-color); color: var(--brand-text); }
.rd-word:focus-visible { outline: 2px solid var(--brand-color); outline-offset: 2px; }
.rd-sent { cursor: pointer; border-radius: 4px; padding: 1px 0; background: transparent; color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; border-bottom: 1px dashed color-mix(in srgb, var(--brand-color) 70%, transparent); transition: background .15s ease; }
.rd-sent:hover, .rd-sent.is-active { background: color-mix(in srgb, var(--brand-color) 15%, transparent); }

.rd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0 0; }
.rd-pager a, .rd-pager span { display: block; padding: 13px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-xs); text-decoration: none; font-size: 13.5px; line-height: 1.5; }
.rd-pager a:hover { box-shadow: var(--card-shadow); }
.rd-pager small { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }

/* 侧栏 */
.rd-side { position: sticky; top: 62px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 78px); overflow-y: auto; padding: 0 2px 6px; scrollbar-width: thin; }
/* 侧栏整体可滚动，每张卡片保持自身高度，不被 flex 压缩。 */
.rd-side > * { flex: 0 0 auto; }
.rd-card { border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xs); padding: 15px 16px; }
.rd-mobile-only { display: none; }
@media (max-width: 900px) { .rd-mobile-only { display: block; margin-bottom: 14px; } }
.rd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.rd-card-head h2, .rd-card-head h3 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--brand-text); text-transform: uppercase; }
.rd-card-head .count { font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.rd-digest p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--rd-ink-2); }

/* 释义现在在正文旁浮窗显示，侧栏这张卡只留操作提示，高度跟着内容走。 */
.rd-lookup { border-radius: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--brand-color) 12%, #fff), #fff); box-shadow: var(--shadow-xs); padding: 14px 16px; }
.rd-lookup-hint { font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.rd-lookup-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.rd-lookup-head strong { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.rd-lookup-phon { font-size: 12px; color: var(--muted); font-style: italic; }
.rd-lookup-tag { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .05); color: var(--rd-ink-2); }
.rd-lookup-body { font-size: 13px; line-height: 1.8; color: var(--rd-ink-2); }
.rd-lookup-body p { margin: 0; }
.rd-lookup-cn { color: var(--text); }
.rd-lookup-en { margin-top: 6px !important; padding-top: 6px; border-top: 1px dashed var(--rd-line); font-size: 12px; color: var(--muted); line-height: 1.7; }
.rd-lookup-forms { margin-top: 6px !important; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.rd-lookup-forms span { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--fill); color: var(--rd-ink-2); }
.rd-lookup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rd-line); }
.rd-lookup-actions button { font: inherit; font-size: 12px; padding: 6px 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--rd-ink-2); cursor: pointer; }
.rd-lookup-actions button:hover { border-color: var(--brand-color); color: var(--brand-text); }
.rd-lookup-actions button:disabled { opacity: .65; cursor: default; }
.rd-lookup-save.is-saved { border-color: color-mix(in srgb, var(--brand-color) 40%, #fff); color: var(--brand-text); background: color-mix(in srgb, var(--brand-color) 8%, #fff); }
.rd-lookup-ai { border-color: color-mix(in srgb, var(--brand-color) 45%, #fff) !important; background: color-mix(in srgb, var(--brand-color) 8%, #fff) !important; color: var(--brand-text) !important; font-weight: 600; }
.rd-lookup-tag.is-miss { background: #FDF0E7; color: #9A5B23; }
.rd-lookup-tag.is-form { font-weight: 500; }
.rd-lookup-miss { font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.rd-lookup-ai-note { margin: 8px 0 0; font-size: 10.5px; color: var(--muted); }
.rd-lookup-disabled { font-size: 12px; color: var(--muted); }
.rd-lookup-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rd-line); font-size: 12.5px; line-height: 1.8; color: var(--rd-ink-2); }
.rd-lookup-note b { display: block; font-size: 11px; letter-spacing: .1em; color: var(--brand-text); margin-bottom: 4px; }
.rd-lookup-close { display: none; }

.rd-side-list { display: flex; flex-direction: column; gap: 1px; max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.rd-side-word { display: flex; align-items: baseline; gap: 7px; width: 100%; padding: 6px 4px; border: 0; border-radius: 7px; background: transparent; text-align: left; font: inherit; cursor: pointer; flex-wrap: wrap; }
.rd-side-word:hover { background: var(--fill); }
.rd-side-word strong { font-size: 13px; font-weight: 650; color: var(--text); }
.rd-side-word span { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-side-word .rd-side-en { flex: 1 0 100%; margin-left: 11px; font-size: 11px; line-height: 1.5; color: var(--muted); opacity: .85; font-style: normal; }
.rd-side-word .lvl { flex: 0 0 auto; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-color); opacity: .8; }
/* 难度分级：高阶（3）品牌色带光晕，进阶（2）琥珀色，基础（其余）中性灰。 */
.rd-side-word .lvl[data-level="3"] { width: 6px; height: 6px; background: var(--brand-color); opacity: 1; box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .16); }
.rd-side-word .lvl[data-level="2"] { width: 6px; height: 6px; background: #E8A33D; opacity: 1; }
.rd-side-word .lvl[data-level="1"],
.rd-side-word .lvl[data-level="0"] { width: 4px; height: 4px; background: var(--muted); opacity: .45; }
.rd-side-word[data-level="3"] strong { color: var(--text); }
.rd-side-word[data-level="2"] strong { color: #8A5A16; }
.rd-side-note { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }

.rd-vip { display: block; padding: 15px 16px; border-radius: 16px; text-decoration: none; background: linear-gradient(135deg, #2A2118, #44332A); color: #fff; box-shadow: var(--shadow-sm); }
.rd-vip .kicker { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; letter-spacing: .14em; font-weight: 700; color: #F7C98C; }
.rd-vip h3 { margin: 7px 0 5px; font-size: 15px; color: #fff; }
.rd-vip p { margin: 0; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.rd-vip .go { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 650; color: #F7C98C; }

/* ---------------------------------------------------------------- 汇总页 -- */

.rd-sum-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rd-sum-head h1 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 29px); }
.rd-sum-head p { margin: 0; font-size: 13px; color: var(--muted); }
.rd-sum-tabs { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--fill); }
.rd-sum-tabs a { padding: 6px 15px; border-radius: 9px; font-size: 13px; text-decoration: none; color: var(--rd-ink-2); }
.rd-sum-tabs a[aria-current="page"] { background: var(--surface); font-weight: 650; color: var(--text); box-shadow: var(--shadow-xs); }

.rd-sum-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rd-panel { border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--shadow-xs); padding: 20px 22px 22px; }
.rd-panel > header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--rd-line); }
.rd-panel > header h2 { margin: 0; font-size: 16px; }
.rd-panel > header span { font-size: 12px; color: var(--muted); }

.rd-group { padding: 12px 0 4px; }
.rd-group + .rd-group { border-top: 1px dashed var(--rd-line); }
.rd-group-label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.rd-group-label::after { content: ""; flex: 1; height: 1px; background: var(--rd-line); }
.rd-words { display: flex; flex-direction: column; gap: 2px; }
.rd-worditem { display: grid; grid-template-columns: minmax(0, 148px) minmax(0, 1fr); gap: 12px; padding: 8px 8px; border-radius: 10px; align-items: baseline; }
.rd-worditem:hover { background: var(--fill); }
.rd-worditem dt { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 0; }
.rd-worditem strong { font-size: 14px; font-weight: 650; }
.rd-worditem .phon { font-size: 11.5px; color: var(--muted); }
.rd-worditem dd { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--rd-ink-2); }
.rd-worditem-body { display: flex; flex-direction: column; gap: 3px; }
.rd-worditem-cn { color: var(--rd-ink-2); }
.rd-worditem-en { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.rd-worditem-forms { display: flex; flex-wrap: wrap; gap: 3px 6px; }
.rd-worditem-forms > span { font-size: 10.5px; padding: 1px 6px; border-radius: 5px; background: var(--fill); color: var(--muted); }

.rd-hard { display: flex; flex-direction: column; gap: 12px; }
.rd-hard-item { padding: 14px 16px; border-radius: 14px; background: var(--fill); }
.rd-hard-item .no { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--brand-text); }
.rd-hard-item .en { margin: 6px 0 8px; font-size: 14px; line-height: 1.85; }
.rd-hard-item .zh { margin: 0; font-size: 12.8px; line-height: 1.8; color: var(--rd-ink-2); }
.rd-hard-item .note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.85; color: var(--rd-ink-2); }
.rd-hard-item .note b { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .1em; color: var(--brand-text); font-weight: 700; }
.rd-empty-line { padding: 22px 4px; font-size: 13px; color: var(--muted); }

.rd-outline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rd-outline li { display: flex; gap: 10px; font-size: 13px; line-height: 1.75; color: var(--rd-ink-2); }
.rd-outline .no { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--brand-color) 16%, transparent); color: var(--brand-text); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------- 精讲页 -- */

.rd-vip-hero { position: relative; overflow: hidden; border-radius: var(--card-radius); padding: 26px 28px; margin-bottom: 18px; background: linear-gradient(135deg, #2A2118 0%, #4A3629 62%, #6B4A2E 100%); color: #fff; }
.rd-vip-hero::after { content: ""; position: absolute; right: -60px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 154, 62, .36), transparent 65%); }
.rd-vip-hero .kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #F7C98C; }
.rd-vip-hero h1 { margin: 8px 0 6px; font-size: clamp(21px, 2.5vw, 27px); color: #fff; }
.rd-vip-hero p { margin: 0; max-width: 52em; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .74); }
.rd-vip-hero .stats { display: flex; gap: 20px; margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.rd-vip-hero .stats b { font-size: 17px; font-weight: 700; color: #fff; margin-right: 4px; }

.rd-intro-list { display: flex; flex-direction: column; gap: 16px; }
.rd-intro-para { border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--shadow-xs); padding: 18px 20px; }
.rd-intro-para > header { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.rd-intro-para > header .no { width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--brand-color) 16%, transparent); color: var(--brand-text); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.rd-intro-para > header .line { flex: 1; height: 1px; background: var(--rd-line); }
.rd-sent-row { padding: 11px 0; border-bottom: 1px dashed var(--rd-line); }
.rd-sent-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.rd-sent-row .en { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--rd-ink); }
.rd-sent-row .zh { margin: 5px 0 0; font-size: 12.8px; line-height: 1.8; color: var(--rd-ink-2); }
.rd-sent-row .note { margin: 9px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--brand-color) 7%, #fff); font-size: 12.5px; line-height: 1.85; color: var(--rd-ink-2); }
.rd-sent-row .note b { display: block; font-size: 10.5px; letter-spacing: .1em; color: var(--brand-text); margin-bottom: 4px; }
.rd-sent-row.is-hard .en { font-weight: 550; }
.rd-para-zh-block { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--fill); font-size: 12.8px; line-height: 1.85; color: var(--rd-ink-2); }
.rd-para-zh-block b { display: block; font-size: 10.5px; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }

/* ------------------------------------------------------ 逐句精讲（VIP） -- */
.rd-para-count { letter-spacing: 0; font-weight: 500; color: var(--muted); }
.rd-para-lead { margin: 0 0 6px; padding: 11px 13px; border-radius: 10px; background: var(--fill); font-size: 12.8px; line-height: 1.85; color: var(--rd-ink-2); }

.rd-ip { padding: 16px 0 18px; border-top: 1px solid var(--rd-line); }
.rd-ip:first-of-type { border-top: 0; }
.rd-ip-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.rd-ip-no { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.rd-ip-tag { padding: 2px 7px; border-radius: 6px; background: color-mix(in srgb, #B4471F 13%, transparent); color: #9C3C18; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.rd-ip-len { margin-left: auto; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rd-ip-en { margin: 0; font-size: 15px; line-height: 1.94; color: var(--rd-ink); }
.rd-ip.is-hard .rd-ip-en { font-weight: 500; }
.rd-ip-zh { margin: 7px 0 0; font-size: 13px; line-height: 1.85; color: var(--rd-ink-2); }

.rd-ip-core { display: flex; gap: 10px; margin-top: 11px; padding: 10px 13px; border-radius: 10px; background: color-mix(in srgb, var(--brand-color) 6%, #fff); border-left: 3px solid color-mix(in srgb, var(--brand-color) 45%, transparent); }
.rd-ip-core b { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--brand-text); padding-top: 2px; }
.rd-ip-core span { font-size: 12.8px; line-height: 1.85; color: var(--rd-ink-2); }

.rd-ip-more { margin-top: 10px; }
.rd-ip-more > summary { display: flex; align-items: center; gap: 7px; padding: 7px 0; font-size: 11.5px; font-weight: 650; color: var(--brand-text); cursor: pointer; list-style: none; user-select: none; }
.rd-ip-more > summary::-webkit-details-marker { display: none; }
.rd-ip-more > summary .chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .16s var(--ease); }
.rd-ip-more[open] > summary .chev { transform: rotate(45deg); }
.rd-ip-body { padding: 4px 0 2px 14px; border-left: 1px solid var(--rd-line); }
.rd-ip-block { margin: 12px 0; }
.rd-ip-block h4 { margin: 0 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.rd-ip-text { margin: 0; font-size: 12.8px; line-height: 1.88; color: var(--rd-ink-2); }
.rd-ip-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }

.rd-chunks { width: 100%; border-collapse: collapse; font-size: 12.4px; table-layout: fixed; }
.rd-chunks th { padding: 0 8px 5px 0; text-align: left; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--rd-line); }
.rd-chunks th:first-child, .rd-chunks .en { width: 46%; }
.rd-chunks th:nth-child(2), .rd-chunks .role { width: 15%; }
.rd-chunks td { padding: 7px 8px 7px 0; vertical-align: top; line-height: 1.7; border-bottom: 1px dashed var(--rd-line); word-break: break-word; }
.rd-chunks tr:last-child td { border-bottom: 0; }
.rd-chunks .en { color: var(--rd-ink); }
.rd-chunks .role { white-space: normal; color: var(--brand-text); font-size: 11px; font-weight: 650; }
.rd-chunks .zh { color: var(--rd-ink-2); }

.rd-grammar { display: flex; flex-direction: column; gap: 8px; }
.rd-grammar-item { padding: 9px 11px; border-radius: 9px; background: var(--fill); }
.rd-grammar-item .term { display: inline-block; margin-bottom: 3px; font-size: 11px; font-weight: 700; color: var(--brand-text); }
.rd-grammar-item p { margin: 0; font-size: 12.6px; line-height: 1.85; color: var(--rd-ink-2); }

.rd-locked { position: relative; margin-top: 4px; }
.rd-locked-preview { position: relative; max-height: 300px; overflow: hidden; }
.rd-locked-preview::after { content: ""; position: absolute; inset: auto 0 0 0; height: 130px; background: linear-gradient(180deg, rgba(242, 242, 247, 0), var(--background) 88%); pointer-events: none; }
.rd-locked-box { position: relative; margin: 0 auto; max-width: 560px; padding: 26px 24px; text-align: center; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.rd-locked-box .icon { font-size: 26px; }
.rd-locked-box h2 { margin: 8px 0 6px; font-size: 18px; }
.rd-locked-box p { margin: 0 0 16px; font-size: 13px; line-height: 1.8; color: var(--rd-ink-2); }
.rd-locked-box .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rd-locked-box .button { text-decoration: none; }

/* ---------------------------------------------------------------- 响应式 -- */

@media (max-width: 1080px) {
  .rd-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .rd-feature-cover { min-height: 110px; }
}

@media (max-width: 900px) {
  .rd-feature { grid-template-columns: 132px minmax(0, 1fr); }
  .rd-feature-cover { min-height: 92px; aspect-ratio: auto; }
  .rd-feature-body { padding: 12px 15px; }
  .rd-feature h2 { font-size: 15.5px; }
  .rd-feature-en { display: none; }
  .rd-feature-foot { font-size: 11px; gap: 8px; }
  .rd-layout { grid-template-columns: minmax(0, 1fr); }
  /* 移动端侧栏整块收起：难词表太长会把正文挤到几屏之后，
     查词改由底部浮层承担，词表入口走「难词难句汇总」。 */
  .rd-side { display: none; }
  .rd-sum-grid { grid-template-columns: minmax(0, 1fr); }
  .rd-row { grid-template-columns: 104px minmax(0, 1fr); }
  .rd-row-meta { grid-column: 2; flex-direction: row; align-items: center; padding: 0 0 4px; }
  .rd-toolbar { position: static; }
}

@media (max-width: 620px) {
  .rd-body { font-size: 16.5px; }
  .rd-para { padding-left: 14px; }
  .rd-head h1 { font-size: 22px; }
  .rd-feature { grid-template-columns: 104px minmax(0, 1fr); }
  .rd-feature-cover { min-height: 84px; }
  .rd-feature-body { padding: 10px 12px; gap: 1px; }
  .rd-feature h2 { font-size: 14.5px; }
  .rd-feature-foot span:nth-child(n+3) { display: none; }
  .rd-feature-foot .dot { display: none; }
  .rd-row { grid-template-columns: 96px minmax(0, 1fr); gap: 11px; padding: 8px 11px 8px 8px; }
  .rd-row h3 { font-size: 14px; }
  .rd-row-en { display: none; }
  .rd-panel { padding: 16px 15px 18px; }
  .rd-worditem { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rd-vip-hero { padding: 20px 18px; }
  .rd-ip-cols { grid-template-columns: 1fr; }
  .rd-chunks { font-size: 11.8px; }
  .rd-chunks th:first-child, .rd-chunks .en { width: 40%; }
  .rd-chunks th:nth-child(2), .rd-chunks .role { width: 28%; }
  .rd-chunks .zh { width: 32%; }
  .rd-ip-body { padding-left: 10px; }
  .rd-ip-zh { font-size: 12.6px; }
  .rd-pager { grid-template-columns: 1fr; }
  .rd-sum-tabs { width: 100%; }
  .rd-sum-tabs a { flex: 1; text-align: center; }
}

/* 移动端查词底部浮层（桌面端用词旁浮窗，不显示） */
.rd-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); transform: translateY(102%); transition: transform .26s var(--ease-out); }
.rd-sheet.is-open { transform: translateY(0); }
.rd-sheet-inner { max-width: 640px; margin: 0 auto; border-radius: 20px 20px 16px 16px; background: var(--surface); box-shadow: var(--shadow-lg); padding: 16px 18px 18px; max-height: 66vh; overflow-y: auto; }
.rd-sheet-grip { width: 34px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 12px; }
.rd-sheet-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .22); opacity: 0; pointer-events: none; transition: opacity .24s ease; }
.rd-sheet-scrim.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 901px) { .rd-sheet, .rd-sheet-scrim { display: none !important; } }

/* 桌面查词浮窗：点词就在词旁给出释义，视线不必离开正文。
   宽度跟随内容，最长 380px；超出视口时由脚本翻转与收边。 */
.rd-pop {
  position: fixed;
  z-index: 100;
  width: max-content;
  max-width: min(380px, calc(100vw - 24px));
  max-height: min(60vh, 460px);
  overflow-y: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .16);
  animation: rd-pop-in .14s var(--ease-out);
}
.rd-pop[hidden] { display: none; }
.rd-pop .rd-lookup-actions { margin-top: 10px; padding-top: 8px; }
@keyframes rd-pop-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .rd-pop { display: none !important; } }

/* 显示开关 */
[data-reading-body].rd-hide-zh .rd-para-zh { display: none; }
[data-reading-body].rd-hide-en .rd-para-en { display: none; }
[data-reading-body].rd-hide-words .rd-word { background: none; font-weight: inherit; cursor: inherit; }
[data-reading-body].rd-hide-sentences .rd-sent { border-bottom: 0; cursor: inherit; background: none; }
[data-reading-body].rd-hide-sentences .rd-sent .rd-word { cursor: pointer; }

/* ---------------------------------------------------------------- 会员锁 -- */

.rd-locked-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 38px 40px;
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.rd-locked-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 210px; }
.rd-locked-stack { position: relative; width: 150px; height: 186px; }
.rd-locked-stack span {
  position: absolute; inset: 0; border-radius: 12px; border: 1px solid var(--rd-line);
  background: linear-gradient(160deg, #fff, #f5f1ea); box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .45);
}
.rd-locked-stack span:nth-child(1) { transform: rotate(-9deg) translate(-16px, 6px); opacity: .55; }
.rd-locked-stack span:nth-child(2) { transform: rotate(5deg) translate(14px, -4px); opacity: .8; }
.rd-locked-stack span:nth-child(3) {
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  background: linear-gradient(150deg, #FBF3E8, #F1E1CB);
}
.rd-locked-stack span:nth-child(3)::after { content: "🔒"; filter: saturate(.85); }
.rd-locked-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--brand-text); }
.rd-locked-body h2 { margin: 10px 0 10px; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.35; }
.rd-locked-body h2 b { color: var(--brand-text); font-variant-numeric: tabular-nums; }
.rd-locked-lead { margin: 0 0 14px; max-width: 52em; font-size: 14px; line-height: 1.85; color: var(--rd-ink-2); }
.rd-locked-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.rd-locked-points li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.7; color: var(--rd-ink-2); }
.rd-locked-points li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-color); }
.rd-locked-points b { color: var(--text); }
.rd-locked-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rd-locked-btn { text-decoration: none; padding: 10px 22px; border-radius: 12px; font-size: 14px; }
.rd-locked-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.rd-locked-flash { margin-bottom: 14px; padding: 11px 15px; border-radius: 12px; background: #FFF6E8; border: 1px solid #F3DCB9; font-size: 13px; color: #8A5B12; }

@media (max-width: 820px) {
  .rd-locked-card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 22px; }
  .rd-locked-visual { min-height: 120px; }
  .rd-locked-stack { width: 96px; height: 120px; }
  .rd-locked-points { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- 收藏库 -- */

.rd-vault-head { align-items: flex-end; }
.rd-vault-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 18px; }
.rd-vault-filters input[type="search"] { flex: 1 1 260px; min-width: 200px; padding: 10px 14px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--surface); font-size: 14px; }
.rd-vault-filters select { padding: 10px 12px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--surface); font-size: 13.5px; max-width: 260px; }
.rd-vault-filters .button { padding: 9px 20px; border-radius: 12px; }
.rd-vault-reset { font-size: 13px; color: var(--muted); text-decoration: none; }
.rd-vault-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.rd-vault-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 17px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xs); }
.rd-vault-card.is-busy { opacity: .6; }
.rd-vault-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rd-vault-word { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.rd-vault-word strong { font-size: 17px; letter-spacing: -.01em; }
.rd-vault-word .phon { font-size: 12px; color: var(--brand-text); font-family: "Segoe UI", system-ui, sans-serif; }
.rd-vault-status { flex: none; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: var(--fill); color: var(--muted); }
.rd-vault-status.is-learning { background: #FFF3E0; color: #9A5B00; }
.rd-vault-status.is-mastered { background: #E8F6EC; color: #1F7A3D; }
.rd-vault-cn { margin: 0; font-size: 13.5px; line-height: 1.7; }
.rd-vault-en { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.rd-vault-context { margin: 2px 0 0; padding: 9px 12px; border-left: 2px solid var(--rd-line); background: var(--fill); border-radius: 0 10px 10px 0; }
.rd-vault-context p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--rd-ink-2); }
.rd-vault-context .zh { margin-top: 3px; color: var(--muted); }
.rd-vault-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.rd-vault-source { font-size: 12px; color: var(--brand-text); text-decoration: none; min-width: 0; flex: 1 1 auto; }
.rd-vault-source.quiet { color: var(--muted); }
.rd-vault-actions { display: flex; gap: 4px; flex: none; }
.rd-vault-actions button { border: 1px solid var(--rd-line); background: var(--surface); border-radius: 8px; padding: 4px 9px; font-size: 11.5px; color: var(--rd-ink-2); cursor: pointer; white-space: nowrap; }
.rd-vault-actions button:hover { border-color: var(--brand-color); color: var(--brand-text); }
.rd-vault-actions button.danger:hover { border-color: #C4453B; color: #C4453B; }
.rd-vault-empty { text-align: center; padding: 48px 22px; }
.rd-vault-empty h2 { margin: 0 0 8px; font-size: 18px; }
.rd-vault-empty p { margin: 0 auto 18px; max-width: 52em; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.rd-vault-empty .button { display: inline-flex; text-decoration: none; padding: 10px 22px; border-radius: 12px; }

@media (max-width: 620px) {
  .rd-vault-grid { grid-template-columns: minmax(0, 1fr); }
  .rd-vault-filters select { max-width: none; flex: 1 1 140px; }
}

/* --------------------------------------------------- 栏目导航 / 举报 / 历史 -- */
.rd-section-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 12px; padding: 4px; width: fit-content; max-width: 100%; border-radius: 12px; background: var(--fill); }
.rd-section-nav a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 9px; color: var(--rd-ink-2); font-size: 12.5px; text-decoration: none; transition: background .14s ease, color .14s ease; }
.rd-section-nav a:hover { color: var(--text); background: rgba(255,255,255,.65); }
.rd-section-nav a[aria-current="page"] { color: var(--text); background: var(--surface); box-shadow: var(--shadow-xs); font-weight: 650; }
.rd-benefit-strip { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 4px 0 18px; padding: 12px 14px; border-left: 2px solid var(--brand-color); color: var(--muted); font-size: 12px; }
.rd-benefit-strip span::before { content: "✓"; margin-right: 6px; color: var(--brand-text); font-weight: 700; }
.rd-sample-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 28px; margin: 14px 0 24px; padding: 14px 28px 14px 14px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--surface); }
.rd-sample-card--text { grid-template-columns: minmax(0, 1fr); padding: 26px 28px; }
.rd-sample-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--fill); }
.rd-sample-copy { min-width: 0; padding-block: 8px; }
.rd-sample-label { display: inline-block; color: var(--brand-text); font-size: 12px; font-weight: 700; line-height: 1.6; }
.rd-sample-copy h2 { margin: 9px 0 12px; font-size: clamp(21px, 2.3vw, 28px); line-height: 1.4; text-wrap: pretty; overflow-wrap: anywhere; }
.rd-sample-copy h2 a { color: var(--text); text-decoration: none; }
.rd-sample-copy h2 a:hover { color: var(--brand-text); }
.rd-sample-digest { margin: 0; color: var(--rd-ink-2); font-size: 14px; line-height: 1.85; max-width: 52em; }
.rd-sample-access { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.rd-sample-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rd-sample-card a:focus-visible { outline: 2px solid var(--brand-color); outline-offset: 4px; }
.rd-head--sample { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 28px; margin-bottom: 24px; }
.rd-head-copy, .rd-vip-hero-copy { min-width: 0; }
.rd-head-copy:only-child, .rd-vip-hero-copy:only-child { grid-column: 1 / -1; }
.rd-head-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.rd-head-digest { margin: 14px 0 0; max-width: 52em; color: var(--rd-ink-2); font-size: 14px; line-height: 1.85; }
.rd-vip-hero--sample { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 28px; border: 1px solid var(--rd-line); background: var(--surface); color: var(--text); }
.rd-vip-hero--sample::after { display: none; }
.rd-vip-hero--sample .kicker { color: var(--brand-text); font-size: 12px; letter-spacing: 0; }
.rd-vip-hero--sample h1 { color: var(--text); line-height: 1.4; text-wrap: pretty; }
.rd-vip-hero--sample p { color: var(--rd-ink-2); font-size: 14px; }
.rd-vip-hero--sample .stats { flex-wrap: wrap; gap: 10px 20px; color: var(--muted); }
.rd-vip-hero--sample .stats b { color: var(--text); }
.rd-vip-hero--sample .rd-intensive-guide { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rd-line); font-size: 12px; }
.rd-intensive-guide a { color: var(--brand-text); text-underline-offset: 3px; }
/* 立场说明与举报入口排在同一句：举报钮跟在文字末尾，作为主题色圆角块点出动作，
   不再独占行尾一列，说明与按钮之间也不用撑出大段留白。 */
.rd-stance-banner { display: block; margin: 0 0 14px; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--fill); }
.rd-stance-banner > p { margin: 0; color: var(--rd-ink-2); font-size: 12.5px; line-height: 24px; }
.rd-report-trigger, .rd-report-submit, .rd-report-cancel { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--rd-ink-2); font: inherit; font-size: 12px; text-decoration: none; cursor: pointer; }
.rd-report-trigger { margin-left: 6px; min-height: 22px; padding: 0 9px; border: 0; border-radius: var(--pill-radius); background: var(--brand-color); color: #fff; font-size: 11.5px; font-weight: 650; line-height: 22px; vertical-align: 1px; white-space: nowrap; --tap-min: 22px; }
.rd-report-trigger:hover, .rd-report-cancel:hover { border-color: var(--brand-color); color: var(--brand-text); }
.rd-report-trigger:hover { background: var(--brand-color); color: #fff; filter: brightness(1.06); }
.rd-report-form { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(240px, 1.3fr) auto; grid-column: 1 / -1; align-items: end; gap: 10px; width: 100%; padding-top: 10px; border-top: 1px solid var(--rd-line); }
.rd-report-form[hidden] { display: none; }
.rd-report-form label { display: grid; gap: 5px; color: var(--muted); font-size: 11.5px; }
.rd-report-form select, .rd-report-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); padding: 8px 10px; color: var(--text); font: inherit; font-size: 12.5px; }
.rd-report-form textarea { resize: vertical; }
.rd-report-actions { display: flex; gap: 7px; }
.rd-report-submit { border-color: var(--brand-color); background: var(--brand-color); color: #fff; font-weight: 650; }
.rd-report-submit:disabled { opacity: .6; cursor: wait; }
.rd-report-status { grid-column: 1 / -1; color: var(--brand-text); font-size: 12px; }
.rd-report-status:empty { display: none; }
.rd-history-list { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.rd-history-row { display: grid; grid-template-columns: 145px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-xs); }
.rd-history-row.is-unavailable { background: color-mix(in srgb, var(--fill) 72%, var(--surface)); }
.rd-history-date { display: grid; gap: 4px; color: var(--rd-ink-2); font-size: 12px; }
.rd-history-date small { color: var(--muted); font-size: 10.5px; }
.rd-history-main { min-width: 0; }
.rd-history-main h2 { margin: 0; overflow: hidden; font-size: 14.5px; text-overflow: ellipsis; white-space: nowrap; }
.rd-history-main h2 a { color: inherit; text-decoration: none; }
.rd-history-main h2 a:hover { color: var(--brand-text); }
.rd-history-main p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.rd-history-status { padding: 4px 9px; border-radius: 999px; background: var(--fill); color: var(--muted); font-size: 11px; white-space: nowrap; }
.rd-history-status.is-hidden { background: #fff0ed; color: #a33d2f; }
.rd-history-open, .rd-history-action { color: var(--brand-text); font-size: 12px; text-decoration: none; white-space: nowrap; }
.rd-history-action { display: inline-flex; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 9px; }

@media (max-width: 700px) {
  .rd-section-nav { width: 100%; }
  .rd-section-nav a { flex: 1 1 auto; justify-content: center; padding-inline: 9px; }
  .rd-sample-card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
  .rd-sample-cover { border-radius: 0; }
  .rd-sample-copy { padding: 20px; }
  .rd-sample-copy h2 { margin-top: 7px; font-size: 22px; }
  .rd-sample-actions .button { flex: 1 1 auto; }
  .rd-head--sample, .rd-vip-hero--sample { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rd-head--sample .rd-head-cover { max-height: 260px; }
  .rd-vip-hero--sample .rd-head-cover { max-height: 240px; }
  .rd-report-form { grid-template-columns: 1fr; }
  .rd-report-actions { justify-content: flex-start; }
  .rd-history-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .rd-history-date { grid-column: 1 / -1; display: flex; justify-content: space-between; }
  .rd-history-main { grid-column: 1; }
  .rd-history-status, .rd-history-open { grid-column: 2; grid-row: 2; }
}
