/* =========================================================
   Rider — 接单风双栏 Typecho 主题
   左侧文章流 · 右侧阅读区
   ========================================================= */

:root {
    --brand: #FFD100;
    --brand-soft: #FFF8D6;
    --brand-deep: #E9BE00;
    --red: #FF4A2E;
    /* 已读态：打开过一次的文章，按钮/滑条换成绿色 */
    --ok: #12B76A;
    --ok-deep: #0C9A57;
    --ok-soft: #E8F8F0;
    --ink: #15171C;
    --ink-2: #3B3F47;
    --muted: #8A909A;
    --muted-2: #A9AFB8;
    --bg: #F4F5F7;
    --card: #FFFFFF;
    --line: #EEF0F3;
    --dark: #111216;
    --rail-w: 404px;
    --sheet-w: 820px;
    --radius: 16px;
    --shadow-card: 0 1px 2px rgba(19, 21, 26, .04), 0 10px 24px -18px rgba(19, 21, 26, .22);
    --shadow-lift: 0 14px 30px -18px rgba(19, 21, 26, .32);
    /* 字体栈里不要放 BlinkMacSystemFont。
       Chrome 会把 -apple-system 和 BlinkMacSystemFont 当成两套系统字体，
       中文回退到 PingFang 时每个字形都要重新匹配一遍，
       实测首屏排版从 ~12ms 涨到 ~460ms，强刷一次就明显卡一下。
       -apple-system 在现代 Chrome / Safari 上都认，去掉它没有副作用。

       颜文字（kaomoji）：ヾ(•̤̀ᵕ•̤́ᵎ)้ 里的泰文声调、阿拉伯数字、组合变音、
       上标等字符，中文字体里缺字形或 mark 定位不对，回退会变成豆腐块或
       字形混排。前面放 Noto Sans（含泰文 / 阿拉伯文 / 组合符 / 音标扩展）
       和 Noto Sans Symbols 2（上标下标），中文仍由 PingFang 等系统字体兜底；
       这两个 Noto 由 Google Fonts 按 unicode-range 子集化，只拉用到的字符。 */
    --font: "Noto Sans", -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
        "Noto Sans CJK SC", "Microsoft YaHei",
        "Noto Sans Symbols", "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols",
        sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    line-height: 1.6;
}

body.mode-click,
body.mode-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button {
    font-family: inherit;
    color: inherit;
}

::selection {
    background: color-mix(in srgb, var(--brand) 55%, #fff);
    color: #111;
}

.ico {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

/* ---------------- 布局 ---------------- */

.app {
    display: flex;
    height: 100vh;
    height: 100dvh;
    width: 100%;
}

.rail {
    width: var(--rail-w);
    flex: 0 0 var(--rail-w);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: var(--bg);
    border-right: 1px solid #E8EAEE;
    scrollbar-width: thin;
    scrollbar-color: #D6DAE0 transparent;
    position: relative;
}

.rail::-webkit-scrollbar {
    width: 6px;
}

.rail::-webkit-scrollbar-thumb {
    background: #D6DAE0;
    border-radius: 6px;
}

.rail::-webkit-scrollbar-track {
    background: transparent;
}

.rail-top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--card);
    box-shadow: 0 10px 24px -24px rgba(0, 0, 0, .5);
}

/* ---------------- 顶部品牌栏 ---------------- */

.rail-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px 14px;
    background: var(--dark);
    color: #fff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 1;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--brand);
    display: grid;
    place-items: center;
    color: #15161A;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 75%, transparent);
    overflow: hidden;
}

.brand-logo .ico {
    width: 22px;
    height: 22px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text small {
    font-size: 11px;
    line-height: 1.4;
    color: #9398A1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rail-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.tool {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .09);
    color: #E7E9EE;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.tool:hover {
    background: rgba(255, 255, 255, .18);
}

.tool:active {
    transform: scale(.94);
}

.tool .ico {
    width: 16px;
    height: 16px;
}

/* ---------------- 搜索 ---------------- */

.search-pop {
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    animation: pop-in .18s ease both;
}

.search-pop form {
    display: flex;
    gap: 8px;
}

.search-pop input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 1px solid #E6E9EE;
    background: #F7F8FA;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color .18s ease, background .18s ease;
}

.search-pop input:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

.search-pop button {
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: #15161A;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

@keyframes pop-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------------- 菜单 tabs ---------------- */

.tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0 2px;
    padding: 0 8px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    /* 单行不换行：菜单项过多时靠「更多」收纳，弹窗定位才稳定不乱跑 */
    overflow: hidden;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 13px 10px 11px;
    font-size: 14px;
    font-weight: 600;
    color: #6E747E;
    white-space: nowrap;
    transition: color .18s ease;
}

.tab:hover {
    color: #1B1D22;
}

.tab.is-on {
    color: #101116;
    font-weight: 800;
}

.tab.is-on::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #101116;
}

.tab-bolt {
    width: 13px;
    height: 13px;
    color: var(--brand-deep);
}

/* ---------------- 菜单折叠（更多） ---------------- */

.tab-more {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    margin-left: 2px;
}

.tab-more[hidden] {
    display: none;
}

/* 图标按钮：收起时朝下、展开时朝上，不再用「更多 + 小箭头」那种会被挤扁的写法 */
.tab-more-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #F3F4F6;
    color: #6E747E;
    cursor: pointer;
    font-family: inherit;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.tab-more-btn .ico {
    width: 15px;
    height: 15px;
    transition: transform .22s cubic-bezier(.3, .7, .4, 1);
}

.tab-more-btn:hover {
    background: #E9EBEF;
    color: #1B1D22;
}

.tab-more-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--brand) 60%, transparent);
    outline-offset: 2px;
}

/* 当前页面在「更多」里：按钮点亮成品牌色，和普通 tab 的选中态呼应 */
.tab-more-btn.is-on {
    background: var(--brand);
    color: #15161A;
    box-shadow: 0 2px 8px rgba(255, 209, 0, .35);
}

.tab-more[data-open="1"] .tab-more-btn {
    background: #15161A;
    color: var(--brand);
    box-shadow: 0 4px 14px rgba(17, 18, 22, .25);
}

.tab-more[data-open="1"] .tab-more-btn .ico {
    transform: rotate(180deg);
}

.tab-more-pop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    /* 手机端 .rail-top 是 sticky（z-index 50），弹层挂在 body 下要压过它 */
    z-index: 600;
    min-width: 184px;
    max-height: min(62vh, 420px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px -12px rgba(17, 18, 22, .28), 0 2px 6px rgba(17, 18, 22, .06);
    animation: tab-pop-in .16s ease both;
}

@keyframes tab-pop-in {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.tab-more-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #4A5058;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}

.tab-more-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-more-item:hover {
    background: #F4F5F7;
    color: #101116;
}

.tab-more-item.is-on {
    background: var(--brand-soft);
    color: #6E5A00;
    font-weight: 700;
}

.tab-more-item.is-on::after {
    content: "✓";
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--brand-deep);
}

/* ---------------- 筛选条 ---------------- */

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 15px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.filter-chips {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 3px 2px;
    font-size: 14px;
    font-weight: 700;
    color: #1B1D22;
    cursor: pointer;
}

