/**
 * 主题二（slate）· 独立样式
 */
.st-root {
    --st-accent: #24a66a;
    --st-accent-h: #168855;
    --st-accent-bg: #e8f5ee;
    /* Markdown 强调色：仅主题二显式覆盖为青绿（共享 markdown-render 默认黑） */
    --vs-md-accent: var(--st-accent);
    --st-fg: #1a1a2e;
    --st-fg2: #555770;
    --st-fg3: #8b8da3;
    --st-border: rgba(36, 166, 106, 0.18);
    /* 实体表面色：弹窗/公告条等不可用半透明，否则会透出背后内容 */
    --st-card: #ffffff;
    --st-line: #d7e5dd;
    --st-bg: #eef6f1;
    --st-bg-hi: #f4fbf7;
    --st-bg-lo: #dff0e8;
    --st-bg-alt: #f4faf7;
    --st-surface: rgba(255, 255, 255, 0.88);
    --st-wash-a: rgba(36, 166, 106, 0.14);
    --st-wash-b: rgba(72, 193, 134, 0.10);
    --st-bar-end: rgba(240, 250, 245, 0.94);
    --st-foot-start: rgba(244, 250, 247, 0.95);
    --st-foot-end: rgba(223, 240, 232, 0.98);
    --st-drawer-bg: #f0faf5;
    --st-card-grad: rgba(236, 248, 242, 0.88);
    --st-search-bg: rgba(240, 250, 245, 0.95);
    --st-pill-bg: rgba(232, 245, 238, 0.96);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, var(--st-bg-hi) 0%, var(--st-bg) 42%, var(--st-bg-lo) 100%);
    color: var(--st-fg);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.st-root::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 45% at 5% -5%, var(--st-wash-a), transparent 55%),
        radial-gradient(ellipse 55% 40% at 95% 105%, var(--st-wash-b), transparent 50%);
}

.st-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ── 顶栏 ── */
.st-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, var(--st-bar-end) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--st-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.st-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 56px;
}

.st-bar__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.st-tint {
    position: relative;
    flex-shrink: 0;
}

.st-tint__btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.st-tint__btn:hover {
    border-color: color-mix(in srgb, var(--st-accent) 40%, transparent);
}

.st-tint__btn .theme-trigger-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.st-tint__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(4, 28px);
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--st-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.st-tint__panel[hidden] {
    display: none !important;
}

.st-tint__swatch {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    background: var(--swatch, #fff);
    cursor: pointer;
    padding: 0;
}

.st-tint__swatch.is-on,
.st-tint__swatch:hover {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--st-accent) 25%, transparent);
}

.st-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
    max-width: min(52vw, 280px);
}

.st-brand__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.st-brand__name {
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    color: var(--st-fg);
    transition: color 0.15s;
}

.st-brand__name:hover {
    color: var(--st-accent);
}

.st-brand__img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.st-brand__fallback,
.st-drawer__fallback,
.st-foot__fallback {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--st-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-brand__fallback::before,
.st-drawer__fallback::before,
.st-foot__fallback::before {
    content: '⚡';
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.st-foot__fallback {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.st-foot__fallback::before {
    font-size: 11px;
}

.st-bar__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.st-bar__link {
    font-size: 14px;
    color: var(--st-fg2);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    transition: color 0.15s;
}

.st-bar__link:hover {
    color: var(--st-fg);
}

.st-bar__link.is-on {
    color: var(--st-accent);
    font-weight: 600;
}

.st-bar__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: var(--st-accent);
    color: #fff;
    flex-shrink: 0;
    transition: background 0.15s;
}

.st-bar__login:hover {
    background: var(--st-accent-h);
    color: #fff;
}

.st-bar__login--block {
    width: 100%;
    height: 44px;
}

.st-bar__login--user {
    gap: 8px;
    background: #fff;
    color: var(--st-fg);
    border: 1px solid var(--st-border);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.st-bar__login--user:hover {
    background: #fff;
    color: var(--st-accent);
    border-color: var(--st-accent);
    box-shadow: 0 2px 12px rgba(36, 166, 106, 0.1);
    transform: translateY(-1px);
}

.st-bar__login--block.st-bar__login--user {
    background: #fff;
    color: var(--st-fg);
}

.st-bar__login--block.st-bar__login--user:hover {
    background: var(--st-accent-bg);
    color: var(--st-accent);
}

.st-bar__login-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--st-border);
}

.st-bar__menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
}

.st-bar__menu span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--st-fg);
    border-radius: 1px;
}

/* ── 右侧抽屉（仅手机端） ── */
.st-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 80;
}

.st-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(288px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, var(--st-drawer-bg) 100%);
    border-left: 1px solid var(--st-border);
    z-index: 90;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.24s ease;
    box-shadow: -4px 0 20px color-mix(in srgb, var(--st-accent-h) 10%, transparent);
}

.st-drawer.is-open {
    transform: translateX(0);
}

.st-drawer__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--st-border);
}

.st-drawer__img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.st-drawer__name {
    font-weight: 700;
    font-size: 15px;
}

.st-drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.st-drawer__link {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--st-fg2);
    text-decoration: none;
    margin-bottom: 4px;
}

.st-drawer__link:hover {
    background: var(--st-bg-alt);
}

.st-drawer__link.is-on {
    background: var(--st-accent-bg);
    color: var(--st-accent);
    font-weight: 600;
}

.st-drawer__foot {
    padding: 16px;
    border-top: 1px solid var(--st-border);
}

body.st-drawer-open {
    overflow: hidden;
}

/* ── 主内容 ── */
.st-main {
    position: relative;
    z-index: 1;
    flex: 1;
    padding-bottom: 32px;
}

.st-main--page {
    padding-top: 20px;
}

/* ── 接口详情 ── */
.st-detail {
    padding: 8px 0 28px;
}

.st-detail__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--st-fg3);
    margin-bottom: 16px;
}

.st-detail__crumb a {
    color: var(--st-accent-h);
    text-decoration: none;
}

.st-detail__crumb a:hover {
    text-decoration: underline;
}

.st-detail__hero {
    margin-bottom: 16px;
}

.st-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 10px;
}

.st-detail__chip {
    font-size: 11px;
    color: var(--st-fg3);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
}

.st-detail__chip--warn {
    color: #b91c1c;
    border-color: rgba(185, 28, 28, 0.25);
    background: rgba(254, 226, 226, 0.7);
}
.st-detail__chip--disabled {
    color: #475569;
    border-color: rgba(100, 116, 139, 0.35);
    background: rgba(148, 163, 184, 0.18);
}
.st-detail__notice {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
}
.st-detail__notice--warn {
    color: #9a3412;
    background: rgba(254, 215, 170, 0.45);
    border: 1px solid rgba(234, 88, 12, 0.28);
}
.st-detail__notice--danger {
    color: #991b1b;
    background: rgba(254, 226, 226, 0.7);
    border: 1px solid rgba(185, 28, 28, 0.28);
}
.st-detail__endpoint.is-blurred {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.85;
}

.st-detail__title {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--st-fg);
    line-height: 1.3;
}

.st-detail__id {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--st-fg3);
    font-variant-numeric: tabular-nums;
}

.st-detail__desc,
.st-detail__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--st-fg2);
}

.st-detail__panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, var(--st-card-grad) 100%);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--st-accent) 5%, transparent);
}

.st-detail__panel--empty {
    text-align: center;
    padding: 36px 20px;
}

.st-detail__h {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--st-fg);
}

.st-detail__endpoint {
    display: block;
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--st-accent) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--st-accent) 18%, transparent);
    color: var(--st-accent-h);
    word-break: break-all;
    line-height: 1.5;
}

