* { box-sizing: border-box; }
html { background: #080A09; scroll-behavior: smooth; }
body { margin: 0; background: #0C100E; color: #CDE3D6; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; padding-top: 122px; }
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #3CB371; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 10px 14px; background: #EFE6D2; color: #08110C; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.boundary-bar { position: fixed; inset: 0 0 auto 0; height: 22px; z-index: 100; background: #080A09; border-bottom: 1px solid rgba(42,157,92,.18); color: #3CB371; font-size: 12px; }
.boundary-inner, .rail-inner, .tabs-inner, .site-main, .footer-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.boundary-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; }
.plain-action { min-width: 44px; min-height: 22px; border: 0; padding: 0 4px; background: transparent; color: #3CB371; cursor: pointer; }
.site-rail { position: fixed; top: 22px; left: 0; right: 0; height: 60px; z-index: 99; background: rgba(8,10,9,.98); border-bottom: 1px solid rgba(42,157,92,.45); }
.rail-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.brand-link { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #E8F6EE; }
.brand-media { display: inline-flex; min-width: 0; }
.brand-media img, .drawer-logo img, .footer-logo-slot img { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-media:has(img) + .brand-fallback { display: none; }
.menu-trigger { justify-self: center; min-width: 72px; min-height: 44px; border: 1px solid rgba(42,157,92,.45); border-radius: 10px; background: #141A16; color: #CDE3D6; cursor: pointer; }
.app-link { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 10px; background: linear-gradient(135deg,#3CB371 0%,#2A9D5C 55%,#146B3A 100%); color: #08110C; font-size: 14px; font-weight: 800; white-space: nowrap; }
.layer-tabs { position: fixed; top: 82px; left: 0; right: 0; height: 40px; z-index: 98; background: #0D2518; border-bottom: 1px solid rgba(42,157,92,.45); }
.tabs-inner { height: 40px; display: flex; align-items: stretch; justify-content: center; gap: 8px; }
.tabs-inner a { min-width: 108px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; font-size: 13px; color: #CDE3D6; }
.tabs-inner a:hover { background: #141A16; }
.tabs-inner a.is-current { background: #2A9D5C; color: #08110C; font-weight: 800; }
.site-main { min-height: 60vh; padding: 34px 0 54px; }
.page-hero { padding: 28px 0 18px; }
.eyebrow { margin: 0 0 8px; color: #8FB3A0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: #E8F6EE; line-height: 1.3; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 14px; }
.lead { margin-top: 14px; max-width: 780px; color: #CDE3D6; font-size: 16px; }
.muted { color: #8FB3A0; }
.section { padding: 30px 0; border-top: 1px solid rgba(42,157,92,.18); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head p { margin: 0; max-width: 620px; color: #8FB3A0; }
.cover-slot, .media-slot { width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #080A09; border: 1px solid rgba(42,157,92,.18); border-radius: 14px; box-shadow: 0 12px 28px rgba(8,10,9,.35); }
.cover-slot { height: 260px; }
.media-slot { height: 180px; }
.media-slot.tall { height: 200px; }
.media-slot.app-portrait { height: 360px; }
.cover-slot img, .media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-copy { padding: 20px 0 0; }
.hero-copy .brand-mark { display: inline-flex; gap: 8px; align-items: center; color: #8FB3A0; font-size: 13px; }
.hero-copy h1 { margin-top: 8px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,#3CB371 0%,#2A9D5C 55%,#146B3A 100%); color: #08110C; }
.btn-secondary { background: #080A09; color: #CDE3D6; border: 1px solid rgba(42,157,92,.45); }
.btn:hover { transform: translateY(-1px); }
.cards-3, .cards-4, .cards-2 { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; background: #141A16; border: 1px solid rgba(42,157,92,.18); border-radius: 12px; padding: 18px; box-shadow: 0 12px 28px rgba(8,10,9,.20); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; height: 100%; }
.card-link:hover { border-color: rgba(42,157,92,.45); background: #1A2420; }
.number-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.number-item { padding: 16px; background: #1A2420; border: 1px solid rgba(42,157,92,.18); border-radius: 10px; }
.number-item strong { display: block; margin-bottom: 6px; color: #EFE6D2; font-size: 18px; }
.list-clean { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-clean li { padding: 13px 14px; background: #141A16; border-left: 3px solid #2A9D5C; border-radius: 0 10px 10px 0; }
.timeline { position: relative; display: grid; gap: 14px; margin-top: 18px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: rgba(42,157,92,.45); }
.timeline-item { position: relative; padding: 16px 16px 16px 38px; background: #141A16; border: 1px solid rgba(42,157,92,.18); border-radius: 12px; }
.timeline-item::before { content: ""; position: absolute; left: 6px; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: #3CB371; box-shadow: 0 0 0 4px #0C100E; }
.status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #2A9D5C; color: #08110C; font-size: 12px; font-weight: 800; }
.prose { max-width: 860px; }
.prose h2 { margin: 28px 0 10px; }
.prose h3 { margin: 20px 0 8px; }
.prose p { color: #CDE3D6; }
.note-box { margin: 18px 0; padding: 16px; background: #1A2420; border: 1px solid rgba(42,157,92,.45); border-radius: 12px; color: #EFE6D2; }
.definition-list { display: grid; grid-template-columns: 180px 1fr; gap: 1px; background: rgba(42,157,92,.18); border: 1px solid rgba(42,157,92,.18); border-radius: 12px; overflow: hidden; }
.definition-list dt, .definition-list dd { margin: 0; padding: 14px 16px; background: #141A16; }
.definition-list dt { color: #EFE6D2; font-weight: 800; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #141A16; border: 1px solid rgba(42,157,92,.18); border-radius: 12px; padding: 18px; }
.faq-item h2, .faq-item h3 { margin-bottom: 8px; }
.app-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: center; }
.icon-chip { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.icon-chip .icon-slot { width: 48px; height: 48px; flex: 0 0 48px; display: flex; align-items: center; justify-content: center; background: #080A09; border: 1px solid rgba(42,157,92,.18); border-radius: 12px; overflow: hidden; }
.icon-chip img { width: 48px; height: 48px; object-fit: contain; }
.site-footer { background: #050706; color: #CDE3D6; border-top: 1px solid rgba(42,157,92,.45); font-size: 13px; }
.footer-inner { padding: 32px 0 74px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-logo-slot { min-width: 0; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: #E8F6EE; font-size: 16px; }
.footer-brand span { color: #8FB3A0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.footer-grid section { min-width: 0; }
.footer-grid h2 { margin-bottom: 8px; font-size: 13px; color: #EFE6D2; }
.footer-grid a { display: block; min-height: 32px; padding: 4px 0; color: #8FB3A0; }
.footer-grid a:hover { color: #CDE3D6; }
.footer-note { margin-top: 24px; color: #8FB3A0; max-width: 860px; }
.copyright { margin: 10px 0 0; color: #6E8F7E; }
.site-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(0,0,0,.62); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.site-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.site-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 150; width: min(400px, 86vw); padding: 18px; overflow-y: auto; background: #080A09; border-right: 1px solid rgba(42,157,92,.45); transform: translateX(-104%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; }
.site-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(42,157,92,.18); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand strong, .drawer-brand small { display: block; }
.drawer-brand small { color: #8FB3A0; }
.icon-button { min-width: 56px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(42,157,92,.45); background: #141A16; color: #CDE3D6; cursor: pointer; }
.drawer-groups { padding-top: 10px; }
.drawer-groups section { padding: 14px 0; border-bottom: 1px solid rgba(42,157,92,.18); }
.drawer-groups h2 { margin-bottom: 8px; color: #8FB3A0; font-size: 13px; }
.drawer-groups a { display: block; padding: 10px 8px; border-radius: 10px; }
.drawer-groups a:hover { background: #141A16; }
.drawer-groups strong, .drawer-groups span { display: block; }
.drawer-groups strong { color: #E8F6EE; }
.drawer-groups span { color: #8FB3A0; font-size: 13px; line-height: 1.5; }
.search-layer { position: fixed; top: 82px; left: 0; right: 0; z-index: 151; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-12px); transition: .2s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(760px, calc(100% - 32px)); margin: 16px auto 0; padding: 18px; background: #080A09; border: 1px solid rgba(42,157,92,.45); border-radius: 14px; box-shadow: 0 12px 28px rgba(8,10,9,.35); }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-head strong, .search-head span { display: block; }
.search-head strong { color: #E8F6EE; font-size: 18px; }
.search-head span { color: #8FB3A0; font-size: 13px; }
.search-label { display: block; margin: 16px 0 6px; color: #8FB3A0; font-size: 13px; }
.search-input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid rgba(42,157,92,.45); border-radius: 10px; background: #141A16; color: #CDE3D6; }
.search-presets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.search-presets a { min-height: 60px; padding: 10px 12px; background: #141A16; border: 1px solid rgba(42,157,92,.18); border-radius: 10px; }
.search-presets a:hover { border-color: rgba(42,157,92,.45); background: #1A2420; }
.search-presets a span { display: block; color: #8FB3A0; font-size: 12px; }
.search-empty { margin: 12px 0 0; color: #8FB3A0; }
.mobile-bottom { display: none; }
@media (max-width: 820px) {
    body { padding-top: 82px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .layer-tabs { display: none; }
    .boundary-inner, .rail-inner, .site-main, .footer-inner { width: calc(100% - 32px); }
    .rail-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .brand-link { min-width: 0; overflow: hidden; }
    .brand-fallback { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .menu-trigger { min-width: 64px; }
    .app-link { padding: 0 12px; }
    .site-main { padding-top: 24px; }
    .cards-4, .cards-3, .cards-2, .footer-grid, .number-grid { grid-template-columns: 1fr; }
    .section-head { align-items: start; flex-direction: column; gap: 8px; }
    .app-feature { grid-template-columns: 1fr; }
    .definition-list { grid-template-columns: 1fr; }
    .definition-list dt { padding-bottom: 4px; }
    .definition-list dd { padding-top: 6px; }
    .search-layer { top: 0; bottom: 0; background: #080A09; overflow-y: auto; }
    .search-card { width: 100%; min-height: 100%; margin: 0; border: 0; border-radius: 0; padding: 20px 16px 82px; box-shadow: none; }
    .search-presets { grid-template-columns: 1fr; }
    .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; 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 rgba(42,157,92,.45); }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; color: #CDE3D6; font-size: 13px; }
    .mobile-bottom a.is-current { background: #2A9D5C; color: #08110C; font-weight: 800; }
    .footer-inner { padding-bottom: 86px; }
}
@media (max-width: 520px) {
    .cover-slot { height: 260px; }
    .media-slot, .media-slot.tall { height: 180px; }
    .media-slot.app-portrait { height: 320px; }
    h1 { font-size: 24px; }
    .button-row .btn { flex: 1 1 100%; }
}