.filter-chip b {
    display: inline-flex;
    align-items: center;
    max-width: 120px;
    padding: 2px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 26%, #fff);
    color: #7A5B00;
    font-size: 11.5px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-chip .chev {
    width: 14px;
    height: 14px;
    color: #9AA0A9;
    transition: transform .22s ease;
}

.filter-chip[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.filter-chip.is-filtered {
    color: #7A5B00;
}

.filter-count {
    font-size: 11.5px;
    color: var(--muted);
    background: var(--bg);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

/* ---------------- 标签筛选面板 ---------------- */

.tag-panel {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
    border-bottom: 1px solid transparent;
}

.tag-panel.is-open {
    max-height: 392px;
    border-bottom-color: var(--line);
    box-shadow: 0 20px 30px -28px rgba(0, 0, 0, .55);
}

.tag-panel-inner {
    max-height: 392px;
    overflow-y: auto;
    padding: 2px 0 6px;
    scrollbar-width: thin;
    scrollbar-color: #DDE1E7 transparent;
}

.tag-panel-inner::-webkit-scrollbar {
    width: 5px;
}

.tag-panel-inner::-webkit-scrollbar-thumb {
    background: #DDE1E7;
    border-radius: 5px;
}

.tag-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    border-top: 1px solid #F6F7F9;
    cursor: pointer;
    transition: background .15s ease;
}

.tag-opt:first-child {
    border-top: 0;
}

.tag-opt:hover {
    background: #FAFBFC;
}

.tag-opt-main {
    min-width: 0;
}

.tag-opt-main b {
    display: block;
    font-size: 13.8px;
    font-weight: 600;
    color: #23262D;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-opt-main small {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--muted-2);
}

.tag-opt.is-on .tag-opt-main b {
    font-weight: 800;
    color: #111;
}

.radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #DDE1E7;
    position: relative;
    flex: 0 0 auto;
    transition: border-color .18s ease, background .18s ease;
}

.tag-opt.is-on .radio {
    border-color: var(--brand);
    background: var(--brand);
}

.tag-opt.is-on .radio::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2.5px;
    width: 5px;
    height: 9px;
    border: 2px solid #15161A;
    border-top: 0;
    border-left: 0;
    transform: rotate(42deg);
}

.tag-opt.is-empty {
    color: var(--muted-2);
    font-size: 13px;
    cursor: default;
}

/* ---------------- 文章流 ---------------- */

.feed-wrap {
    flex: 1 0 auto;
    padding: 0 12px 0;
}

.feed-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 4px 9px;
}

.feed-head-bar {
    width: 3px;
    height: 12px;
    border-radius: 3px;
    background: var(--brand);
}

.feed-head h2 {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: #6E747E;
    letter-spacing: .02em;
}

.feed {
    display: flex;
    flex-direction: column;
    /* 1.7.2：卡片之间再多留一点呼吸空间 */
    gap: 26px;
    transition: opacity .18s ease;
}

.feed.is-swapping {
    opacity: .45;
    pointer-events: none;
}

.card {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px 20px 19px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: var(--shadow-card);
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}

.card:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-1px);
}