.st-detail__pre {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: rgba(15, 23, 42, 0.03);
    color: var(--st-fg);
    font-size: 12px;
    line-height: 1.65;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', Consolas, monospace;
}

.st-detail__doc {
    color: var(--st-fg2);
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.st-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.st-detail__actions--inline {
    margin-top: 12px;
}

.st-detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--st-border);
    background: #fff;
    color: var(--st-fg);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.st-detail__btn:hover {
    border-color: var(--st-accent);
    color: var(--st-accent-h);
}

.st-detail__btn--primary {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}

.st-detail__btn--primary:hover {
    background: var(--st-accent-h);
    border-color: var(--st-accent-h);
    color: #fff;
}

@media (max-width: 640px) {
    .st-main--page {
        padding-top: 12px;
    }

    .st-detail__panel {
        padding: 14px;
    }

    .st-detail__actions .st-detail__btn {
        flex: 1 1 calc(50% - 5px);
    }
}

.st-hero {
    padding: 40px 0 32px;
    text-align: center;
}

.st-hero__title {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--st-fg);
    letter-spacing: -0.02em;
    line-height: 1.25;
    /* 参考主题二设计 .box-text h1：硬偏移光影（blur=0） */
    text-shadow: -5px 5px 0 rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {
    .st-hero__title {
        text-shadow: -5px 5px 0 rgba(0, 0, 0, 0.12);
    }
}

.st-hero__lead {
    font-size: 15px;
    color: var(--st-fg2);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.8;
    min-height: 1.8em;
}

.st-hero__lead-text {
    display: inline;
}

.st-hero__cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 2px;
    vertical-align: text-bottom;
    background: var(--st-accent);
    animation: stHeroCursorBlink 0.9s step-end infinite;
}

.st-hero__cursor.is-done {
    opacity: 0;
    animation: none;
}

@keyframes stHeroCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.st-stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.5vw, 22px);
    padding: 11px clamp(16px, 4vw, 24px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, var(--st-pill-bg) 100%);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    font-size: clamp(12px, 2.8vw, 14px);
    color: var(--st-fg2);
    white-space: nowrap;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 3px 14px color-mix(in srgb, var(--st-accent) 8%, transparent);
    backdrop-filter: blur(6px);
}

.st-stat-pill::-webkit-scrollbar {
    display: none;
}

.st-stat-pill__item {
    flex-shrink: 0;
    line-height: 1.4;
}

.st-stat-pill__item strong {
    font-weight: 700;
    color: var(--st-fg);
}

.st-stat-pill__accent {
    color: var(--st-accent-h);
}

.st-stat-pill__sep {
    width: 1px;
    height: 18px;
    background: linear-gradient(180deg, transparent, var(--st-border) 20%, var(--st-border) 80%, transparent);
    flex-shrink: 0;
}

.st-stat-num {
    font-variant-numeric: tabular-nums;
}

.st-home-tools {
    padding-top: 0;
}

.st-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, var(--st-search-bg) 100%);
    border: 1.5px solid var(--st-border);
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--st-accent) 4%, transparent);
}

.st-search:focus-within {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-accent) 10%, transparent);
}

.st-search__icon {
    color: var(--st-fg3);
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.st-search__input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--st-fg);
    min-width: 0;
}

.st-search__input::placeholder {
    color: var(--st-fg3);
}

.st-search__clear {
    border: 0;
    background: transparent;
    color: var(--st-fg3);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.st-search__clear:hover {
    color: var(--st-fg2);
}

.st-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.st-cats--page {
    margin-bottom: 20px;
}

.st-cat-tag {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    border: 1px solid var(--st-border);
    color: var(--st-fg2);
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
}

.st-cat-tag-hidden {
    display: none;
}

.st-cat-tag-hidden.is-show {
    display: inline-flex;
}

.st-cat-tag-more {
    border-style: dashed;
    color: var(--st-accent-h);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.st-cat-more-icon {
    transition: transform 0.25s ease;
}

.st-cat-tag-more[data-expanded="1"] .st-cat-more-icon {
    transform: rotate(90deg);
}

.st-cat-tag:hover {
    background: rgba(232, 245, 238, 0.9);
    border-color: rgba(36, 166, 106, 0.35);
    color: var(--st-accent-h);
}

.st-cat-tag.is-on {
    background: linear-gradient(135deg, #e8f5ee 0%, #d4eddf 100%);
    border-color: var(--st-accent);
    color: var(--st-accent-h);
    font-weight: 600;
}

.st-api-section {
    padding-bottom: 48px;
}

.st-api-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 960px) {
    .st-api-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .st-api-grid {
        grid-template-columns: 1fr;
    }
}

.st-api-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, var(--st-card-grad, rgba(236, 248, 242, 0.88)) 100%);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 0;
    min-height: 120px;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.st-api-card:hover {
    border-color: color-mix(in srgb, var(--st-accent) 45%, transparent);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--st-accent) 12%, transparent);
    transform: translateY(-2px);
}

.st-api-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 120px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.st-api-card__chips {
    position: static;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    align-items: center;
    flex: 0 1 auto;
    margin-left: auto;
    max-width: 58%;
    pointer-events: none;
}

.st-api-chip {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.st-api-chip--free {
    background: color-mix(in srgb, var(--st-accent) 14%, #fff);
    color: var(--st-accent-h);
}

.st-api-chip--points {
    background: rgba(245, 158, 11, 0.18);
    color: #c2410c;
}

.st-api-chip--key {
    background: rgba(59, 130, 246, 0.16);
    color: #2563eb;
}

.st-api-chip--maintenance {
    background: rgba(239, 68, 68, 0.16);
    color: #dc2626;
}

.st-api-chip--disabled {
    background: rgba(100, 116, 139, 0.16);
    color: #475569;
}

.st-api-card.is-maintenance {
    border-color: color-mix(in srgb, #ef4444 28%, var(--st-border));
}

.st-api-card.is-disabled {
    opacity: 0.72;
    border-color: color-mix(in srgb, #64748b 30%, var(--st-border));
}

.st-api-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    min-height: 22px;
}

.st-api-card__methods {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
}

.st-api-card__method {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
}

.st-api-card__method--get {
    background: color-mix(in srgb, var(--st-accent) 12%, transparent);
    color: var(--st-accent-h);
}

.st-api-card__method--post {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.st-api-card__method--put {
    background: rgba(245, 158, 11, 0.18);
    color: #b45309;
}

.st-api-card__method--delete {
    background: rgba(239, 68, 68, 0.16);
    color: #dc2626;
}

.st-api-card__method--patch {
    background: rgba(168, 85, 247, 0.16);
    color: #7c3aed;
}

.st-api-card__method--head,
.st-api-card__method--options {
    background: rgba(100, 116, 139, 0.14);
    color: #475569;
}

.st-api-card__method-more {
    font-size: 11px;
    font-weight: 600;
    color: var(--st-fg3);
}

.st-api-card__badge {
    font-size: 11px;
    color: var(--st-fg3);
    margin-left: auto;
    flex: 0 0 auto;
}

.st-api-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--st-fg);
    margin: 0 0 10px;
    line-height: 1.4;
    min-height: 1.4em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.st-api-card__endpoint {
    display: block;
    margin-top: auto;
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--st-accent) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--st-accent) 18%, transparent);
    color: var(--st-accent-h);
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 28px;
    line-height: 16px;
    box-sizing: border-box;
}

.st-api-more-wrap {
    margin-top: 20px;
}

