:root {
  --bg: #07101d;
  --surface: #fff;
  --surface-2: #f5f7fa;
  --line: rgba(7,16,29,.12);
  --text: #07101d;
  --muted: #536174;
  --lime: #c7f65a;
  --green: #25d890;
  --red: #ff6b78;
  --amber: #ffc857;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; min-width: 320px; color: var(--text); background: #eef1f5; font-family: Arial,"Microsoft YaHei","PingFang SC",sans-serif; font-weight: 500; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.site-shell { width: min(760px,100%); min-height: 100vh; margin: 0 auto; padding-bottom: 82px; background: #f4f5fa; box-shadow: 0 0 60px rgba(0,0,0,.16); }
.hero { position: relative; overflow: hidden; min-height: 268px; padding: 22px 28px 28px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 90% 20%,rgba(199,246,90,.13),transparent 34%),linear-gradient(135deg,#0b192b,#07101d); }
.hero-orb { position: absolute; border: 1px solid rgba(199,246,90,.09); border-radius: 50%; pointer-events: none; }
.hero-orb-one { top: -165px; right: -115px; width: 410px; height: 410px; }
.hero-orb-two { top: -95px; right: -34px; width: 255px; height: 255px; }
.official-chip { position: relative; z-index: 2; display: block; margin-left: auto; text-align: right; color: #fff; font-size: 15px; font-weight: 700; }
.hero-copy { position: relative; z-index: 1; display: flex; align-items: center; min-height: 142px; padding-top: 22px; }
.brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.brand-mark { position: relative; display: grid; width: 96px; height: 96px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 2px solid rgba(211,255,111,.92); border-radius: 27px; color: var(--lime); background: linear-gradient(145deg,#17283c 0%,#08111e 58%,#111f19 100%); box-shadow: 0 0 0 6px rgba(199,246,90,.08),0 17px 38px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.12); transform: rotate(-5deg); }
.brand-mark::before { position: absolute; width: 73px; height: 36px; border: 1px solid rgba(199,246,90,.52); border-radius: 50%; box-shadow: 0 0 14px rgba(199,246,90,.12); transform: rotate(-28deg); content: ""; }
.brand-mark::after { position: absolute; top: 20px; right: 12px; width: 9px; height: 9px; border: 2px solid #07101d; border-radius: 50%; background: var(--lime); box-shadow: 0 0 13px rgba(199,246,90,.8); content: ""; }
.brand-monogram { position: relative; z-index: 1; letter-spacing: -.12em; text-shadow: 0 0 22px rgba(199,246,90,.3); font-family: Arial Black,Arial,sans-serif; font-size: 31px; font-weight: 900; line-height: 1; transform: rotate(5deg) skew(-7deg); }
.brand-monogram::after { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 10px rgba(199,246,90,.65); vertical-align: .2em; content: ""; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; }
.brand-copy strong { overflow: hidden; color: var(--lime); text-overflow: ellipsis; text-shadow: 0 0 26px rgba(199,246,90,.13); white-space: nowrap; letter-spacing: -.025em; font-size: 34px; font-weight: 900; line-height: 1.2; }
.brand-copy small { margin-top: 9px; color: #fff; white-space: nowrap; font-size: 16px; }
.brand-copy i::before { content: "|"; margin: 0 8px; color: rgba(255,255,255,.65); font-style: normal; }
.notice { position: relative; z-index: 1; display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border: 1px solid rgba(199,246,90,.55); border-radius: 999px; background: rgba(199,246,90,.07); }
.notice span { color: var(--lime); font-size: 22px; }
.notice p { margin: 0; color: #fff; font-size: 16px; font-weight: 700; }
.content { padding: 12px 18px 54px; }
.route-column,.side-column { min-width: 0; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0 2px 15px; }
.section-title > span,.panel-title > span { display: grid; width: 26px; height: 26px; place-items: center; color: var(--lime); font-size: 22px; }
.section-title > div { display: flex; flex-direction: column; }
.section-title strong { color: #07101d; font-size: 21px; font-weight: 900; }
.primary-route { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 18px; overflow: hidden; min-height: 146px; padding: 25px 25px; border: 1px solid rgba(7,16,29,.08); border-radius: 22px; background: var(--surface); box-shadow: 0 18px 45px rgba(38,27,78,.08); }
.corner-badge { position: absolute; top: 0; right: 0; width: 66px; height: 66px; overflow: hidden; color: transparent; }
.corner-badge::before { content: ""; position: absolute; top: 0; right: 0; border-top: 66px solid var(--lime); border-left: 66px solid transparent; }
.corner-badge::after { content: "★"; position: absolute; top: 7px; right: 8px; color: #07101d; font-size: 18px; }
.route-symbol { display: grid; grid-row: 1/3; width: 74px; height: 74px; place-items: center; border-radius: 50%; color: #07101d; background: var(--lime); font-size: 35px; font-weight: 900; }
.route-copy { display: flex; min-width: 0; flex-direction: column; }
.route-copy strong { color: #07101d; font-size: 23px; font-weight: 900; }
.route-copy span { overflow: hidden; margin-top: 7px; color: #536174; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.route-health { display: flex; grid-column: 2; align-items: flex-start; gap: 8px; }
.route-health b { padding: 5px 10px; border: 1px solid rgba(105,157,27,.24); border-radius: 999px; color: #5a8417; background: rgba(199,246,90,.18); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 700; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.checking { border-color: rgba(83,97,116,.3); color: #536174; background: rgba(83,97,116,.07); }
.status.online { border-color: rgba(22,181,113,.32); color: #079459; background: #e9fbf2; }
.status.slow { border-color: rgba(216,155,17,.35); color: #a36e00; background: #fff8e6; }
.status.offline { border-color: rgba(220,61,77,.3); color: #c62f40; background: #fff0f2; }
.enter-button { display: inline-flex; grid-column: 3; grid-row: 1/3; align-items: center; gap: 9px; padding: 16px 22px; border-radius: 12px; color: #07101d; background: linear-gradient(135deg,#d8ff76,#a8e839); box-shadow: 0 10px 25px rgba(145,209,43,.22); white-space: nowrap; font-size: 17px; font-weight: 900; }
.enter-button.disabled,.visit-button.disabled { opacity: .48; pointer-events: none; }
.backup-title { margin-top: 12px; }
.backup-title button { margin-left: auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: #536174; background: var(--surface); cursor: pointer; font-size: 12px; }
.backup-title button.spinning { pointer-events: none; opacity: .6; }
.route-list { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.route-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto auto; align-items: center; gap: 15px; min-width: 0; min-height: 92px; padding: 15px 24px; border-bottom: 1px solid var(--line); background: var(--surface); transition: .2s; }
.route-row:last-child { border-bottom: 0; }
.route-row:hover { background: var(--surface-2); }
.route-row.extra { display: none; }
.route-number { display: none; }
.route-row-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 12px; color: #07101d; background: var(--lime); font-size: 21px; }
.route-row-copy { display: flex; min-width: 0; flex-direction: column; }
.route-row-copy strong { color: #07101d; font-size: 17px; font-weight: 900; }
.route-row-copy small { overflow: hidden; margin-top: 5px; color: #536174; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.route-row .status { justify-self: end; }
.latency { color: #079459; white-space: nowrap; font-size: 14px; }
.visit-button { justify-self: end; padding: 10px 14px; border: 2px solid #8bc72d; border-radius: 10px; color: #557f13; font-size: 14px; font-weight: 800; }
.more-button { width: 100%; margin-top: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; color: #536174; background: var(--surface); cursor: pointer; font-size: 12px; }
.side-column { display: grid; gap: 12px; margin-top: 28px; }
.panel { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.panel-title { display: flex; align-items: center; gap: 9px; }
.panel-title strong { color: #07101d; font-size: 17px; }
.panel-title small { margin-left: auto; color: #536174; font-size: 11px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 15px; }
.stats-grid > div { display: flex; min-height: 80px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,255,255,.035); flex-direction: column; }
.stats-grid strong { margin: 5px 0 2px; color: #07101d; font-size: 19px; }
.stats-grid small { color: #536174; font-size: 10px; }
.stat-icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; color: #07101d; background: rgba(199,246,90,.45); }
.info-panel ul { margin: 14px 0 0; padding-left: 22px; }
.info-panel li { margin: 10px 0; color: #536174; font-size: 12px; }
.info-panel li::marker { color: var(--lime); }
.inline-copy { padding: 0; border: 0; color: #315806; background: transparent; cursor: pointer; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.contact-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; color: #07101d; background: #fff; cursor: pointer; text-align: left; }
.contact-item > span { display: grid; overflow: hidden; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(7,16,29,.08); border-radius: 9px; background: #fff; }
.contact-item > span img { display: block; width: 100%; height: 100%; object-fit: cover; }
.contact-item div { display: flex; min-width: 0; flex-direction: column; }
.contact-item small,.contact-item i { color: #536174; font-size: 10px; font-style: normal; }
.contact-item strong { overflow: hidden; margin-top: 3px; color: #07101d; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 22px; border-top: 1px solid var(--line); color: #536174; background: #fff; }
.footer-brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.footer-brand span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: #07101d; background: var(--lime); font-size: 8px; font-weight: 900; }
.footer-brand strong,footer p,footer > small { color: #536174; font-size: 10px; }
footer p { text-align: center; }
footer > small { text-align: right; }
.bottom-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; min-height: 70px; border-top: 1px solid var(--line); background: rgba(8,17,30,.97); backdrop-filter: blur(18px); }
.bottom-nav a,.bottom-nav button { display: flex; width: min(253px,33.333%); align-items: center; justify-content: center; gap: 4px; border: 0; border-right: 1px solid var(--line); color: #fff; background: transparent; cursor: pointer; flex-direction: column; font-size: 12px; }
.bottom-nav > :last-child { border-right: 0; }
.bottom-nav span { color: var(--lime); font-size: 22px; }
.toast { position: fixed; z-index: 100; bottom: 84px; left: 50%; padding: 10px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; color: #fff; background: #07101d; box-shadow: 0 16px 40px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translate(-50%,9px); transition: .2s; white-space: nowrap; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 620px) {
  .hero { min-height: 258px; padding: 18px 16px 24px; }
  .official-chip { font-size: 13px; }
  .hero-copy { min-height: 137px; padding-top: 22px; }
  .brand { gap: 14px; }
  .brand-mark { width: 80px; height: 80px; font-size: 18px; }
  .brand-copy strong { font-size: clamp(22px,7vw,30px); }
  .brand-copy small { margin-top: 7px; font-size: clamp(10px,3.1vw,14px); }
  .brand-copy i::before { margin: 0 4px; }
  .notice { min-height: 50px; padding: 8px 12px; }
  .notice p { font-size: 13px; }
  .content { padding: 12px 12px 48px; }
  .section-title strong { font-size: 18px; }
  .primary-route { min-height: 134px; padding: 21px 16px; column-gap: 13px; }
  .route-symbol { width: 62px; height: 62px; font-size: 29px; }
  .route-copy strong { font-size: 19px; }
  .route-copy span { font-size: 11px; }
  .route-health { gap: 5px; }
  .status { padding: 4px 7px; font-size: 11px; }
  .route-health b { padding: 4px 7px; font-size: 11px; }
  .enter-button { padding: 13px 14px; font-size: 14px; }
  .route-row { grid-template-columns: auto minmax(0,1fr) auto auto auto; gap: 9px; min-height: 86px; padding: 13px 14px; }
  .route-row-icon { width: 45px; height: 45px; }
  .route-row-copy strong { font-size: 15px; }
  .route-row-copy small { font-size: 9px; }
  .latency { font-size: 12px; }
  .visit-button { padding: 9px 11px; font-size: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { padding: 24px 14px; flex-direction: column; text-align: center; }
  footer p,footer > small { margin: 0; text-align: center; }
}
@media (max-width: 430px) {
  .official-chip { font-size: 11px; }
  .brand-mark { width: 72px; height: 72px; font-size: 16px; }
  .brand-copy strong { font-size: 23px; }
  .brand-copy small { font-size: 10px; }
  .notice p { font-size: 12px; }
  .primary-route { grid-template-columns: auto minmax(0,1fr) auto; column-gap: 10px; padding: 18px 12px; }
  .route-symbol { width: 55px; height: 55px; }
  .route-copy strong { font-size: 16px; }
  .route-copy span { display: none; }
  .route-health { flex-direction: column; }
  .enter-button { padding: 12px 11px; font-size: 13px; }
  .route-row { grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; padding: 12px; }
  .route-row .status { grid-column: 2; grid-row: 2; justify-self: start; }
  .latency { grid-column: 3; grid-row: 1; }
  .visit-button { grid-column: 3; grid-row: 2; }
  .route-row-copy small { display: none; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

@media (max-width: 620px) {
  .primary-route {
    min-height: 116px;
    padding: 13px 16px;
    column-gap: 12px;
    border-radius: 18px;
  }
  .primary-route .route-symbol { width: 56px; height: 56px; font-size: 27px; }
  .primary-route .corner-badge { width: 54px; height: 54px; }
  .primary-route .corner-badge::before { border-top-width: 54px; border-left-width: 54px; }
  .primary-route .corner-badge::after { top: 5px; right: 6px; font-size: 15px; }
  .primary-route .enter-button { padding: 12px 13px; border-radius: 10px; }
  .route-row {
    grid-template-columns: 48px minmax(62px,1fr) auto 44px 70px;
    grid-template-rows: 1fr;
    gap: 8px;
    min-height: 84px;
    padding: 10px 12px;
  }
  .route-row-icon { grid-column: auto; grid-row: auto; width: 48px; height: 48px; border-radius: 11px; font-size: 20px; }
  .route-row-copy { grid-column: auto; grid-row: auto; }
  .route-row-copy strong { font-size: 14px; }
  .route-row-copy small { display: none; }
  .route-row .status { grid-column: auto; grid-row: auto; justify-self: center; padding: 4px 7px; font-size: 10px; }
  .route-row .status i { width: 6px; height: 6px; }
  .latency { grid-column: auto; grid-row: auto; justify-self: end; font-size: 11px; }
  .visit-button { grid-column: auto; grid-row: auto; min-width: 64px; justify-self: end; padding: 8px 7px; border-width: 1px; border-radius: 8px; white-space: nowrap; text-align: center; font-size: 10px; }
}

@media (max-width: 370px) {
  .route-row { grid-template-columns: 40px minmax(50px,1fr) auto 37px 52px; gap: 5px; padding: 9px 10px; }
  .route-row-icon { width: 40px; height: 40px; }
  .route-row-copy strong { font-size: 12px; }
  .route-row .status { gap: 4px; padding: 4px 5px; font-size: 9px; }
  .latency { font-size: 10px; }
  .visit-button { min-width: 50px; padding: 7px 4px; font-size: 9px; }
}

@media (max-width: 620px) {
  .hero { min-height: 204px; padding: 13px 16px 16px; }
  .official-chip { font-size: 11px; line-height: 1.2; }
  .hero-copy { min-height: 101px; padding-top: 5px; }
  .brand { gap: 13px; }
  .brand-mark { width: 66px; height: 66px; border-radius: 19px; }
  .brand-mark::before { width: 51px; height: 25px; }
  .brand-mark::after { top: 13px; right: 8px; width: 7px; height: 7px; }
  .brand-monogram { font-size: 23px; }
  .brand-monogram::after { width: 5px; height: 5px; margin-left: 5px; }
  .brand-copy strong { font-size: 23px; }
  .brand-copy small { margin-top: 5px; font-size: 10px; }
  .notice { min-height: 42px; padding: 6px 11px; gap: 9px; }
  .notice span { font-size: 18px; }
  .notice p { font-size: 11px; }
}