.card.is-active {
    border-color: color-mix(in srgb, var(--brand) 70%, #fff);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 32%, transparent), var(--shadow-card);
}

.card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.card-time {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.card-time b {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -.01em;
}

.card-time span {
    font-size: 11px;
    color: var(--muted-2);
    font-variant-numeric: tabular-nums;
}

.card-tags {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
    max-width: 54%;
    overflow: hidden;
}

.card-tags .tag {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-tags .tag + .tag {
    opacity: .68;
}

.card-tags .card-comments {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

.card-tags .card-comments b {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.card-tags .card-comments i {
    font-style: normal;
}

/* 1.7.0：标题下只留分类 + 标签，替代原来的正文预览 */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    /* 1.7.8：作为第二行，文字中线与下方圆点中线重合 */
    align-self: center;
    gap: 3px 10px;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.card-meta .tag {
    display: inline;
    /* 1.7.8：字号加大，和标题一样清晰，不再小到看不清 */
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--muted);
}

.card-meta .tag-cat {
    color: #A67C00;
}

.card-body {
    display: grid;
    grid-template-columns: 48px 12px minmax(0, 1fr);
    margin-top: 18px;
    min-height: 78px;
}

.route {
    /* 1.7.8：两行等分，和卡片标题/标签逐行对齐（圆点中线 = 行中线） */
    display: grid;
    grid-template-rows: 1fr 1fr;
    min-height: 78px;
    padding: 0;
}

.route .m {
    align-self: center;
    line-height: 1;
}

.route .m b {
    display: block;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.route .m i {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-size: 9px;
    line-height: 1;
    color: var(--muted-2);
    letter-spacing: .02em;
}

.route-line {
    position: relative;
    width: 12px;
    /* 1.7.8：去掉上下 margin，让圆点跟着两行中线走而不是贴边 */
    margin: 0;
}

.route-line::before {
    content: "";
    position: absolute;
    left: 5px;
    /* 1.7.8：连线从上一行中线到下一行中线，正好穿过两个圆点 */
    top: 25%;
    bottom: 25%;
    width: 1.5px;
    background: #EEF0F4;
}

.route-line i {
    position: absolute;
    left: 2px;
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    background: #D3D8E0;
}

.route-line i:first-child {
    /* 圆点中心落在第一行中线（25% 处），半径 3.75px */
    top: calc(25% - 3.75px);
    background: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

.route-line i:last-child {
    /* 圆点中心落在第二行中线（75% 处） */
    bottom: calc(25% - 3.75px);
}

.card-main {
    min-width: 0;
    /* 1.7.8：和左侧路线一样两行等分，标题 / 分类标签各自在行内垂直居中 */
    display: grid;
    grid-template-rows: 1fr 1fr;
    min-height: 78px;
    padding-left: 0;
}

.card-title {
    align-self: center;
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: -.015em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: #121419;
}

.card-title a:hover {
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--brand) 85%, transparent);
    text-decoration-thickness: 4px;
    text-underline-offset: 2px;
}

.card-excerpt {
    height: 62px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 7px;
    font-size: 12.6px;
    line-height: 1.62;
    color: #7C828D;
    white-space: pre-wrap;
    scrollbar-width: thin;
    scrollbar-color: #DCE0E6 transparent;
}

.card-excerpt::-webkit-scrollbar {
    width: 4px;
}

.card-excerpt::-webkit-scrollbar-thumb {
    background: #DCE0E6;
    border-radius: 4px;
}

.card-excerpt::-webkit-scrollbar-track {
    background: transparent;
}

.card-excerpt:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--brand) 70%, transparent);
    outline-offset: 3px;
    border-radius: 4px;
}

.card-more {
    margin-top: 11px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* 3.png 的「抢单」按钮：一整条纯黄，黑字居中，没有多余装饰 */
    background: var(--brand);
    color: #15161A;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .06em;
    box-shadow: none;
    transition: filter .18s ease, transform .18s ease;
    overflow: hidden;
    /* 移动端：允许上下滚动页面，横向手势交给滑动逻辑，别被浏览器吞掉 */
    touch-action: pan-y;
    /* 电脑端：别让 <a> 被鼠标拖成「链接拖拽」，也别让文字被选中 */
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.card-more:hover {
    filter: brightness(1.02) saturate(1.04);
}

.card-more:active {
    transform: scale(.994);
}

.more-pill {
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    width: 38px;
    border-radius: 7px;
    background: #fff;
    display: none;
    place-items: center;
    color: var(--brand-deep);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.more-pill .ico {
    width: 14px;
    height: 14px;
}

.more-label-scroll {
    display: none;
}

/* ---------------- 流加载 ---------------- */

.feed-sentinel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 12px;
    font-size: 11.5px;
    color: var(--muted-2);
}

.spinner {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #E4E7EC;
    border-top-color: var(--brand);
    animation: spin .7s linear infinite;
}

.feed-sentinel:not(.is-busy) .spinner {
    opacity: .55;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.feed-more {
    display: block;
    width: 100%;
    height: 40px;
    margin: 2px 0 10px;
    border: 1px dashed #DCE0E6;
    border-radius: 12px;
    background: transparent;
    color: #6E747E;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.feed-more:hover {
    border-color: color-mix(in srgb, var(--brand) 70%, #DCE0E6);
    background: #fff;
    color: #15161A;
}

.feed-more:disabled {
    opacity: .5;
    cursor: default;
}

.feed-end {
    padding: 12px 0 18px;
    text-align: center;
    font-size: 11px;
    letter-spacing: .12em;
    color: #B4B9C1;
}

.feed-noscript {
    padding: 10px 0 22px;
    font-size: 12px;
}

.feed-noscript ol {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rail-foot {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 16px 26px;
    font-size: 10.5px;
    line-height: 1.6;
    color: #A8ADB6;
}

.rail-foot-theme {
    font-variant-numeric: tabular-nums;
    color: #C3C7CE;
}

/* ---------------- 空状态 ---------------- */

.empty {
    /* 1.7.5：搜索无结果时这块以前又高又空，和普通卡片尺寸对齐 */
    margin: 0;
    padding: 26px 18px 24px;
    background: var(--card);
    border: 1px solid rgba(19, 21, 26, .045);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.empty-icon {
    width: 38px;
    height: 38px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: var(--bg);
    color: #B6BBC3;
    display: grid;
    place-items: center;
}

.empty h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.empty p {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: var(--muted);
}

.empty-btn {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--brand);
    color: #15161A;
    font-size: 13px;
    font-weight: 700;
}

/* ---------------- 右侧阅读区 ---------------- */

.reader {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: #F6F7F9;
    background:
        radial-gradient(900px 520px at 88% -12%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 62%),
        radial-gradient(760px 460px at -8% 104%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%),
        #F6F7F9;
    scrollbar-width: thin;
    scrollbar-color: #D8DCE2 transparent;
}

.reader::-webkit-scrollbar {
    width: 8px;
}

.reader::-webkit-scrollbar-thumb {
    background: #D8DCE2;
    border-radius: 8px;
    border: 2px solid #F6F7F9;
}

.reader-progress {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 2px;
    background: transparent;
}

.reader-progress i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #FF7A00));
    box-shadow: 0 0 12px color-mix(in srgb, var(--brand) 70%, transparent);
    transition: width .08s linear;
}

.reader-bar {
    position: sticky;
    top: 2px;
    z-index: 55;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(246, 247, 249, .82);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(19, 21, 26, .045);
    transition: box-shadow .2s ease;
}

.reader-bar.is-stuck {
    box-shadow: 0 12px 24px -24px rgba(0, 0, 0, .5);
}

.reader-back {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #E7E9ED;
    background: #fff;
    color: #555B65;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background .18s ease, color .18s ease;
}

.reader-back:hover {
    background: #15161A;
    border-color: #15161A;
    color: #fff;
}

.reader-back .ico {
    width: 15px;
    height: 15px;
}

.reader-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 12px;
    color: #8A909A;
}

.reader-crumb .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
    flex: 0 0 auto;
}

.reader-crumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 46vw;
}

.reader-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

/* 阅读方式切换：照着 3.png 那个「抢单」按钮做 —— 黄底、黑粗字、圆角 */
.mode-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mode-switch button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #E7E9ED;
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
    color: #8A9098;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(21, 22, 26, .04);
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mode-switch button .ico {
    width: 14px;
    height: 14px;
}

.mode-switch button:hover {
    color: #15161A;
    border-color: #D8DBE0;
}

.mode-switch button.is-on {
    background: var(--brand, #FFD100);
    border-color: transparent;
    color: #15161A;
    box-shadow: 0 10px 18px -12px rgba(170, 130, 0, .95), inset 0 -2px 0 rgba(0, 0, 0, .07);
}

.mode-switch button.is-on:hover {
    color: #15161A;
}

.mode-switch button:active {
    transform: scale(.97);
}

/* 清除已读：和「点击 / 滑动」并排放在右侧栏上角，
   没读过文章时按钮是 hidden 的，不会一直占着地方 */
.read-reset {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #E7E9ED;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    color: #8A9098;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(21, 22, 26, .04);
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.read-reset .ico {
    width: 14px;
    height: 14px;
}

.read-reset:hover {
    color: var(--ok-deep);
    border-color: rgba(18, 183, 106, .38);
    background: var(--ok-soft);
}

.read-reset[hidden] {
    display: none;
}

/* 返回顶部 / 划到底部 / 跳到评论区 / 编辑：和「清除已读」同一排的小图标按钮 */
.to-top,
.to-bottom,
.to-comments,
.edit-post {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 1px solid #E7E9ED;
    border-radius: 10px;
    background: #fff;
    color: #8A9098;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(21, 22, 26, .04);
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.to-top .ico,
.to-bottom .ico,
.to-comments .ico,
.edit-post .ico {
    width: 15px;
    height: 15px;
}

.to-top:hover,
.to-bottom:hover,
.to-comments:hover,
.edit-post:hover {
    color: #15161A;
    border-color: #D8DBE0;
}

.to-top:active,
.to-bottom:active,
.to-comments:active,
.edit-post:active {
    transform: scale(.96);
}

/* 编辑按钮 hover 用品牌黄，和「点击 / 滑动」的激活色呼应 */
.edit-post:hover {
    color: #15161A;
    border-color: rgba(255, 209, 0, .6);
    background: rgba(255, 209, 0, .12);
}

.ghost-btn {
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #E7E9ED;
    background: #fff;
    font-size: 11.5px;
    font-weight: 600;
    color: #555B65;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ghost-btn:hover {
    border-color: #15161A;
    color: #15161A;
}

.reader-main {
    padding: 22px 28px 46px;
    transition: opacity .18s ease;
}

.reader.is-loading .reader-main {
    opacity: .38;
    pointer-events: none;
}

.reader-main.is-loaded {
    animation: sheet-in .26s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes sheet-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------------- 文章卡片（右侧） ---------------- */

.sheet {
    /* 1.6.4：文章 / 独立页面与插件整页模块统一铺满阅读区，自适应窗口宽度 */
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 42px 46px 38px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: 0 24px 60px -38px rgba(18, 20, 26, .42), 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.sheet-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #9AA0A9;
    letter-spacing: .02em;
}

.sheet-kicker a {
    color: #6E747E;
    background: #F4F5F7;
    border-radius: 6px;
    padding: 2px 7px;
}

.sheet-kicker a:hover {
    color: #15161A;
    background: color-mix(in srgb, var(--brand) 28%, #fff);
}

.kicker-dot {
    color: #C9CDD4;
}

.sheet-title {
    margin: 12px 0 16px;
    font-size: 32px;
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: -.028em;
    color: #111318;
}

.sheet-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: #8A909A;
}

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand);
    color: #15161A;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.meta-author {
    color: #3B3F47;
    font-weight: 600;
}

.meta-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #D3D7DE;
}

.meta-link {
    color: #8A909A;
}

.meta-link:hover {
    color: #15161A;
}

/* ---------------- 正文排版 ---------------- */

.post-content {
    font-size: 16px;
    line-height: 1.92;
    color: #33363D;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.post-content > *:first-child {
    margin-top: 0;
}

.post-content > *:last-child {
    margin-bottom: 0;
}

.post-content p {
    margin: 0 0 18px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 34px 0 14px;
    font-weight: 800;
    line-height: 1.45;
    color: #14161B;
    letter-spacing: -.015em;
}

.post-content h1 {
    font-size: 26px;
}

.post-content h2 {
    font-size: 22px;
    position: relative;
    padding-left: 14px;
}

.post-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .22em;
    bottom: .22em;
    width: 4px;
    border-radius: 4px;
    background: var(--brand);
}

.post-content h3 {
    font-size: 18.5px;
}

.post-content h4 {
    font-size: 16.5px;
}

.post-content a {
    color: #111318;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--brand) 75%, transparent);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
    transition: background .16s ease;
}

.post-content a:hover {
    background: color-mix(in srgb, var(--brand) 32%, transparent);
}

.post-content ul,
.post-content ol {
    margin: 0 0 18px;
    padding-left: 1.4em;
}

.post-content li {
    margin: 6px 0;
}

.post-content ul li::marker {
    color: var(--brand-deep);
}

.post-content blockquote {
    margin: 22px 0;
    padding: 16px 20px;
    background: #FAFBFC;
    border-left: 4px solid var(--brand);
    border-radius: 0 10px 10px 0;
    color: #4A4F58;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content code {
    font-family: var(--mono);
    font-size: .88em;
    background: #F3F4F7;
    border: 1px solid #ECEEF2;
    border-radius: 5px;
    padding: .12em .38em;
    color: #C0392B;
}

.post-content pre {
    position: relative;
    margin: 22px 0;
    padding: 18px 20px;
    background: #14161B;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
    color: #E7E9EE;
    scrollbar-width: thin;
}

.post-content pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 24px;
    padding: 0 9px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    color: #C9CDD4;
    font-size: 11px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .18s ease, background .18s ease;
}

.post-content pre:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 22px auto;
}

.post-content figure {
    margin: 22px 0;
}

.post-content figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.post-content hr {
    margin: 34px 0;
    border: 0;
    height: 1px;
    background: var(--line);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 14px;
}