.st-api-more-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--st-accent) 35%, var(--st-border));
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--st-accent) 8%, #fff) 100%);
    color: var(--st-accent-h);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color 0.18s, box-shadow 0.18s, color 0.18s;
}

.st-api-more-bar:hover {
    border-color: var(--st-accent);
    color: var(--st-accent);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--st-accent) 14%, transparent);
}

.st-search--page {
    margin-bottom: 14px;
}

.st-apis-page {
    padding-top: 12px;
    padding-bottom: 48px;
}

.st-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
}

.st-pagination a,
.st-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    font-size: 13px;
    color: var(--st-fg2);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.st-pagination span.is-active {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
    font-weight: 600;
}

.st-pagination a:hover {
    border-color: var(--st-accent);
    color: var(--st-accent-h);
}

.st-api-empty--inline {
    grid-column: 1 / -1;
    padding: 32px 16px;
}

.st-api-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--st-fg3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.75) 0%, rgba(236, 248, 242, 0.85) 100%);
    border: 1px solid var(--st-border);
    border-radius: 12px;
}

.st-api-empty__icon {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.st-api-empty__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--st-fg2);
    margin-bottom: 6px;
}

.st-api-empty__desc {
    font-size: 13px;
    line-height: 1.65;
    max-width: 360px;
    margin: 0 auto;
}

.st-section {
    padding: 8px 0 24px;
}

.st-page-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.st-page-desc {
    font-size: 14px;
    color: var(--st-fg2);
    line-height: 1.7;
    margin-bottom: 20px;
}

.st-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 252, 248, 0.95) 100%);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 16px 20px;
    transition: box-shadow 0.15s, transform 0.15s, background 0.15s;
    box-shadow: 0 2px 8px rgba(36, 166, 106, 0.04);
}

.st-card:hover {
    background: linear-gradient(145deg, #fff 0%, #eef9f3 100%);
    box-shadow: 0 4px 16px rgba(36, 166, 106, 0.12);
    transform: translateY(-2px);
}

.st-card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.st-card__meta {
    font-size: 12px;
    color: var(--st-fg3);
}

.st-card__desc {
    font-size: 13px;
    color: var(--st-fg2);
    margin-top: 6px;
    line-height: 1.6;
}

.st-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-article-card {
    position: relative;
    overflow: hidden;
    min-height: 120px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 252, 248, 0.95) 100%);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    transition: box-shadow 0.15s, transform 0.15s, background 0.15s;
    box-shadow: 0 2px 8px rgba(36, 166, 106, 0.04);
}

.st-article-card:hover {
    background: linear-gradient(145deg, #fff 0%, #eef9f3 100%);
    box-shadow: 0 4px 16px rgba(36, 166, 106, 0.12);
    transform: translateY(-2px);
}

.st-article-card__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 110px;
    padding: 16px 20px;
}

.st-article-card__body {
    flex: 1;
    min-width: 0;
}

.st-article-card__cover {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.st-article-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    pointer-events: none;
}

.st-article-card--bg .st-article-card__inner {
    min-height: 140px;
}

.st-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.st-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: var(--st-accent-bg);
    color: var(--st-accent-h);
}

.st-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.st-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.st-api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.st-notice-box {
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--st-accent-bg);
    border: 1px solid #d6f5e3;
    font-size: 13px;
    color: var(--st-accent-h);
    line-height: 1.65;
    margin-bottom: 16px;
}

.st-link-item {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 10px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 250, 245, 0.92) 100%);
    transition: box-shadow 0.15s, transform 0.15s;
}

.st-link-item:hover {
    box-shadow: 0 4px 14px rgba(36, 166, 106, 0.1);
    transform: translateY(-1px);
}

.st-link-item strong {
    color: var(--st-accent);
}

.st-contrib {
    text-align: center;
    padding: 20px 16px;
}

.st-contrib__avatar {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--st-accent-bg);
    color: var(--st-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* ── 页脚 ── */
.st-foot {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--st-border);
    background: linear-gradient(180deg, var(--st-foot-start) 0%, var(--st-foot-end) 100%);
    margin-top: auto;
}

.st-foot__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    padding: 40px 16px 28px;
    font-size: 13px;
    align-items: start;
}

.st-foot__qrs {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-left: auto;
}

.st-foot__logo-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.st-foot__img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}

.st-foot__brand p {
    color: var(--st-fg3);
    font-size: 12px;
    line-height: 1.6;
}

.st-foot__bottom {
    padding: 16px;
    border-top: 1px solid #eceef2;
}

.st-foot__runtime {
    text-align: center;
    margin-bottom: 10px;
}

.st-foot__runtime-text {
    font-size: 12px;
    color: var(--st-fg2);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.st-foot__copy {
    padding: 0;
    font-size: 12px;
    color: var(--st-fg3);
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.st-foot__copy a {
    color: var(--st-fg2);
    text-decoration: none;
}

.st-foot__copy a:hover {
    color: var(--st-accent);
}

.st-foot__gongan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 900px) {
    .st-root--nav-fab .st-bar__menu {
        display: none !important;
    }

    .st-root--nav-fab .st-bar__nav {
        display: none;
    }
}

.st-nav-mask {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(26, 26, 46, 0.35);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.st-nav-mask.is-show {
    opacity: 1;
}

.st-nav-fab-wrap {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: none;
}

.st-root--nav-fab .st-nav-fab-wrap {
    display: block;
}

.st-nav-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(36, 166, 106, 0.35);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff 0%, #e8f5ee 100%);
    box-shadow: 0 4px 18px rgba(22, 136, 85, 0.22);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition: transform 0.15s, box-shadow 0.15s;
}

.st-nav-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(22, 136, 85, 0.34);
}

.st-nav-fab__lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 18px;
    height: 14px;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.st-nav-fab__lines i {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0;
    line-height: 0;
    border-radius: 1px;
    background: var(--st-accent-h);
    flex-shrink: 0;
    transition: transform 0.2s, opacity 0.2s;
}

.st-nav-fab-wrap.is-open .st-nav-fab__lines i:nth-child(2) {
    opacity: 0;
}

.st-nav-fab-wrap.is-open .st-nav-fab__lines i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.st-nav-fab-wrap.is-open .st-nav-fab__lines i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.st-nav-pop {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    min-width: 168px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--st-border);
    box-shadow: 0 12px 40px rgba(36, 166, 106, 0.18);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: scale(0.92) translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s;
    transform-origin: bottom right;
}

.st-nav-fab-wrap.is-open .st-nav-pop {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.st-nav-pop__link {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--st-fg2);
    transition: background 0.15s, color 0.15s;
}

.st-nav-pop__link:hover {
    background: rgba(36, 166, 106, 0.1);
    color: var(--st-accent-h);
}

.st-nav-pop__link.is-on {
    background: rgba(36, 166, 106, 0.16);
    color: var(--st-accent-h);
    font-weight: 600;
}

.st-nav-pop__link--auth {
    margin-top: 4px;
    border-top: 1px solid var(--st-border);
    border-radius: 0 0 10px 10px;
    color: var(--st-accent);
}

body.st-nav-fab-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .st-bar__nav,
    .st-bar__login:not(.st-bar__login--block) {
        display: none;
    }

    .st-bar__menu {
        display: inline-flex;
    }

    .st-bar__inner {
        gap: 10px;
    }

    .st-bar__actions {
        margin-left: auto;
    }
}

.st-root--nav-fab .st-bar__actions {
    margin-left: auto;
}

