* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #eaf1ff;
  background: #091522;
}
a { color: inherit; }
button, input, select { font: inherit; }
.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(130px 130px at calc(50% + 70px) 24px, rgba(60, 110, 205, 0.18), transparent 72%),
    radial-gradient(140px 140px at calc(50% - 90px) 160px, rgba(36, 150, 150, 0.16), transparent 72%),
    radial-gradient(120px 120px at calc(50% + 80px) 360px, rgba(110, 84, 180, 0.14), transparent 72%),
    linear-gradient(105deg, #091522 0%, #121a2d 35%, #0b2525 70%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(210, 228, 255, 0.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(rgba(210, 228, 255, 0.04) 0 1px, transparent 1px 36px);
}
.phone {
  position: relative;
  z-index: 1;
  width: min(100%, 375px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 28px;
}
.loading, .error {
  padding: 48px 16px;
  text-align: center;
  color: #b7c7dc;
}
.header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.lockup { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  color: #122033;
  font-size: 12px;
  font-weight: 800;
}
.dot img, .logo img { width: 100%; height: 100%; object-fit: cover; }
.service {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 11px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(100, 225, 210, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #bfeee6;
  font-size: 13px;
}
.service svg, .go svg { width: 14px; height: 14px; }
.main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 12px 0;
}
.hero {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 11px;
  border-radius: 14px;
  border: 1px solid rgba(100, 225, 210, 0.34);
  background: linear-gradient(171deg, rgba(23, 52, 67, 0.96), rgba(37, 49, 83, 0.96) 35%, rgba(21, 61, 58, 0.94));
  box-shadow: 0 9px 20px rgba(6, 16, 25, 0.32), inset 0 1px 2px rgba(221, 251, 255, 0.07);
}
.hero-name { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  color: #1b2740;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.go {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 19px;
  text-decoration: none;
  color: #f7fbff;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(90deg, #39bfb4, #4e82d8, #6960d9);
  box-shadow: 0 6px 10px rgba(62, 97, 204, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.18);
}
.block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 2px 8px;
  font-size: 15px;
  font-weight: 600;
}
.block-title i {
  width: 3px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(#7ef0e4, #4e82d8);
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.route, .tool {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
}
.route {
  height: 78px;
  border: 1px solid rgba(57, 214, 176, 0.34);
  background: linear-gradient(157deg, rgba(19, 44, 44, 0.96), rgba(23, 38, 56, 0.96) 70%);
  box-shadow: 0 8px 18px rgba(57, 214, 176, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.05);
}
.route-body, .tool {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 11px 11px;
}
.tool {
  min-height: 86px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(150, 190, 240, 0.18);
  background: linear-gradient(160deg, rgba(28, 42, 72, 0.96), rgba(16, 40, 48, 0.96));
}
.route-name { display: flex; align-items: center; gap: 4px; min-width: 0; }
.tool-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.route-name { font-size: 13px; font-weight: 600; color: #dce7f5; }
.no {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #21364e;
  font-size: 12px;
}
.route-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.ms {
  font-family: "DIN Alternate", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #37d8a9;
}
.ms.warn { color: #f5c16c; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 3px; display: block; border-radius: 2px; background: #d9d9d9; }
.bars i:nth-child(1) { height: 5px; }
.bars i:nth-child(2) { height: 8px; }
.bars i:nth-child(3) { height: 11px; }
.bars i:nth-child(4) { height: 14px; }
.bars i.on { background: #13bf86; }
.mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.22);
}
.tool strong, .tool small { display: block; }
.tool strong { font-size: 14px; font-weight: 600; }
.tool small { margin-top: 4px; color: #9fb3c8; font-size: 12px; }
.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  height: 18px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  border-bottom-left-radius: 10px;
  background: linear-gradient(160deg, #ff5f05, #ff9458);
}
.ribbon.rec { background: linear-gradient(160deg, #12b886, #3ddc97); }
.nav-card {
  padding: 8px 10px 4px;
  border-radius: 18px;
  border: 1px solid rgba(180, 210, 255, 0.12);
  background: rgba(16, 28, 44, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.nav-card h3 {
  margin: 10px 4px 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(234, 241, 255, 0.72);
}
.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; margin-bottom: 8px; }
.icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #d5e2f2;
  font-size: 12px;
  text-align: center;
}
.ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}
.admin-link {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: rgba(191, 238, 230, 0.45);
  font-size: 12px;
  text-decoration: none;
}
.route:hover, .tool:hover, .icons a:hover { transform: translateY(-1px); }
.route, .tool, .icons a { transition: transform 0.18s ease; }