.post-content th,
.post-content td {
    border: 1px solid var(--line);
    padding: 9px 12px;
    text-align: left;
}

.post-content th {
    background: #FAFBFC;
    font-weight: 700;
}

.post-content video,
.post-content iframe {
    max-width: 100%;
    border-radius: 12px;
}

/* ---------------- 文章尾部 ---------------- */

.sheet-end {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 40px 0 26px;
}

.sheet-end span {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.sheet-end i {
    font-style: normal;
    font-size: 10px;
    letter-spacing: .3em;
    color: #C2C6CD;
}

/* 右侧栏底部的主题署名（主题名 - 版本 - 作者） */
.sheet-credit {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 34px 0 8px;
    color: #B3B8C0;
    font-size: 12px;
    letter-spacing: .04em;
}

.sheet-credit-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.sheet-tags {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.sheet-tags-label {
    flex: 0 0 auto;
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted-2);
    letter-spacing: .08em;
}

.sheet-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sheet-tags-list a {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: #F5F6F8;
    color: #5B616B;
    font-size: 12px;
    transition: background .16s ease, color .16s ease;
}

.sheet-tags-list a::before {
    content: "#";
    margin-right: 1px;
    color: var(--muted-2);
}

.sheet-tags-list a:hover {
    background: color-mix(in srgb, var(--brand) 32%, #fff);
    color: #15161A;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 34px;
}

.nav-cell {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #FCFCFD;
    min-width: 0;
    transition: border-color .18s ease, background .18s ease;
}

.nav-cell:hover {
    border-color: color-mix(in srgb, var(--brand) 65%, #E7E9ED);
    background: #fff;
}

.nav-cell.is-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 10.5px;
    letter-spacing: .1em;
    color: var(--muted-2);
    margin-bottom: 5px;
}

.nav-link {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-link a:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 3px;
}

.nav-link em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--muted-2);
    font-weight: 400;
}

/* ---------------- 评论 ---------------- */

.comments {
    padding-top: 26px;
    border-top: 1px dashed #E8EAEE;
}

.comments-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.comments-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.comments-sub {
    font-size: 11.5px;
    color: var(--muted-2);
}

.comments-empty {
    margin: 0 0 18px;
    font-size: 12.5px;
    color: var(--muted);
}

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

.comment-list .comment-list {
    margin: 12px 0 0;
    padding-left: 14px;
    border-left: 2px solid #F1F3F6;
}

.comment-body {
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #FAFBFC;
    border-radius: 12px;
    border: 1px solid #F3F4F7;
}

.comment-body.comment-by-author {
    border-color: color-mix(in srgb, var(--brand) 45%, #F3F4F7);
    background: color-mix(in srgb, var(--brand) 6%, #fff);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: block;
}

.comment-author cite {
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: #23262D;
}

.comment-meta {
    margin: 4px 0 8px 34px;
    font-size: 11px;
    color: var(--muted-2);
}

.comment-meta a {
    color: inherit;
}

.comment-content {
    padding-left: 34px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #4A4F58;
    overflow-wrap: anywhere;
}

.comment-content p {
    margin: 0 0 8px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-reply {
    padding-left: 34px;
    margin-top: 6px;
    font-size: 11.5px;
}

.comment-reply a {
    color: #8A909A;
}

.comment-reply a:hover {
    color: #15161A;
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 2px;
}

.comments-pager {
    margin-bottom: 20px;
}

.comments-pager ol {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

.comments-pager a,
.comments-pager li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    border-radius: 7px;
    background: #F5F6F8;
    color: #6E747E;
}

.respond {
    margin-top: 8px;
}

.cancel-comment-reply {
    font-size: 11.5px;
    min-height: 0;
}

.cancel-comment-reply a {
    color: var(--red);
}

.respond-title {
    font-size: 14px;
    margin: 0 0 12px;
    font-weight: 800;
}

.comment-form {
    display: grid;
    gap: 10px;
}

.form-row {
    display: grid;
    gap: 5px;
}

.form-row label {
    font-size: 11px;
    color: var(--muted);
}

.form-row label i {
    font-style: normal;
    color: var(--red);
    margin-left: 2px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid #E7E9ED;
    border-radius: 10px;
    background: #FAFBFC;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
    color: var(--ink);
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.comment-form input {
    height: 40px;
}

.comment-form textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: color-mix(in srgb, var(--brand) 80%, #E7E9ED);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

.submit-btn {
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: #15161A;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .18s ease;
}

.submit-btn:hover {
    filter: brightness(.97);
}

.form-tip {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

.form-logout {
    margin-left: 8px;
    color: var(--red);
}

.comments-closed {
    font-size: 12px;
    color: var(--muted);
}

/* ---------------- 欢迎页 ---------------- */

.welcome {
    width: min(var(--sheet-w), 100%);
    margin: 0 auto;
    padding-bottom: 20px;
}

/* 大屏且只有「名片 + 统计」两块时，整组垂直居中，别让下面空一大片 */
@media (min-width: 961px) {
    .welcome {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 150px);
    }
}

.welcome-hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    padding: 38px 42px 34px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: 0 24px 60px -40px rgba(18, 20, 26, .4);
}

.welcome-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand) 34%, transparent), transparent 70%);
    pointer-events: none;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 24px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--brand);
    color: #15161A;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.welcome-badge i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #15161A;
    animation: blink 1.6s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .25; }
}

.welcome-hero h1 {
    position: relative;
    margin: 16px 0 8px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #111318;
}

.welcome-desc {
    position: relative;
    margin: 0;
    max-width: 30em;
    font-size: 13.5px;
    line-height: 1.75;
    color: #7C828D;
}

.welcome-stats {
    position: relative;
    display: flex;
    gap: 34px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed #E8EAEE;
}

.welcome-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.welcome-stats b {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.welcome-stats span {
    font-size: 10.5px;
    color: var(--muted-2);
    letter-spacing: .04em;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
}

/* ---------------- 首页广告位（1.7.0） ---------------- */

.welcome-ads {
    margin-top: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(19, 21, 26, .045);
    border-radius: 18px;
    box-shadow: 0 16px 40px -38px rgba(18, 20, 26, .4);
}

.welcome-ads-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 11px;
    font-size: 12px;
    font-weight: 700;
    color: #6E747E;
    letter-spacing: .03em;
}

.welcome-ads-head .ico {
    width: 14px;
    height: 14px;
    color: var(--muted-2);
}

.ad-link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 0;
    text-decoration: none;
    color: inherit;
}

.ad-link + .ad-link {
    border-top: 1px solid #F5F6F8;
}

/* 1.7.4：没解析出网址的后台行也照原文显示，不再整行消失 */
.ad-link-plain {
    cursor: default;
}

.ad-empty {
    margin: 0;
    padding: 6px 0 2px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted-2);
}

.ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
    height: 20px;
    padding: 0 7px;
    border-radius: 5px;
    background: #FFF4D6;
    border: 1px solid #F5DE9A;
    color: #8A6900;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

.ad-badge .ico {
    width: 11px;
    height: 11px;
}

.ad-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
    color: #2C3037;
    transition: color .16s ease;
}

.ad-go {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    color: #B9BEC7;
}

.ad-link:hover .ad-name {
    color: #A67C00;
}

.ad-link:hover .ad-go {
    color: #7A6500;
}

.welcome-panel {
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: 0 16px 40px -38px rgba(18, 20, 26, .4);
}

.welcome-panel h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    color: #6E747E;
    letter-spacing: .03em;
}

.panel-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
}

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

.mini-list li + li {
    border-top: 1px solid #F5F6F8;
}

.mini-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 13px;
}

.mini-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #2C3037;
    transition: color .16s ease;
}

.mini-list a:hover .mini-title {
    color: #000;
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}

.mini-list time {
    flex: 0 0 auto;
    font-size: 10.5px;
    color: var(--muted-2);
    font-variant-numeric: tabular-nums;
}