@media (max-width: 640px) {
    .st-stat-pill {
        justify-content: flex-start;
        padding: 10px 14px;
    }

    .st-foot__grid {
        grid-template-columns: 1fr;
    }

    .st-foot__qrs {
        justify-content: flex-end;
        width: 100%;
    }

    .st-foot__brand {
        grid-column: auto;
    }

    .st-grid-2,
    .st-grid-3,
    .st-api-grid {
        grid-template-columns: 1fr;
    }

    .st-hero {
        padding-top: 28px;
    }
}

/* 贡献者 / 个人主页 */
.st-contrib--link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.st-contrib__avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    border: 2px solid rgba(13, 148, 136, 0.35);
}
.st-contrib__bio {
    margin: 0 0 10px;
    color: var(--st-muted, #64748b);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
.st-contrib__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    font-size: 12px;
    color: var(--st-muted, #64748b);
}
.st-contrib__stats strong {
    color: var(--st-accent, #0d9488);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.st-profile-banner {
    position: relative;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, color-mix(in srgb, var(--st-accent) 28%, #fff) 0%, color-mix(in srgb, #0ea5e9 18%, #fff) 100%);
    margin-bottom: -52px;
}
.st-profile-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.st-profile-banner__fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.28) 100%);
    pointer-events: none;
}
.st-profile-identity {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    padding: 18px 18px 16px;
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255,255,255,0.96) 0%, color-mix(in srgb, var(--st-accent) 6%, #fff) 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.st-profile-identity__row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.st-profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.st-profile-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
    display: block;
}
.st-profile-avatar--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--st-accent) 14%, #fff);
    color: var(--st-accent-h);
    font-size: 32px;
    font-weight: 700;
}
.st-profile-identity__meta {
    min-width: 0;
    flex: 1;
    padding-top: 8px;
}
.st-profile-name {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--st-fg);
    line-height: 1.25;
}
.st-profile-bio {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-fg2);
    min-height: 1.4em;
}
.st-profile-bio[data-vs-hitokoto="1"]:empty::before {
    content: '加载中…';
    color: var(--st-fg3);
    opacity: 0.7;
}
.st-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.st-profile-stat {
    min-width: 88px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--st-border);
    background: rgba(255, 255, 255, 0.85);
}
.st-profile-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-accent-h);
    font-variant-numeric: tabular-nums;
}
.st-profile-stat span {
    font-size: 12px;
    color: var(--st-fg3);
}
.st-profile-blog {
    display: inline-flex;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent-h);
    text-decoration: none;
}
.st-profile-blog:hover { text-decoration: underline; }
.st-profile-back {
    display: inline-flex;
    margin-top: 12px;
    color: var(--st-accent-h);
    text-decoration: none;
    font-weight: 600;
}
.st-profile-apis__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.st-profile-apis__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 750;
}
.st-profile-apis__count {
    font-size: 13px;
    color: var(--st-fg3);
}
.st-profile-tools {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}
.st-search--profile {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
.st-search--profile .st-search__input {
    min-height: 44px;
    font-size: 14px;
}
.profile-sort-btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.profile-sort-btns .sort-btn {
    border: 1px solid var(--st-border);
    background: #fff;
    color: var(--st-fg2);
    border-radius: 999px;
    padding: 0 14px;
    min-height: 44px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.profile-sort-btns .sort-btn.active,
.profile-sort-btns .sort-btn:hover {
    border-color: var(--st-accent);
    color: var(--st-accent);
    background: var(--st-accent-bg);
}
.st-profile-api-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.st-profile-api {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--st-border);
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, color-mix(in srgb, var(--st-accent) 7%, #fff) 100%);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.st-profile-api:hover {
    border-color: color-mix(in srgb, var(--st-accent) 45%, transparent);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--st-accent) 12%, transparent);
    transform: translateY(-2px);
}
.st-profile-api__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.st-profile-api__methods {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.st-profile-api__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-fg);
    line-height: 1.4;
}
.st-profile-api__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--st-fg3);
}
.st-profile-apis__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 12px;
    text-align: center;
    color: var(--st-fg3);
}
.st-btn--ghost {
    background: transparent;
    border: 1px solid var(--st-border);
    color: var(--st-fg2);
}

.st-btn--ghost:hover {
    background: var(--st-accent-bg);
    border-color: var(--st-accent);
    color: var(--st-accent);
}

/* 平板 769–1024：中间断点补齐 */
@media (min-width: 769px) and (max-width: 1024px) {
    .st-shell,
    .st-page {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .st-hero__lead {
        max-width: 640px;
        font-size: 15px;
    }
    .st-api-grid,
    .st-grid,
    .st-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .st-article-card__cover,
    .st-profile-avatar {
        max-width: 100%;
        height: auto;
    }
}

img[width][height] {
    max-width: 100%;
    height: auto;
}

/* ── 通用表单 / 按钮 / 隐藏 ── */
.st-is-hidden {
    display: none !important;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: var(--st-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.st-btn:hover {
    background: var(--st-accent-h);
    color: #fff;
}

a.st-btn {
    line-height: 1;
}

.st-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-fg2);
    margin-bottom: 6px;
}

.st-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: #fff;
    color: var(--st-fg);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.st-input:focus {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(36, 166, 106, 0.12);
}

.st-input--area,
textarea.st-input {
    height: auto;
    min-height: 96px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.55;
}

.st-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-form-field {
    min-width: 0;
}

.st-form-row {
    display: grid;
    gap: 12px;
}

.st-form-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.st-notice-box--center {
    text-align: center;
}

.req {
    color: #dc2626;
}

/* 文章卡片链接 */
a.st-article-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.st-article-card__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 文章详情 */
.st-article-back {
    margin-bottom: 12px;
}

.st-article-meta {
    margin-bottom: 14px;
}

.st-article-cover {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0 18px;
    border: 1px solid var(--st-border);
    display: block;
}

.st-article-content {
    padding: 18px;
    line-height: 1.75;
}

.st-article-content:hover {
    transform: none;
}

.st-article-comments {
    margin-top: 1.75rem;
    padding: 18px 20px;
}

.st-article-comments:hover {
    transform: none;
}

.article-comments__head {
    margin-bottom: 1.1rem;
}

.article-comments__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.article-comments__mark {
    color: var(--st-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-comments__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--st-accent-bg);
    color: var(--st-accent-h);
}

.article-comments__hint {
    margin: 0;
    font-size: 0.8rem;
}

.article-comments__empty {
    margin-bottom: 0;
}

.st-cmt-composer,
.article-cmt-composer {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 1.1rem;
}

.article-cmt-quote {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.85rem;
    border-radius: 10px;
    background: var(--st-accent-bg);
}

.article-cmt-quote[hidden] {
    display: none !important;
}

.article-cmt-quote__body {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    color: var(--st-fg2);
    line-height: 1.45;
}

.article-cmt-quote__label {
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--st-accent);
}

.article-cmt-quote__name {
    font-weight: 600;
    color: var(--st-fg);
    margin-right: 0.35rem;
}

.article-cmt-quote__clear {
    border: none;
    background: transparent;
    color: var(--st-fg3);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.2rem;
}

.article-cmt-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.article-cmt-emoji-wrap {
    position: relative;
}

.article-cmt-emoji-btn {
    height: 32px;
    padding: 0 12px;
}

.article-cmt-emoji-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 20;
    width: min(280px, 72vw);
    max-height: 180px;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.article-cmt-emoji-panel[hidden] {
    display: none !important;
}

.article-cmt-emoji-panel button {
    border: none;
    background: transparent;
    font-size: 1.15rem;
    line-height: 1.4;
    cursor: pointer;
    border-radius: 6px;
    padding: 0.15rem;
}

.article-cmt-emoji-panel button:hover {
    background: var(--st-accent-bg);
}

