:root {
    --bg:#E8F3F4; --deep:#D4E8EA; --card:#F7FCFC; --sub:#DCECEE;
    --title:#0A3D4A; --text:#1E4A54; --muted:#4A737C; --soft:#7A8F93;
    --lake:#1A6B7A; --green:#2E9A8F; --night:#08222A; --gold:#D4B46A;
    --white:#F2F7F8; --mist:#7DB8B0; --border:rgba(10,61,74,.16);
    --accent-border:rgba(46,154,143,.40); --shadow:0 16px 36px rgba(8,34,42,.10);
    --radius:16px; --max:1220px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; background:var(--bg); }
body { margin:0; min-width:0; color:var(--text); background:var(--bg); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif; font-size:16px; line-height:1.75; overflow-x:hidden; }
body.layer-open { overflow:hidden; }
a { color:var(--lake); text-decoration:none; }
a:hover { color:var(--green); }
a:focus-visible, button:focus-visible { outline:3px solid rgba(212,180,106,.75); outline-offset:3px; }
button { font:inherit; }
img { max-width:100%; height:auto; display:block; }
.skip-link { position:fixed; left:16px; top:-80px; z-index:2000; padding:10px 14px; background:var(--night); color:var(--white); border-radius:10px; }
.skip-link:focus { top:12px; }
.site-top { position:fixed; z-index:900; left:0; right:0; top:0; }
.star-track { height:22px; background:var(--night); color:var(--white); }
.top-inner { width:min(var(--max),calc(100% - 32px)); margin:0 auto; }
.star-track-inner { height:22px; display:flex; align-items:center; justify-content:space-between; gap:14px; font-size:12px; line-height:1; }
.track-brand { color:var(--white); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.icon-text-button { min-width:44px; height:22px; padding:0 7px; border:0; background:transparent; color:var(--white); cursor:pointer; }
.dome-bar { height:64px; background:var(--white); border-bottom:1px solid rgba(26,107,122,.22); }
.dome-bar-inner { height:64px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; }
.brand-link { justify-self:start; min-width:44px; min-height:44px; display:flex; align-items:center; color:var(--title); }
.site-logo { max-height:36px; width:auto; max-width:210px; object-fit:contain; }
.brand-text { font-weight:800; letter-spacing:.05em; color:var(--title); }
.map-toggle, .app-link { min-height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:12px; }
.map-toggle { border:1px solid var(--accent-border); background:var(--card); color:var(--title); padding:0 18px; cursor:pointer; }
.app-link { justify-self:end; color:var(--white); background:linear-gradient(135deg,#2E9A8F 0%,#1A6B7A 55%,#0A3D4A 100%); padding:0 18px; }
.screen-sign { position:fixed; z-index:850; top:86px; left:0; right:0; height:44px; background:var(--sub); border-bottom:1px solid rgba(212,180,106,.65); }
.screen-sign-inner { width:min(var(--max),calc(100% - 32px)); height:44px; margin:0 auto; display:flex; align-items:center; gap:8px; }
.screen-sign a { min-height:32px; display:flex; align-items:center; padding:0 12px; border-radius:8px; color:var(--title); font-size:14px; }
.screen-sign a.is-active { color:var(--white); background:var(--lake); }
.header-spacer { height:130px; }
.site-main { width:100%; }
.section, .page-hero, .content-wrap { width:min(var(--max),calc(100% - 32px)); margin-left:auto; margin-right:auto; }
.section { padding:34px 0; }
.section + .section { border-top:1px solid var(--border); }
.page-hero { padding:38px 0 24px; }
.eyebrow { display:inline-block; margin-bottom:8px; color:var(--lake); font-size:13px; font-weight:800; letter-spacing:.12em; }
h1,h2,h3 { color:var(--title); line-height:1.25; margin-top:0; }
h1 { font-size:clamp(28px,4vw,32px); margin-bottom:14px; }
h2 { font-size:clamp(22px,3vw,27px); margin-bottom:12px; }
h3 { font-size:18px; margin-bottom:8px; }
p { margin:0 0 14px; }
.lead { max-width:850px; color:var(--muted); font-size:17px; }
.media-frame { background:var(--card); border:1px solid var(--border); border-radius:18px; overflow:hidden; box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; padding:10px; }
.media-frame.banner { width:min(var(--max),calc(100% - 32px)); margin:24px auto 0; max-height:300px; min-height:210px; }
.media-frame.banner img { width:100%; max-height:278px; object-fit:contain; object-position:center; }
.media-frame.column { min-height:220px; }
.media-frame.column img { width:100%; max-height:240px; object-fit:contain; object-position:center; }
.media-frame.app-visual img { max-height:420px; width:100%; object-fit:contain; object-position:center; }
.media-placeholder { width:100%; min-height:210px; display:flex; align-items:center; justify-content:center; border-radius:12px; background:linear-gradient(145deg,var(--night),var(--lake)); color:var(--white); letter-spacing:.08em; text-align:center; padding:20px; }
.media-placeholder.app-art { min-height:360px; }
.hero-copy { width:min(var(--max),calc(100% - 32px)); margin:24px auto 0; }
.hero-copy .kicker { color:var(--lake); font-weight:800; font-size:14px; }
.hero-copy h1 { max-width:760px; margin-top:7px; }
.hero-copy p { max-width:860px; }
.button-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.btn { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:10px 17px; border-radius:12px; font-weight:750; }
.btn-primary { color:var(--white); background:linear-gradient(135deg,#2E9A8F 0%,#1A6B7A 55%,#0A3D4A 100%); }
.btn-primary:hover { color:var(--white); filter:brightness(1.04); }
.btn-secondary { background:var(--white); color:var(--night); border:1px solid var(--gold); }
.grid-2,.grid-3,.grid-4,.grid-5 { display:grid; gap:18px; }
.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)); }
.constellation-grid { align-items:start; margin-top:18px; }
.constellation-grid article { background:var(--card); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:0 10px 24px rgba(8,34,42,.06); }
.constellation-grid .media-frame { border:0; box-shadow:none; border-radius:0; min-height:190px; }
.constellation-grid .media-frame img { max-height:210px; width:100%; object-fit:contain; }
.constellation-grid .card-body { padding:16px; }
.arc-1,.arc-5 { margin-top:16px; } .arc-2,.arc-4 { margin-top:7px; } .arc-3 { margin-top:0; }
.card,.status-card,.note-card,.term-card,.faq-item { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:20px; }
.card:hover { border-color:var(--accent-border); }
.number-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:18px; }
.number-list article { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:18px; }
.big-number { display:block; color:var(--gold); font-size:38px; font-weight:900; line-height:1; margin-bottom:12px; }
.vertical-list { display:grid; gap:12px; }
.vertical-list article { display:grid; grid-template-columns:150px 1fr; gap:18px; align-items:start; background:var(--card); border:1px solid var(--border); border-radius:14px; padding:18px; }
.vertical-list strong { color:var(--title); }
.step-list { counter-reset:step; display:grid; gap:14px; }
.step-list article { counter-increment:step; display:grid; grid-template-columns:56px 1fr; gap:16px; align-items:start; background:var(--card); border:1px solid var(--border); border-radius:16px; padding:18px; }
.step-list article:before { content:counter(step,decimal-leading-zero); color:var(--gold); font-size:28px; font-weight:900; line-height:1.2; }
.editorial-quote { background:var(--night); color:var(--white); border-radius:18px; padding:24px; }
.editorial-quote h2,.editorial-quote h3 { color:var(--white); }
.editorial-quote .label { color:var(--gold); font-size:13px; font-weight:800; }
.page-layout { width:min(var(--max),calc(100% - 32px)); margin:0 auto 44px; display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:24px; align-items:start; }
.page-content { min-width:0; }
.page-content section { margin-bottom:20px; background:var(--card); border:1px solid var(--border); border-radius:16px; padding:22px; }
.page-content section > :last-child { margin-bottom:0; }
.page-aside { position:sticky; top:150px; display:grid; gap:14px; }
.page-aside .card { padding:18px; }
.page-aside a { display:block; padding:8px 0; border-bottom:1px solid var(--border); }
.page-aside a:last-child { border-bottom:0; }
.tag-row { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0; }
.tag { display:inline-flex; align-items:center; min-height:34px; padding:4px 10px; border-radius:9px; background:var(--sub); color:var(--title); border:1px solid var(--border); }
.catalog-list { display:grid; gap:14px; }
.catalog-item { display:grid; grid-template-columns:120px 1fr; gap:18px; padding:20px; border:1px solid var(--border); border-radius:16px; background:var(--card); }
.catalog-item .catalog-label { color:var(--gold); font-weight:900; font-size:18px; }
.status-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.status-card small { color:var(--soft); display:block; margin-bottom:7px; }
.status-card strong { color:var(--title); display:block; font-size:18px; margin-bottom:8px; }
.letter { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:24px; }
.letter + .letter { margin-top:18px; }
.letter .letter-meta { color:var(--lake); font-size:13px; font-weight:800; letter-spacing:.08em; }
.app-grid { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr); gap:26px; align-items:center; }
.app-icon-line { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.app-icon-line img { width:64px; height:64px; object-fit:contain; }
.faq-list { display:grid; gap:14px; }
.faq-item h2 { font-size:19px; }
.notice { border-left:4px solid var(--gold); background:var(--sub); padding:16px 18px; border-radius:0 12px 12px 0; }
.site-footer { background:var(--night); color:var(--white); margin-top:20px; }
.footer-inner { width:min(var(--max),calc(100% - 32px)); margin:0 auto; padding:42px 0 24px; }
.footer-brand { display:grid; grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr); gap:24px; align-items:start; padding-bottom:26px; border-bottom:1px solid rgba(242,247,248,.16); }
.footer-logo-link { display:flex; align-items:center; gap:12px; color:var(--white); }
.footer-logo { max-height:34px; width:auto; object-fit:contain; }
.footer-logo-link span { display:grid; }
.footer-logo-link small { color:var(--mist); letter-spacing:.08em; }
.footer-brand p { color:#d7e6e8; max-width:760px; }
.footer-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding:28px 0; }
.footer-groups h2 { color:var(--gold); font-size:15px; margin-bottom:9px; }
.footer-groups a { display:block; color:var(--white); padding:4px 0; }
.footer-bottom { display:flex; flex-wrap:wrap; gap:16px; align-items:center; padding-top:20px; border-top:1px solid rgba(242,247,248,.16); color:#c7dadc; font-size:14px; }
.footer-bottom a { color:var(--white); }
.footer-bottom span { margin-left:auto; }
.overlay { position:fixed; inset:0; z-index:1000; background:rgba(8,34,42,.55); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease,visibility .2s ease; }
.overlay.is-open { opacity:1; visibility:visible; pointer-events:auto; }
.star-map,.search-layer { position:fixed; z-index:1100; left:0; right:0; top:86px; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-12px); transition:opacity .2s ease,transform .2s ease,visibility .2s ease; }
.star-map.is-open,.search-layer.is-open { opacity:1; visibility:visible; pointer-events:auto; transform:none; }
.star-map { width:100%; max-height:68vh; overflow:auto; background:var(--white); border-bottom:1px solid var(--gold); box-shadow:var(--shadow); padding:18px max(16px,calc((100% - var(--max))/2)); }
.star-map-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.map-brand { display:flex; align-items:center; gap:10px; color:var(--title); }
.map-logo { max-height:32px; max-width:180px; object-fit:contain; }
.map-brand span { display:grid; line-height:1.25; }.map-brand small { color:var(--muted); }
.close-button { min-height:44px; min-width:64px; padding:0 14px; border-radius:12px; background:var(--white); color:var(--night); border:1px solid var(--gold); cursor:pointer; }
.star-map-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding-top:18px; }
.star-map-grid h2 { font-size:16px; color:var(--lake); }
.star-map-grid a { display:block; padding:9px 0; border-bottom:1px solid var(--border); color:var(--title); }
.star-map-grid a:last-child { border-bottom:0; }.star-map-grid a span { display:block; color:var(--muted); font-size:13px; line-height:1.55; }
.search-layer { padding:18px 16px 0; }
.search-card { width:min(760px,100%); margin:0 auto; background:var(--white); border:1px solid var(--border); border-radius:18px; box-shadow:var(--shadow); padding:20px; }
.search-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }.search-head small{color:var(--lake);}.search-head h2{margin:3px 0 0;font-size:22px;}
.search-look { margin:18px 0; min-height:58px; border:1px solid var(--accent-border); background:var(--card); border-radius:14px; display:flex; align-items:center; gap:12px; padding:12px 16px; color:var(--muted); }.search-look span{font-size:28px;color:var(--lake);}.search-look p{margin:0;}
.preset-links { display:flex; flex-wrap:wrap; gap:10px; }.preset-links a{min-height:44px;display:inline-flex;align-items:center;padding:8px 14px;border:1px solid var(--border);border-radius:12px;background:var(--sub);color:var(--title);}
.mobile-bottom { display:none; }
@media (max-width:980px) {
    .grid-5{grid-template-columns:repeat(2,minmax(0,1fr));}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}
    .number-list{grid-template-columns:repeat(2,minmax(0,1fr));}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .page-layout{grid-template-columns:1fr}.page-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr));}.star-map-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .footer-brand{grid-template-columns:1fr}.app-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px) {
    body { padding-bottom:calc(50px + env(safe-area-inset-bottom)); }
    .top-inner,.section,.page-hero,.content-wrap,.page-layout,.footer-inner,.media-frame.banner,.hero-copy { width:calc(100% - 32px); }
    .screen-sign{display:none}.header-spacer{height:86px}.dome-bar-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:7px}.site-logo{max-width:132px;max-height:32px}.brand-text{font-size:16px}.map-toggle,.app-link{padding:0 10px;font-size:14px;min-width:68px}.app-link{white-space:nowrap}
    .star-map,.search-layer{top:86px}.star-map{max-height:78vh;padding:16px}.star-map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.star-map-grid a span{font-size:12px}
    .mobile-bottom { position:fixed; z-index:950; display:grid; grid-template-columns:repeat(5,1fr); left:0; right:0; bottom:0; min-height:calc(50px + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom); background:var(--white); border-top:1px solid var(--border); box-shadow:0 -8px 20px rgba(8,34,42,.08); }
    .mobile-bottom a { min-height:50px; display:flex; align-items:center; justify-content:center; color:var(--title); font-size:13px; }.mobile-bottom a.is-active{background:var(--lake);color:var(--white)}
    .grid-2,.grid-3,.grid-4,.grid-5,.number-list,.status-grid,.footer-groups,.page-aside{grid-template-columns:1fr}.constellation-grid{grid-template-columns:1fr}.arc-1,.arc-2,.arc-3,.arc-4,.arc-5{margin-top:0}
    .vertical-list article,.catalog-item{grid-template-columns:1fr}.app-grid{grid-template-columns:1fr}.footer-bottom span{margin-left:0;width:100%}.footer-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
    .page-hero{padding-top:28px}.section{padding:28px 0}.media-frame.banner{min-height:180px}.media-placeholder{min-height:180px}.constellation-grid .media-frame{min-height:180px}
}
@media (max-width:420px) {
    .track-brand{max-width:260px}.dome-bar-inner{grid-template-columns:minmax(0,1fr) 70px 70px}.map-toggle,.app-link{font-size:13px;padding:0 7px}.footer-groups{grid-template-columns:1fr}.star-map-grid{gap:10px}.star-map{padding:14px}.map-brand small{display:none}
}
