:root {
    --bg: #F5FAFE;
    --bg-deep: #E7F2FA;
    --card: #FFFFFF;
    --secondary: #D7EAF6;
    --title: #16324A;
    --text: #2A4156;
    --muted: #4E6A80;
    --assist: #6E8899;
    --brand: #4AA3E0;
    --brand-light: #6BB8EC;
    --brand-deep: #1B4A6E;
    --mist: #EAF5FC;
    --border: rgba(74,163,224,0.16);
    --border-strong: rgba(74,163,224,0.42);
    --shadow: 0 12px 28px rgba(27,74,110,0.08);
    --radius: 12px;
    --max: 1120px;
    --header-space: 122px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(74,163,224,.28); outline-offset: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; padding: 10px 14px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 8px; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; }
.thinbar { height: 22px; background: var(--brand-deep); color: #fff; font-size: 12px; }
.top-wrap, .masthead-wrap, .tabbar-wrap, .page-shell, .footer-inner { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.top-wrap { height: 22px; display: flex; align-items: center; justify-content: space-between; }
.plain-button { border: 0; background: transparent; color: #fff; padding: 0 4px; min-height: 22px; }
.masthead { height: 60px; background: #fff; border-bottom: 1px solid var(--border); }
.masthead-wrap { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand-mark { justify-self: start; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
.logo-image { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-fallback { color: var(--title); font-size: 16px; font-weight: 800; letter-spacing: .08em; }
.drawer-open, .app-entry { min-height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.drawer-open { border: 1px solid var(--border-strong); background: var(--mist); color: var(--brand-deep); padding: 0 18px; }
.app-entry { justify-self: end; padding: 0 14px; background: linear-gradient(135deg,#6BB8EC 0%,#4AA3E0 55%,#1B4A6E 100%); color: #fff; }
.app-entry:hover { color: #fff; filter: brightness(.98); }
.tabbar { height: 40px; background: var(--mist); border-bottom: 1px solid var(--border); }
.tabbar-wrap { height: 40px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.tab-link { min-width: 72px; height: 32px; padding: 0 16px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand-deep); font-size: 13px; }
.tab-link.is-active { background: var(--brand); color: #fff; }
.page-shell { padding-top: calc(var(--header-space) + 30px); padding-bottom: 54px; min-height: 70vh; }
.page-hero { padding: 28px 0 22px; }
.kicker { margin: 0 0 8px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3 { margin-top: 0; color: var(--title); line-height: 1.3; }
h1 { margin-bottom: 12px; font-size: 24px; }
h2 { margin-bottom: 12px; font-size: 20px; }
h3 { margin-bottom: 8px; font-size: 16px; }
p { margin: 0 0 14px; }
.lead { max-width: 820px; color: var(--muted); font-size: 16px; }
.section { margin-top: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-heading p { margin: 0; color: var(--assist); font-size: 13px; }
.card, .article-card, .feature-strip, .notice, .index-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card, .article-card, .index-panel { padding: 20px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card p:last-child, .article-card p:last-child { margin-bottom: 0; }
.media-slot, .media-slot-large, .media-slot-benqi, .media-slot-app { background: var(--mist); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.media-slot { height: 180px; }
.media-slot-large { height: 260px; }
.media-slot-benqi { height: 200px; }
.media-slot-app { height: 340px; }
.media-slot img, .media-slot-large img, .media-slot-benqi img, .media-slot-app img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cover-copy { text-align: center; padding: 22px 14px 4px; }
.cover-copy .lead { margin-left: auto; margin-right: auto; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.btn { min-height: 42px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,#6BB8EC 0%,#4AA3E0 55%,#1B4A6E 100%); color: #fff; }
.btn-primary:hover { color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--brand-deep); border: 1px solid var(--border-strong); }
.number-list { display: grid; gap: 12px; counter-reset: item; }
.number-row { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.number-row .num { width: 44px; height: 44px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.shelf { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.shelf a, .shelf-card { min-height: 128px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.shelf a:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.timeline { position: relative; margin-left: 10px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--secondary); }
.timeline-item { position: relative; margin-bottom: 18px; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.timeline-item::before { content: ""; position: absolute; left: -27px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--mist); }
.status { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--mist); color: var(--brand-deep); font-size: 12px; font-weight: 700; }
.prose { max-width: 840px; }
.prose p { margin-bottom: 18px; }
.prose h2 { margin-top: 30px; }
.note-box { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--brand); background: var(--mist); border-radius: 0 10px 10px 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.faq-item h2 { font-size: 16px; }
.index-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.index-links a { min-height: 90px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.index-links small { color: var(--assist); }
.site-footer { background: var(--brand-deep); color: #E7F2FA; border-top: 1px solid rgba(234,245,252,.28); }
.footer-inner { padding: 34px 0 86px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer-logo { height: 28px; width: auto; object-fit: contain; }
.footer-brand div { display: flex; gap: 10px; align-items: baseline; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand span { font-size: 13px; color: #E7F2FA; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.footer-grid h2 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-grid a { display: block; color: #E7F2FA; font-size: 13px; margin: 5px 0; }
.footer-note, .copyright { color: #E7F2FA; font-size: 13px; }
.footer-note { margin-top: 24px; max-width: 820px; }
.copyright { margin-top: 10px; opacity: .9; }
.overlay { position: fixed; inset: 0; z-index: 1600; background: rgba(16,44,65,.38); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: fixed; top: 0; right: 0; z-index: 1700; width: min(400px, 86vw); height: 100dvh; background: #fff; transform: translateX(104%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s; box-shadow: -18px 0 40px rgba(27,74,110,.14); overflow-y: auto; }
.drawer-panel.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { position: sticky; top: 0; z-index: 2; min-height: 68px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-close, .search-close { min-height: 44px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; color: var(--brand-deep); padding: 0 14px; }
.drawer-groups { padding: 16px; }
.drawer-groups section { margin-bottom: 22px; }
.drawer-groups h2 { font-size: 13px; color: var(--assist); margin-bottom: 8px; letter-spacing: .08em; }
.drawer-groups a { display: block; padding: 11px 12px; border-radius: 10px; }
.drawer-groups a:hover { background: var(--mist); }
.drawer-groups span { display: block; font-weight: 800; color: var(--title); }
.drawer-groups small { display: block; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.search-layer { position: fixed; inset: 82px 0 auto; z-index: 1650; visibility: hidden; pointer-events: none; transform: translateY(-12px); opacity: 0; transition: .2s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.search-card { width: min(calc(100% - 32px), 720px); margin: 14px auto 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.search-head h2 { margin: 0; }
.search-card label { display: block; margin: 12px 0 6px; color: var(--muted); font-size: 13px; }
.search-card input { width: 100%; height: 44px; border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 12px; color: var(--title); background: #fff; }
.preset-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.preset-links a { min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--mist); display: inline-flex; align-items: center; }
.mobile-bottom { display: none; }
.split-feature { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 18px; align-items: start; }
.icon-row { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 48px; height: 48px; object-fit: contain; background: var(--mist); border-radius: 12px; }
.shelf-spaced { margin-top: 14px; }
.actions-start { justify-content: flex-start; }

.muted { color: var(--assist); }
hr.soft { border: 0; border-top: 1px solid var(--border); margin: 26px 0; }

@media (max-width: 880px) {
    .card-grid, .card-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .shelf { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .index-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .split-feature { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    :root { --header-space: 82px; }
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .top-wrap, .masthead-wrap, .page-shell, .footer-inner { width: min(calc(100% - 32px), var(--max)); }
    .tabbar { display: none; }
    .masthead-wrap { grid-template-columns: 1fr auto 1fr; gap: 8px; }
    .drawer-open { padding: 0 12px; }
    .app-entry { padding: 0 10px; }
    .page-shell { padding-top: calc(var(--header-space) + 22px); padding-bottom: 34px; }
    .page-hero { padding-top: 18px; }
    h1 { font-size: 24px; }
    .card-grid, .card-grid.two, .card-grid.four, .footer-grid { grid-template-columns: 1fr; }
    .shelf, .index-links { grid-template-columns: 1fr; }
    .media-slot-large { height: 260px; }
.media-slot-benqi { height: 200px; }
    .media-slot-app { height: 320px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .number-row { grid-template-columns: 44px 1fr; padding: 14px; }
    .search-layer { inset: 0; background: var(--brand-deep); transform: none; }
    .search-card { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--brand-deep); color: #fff; padding: 22px 16px; overflow-y: auto; }
    .search-card h2, .search-card p, .search-card label { color: #fff; }
    .search-close { background: transparent; color: #fff; border-color: rgba(255,255,255,.44); }
    .search-card input { border-color: rgba(255,255,255,.45); }
    .preset-links a { background: rgba(255,255,255,.12); color: #fff; }
    .mobile-bottom { position: fixed; inset: auto 0 0 0; z-index: 1400; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: #fff; border-top: 1px solid var(--border); }
    .mobile-bottom a { min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--brand-deep); font-size: 13px; }
    .mobile-bottom a.is-active { background: var(--brand); color: #fff; }
    .overlay.is-open { z-index: 1500; }
    .drawer-panel { z-index: 1700; }
    .footer-inner { padding-bottom: 28px; }
}
