/* ==========================================================================
   Rummy List（单列清单）—— 独立样式，不依赖项目其它 CSS
   设计令牌：spacing 4/8/12/16/24/32/48；radius 8/12/16；断点 640/900
   ========================================================================== */

:root {
    --rl-accent: #2f4bd8;
    --rl-bg: #f6f7f9;
    --rl-surface: #ffffff;
    --rl-surface-alt: #f1f3f7;
    --rl-border: #e2e6ee;
    --rl-border-strong: #cfd6e3;
    --rl-text: #161b26;
    --rl-text-muted: #5c6677;
    --rl-flag-bg: #eef1fd;
    --rl-flag-border: #c9d2f7;
    --rl-ok: #0f766e;
    --rl-radius: 12px;
    --rl-radius-lg: 16px;
    --rl-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px -18px rgba(16, 24, 40, .4);
    --rl-max: 880px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.rl {
    margin: 0;
    background: var(--rl-bg);
    color: var(--rl-text);
    font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--rl-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.rl-sr-only,
.rl-skip:not(:focus) {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.rl-skip {
    position: fixed;
    left: 12px; top: 10px;
    z-index: 60;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--rl-text);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

/* ---------- 页头：上层图标在左、站名在右；下层五项等分横排 ---------- */
.rl-head {
    background: var(--rl-surface);
    border-bottom: 1px solid var(--rl-border);
}

.rl-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: var(--rl-max);
    margin: 0 auto;
    padding: 16px 16px 10px;
    color: var(--rl-text);
    text-decoration: none;
}
.rl-brand:hover { text-decoration: none; }
.rl-brand img,
.rl-brand-mark {
    width: 40px; height: 40px;
    border-radius: 10px;
    flex: 0 0 auto;
}
.rl-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rl-surface-alt);
    color: var(--rl-accent);
    border: 1px solid var(--rl-border);
}
.rl-brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.rl-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    max-width: var(--rl-max);
    margin: 0 auto;
    border-top: 1px solid var(--rl-border);
}
.rl-nav-link {
    display: block;
    padding: 11px 6px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rl-text-muted);
    border-right: 1px solid var(--rl-border);
    text-decoration: none;
}
.rl-nav-link:last-child { border-right: 0; }
.rl-nav-link:hover { color: var(--rl-text); background: var(--rl-surface-alt); text-decoration: none; }
.rl-nav-link.is-active { color: var(--rl-accent); background: var(--rl-flag-bg); }
.rl-nav-link:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: -2px; }

/* ---------- 通知条 ---------- */
.rl-notice {
    max-width: var(--rl-max);
    margin: 14px auto 0;
    padding: 0 16px;
}
.rl-notice .notice-box,
.rl-notice > div {
    padding: 12px 14px;
    border: 1px solid var(--rl-flag-border);
    border-radius: var(--rl-radius);
    background: var(--rl-flag-bg);
    font-size: 13px;
    line-height: 1.55;
}
.rl-notice .notice-box-title,
.rl-notice strong:first-child {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rl-accent);
    margin-bottom: 4px;
}
.rl-notice p { margin: 6px 0; }
.rl-notice p:last-child { margin-bottom: 0; }

/* ---------- 主容器 ---------- */
.rl-wrap {
    max-width: var(--rl-max);
    margin: 0 auto;
    padding: 20px 16px 40px;
}
.rl-wrap--narrow { max-width: 720px; }

/* ---------- 吸底下载条（按需出现，移动端优先） ---------- */
.rl-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: none;
    gap: 12px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--rl-border);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px -18px rgba(16, 24, 40, .45);
}
.rl-sticky.is-visible { display: flex; }

