:root {
  color-scheme: dark;
  --bg: #0a0b0f;
  --panel: #12141a;
  --line: #262a34;
  --muted: #9299aa;
  --text: #f4f5f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(111, 95, 255, .12), transparent 30%),
    radial-gradient(circle at 85% 32%, rgba(32, 205, 161, .08), transparent 28%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header {
  height: 76px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 650; letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; color: #090a0d;
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; }
.brand-mark circle { fill: currentColor; }

.account {
  display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 6px 7px 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #616878; }
.account.online .status-dot { background: #25d39a; box-shadow: 0 0 0 4px rgba(37,211,154,.1); }
.account a { padding: 6px 11px; border-radius: 999px; background: #252934; color: #fff; }

main { max-width: 1260px; margin: 0 auto; padding: 82px 28px 96px; }
.hero { max-width: 1000px; margin-bottom: 52px; }
.eyebrow { color: #9b93ff; font-size: 12px; font-weight: 700; letter-spacing: .19em; }
h1 { margin: 16px 0 18px; font-size: clamp(40px, 5.3vw, 66px); line-height: 1.06; letter-spacing: -.055em; }
.hero-copy { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(18,20,26,.92);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.product-card:hover { transform: translateY(-5px); border-color: #484e5e; box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.card-visual { position: relative; height: 250px; overflow: hidden; border-bottom: 1px solid var(--line); }
.canvas-visual {
  background-color: #0f1117;
  background-image: radial-gradient(circle, #343846 1.2px, transparent 1.3px);
  background-size: 27px 27px;
}
.canvas-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.canvas-visual path { fill: none; stroke: #6d73ff; stroke-width: 3; opacity: .85; }
.node { position: absolute; z-index: 1; width: 78px; height: 48px; border: 1px solid #545b70; border-radius: 12px; background: #1b1e27; box-shadow: 0 10px 22px rgba(0,0,0,.25); }
.node::after { content: ""; position: absolute; right: -6px; top: 18px; width: 9px; height: 9px; border: 2px solid #7d83ff; border-radius: 50%; background: #111319; }
.n1 { left: 32px; top: 142px; }.n2 { left: 205px; top: 51px; }.n3 { right: 33px; top: 86px; }

.pack-visual { display: grid; place-items: center; background: linear-gradient(135deg, #181522, #111822); }
.pack-object {
  position: relative; z-index: 2; width: 112px; height: 164px; border-radius: 14px 14px 22px 22px;
  background: linear-gradient(145deg, #d8ff70, #88ef9e 60%, #45c58f);
  box-shadow: 0 30px 70px rgba(95,229,151,.18); transform: rotate(5deg);
}
.pack-object::before {
  content: ""; position: absolute; top: -14px; left: 18px; right: 18px; height: 21px;
  background: #edfbbf; border-radius: 6px 6px 2px 2px;
}
.pack-label { position: absolute; left: 18px; bottom: 24px; color: #102117; font-size: 18px; font-weight: 850; line-height: .96; letter-spacing: -.04em; }
.orbit { position: absolute; border: 1px solid rgba(167,147,255,.4); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 330px; height: 105px; }.orbit-two { width: 440px; height: 156px; opacity: .45; }

.card-body { min-height: 230px; padding: 27px 28px 25px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.product-type { margin: 0 0 8px; color: #858da0; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
h2 { margin: 0 0 11px; font-size: 27px; letter-spacing: -.035em; }
.card-body p:not(.product-type) { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.open { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.open b { font-size: 18px; }

footer {
  max-width: 1260px; margin: 0 auto; padding: 24px 28px 38px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; color: #686f7d; font-size: 12px;
}
footer a:hover { color: #fff; }

@media (max-width: 760px) {
  .site-header { padding: 0 18px; }
  .brand > span:last-child { display: none; }
  #account-text { display: none; }
  main { padding: 58px 18px 68px; }
  .products { grid-template-columns: 1fr; }
  .card-visual { height: 215px; }
  footer { margin: 0 18px; padding-left: 0; padding-right: 0; }
}

/* ---- 全站公告(浅色主题) ---- */
.ann-bell {
  position: relative; border: none; background: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 8px; color: #4b5563;
  display: inline-flex; align-items: center; justify-content: center;
}
.ann-bell:hover { background: rgba(0,0,0,.06); }
.ann-bell svg { width: 17px; height: 17px; }
.ann-badge {
  position: absolute; top: 4px; right: 4px; width: 7px; height: 7px;
  border-radius: 50%; background: #d0453a; box-shadow: 0 0 0 2px #fff;
}
.ann-badge.hidden { display: none; }
.ann-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 18, 24, .45); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.ann-card {
  width: min(480px, 100%); max-height: 80vh; overflow: auto;
  background: #fff; border: 1px solid #e6e8ec;
  border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.ann-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; }
.ann-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.ann-title { font-size: 15px; flex: 1; min-width: 0; color: #1f2430; }
.ann-close {
  margin-left: auto; border: none; background: none; cursor: pointer;
  font-size: 20px; line-height: 1; color: #8b93a5; padding: 2px 6px;
}
.ann-close:hover { color: #1f2430; }
.ann-body {
  padding: 4px 16px 12px; font-size: 13.5px; line-height: 1.8;
  white-space: pre-wrap; word-break: break-word; color: #374151;
}
.ann-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 16px 14px;
}
.ann-time { font-size: 11px; color: #8b93a5; }
.ann-ok {
  border: 1px solid #111318; background: #111318; color: #fff; font-weight: 600;
  border-radius: 8px; padding: 6px 16px; font-size: 12.5px; cursor: pointer;
}
.ann-ok:hover { background: #2a2f3a; }
.ann-foot-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ann-fb-link {
  border: none; background: none; cursor: pointer; padding: 0;
  font-size: 12px; color: #8b93a5; text-decoration: underline;
}
.ann-fb-link:hover { color: #1f2430; }
.ann-fb { display: grid; gap: 8px; padding: 0 16px 14px; }
.ann-fb.hidden { display: none; }
.ann-fb-kind, .ann-fb-content, .ann-fb-contact {
  width: 100%; border: 1px solid #d0d5dd; border-radius: 8px;
  background: #fff; color: #1f2430;
  padding: 8px 10px; font: inherit; font-size: 12.5px; box-sizing: border-box;
}
.ann-fb-content { resize: vertical; min-height: 72px; }
.ann-fb-row { display: flex; align-items: center; gap: 10px; }
.ann-fb-submit {
  border: 1px solid #111318; background: #111318; color: #fff; font-weight: 600;
  border-radius: 8px; padding: 6px 16px; font-size: 12.5px; cursor: pointer;
}
.ann-fb-submit:hover { background: #2a2f3a; }
.ann-fb-submit:disabled { opacity: .6; cursor: default; }
.ann-fb-state { font-size: 11px; color: #8b93a5; }