.article-cmt-counter {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--st-fg3);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-cmt-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.st-cmt-item,
.article-cmt-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--st-border);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.article-cmt-item.is-pinned {
    border-color: color-mix(in srgb, var(--st-accent) 45%, transparent);
    box-shadow: 0 6px 18px rgba(36, 166, 106, 0.08);
}

.article-cmt-item.is-flash {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 2px rgba(36, 166, 106, 0.15);
}

.article-cmt-avatar-wrap {
    flex-shrink: 0;
    text-decoration: none;
}

.article-cmt-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--st-border);
    background: var(--st-accent-bg);
}

.article-cmt-avatar--letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--st-accent);
}

.article-cmt-main {
    flex: 1;
    min-width: 0;
}

.article-cmt-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.article-cmt-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-fg);
    text-decoration: none;
}

a.article-cmt-name:hover {
    color: var(--st-accent);
}

.article-cmt-pin {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: var(--st-accent-bg);
    color: var(--st-accent-h);
}

.article-cmt-time {
    font-size: 0.75rem;
    color: var(--st-fg3);
    margin-left: auto;
}

.article-cmt-ref {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    margin: 0 0 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: var(--st-accent-bg);
    color: var(--st-fg2);
    font-size: 0.78rem;
    line-height: 1.4;
}

.article-cmt-ref__name {
    font-weight: 700;
    color: var(--st-fg);
    margin-right: 0.35rem;
}

.article-cmt-body {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--st-fg);
    word-break: break-word;
}

.article-cmt-admin-reply {
    margin-top: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.18);
    font-size: 0.82rem;
    color: var(--st-fg);
    line-height: 1.5;
}

.article-cmt-admin-reply__label {
    display: inline-block;
    margin-right: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0284c7;
}

.article-cmt-actions {
    margin-top: 0.55rem;
}

.article-cmt-reply-btn {
    border: none;
    background: transparent;
    color: var(--st-fg3);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.article-cmt-reply-btn:hover {
    color: var(--st-accent);
}

/* 赞助页 */
.st-sponsor-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

.st-sponsor-panel--qr:hover {
    transform: none;
}

.st-sponsor-empty {
    margin-top: 8px;
    margin-bottom: 0;
}

.st-sponsor-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.st-sponsor-qr__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
}

.st-sponsor-qr__tab {
    appearance: none;
    border: 1px solid var(--st-border);
    background: #fff;
    color: var(--st-fg2);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.st-sponsor-qr__tab:hover,
.st-sponsor-qr__tab.is-active {
    border-color: var(--st-accent);
    color: var(--st-accent);
    background: var(--st-accent-bg);
}

.st-sponsor-qr__stage {
    text-align: center;
}

.st-sponsor-qr__frame {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--st-border);
    background: #fff;
    box-shadow: 0 8px 24px rgba(36, 166, 106, 0.08);
}

.st-sponsor-qr__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.18s ease;
}

.st-sponsor-qr__img.is-fading {
    opacity: 0.35;
}

.st-sponsor-qr__label {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--st-fg);
}

.st-sponsor-qr__hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--st-fg3);
}

.st-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.st-sponsor-card,
.donate-sponsor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 252, 248, 0.95) 100%);
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(8px);
    animation: st-sponsor-rise 0.4s ease forwards;
    animation-delay: calc(var(--donate-i, 0) * 55ms);
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.st-sponsor-card.is-visible,
.donate-sponsor-card.is-visible {
    opacity: 1;
    transform: none;
}

a.st-sponsor-card:hover,
a.donate-sponsor-card:hover {
    border-color: var(--st-accent);
    box-shadow: 0 4px 14px rgba(36, 166, 106, 0.1);
}

.st-sponsor-card__avatar,
.donate-sponsor-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--st-border);
}

.st-sponsor-card__avatar--text,
.donate-sponsor-card__avatar--text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-accent-bg);
    color: var(--st-accent);
    font-weight: 700;
    font-size: 16px;
}

.st-sponsor-card__body,
.donate-sponsor-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.st-sponsor-card__name,
.donate-sponsor-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-fg);
}

.st-sponsor-card__meta,
.donate-sponsor-card__meta {
    font-size: 12px;
    color: var(--st-fg3);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes st-sponsor-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 友链 */
.st-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.st-link-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 250, 245, 0.92) 100%);
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.st-link-card:hover {
    box-shadow: 0 4px 14px rgba(36, 166, 106, 0.1);
    transform: translateY(-1px);
    border-color: var(--st-accent);
}

.st-link-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--st-border);
}

.st-link-card__avatar--text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-accent-bg);
    color: var(--st-accent);
    font-weight: 700;
    font-size: 16px;
}

.st-link-card__body {
    min-width: 0;
    flex: 1;
}

.st-link-card__name {
    display: block;
    color: var(--st-accent);
    font-size: 14px;
    margin-bottom: 4px;
}

.st-link-card__desc,
.st-link-card__url {
    margin: 0;
    font-size: 12px;
    color: var(--st-fg3);
    line-height: 1.45;
}

.st-link-card__desc {
    margin-bottom: 4px;
    color: var(--st-fg2);
}

.st-links-apply {
    display: none;
}

.st-links-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.st-links-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--st-accent) 40%, var(--st-border));
    background: #fff;
    color: var(--st-accent-h);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.st-links-apply-btn:hover {
    border-color: var(--st-accent);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--st-accent) 14%, transparent);
}
.st-links-apply-btn--solid {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}
.st-links-apply-btn--solid:hover {
    filter: brightness(1.03);
    color: #fff;
}
.st-links-empty {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin-bottom: 18px;
}
.st-links-apply-panel {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--st-border);
    background: linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--st-accent) 8%, #fff) 100%);
}
.st-links-apply-panel__title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 750;
}
.st-links-apply-panel__hint {
    margin: 0;
    font-size: 13px;
    color: var(--st-fg2);
    line-height: 1.5;
}

/* 申请友链 */
.st-apply-info {
    margin-bottom: 1rem;
}

.st-apply-info:hover,
.st-apply-tips:hover,
.st-form.st-card:hover {
    transform: none;
}

.st-apply-info__lines p {
    margin: 0 0 0.4rem;
}

.st-apply-info__note {
    margin-top: 0.6rem !important;
    color: var(--st-fg3);
    font-size: 12px;
}

.st-apply-alert {
    margin-bottom: 0.75rem;
}

.st-apply-alert.alert,
.alert.alert-error,
.alert.alert-success {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.alert.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert.alert-success {
    background: var(--st-accent-bg);
    border: 1px solid #d6f5e3;
    color: var(--st-accent-h);
}

.applylink-fetch-status.is-ok {
    color: var(--st-accent-h);
}

.applylink-fetch-status.is-err {
    color: #b91c1c;
}

.st-apply-fetch {
    margin-top: 8px;
}

.st-apply-fetch-status,
.applylink-fetch-status {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--st-fg3);
    min-height: 1.2em;
}

.st-apply-tips {
    margin-top: 1rem;
}

.st-apply-tips__list {
    margin: 8px 0 0;
    padding-left: 1.2rem;
    color: var(--st-fg2);
    font-size: 13px;
    line-height: 1.7;
}

.st-apply-back {
    margin-top: 1rem;
}

.st-apply-back a {
    color: var(--st-accent);
    text-decoration: none;
    font-size: 13px;
}

.st-apply-back a:hover {
    text-decoration: underline;
}

/* 贡献者 / 主页补齐 */
.st-contrib-cta {
    margin-top: 16px;
}

.st-contrib-cta a {
    color: var(--st-accent);
    font-weight: 600;
    text-decoration: none;
}

