@charset "UTF-8";

:root {
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #183653;
  background: #edf6ff;
  font-synthesis: none;
  color-scheme: light;
  --blue: #1769d2;
  --blue-2: #2b8cf0;
  --cyan: #27b7e7;
  --ink: #183653;
  --muted: #6e89a3;
  --line: #d9e8f6;
  --panel: rgba(255, 255, 255, .93);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #edf6ff; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(78, 173, 245, .15), transparent 29%),
    radial-gradient(circle at 84% 70%, rgba(94, 159, 240, .13), transparent 27%),
    linear-gradient(145deg, #f8fcff, #eaf5ff 58%, #f5faff);
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 111, 182, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 111, 182, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(61, 143, 224, .09);
  border-radius: 50%;
}
.ambient::before { left: -170px; top: 23%; box-shadow: 0 0 0 80px rgba(74, 159, 235, .025), 0 0 0 160px rgba(74, 159, 235, .018); }
.ambient::after { right: -210px; bottom: -190px; box-shadow: 0 0 0 70px rgba(74, 159, 235, .025); }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(39, 137, 231, .36); outline-offset: 3px; }
.skip { position: fixed; top: -70px; left: 16px; z-index: 50; padding: 11px 15px; border-radius: 8px; background: var(--blue); color: white; }
.skip:focus { top: 10px; }

