:root {
    --bg: #0B1220;
    --deep: #070B14;
    --panel: #141C2E;
    --panel-2: #1C2740;
    --title: #E8F0FF;
    --text: #C9D6EC;
    --muted: #8FA3C4;
    --soft: #6B7F9E;
    --brand: #7BA3E8;
    --bright: #A8C4F0;
    --space: #1A3A6E;
    --border: rgba(123, 163, 232, 0.18);
    --border-strong: rgba(123, 163, 232, 0.46);
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    --max: 1120px;
    --top: 122px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    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;
    -webkit-font-smoothing: antialiased;
}
body.starbox-open, body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-150%); padding: 8px 12px; background: var(--bright); color: var(--deep); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 80; }
.starline { height: 22px; background: var(--deep); border-bottom: 1px solid var(--border); color: var(--title); font-size: 12px; }
.starline-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-button { min-height: 22px; border: 0; padding: 0 2px; color: var(--title); background: transparent; cursor: pointer; }
.orbitbar { height: 60px; background: rgba(11, 18, 32, 0.98); border-bottom: 1px solid var(--border); }
.orbitbar-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.orbit-brand { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; max-width: 180px; }
.brand-logo { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-fallback { font-size: 16px; font-weight: 760; color: var(--title); white-space: nowrap; }
.starbox-trigger, .app-link, .icon-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 0 16px;
    color: var(--title);
    background: var(--deep);
    cursor: pointer;
    font-size: 14px;
}
.starbox-trigger { justify-self: center; }
.app-link { justify-self: end; }
.seatnav { height: 40px; background: var(--space); border-bottom: 1px solid var(--border-strong); }
.seatnav-inner { height: 40px; display: flex; align-items: stretch; justify-content: center; gap: 8px; }
.seatnav a { min-width: 92px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; color: var(--title); font-size: 13px; }
.seatnav a.is-current { background: var(--brand); color: var(--deep); font-weight: 760; }
.site-main { min-height: 70vh; padding-top: calc(var(--top) + 28px); padding-bottom: 56px; }
.page-hero, .home-cover { padding: 26px 0 30px; }
.eyebrow { color: var(--bright); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; color: var(--title); font-size: 24px; line-height: 1.3; }
h2 { margin-bottom: 12px; color: var(--title); font-size: 20px; line-height: 1.4; }
h3 { margin-bottom: 8px; color: var(--title); font-size: 16px; line-height: 1.45; }
p { margin-bottom: 14px; }
.lead { max-width: 820px; color: var(--text); font-size: 16px; }
.muted { color: var(--muted); }
.section { padding: 30px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head p { max-width: 640px; margin: 0; color: var(--muted); }
.media-slot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot.banner { height: 260px; }
.media-slot.card-image { height: 180px; }
.media-slot.feature-image { height: 200px; }
.media-slot.app-image { height: 360px; max-height: 360px; }
.media-slot.brand-image { height: 210px; }
.cover-copy { padding-top: 22px; max-width: 860px; }
.cover-copy .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cover-copy .brandline strong { color: var(--title); font-size: 18px; }
.cover-copy .brandline span { color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #A8C4F0 0%, #7BA3E8 55%, #1A3A6E 100%); color: var(--deep); font-weight: 760; }
.btn-secondary { background: var(--deep); border-color: var(--border-strong); color: var(--title); }
.btn:hover, .starbox-trigger:hover, .app-link:hover, .icon-button:hover, .search-presets a:hover { transform: translateY(-1px); border-color: var(--bright); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { min-width: 0; padding: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.card .media-slot { margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--bright); font-weight: 700; }
.number-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.number-card { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.number-card b, .big-number { display: block; margin-bottom: 6px; color: var(--bright); font-size: 24px; line-height: 1; letter-spacing: .04em; }
.split-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.split-block.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.list-stack { display: grid; gap: 12px; }
.list-row { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.list-row:last-child { border-bottom: 0; }
.list-row .index { color: var(--bright); font-weight: 760; font-size: 15px; }
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shelf-item { min-width: 0; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: 10px; }
.shelf-item strong { display: block; color: var(--title); margin-bottom: 6px; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 8px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding: 0 0 22px 14px; }
.timeline-item::before { content: ""; position: absolute; left: -23px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bright); box-shadow: 0 0 0 5px rgba(123,163,232,.14); }
.timeline-item:last-child { padding-bottom: 0; }
.status { display: inline-flex; min-height: 26px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--space); color: var(--title); font-size: 12px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; align-items: start; }
.article-body { min-width: 0; }
.article-body section { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-body section:last-child { border-bottom: 0; }
.article-aside { position: sticky; top: 144px; padding: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.article-aside a { display: flex; min-height: 44px; align-items: center; border-bottom: 1px solid var(--border); color: var(--muted); }
.article-aside a:last-child { border-bottom: 0; }
.note-box { padding: 16px 18px; background: var(--panel-2); border: 1px solid var(--border-strong); border-radius: 12px; }
.definition-list { display: grid; gap: 12px; }
.definition-list > div { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.definition-list dt { color: var(--title); font-weight: 760; margin-bottom: 6px; }
.definition-list dd { margin: 0; color: var(--text); }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.faq-item h2, .faq-item h3 { margin-bottom: 8px; }
.faq-item p:last-child { margin-bottom: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.tag { display: inline-flex; min-height: 32px; align-items: center; padding: 0 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.site-footer { background: var(--deep); border-top: 1px solid var(--border); color: var(--text); font-size: 13px; padding: 34px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-main { display: grid; gap: 26px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.footer-brand > a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-brand strong { color: var(--title); font-size: 16px; }
.footer-brand span { color: var(--muted); letter-spacing: .12em; }
.footer-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.footer-groups h2 { margin: 0 0 8px; color: var(--bright); font-size: 13px; }
.footer-groups a { min-height: 44px; display: flex; align-items: center; color: var(--text); }
.footer-note, .copyright { margin: 0; color: var(--muted); }
.screen-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.58); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
body.starbox-open .screen-overlay, body.search-open .screen-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
.starbox-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(400px, 86vw); transform: translateX(104%); visibility: hidden; pointer-events: none; background: var(--deep); border-left: 1px solid var(--border-strong); box-shadow: var(--shadow); transition: transform .24s ease, visibility .24s ease; }
body.starbox-open .starbox-panel { transform: translateX(0); visibility: visible; pointer-events: auto; }
.starbox-head { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.starbox-brand { min-width: 0; display: flex; align-items: center; gap: 10px; }
.starbox-brand strong, .starbox-brand span { display: block; }
.starbox-brand strong { color: var(--title); }
.starbox-brand span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.starbox-scroll { height: calc(100% - 72px); overflow-y: auto; padding: 12px 16px 28px; }
.starbox-scroll section { padding: 14px 0; border-bottom: 1px solid var(--border); }
.starbox-scroll section:last-child { border-bottom: 0; }
.starbox-scroll h2 { margin: 0 0 6px; color: var(--bright); font-size: 13px; }
.starbox-scroll a { display: grid; gap: 2px; min-height: 56px; align-content: center; padding: 7px 0; }
.starbox-scroll a strong { color: var(--title); font-size: 14px; }
.starbox-scroll a span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.search-layer { position: fixed; z-index: 101; left: 0; right: 0; top: 82px; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
body.search-open .search-layer { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(calc(100% - 32px), 760px); margin: 12px auto 0; padding: 20px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); }
.search-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.search-top h2 { margin-bottom: 6px; }
.search-card > p { color: var(--muted); }
.search-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; background: var(--deep); color: var(--title); }
.mobile-bottom { display: none; }
@media (max-width: 860px) {
    :root { --top: 82px; }
    .seatnav { display: none; }
    .grid-3, .number-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-block, .split-block.reverse, .article-grid { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-main { padding-bottom: 82px; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .shell { width: calc(100% - 32px); }
    .orbitbar-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
    .orbit-brand { max-width: 125px; }
    .brand-logo { max-width: 120px; }
    .starbox-trigger, .app-link { padding: 0 11px; }
    .app-link { min-width: 70px; }
    .media-slot.banner { height: 260px; }
    .media-slot.card-image { height: 180px; }
    .grid-3, .grid-2, .number-grid, .shelf { grid-template-columns: 1fr; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .search-layer { inset: 0; top: 0; background: var(--deep); overflow-y: auto; }
    .search-card { width: 100%; min-height: 100%; margin: 0; padding: calc(28px + env(safe-area-inset-top)) 16px 80px; border: 0; border-radius: 0; background: var(--deep); box-shadow: none; }
    .search-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .mobile-bottom { position: fixed; z-index: 70; left: 0; right: 0; bottom: 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: rgba(7,11,20,.98); border-top: 1px solid var(--border-strong); }
    .mobile-bottom a { min-width: 0; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
    .mobile-bottom a.is-current { background: var(--bright); color: var(--deep); font-weight: 760; }
    .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    .list-row { grid-template-columns: 54px 1fr; gap: 10px; }
}
@media (max-width: 380px) {
    .starline-inner > span { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .orbit-brand { max-width: 106px; }
    .brand-logo { max-width: 102px; }
    .starbox-trigger, .app-link { padding: 0 9px; }
}
.app-icon { width: 48px; height: 48px; margin: 0 0 14px; object-fit: contain; object-position: center; border-radius: 12px; }

.space-top-16 { margin-top: 16px; }
.space-top-18 { margin-top: 18px; }

.text-button { position: relative; }
.text-button::before { content: ""; position: absolute; inset: -11px -12px; }
.seatnav a { position: relative; }
.seatnav a::before { content: ""; position: absolute; inset: -2px 0; }
