/* ============================================================
   星核科技 STARCORE · 详情页明亮科技蓝主题层
   在 product.css 之后加载，仅覆盖视觉，不改动布局
   ============================================================ */
:root {
  --bg-0: #eef4fd;
  --bg-1: #f6faff;
  --surface: rgba(255, 255, 255, 0.85);
  --line: #dbe6f8;
  --line-strong: #b7cff5;
  --text: #0d1f3c;
  --text-2: #3f567c;
  --muted: #5a6f8f;
  --brand: #2563eb;
  --brand-2: #06a8d6;
  --price: #1d4ed8;
  --cyan: #0b7fb6;
  --magenta: #c2187a;
  --violet: #5b4bdb;
  --lime: #0b8457;
  --mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

body {
  background:
    radial-gradient(ellipse 68% 42% at 6% -8%, rgba(37, 99, 235, 0.14), transparent 62%),
    radial-gradient(ellipse 55% 38% at 98% 4%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 46% at 50% 106%, rgba(109, 74, 255, 0.08), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fd 48%, #e9f1fc 100%);
  color: var(--text);
  overflow-x: hidden;
}

::selection { background: rgba(37, 99, 235, 0.18); color: #0d1f3c; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(37, 99, 235, 0.35), rgba(6, 168, 214, 0.3)); }
::-webkit-scrollbar-thumb:hover { background: rgba(37, 99, 235, 0.5); }

/* ---------- 氛围背景 ---------- */
.cyber-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 92% 68% at 50% 0%, #000 14%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 92% 68% at 50% 0%, #000 14%, transparent 76%);
}
.cyber-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -14vh;
  height: 62vh;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.13) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(460px) rotateX(69deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 8%, rgba(0, 0, 0, 0.55) 45%, transparent 86%);
  -webkit-mask-image: linear-gradient(to top, #000 8%, rgba(0, 0, 0, 0.55) 45%, transparent 86%);
  animation: floorMove 6s linear infinite;
  opacity: 0.5;
}
@keyframes floorMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 72px, 0 0; }
}
.orb-1 { background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 66%); opacity: 0.3; }
.orb-2 { background: radial-gradient(circle, rgba(6, 182, 212, 0.26), transparent 66%); opacity: 0.3; }
.scanlines { display: none; }
.noise { display: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 6px 24px rgba(23, 63, 140, 0.06);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), rgba(6, 168, 214, 0.45), transparent);
  background-size: 200% 100%;
  opacity: 0.7;
  animation: headerFlow 8s linear infinite;
}
@keyframes headerFlow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}
.header-inner { height: 66px; }
.brand-logo {
  color: #fff;
  background: linear-gradient(150deg, #2563eb, #06b6d4);
  border: 1px solid rgba(37, 99, 235, 0.45);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28), inset 0 0 14px rgba(255, 255, 255, 0.28);
  text-shadow: none;
}
.brand-name {
  letter-spacing: 2px;
  background: linear-gradient(100deg, #0b2a6b 8%, #1d63ed 52%, #5b4bdb 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}
.site-nav a { position: relative; color: var(--text-2); }
.site-nav a:hover { color: #1d4ed8; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #2563eb 40%, #6d4aff 74%, #d6218f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.35);
}
.site-nav a:hover::after { transform: scaleX(1); }
.btn-admin {
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(100deg, #2563eb, #069fd1);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}
.btn-admin:hover { background: linear-gradient(100deg, #1d4ed8, #0284c7); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.34); }

/* ---------- 面包屑 ---------- */
.crumb {
  margin: 24px 0 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.crumb a { color: var(--text-2); }
.crumb a:hover { color: #1d4ed8; }
.crumb .sep { color: #b3c4dd; }
.crumb .cur { color: #1d4ed8; }

/* ---------- 详情主体 ---------- */
.pd-wrap {
  padding: 30px;
  border: 1px solid #dfe9f8;
  border-radius: 0;
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(6, 182, 212, 0.07), transparent 60%),
    linear-gradient(158deg, #ffffff, #f4f9ff);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  box-shadow: none;
  filter: drop-shadow(0 18px 40px rgba(23, 63, 140, 0.1));
}
.pd-wrap::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, #06b6d4, #2563eb 42%, #6d4aff 72%, rgba(214, 33, 143, 0.5), transparent);
  opacity: 0.85;
}
.hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}
.hud-corner.tl { top: 12px; left: 12px; border-top: 2px solid #06b6d4; border-left: 2px solid #06b6d4; filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.5)); }
.hud-corner.tr { top: 12px; right: 12px; border-top: 2px solid #d6218f; border-right: 2px solid #d6218f; filter: drop-shadow(0 0 5px rgba(214, 33, 143, 0.45)); }
.hud-corner.bl { bottom: 12px; left: 12px; border-bottom: 2px solid #6d4aff; border-left: 2px solid #6d4aff; filter: drop-shadow(0 0 5px rgba(109, 74, 255, 0.45)); }
.hud-corner.br { bottom: 12px; right: 12px; border-bottom: 2px solid #06b6d4; border-right: 2px solid #06b6d4; filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.5)); }

/* 主图暗舱：与首页卡片同一语言 —— 舱体深墨、面板亮白，封面只当质感 */
.pd-main-img {
  position: relative;
  border: 1px solid rgba(11, 38, 76, 0.62);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  background: radial-gradient(92% 120% at 22% 0%, #14294a 0%, #0a1730 52%, #050c1a 100%);
  box-shadow: 0 20px 44px rgba(6, 20, 48, 0.2);
}
.pd-main-img .card-shot {
  filter: saturate(0.9) contrast(1.06) brightness(0.94);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.6s ease;
}
.pd-main-img:hover .card-shot {
  transform: scale(1.1);
  filter: saturate(1.06) contrast(1.03) brightness(1.02);
}
.bay-rule {
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.85), transparent);
  opacity: 0.7;
}
.pd-main-img::after {
  content: "VISUAL // STARCORE";
  position: absolute;
  left: 12px;
  bottom: 11px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: rgba(211, 231, 255, 0.74);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}
.pd-thumb {
  border: 1px solid rgba(11, 38, 76, 0.5);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  background: #0a1730;
}
.pd-thumb .card-shot { filter: saturate(0.86) brightness(0.9); transition: filter 0.25s ease; }
.pd-thumb:hover .card-shot { filter: saturate(1) brightness(1); }
.pd-thumb.active {
  border-color: #06b6d4;
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.45), 0 8px 18px rgba(23, 63, 140, 0.2);
}

.pd-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
  text-shadow: none;
}
.pd-cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.pd-kicker { gap: 9px; }
.pd-status {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.pd-status.on { color: #0b8457; background: rgba(15, 157, 88, 0.07); border-color: rgba(15, 157, 88, 0.32); }
.pd-status.off { color: #c2185b; background: rgba(194, 24, 91, 0.06); border-color: rgba(194, 24, 91, 0.3); }

.pd-price-box {
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 0;
  background:
    radial-gradient(ellipse 90% 150% at 0% 50%, rgba(37, 99, 235, 0.1), transparent 66%),
    #f5f9ff;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}
.pd-price {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  color: #1d4ed8;
  text-shadow: none;
}
.pd-price .cur { color: rgba(29, 78, 216, 0.62); }
.pd-price .num { font-size: 36px; font-weight: 700; letter-spacing: -0.01em; }
.pd-orig { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
/* 徽章：色点 + 完整词，颜色由 Pic.ink 保证白底 ≥4.5:1 */
.pd-tags { gap: 8px; }
.pd-tags .tag-chip {
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 63, 140, 0.07);
}
.btn {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(100deg, #2563eb, #06a8d6);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
}
.btn-ghost {
  color: #1d4ed8;
  background: #fff;
  border: 1px solid #bcd3ff;
}
.btn-ghost:hover {
  color: #1d4ed8;
  border-color: #7aa7ff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.14);
}
.pd-updated { font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; color: var(--muted); }

/* ---------- 弹窗 ---------- */
.modal-mask { background: rgba(13, 31, 60, 0.45); }
.modal {
  background: #fff;
  border: 1px solid #dbe6f8;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: 0 26px 70px rgba(13, 31, 60, 0.22);
}
.modal h3 { color: var(--text); }
.contact-modal-body .c-row .c-label { color: #2563eb; }

/* ---------- 404 ---------- */
.pd-404 h2 { color: var(--text); }
.pd-404 p { font-family: var(--mono); font-size: 12px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid #dbe6f8;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.45), rgba(109, 74, 255, 0.32) 52%, rgba(214, 33, 143, 0.28), transparent);
}
.contact-item { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-2); }
.footer-text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: var(--muted); }

/* ---------- 同类推荐 ---------- */
.related-title { letter-spacing: 0.5px; color: var(--text); }
.related-title::before {
  width: 3px;
  background: linear-gradient(180deg, #06b6d4, #2563eb 52%, #6d4aff);
  box-shadow: 0 0 10px rgba(109, 74, 255, 0.3);
}
.rel-card {
  background: #fff;
  border: 1px solid #e2ebf9;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  backdrop-filter: none;
  box-shadow: 0 6px 16px rgba(23, 63, 140, 0.06);
}
.rel-card:hover {
  border-color: #9dbdff;
  box-shadow: none;
  filter: drop-shadow(0 16px 30px rgba(23, 63, 140, 0.15)) drop-shadow(0 0 12px rgba(37, 99, 235, 0.1));
}
.rel-img {
  background: radial-gradient(92% 120% at 22% 0%, #14294a 0%, #0a1730 52%, #050c1a 100%);
}
.rel-img .card-shot { filter: saturate(0.9) contrast(1.05) brightness(0.93); }
.rel-card:hover .rel-img .card-shot { filter: saturate(1.05) contrast(1.02) brightness(1.02); }
.rel-img .img-fallback {
  background: repeating-linear-gradient(45deg, rgba(34, 211, 238, 0.05), rgba(34, 211, 238, 0.05) 12px, rgba(34, 211, 238, 0.1) 12px, rgba(34, 211, 238, 0.1) 24px);
  color: #7f9dc9;
}
.rel-read { border-top: 1px solid #eaf1fb; }
.rel-cur { color: #7d92b6; }
.rel-price {
  font-family: var(--mono);
  font-size: 17px;
  color: #0d1f3c;
  text-shadow: none;
}
.rel-title { color: var(--text); }
.rel-card:hover .rel-title { color: #0b4bb5; }
.rel-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: #2563eb; opacity: 0.8; }

/* ---------- 骨架屏 ---------- */
.pd-sk-img, .sk-line {
  background: linear-gradient(100deg, rgba(37, 99, 235, 0.04) 20%, rgba(37, 99, 235, 0.12) 38%, rgba(37, 99, 235, 0.04) 56%);
  background-size: 220% 100%;
  border-radius: 2px;
}

/* ---------- 可达性 / 响应式 ---------- */
:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; border-radius: 2px; }

@media (max-width: 860px) {
  .pd-wrap { padding: 18px; }
  .pd-title { font-size: 20px; }
  .pd-price { font-size: 30px; }
  .pd-price .num { font-size: 30px; }
}
@media (max-width: 560px) {
  .pd-wrap { padding: 15px; }
  .pd-price-box { padding: 16px 18px; }
  .pd-title { font-size: 18px; }
  .pd-price .num { font-size: 26px; }
  .pd-main-img { aspect-ratio: 4 / 3; }
  .pd-thumb { width: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .cyber-floor, .orb, .site-header::after { animation: none; }
  .pd-sk-img, .sk-line { animation-duration: 2.4s; }
  .pd-main-img .card-shot, .pd-thumb .card-shot { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   精密仪器增强层（详情页）
   ============================================================ */
/* 主图的缩放与过渡由上方暗舱层（.card-shot）统一处理 */
.pd-main-img::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(#22d3ee, #22d3ee) left top / 16px 1px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) left top / 1px 16px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) right top / 16px 1px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) right top / 1px 16px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) left bottom / 16px 1px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) left bottom / 1px 16px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) right bottom / 16px 1px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) right bottom / 1px 16px no-repeat;
  opacity: 0.5;
}

.pd-title { position: relative; padding-left: 15px; }
.pd-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, #2563eb, #06b6d4);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.pd-price-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  overflow: hidden;
}
.pd-price-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: repeating-linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0 1px, transparent 1px 7px);
  mask-image: linear-gradient(225deg, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(225deg, #000, transparent 72%);
  pointer-events: none;
}
.pd-price-label {
  flex: 0 0 100%;
  margin-bottom: -2px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.pd-save {
  margin-left: auto;
  align-self: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #0b8457;
  background: rgba(15, 157, 88, 0.08);
  border: 1px solid rgba(15, 157, 88, 0.32);
  padding: 4px 10px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.pd-desc-title { color: #2563eb; letter-spacing: 0.04em; }
.pd-desc-title::before {
  content: "// ";
  font-family: var(--mono);
  color: #5b4bdb;
  text-shadow: none;
}
.pd-desc {
  color: var(--text-2);
  padding-left: 13px;
  border-left: 2px solid rgba(37, 99, 235, 0.16);
}
.pd-services { border-color: rgba(37, 99, 235, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.pd-services-text { color: var(--text-2); }
.pd-actions { gap: 12px; }
.pd-actions .btn { min-width: 148px; justify-content: center; }

/* ---------- 同类推荐 ---------- */
.related-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.related-no {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: rgba(6, 182, 212, 0.28);
  letter-spacing: 0.02em;
}
.related-heading { display: flex; flex-direction: column; gap: 4px; }
.related-heading .related-title { margin: 0; }
.related-heading p {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.related-line {
  flex: 1;
  height: 1px;
  min-width: 40px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.4), rgba(109, 74, 255, 0.22) 46%, rgba(37, 99, 235, 0));
}
.rel-card { position: relative; }
.rel-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #2563eb 40%, #6d4aff 74%, #d6218f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.rel-card:hover::after { transform: scaleX(1); }

/* ---------- 价格区霓虹面板 ---------- */
.pd-price-box {
  padding: 18px 22px 16px;
  border: 1px solid rgba(6, 182, 212, 0.5);
  background:
    radial-gradient(ellipse 70% 160% at 100% -20%, rgba(6, 182, 212, 0.28), transparent 62%),
    linear-gradient(118deg, #050f22 0%, #0a1a34 60%, #091230 100%);
  box-shadow: 0 18px 40px rgba(6, 20, 48, 0.28), inset 0 0 40px rgba(6, 182, 212, 0.06);
}
.pd-price-box::after {
  background: repeating-linear-gradient(135deg, rgba(34, 211, 238, 0.18) 0 1px, transparent 1px 7px);
}
.pd-price-label { color: #67e8f9; }
.pd-price { color: #67e8f9; text-shadow: 0 0 22px rgba(34, 211, 238, 0.45); }
.pd-price .cur { color: rgba(148, 226, 246, 0.78); text-shadow: none; }
.pd-orig { color: #8aa6cc; }
.pd-save {
  color: #a3e635;
  background: rgba(163, 230, 53, 0.1);
  border-color: rgba(163, 230, 53, 0.45);
}

/* ============================================================
   赛博画布层：整页深墨蓝底 + 霓虹网格 + 两侧 HUD 侧栏
   与首页 bright.css 保持同一画布语言；面板仍为亮白
   ============================================================ */
:root {
  --canvas-0: #060e20;
  --canvas-1: #0a1730;
  --on-canvas: #dcebff;
  --on-canvas-2: #9bb6dd;
  --on-canvas-3: #7a95bd;
  --panel-line: rgba(34, 211, 238, 0.22);
}

html {
  /* 基色随文档高度铺满，避免 fixed 背景在长文档尾部与 overscroll 处露白 */
  background: linear-gradient(180deg, #060e20 0%, #081428 44%, #050c1c 100%);
}
body {
  background:
    radial-gradient(ellipse 58% 34% at 3% -6%, rgba(109, 74, 255, 0.3), transparent 62%),
    radial-gradient(ellipse 52% 32% at 99% 1%, rgba(6, 182, 212, 0.26), transparent 60%),
    radial-gradient(ellipse 64% 40% at 92% 42%, rgba(214, 33, 143, 0.16), transparent 64%),
    radial-gradient(ellipse 96% 44% at 50% 110%, rgba(6, 182, 212, 0.24), transparent 68%);
  background-attachment: fixed;
  color: var(--on-canvas);
}
::selection { background: rgba(34, 211, 238, 0.28); color: #041018; }
::-webkit-scrollbar-track { background: #060e20; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.5), rgba(109, 74, 255, 0.45));
  border: 2px solid #060e20;
  border-radius: 8px;
}

.cyber-grid {
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 100% 72% at 50% 0%, #000 22%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 100% 72% at 50% 0%, #000 22%, transparent 82%);
}
.cyber-floor {
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.16) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.62;
}
.scanlines {
  display: block;
  background: repeating-linear-gradient(180deg, rgba(34, 211, 238, 0.05) 0 1px, transparent 1px 4px);
  opacity: 0.5;
}
.noise { display: block; opacity: 0.05; }

/* ---------- 顶栏暗玻璃 ---------- */
.site-header {
  background: rgba(6, 14, 30, 0.82);
  border-bottom: 1px solid rgba(34, 211, 238, 0.24);
  box-shadow: 0 10px 34px rgba(2, 6, 16, 0.55);
}
.brand-name {
  background: linear-gradient(100deg, #e8f4ff 6%, #7dd3fc 46%, #a78bfa 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.28));
}
.site-nav a { color: var(--on-canvas-2); }
.site-nav a:hover { color: #67e8f9; text-shadow: 0 0 14px rgba(34, 211, 238, 0.45); }
.site-nav a::after { background: linear-gradient(90deg, #22d3ee, #a78bfa); box-shadow: 0 0 10px rgba(34, 211, 238, 0.5); }
.btn-admin {
  color: #041018;
  background: linear-gradient(100deg, #22d3ee, #4f8bff 66%, #7c5cff);
  box-shadow: 0 10px 26px rgba(6, 20, 48, 0.5), 0 0 20px rgba(34, 211, 238, 0.32);
}
.btn-admin:hover { background: linear-gradient(100deg, #67e8f9, #60a5fa 66%, #8b5cf6); }

/* ---------- 画布上的文字 ---------- */
.crumb { color: var(--on-canvas-3); }
.crumb a { color: var(--on-canvas-2); }
.crumb a:hover { color: #67e8f9; }
.crumb .sep { color: rgba(122, 149, 189, 0.5); }
.crumb .cur { color: #67e8f9; }
.related-title {
  color: #eaf3ff;
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.22);
}
.related-heading p { color: var(--on-canvas-3); }
.related-line {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.6), rgba(167, 139, 250, 0.4) 44%, rgba(244, 114, 182, 0.24) 76%, transparent);
}
:focus-visible { outline-color: #22d3ee; }

/* ---------- 亮面板在暗画布上的投影 ---------- */
.pd-wrap {
  border-color: rgba(34, 211, 238, 0.2);
  filter: drop-shadow(0 22px 46px rgba(2, 6, 16, 0.55));
}
.rel-card {
  border-color: rgba(34, 211, 238, 0.16);
  box-shadow: 0 12px 26px rgba(2, 6, 16, 0.5);
}
.rel-card:hover {
  border-color: rgba(34, 211, 238, 0.55);
  filter: drop-shadow(0 20px 36px rgba(2, 6, 16, 0.62)) drop-shadow(0 0 16px rgba(34, 211, 238, 0.28));
}

/* ---------- 页脚收口为墨色 ---------- */
.site-footer {
  background:
    radial-gradient(ellipse 70% 130% at 12% 120%, rgba(6, 182, 212, 0.2), transparent 62%),
    linear-gradient(180deg, #081428, #050c1c);
  border-top-color: rgba(34, 211, 238, 0.26);
}
.contact-item { color: var(--on-canvas-2); background: rgba(103, 232, 249, 0.07); border-color: rgba(103, 232, 249, 0.26); }
.contact-item:hover { color: #eaf3ff; background: rgba(103, 232, 249, 0.14); border-color: rgba(103, 232, 249, 0.5); }
/* 图标读数井：实色底 + 渠道亮色，与首页联系方式面板同一套语言 */
.ci-icon { color: #67e8f9; background-color: #0f2440; }
.ci-qq .ci-icon { color: #93c5fd; }
.ci-wechat .ci-icon { color: #6ee7a8; }
.ci-telegram .ci-icon { color: #7dd3fc; }
.ci-email .ci-icon { color: #c4b5fd; }
.contact-item:hover .ci-icon { color: #04101f; background-color: #67e8f9; }
.footer-text { color: var(--on-canvas-3); }

/* ---------- 两侧 HUD 侧栏 ---------- */
.grid-guides,
.side-rail { display: none; }
.grid-guides {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, transparent 6%, rgba(34, 211, 238, 0.16) 26%, rgba(167, 139, 250, 0.12) 68%, transparent 94%),
    linear-gradient(180deg, transparent 6%, rgba(34, 211, 238, 0.16) 26%, rgba(167, 139, 250, 0.12) 68%, transparent 94%);
  background-repeat: no-repeat;
  background-size: 1px 100%, 1px 100%;
  background-position: calc(50% - 610px) 0, calc(50% + 610px) 0;
}
.side-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 54px;
  z-index: 1;
  pointer-events: none;
}
.side-rail-l { left: 30px; }
.side-rail-r { right: 30px; }
.rail-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.55) 14%, rgba(167, 139, 250, 0.45) 52%, rgba(244, 114, 182, 0.45) 84%, transparent);
}
.side-rail-r .rail-line { left: auto; right: 0; }
.rail-ticks {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 1px;
  width: 8px;
  background: repeating-linear-gradient(180deg, rgba(34, 211, 238, 0.4) 0 1px, transparent 1px 28px);
}
.side-rail-r .rail-ticks { left: auto; right: 1px; }
.rail-dot {
  position: absolute;
  left: -2px;
  top: 18%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.95);
  animation: railScan 9s ease-in-out infinite;
}
.side-rail-r .rail-dot {
  left: auto;
  right: -2px;
  background: #f472b6;
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.95);
  animation-delay: 4.5s;
}
@keyframes railScan {
  0%, 100% { top: 16%; opacity: 0.35; }
  50% { top: 82%; opacity: 1; }
}
.rail-label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: rgba(148, 197, 255, 0.52);
  white-space: nowrap;
}
.side-rail-r .rail-label { left: auto; right: 14px; transform: translateY(-50%) rotate(180deg); }
.rail-bracket {
  position: absolute;
  left: 0;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(34, 211, 238, 0.5);
}
.rail-bracket.top { top: 92px; border-left: none; border-bottom: none; }
.rail-bracket.bottom { bottom: 92px; border-left: none; border-top: none; }
.side-rail-r .rail-bracket { left: auto; right: 0; border-color: rgba(244, 114, 182, 0.5); }
.rail-sig {
  position: absolute;
  bottom: 150px;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.side-rail-r .rail-sig { left: auto; right: 0; }
.rail-sig i { width: 9px; height: 2px; background: rgba(34, 211, 238, 0.3); }
.rail-sig i:nth-child(-n + 3) { background: rgba(34, 211, 238, 0.85); box-shadow: 0 0 8px rgba(34, 211, 238, 0.6); }

@media (min-width: 1280px) { .grid-guides { display: block; } }
@media (min-width: 1440px) { .side-rail { display: block; } }
@media (prefers-reduced-motion: reduce) { .rail-dot { animation: none; opacity: 0.9; } }

@media (max-width: 640px) {
  .related-no { font-size: 20px; }
  .related-heading p { font-size: 8.5px; letter-spacing: 0.1em; }
  .pd-save { margin-left: 0; }
  .pd-actions .btn { min-width: 0; flex: 1; }
}
