:root {
    --bg: #0B1220;
    --deep: #070B14;
    --panel: #141C2E;
    --panel-2: #1C2740;
    --title: #E8F0FF;
    --text: #C9D6EC;
    --muted: #8FA3C4;
    --soft: #6B7F9E;
    --brand: #7BA3E8;
    --bright: #A8C4F0;
    --deep-blue: #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);
    --radius: 12px;
    --shell: 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;
    text-rendering: optimizeLegibility;
}
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.shell, .top-shell { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; }
.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 9999;
    padding: 9px 14px;
    background: var(--bright);
    color: var(--deep);
    border-radius: 8px;
}
.skip-link:focus { top: 10px; }

.site-header { position: relative; z-index: 1000; }
.starline {
    position: fixed;
    inset: 0 0 auto 0;
    height: 22px;
    z-index: 1003;
    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: 12px; }
.starline-brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-button {
    min-height: 22px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--bright);
}
.orbitbar {
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1002;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.orbitbar-inner {
    height: 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}
.brand-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.brand-logo { width: auto; max-width: 180px; height: 28px; object-fit: contain; object-position: center; }
.brand-fallback { color: var(--title); font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.drawer-trigger, .app-quick-link, .icon-text-button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--deep);
    color: var(--title);
    cursor: pointer;
    font-size: 14px;
}
.drawer-trigger { justify-self: center; padding: 0 18px; }
.app-quick-link { justify-self: end; padding: 0 16px; }
.seatbar {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 40px;
    background: var(--deep-blue);
    border-bottom: 1px solid var(--border);
}
.seatbar-inner { height: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.seat-link {
    min-width: 84px;
    min-height: 32px;
    padding: 5px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--title);
    font-size: 13px;
}
.seat-link.is-active { background: var(--brand); color: var(--deep); font-weight: 700; }

.site-main { padding-top: 122px; min-height: 70vh; }
.hero, .page-hero { padding: 34px 0 24px; }
.page-hero.compact { padding-bottom: 12px; }
.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--bright);
    font-size: 12px;
    letter-spacing: .08em;
}
h1, h2, h3 { margin: 0 0 12px; color: var(--title); font-weight: 700; }
h1 { font-size: 24px; line-height: 1.3; }
h2 { font-size: 20px; line-height: 1.4; }
h3 { font-size: 16px; line-height: 1.5; }
p { margin: 0 0 14px; }
.lead { max-width: 820px; color: var(--text); font-size: 15px; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }

.section { padding: 20px 0 34px; }
.section + .section { border-top: 1px solid var(--border); }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.section-head p { max-width: 650px; color: var(--muted); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .content-card, .legal-block, .faq-item, .shelf-card, .timeline-item, .note-card {
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card, .content-card, .legal-block, .note-card { padding: 18px; }
.card p, .content-card p, .legal-block p, .note-card p { color: var(--text); }
.card .meta, .meta { color: var(--muted); font-size: 13px; }
.card-number, .big-number { color: var(--bright); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .08em; }
.big-number { font-size: 28px; line-height: 1; }

.media-slot {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--deep);
}
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cover-slot { height: 260px; border-radius: 14px; }
.media-slot.medium { height: 200px; }
.media-slot.tall { height: min(360px, 60vw); }
.media-slot.icon-slot { width: 48px; height: 48px; flex: 0 0 48px; }

.cover-copy { padding-top: 18px; text-align: center; max-width: 830px; margin: 0 auto; }
.cover-brand { color: var(--bright); font-size: 13px; letter-spacing: .12em; }
.cover-copy h1 { margin-top: 6px; }
.cover-copy p { color: var(--text); }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.btn {
    min-height: 42px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #A8C4F0 0%, #7BA3E8 55%, #1A3A6E 100%); color: var(--deep); font-weight: 700; }
.btn-secondary { background: var(--deep); color: var(--title); border: 1px solid var(--border-strong); }
.inline-link { color: var(--bright); text-decoration: underline; text-decoration-color: rgba(168,196,240,.45); text-underline-offset: 3px; }

.feature-card { overflow: hidden; padding: 0; }
.feature-card .media-slot { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.feature-card-copy { padding: 18px; }
.number-list { display: grid; gap: 10px; margin-top: 16px; }
.number-list a, .number-list div {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: start;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.number-list span:first-child { color: var(--bright); font-weight: 700; letter-spacing: .08em; }

.shelf { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.shelf-card { padding: 16px; min-height: 152px; box-shadow: none; }
.shelf-card small { color: var(--muted); display: block; margin-bottom: 8px; }
.shelf-card p { color: var(--text); font-size: 14px; }

.timeline { position: relative; display: grid; gap: 14px; margin-left: 10px; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 3px; top: 7px; bottom: 7px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding: 16px 18px; box-shadow: none; }
.timeline-item::before { content: ""; position: absolute; left: -27px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--bg); }
.status { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 9px; border-radius: 999px; background: var(--panel-2); color: var(--bright); font-size: 12px; }

.index-list { display: grid; gap: 12px; }
.index-list a, .index-list .index-row {
    min-height: 64px;
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--panel);
}
.index-code { color: var(--bright); font-size: 13px; letter-spacing: .08em; }
.index-desc { color: var(--muted); }
.index-arrow { color: var(--bright); }

.prose { max-width: 860px; }
.prose p + h2, .prose p + h3 { margin-top: 24px; }
.prose ul { margin: 8px 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: 22px; align-items: start; }
.stack { display: grid; gap: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; min-height: 30px; align-items: center; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: var(--deep); font-size: 13px; }

.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; box-shadow: none; }
.faq-item h2, .faq-item h3 { margin: 0; padding: 16px 18px 8px; }
.faq-item p { margin: 0; padding: 0 18px 18px; color: var(--text); }

.app-layout { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: 24px; align-items: start; }
.app-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.notice { padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--deep); color: var(--muted); }

.site-footer { background: var(--deep); border-top: 1px solid var(--border); color: var(--text); font-size: 13px; }
.footer-main { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-brand strong { color: var(--title); }
.footer-brand > span { color: var(--muted); letter-spacing: .08em; }
.footer-brand-link { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.footer-grid h2 { font-size: 13px; color: var(--bright); margin-bottom: 8px; }
.footer-grid a { display: block; padding: 5px 0; color: var(--text); }
.footer-note { margin: 24px 0 8px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); }
.copyright { margin: 0; color: var(--soft); }

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 1990;
    background: rgba(0,0,0,.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.page-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.star-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: 400px;
    max-width: 86vw;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border-left: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateX(102%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .22s ease, visibility .22s ease;
}
body.drawer-open .star-drawer { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { flex: 0 0 auto; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--deep); }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--title); font-weight: 700; }
.drawer-scroll { overflow-y: auto; padding: 14px 16px 30px; }
.drawer-group + .drawer-group { margin-top: 22px; }
.drawer-group h2 { font-size: 13px; color: var(--bright); margin-bottom: 8px; }
.drawer-group a { display: block; padding: 11px 0; border-top: 1px solid var(--border); }
.drawer-group strong { display: block; color: var(--title); font-size: 14px; }
.drawer-group span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.search-panel {
    position: fixed;
    top: 82px;
    left: 50%;
    width: min(720px, calc(100% - 32px));
    z-index: 2010;
    transform: translate(-50%, -12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
body.search-open .search-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.search-card { padding: 18px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow); }
.search-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.search-head h2 { margin-bottom: 12px; }
.search-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.search-input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px; outline: none; background: var(--deep); color: var(--title); }
.search-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); color: var(--title); }
.search-empty { margin: 14px 0 0; color: var(--muted); }

