:root {
    --bg: #0C100E;
    --deep: #080A09;
    --card: #141A16;
    --card2: #1A2420;
    --title: #E8F6EE;
    --text: #CDE3D6;
    --muted: #8FB3A0;
    --soft: #6E8F7E;
    --brand: #2A9D5C;
    --bright: #3CB371;
    --darkgreen: #146B3A;
    --sand: #EFE6D2;
    --border: rgba(42,157,92,0.18);
    --strong-border: rgba(42,157,92,0.45);
    --shadow: 0 12px 28px rgba(8,10,9,0.35);
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; overflow-x: hidden; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--sand); color: var(--deep); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.topline { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 22px; background: #050706; color: var(--bright); border-bottom: 1px solid var(--border); font-size: 12px; }
.topline-inner, .weibar-inner, .footer-inner, .site-main > *, .subtabs { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.topline-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-mini { font-weight: 700; letter-spacing: .04em; }
.text-button { appearance: none; border: 0; background: transparent; color: var(--bright); min-height: 22px; padding: 0 6px; cursor: pointer; }
.weibar { position: fixed; top: 22px; inset-inline: 0; z-index: 99; height: 60px; background: var(--deep); border-bottom: 1px solid var(--strong-border); }
.weibar-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand-link { justify-self: start; min-height: 44px; min-width: 80px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 800; color: var(--title); }
.brand-link img { height: 28px; width: auto; max-width: 160px; object-fit: contain; }
.menu-button, .app-link, .btn, .icon-button, .search-preset a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; }
.menu-button { justify-self: center; min-width: 92px; border: 1px solid var(--strong-border); background: var(--card); color: var(--text); }
.app-link { justify-self: end; min-width: 92px; padding: 0 16px; color: #08110C; background: linear-gradient(135deg,#3CB371 0%,#2A9D5C 55%,#146B3A 100%); font-weight: 800; }
.subtabs { position: fixed; top: 82px; left: 0; transform: none; z-index: 98; height: 40px; display: flex; justify-content: center; align-items: stretch; background: var(--darkgreen); border-bottom: 1px solid var(--strong-border); font-size: 13px; width: 100%; max-width: none; margin: 0; }
.subtabs a { min-width: 110px; display: inline-flex; align-items: center; justify-content: center; color: var(--title); padding: 0 18px; }
.subtabs a.active { background: var(--brand); color: #08110C; font-weight: 800; }
.site-main { padding-top: 146px; padding-bottom: 44px; min-height: 70vh; }
.page-shell, .home-shell { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.hero, .section, .intro-card, .policy-section { margin-bottom: 24px; }
.hero { padding: 22px; background: linear-gradient(180deg, rgba(20,26,22,.98), rgba(8,10,9,.98)); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.hero h1, .page-head h1 { margin: 0 0 10px; color: var(--title); font-size: 24px; line-height: 1.3; }
.hero p, .page-head p { margin: 0; color: var(--text); }
.eyebrow { color: var(--bright); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.media-slot { width: 100%; background: #050706; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.banner-slot { height: 260px; margin-bottom: 18px; }
.card-media { height: 180px; margin-bottom: 14px; }
.feature-media { height: 200px; margin-bottom: 16px; }
.app-media { height: 340px; max-height: 360px; }
.icon-slot { width: 64px; height: 64px; flex: 0 0 64px; }
.icon-slot img { width: 48px; height: 48px; }
.hero-copy { max-width: 830px; }
.hero-copy p { margin: 8px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn { height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.btn-primary { color: #08110C; font-weight: 800; background: linear-gradient(135deg,#3CB371 0%,#2A9D5C 55%,#146B3A 100%); }
.btn-secondary { color: var(--text); background: #0A0D0B; border: 1px solid var(--strong-border); }
.btn:hover, .app-link:hover, .menu-button:hover, .search-preset a:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.section { padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.section h2, .policy-section h2 { margin: 0 0 12px; font-size: 20px; color: var(--title); }
.section h3, .card h3, .timeline h3 { margin: 0 0 8px; font-size: 16px; color: var(--sand); }
.section p, .card p, .policy-section p { margin: 0 0 12px; }
.section p:last-child, .card p:last-child, .policy-section p:last-child { margin-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--card2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; min-width: 0; }
.card-link { transition: border-color .2s ease, transform .2s ease; }
.card-link:hover { border-color: var(--strong-border); transform: translateY(-2px); }
.numbered { counter-reset: item; }
.numbered > *::before { counter-increment: item; content: counter(item, decimal-leading-zero); display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 50%; background: var(--brand); color: #08110C; font-weight: 900; }
.kicker-list, .clean-list { list-style: none; padding: 0; margin: 0; }
.kicker-list li { padding: 11px 0; border-top: 1px solid var(--border); }
.kicker-list li:first-child { border-top: 0; }
.clean-list li { padding: 7px 0 7px 20px; position: relative; }
.clean-list li::before { content: ""; width: 7px; height: 7px; background: var(--bright); border-radius: 50%; position: absolute; left: 0; top: 16px; }
.page-head { margin-bottom: 20px; padding: 18px 0 4px; border-bottom: 1px solid var(--border); }
.page-head .lead { max-width: 900px; color: var(--muted); }
.lede { font-size: 16px; color: var(--text); }
.notice { background: #0A0D0B; border: 1px solid var(--strong-border); border-left: 4px solid var(--bright); padding: 14px 16px; border-radius: 10px; color: var(--text); }
.timeline { position: relative; margin-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 4px; bottom: 4px; width: 1px; background: var(--strong-border); }
.timeline-item { position: relative; padding-left: 48px; margin: 0 0 20px; }
.timeline-item::before { content: ""; position: absolute; left: 6px; top: 4px; width: 16px; height: 16px; border: 4px solid var(--bg); border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 1px var(--strong-border); }
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; background: var(--brand); color: #08110C; border-radius: 999px; font-size: 12px; font-weight: 800; }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.meta-row span { border: 1px solid var(--border); color: var(--muted); border-radius: 999px; padding: 4px 9px; font-size: 12px; }
.faq-list details { background: var(--card2); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; padding: 0 16px; }
.faq-list summary { cursor: pointer; list-style: none; min-height: 52px; display: flex; align-items: center; font-weight: 800; color: var(--title); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: 0 0 16px; color: var(--text); }
.app-showcase { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 22px; align-items: center; }
.app-copy-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.site-footer { background: #050706; border-top: 1px solid var(--strong-border); color: var(--text); padding: 30px 0 calc(76px + env(safe-area-inset-bottom)); font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--title); }
.footer-brand img { height: 28px; width: auto; object-fit: contain; }
.footer-brand span { color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-grid h2 { font-size: 13px; color: var(--bright); margin: 0 0 9px; }
.footer-grid a { display: block; min-height: 32px; color: var(--text); }
.footer-grid a:hover { color: var(--sand); }
.footer-note { margin: 22px 0 8px; color: var(--muted); max-width: 900px; }
.copyright { margin: 0; color: var(--soft); }
.overlay { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.62); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 130; width: min(400px, 86vw); background: var(--deep); border-right: 1px solid var(--strong-border); transform: translateX(-102%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s ease; box-shadow: var(--shadow); }
.drawer.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 68px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--title); }
.drawer-brand img { height: 28px; width: auto; object-fit: contain; }
.icon-button { border: 1px solid var(--strong-border); background: var(--card); color: var(--text); min-width: 64px; padding: 0 12px; }
.drawer-scroll { height: calc(100% - 68px); overflow-y: auto; padding: 16px; }
.drawer-scroll section { margin-bottom: 18px; }
.drawer-scroll h2 { font-size: 13px; color: var(--bright); margin: 0 0 8px; }
.drawer-scroll a { display: grid; gap: 1px; padding: 10px 8px; border-top: 1px solid var(--border); }
.drawer-scroll a b { color: var(--title); font-size: 14px; }
.drawer-scroll a span { color: var(--muted); font-size: 12px; }
.search-layer { position: fixed; top: 82px; left: 0; right: 0; z-index: 128; visibility: hidden; pointer-events: none; transform: translateY(-14px); opacity: 0; transition: .2s ease; }
.search-layer.open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.search-card { width: min(760px, calc(100% - 32px)); margin: 14px auto 0; background: var(--deep); border: 1px solid var(--strong-border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search-head h2 { margin: 0; color: var(--title); font-size: 18px; }
.search-card p { margin: 6px 0 14px; color: var(--muted); }
.search-preset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.search-preset a { background: var(--card2); border: 1px solid var(--border); color: var(--text); }
.mobile-bottom { display: none; }
.prose-columns { columns: 2 320px; column-gap: 26px; }
.prose-columns p, .prose-columns h2, .prose-columns h3 { break-inside: avoid; }
@media (max-width: 800px) {
    .subtabs { display: none; }
    .site-main { padding-top: 104px; padding-bottom: 66px; }
    .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
    .app-showcase { grid-template-columns: 1fr; }
    .app-media { height: 300px; }
    .mobile-bottom { position: fixed; z-index: 110; bottom: 0; left: 0; right: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: #050706; border-top: 1px solid var(--strong-border); }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
    .mobile-bottom a.active { background: var(--brand); color: #08110C; font-weight: 900; }
    .site-footer { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    .search-layer { top: 0; bottom: 0; background: var(--deep); }
    .search-card { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; padding: 26px 16px; }
    .search-preset { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .topline-inner, .weibar-inner, .footer-inner, .site-main > *, .subtabs { width: calc(100% - 32px); }
    .weibar-inner { grid-template-columns: minmax(74px, 1fr) auto minmax(74px, 1fr); gap: 6px; }
    .brand-link { min-width: 0; overflow: hidden; }
    .brand-link img { max-width: 96px; }
    .menu-button, .app-link { min-width: 76px; padding-inline: 10px; }
    .hero, .section { padding: 16px; }
    .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
    .banner-slot { height: 220px; }
    .feature-media { height: 180px; }
    .card-media { height: 170px; }
    .search-preset { grid-template-columns: 1fr; }
    .prose-columns { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
