:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --panel: #ffffff;
    --text: #1e2530;
    --muted: #6a7280;
    --line: #e8ebef;
    --brand: #ff6a1a;
    --brand-dark: #d94d00;
    --gold: #f7b731;
    --green: #12a66a;
    --blue: #2388e8;
    --red: #ef4444;
    --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background: #d9e4ee;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.page-shell {
    width: min(100%, 480px);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--bg);
}

.home-hero {
    padding: 22px 18px 18px;
    background: linear-gradient(180deg, #fff8f2 0%, #ffffff 68%, var(--bg) 100%);
}

.brand-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--brand-dark);
    font-weight: 700;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.home-hero h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1.18;
}

.service-pill {
    flex: 0 0 auto;
    display: grid;
    gap: 2px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 106, 26, 0.22);
    border-radius: 8px;
    background: #fff;
    color: var(--brand-dark);
    text-align: right;
    box-shadow: 0 6px 16px rgba(255, 106, 26, 0.08);
}

.service-pill span {
    font-size: 12px;
    color: var(--muted);
}

.service-pill strong {
    font-size: 13px;
}

.search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 18px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 9px 10px 9px 14px;
    background: transparent;
    font-size: 14px;
}

.search-box button,
.btn {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.notice-strip {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff2e8;
    color: #8f3f0c;
    font-size: 14px;
    line-height: 1.5;
}

.home-sections {
    padding: 2px 14px 28px;
}

.shortcut-section {
    margin-top: 14px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 8px;
}

.section-heading h2 {
    margin: 0;
    font-size: 18px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 10px;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.shortcut-card {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 7px;
    text-align: center;
}

.shortcut-card strong {
    width: 100%;
    min-height: 18px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.25;
    word-break: keep-all;
}

.shortcut-card small {
    width: 100%;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.icon-tao { background: #ff6a1a; }
.icon-jd { background: #d71920; }
.icon-pdd { background: #e22b2b; }
.icon-douyin { background: #111827; }
.icon-vip { background: #d946a8; }
.icon-kuaishou { background: #ff8a00; }
.icon-1688 { background: #f58220; }
.icon-wallet { background: #12a66a; }
.icon-user { background: #2388e8; }
.icon-service { background: #7c3aed; }
.icon-ticket { background: #f7b731; }
.icon-list { background: #64748b; }

.sub-header,
.article-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.sub-header h1 {
    margin: 0;
    font-size: 20px;
}

.back-link,
.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    border-radius: 999px;
    background: #f1f3f6;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.article-topbar {
    justify-content: space-between;
}

.category-intro {
    display: flex;
    gap: 14px;
    margin: 16px 14px 12px;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.category-intro h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.category-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.article-list-card {
    margin: 12px 14px 28px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 8px;
}

.list-title h2 {
    margin: 0;
    font-size: 18px;
}

.list-title span {
    color: var(--muted);
    font-size: 13px;
}

.article-row {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.rank {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.article-row strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
}

.article-row p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.empty-state {
    margin: 16px 0;
    color: var(--muted);
    text-align: center;
}

.search-page-box {
    margin: 16px 14px;
}

.article-page {
    padding: 22px 22px 34px;
    background: #fff;
}

.article-page h1 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.35;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    color: #9aa1ad;
    font-size: 13px;
}

.article-meta span:first-child {
    color: #576b95;
}

.article-summary {
    margin: 0 0 24px;
    padding: 13px 14px;
    border-left: 4px solid var(--brand);
    border-radius: 6px;
    background: #fff7ef;
    color: #7a3f15;
    font-size: 14px;
    line-height: 1.7;
}

.article-body {
    color: #2f333a;
    font-size: 16px;
    line-height: 2;
}

.article-body h2 {
    margin: 34px 0 14px;
    color: var(--brand-dark);
    font-size: 21px;
    text-align: center;
}

.article-body h3 {
    margin: 26px 0 10px;
    font-size: 17px;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body figure {
    margin: 18px 0 24px;
    text-align: center;
}

.article-body img {
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-body figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.article-footer {
    margin-top: 34px;
}

.views {
    color: #9aa1ad;
    font-size: 14px;
}

.related-box {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 16px;
    border-top: 5px solid var(--brand);
    background: #fff9f4;
    font-size: 14px;
    line-height: 1.6;
}

.related-box a {
    color: var(--brand-dark);
}

.install-done {
    width: min(100% - 28px, 420px);
    margin: 80px auto;
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.install-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef1f5;
    color: var(--text);
}

.btn.primary {
    background: var(--brand);
    color: #fff;
}

@media (max-width: 360px) {
    .shortcut-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-hero h1 {
        font-size: 22px;
    }
}