.rl-sticky-logo {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rl-surface-alt);
    border: 1px solid var(--rl-border);
    color: var(--rl-text-muted);
}
.rl-sticky-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rl-sticky-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.35;
}
.rl-sticky-meta strong {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--rl-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rl-sticky-meta small {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--rl-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rl-sticky-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 14px;
}
.rl-has-sticky { padding-bottom: 84px; }

@media (max-width: 640px) {
    .rl-sticky {
        display: flex;
        max-width: none;
        transform: translateY(110%);
        transition: transform .2s ease;
    }
    .rl-sticky.is-visible { transform: translateY(0); }
    .rl-sticky-btn { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .rl-sticky { transition: none; }
}

.rl-main { display: block; }

/* ---------- 首页搜索区：标题居中、介绍左对齐、输入框与按钮同排 ---------- */
.rl-hero {
    text-align: center;
    padding: 8px 0 4px;
}
.rl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    color: var(--rl-text-muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.rl-hero-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
}
.rl-hero-lede {
    margin: 0 auto 18px;
    max-width: 62ch;
    text-align: left;
    color: var(--rl-text-muted);
    font-size: 14.5px;
}

.rl-search {
    display: flex;
    gap: 8px;
    margin: 0 auto;
    max-width: 560px;
}
.rl-search input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 13px;
    font: inherit;
    font-size: 15px;
    color: var(--rl-text);
    background: var(--rl-surface);
    border: 1px solid var(--rl-border-strong);
    border-radius: 10px;
    appearance: none;
}
.rl-search input::placeholder { color: #8b94a5; }
.rl-search input:focus-visible {
    outline: 2px solid var(--rl-accent);
    outline-offset: 1px;
    border-color: var(--rl-accent);
}

/* ---------- 折叠筛选（移动端优先：默认收起，不挤压首屏） ---------- */
.rl-filters {
    margin-top: 10px;
    border-top: 1px solid var(--rl-border);
    padding-top: 10px;
}
.rl-filters > summary {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 4px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--rl-text-muted);
    list-style: none;
}
.rl-filters > summary::-webkit-details-marker { display: none; }
.rl-filters > summary::after {
    content: "";
    margin-left: auto;
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s ease;
}
.rl-filters[open] > summary::after { transform: rotate(-135deg); }
.rl-filters > summary:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; border-radius: 8px; }
.rl-filters .rl-toolbar-fields { border-bottom: 0; padding-bottom: 4px; }
.rl-filters .rl-field select { min-height: 44px; }

/* ---------- 按钮 ---------- */
.rl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--rl-surface);
    color: var(--rl-text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.rl-btn:hover { text-decoration: none; }
.rl-btn--accent {
    background: var(--rl-accent);
    border-color: var(--rl-accent);
    color: #fff;
}
.rl-btn--accent:hover { filter: brightness(1.07); }
.rl-btn--ghost {
    background: var(--rl-surface);
    border-color: var(--rl-border-strong);
    color: var(--rl-text-muted);
}
.rl-btn--ghost:hover { color: var(--rl-text); border-color: var(--rl-text-muted); }
.rl-btn--block { width: 100%; }
.rl-btn:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; }
.rl-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- 筛选与列表表头：筛选在上，标题左、数量右 ---------- */
.rl-toolbar {
    margin: 22px 0 0;
    padding: 14px;
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
}
.rl-toolbar-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rl-border);
}
.rl-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 132px;
    flex: 1 1 132px;
}
.rl-field > span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--rl-text-muted);
}
.rl-field select {
    width: 100%;
    padding: 9px 10px;
    font: inherit;
    font-size: 14px;
    color: var(--rl-text);
    background: var(--rl-surface);
    border: 1px solid var(--rl-border-strong);
    border-radius: 9px;
}
.rl-field select:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 1px; }
.rl-toolbar-fields > .rl-btn { flex: 0 0 auto; min-height: 40px; }

.rl-toolbar-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
}
.rl-toolbar-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}
.rl-count {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rl-text-muted);
}

/* ---------- 列表：每行一个平台，始终单列 ---------- */
.rl-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rl-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.rl-row:hover { border-color: var(--rl-border-strong); box-shadow: var(--rl-shadow); }
.rl-row.is-odd { background: var(--rl-surface); }
/* 兜底：.rl-row 的 display:grid 会盖掉 hidden 属性，这里显式让 hidden 生效 */
.rl-row[hidden] { display: none !important; }

.rl-row-logo {
    display: block;
    width: 48px; height: 48px;
    border-radius: 11px;
    overflow: hidden;
    background: var(--rl-surface-alt);
    border: 1px solid var(--rl-border);
}
.rl-row-logo img,
.rl-logo-ph {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
}
.rl-logo-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rl-text-muted);
}
.rl-row-logo:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; }