.st-contrib-cta a:hover {
    text-decoration: underline;
}

/* 贡献者页 · 重构 */
.st-contrib-page {
    padding: 28px 0 48px;
}
.st-contrib-hero {
    margin-bottom: 28px;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid var(--st-line);
    background:
        radial-gradient(ellipse 80% 70% at 0% 0%, color-mix(in srgb, var(--st-accent) 16%, transparent), transparent 55%),
        linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--st-accent) 6%, #fff) 100%);
}
.st-contrib-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--st-accent);
}
.st-contrib-hero__title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--st-fg);
}
.st-contrib-hero__lead {
    margin: 0;
    max-width: 42rem;
    font-size: 14px;
    line-height: 1.7;
    color: var(--st-fg2);
}
.st-contrib-hero__meta {
    margin: 16px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--st-line);
    font-size: 13px;
    color: var(--st-fg2);
}
.st-contrib-hero__meta strong {
    color: var(--st-accent);
    font-variant-numeric: tabular-nums;
}

.st-contrib-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.st-contrib-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--st-line);
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.st-contrib-card:hover {
    border-color: color-mix(in srgb, var(--st-accent) 45%, var(--st-line));
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.st-contrib-card__top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.st-contrib-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid color-mix(in srgb, var(--st-accent) 35%, #fff);
    background: var(--st-accent-bg);
}
.st-contrib-card__avatar--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--st-accent);
}
.st-contrib-card__who {
    min-width: 0;
    flex: 1;
}
.st-contrib-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-fg);
    line-height: 1.3;
}
.st-contrib-card__bio {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--st-fg2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.st-contrib-card__bio[data-vs-hitokoto="1"]:empty::before {
    content: "…";
    opacity: 0.45;
}
.st-contrib-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 4px;
}
.st-contrib-card__stat {
    text-align: center;
    padding: 10px 6px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--st-accent) 7%, #f8faf9);
    border: 1px solid color-mix(in srgb, var(--st-accent) 12%, var(--st-line));
}
.st-contrib-card__stat strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--st-accent);
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.st-contrib-card__stat span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--st-fg3);
}
.st-contrib-card__go {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-accent);
    align-self: flex-start;
}

.st-contrib-empty {
    text-align: center;
    padding: 48px 24px;
    border-radius: 18px;
    border: 1px dashed color-mix(in srgb, var(--st-accent) 35%, var(--st-line));
    background: #fff;
}
.st-contrib-empty__mark {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    color: var(--st-accent);
    background: var(--st-accent-bg);
}
.st-contrib-empty__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
}
.st-contrib-empty__text {
    margin: 0 0 18px;
    color: var(--st-fg2);
    font-size: 14px;
}
.st-contrib-empty__cta {
    display: inline-flex;
    text-decoration: none;
}

.st-contrib-join {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid var(--st-line);
    background: linear-gradient(120deg, color-mix(in srgb, var(--st-accent) 10%, #fff), #fff 55%);
}
.st-contrib-join__title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
}
.st-contrib-join__text {
    margin: 0;
    font-size: 13px;
    color: var(--st-fg2);
}
.st-contrib-join__cta {
    text-decoration: none;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .st-contrib-grid { grid-template-columns: 1fr; }
    .st-contrib-hero { padding: 22px 18px; }
    .st-contrib-join { align-items: stretch; }
    .st-contrib-join__cta { width: 100%; justify-content: center; }
}

.st-profile-wrap {
    padding-top: 12px;
    padding-bottom: 28px;
}

.profile-sort-btns .sort-btn {
    border-color: var(--st-border);
    color: var(--st-fg2);
    background: #fff;
}

.profile-sort-btns .sort-btn.active,
.profile-sort-btns .sort-btn:hover {
    border-color: var(--st-accent);
    color: var(--st-accent);
    background: var(--st-accent-bg);
}

@media (min-width: 901px) {
    .st-sponsor-layout {
        grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .st-form-row--3 {
        grid-template-columns: 1fr;
    }

    .article-cmt-counter {
        margin-left: 0;
    }

    .article-cmt-toolbar {
        justify-content: space-between;
    }

    .article-cmt-submit {
        width: 100%;
    }

    .article-cmt-time {
        margin-left: 0;
        width: 100%;
    }

    .st-profile-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .st-profile-identity__row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .st-profile-stats {
        justify-content: center;
    }

    .st-profile-api-list {
        grid-template-columns: 1fr;
    }

    .st-links-head,
    .st-links-apply-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .st-links-apply-btn {
        width: 100%;
    }
}

/* ── 接口详情 · 水平 Tab + info-grid + playground（Theme 2） ── */
.st-detail-page {
    padding-bottom: 28px;
}

.st-detail__chip--free {
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(220, 252, 231, 0.7);
}

.st-detail__chip--points {
    color: #c2410c;
    border-color: rgba(234, 88, 12, 0.3);
    background: rgba(255, 237, 213, 0.75);
}

.st-detail__endpoint-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.st-detail__btn--sm {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
}

.st-detail-page .endpoint-box {
    display: block;
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--st-accent) 18%, transparent);
    background: color-mix(in srgb, var(--st-accent) 8%, transparent);
}

.st-detail-page .endpoint-box--sm {
    margin-bottom: 12px;
}

.st-detail-page .endpoint-box__text {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--st-fg);
    word-break: break-all;
}

.st-detail-page .endpoint-box__method {
    display: inline;
    font-weight: 700;
    margin-right: 8px;
    color: var(--st-accent-h);
}

.st-detail-page .endpoint-box__text > span:not(.endpoint-box__method) {
    display: inline;
}

.st-detail-page .endpoint-box.is-blurred .endpoint-box__masked {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.85;
}

.st-detail-info-grid.info-grid,
.st-detail-page .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 768px) {
    .st-detail-info-grid.info-grid,
    .st-detail-page .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.st-detail-page .info-item {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    background: rgba(15, 23, 42, 0.03);
}

.st-detail-page .info-label {
    font-size: 11px;
    color: var(--st-fg3);
    margin-bottom: 4px;
}

.st-detail-page .info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-fg);
    word-break: break-word;
    font-variant-numeric: tabular-nums;
}

.st-detail-page .info-value--method { color: var(--st-accent-h); }
.st-detail-page .info-value--billing { color: #c2410c; }
.st-detail-page .info-value--key { color: #2563eb; }
.st-detail-page .info-value--cat { color: var(--st-accent); }
.st-detail-page .info-value--author { font-weight: 500; }

.st-detail-page .detail-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.st-detail-page .detail-author__avatar {
    border-radius: 50%;
    object-fit: cover;
}

.st-detail-page .detail-author__empty {
    color: var(--st-fg3);
}

/* 水平 Tab：桌面 / 移动均为横向可滚动按钮行 */
.st-detail-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 2px 0 12px;
    margin: 4px 0 0;
}

.st-detail-tabs::-webkit-scrollbar {
    height: 4px;
}

.st-detail-tabs::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--st-accent) 35%, transparent);
    border-radius: 999px;
}

.st-detail-tab {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--st-border);
    background: #fff;
    color: var(--st-fg2);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.st-detail-tab:hover {
    border-color: var(--st-accent);
    color: var(--st-accent-h);
}

.st-detail-tab.is-active {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}

.st-detail-panel[hidden] {
    display: none !important;
}

.st-detail-panel .st-detail__h,
.st-detail-panel .detail-section-title {
    margin-top: 0;
}

.st-detail-page .detail-section-title--tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}

.st-detail-page .detail-section-title__text {
    font-size: 14px;
    font-weight: 700;
    color: var(--st-fg);
}