.mobile-bottom { display: none; }

@media (hover: hover) {
    a:hover { color: var(--title); }
    .btn-primary:hover { filter: brightness(1.06); }
    .btn-secondary:hover, .app-quick-link:hover, .drawer-trigger:hover, .icon-text-button:hover { border-color: var(--bright); }
    .card:hover, .shelf-card:hover, .index-list a:hover { border-color: var(--border-strong); }
}

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--bright); outline-offset: 2px; }

@media (max-width: 900px) {
    .card-grid, .card-grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .shelf { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .split, .app-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .shell, .top-shell { width: calc(100% - 32px); }
    .seatbar { display: none; }
    .site-main { padding-top: 82px; }
    .orbitbar-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .brand-logo { max-width: 130px; }
    .brand-fallback { font-size: 14px; }
    .drawer-trigger { padding: 0 12px; }
    .app-quick-link { padding: 0 10px; }
    .hero, .page-hero { padding-top: 24px; }
    .cover-slot { height: 260px; }
    .card-grid, .card-grid.two, .card-grid.four, .shelf { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .section-head p { margin-top: 6px; }
    .index-list a, .index-list .index-row { grid-template-columns: 58px 1fr; }
    .index-arrow { display: none; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-main { padding-bottom: 30px; }
    .mobile-bottom {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1500;
        height: calc(48px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(5,1fr);
        border-top: 1px solid var(--border-strong);
        background: var(--deep);
    }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 12px; }
    .mobile-bottom a.is-active { background: var(--brand); color: var(--deep); font-weight: 700; }
    .search-panel {
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        transform: none;
        background: var(--deep);
        padding: 16px;
        overflow-y: auto;
    }
    body.search-open .search-panel { transform: none; }
    .search-card { margin-top: max(8px, env(safe-area-inset-top)); box-shadow: none; }
    .search-presets { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .star-drawer { max-width: 86vw; }
}

@media (max-width: 390px) {
    .orbitbar-inner { gap: 4px; }
    .app-quick-link, .drawer-trigger { font-size: 12px; padding-left: 8px; padding-right: 8px; }
    .brand-logo { max-width: 112px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.button-row.align-start { justify-content: flex-start; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }

/* 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; }
  .shell, .top-shell { 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; overflow: hidden; }
  .brand-logo { max-width: 96px !important; height: 24px; }
  .brand-fallback { font-size: 13px !important; }
  .drawer-trigger { min-width: 58px; min-height: 40px; padding: 0 7px !important; font-size: 12px !important; }
  .app-quick-link { min-width: 72px; min-height: 40px; padding: 0 7px !important; font-size: 12px !important; }
  .site-main { padding-top: 82px; }
  .hero, .page-hero { padding-top: 18px !important; padding-bottom: 20px; }
  .cover-slot { height: 198px !important; }
  .media-slot.medium { height: 172px; }
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  h3 { font-size: 15px; }
  .cover-copy { padding: 18px 0 0; }
  .cover-copy p { margin-bottom: 12px; }
  .btn, .btn-primary, .btn-secondary { min-height: 40px; padding-left: 14px; padding-right: 14px; font-size: 13px; }
  .card, .content-card, .legal-block, .note-card { padding: 16px; }
  .section { padding-top: 17px; padding-bottom: 28px; }
  .footer-grid { gap: 14px 12px !important; }
}
/* MOBILE_COMPACT_FIX_20260923_END */
