* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(ellipse at top, #1a2332 0%, #0a0e17 50%, #000 100%);
  color: #e4e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 5vh 5vw 3vh;
}
header { text-align: center; margin-bottom: 6vh; }
.brand {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #4fc3f7 0%, #7c4dff 50%, #e91e63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.tagline {
  font-size: clamp(13px, 1.4vw, 17px);
  color: #8892a8;
  letter-spacing: 2px;
  font-weight: 300;
}
.view-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.view-badge.public { background: rgba(79, 195, 247, 0.15); color: #4fc3f7; border: 1px solid rgba(79, 195, 247, 0.3); }
.view-badge.internal { background: rgba(156, 39, 176, 0.2); color: #ce93d8; border: 1px solid rgba(156, 39, 176, 0.4); }
main {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.section-title {
  font-size: 13px;
  color: #5a6478;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 32px 0 16px;
  font-weight: 500;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  display: block;
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #4fc3f7, #7c4dff);
  opacity: 0;
  transition: opacity 0.25s;
}
.tile:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(79, 195, 247, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.tile:hover::before { opacity: 1; }
.tile-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.tile-desc {
  font-size: 13px;
  color: #8892a8;
  line-height: 1.5;
  margin-bottom: 12px;
}
.tile-url {
  font-size: 11px;
  color: #4fc3f7;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.3px;
  word-break: break-all;
}
.tile-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.tile-tag.ext { background: rgba(79, 195, 247, 0.15); color: #4fc3f7; }
.tile-tag.int { background: rgba(156, 39, 176, 0.15); color: #ce93d8; }
footer {
  text-align: center;
  padding: 32px 0 12px;
  color: #4a5468;
  font-size: 12px;
  letter-spacing: 1px;
}
footer a { color: #5a6478; text-decoration: none; }

/* ===== 公网视图专属 ===== */
.hero {
  text-align: center;
  padding: 40px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}
.hero-kicker {
  font-size: 12px;
  color: #4fc3f7;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  max-width: 900px;
  margin: 0 auto 20px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #4fc3f7, #7c4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: #a8b0c0;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 40px 0 24px;
  padding: 36px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}
.about-item h3 {
  font-size: 15px;
  color: #4fc3f7;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.about-item p {
  font-size: 14px;
  color: #a8b0c0;
  line-height: 1.7;
}
.about-item .num {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 6px;
  font-family: "SF Mono", Menlo, monospace;
}
