/* ============ 随机点名器 · 下载中心（明亮浅色主题） ============ */
:root {
  --bg: #eef4ff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-solid: #ffffff;
  --line: rgba(59, 113, 220, 0.14);
  --line-strong: rgba(37, 99, 235, 0.35);
  --text: #101b38;
  --muted: #5a6a8f;
  --accent-1: #0891b2;
  --accent-2: #4f46e5;
  --accent-3: #7c3aed;
  --ok: #059669;
  --warn: #b45309;
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(103, 160, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #eaf2fe 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 背景装饰 ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  z-index: -2;
  pointer-events: none;
}
.bg-glow-a {
  width: 520px; height: 520px;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 65%);
}
.bg-glow-b {
  width: 560px; height: 560px;
  bottom: -220px; right: -160px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.22), transparent 65%);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 6px 24px -16px rgba(30, 58, 138, 0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-dot {
  width: 12px; height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #06b6d4, #6366f1);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: #2563eb; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 20px 56px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}
.hero-title {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  background: linear-gradient(120deg, #1e3a8a 10%, #0891b2 48%, #7c3aed 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.hero-sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}
.announcement {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: #92400e;
  background: rgba(251, 191, 36, 0.16);
  border: 1px dashed rgba(180, 83, 9, 0.4);
  padding: 8px 16px;
  border-radius: 999px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); border-color: rgba(99, 102, 241, 0.65); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(120deg, #0ea5b7, #6366f1 60%, #7c3aed);
  border: none;
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(99, 102, 241, 0.6);
}
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(99, 102, 241, 0.8); }
.btn-ghost { color: var(--muted); background: transparent; border-color: rgba(37, 99, 235, 0.2); }
.btn-ghost:hover { color: #2563eb; }

/* ---------- Section ---------- */
.section { padding: 40px 20px 20px; }
.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  width: 5px; height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}
.section-desc { color: var(--muted); margin-top: 10px; font-size: 15px; }

.spinner {
  width: 34px; height: 34px;
  border: 3px solid rgba(37, 99, 235, 0.14);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  margin: 40px auto;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 主推卡片 ---------- */
.featured-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px -32px rgba(30, 58, 138, 0.35);
  position: relative;
}
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #06b6d4, #6366f1, #a78bfa, transparent);
}
.featured-main { padding: 34px 34px 30px; }
.featured-tag-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.chip-hot {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(120deg, #06b6d4, #6366f1);
  border: none;
  box-shadow: 0 4px 14px -4px rgba(79, 70, 229, 0.55);
}
.featured-name {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.featured-intro { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-list { margin-top: 20px; display: grid; gap: 10px; }
.feature-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #33406b;
  line-height: 1.5;
}
.feature-list li svg {
  flex: none;
  width: 17px; height: 17px;
  margin-top: 2px;
  color: var(--ok);
}
.featured-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: #64748b;
  border-left: 3px solid var(--accent-2);
  padding-left: 12px;
  line-height: 1.6;
}

/* 主推下载面板 */
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(237, 243, 255, 0.6));
  border-left: 1px solid var(--line);
}
.dl-version-box {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.1), rgba(129, 140, 248, 0.12));
}
.dl-version-box .v {
  font-size: 44px; font-weight: 800;
  background: linear-gradient(120deg, #0891b2, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dl-version-box .v small {
  font-size: 15px; color: var(--muted); font-weight: 700;
  -webkit-text-fill-color: var(--muted);
}
.dl-file-name {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.stat-row { display: flex; gap: 10px; }
.stat {
  flex: 1;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.75);
}
.stat .k { font-size: 12px; color: var(--muted); }
.stat .val { font-size: 18px; font-weight: 800; margin-top: 3px; }
.featured-side .btn-primary { width: 100%; }
.secondary-links { text-align: center; font-size: 12.5px; color: var(--muted); }
.secondary-links a { color: #2563eb; text-decoration: none; font-weight: 600; }
.secondary-links a:hover { text-decoration: underline; }

/* ---------- 版本分组 ---------- */
.group-list { display: grid; gap: 22px; margin-top: 26px; }
.group {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px -26px rgba(30, 58, 138, 0.35);
}
.group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  user-select: none;
}
.group summary::-webkit-details-marker { display: none; }
.group summary .arr {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: #0284c7;
  transition: transform 0.25s;
  background: rgba(255, 255, 255, 0.7);
}
.group summary .arr svg { width: 14px; height: 14px; }
.group[open] summary .arr { transform: rotate(90deg); }
.group-summary-main { flex: 1; min-width: 0; }
.group-title { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.count-badge {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-weight: 700;
}
.group-desc { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.group-body { padding: 4px 12px 12px; }

/* 文件行 */
.file-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.file-row:hover {
  background: rgba(37, 99, 235, 0.045);
  border-color: rgba(37, 99, 235, 0.18);
}
.file-ico {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line-strong);
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
}
.file-ico.ico-exe { color: #0891b2; background: rgba(8, 145, 178, 0.1); }
.file-ico.ico-code { color: #7c3aed; background: rgba(124, 58, 237, 0.1); }
.file-info { min-width: 0; }
.file-name { font-size: 15px; font-weight: 700; color: #1c2a4e; }
.file-sub {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.size-badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.file-dl {
  padding: 7px 15px;
  font-size: 13.5px;
}

/* ---------- 使用说明 ---------- */
.help-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px -26px rgba(30, 58, 138, 0.35);
}
.help-list { margin-top: 18px; display: grid; gap: 12px; }
.help-list li {
  list-style: none;
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: #33406b;
  line-height: 1.7;
}
.help-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, #06b6d4, #6366f1);
}
.help-list strong { color: #1c2a4e; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 60px;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.foot-ver { color: rgba(90, 106, 143, 0.75); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-side { border-left: none; border-top: 1px solid var(--line); }
  .file-row { grid-template-columns: auto 1fr auto; }
  .size-badge { display: none; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .file-row { grid-template-columns: auto 1fr; }
  .file-dl { grid-column: 1 / -1; justify-content: center; }
  .featured-main, .featured-side { padding: 24px 20px; }
}

/* ============ 个人主页样式（首页） ============ */
.nav-cta {
  padding: 6px 16px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(120deg, #06b6d4, #6366f1);
  box-shadow: 0 4px 14px -6px rgba(99, 102, 241, 0.6);
}
.nav-cta:hover { color: #fff !important; }

.home-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 84px 20px 30px;
}
.home-eyebrow {
  color: #0891b2;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 14px;
}
.home-name {
  margin-top: 8px;
  font-size: clamp(46px, 7vw, 74px);
  line-height: 1.05;
  font-weight: 800;
  background: linear-gradient(120deg, #1e3a8a 10%, #0891b2 48%, #7c3aed 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}
.home-role {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
}
.home-bio {
  margin-top: 18px;
  color: #33406b;
  font-size: 16px;
  line-height: 1.9;
  max-width: 560px;
}
.home-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.home-avatar {
  justify-self: center;
  text-align: center;
  margin: 0;
}
.avatar-ring {
  position: relative;
  width: 210px;
  height: 210px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #a78bfa);
  box-shadow: 0 22px 60px -22px rgba(79, 70, 229, 0.6);
}
.avatar-ring::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed rgba(99, 102, 241, 0.5);
  animation: spin 28s linear infinite;
}
.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #fff;
}
.home-avatar figcaption {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 3px;
}

/* 事实卡片 */
.fact-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.fact {
  flex: 1;
  min-width: 160px;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 18px 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fact-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(120deg, #0891b2, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fact-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* 技能标签 */
.chip-tag {
  font-size: 13.5px;
  padding: 7px 16px;
  color: #33406b;
}
.tag-cloud {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* 作品卡片 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px -30px rgba(30, 58, 138, 0.5);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 22px 50px -28px rgba(79, 70, 229, 0.55);
}
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-name {
  font-size: 18px;
  font-weight: 800;
  color: #1c2a4e;
  line-height: 1.4;
}
.work-desc {
  color: #46537a;
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}
.work-actions { margin-top: 6px; }
.work-note {
  display: inline-block;
  color: var(--muted);
  font-size: 12.5px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px dashed var(--line-strong);
  padding: 7px 12px;
  border-radius: 8px;
}

/* 联系卡片 */
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px -26px rgba(30, 58, 138, 0.35);
}
.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.contact-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.contact-tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -18px rgba(79, 70, 229, 0.5);
}
.contact-tile svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: #4f46e5;
}
.contact-name { font-weight: 800; font-size: 15px; }
.contact-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

@media (max-width: 860px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
    padding-top: 56px;
  }
  .home-avatar { order: -1; }
  .home-bio { margin-left: auto; margin-right: auto; }
  .home-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .avatar-ring { width: 160px; height: 160px; }
  .fact-row { flex-direction: column; }
  .contact-links { grid-template-columns: 1fr; }
}

/* ============ v27.0+ 密码下载 ============ */
.chip-lock {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  border: 1px dashed rgba(217, 119, 6, 0.65);
}
.btn-lock {
  background: linear-gradient(120deg, #f59e0b, #d97706) !important;
  border: 1px dashed rgba(255, 255, 255, 0.55) !important;
}
.lock-hint {
  text-align: center;
  color: #b45309;
  font-size: 12.5px;
  margin-top: 8px;
}

/* 密码输入弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(2, 6, 23, 0.6);
  padding: 26px 26px 22px;
  width: min(380px, 100%);
}
.modal-title { margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; }
.modal-desc {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 10px 0 14px;
}
.modal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.modal-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.modal-err { display: none; color: #dc2626; font-size: 13px; margin: 10px 0 0; }
.modal-err.show { display: block; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.modal-actions .btn { min-width: 88px; justify-content: center; font-family: inherit; cursor: pointer; }
button.btn:disabled { opacity: 0.6; cursor: wait; }
.modal-cancel {
  background: #fff !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}
.modal-cancel:hover { border-color: #94a3b8 !important; }

/* ZIP 安装包文件图标 */
.file-ico.ico-zip {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.45);
}

/* ============ 独立产品页（魔方 / 我的世界） ============ */
.product-hero { padding: 72px 20px 8px; }
.product-title {
  margin: 10px 0 0;
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #1e3a8a 5%, #0891b2 45%, #7c3aed 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-hero .product-desc {
  margin-top: 16px;
  color: #33406b;
  font-size: 15px;
  line-height: 1.9;
  max-width: 680px;
}
.product-hero .tag-cloud { margin-top: 20px; }
.product-hero .home-actions { margin-top: 24px; }
.section-title .count-badge { vertical-align: middle; margin-left: 8px; }
.lock-note {
  margin-top: 18px;
  color: #b45309;
  background: rgba(217, 119, 6, 0.1);
  border: 1px dashed rgba(217, 119, 6, 0.45);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.8;
}

/* “因文件限制，联系获取”说明卡片 */
.manual-card {
  padding: 30px 28px;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.8), rgba(255, 255, 255, 0.55));
  box-shadow: 0 18px 44px -30px rgba(180, 83, 9, 0.4);
}
.manual-title {
  font-size: 19px;
  font-weight: 800;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 10px;
}
.manual-desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 2;
  color: #57534e;
}
.manual-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.container-note { margin-top: 44px; text-align: center; }
.container-note > p { color: #5b6b9a; font-weight: 700; font-size: 15px; }
.container-note .home-actions { justify-content: center; margin-top: 16px; }