.rl-row-num {
    display: none;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--rl-text-muted);
    border: 1px solid var(--rl-border);
    border-radius: 999px;
    padding: 1px 7px;
    min-width: 22px;
    text-align: center;
}
.rl-list--compact .rl-row-num { display: none; }

.rl-row-body { min-width: 0; }
.rl-row-name {
    display: block;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--rl-text);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.rl-row-name:hover { color: var(--rl-accent); text-decoration: none; }
.rl-row-name:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; border-radius: 4px; }
.rl-row-meta {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--rl-text-muted);
}
.rl-dot { padding: 0 5px; }
.rl-row-source {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 3px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--rl-ok);
}

.rl-row-cta {
    flex: 0 0 auto;
    padding: 9px 14px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 9px;
    border: 1px solid var(--rl-border-strong);
    background: var(--rl-surface);
    color: var(--rl-accent);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.rl-row-cta:hover { background: var(--rl-flag-bg); border-color: var(--rl-flag-border); text-decoration: none; }
.rl-row-cta:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; }

.rl-list--compact .rl-row { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 10px 12px; }
.rl-list--compact .rl-row-logo { width: 40px; height: 40px; }

.rl-empty {
    margin: 12px 0 0;
    padding: 18px 16px;
    text-align: center;
    background: var(--rl-surface);
    border: 1px dashed var(--rl-border-strong);
    border-radius: var(--rl-radius);
    color: var(--rl-text-muted);
    font-size: 14px;
}
.rl-empty[hidden] { display: none; }

/* ---------- 说明卡 ---------- */
.rl-note {
    margin: 18px 0 0;
    padding: 18px 16px;
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
}
.rl-note h2 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; }

/* ---------- 分类内链 ---------- */
.rl-cat-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    padding: 14px 14px 16px;
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
}
.rl-cat-links h2 {
    flex: 1 0 100%;
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
}
.rl-cat-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--rl-border-strong);
    background: var(--rl-surface);
    color: var(--rl-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.rl-cat-links a:hover { border-color: var(--rl-accent); color: var(--rl-accent); text-decoration: none; }
.rl-cat-links a:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; }
.rl-cat-links a span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--rl-text-muted);
    background: var(--rl-surface-alt);
    border-radius: 999px;
    padding: 1px 7px;
}
.rl-category-intro { margin-top: 10px; font-size: 14px; }

/* ---------- 分类页：桌面端也压缩首屏，让条目尽快出现 ---------- */
.rl-hero--compact { padding: 4px 0 0; text-align: left; }
.rl-hero--compact .rl-hero-title { font-size: clamp(21px, 2.6vw, 26px); margin-bottom: 6px; }
.rl-hero--compact .rl-hero-lede { margin: 0 0 10px; font-size: 14px; max-width: 78ch; }
.rl-wrap--category .rl-toolbar { margin-top: 14px; }

/* ---------- 正文排印 ---------- */
.rl-prose { font-size: 14.8px; color: #26303f; }
.rl-prose > :first-child { margin-top: 0; }
.rl-prose > :last-child { margin-bottom: 0; }
.rl-prose h2 {
    margin: 22px 0 8px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
}
.rl-prose h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 800; }
.rl-prose p { margin: 0 0 12px; }
.rl-prose ul, .rl-prose ol { margin: 0 0 14px; padding-left: 22px; }
.rl-prose li { margin: 4px 0; }
.rl-prose strong { font-weight: 800; }
.rl-prose table {
    width: 100%;
    margin: 12px 0;
    border-collapse: collapse;
    font-size: 13.5px;
}
.rl-prose th, .rl-prose td {
    padding: 8px 10px;
    border: 1px solid var(--rl-border);
    text-align: left;
    vertical-align: top;
}
.rl-prose th { background: var(--rl-surface-alt); font-weight: 800; }
.rl-prose a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 详情页 ---------- */
.rl-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0 0 12px;
    font-size: 12.5px;
    color: var(--rl-text-muted);
}
.rl-crumbs a { color: var(--rl-text-muted); }
.rl-crumbs a:hover { color: var(--rl-accent); }