.mini-empty {
    font-size: 12px;
    color: var(--muted-2);
    padding: 8px 0;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chip-list a {
    display: inline-flex;
    align-items: center;
    height: 27px;
    padding: 0 11px;
    border-radius: 999px;
    background: #F5F6F8;
    font-size: 12px;
    color: #5B616B;
    transition: background .16s ease, color .16s ease;
}

.chip-list a:hover {
    background: color-mix(in srgb, var(--brand) 34%, #fff);
    color: #15161A;
}

.welcome-tip {
    margin: 16px 2px 0;
    font-size: 11.5px;
    color: #A9AFB8;
    text-align: center;
    letter-spacing: .02em;
}

/* ---------------- 404 ---------------- */

body.page-404 {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(760px 480px at 50% -10%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 60%),
        #F6F7F9;
}

.notfound {
    text-align: center;
    padding: 40px 24px;
}

.notfound-logo {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: var(--brand);
    color: #15161A;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--brand) 80%, transparent);
}

.notfound-logo .ico {
    width: 26px;
    height: 26px;
}

.notfound-code {
    margin: 0;
    font-size: 72px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.06em;
    color: #15161A;
}

.notfound h1 {
    margin: 10px 0 6px;
    font-size: 22px;
    letter-spacing: -.02em;
}

.notfound p {
    margin: 0 0 22px;
    font-size: 13px;
    color: var(--muted);
}

/* =========================================================
   0.2.0 新增：滑动按钮 / 文章目录 / 说说时间线
   ========================================================= */

/* ---------------- 滑动按钮 ---------------- */

.card-more .more-label {
    position: relative;
    z-index: 2;
}

/* 未读 / 已读两套文案：
   没打开过是「查看全文」，打开过一次换成「再次查看全文」。
   只切文字，不动按钮结构，所以点击 / 滑动两种模式都能用。 */
.card-more .more-text-read {
    display: none;
}

.card.is-read .card-more .more-text-new {
    display: none;
}

.card.is-read .card-more .more-text-read {
    display: inline;
}

.card-more .more-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 10px;
    background: rgba(21, 22, 26, .12);
    opacity: 0;
}

body.mode-scroll .card-more {
    justify-content: center;
    background: var(--brand);
    box-shadow: inset 0 0 0 1px rgba(19, 21, 26, .06);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

body.mode-scroll .card-more .more-fill {
    display: block;
    opacity: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .5));
    transition: width .16s ease;
}

body.mode-scroll .card-more .more-label {
    color: rgba(21, 22, 26, .66);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .06em;
    transition: opacity .18s ease, color .18s ease;
}

body.mode-scroll .card-more .more-label-click {
    display: none;
}

body.mode-scroll .card-more .more-label-scroll {
    display: inline;
}

body.mode-scroll .card-more .more-pill {
    display: grid;
    width: 46px;
    border-radius: 9px;
    background: #15161A;
    color: var(--brand);
    z-index: 3;
    cursor: grab;
    will-change: transform;
    transition: transform .24s cubic-bezier(.22, .9, .3, 1.1), background .18s ease;
}

body.mode-scroll .card-more .more-pill .ico {
    width: 16px;
    height: 16px;
}

body.mode-scroll .card-more.is-dragging .more-pill {
    transition: none;
    cursor: grabbing;
}

body.mode-scroll .card-more.is-dragging .more-fill {
    transition: none;
}

body.mode-scroll .card-more.is-armed .more-label {
    opacity: .32;
}

body.mode-scroll .card-more.is-armed .more-pill {
    background: #000;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent);
}

body.mode-scroll .card-more.is-hint .more-pill {
    animation: pill-hint .64s cubic-bezier(.3, .7, .4, 1);
}

@keyframes pill-hint {
    0%, 100% { transform: translateX(0); }
    38% { transform: translateX(14px); }
    72% { transform: translateX(4px); }
}

body.mode-scroll .card-more.is-done {
    background: var(--brand);
}

/* ---------------- 已读态 ----------------
   浏览器本地记着「打开过」的文章，按钮 / 滑条从黄色换成绿色：
   点击模式是一整条绿色按钮，滑动模式是浅绿底 + 绿色滑块。
   颜色跟着状态走，不依赖主题设置，换主题也不会丢。 */

.card.is-read .card-more {
    background: var(--ok);
    color: #fff;
}

.card.is-read .card-more:hover {
    filter: brightness(1.04) saturate(1.02);
}

body.mode-scroll .card.is-read .card-more {
    background: #DCF6E9;
    box-shadow: inset 0 0 0 1px rgba(18, 183, 106, .22);
}

body.mode-scroll .card.is-read .card-more .more-fill {
    background: linear-gradient(90deg, #A7F3D0, #34D399);
}

body.mode-scroll .card.is-read .card-more .more-label {
    color: #0C7C49;
}

body.mode-scroll .card.is-read .card-more .more-pill {
    background: var(--ok);
    color: #fff;
}

body.mode-scroll .card.is-read .card-more.is-armed .more-pill {
    background: var(--ok-deep);
    box-shadow: 0 0 0 3px rgba(18, 183, 106, .26);
}

body.mode-scroll .card.is-read .card-more.is-done {
    background: var(--ok);
}

body.mode-scroll .card.is-read .card-more.is-done .more-label {
    color: #fff;
}

/* ---------------- 文章目录 ---------------- */

.feed-head .toc-back {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: #F1F2F5;
    color: #565C66;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.feed-head .toc-back:hover {
    background: #E7E9EE;
    color: #15161A;
}

.feed-head .toc-back .ico {
    width: 12px;
    height: 12px;
}

.tool.is-on {
    background: var(--brand);
    color: #15161A;
}

.toc-panel {
    padding: 2px 2px 10px;
}

.toc-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 6px 10px;
}

.toc-head-bar {
    width: 3px;
    height: 12px;
    border-radius: 3px;
    background: var(--brand);
}

.toc-head h3 {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: #6E747E;
    letter-spacing: .02em;
}

.toc-head-count {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted-2);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-item a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
    color: #4B5058;
    transition: background .16s ease, color .16s ease;
}

.toc-item.lv-3 a {
    padding-left: 26px;
    font-size: 12.5px;
    color: #6E747E;
}

.toc-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #D3D7DE;
    margin-top: 7px;
    flex: 0 0 auto;
    transition: background .16s ease, transform .16s ease;
}

.toc-item a:hover {
    background: #F5F6F8;
    color: #15161A;
}

.toc-item.is-on a {
    background: color-mix(in srgb, var(--brand) 20%, #fff);
    color: #15161A;
    font-weight: 700;
}

.toc-item.is-on .toc-dot {
    background: #15161A;
    transform: scale(1.25);
}

.toc-empty {
    padding: 26px 10px 34px;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted-2);
}

body.toc-open .feed-end,
body.toc-open .feed-sentinel,
body.toc-open .feed-more,
body.toc-open .feed-noscript {
    display: none !important;
}

/* ---------------- 说说：布局与时间线 ---------------- */

body.layout-stream {
    --rail-w: 508px;
}


.shuo-stream {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shuo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(150deg, #FFE45C, var(--brand));
    color: #15161A;
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 800;
    flex: 0 0 auto;
    box-shadow: 0 6px 14px -10px rgba(21, 22, 26, .5);
}

.shuo-avatar.is-lg {
    width: 52px;
    height: 52px;
    font-size: 20px;
}

.shuo-avatar.is-xl {
    width: 64px;
    height: 64px;
    font-size: 24px;
}

.shuo-banner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 18px 20px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: var(--shadow-card);
}

.shuo-banner-main {
    flex: 1;
    min-width: 0;
    padding-bottom: 20px;
}

.shuo-banner-title {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}

.shuo-banner-title b {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.shuo-handle {
    color: var(--muted-2);
    font-size: 12px;
}

.shuo-banner-main p {
    margin: 6px 0 9px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--muted);
}

.shuo-banner-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--muted);
}

.shuo-banner-stats b {
    color: var(--ink);
    font-weight: 700;
}

.shuo-banner-stats .dot,
.shuo-stats .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #C9CDD5;
    display: inline-block;
    flex: 0 0 auto;
}

.shuo-back {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #F5F6F8;
    color: var(--muted);
    font-size: 11.5px;
    transition: background .16s ease, color .16s ease;
}

.shuo-back:hover {
    background: #EBEDF1;
    color: #15161A;
}

.shuo-back .ico {
    width: 12px;
    height: 12px;
}

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

