:root {
    --bg: #0B1220;
    --deep: #070B14;
    --panel: #141C2E;
    --panel-2: #1C2740;
    --title: #E8F0FF;
    --text: #C9D6EC;
    --muted: #8FA3C4;
    --soft: #6B7F9E;
    --brand: #7BA3E8;
    --bright: #A8C4F0;
    --space: #1A3A6E;
    --line: rgba(123, 163, 232, 0.18);
    --line-strong: rgba(123, 163, 232, 0.46);
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); }
body {
    margin: 0;
    min-width: 320px;
    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;
}
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }
.header-wrap, .content-wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-header { position: relative; z-index: 80; }
.starline { position: fixed; inset: 0 0 auto 0; height: 22px; background: var(--deep); border-bottom: 1px solid var(--line); z-index: 100; color: var(--bright); font-size: 12px; }
.starline-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.starline-search { position: relative; border: 0; padding: 0 2px; background: transparent; color: var(--title); cursor: pointer; font-size: 12px; }
.starline-search::before { content: ""; position: absolute; width: 54px; height: 44px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbitbar { position: fixed; top: 22px; inset-inline: 0; height: 60px; background: rgba(11, 18, 32, 0.98); border-bottom: 1px solid var(--line); z-index: 99; }
.orbitbar-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.brand-link { justify-self: start; display: inline-flex; min-height: 44px; align-items: center; max-width: 190px; }
.brand-logo, .drawer-logo, .footer-logo { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-text { color: var(--title); font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.drawer-trigger, .app-link, .icon-button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); cursor: pointer; transition: .2s ease; }
.drawer-trigger { min-width: 86px; padding: 0 18px; background: var(--deep); color: var(--title); }
.app-link { justify-self: end; min-width: 96px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #A8C4F0 0%, #7BA3E8 55%, #1A3A6E 100%); color: var(--deep); font-weight: 700; font-size: 14px; }
.drawer-trigger:hover, .icon-button:hover { border-color: var(--bright); background: var(--panel-2); }
.app-link:hover { filter: brightness(1.08); }
.seatbar { position: fixed; top: 82px; inset-inline: 0; height: 40px; background: var(--space); border-bottom: 1px solid var(--line); z-index: 98; }
.seatbar-inner { width: min(calc(100% - 32px), var(--max)); height: 40px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; }
.seat-link { min-width: 88px; height: 32px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--title); font-size: 13px; }
.seat-link:hover { background: rgba(232,240,255,.08); }
.seat-link.is-active { background: var(--brand); color: var(--deep); font-weight: 700; }
.site-main { min-height: 70vh; padding: 154px 0 72px; }
.page-section { padding: 0 0 34px; }
.page-hero { width: min(calc(100% - 32px), var(--max)); margin: 0 auto 34px; }
.eyebrow { display: inline-block; margin-bottom: 8px; color: var(--bright); font-size: 12px; letter-spacing: .12em; }
h1, h2, h3 { margin-top: 0; color: var(--title); line-height: 1.3; }
h1 { margin-bottom: 14px; 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: 850px; color: var(--muted); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { height: 42px; min-width: 112px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; line-height: 1; white-space: nowrap; border: 1px solid transparent; }
.btn-primary { background: linear-gradient(135deg, #A8C4F0 0%, #7BA3E8 55%, #1A3A6E 100%); color: var(--deep); font-weight: 700; }
.btn-secondary { background: var(--deep); border-color: var(--line-strong); color: var(--title); }
.btn:hover { transform: translateY(-1px); }
.media-slot { width: 100%; border: 1px solid var(--line); background: var(--deep); 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: 22px; }
.card-media { height: 180px; margin-bottom: 16px; }
.section-media { height: 200px; margin: 18px 0; }
.app-media { height: 340px; max-width: 520px; margin: 18px auto; }
.brand-media { height: 220px; margin: 18px 0; }
.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, .article-card, .shelf-card, .note-card, .index-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.card { padding: 18px; }
.article-card, .note-card { padding: 22px; }
.card p, .article-card p, .note-card p, .shelf-card p, .index-card p { color: var(--text); }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.number-label { display: inline-flex; min-width: 42px; height: 28px; padding: 0 10px; align-items: center; justify-content: center; background: rgba(123,163,232,.1); border: 1px solid var(--line); border-radius: 999px; color: var(--bright); font-size: 12px; margin-bottom: 10px; }
.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-title-row p { max-width: 620px; margin: 0; color: var(--muted); }
.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.feature-strip a, .preset-grid a { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); color: var(--title); }
.feature-strip a:hover, .preset-grid a:hover { border-color: var(--bright); }
.shelf { display: grid; gap: 12px; }
.shelf-card { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; gap: 18px; align-items: start; padding: 18px; }
.shelf-code { color: var(--bright); font-weight: 700; letter-spacing: .08em; }
.shelf-link { align-self: center; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--title); }
.timeline { position: relative; margin-left: 8px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 7px; width: 1px; background: var(--line-strong); }
.timeline-item { position: relative; margin-bottom: 18px; padding: 18px 18px 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.timeline-item::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 3px solid var(--bg); left: -30px; top: 24px; }
.status { display: inline-flex; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--bright); font-size: 12px; }
.big-number-list { display: grid; gap: 14px; }
.big-number-item { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 18px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.big-number { color: var(--bright); font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: .05em; }
.topic-list { display: grid; gap: 12px; }
.topic-row { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 18px; padding: 18px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; }
.topic-row strong { color: var(--title); }
.index-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.index-card { padding: 20px; }
.index-card a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 8px; color: var(--bright); }
.prose { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.prose + .prose { margin-top: 16px; }
.prose ul { margin: 8px 0 0; padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.faq-item h2 { font-size: 16px; }
.callout { margin-top: 18px; padding: 18px; border-radius: 12px; background: var(--space); color: var(--title); border: 1px solid var(--line-strong); }
.site-footer { background: var(--deep); border-top: 1px solid var(--line); color: var(--text); font-size: 13px; }
.footer-inner { padding: 34px 0 82px; }
.footer-brand { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr); gap: 30px; align-items: start; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-logo-row { display: flex; gap: 12px; align-items: center; }
.footer-logo-row strong, .footer-logo-row span { display: block; }
.footer-logo-row strong { color: var(--title); font-size: 16px; }
.footer-logo-row span { color: var(--muted); font-size: 12px; }
.footer-brand p { color: var(--muted); margin: 0; }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; padding: 26px 0; }
.footer-links-grid h2 { font-size: 13px; color: var(--bright); margin-bottom: 10px; }
.footer-links-grid a { display: block; min-height: 30px; color: var(--text); }
.footer-links-grid a:hover { color: var(--title); }
.footer-note { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.star-drawer { position: fixed; top: 0; right: 0; z-index: 130; width: 400px; max-width: 86vw; height: 100dvh; background: var(--deep); border-left: 1px solid var(--line-strong); box-shadow: var(--shadow); transform: translateX(102%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s ease; }
.star-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 72px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--title); }
.icon-button { min-width: 66px; padding: 0 13px; background: var(--panel); color: var(--title); }
.drawer-scroll { height: calc(100dvh - 72px); overflow-y: auto; padding: 16px 18px 28px; }
.drawer-group { margin-bottom: 22px; }
.drawer-group h2 { font-size: 13px; color: var(--bright); margin-bottom: 8px; }
.drawer-group a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
.drawer-group strong, .drawer-group span { display: block; }
.drawer-group strong { color: var(--title); font-size: 14px; }
.drawer-group span { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.search-layer { position: fixed; top: 82px; left: 50%; z-index: 125; width: min(calc(100% - 32px), 760px); transform: translate(-50%, -18px); visibility: hidden; pointer-events: none; opacity: 0; transition: .2s ease; }
.search-layer.is-open { transform: translate(-50%, 0); visibility: visible; pointer-events: auto; opacity: 1; }
.search-card { padding: 22px; background: var(--deep); border: 1px solid var(--line-strong); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); }
.search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.search-head h2 { margin-bottom: 6px; }
.search-card p { color: var(--muted); }
.preset-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.page-mask { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.56); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.page-mask.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-bottom { display: none; }
@media (max-width: 820px) {
    .seatbar { display: none; }
    .site-main { padding-top: 112px; padding-bottom: 86px; }
    .card-grid, .card-grid.two, .index-grid { grid-template-columns: 1fr; }
    .feature-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .shelf-card { grid-template-columns: 68px minmax(0,1fr); }
    .shelf-link { grid-column: 2; justify-self: start; }
    .topic-row { grid-template-columns: 1fr; gap: 6px; }
    .footer-brand { grid-template-columns: 1fr; gap: 16px; }
    .footer-links-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--deep); border-top: 1px solid var(--line-strong); }
    .mobile-bottom a { min-width: 0; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
    .mobile-bottom a.is-active { background: var(--brand); color: var(--deep); font-weight: 700; }
    .footer-inner { padding-bottom: 92px; }
    .search-layer { top: 0; left: 0; width: 100%; height: 100dvh; transform: translateY(-12px); background: var(--deep); }
    .search-layer.is-open { transform: translateY(0); }
    .search-card { height: 100%; border: 0; border-radius: 0; padding: 72px 16px 28px; overflow-y: auto; }
    .preset-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .header-wrap, .content-wrap, .page-hero { width: calc(100% - 32px); }
    .orbitbar-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
    .brand-link { min-width: 0; max-width: 128px; overflow: hidden; }
    .brand-logo { max-width: 120px; }
    .brand-text { font-size: 14px; white-space: nowrap; }
    .drawer-trigger { min-width: 64px; padding: 0 12px; }
    .app-link { min-width: 72px; padding: 0 10px; font-size: 13px; }
    .app-media { height: 320px; }
    .big-number-item { grid-template-columns: 52px minmax(0,1fr); padding: 18px; }
    .big-number { font-size: 22px; }
    .prose, .article-card, .note-card { padding: 18px; }
}
.icon-slot { height: 80px; max-width: 120px; }
.icon-slot img { width: 48px; height: 48px; object-fit: contain; }
.compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (max-width: 720px) { .compact-grid { grid-template-columns: 1fr; } }

/* MOBILE_COMPACT_FIX_20260923_BEGIN */
@media (max-width: 420px) {
  html, body { min-width: 0 !important; width: 100%; max-width: 100%; overflow-x: hidden; }
  body { font-size: 14px; line-height: 1.64; }
  .header-wrap, .content-wrap, .page-hero { width: calc(100% - 40px) !important; max-width: none; }
  .starline { font-size: 11px; }
  .starline-inner { gap: 8px; }
  .orbitbar-inner { grid-template-columns: minmax(0,1fr) 58px 72px !important; gap: 6px !important; }
  .brand-link { min-width: 0; max-width: 96px !important; overflow: hidden; }
  .brand-logo { max-width: 96px !important; height: 24px; }
  .brand-text { font-size: 13px !important; }
  .drawer-trigger { min-width: 58px !important; min-height: 40px; padding: 0 7px !important; font-size: 12px; }
  .app-link { min-width: 72px !important; min-height: 40px; padding: 0 7px !important; font-size: 12px !important; }
  .site-main { padding-top: 102px !important; padding-bottom: 78px; }
  .page-hero { margin-bottom: 26px; }
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  h3 { font-size: 15px; }
  .banner-slot { height: 198px !important; margin-bottom: 17px; }
  .section-media, .brand-media { height: 172px; }
  .card-media { height: 160px; }
  .btn { height: 40px; min-width: 104px; padding: 0 14px; font-size: 13px; }
  .card { padding: 16px; }
  .article-card, .note-card { padding: 17px !important; }
  .page-section { padding-bottom: 28px; }
}
/* MOBILE_COMPACT_FIX_20260923_END */