.rl-app {
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius-lg);
    padding: 18px 16px;
}

.rl-summary {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.rl-summary-logo {
    width: 72px; height: 72px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--rl-surface-alt);
    border: 1px solid var(--rl-border);
}
.rl-summary-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rl-summary-body h1 {
    margin: 0;
    font-size: clamp(21px, 3.4vw, 26px);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.02em;
}
.rl-summary-sub {
    display: block;
    margin-top: 3px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rl-text-muted);
}
.rl-summary-intro { margin-top: 8px; font-size: 14.2px; }
.rl-summary-intro p { margin: 0 0 8px; }

.rl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
.rl-tags li {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--rl-surface-alt);
    border: 1px solid var(--rl-border);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--rl-text-muted);
}

.rl-actions { margin: 16px 0 0; }
.rl-fineprint {
    margin: 8px 0 0;
    font-size: 12.2px;
    color: var(--rl-text-muted);
    line-height: 1.5;
}

.rl-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--rl-border);
}
.rl-anchors a {
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid var(--rl-border);
    background: var(--rl-surface);
    color: var(--rl-text-muted);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.rl-anchors a:hover { color: var(--rl-accent); border-color: var(--rl-flag-border); background: var(--rl-flag-bg); text-decoration: none; }
.rl-anchors a:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; }

.rl-h2 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.rl-spec, .rl-about, .rl-source, .rl-faq, .rl-related { margin: 26px 0 0; }

/* 参数卡：两列小卡，字段名小号在上、值粗体在下；优惠/提现格浅色强调 */
.rl-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}
.rl-spec-grid > div {
    padding: 10px 12px;
    border: 1px solid var(--rl-border);
    border-radius: 10px;
    background: var(--rl-surface-alt);
}
.rl-spec-grid .rl-spec-flag {
    background: var(--rl-flag-bg);
    border-color: var(--rl-flag-border);
}
.rl-spec-grid dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--rl-text-muted);
}
.rl-spec-grid dd {
    margin: 3px 0 0;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--rl-text);
    overflow-wrap: anywhere;
}
.rl-spec-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 12.2px;
    color: var(--rl-text-muted);
}
.rl-spec-note svg { flex: 0 0 auto; margin-top: 2px; }

/* FAQ：一题一行，默认折叠 */
.rl-faq-item {
    border: 1px solid var(--rl-border);
    border-radius: 10px;
    background: var(--rl-surface);
    margin-bottom: 8px;
}
.rl-faq-item + .rl-faq-item { margin-top: 0; }
.rl-faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14.2px;
    font-weight: 700;
    color: var(--rl-text);
    list-style: none;
}
.rl-faq-item summary::-webkit-details-marker { display: none; }
.rl-faq-item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 8px; height: 8px;
    margin-top: 6px;
    border-right: 2px solid var(--rl-text-muted);
    border-bottom: 2px solid var(--rl-text-muted);
    transform: rotate(45deg);
    transition: transform .15s ease;
}
.rl-faq-item[open] summary::after { transform: rotate(-135deg); }
.rl-faq-item summary:hover { color: var(--rl-accent); }
.rl-faq-item summary:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: -2px; border-radius: 10px; }
.rl-faq-item p {
    margin: 0;
    padding: 0 14px 13px;
    font-size: 14px;
    color: #2b3444;
}

.rl-install-note { margin: 26px 0 0; background: var(--rl-surface-alt); }

.rl-related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.rl-hint { font-size: 12px; font-weight: 700; color: var(--rl-text-muted); }

/* ---------- 说明页 / 404 ---------- */
.rl-card {
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius-lg);
    padding: 20px 18px;
}
.rl-card h1 {
    margin: 0 0 4px;
    font-size: clamp(22px, 3.4vw, 27px);
    font-weight: 800;
    letter-spacing: -.02em;
}
.rl-card .rl-kicker { margin-bottom: 10px; }