.shuo-card {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 15px 15px 12px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.shuo-card:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-1px);
}

.shuo-card.is-active {
    border-color: color-mix(in srgb, var(--brand) 74%, #fff);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 34%, transparent), var(--shadow-card);
}

.shuo-card .shuo-avatar {
    width: 40px;
    height: 40px;
    font-size: 15px;
}

.shuo-main {
    flex: 1;
    min-width: 0;
}

.shuo-head {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.shuo-head b {
    font-size: 13.5px;
    font-weight: 700;
}

.shuo-head time {
    margin-left: auto;
    font-size: 11.5px;
    color: var(--muted-2);
}

.shuo-text {
    position: relative;
    max-height: 330px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.75;
    color: #33363D;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.shuo-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 84%);
    pointer-events: none;
    display: none;
}

/* 只有真的被截断时才显示渐变，短说说保持干净 */
.shuo-text.is-clamped::after {
    display: block;
}

.shuo-text.is-full {
    max-height: none;
    overflow: visible;
    /* 展开/收起字号保持一致：沿用 .shuo-text 的 14px / 1.75，不放大 */
}

.shuo-text.is-full::after {
    display: none;
}

/* 说说展开/收起按钮 */
.shuo-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 3px 10px;
    border: 0;
    border-radius: 999px;
    background: #F5F6F8;
    color: #6E747E;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color .16s ease, background .16s ease;
}

.shuo-toggle:hover {
    color: #15161A;
    background: color-mix(in srgb, var(--brand) 26%, #fff);
}

.shuo-toggle[hidden] {
    display: none;
}

.shuo-toggle .shuo-toggle-less {
    display: none;
}

.shuo-toggle[aria-expanded="true"] .shuo-toggle-more {
    display: none;
}

.shuo-toggle[aria-expanded="true"] .shuo-toggle-less {
    display: inline;
}

.shuo-text p {
    margin: 0 0 9px;
}

.shuo-text p:last-child {
    margin-bottom: 0;
}

.shuo-text img {
    display: block;
    width: auto;
    /* 1.6.5：图片按说说正文的尺寸走，别铺满整个阅读区 */
    max-width: min(420px, 100%);
    max-height: 360px;
    height: auto;
    object-fit: contain;
    margin: 9px 0;
    border-radius: 11px;
}

.shuo-text.is-full img {
    max-width: min(680px, 100%);
    max-height: none;
}

.shuo-text h2,
.shuo-text h3 {
    font-size: 15px;
    margin: 12px 0 6px;
}

.shuo-text blockquote {
    margin: 9px 0;
    padding: 7px 12px;
    border-left: 3px solid var(--brand);
    border-radius: 0 8px 8px 0;
    background: #FAFAFB;
    color: #5A5F68;
    font-size: 13px;
}

.shuo-text a {
    color: #B48800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.shuo-text ul,
.shuo-text ol {
    margin: 6px 0;
    padding-left: 20px;
}

/* 说说里的代码：以前只按普通文本排，看起来像没解析 */
.shuo-text code {
    font-family: var(--mono);
    font-size: .88em;
    background: #F3F4F7;
    border: 1px solid #ECEEF2;
    border-radius: 5px;
    padding: .1em .34em;
    color: #B33A2B;
}

.shuo-text pre {
    position: relative;
    margin: 10px 0;
    padding: 14px 16px;
    background: #14161B;
    border-radius: 11px;
    overflow-x: auto;
    font-size: 12.5px;
    line-height: 1.68;
    color: #E7E9EE;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.shuo-text pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    white-space: pre;
}

.shuo-text pre:hover .copy-btn {
    opacity: 1;
}

.shuo-text table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    font-size: 12.5px;
}

.shuo-text th,
.shuo-text td {
    padding: 6px 9px;
    border: 1px solid #E9EBF0;
    text-align: left;
}

.shuo-text th {
    background: #F7F8FA;
    font-weight: 700;
}

.shuo-text hr {
    margin: 14px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.shuo-text h4,
.shuo-text h5 {
    font-size: 14px;
    margin: 10px 0 4px;
}

.shuo-text .sc-alert,
.shuo-text .sc-collapse,
.shuo-text .sc-quote {
    margin: 10px 0;
}

.shuo-text .sc-alert {
    padding: 11px 13px;
    font-size: 13px;
}

.shuo-text .sc-copy {
    margin: 8px 0;
}

.shuo-text .sc-progress {
    margin: 10px 0;
}

.shuo-text iframe,
.shuo-text video {
    max-width: 100%;
    border-radius: 11px;
}

.shuo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.shuo-tags a {
    padding: 2px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 18%, #fff);
    color: #A67C00;
    font-size: 11.5px;
    font-weight: 600;
}

.shuo-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

.shuo-act {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    transition: color .16s ease;
}

.shuo-act:hover {
    color: #15161A;
}

.shuo-act .ico {
    width: 14px;
    height: 14px;
}

.shuo-time {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted-2);
}

.shuo-empty {
    padding: 46px 20px;
    border-radius: 16px;
    border: 1px dashed #E2E5EA;
    background: #fff;
    text-align: center;
}

.shuo-empty .ico {
    width: 30px;
    height: 30px;
    color: #C9CDD5;
}

.shuo-empty h3 {
    margin: 10px 0 4px;
    font-size: 15px;
}

.shuo-empty p {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
}

.shuo-foot {
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.shuo-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
    transition: background .16s ease, color .16s ease;
}

.shuo-more:hover {
    background: #F7F8FA;
    color: #15161A;
}

.shuo-more.is-busy {
    opacity: .45;
    pointer-events: none;
}

.shuo-end {
    font-size: 12px;
    color: var(--muted-2);
}

/* ---------------- 说说：详情与介绍 ---------------- */

.shuo-sheet {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 30px 34px 26px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: 0 24px 60px -38px rgba(18, 20, 26, .42), 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.shuo-sheet-title {
    margin: 2px 0 16px;
    font-size: 22px;
    line-height: 1.42;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #111318;
    word-break: break-word;
}

.shuo-sheet-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.shuo-sheet-id {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.shuo-sheet-id b {
    font-size: 15px;
    font-weight: 800;
}

.shuo-sheet-id span {
    font-size: 12px;
    color: var(--muted-2);
}

.shuo-sheet-head time {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted-2);
}

.shuo-stats {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 20px 0 4px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
}

.shuo-stats a {
    color: #B48800;
    font-weight: 600;
}

.shuo-sheet .comments {
    margin-top: 8px;
}

.shuo-intro {
    width: min(680px, 100%);
    margin: 0 auto;
    padding-bottom: 30px;
}

.shuo-intro-card {
    padding: 36px 34px 32px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(19, 21, 26, .045);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.shuo-intro-card h2 {
    margin: 14px 0 8px;
    font-size: 22px;
    letter-spacing: -.02em;
}

.shuo-intro-card p {
    max-width: 400px;
    margin: 0 auto 20px;
    font-size: 13px;
    line-height: 1.85;
    color: var(--muted);
}

.shuo-intro-stats {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin: 18px 0 24px;
}

.shuo-intro-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shuo-intro-stats b {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.shuo-intro-stats span {
    font-size: 11px;
    color: var(--muted-2);
}

.shuo-intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--brand);
    color: #15161A;
    font-size: 13px;
    font-weight: 700;
    transition: filter .16s ease;
}

.shuo-intro-btn:hover {
    filter: brightness(1.04);
}

.shuo-intro-btn .ico {
    width: 14px;
    height: 14px;
}

/* ---------------- 欢迎页「说说」入口 ---------------- */

.welcome-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 9px 17px;
    border-radius: 999px;
    background: #15161A;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    transition: transform .16s ease, background .16s ease;
}

.welcome-cta:hover {
    background: #000;
    transform: translateY(-1px);
}

.welcome-cta .ico {
    width: 14px;
    height: 14px;
    color: var(--brand);
}

/* ---------------- 插件整页模块 ---------------- */

.sheet.is-embed {
    width: 100%;
    max-width: none;
    padding: 18px 20px 22px;
}

.sheet.is-embed .post-content {
    font-size: 14px;
    line-height: 1.7;
}

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

@media (max-width: 1280px) {
    :root {
        --rail-w: 372px;
        --sheet-w: 780px;
    }

    .reader-main {
        padding: 20px 22px 40px;
    }

    .sheet {
        padding: 36px 36px 34px;
    }

    .sheet-title {
        font-size: 29px;
    }
}

@media (max-width: 1080px) {
    :root {
        --rail-w: 348px;
        --sheet-w: 720px;
    }

    .sheet {
        padding: 30px 28px 30px;
    }

    .sheet-title {
        font-size: 26px;
    }

    .welcome-hero {
        padding: 30px 30px 28px;
    }

    .welcome-hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 960px) {
    body.mode-click,
    body.mode-scroll {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .app {
        display: block;
        height: auto;
        min-height: 100vh;
    }

    .rail {
        width: 100%;
        height: auto;
        min-height: 100vh;
        overflow: visible;
        border-right: 0;
    }

    .rail-top {
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .reader {
        display: none;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    body.is-single .rail {
        display: none;
    }

    body.is-single .reader {
        display: block;
    }

    .reader-bar {
        top: 0;
        padding: 10px 14px;
        background: rgba(246, 247, 249, .94);
    }

    .reader-crumb span:last-child {
        max-width: 40vw;
    }

    .reader-main {
        padding: 12px 10px 34px;
    }

    .reader-progress {
        display: none;
    }

    .sheet {
        width: 100%;
        border-radius: 16px;
        padding: 26px 20px 24px;
    }

    .sheet-title {
        font-size: 24px;
    }

    .sheet-meta {
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .post-content {
        font-size: 15.5px;
        line-height: 1.86;
    }

    .post-content h2 {
        font-size: 20px;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .nav-cell.is-next {
        text-align: left;
    }

    .welcome {
        padding-bottom: 10px;
    }

    .welcome-hero {
        border-radius: 16px;
        padding: 26px 22px 24px;
    }

    .welcome-hero h1 {
        font-size: 27px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }

    /* 窄屏只留图标，切换入口别整个消失 */
    .mode-switch button span {
        display: none;
    }

    .mode-switch button {
        padding: 0 10px;
    }

    /* 清除已读在手机上同样只留图标，别把阅读方式挤出去 */
    .read-reset {
        padding: 0 9px;
    }

    .read-reset span {
        display: none;
    }

    /* 移动端选「滑动」后，卡片按钮也按滑动样式来：
       之前这里强制显示「点击」文案，导致手机上选了滑动仍写着「点击查看全文」。 */
    body.mode-scroll .card-more .more-label {
        color: #15161A;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: .06em;
    }

    body.mode-scroll .card.is-read .card-more {
        background: var(--ok);
    }

    body.mode-scroll .card.is-read .card-more .more-label {
        color: #fff;
    }

    .rail-foot {
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .brand-text strong {
        font-size: 16px;
    }

    .brand-text small {
        max-width: 170px;
    }

    .tabs {
        padding: 0 4px;
    }

    .tab {
        padding: 13px 10px 11px;
        font-size: 14px;
    }

    .filter-bar {
        padding: 10px 13px;
    }

    .feed-wrap {
        padding: 0 10px;
    }

    .feed {
        gap: 20px;
    }

    .card {
        padding: 16px 14px 14px;
    }

    .card-title {
        font-size: 17px;
    }

    .card-body {
        grid-template-columns: 44px 10px minmax(0, 1fr);
        margin-top: 15px;
        min-height: 68px;
    }

    .route,
    .card-main {
        min-height: 68px;
    }

    .route .m b {
        font-size: 16px;
    }

    .card-tags {
        max-width: 48%;
    }

    .welcome-stats {
        gap: 24px;
    }

    .reader-actions .ghost-btn {
        display: none;
    }
}

@media (max-width: 420px) {
    .card-time span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   0.4.0 首页右栏：骑手名片 + 文章统计 + 美团跑腿
   ========================================================= */

.rider-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 22px 24px 24px;
    border-radius: 22px;
    background:
        radial-gradient(120% 90% at 85% 0%, #FFE96B 0%, rgba(255, 233, 107, 0) 55%),
        linear-gradient(150deg, #FFE45C 0%, #FFD100 46%, #F5C400 100%);
    color: #15161A;
    box-shadow: 0 24px 60px -38px rgba(214, 168, 0, .65);
}

.rider-card::before,
.rider-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.rider-card::before {
    right: -60px;
    bottom: -110px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 68%);
}

.rider-card::after {
    left: -40px;
    top: -80px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%);
}

.rider-card-top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.rider-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #15161A;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .45), 0 10px 20px -12px rgba(120, 92, 0, .6);
    flex: 0 0 auto;
    overflow: hidden;
}

.rider-avatar.has-img {
    background: #fff;
}

.rider-avatar.has-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rider-id {
    min-width: 0;
}

.rider-id h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 4px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
}

.rider-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid rgba(21, 22, 26, .28);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    color: rgba(21, 22, 26, .78);
}

.rider-id p {
    margin: 0;
    font-size: 11.5px;
    color: rgba(21, 22, 26, .58);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 工作证右上角「最后更新」 */
.rider-updated {
    margin-left: auto;
    align-self: flex-start;
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 700;
    color: rgba(21, 22, 26, .62);
    white-space: nowrap;
}

/* 联系方式横向一列：放在工作证下方、文章统计上方，占满整行 */
.welcome-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid rgba(19, 21, 26, .045);
    border-radius: 16px;
    box-shadow: 0 16px 40px -38px rgba(18, 20, 26, .4);
}

/* 每个联系方式：图标+名称 | 复制 | 打开 */
.rider-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 8px 0 12px;
    border-radius: 999px;
    background: #F5F6F8;
    color: #3A3F47;
    transition: background .16s ease;
}

.rider-contact-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #3A3F47;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

.rider-contact-label .ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.rider-contact-label .contact-icon-img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    flex: 0 0 auto;
}

.rider-contact-label .contact-icon-emoji {
    font-size: 14px;
    line-height: 1;
    flex: 0 0 auto;
}

.rider-contact-label .contact-name {
    white-space: nowrap;
}

/* 复制 / 打开小按钮 */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #8A9098;
    cursor: pointer;
    text-decoration: none;
    transition: color .16s ease, background .16s ease, transform .16s ease;
}

.contact-btn:hover {
    color: #15161A;
    background: color-mix(in srgb, var(--brand) 26%, #fff);
}

.contact-btn:active {
    transform: scale(.94);
}

.contact-btn .ico {
    width: 14px;
    height: 14px;
}

.contact-btn.is-copied {
    color: var(--ok);
}

.rider-metrics {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 20px 0 18px;
}

.rider-metrics div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 12px;
    border-left: 1px solid rgba(21, 22, 26, .14);
}

.rider-metrics div:first-child {
    padding-left: 0;
    border-left: 0;
}

.rider-metrics b {
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.rider-metrics b small {
    font-size: 11px;
    font-weight: 700;
}

.rider-metrics i {
    font-style: normal;
    font-size: 10.5px;
    color: rgba(21, 22, 26, .58);
    letter-spacing: .02em;
}

.rider-card-actions {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 点赞是主按钮：占满整行，一眼就能看到 */
.rider-like {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: #15161A;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    box-shadow: 0 14px 26px -16px rgba(21, 22, 26, .7);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.rider-like:hover {
    transform: translateY(-1px);
    background: #000;
}

.rider-like .like-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 209, 0, .16);
    color: var(--brand);
}

.rider-like .like-ico .ico {
    width: 16px;
    height: 16px;
}

.rider-like .like-num {
    font-size: 19px;
    line-height: 1;
    letter-spacing: -.01em;
}

.rider-like .like-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, .58);
}

