:root {
    --bg: #E8F3F4;
    --bg-deep: #D4E8EA;
    --surface: #F7FCFC;
    --surface-alt: #DCECEE;
    --title: #0A3D4A;
    --text: #1E4A54;
    --muted: #4A737C;
    --quiet: #7A8F93;
    --lake: #1A6B7A;
    --green: #2E9A8F;
    --night: #08222A;
    --gold: #D4B46A;
    --white: #F2F7F8;
    --mist: #7DB8B0;
    --border: rgba(10,61,74,0.16);
    --accent-border: rgba(46,154,143,0.40);
    --shadow: 0 16px 36px rgba(8,34,42,0.10);
    --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.75; overflow-x: hidden; }
body.overlay-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(212,180,106,.72); outline-offset: 3px; }
.shell { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 90; }
.star-track { height: 22px; background: var(--night); color: var(--white); font-size: 12px; }
.track-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.track-brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-button { min-width: 44px; height: 22px; padding: 0 8px; background: transparent; color: var(--white); }
.dome-bar { height: 64px; background: var(--white); border-bottom: 1px solid rgba(26,107,122,.22); }
.dome-inner { height: 64px; display: grid; grid-template-columns: minmax(120px,1fr) auto minmax(120px,1fr); align-items: center; gap: 16px; }
.brand-mark { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 36px; max-width: 220px; object-fit: contain; object-position: left center; }
.brand-fallback { font-size: 22px; font-weight: 800; letter-spacing: .06em; color: var(--title); }
.map-open { min-height: 44px; padding: 0 18px; border: 1px solid var(--accent-border); border-radius: 10px; background: var(--surface); color: var(--night); font-weight: 700; }
.app-link { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 10px; background: linear-gradient(135deg,#2E9A8F 0%,#1A6B7A 55%,#0A3D4A 100%); color: var(--white); font-weight: 700; }
.screen-tabs { height: 44px; background: var(--surface-alt); border-bottom: 1px solid rgba(212,180,106,.72); }
.tabs-inner { height: 44px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.tabs-inner a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 8px; color: var(--title); white-space: nowrap; font-size: 14px; }
.tabs-inner a:hover { background: rgba(255,255,255,.65); }
.tabs-inner a.is-current { background: var(--lake); color: var(--white); }
.site-main { min-height: 65vh; padding-top: 154px; }
.page-overlay { position: fixed; inset: 0; z-index: 78; background: rgba(8,34,42,.44); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.page-overlay.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.star-map, .search-layer { position: fixed; left: 0; right: 0; z-index: 82; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-14px); transition: .22s ease; }
.star-map { top: 86px; background: var(--white); border-bottom: 1px solid var(--border); max-height: 68vh; overflow-y: auto; box-shadow: var(--shadow); }
.search-layer { top: 86px; padding: 18px 0; }
.star-map.is-open, .search-layer.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.star-map-shell { padding: 18px 0 24px; }
.star-map-head, .search-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.star-map-head { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.star-map-brand { display: flex; align-items: center; gap: 12px; }
.map-logo { height: 30px; width: auto; object-fit: contain; }
.star-map-brand strong, .star-map-brand span { display: block; }
.star-map-brand strong { color: var(--title); }
.star-map-brand span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.icon-close { min-width: 56px; min-height: 44px; border: 1px solid rgba(212,180,106,.75); border-radius: 10px; background: var(--white); color: var(--night); }
.map-groups { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; padding-top: 18px; }
.map-group h2 { margin: 0 0 10px; color: var(--title); font-size: 15px; }
.map-links { display: grid; gap: 8px; }
.map-links a { min-height: 60px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.map-links a:hover { border-color: var(--accent-border); transform: translateY(-1px); }
.map-links strong, .map-links span { display: block; }
.map-links strong { color: var(--title); font-size: 14px; }
.map-links span { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.search-card { padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.search-head h2 { margin: 2px 0 0; color: var(--title); font-size: 23px; }
.eyebrow { display: inline-block; color: var(--lake); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.search-box { margin-top: 16px; display: grid; grid-template-columns: 90px 1fr; align-items: center; border: 1px solid var(--accent-border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.search-box span { padding: 0 14px; color: var(--muted); font-size: 13px; }
.search-box input { min-width: 0; min-height: 48px; border: 0; padding: 0 14px; background: transparent; color: var(--night); outline: 0; }
.preset-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.preset-links a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid rgba(212,180,106,.72); border-radius: 9px; color: var(--night); background: var(--white); }
.page-wrap { padding: 34px 0 72px; }
.page-hero { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(280px,.88fr); gap: 28px; align-items: center; margin-bottom: 28px; }
.page-hero.no-art { grid-template-columns: 1fr; }
.hero-copy { min-width: 0; }
.kicker { color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .1em; }
h1 { margin: 8px 0 14px; color: var(--title); font-size: clamp(28px, 3vw, 32px); line-height: 1.25; }
.lead { margin: 0; font-size: 17px; line-height: 1.9; color: var(--text); }
.hero-art, .media-slot { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.hero-art img, .media-slot img, .card-media img, .app-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-art img { max-height: 260px; }
.media-slot { min-height: 200px; }
.section-block { margin-top: 24px; padding: 26px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 8px 20px rgba(8,34,42,.04); }
.section-block h2 { margin: 0 0 10px; color: var(--title); font-size: 22px; line-height: 1.35; }
.section-block p { margin: 10px 0 0; }
.section-block p:first-of-type { margin-top: 0; }
.muted { color: var(--muted); }
.grid-2, .grid-3, .grid-4, .grid-5 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.grid-5 { grid-template-columns: repeat(5,minmax(0,1fr)); }
.info-card { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.info-card h3 { margin: 0 0 8px; color: var(--title); font-size: 18px; }
.info-card p { margin: 0; color: var(--text); }
.info-card .note { margin-top: 8px; color: var(--muted); font-size: 13px; }
.card-media { height: 200px; margin: -20px -20px 16px; border-bottom: 1px solid var(--border); background: var(--surface-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 14px 14px 0 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 10px; font-weight: 800; }
.btn-primary { color: var(--white); background: linear-gradient(135deg,#2E9A8F 0%,#1A6B7A 55%,#0A3D4A 100%); }
.btn-secondary { color: var(--night); background: var(--white); border: 1px solid var(--gold); }
.number-list { display: grid; gap: 12px; margin-top: 16px; }
.number-item { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.number-item .num { color: var(--gold); font-size: 28px; line-height: 1; font-weight: 800; }
.number-item h3 { margin: 0 0 5px; color: var(--title); }
.number-item p { margin: 0; }
.list-plain { margin: 0; padding-left: 20px; }
.list-plain li + li { margin-top: 7px; }
.status-card { position: relative; overflow: hidden; }
.status-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--green),var(--lake),var(--gold)); }
.quote-card { padding: 22px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--white); }
.quote-card p { margin: 0; }
.quote-card footer { margin-top: 10px; color: var(--muted); font-size: 13px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.faq-item h2, .faq-item h3 { margin: 0 0 8px; color: var(--title); font-size: 18px; }
.faq-item p { margin: 0; }
.banner-slot { max-height: 300px; min-height: 220px; border: 1px solid var(--border); border-radius: 18px; background: var(--night); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.banner-slot img { width: 100%; max-height: 300px; object-fit: contain; object-position: center; }
.banner-fallback { color: var(--white); text-align: center; padding: 36px 20px; }
.banner-fallback strong { display: block; font-size: 28px; }
.home-intro { padding: 18px 2px 0; }
.home-intro h1 { margin-bottom: 8px; }
.constellation-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; align-items: start; }
.constellation-grid .info-card:nth-child(1), .constellation-grid .info-card:nth-child(5) { margin-top: 28px; }
.constellation-grid .info-card:nth-child(2), .constellation-grid .info-card:nth-child(4) { margin-top: 12px; }
.home-section { margin-top: 34px; }
.home-section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 14px; }
.home-section-head h2 { margin: 0; color: var(--title); font-size: 24px; }
.home-section-head p { margin: 0; color: var(--muted); max-width: 620px; }
.split-panel { display: grid; grid-template-columns: minmax(260px,.88fr) minmax(0,1.12fr); gap: 20px; align-items: stretch; }
.split-panel.reverse { grid-template-columns: minmax(0,1.12fr) minmax(260px,.88fr); }
.split-panel.reverse .media-slot { order: 2; }
.step-strip { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.step { padding: 18px 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--white); }
.step strong { display: block; color: var(--gold); font-size: 24px; }
.step span { display: block; color: var(--title); font-weight: 800; margin: 4px 0; }
.app-panel { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 24px; align-items: center; }
.app-visual { max-height: 420px; min-height: 300px; border-radius: 16px; background: var(--surface-alt); border: 1px solid var(--border); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.app-icon { width: 64px; height: 64px; object-fit: contain; }
.inline-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.inline-brand strong { color: var(--title); font-size: 20px; }
.site-footer { background: var(--night); color: var(--white); margin-top: 30px; }
.footer-shell { padding: 40px 0 26px; }
.footer-brand { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(0,1.2fr); gap: 28px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(242,247,248,.15); }
.footer-brand-link { display: inline-flex; align-items: center; gap: 12px; }
.footer-logo { height: 34px; width: auto; object-fit: contain; }
.footer-brand-link strong, .footer-brand-link small { display: block; }
.footer-brand-link small { color: rgba(242,247,248,.70); letter-spacing: .08em; }
.footer-brand p { margin: 0; color: rgba(242,247,248,.78); }
.footer-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; padding: 26px 0; }
.footer-groups h2 { margin: 0 0 10px; font-size: 15px; color: var(--gold); }
.footer-groups a { display: block; padding: 4px 0; color: rgba(242,247,248,.84); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(242,247,248,.15); color: rgba(242,247,248,.70); font-size: 13px; }
.footer-bottom div { display: flex; gap: 14px; }
.mobile-bottom-nav { display: none; }
.code-note { display: none !important; }
@media (max-width: 980px) {
    .map-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .grid-4, .grid-5, .constellation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .constellation-grid .info-card { margin-top: 0 !important; }
    .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .step-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .page-hero, .split-panel, .split-panel.reverse, .app-panel { grid-template-columns: 1fr; }
    .split-panel.reverse .media-slot { order: 0; }
}
@media (max-width: 720px) {
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .shell { width: min(calc(100% - 32px), var(--max)); }
    .screen-tabs { display: none; }
    .site-main { padding-top: 110px; }
    .dome-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
    .brand-logo { max-width: 132px; height: 32px; }
    .brand-fallback { font-size: 18px; }
    .map-open, .app-link { min-height: 44px; padding: 0 11px; font-size: 14px; }
    .star-map { top: 86px; max-height: 78vh; }
    .search-layer { top: 86px; padding: 10px 0; }
    .map-groups { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .map-links a { min-height: 72px; }
    .search-card { padding: 16px; }
    .search-head h2 { font-size: 19px; }
    .search-box { grid-template-columns: 1fr; }
    .search-box span { padding-top: 10px; }
    .page-wrap { padding-top: 24px; padding-bottom: 52px; }
    .page-hero { gap: 18px; }
    .hero-art { min-height: 180px; }
    .section-block { padding: 20px; }
    .grid-2, .grid-3, .grid-4, .grid-5, .constellation-grid, .footer-brand, .footer-groups { grid-template-columns: 1fr; }
    .step-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .banner-slot { min-height: 180px; }
    .card-media { height: 190px; }
    .footer-bottom { flex-direction: column; }
    .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(8,34,42,.08); }
    .mobile-bottom-nav a { min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: center; color: var(--title); font-size: 13px; }
    .mobile-bottom-nav a.is-current { background: var(--lake); color: var(--white); }
}
@media (max-width: 420px) {
    .track-brand { max-width: calc(100vw - 92px); }
    .dome-inner { grid-template-columns: minmax(92px,1fr) auto auto; }
    .brand-logo { max-width: 108px; height: 30px; }
    .map-open, .app-link { padding: 0 8px; font-size: 13px; }
    .map-groups { gap: 10px; }
    .map-links a { padding: 9px; }
    .map-links span { font-size: 11px; }
    .number-item { grid-template-columns: 42px 1fr; padding: 15px; }
}