.st-detail-page .detail-tools {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.st-detail-page .btn-copy,
.st-detail-page .btn-mode {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid var(--st-border);
    color: var(--st-fg3);
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
}

.st-detail-page .btn-copy:hover,
.st-detail-page .btn-mode:hover {
    border-color: var(--st-accent);
    color: var(--st-accent-h);
}

.st-detail-page .btn-mode.is-active {
    border-color: var(--st-accent);
    color: var(--st-accent-h);
    background: color-mix(in srgb, var(--st-accent) 10%, transparent);
}

.st-detail-page .params-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--st-border);
    border-radius: 10px;
}

.st-detail-page .params-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 520px;
}

.st-detail-page .params-table th,
.st-detail-page .params-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--st-border);
    text-align: left;
    vertical-align: top;
}

.st-detail-page .params-table th {
    background: rgba(15, 23, 42, 0.04);
    font-weight: 600;
    white-space: nowrap;
}

.st-detail-page .params-table tr:last-child td {
    border-bottom: 0;
}

.st-detail-page .req-yes { color: #dc2626; font-weight: 600; }
.st-detail-page .req-no { color: var(--st-fg3); }

.st-detail-page .code-block {
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
    overflow: auto;
}

.st-detail-page .code-content {
    margin: 0;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
}

.st-detail-page .detail-empty-hint {
    margin: 0;
    color: var(--st-fg3);
    font-size: 13px;
    line-height: 1.6;
}

.st-detail-page .font-mono {
    font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', Consolas, monospace;
}

/* 快速上手 */
.st-detail-page .detail-quickstart__auth-tabs,
.st-detail-page .detail-quickstart__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.st-detail-page .detail-quickstart__auth-tab,
.st-detail-page .detail-quickstart__tab {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--st-border);
    background: #fff;
    color: var(--st-fg2);
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}

.st-detail-page .detail-quickstart__auth-tab.is-active,
.st-detail-page .detail-quickstart__tab.is-active {
    border-color: var(--st-accent);
    color: var(--st-accent-h);
    background: color-mix(in srgb, var(--st-accent) 10%, transparent);
}

.st-detail-page .detail-quickstart__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.st-detail-page .detail-quickstart__icon-img {
    position: absolute;
    inset: 0;
    width: 16px;
    height: 16px;
}

.st-detail-page .detail-quickstart__icon .is-color { opacity: 0; }
.st-detail-page .detail-quickstart__tab.is-active .detail-quickstart__icon:not(.is-single) .is-gray { opacity: 0; }
.st-detail-page .detail-quickstart__tab.is-active .detail-quickstart__icon:not(.is-single) .is-color { opacity: 1; }
.st-detail-page .detail-quickstart__icon.is-single .is-gray { filter: grayscale(1); opacity: 0.72; }
.st-detail-page .detail-quickstart__tab.is-active .detail-quickstart__icon.is-single .is-gray { filter: none; opacity: 1; }

.st-detail-page .detail-quickstart__panel {
    position: relative;
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.st-detail-page .detail-quickstart__copy {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 6px;
    border: 1px solid var(--st-border);
    background: #f8fafc;
    color: var(--st-fg3);
    cursor: pointer;
    font-family: inherit;
}

.st-detail-page .detail-quickstart__copy:hover {
    color: var(--st-accent-h);
    border-color: var(--st-accent);
}

.st-detail-page .detail-quickstart__code {
    margin: 0;
    padding: 36px 12px 12px;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.55;
    color: var(--st-fg);
    white-space: pre;
}

.st-detail-page .detail-quickstart__code code {
    font-family: inherit;
    background: none;
    padding: 0;
    color: inherit;
}

/* Playground */
.st-detail-page .playground-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 860px) {
    .st-detail-page .playground-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.st-detail-page .playground-pane {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.st-detail-page .playground-label {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-fg3);
    margin: 0 0 6px;
}

.st-detail-page .method-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.st-detail-page .method-option {
    padding: 5px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    background: #fff;
    color: var(--st-fg3);
    font-family: inherit;
}

.st-detail-page .method-option.is-active,
.st-detail-page .method-option:hover {
    border-color: var(--st-accent);
    color: var(--st-accent-h);
}

.st-detail-page .pg-params {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.st-detail-page .pg-param {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.st-detail-page .pg-param__name {
    font-size: 12px;
    color: var(--st-fg);
}

.st-detail-page .pg-param__name em {
    color: #dc2626;
    font-style: normal;
    margin-left: 2px;
}

.st-detail-page .form-input,
.st-detail-page .param-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid var(--st-border);
    border-radius: 8px;
    background: #fff;
    color: var(--st-fg);
    font-size: 13px;
    font-family: inherit;
}

.st-detail-page .form-input:focus,
.st-detail-page .param-input:focus {
    outline: none;
    border-color: var(--st-accent);
}

.st-detail-page .playground-send {
    width: 100%;
    margin-top: auto;
}

.st-detail-page .playground-response-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.st-detail-page .status-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--st-fg3);
}

.st-detail-page .status-badge.is-ok {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.st-detail-page .status-badge.is-err {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.st-detail-page .status-badge.is-wait {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.st-detail-page .response-container {
    border: 1px solid var(--st-border);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
    min-height: 220px;
    max-height: 420px;
    overflow: auto;
    flex: 1;
}

.st-detail-page .response-pre {
    margin: 0;
    padding: 12px;
    font-size: 12px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--st-fg);
}

.st-detail-page .detail-feedback__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-fg);
    margin-bottom: 6px;
}

.st-detail-page .detail-feedback__textarea {
    min-height: 110px;
    resize: vertical;
    margin-bottom: 12px;
}

.st-detail-page .detail-feedback__foot {
    display: flex;
    justify-content: flex-end;
}

.st-detail-page .detail-recommend__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.st-detail-page .detail-disclaimer {
    margin-top: 16px;
}
.st-detail-page .detail-disclaimer__body {
    font-size: 13px;
    color: var(--st-fg2);
    line-height: 1.7;
}