.rider-like.is-liked {
    background: #fff;
    color: #15161A;
}

/* 已点赞时别再回到黑底：悬停给一点点品牌色，
   不然鼠标一放上去按钮就又「变黑」了 */
.rider-like.is-liked:hover {
    background: var(--brand-soft);
    color: #15161A;
}

.rider-like.is-liked .like-ico {
    background: var(--brand);
    color: #15161A;
}

.rider-like.is-liked .like-label {
    color: rgba(21, 22, 26, .5);
}

.rider-like.is-liked .like-ico .ico {
    fill: currentColor;
    fill-opacity: .22;
}

.rider-like.just-liked {
    animation: likePop .45s ease;
}

@keyframes likePop {
    0% { transform: scale(1); }
    35% { transform: scale(1.035); }
    100% { transform: scale(1); }
}

/* 美团跑腿缩成一个小方块，图标换成二维码 */
.rider-contact-wrap {
    position: static;
    flex: 0 0 auto;
}

.rider-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 52px;
    padding: 0 15px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    color: #15161A;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px -18px rgba(90, 68, 0, .5);
    transition: transform .18s ease, background .18s ease;
}

.rider-contact:hover {
    transform: translateY(-1px);
    background: #fff;
}

.rider-contact .contact-ico {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rider-contact .ico {
    width: 20px;
    height: 20px;
}

.rider-contact .contact-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-preview {
    position: absolute;
    /* 卡片是 overflow:hidden，提示贴着按钮往上弹，别超出卡片 */
    right: 16px;
    bottom: 84px;
    width: max-content;
    max-width: 200px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 50px -20px rgba(21, 22, 26, .5);
    border: 1px solid rgba(19, 21, 26, .06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(.97);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    pointer-events: none;
    text-align: center;
    z-index: 6;
}

.qr-preview::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-right: 1px solid rgba(19, 21, 26, .06);
    border-bottom: 1px solid rgba(19, 21, 26, .06);
    transform: translateX(-50%) rotate(45deg);
}

.qr-preview span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-2);
}