.rl-404 {
    text-align: center;
    padding: 48px 18px;
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius-lg);
}
.rl-404-code {
    margin: 0;
    font-size: 54px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--rl-accent);
}
.rl-404 h1 { margin: 12px 0 8px; font-size: 22px; }
.rl-404 p { margin: 0 auto 20px; max-width: 46ch; color: var(--rl-text-muted); font-size: 14.5px; }
.rl-404-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- 页脚 ---------- */
.rl-foot {
    border-top: 1px solid var(--rl-border);
    background: var(--rl-surface);
    margin-top: 8px;
}
.rl-foot-inner {
    max-width: var(--rl-max);
    margin: 0 auto;
    padding: 22px 16px 30px;
    display: grid;
    gap: 14px;
}
.rl-foot-brand strong { font-size: 15px; font-weight: 800; }
.rl-foot-brand p { margin: 4px 0 0; font-size: 12.5px; color: var(--rl-text-muted); }
.rl-foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.rl-foot-nav a { color: var(--rl-text-muted); }
.rl-foot-nav a:hover { color: var(--rl-accent); }
.rl-foot-meta p { margin: 0 0 6px; font-size: 12.3px; color: var(--rl-text-muted); }
.rl-muted { color: var(--rl-text-muted); }
.rl-age-note { display: flex; align-items: flex-start; gap: 8px; }
.rl-age {
    flex: 0 0 auto;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--rl-text);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
}

/* ---------- 返回顶部 ---------- */
.rl-top {
    position: fixed;
    right: 14px; bottom: 14px;
    width: 40px; height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--rl-border-strong);
    background: var(--rl-surface);
    color: var(--rl-text);
    cursor: pointer;
    box-shadow: var(--rl-shadow);
    z-index: 40;
}
.rl-top.is-visible { display: inline-flex; }
.rl-top:focus-visible { outline: 2px solid var(--rl-accent); outline-offset: 2px; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
    body.rl { font-size: 15px; }
    .rl-wrap { padding: 16px 12px 32px; }
    .rl-brand { padding: 13px 12px 9px; }
    .rl-brand-name { font-size: 18px; }
    .rl-nav-link { font-size: 12.2px; padding: 10px 3px; }
    /* 移动端首屏：标题压缩、介绍收起，保证列表首行可见 */
    .rl-hero { padding: 4px 0 0; }
    .rl-hero-title { font-size: 21px; margin-bottom: 8px; line-height: 1.25; }
    .rl-hero-lede { display: none; }
    .rl-search { gap: 6px; }
    .rl-search input { min-height: 44px; padding: 10px 12px; font-size: 16px; }
    .rl-search .rl-btn { min-height: 44px; padding: 0 14px; }
    .rl-toolbar { margin-top: 12px; padding: 10px 12px; }
    .rl-toolbar-head { padding-top: 0; }
    .rl-toolbar-head h2 { font-size: 15px; }
    .rl-list { margin-top: 10px; }
    .rl-toolbar-fields .rl-field { flex: 1 1 45%; min-width: 0; }
    .rl-toolbar-fields > .rl-btn { flex: 1 1 100%; }
    .rl-row {
        grid-template-columns: 46px minmax(0, 1fr);
        grid-template-areas:
            "logo body"
            "cta cta";
        gap: 10px 12px;
        padding: 12px;
    }
    .rl-row-logo { grid-area: logo; width: 44px; height: 44px; }
    .rl-row-body { grid-area: body; }
    .rl-row-cta { grid-area: cta; justify-content: center; width: 100%; min-height: 44px; }
    .rl-list--compact .rl-row { grid-template-areas: "logo body" "cta cta"; }
    .rl-summary { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
    .rl-summary-logo { width: 60px; height: 60px; border-radius: 13px; }
    .rl-app { padding: 15px 13px; border-radius: 14px; }
    .rl-spec-grid { grid-template-columns: minmax(0, 1fr); }
    .rl-faq-item summary { min-height: 48px; align-items: center; }
    .rl-anchors { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .rl-anchors::-webkit-scrollbar { display: none; }
    .rl-anchors a { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; }
    .rl-top { bottom: 84px; }
    .rl-404 { padding: 36px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    body.rl *,
    body.rl *::before,
    body.rl *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