.st-detail-page .copy-toast,
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 80;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.st-detail-page .json-key { color: #7c3aed; }
.st-detail-page .json-string { color: #15803d; }
.st-detail-page .json-number { color: #c2410c; }
.st-detail-page .json-boolean { color: #2563eb; }
.st-detail-page .json-null { color: #64748b; font-style: italic; }

@media (max-width: 640px) {
    .st-detail-tab {
        min-height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }
}

/* ===== 首页公告 / 专属 MD / 详情补齐 ===== */
#stHome {
    padding-top: 16px;
}
.st-announce-bundle { margin: 0 0 20px; }
.st-announce-wrap { opacity: 1; transition: opacity .2s ease; }
.st-announce-wrap--pending { opacity: 0; }
.st-announce-bar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid color-mix(in srgb, var(--st-accent) 40%, var(--st-line));
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 10px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
    box-sizing: border-box;
}
.st-announce-bar:hover {
    border-color: color-mix(in srgb, var(--st-accent) 55%, var(--st-line));
    box-shadow: 0 2px 14px rgba(36, 166, 106, 0.1);
}
.st-announce__label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--st-accent);
}
.st-announce__marquee { flex: 1 1 auto; overflow: hidden; min-width: 0; }
.st-announce__track {
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    color: var(--st-fg2);
    transform: translateX(var(--notice-start, 600px));
}
.st-announce__track.is-ready {
    animation: stAnnounceMarquee var(--notice-duration, 24s) linear infinite;
}
@keyframes stAnnounceMarquee {
    from { transform: translateX(var(--notice-start, 600px)); }
    to { transform: translateX(var(--notice-end, -400px)); }
}
.st-announce__action {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--st-accent);
    font-weight: 600;
}
.st-announce-modal {
    display: none;
    position: fixed;
    inset: 0;
    /* 对齐默认主题 home-announcement-modal；须高于页脚/顶栏，且勿困在 .st-wrap(z-index:1) 内 */
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.st-announce-modal.is-open { display: flex; }
body.st-announce-modal-open { overflow: hidden; }
.st-announce-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
}
.st-announce-modal__card {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 24px));
    max-height: calc(85vh - 32px);
    max-height: calc(85dvh - 32px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .28);
    overflow: hidden;
    isolation: isolate;
}
.st-announce-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--st-line);
    background: #fff;
    flex: 0 0 auto;
}
.st-announce-modal__title { margin: 0; font-size: 1rem; font-weight: 700; }
.st-announce-modal__close {
    border: 1px solid var(--st-line);
    border-radius: 8px;
    background: transparent;
    color: var(--st-fg2);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    padding: 4px 10px;
}
.st-announce-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(55vh, calc(100vh - 11rem));
    max-height: min(55vh, calc(100dvh - 11rem));
    overflow: auto;
    padding: 16px;
    font-size: 14px;
    line-height: 1.75;
    background: #fff;
    color: var(--st-fg);
    word-break: break-word;
    -webkit-overflow-scrolling: touch;
}
.st-announce-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--st-line);
    background: #f8faf9;
    flex: 0 0 auto;
}
.st-announce-btn {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--st-line);
    background: #fff;
    color: var(--st-fg);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.st-announce-btn--primary {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}
.st-announce-btn--ghost:hover { border-color: var(--st-accent); color: var(--st-accent); }

.st-hero__actions {
    display: none;
}
.st-hero__cta { text-decoration: none; }
.st-hero__cta--ghost {
    background: transparent !important;
    color: var(--st-fg) !important;
    border: 1px solid var(--st-line);
}
.st-section__head { margin-bottom: 14px; }
.st-section__title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
}
.st-section__desc {
    margin: 0;
    font-size: 13px;
    color: var(--st-fg2);
}

.st-home-play__card {
    padding: 16px;
    border: 1px solid var(--st-line);
    border-radius: 16px;
    background: var(--st-card);
}
.st-home-play__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-fg2);
    margin-bottom: 8px;
}
.st-home-play__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.st-home-play__select { flex: 1 1 220px; min-width: 0; }
.st-home-play__go { flex: 0 0 auto; }
.st-home-play__hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--st-fg2);
}

.st-apis-page__head {
    display: block;
    margin-bottom: 4px;
}

.st-api-card__badge--paid {
    background: color-mix(in srgb, #f59e0b 18%, var(--st-card));
    color: #b45309;
}

@media (max-width: 560px) {
    .st-api-card__chips {
        max-width: 55%;
    }
}

.st-detail__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.st-detail__title-row .st-detail__title { flex: 1 1 200px; margin: 0; }

.st-detail-page .detail-ai-split {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: stretch;
    height: 30px;
    background: var(--st-card);
    border: 1px solid var(--st-line);
    border-radius: 999px;
    z-index: 40;
}
.st-detail-page .detail-ai-split__main,
.st-detail-page .detail-ai-split__chevron {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--st-fg);
    cursor: pointer;
    font: inherit;
    margin: 0;
    padding: 0;
}
.st-detail-page .detail-ai-split__main {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px 0 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.st-detail-page .detail-ai-split__avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}
.st-detail-page .detail-ai-split__divider {
    width: 1px;
    background: var(--st-line);
    align-self: stretch;
}
.st-detail-page .detail-ai-split__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
}
.st-detail-page .detail-ai-split.is-open .detail-ai-split__chevron svg {
    transform: rotate(180deg);
}
.st-detail-page .detail-ai-split__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--st-line);
    background: var(--st-card);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
}
.st-detail-page .detail-ai-split__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-fg);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}
.st-detail-page .detail-ai-split__item:hover {
    background: color-mix(in srgb, var(--st-accent) 10%, var(--st-card));
}
.st-detail-page .detail-ai-split__item-icon { width: 16px; height: 16px; }
.st-detail-page .detail-ai-split__item-icon--round { border-radius: 50%; }
.st-detail-page .detail-ai-split__ext { margin-left: auto; opacity: .55; }

/* 主题二专属 Markdown 皮肤 */
.st-md { --vs-md-accent: var(--st-accent); }
.st-md-callout {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--st-line);
    background: color-mix(in srgb, var(--st-accent) 6%, var(--st-card));
}
.st-md-callout--tip { border-color: color-mix(in srgb, var(--st-accent) 35%, var(--st-line)); }
.st-md-callout--warn {
    border-color: color-mix(in srgb, #f59e0b 40%, var(--st-line));
    background: color-mix(in srgb, #f59e0b 8%, var(--st-card));
}
.st-md-callout--ok {
    border-color: color-mix(in srgb, #22c55e 40%, var(--st-line));
    background: color-mix(in srgb, #22c55e 8%, var(--st-card));
}
.st-md-callout--danger {
    border-color: color-mix(in srgb, #ef4444 40%, var(--st-line));
    background: color-mix(in srgb, #ef4444 8%, var(--st-card));
}
.st-md-callout__title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}
.st-md-callout__body { font-size: 13px; line-height: 1.65; color: var(--st-fg2); }
.st-md-steps {
    margin: 14px 0;
    padding: 0;
    list-style: none;
    counter-reset: st-step;
}
.st-md-steps > li {
    position: relative;
    padding: 8px 0 8px 36px;
    border-bottom: 1px dashed var(--st-line);
    color: var(--st-fg2);
    font-size: 13px;
    line-height: 1.55;
}
.st-md-steps > li:last-child { border-bottom: 0; }
.st-md-steps > li::before {
    counter-increment: st-step;
    content: counter(st-step);
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--st-accent);
}
.st-md-api {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px 2px 4px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--st-accent) 30%, var(--st-line));
    background: color-mix(in srgb, var(--st-accent) 8%, var(--st-card));
    color: var(--st-fg);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
}
.st-md-api:hover { border-color: var(--st-accent); color: var(--st-accent); }
.st-md-api__badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--st-accent);
    color: #fff;
}
.st-md-mark {
    background: color-mix(in srgb, var(--st-accent) 22%, transparent);
    color: inherit;
    padding: 0 .15em;
    border-radius: 4px;
}

@media (max-width: 640px) {
    .st-announce__action { display: none; }
    .st-announce-modal__card {
        width: min(760px, calc(100% - 20px));
        max-height: calc(88vh - 16px);
        max-height: calc(88dvh - 16px);
        border-radius: 14px;
    }
    .st-announce-modal__body {
        max-height: min(52vh, calc(100dvh - 10rem));
    }
    .st-home-play__row { flex-direction: column; align-items: stretch; }
    .st-detail-page .detail-ai-split { width: 100%; justify-content: space-between; }
}

/* ===== v13.26.18：SEO 兜底 + 复制 Markdown 按钮 ===== */
.vs-seo-fallback-desc {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.detail-md-copy,
.st-detail-page .detail-md-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--st-line, #e5e7eb);
    border-radius: 999px;
    background: var(--st-card, #fff);
    color: var(--st-fg, #1f2937);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.detail-md-copy:hover,
.st-detail-page .detail-md-copy:hover {
    border-color: var(--st-accent, #0f766e);
    color: var(--st-accent, #0f766e);
}
.detail-md-copy__icon { width: 16px; height: 16px; flex: 0 0 auto; }
