:root {
  --cyan: #46e7f2;
  --cyan-soft: #9af7ff;
  --blue: #6c93ff;
  --orange: #ff9a5a;
  --ink: #e9fbff;
  --muted: #7893a2;
  --panel: rgba(4, 16, 26, .86);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: #02070d;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }

#galaxy { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#galaxy.dragging { cursor: grabbing; }
.space-vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 36%, rgba(0,0,0,.27) 74%, rgba(0,0,0,.7) 100%); }

.topbar { position: fixed; z-index: 20; left: 0; right: 0; top: 0; height: 82px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(134,231,241,.1); background: linear-gradient(to bottom, rgba(2,9,15,.82), rgba(2,9,15,.08)); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(70,231,242,.4); border-radius: 13px; background: rgba(39,203,219,.08); box-shadow: inset 0 0 25px rgba(42,215,232,.08); }
.brand-mark svg { width: 30px; fill: var(--cyan); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 19px; line-height: 1.1; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: #63818f; font-size: 8px; letter-spacing: .18em; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-actions button { min-height: 38px; padding: 8px 14px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #9eb2bc; font-size: 12px; cursor: pointer; }
.top-actions button:hover { color: #fff; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.top-actions .primary-action { padding-inline: 18px; color: #031015; background: var(--cyan); font-weight: 800; }
.action-icon { margin-right: 6px; color: var(--cyan); font-size: 9px; }

.intro-copy { position: fixed; z-index: 8; left: 5.5vw; top: 22vh; pointer-events: none; text-shadow: 0 3px 25px rgba(0,0,0,.6); transition: opacity .3s ease; }
.intro-copy > p { margin: 0 0 16px; color: var(--cyan); font: 10px ui-monospace, Consolas, monospace; letter-spacing: .2em; }
.intro-copy h1 { margin: 0; font-size: clamp(35px, 3.8vw, 56px); line-height: 1.14; letter-spacing: -.045em; }
.intro-copy h1 span { color: transparent; background: linear-gradient(90deg, #fff, #65edf5 75%); -webkit-background-clip: text; background-clip: text; }
.intro-status { margin-top: 24px; display: flex; align-items: center; gap: 9px; color: #6d8997; font-size: 11px; letter-spacing: .06em; }
.intro-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.coordinate-readout { position: fixed; z-index: 8; left: 34px; bottom: 118px; padding-left: 15px; border-left: 1px solid rgba(70,231,242,.55); pointer-events: none; }
.coordinate-readout span, .coordinate-readout strong, .coordinate-readout small { display: block; }
.coordinate-readout span { color: #4f6c79; font: 9px ui-monospace, monospace; letter-spacing: .15em; }
.coordinate-readout strong { margin-top: 4px; font-size: 14px; }
.coordinate-readout small { margin-top: 4px; color: #57717e; font: 9px ui-monospace, monospace; }

.zoom-control { position: fixed; z-index: 15; right: 28px; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 10px; }
.zoom-control button { width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(5,18,28,.55); color: #a8c4cf; cursor: pointer; }
.zoom-control button:hover { color: var(--cyan); border-color: rgba(70,231,242,.5); }
.zoom-track { position: relative; width: 2px; height: 190px; overflow: hidden; background: rgba(255,255,255,.17); }
.zoom-track i { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.sector-nav { position: fixed; z-index: 16; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(750px, calc(100% - 250px)); display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(125,210,222,.17); border-radius: 11px; background: rgba(2,12,20,.72); backdrop-filter: blur(16px); box-shadow: 0 20px 45px rgba(0,0,0,.25); }
.sector-nav button { position: relative; min-height: 68px; padding: 12px 18px; display: grid; grid-template-columns: 25px 1fr; grid-template-rows: 1fr 1fr; align-items: center; text-align: left; border: 0; border-right: 1px solid rgba(255,255,255,.08); background: transparent; cursor: pointer; }
.sector-nav button:last-child { border-right: 0; }
.sector-nav button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; transform: scaleX(0); background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transition: transform .25s ease; }
.sector-nav button:hover, .sector-nav button.active { background: rgba(43,202,216,.055); }
.sector-nav button.active::after { transform: scaleX(1); }
.sector-nav span { grid-row: 1 / 3; color: #46626f; font: 9px ui-monospace, monospace; }
.sector-nav strong { font-size: 12px; }
.sector-nav small { color: #56717e; font-size: 9px; }

.orientation { position: fixed; z-index: 8; right: 25px; bottom: 116px; display: grid; justify-items: center; gap: 5px; color: #7895a1; font: 8px ui-monospace, monospace; letter-spacing: .15em; pointer-events: none; }
.orientation span { color: var(--cyan); font-size: 11px; }
.orientation i { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); }

.detail-panel { position: fixed; z-index: 25; top: 104px; right: 34px; width: min(370px, calc(100% - 40px)); max-height: calc(100vh - 220px); padding: 30px; overflow: auto; transform: translateX(calc(100% + 60px)); opacity: 0; border: 1px solid rgba(85,221,234,.2); border-radius: 16px; background: var(--panel); backdrop-filter: blur(22px); box-shadow: 0 30px 80px rgba(0,0,0,.42), inset 0 0 60px rgba(40,204,220,.025); transition: transform .35s ease, opacity .35s ease; }
.detail-panel.open { transform: translateX(0); opacity: 1; }
.panel-close { position: absolute; right: 16px; top: 12px; width: 34px; height: 34px; border: 0; background: transparent; color: #73909d; font-size: 24px; cursor: pointer; }
.panel-code { margin: 0 0 20px; color: var(--cyan); font: 9px ui-monospace, monospace; letter-spacing: .18em; }
.detail-panel h2 { margin: 0; font-size: 29px; }
.panel-description { margin: 16px 0; color: #91aab5; font-size: 14px; line-height: 1.8; }
.detail-panel ul { margin: 22px 0 26px; padding: 0; color: #b4c8d0; font-size: 12px; list-style: none; }
.detail-panel li { margin: 9px 0; }
.detail-panel li::before { content: "—"; margin-right: 10px; color: var(--cyan); }
.panel-cta { width: 100%; padding: 13px 15px; display: flex; justify-content: space-between; border: 1px solid rgba(70,231,242,.35); border-radius: 8px; background: rgba(39,207,220,.08); color: var(--cyan-soft); font-size: 12px; cursor: pointer; }

.hover-label { position: fixed; z-index: 30; padding: 7px 10px; transform: translate(14px, -50%); border: 1px solid rgba(70,231,242,.3); border-radius: 6px; background: rgba(2,12,20,.88); color: #dffcff; font-size: 11px; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 25px rgba(0,0,0,.35); }

.start-screen { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, rgba(12,52,70,.55), rgba(1,6,10,.95) 56%, #010407 100%); transition: opacity .8s ease, visibility .8s ease; }
.start-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.start-screen::before { content: ""; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(rgba(93,209,219,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(93,209,219,.12) 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(circle, black, transparent 70%); }
.start-content { position: relative; z-index: 2; text-align: center; }
.start-kicker { color: var(--cyan); font: 9px ui-monospace, monospace; letter-spacing: .28em; }
.start-content h2 { margin: 18px 0 0; font-size: clamp(48px, 7vw, 92px); line-height: 1.05; letter-spacing: -.055em; }
.start-content h2 em { color: transparent; background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; font-style: normal; }
.start-content p { margin: 25px 0; color: #718c99; font-size: 14px; line-height: 1.9; }
#enter-button { margin: 5px auto 16px; padding: 6px 24px 6px 6px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(70,231,242,.42); border-radius: 999px; background: rgba(31,184,201,.08); cursor: pointer; }
#enter-button i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: #021015; font-size: 11px; font-style: normal; box-shadow: 0 0 30px rgba(70,231,242,.35); }
#enter-button span { color: #d6fbff; font-weight: 700; letter-spacing: .05em; }
.start-content > small { display: block; color: #3e5966; font-size: 10px; }
.start-orbit { position: absolute; border: 1px solid rgba(70,231,242,.12); border-radius: 50%; animation: orbitPulse 4s ease-in-out infinite; }
.orbit-a { width: min(80vw, 900px); height: min(80vw, 900px); }
.orbit-b { width: min(55vw, 620px); height: min(55vw, 620px); animation-delay: -2s; }
@keyframes orbitPulse { 0%,100% { transform: scale(.96); opacity: .5; } 50% { transform: scale(1.04); opacity: 1; } }

.modal { position: fixed; z-index: 80; inset: 0; padding: 30px; display: grid; place-items: center; opacity: 0; visibility: hidden; background: rgba(0,5,9,.76); backdrop-filter: blur(12px); transition: opacity .25s ease, visibility .25s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(650px, 100%); max-height: calc(100vh - 60px); padding: 44px; overflow: auto; transform: translateY(15px); border: 1px solid rgba(70,231,242,.21); border-radius: 18px; background: #06141f; box-shadow: 0 35px 100px rgba(0,0,0,.55); transition: transform .25s ease; }
.modal.open .modal-card { transform: translateY(0); }
.modal-close { position: absolute; right: 18px; top: 15px; width: 36px; height: 36px; border: 0; background: transparent; color: #718c99; font-size: 26px; cursor: pointer; }
.modal-kicker { margin: 0 0 16px; color: var(--cyan); font: 9px ui-monospace, monospace; letter-spacing: .2em; }
.modal-card h2 { margin: 0 0 24px; font-size: 34px; }
.about-card > p:not(.modal-kicker) { color: #91a8b3; line-height: 1.9; }
.about-lines { margin-top: 30px; display: grid; gap: 10px; }
.about-lines span { padding: 15px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); font-size: 13px; }
.about-lines b { margin-right: 14px; color: var(--cyan); font: 10px ui-monospace, monospace; }
.contact-card { width: min(720px, 100%); }
#consult-form label { display: block; margin-bottom: 15px; color: #a9bdc5; font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#consult-form input, #consult-form select, #consult-form textarea { width: 100%; margin-top: 7px; padding: 12px 13px; color: #e8f9fc; border: 1px solid rgba(151,205,214,.2); border-radius: 7px; outline: none; background: #081c29; }
#consult-form input:focus, #consult-form select:focus, #consult-form textarea:focus { border-color: rgba(70,231,242,.65); box-shadow: 0 0 0 3px rgba(70,231,242,.07); }
#consult-form textarea { resize: vertical; }
.submit-button { width: 100%; padding: 13px; border: 0; border-radius: 8px; background: var(--cyan); color: #031116; font-weight: 800; cursor: pointer; }
.privacy-note { margin: 10px 0 0; color: #516b77; text-align: center; font-size: 10px; }
.form-result { margin-top: 16px; padding: 15px; border: 1px solid rgba(70,231,242,.18); border-radius: 8px; background: rgba(70,231,242,.04); }
.form-result pre { white-space: pre-wrap; color: #a9c0ca; font: 11px/1.8 "Microsoft YaHei", sans-serif; }
.form-result button { padding: 7px 12px; border: 1px solid rgba(70,231,242,.3); border-radius: 6px; background: transparent; color: var(--cyan); cursor: pointer; }
.contact-placeholder { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: var(--orange); font-size: 11px; }

.seo-content { position: fixed; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.noscript { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; background: #02070d; color: #fff; }

@media (max-width: 760px) {
  .topbar { height: 68px; padding: 0 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 7px; }
  .action-text { display: none; }
  .top-actions button { width: 38px; height: 38px; min-height: 38px; padding: 0; display: grid; place-items: center; border-color: rgba(255,255,255,.1); }
  .top-actions .primary-action { width: auto; padding: 0 13px; font-size: 11px; }
  .top-actions button[data-open-modal="about-modal"]::after { content: "i"; font-size: 13px; font-weight: 800; }
  .top-actions .primary-action::after { content: "咨询"; font-size: 11px; }
  .top-actions .primary-action { font-size: 0; }
  .action-icon { margin: 0; }
  .intro-copy { left: 20px; top: 18vh; }
  .intro-copy h1 { font-size: 35px; }
  .intro-status { margin-top: 15px; }
  .coordinate-readout { left: 16px; bottom: 103px; }
  .orientation { display: none; }
  .zoom-control { right: 13px; }
  .zoom-track { height: 115px; }
  .sector-nav { left: 10px; right: 10px; bottom: 10px; width: auto; transform: none; overflow-x: auto; grid-template-columns: repeat(4, minmax(118px, 1fr)); }
  .sector-nav { scrollbar-width: none; }
  .sector-nav::-webkit-scrollbar { display: none; }
  .sector-nav button { min-height: 62px; padding: 9px 11px; }
  .detail-panel { top: auto; right: 10px; left: 10px; bottom: 87px; width: auto; max-height: 46vh; transform: translateY(calc(100% + 110px)); }
  .detail-panel.open { transform: translateY(0); }
  .start-content { padding: 0 22px; }
  .start-content h2 { font-size: 48px; }
  .start-content p br { display: none; }
  .orbit-a { width: 130vw; height: 130vw; }
  .orbit-b { width: 90vw; height: 90vw; }
  .modal { padding: 12px; }
  .modal-card { max-height: calc(100vh - 24px); padding: 32px 20px 24px; }
  .modal-card h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