.topbar {
  height: 68px;
  padding: 0 clamp(24px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid #dce9f5;
  box-shadow: 0 3px 18px rgba(40, 103, 164, .055);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #1878df, #25a8e7);
  box-shadow: 0 8px 20px rgba(28, 113, 210, .22);
}
.brand-mark svg { width: 27px; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { color: #16426f; font-size: 19px; letter-spacing: .6px; }
.brand small { margin-top: 3px; color: #8aa0b6; font: 9px Consolas, monospace; letter-spacing: 1.6px; }
.top-meta { display: flex; align-items: center; gap: 25px; color: #66849f; font-size: 12px; }
.top-meta > span { display: flex; align-items: center; gap: 8px; }
.online { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #27c895; box-shadow: 0 0 0 4px rgba(39, 200, 149, .1); }
.clock { color: #315d83; font: 12px Consolas, monospace; letter-spacing: 1px; }

main {
  width: min(1390px, calc(100% - 76px));
  min-height: 640px;
  margin: 0 auto;
  padding: 35px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(365px, .66fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
}
.overview { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: #3b88ca; font: 10px Consolas, monospace; letter-spacing: 1.7px; }
.eyebrow i { width: 38px; height: 1px; background: #72b6e8; }
.overview h1 { margin: 9px 0 6px; color: #174d80; font-size: clamp(38px, 3.6vw, 55px); font-weight: 680; letter-spacing: 3px; }
.lead { margin: 0; color: #6d8ba5; font-size: 14px; line-height: 1.7; }

.data-scene {
  height: 218px;
  margin-top: 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(159, 199, 232, .82);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(232,246,255,.86)),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(46,122,188,.035) 40px 41px);
  box-shadow: 0 18px 42px rgba(54, 117, 175, .11), inset 0 1px white;
}
.data-scene::before { content: "实时数据拓扑  /  LIVE"; position: absolute; left: 18px; top: 14px; z-index: 2; color: #6094bc; font: 9px Consolas, monospace; letter-spacing: 1.5px; }
.data-scene::after { content: ""; position: absolute; top: 0; left: 0; width: 90px; height: 3px; background: linear-gradient(90deg, #1f7ddd, #32c5e8); }
.data-map { position: absolute; width: min(680px, 92%); height: 100%; left: 50%; transform: translateX(-50%); }
.data-map svg { width: 100%; height: 100%; overflow: visible; }
.map-lines { fill: rgba(75, 163, 231, .08); stroke: #4da0dd; stroke-width: 1; }
.map-lines path + path { fill: none; stroke: #70abd5; stroke-opacity: .47; }
.nodes { fill: #148bd8; stroke: white; stroke-width: 1.3; }
.signal { position: absolute; width: 9px; height: 9px; border: 2px solid #158edb; border-radius: 50%; background: white; box-shadow: 0 0 0 5px rgba(25, 143, 218, .08); }
.signal::before, .signal::after { content: ""; position: absolute; inset: -9px; border: 1px solid rgba(32, 141, 211, .42); border-radius: 50%; animation: pulse 2.5s infinite; }
.signal::after { inset: -17px; animation-delay: .75s; }
.s1 { left: 35%; top: 38%; } .s2 { left: 50%; top: 58%; } .s3 { right: 12%; top: 52%; }
.map-label { position: absolute; z-index: 1; padding: 5px 8px; border-left: 2px solid #2396dd; border-radius: 0 5px 5px 0; background: rgba(255,255,255,.86); box-shadow: 0 4px 14px rgba(47,112,166,.08); color: #5683a7; font-size: 9px; white-space: nowrap; }
.map-label b { margin-left: 6px; color: #167dc8; font: 10px Consolas, monospace; }
.l1 { left: 8%; top: 28%; } .l2 { left: 48%; top: 32%; } .l3 { right: 2%; top: 68%; }
.radar { position: absolute; width: 180px; height: 180px; right: 2%; top: 13%; border: 1px solid rgba(49, 136, 201, .15); border-radius: 50%; }
.radar span { position: absolute; inset: 17%; border: inherit; border-radius: inherit; }
.radar span:nth-child(2) { inset: 33%; } .radar span:nth-child(3) { inset: 49%; }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(60, 143, 205, .1); }
.radar::before { width: 100%; height: 1px; top: 50%; } .radar::after { width: 1px; height: 100%; left: 50%; }
.radar b { position: absolute; inset: 50% 50% 0 0; transform-origin: 100% 0; background: linear-gradient(45deg, transparent, rgba(43, 144, 215, .12)); animation: sweep 6s linear infinite; }
.flow { position: absolute; display: flex; gap: 5px; }
.flow span { width: 3px; height: 12px; border-radius: 2px; background: #3ba8df; animation: flow 1.4s infinite; }
.flow-a { left: 4%; bottom: 13%; transform: rotate(-28deg); } .flow-b { right: 7%; top: 15%; transform: rotate(22deg); }
.flow span:nth-child(2) { animation-delay: .2s; } .flow span:nth-child(3) { animation-delay: .4s; } .flow span:nth-child(4) { animation-delay: .6s; }

.metrics { margin-top: 9px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.metrics article { min-height: 59px; padding: 8px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #d9e9f6; border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(45,105,159,.07); }
.metric-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #e8f4ff; color: #2388d6; }
.metric-icon svg { width: 18px; }
.metrics div { display: flex; flex-direction: column; }
.metrics small { color: #7690a7; font-size: 10px; }
.metrics strong { margin-top: 2px; color: #175487; font: 18px Consolas, monospace; }
.metrics strong > span { display: inline-block; min-width: 5ch; transition: opacity .16s, transform .16s; }
.metrics strong > span.updating { opacity: .35; transform: translateY(-2px); }
.metrics em { color: #4393ca; font-size: 9px; font-style: normal; }
.trend { margin-left: auto; align-self: flex-end; color: #20a481; font: 9px Consolas, monospace; }

.auth-panel {
  padding: 27px 29px 21px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(183, 213, 238, .95);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 24px 65px rgba(35, 91, 150, .15), inset 0 1px white;
}
.auth-panel::before { content: ""; position: absolute; left: 0; top: 25px; bottom: 25px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(#2183df, #37bde4); }
.panel-shine { position: absolute; width: 250px; height: 250px; right: -115px; top: -155px; border-radius: 50%; background: rgba(75, 157, 227, .08); box-shadow: 0 0 0 35px rgba(75,157,227,.025); }
.auth-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; position: relative; }
.auth-symbol { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: white; background: linear-gradient(145deg, #1e74d8, #27a6df); box-shadow: 0 7px 18px rgba(31, 119, 210, .22); }
.auth-symbol svg { width: 22px; }
.auth-head small { color: #6092ba; font: 9px Consolas, monospace; letter-spacing: 1.7px; }
.auth-head h2 { margin: 4px 0 0; color: #194b78; font-size: 21px; font-weight: 650; }
.auth-panel label { display: block; margin: 13px 0 6px; color: #597995; font-size: 12px; }
.input-wrap { height: 43px; padding: 0 12px; display: flex; align-items: center; border: 1px solid #cfdfed; border-radius: 10px; background: #f8fbfe; transition: border-color .2s, box-shadow .2s, background .2s; }
.input-wrap:focus-within { border-color: #4b9ee0; background: white; box-shadow: 0 0 0 3px rgba(44, 142, 220, .1); }
.input-wrap > svg { width: 18px; margin-right: 10px; color: #71a2ca; }
.input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #1c496f; font-size: 13px; }
.input-wrap input::placeholder { color: #9aafc1; }
.reveal { padding: 7px; border: 0; background: transparent; color: #79a1c1; }
.reveal svg { width: 17px; }
.login-options { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.login-options .remember { margin: 0; display: flex; align-items: center; color: #7890a5; font-size: 11px; cursor: pointer; }
.remember input { position: absolute; opacity: 0; }
.remember span { width: 15px; height: 15px; margin-right: 7px; border: 1px solid #b7ccdd; border-radius: 4px; background: white; position: relative; }
.remember input:checked + span { border-color: #2585d7; background: #2585d7; }
.remember input:checked + span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 7px; height: 4px; border-left: 1px solid white; border-bottom: 1px solid white; transform: rotate(-45deg); }
.text-button { padding: 4px; border: 0; background: none; color: #2883cc; font-size: 11px; }
.form-message { min-height: 21px; margin: 8px 0 3px; color: #d76268; font-size: 11px; line-height: 1.7; }
.login-button { width: 100%; height: 43px; display: flex; align-items: center; justify-content: center; gap: 23px; border: 0; border-radius: 10px; color: white; background: linear-gradient(100deg, #176ed4, #249ee1); box-shadow: 0 10px 23px rgba(28, 121, 212, .2); letter-spacing: 5px; position: relative; overflow: hidden; }
.login-button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.28), transparent 75%); transform: translateX(-120%); }
.login-button:hover::before { animation: shine .75s; }
.login-button svg { width: 17px; }
.login-button[disabled] { cursor: wait; opacity: .65; }
.auth-foot { margin-top: 18px; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e2edf6; color: #8aa0b4; font-size: 9px; }
.auth-foot span { display: flex; align-items: center; gap: 5px; }
.auth-foot .online { width: 5px; height: 5px; box-shadow: none; }

.modules { width: min(1390px, calc(100% - 76px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #dceaf5; border-radius: 15px; background: rgba(255,255,255,.82); box-shadow: 0 10px 30px rgba(45,105,159,.065); overflow: hidden; }
.modules > div { min-width: 0; padding: 13px 19px; border-right: 1px solid #e1edf6; position: relative; }
.modules > div:last-child { border: 0; }
.modules span { position: absolute; right: 14px; top: 11px; color: #d2e5f5; font: 19px Consolas, monospace; }
.modules strong { display: block; color: #416985; font-size: 12px; font-weight: 600; }
.modules small { display: block; margin-top: 4px; color: #8ba0b2; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
footer { width: min(1390px, calc(100% - 76px)); margin: auto; padding: 12px 0 17px; display: flex; justify-content: space-between; color: #92a6b7; font-size: 9px; }

dialog { width: min(410px, calc(100% - 30px)); padding: 29px; border: 1px solid #c9deef; border-radius: 20px; color: #234d70; background: white; box-shadow: 0 30px 100px rgba(25,68,110,.28); }
dialog::backdrop { background: rgba(23,57,87,.38); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 11px; top: 8px; border: 0; background: none; color: #809bb1; font-size: 24px; }
.dialog-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #d56e73; background: #fff0f0; }
.dialog-icon svg { width: 22px; }
dialog h2 { margin: 18px 0 11px; color: #244f73; font-size: 20px; }
dialog p { color: #728ba0; font-size: 13px; line-height: 1.8; }
.notice-code { margin-top: 16px; padding: 10px; border-radius: 8px; color: #6785a0; background: #f2f7fb; font: 9px Consolas, monospace; }
.dialog-button { width: 100%; height: 41px; margin-top: 19px; border: 0; border-radius: 9px; color: white; background: #227ed1; }

@keyframes pulse { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes flow { 0%,100% { opacity: .2; transform: scaleY(.55); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes shine { to { transform: translateX(120%); } }

@media (min-width: 981px) {
  html, body { height: 100%; min-height: 0; overflow: hidden; }
  body { display: grid; grid-template-rows: 62px minmax(0, 1fr) 56px 27px; }
  .topbar { height: 62px; }
  main { height: auto; min-height: 0; padding: 12px 0 9px; }
  .overview h1 { font-size: clamp(36px, 3.1vw, 48px); }
  .data-scene { height: clamp(145px, 25vh, 205px); margin-top: 6px; }
  .metrics article { min-height: 54px; padding-block: 6px; }
  .auth-panel { padding: 19px 25px 15px; }
  .auth-head { margin-bottom: 12px; }
  .auth-head h2 { font-size: 19px; }
  .auth-symbol { width: 37px; height: 37px; }
  .auth-panel label { margin: 9px 0 5px; }
  .input-wrap { height: 39px; }
  .login-options { margin-top: 9px; }
  .form-message { min-height: 17px; margin: 5px 0 2px; font-size: 10px; }
  .login-button { height: 39px; }
  .auth-foot { margin-top: 11px; padding-top: 9px; }
  .modules { height: 56px; }
  .modules > div { padding: 9px 18px; }
  footer { height: 27px; padding: 0; display: flex; align-items: center; }
}

@media (max-width: 980px) {
  main { grid-template-columns: 1fr; max-width: 760px; }
  .auth-panel { width: min(460px, 100%); margin: 0 auto; }
  .modules { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .topbar { height: 56px; padding: 0 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-mark svg { width: 21px; }
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .top-meta > span:first-child { display: none; }
  .clock { font-size: 10px; }
  main { width: calc(100% - 26px); min-height: 0; padding: 12px 0 8px; gap: 9px; }
  .overview { text-align: center; }
  .eyebrow { justify-content: center; font-size: 8px; letter-spacing: 1px; }
  .overview h1 { margin: 5px 0 3px; font-size: 27px; letter-spacing: 2px; }
  .lead { font-size: 11px; line-height: 1.5; }
  .data-scene { height: 126px; margin-top: 6px; border-radius: 15px; }
  .data-scene::before { left: 12px; top: 9px; font-size: 7px; }
  .radar { width: 110px; height: 110px; }
  .map-label { padding: 3px 5px; font-size: 7px; }
  .l3 { display: none; }
  .metrics { margin-top: 6px; gap: 6px; }
  .metrics article { min-height: 49px; padding: 5px 7px; gap: 6px; border-radius: 10px; }
  .metric-icon { width: 27px; height: 27px; border-radius: 8px; }
  .metric-icon svg { width: 15px; }
  .metrics small { font-size: 8px; }
  .metrics strong { font-size: 14px; }
  .trend { font-size: 7px; }
  .auth-panel { padding: 14px 18px 12px; border-radius: 17px; }
  .auth-panel::before { top: 17px; bottom: 17px; width: 3px; }
  .auth-head { margin-bottom: 8px; gap: 9px; }
  .auth-symbol { width: 32px; height: 32px; border-radius: 9px; }
  .auth-symbol svg { width: 18px; }
  .auth-head small { font-size: 7px; }
  .auth-head h2 { margin-top: 2px; font-size: 16px; }
  .auth-panel label { margin: 6px 0 3px; font-size: 10px; }
  .input-wrap { height: 35px; border-radius: 8px; }
  .input-wrap input { font-size: 11px; }
  .login-options { margin-top: 6px; }
  .login-options .remember, .text-button { font-size: 9px; }
  .form-message { min-height: 14px; margin: 3px 0 2px; font-size: 9px; }
  .login-button { height: 36px; border-radius: 8px; font-size: 11px; }
  .auth-foot { margin-top: 8px; padding-top: 7px; font-size: 7px; }
  .modules { display: none; }
  footer { width: calc(100% - 26px); padding: 7px 0 10px; justify-content: center; font-size: 8px; }
  footer span:not(:last-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