.rider-contact-wrap:hover .qr-preview,
.rider-contact:focus-visible ~ .qr-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 二维码弹窗 */

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12, 13, 16, .55);
    backdrop-filter: blur(6px);
}

.qr-modal-card {
    position: relative;
    width: min(360px, 92vw);
    padding: 26px 26px 22px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
    animation: qrIn .22s ease;
}

@keyframes qrIn {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to { opacity: 1; transform: none; }
}

.qr-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background: #F3F4F7;
    color: #5E646E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qr-modal-close .ico {
    width: 14px;
    height: 14px;
}

/* 多二维码弹窗：横向排列、自动换行 */
.qr-modal-card.is-multi {
    width: min(560px, 92vw);
    padding: 28px 24px 22px;
}

.qr-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 24px;
}

.qr-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-item img {
    width: 170px;
    height: 170px;
    display: block;
    margin: 0;
    border-radius: 14px;
    background: #FFD100;
}

.qr-modal-card.is-single .qr-item img {
    width: 210px;
    height: 210px;
}

.qr-item figcaption {
    font-size: 13px;
    font-weight: 700;
    color: #1B1D22;
}

.qr-item-tip {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}

body.qr-open {
    overflow: hidden;
}

body.is-lightbox {
    overflow: hidden;
}

/* ---------- 文章统计 ---------- */

.stat-tiles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 14px 0 16px;
}

.stat-tiles div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 8px;
    border-radius: 10px;
    background: #F7F8FA;
    text-align: center;
}

.stat-tiles b {
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.stat-tiles span {
    font-size: 10px;
    color: var(--muted-2);
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--ink-2);
}

.stat-bar-name {
    width: 4.2em;
    flex: 0 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-bar-track {
    flex: 1;
    height: 5px;
    border-radius: 99px;
    background: #F0F1F4;
    overflow: hidden;
}

.stat-bar-track i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--brand);
}

.stat-bar-num {
    width: 2em;
    text-align: right;
    color: var(--muted-2);
    font-variant-numeric: tabular-nums;
}

.stat-foot {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px dashed #EDEFF3;
    font-size: 10.5px;
    color: var(--muted-2);
}

.stat-foot .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #C9CDD4;
}

/* ---------- 说说页：左栏概要 + 右栏时间线 ---------- */

body.is-shuo-page .feed-head {
    display: none;
}

body.is-shuo-page .feed-wrap {
    padding-top: 8px;
}

.shuo-rail {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 6px 4px 20px;
}


.shuo-rail-tags {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(19, 21, 26, .05);
    box-shadow: var(--shadow-card);
}

.shuo-rail-tags h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-2);
}

.shuo-rail-tags h3 .ico {
    width: 14px;
    height: 14px;
    color: var(--muted-2);
}

.shuo-tags-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

/* 1.7.5：收起时去掉标题下方的空白，标签云卡片只剩一行 */
.shuo-rail-tags.is-tags-collapsed .shuo-tags-head {
    margin-bottom: 0;
}

.shuo-tags-head h3 {
    margin: 0;
}

.shuo-tags-count {
    font-size: 10px;
    color: var(--muted-2);
    font-variant-numeric: tabular-nums;
}

/* 1.7.2：标签云默认收起，点标题右侧按钮展开 */
.shuo-tags-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shuo-tags-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border: 1px solid rgba(19, 21, 26, .08);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.shuo-tags-toggle:hover {
    background: var(--brand-soft);
    color: #7A6500;
}

.shuo-tags-toggle .ico {
    width: 11px;
    height: 11px;
    transition: transform .18s ease;
}

.shuo-tags-toggle[aria-expanded="true"] .ico {
    transform: rotate(180deg);
}

.shuo-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

/* 1.7.9：统一大小的药丸标签——不再按数量改变字号/高度，左边名称、右边数字 */
.shuo-tag-cloud a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #F6F7F9;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.shuo-tag-cloud a:hover {
    background: var(--brand-soft);
    color: #7A6500;
    transform: translateY(-1px);
}

.shuo-tag-cloud a.is-on {
    background: #FFD100;
    color: #15161A;
}

.shuo-tag-cloud a.is-on small {
    background: rgba(21, 22, 26, .12);
    color: rgba(21, 22, 26, .72);
}

.shuo-tag-clear {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: #7A6500;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.shuo-tag-clear:hover {
    background: #FFD100;
    color: #15161A;
}

.shuo-tag-clear svg {
    width: 12px;
    height: 12px;
}

.shuo-tag-cloud small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #EBEDF1;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.shuo-tags-note {
    margin: 10px 0 0;
    font-size: 10.5px;
    color: var(--muted-2);
}

.shuo-rail-empty {
    margin: 0;
    font-size: 11.5px;
    color: var(--muted-2);
}

/* ---------------- 说说页左栏列表（1.7.0） ---------------- */

/* 1.7.1：说说列表改用首页同款卡片，外层不再包白色容器 */
.shuo-rail-posts {
    margin-top: 4px;
}

.shuo-posts-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 4px 0;
    margin-bottom: 12px;
}

.shuo-posts-head h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-2);
}

.shuo-posts-head h3 .ico {
    width: 14px;
    height: 14px;
    color: var(--muted-2);
}

.shuo-posts-count {
    font-size: 10px;
    color: var(--muted-2);
    font-variant-numeric: tabular-nums;
}

/* 1.7.1：直接用 .feed 卡片流（与首页一致），不再单独限高 */
.shuo-post-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* 说说页底部 footer（1.7.0） */
.shuo-page-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 20px 40px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: #B3B8C0;
    text-align: center;
}

.shuo-page-foot .sheet-credit {
    margin: 8px 0 0;
    width: 100%;
    justify-content: center;
    font-size: 11px;
    color: #C3C7CE;
}


@media (max-width: 720px) {
    .rider-card {
        padding: 18px 18px 20px;
    }

    .rider-metrics b {
        font-size: 19px;
    }

    .rider-id h2 {
        font-size: 18px;
    }

    .stat-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------------- 0.5.0 兜底样式 ---------------- */

.rider-notice {
    margin: 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: #FFF8E1;
    border: 1px dashed rgba(180, 140, 0, .38);
    color: #7A6500;
    font-size: 13px;
    line-height: 1.7;
}

.kit-fallback {
    padding: 4px 2px 8px;
}

.kit-fallback ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.kit-fallback li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #F7F8FA;
}

.kit-fallback a {
    font-weight: 600;
    color: var(--ink);
}

.kit-fallback a:hover {
    color: #7A6500;
}

.kit-fallback span {
    flex: 0 0 auto;
    font-size: 11px;
    color: var(--muted-2);
    font-variant-numeric: tabular-nums;
}
