/* ── 星学苑官网共享样式（首页 / 产品 / 服务支持）──
   浅色为默认主题，深色（黑夜模式）在 prefers-color-scheme: dark 覆盖 token。 */

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

:root {
  --bg: #f7f8fb;
  --text-primary: #0e1116;
  --text-secondary: rgba(14, 17, 22, 0.6);
  --text-tertiary: rgba(14, 17, 22, 0.4);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-border: rgba(14, 17, 22, 0.08);
  --tab-color: rgba(14, 17, 22, 0.55);
  --tab-active-bg: #0e1116;
  --tab-active-color: #ffffff;
  --pill-bg: rgba(255, 255, 255, 0.7);
  --pill-border: rgba(14, 17, 22, 0.08);
  --title-solid: linear-gradient(180deg, #14181f 20%, rgba(20, 24, 31, 0.72));
  --title-tint: linear-gradient(96deg, #5b6cf5 0%, #7a8296 48%, #ef6a8b 100%);
  --cta-bg: linear-gradient(180deg, #1b2028, #0e1116);
  --cta-color: #ffffff;
  --cta-shadow: 0 10px 32px rgba(30, 41, 72, 0.28), 0 2px 8px rgba(14, 17, 22, 0.18);
  --cta-shadow-hover: 0 16px 44px rgba(30, 41, 72, 0.36), 0 2px 8px rgba(14, 17, 22, 0.18);
  --card-bg: #ffffff;
  --card-border: rgba(14, 17, 22, 0.07);
  --card-shadow: 0 2px 16px rgba(14, 17, 22, 0.05);
  --card-shadow-hover: 0 14px 36px rgba(14, 17, 22, 0.1);
  --shape-1: linear-gradient(120deg, rgba(99, 102, 241, 0.14), rgba(99, 102, 241, 0.02));
  --shape-2: linear-gradient(120deg, rgba(244, 114, 182, 0.12), rgba(244, 114, 182, 0.02));
  --shape-3: linear-gradient(120deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.02));
  --shape-4: linear-gradient(120deg, rgba(167, 139, 250, 0.13), rgba(167, 139, 250, 0.02));
  --shape-border: rgba(14, 17, 22, 0.05);
  --modal-overlay: rgba(14, 17, 22, 0.4);
  --modal-bg: rgba(255, 255, 255, 0.92);
  --modal-border: rgba(14, 17, 22, 0.08);
  --modal-shadow: 0 32px 80px rgba(14, 17, 22, 0.22);
  --modal-tabs-bg: rgba(14, 17, 22, 0.05);
  --modal-tab-active-bg: #0e1116;
  --modal-tab-active-color: #ffffff;
  --input-bg: rgba(14, 17, 22, 0.03);
  --input-border: rgba(14, 17, 22, 0.12);
  --input-focus-border: rgba(70, 100, 255, 0.65);
  --input-focus-bg: #ffffff;
  --input-placeholder: rgba(14, 17, 22, 0.3);
  --close-bg: rgba(14, 17, 22, 0.05);
  --close-bg-hover: rgba(14, 17, 22, 0.1);
  --error: #e11d48;
  --dot: #fb7185;
  --footer-color: rgba(14, 17, 22, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050507;
    --text-primary: #f5f5f7;
    --text-secondary: rgba(245, 245, 247, 0.55);
    --text-tertiary: rgba(245, 245, 247, 0.35);
    --nav-bg: rgba(10, 10, 14, 0.6);
    --nav-border: rgba(255, 255, 255, 0.07);
    --tab-color: rgba(245, 245, 247, 0.55);
    --tab-active-bg: rgba(255, 255, 255, 0.92);
    --tab-active-color: #0b0b0f;
    --pill-bg: rgba(255, 255, 255, 0.05);
    --pill-border: rgba(255, 255, 255, 0.09);
    --title-solid: linear-gradient(180deg, #ffffff 20%, rgba(255, 255, 255, 0.72));
    --title-tint: linear-gradient(96deg, #a5b4fc 0%, #e2e8f0 48%, #fda4af 100%);
    --cta-bg: linear-gradient(180deg, #ffffff, #d8dbe6);
    --cta-color: #0b0b0f;
    --cta-shadow: 0 8px 32px rgba(165, 180, 252, 0.22), 0 2px 8px rgba(0, 0, 0, 0.5);
    --cta-shadow-hover: 0 14px 44px rgba(165, 180, 252, 0.32), 0 2px 8px rgba(0, 0, 0, 0.5);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-shadow: none;
    --card-shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.4);
    --shape-1: linear-gradient(120deg, rgba(99, 102, 241, 0.16), rgba(99, 102, 241, 0.02));
    --shape-2: linear-gradient(120deg, rgba(244, 114, 182, 0.10), rgba(244, 114, 182, 0.02));
    --shape-3: linear-gradient(120deg, rgba(56, 189, 248, 0.08), rgba(56, 189, 248, 0.02));
    --shape-4: linear-gradient(120deg, rgba(167, 139, 250, 0.10), rgba(167, 139, 250, 0.02));
    --shape-border: rgba(255, 255, 255, 0.06);
    --modal-overlay: rgba(0, 0, 0, 0.6);
    --modal-bg: rgba(22, 22, 28, 0.82);
    --modal-border: rgba(255, 255, 255, 0.1);
    --modal-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    --modal-tabs-bg: rgba(255, 255, 255, 0.06);
    --modal-tab-active-bg: rgba(255, 255, 255, 0.92);
    --modal-tab-active-color: #0b0b0f;
    --input-bg: rgba(255, 255, 255, 0.06);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus-border: rgba(140, 160, 255, 0.75);
    --input-focus-bg: rgba(255, 255, 255, 0.08);
    --input-placeholder: rgba(245, 245, 247, 0.28);
    --close-bg: rgba(255, 255, 255, 0.07);
    --close-bg-hover: rgba(255, 255, 255, 0.14);
    --error: #fb7185;
    --footer-color: rgba(245, 245, 247, 0.22);
  }
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  /* clip 而非 hidden：hidden 会把祖先变成滚动容器，打断文档站左右栏的 position: sticky */
  overflow-x: hidden;
  overflow-x: clip;
}
body { display: flex; flex-direction: column; min-height: 100vh; }
.page-main { flex: 1; }

/* ── 顶部导航栏 ── */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  z-index: 5;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  text-decoration: none;
}
.brand::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.8);
}
.nav-tabs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.nav-tab {
  padding: 8px 22px;
  border-radius: 999px;
  color: var(--tab-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-tab:hover { color: var(--text-primary); }
.nav-tab.active {
  background: var(--tab-active-bg);
  color: var(--tab-active-color);
  font-weight: 600;
}
.nav-login {
  padding: 9px 26px;
  border-radius: 999px;
  border: 1px solid var(--nav-border);
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-login:hover { background: var(--close-bg); }

/* ── 首屏 hero ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}
.shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 999px;
  border: 1px solid var(--shape-border);
  filter: blur(2px);
  animation: drift 16s ease-in-out infinite alternate;
}
.shape-1 { width: 640px; height: 150px; top: -4%; left: -8%; transform: rotate(-32deg); background: var(--shape-1); animation-delay: 0s; }
.shape-2 { width: 520px; height: 130px; top: 8%; right: -10%; transform: rotate(24deg); background: var(--shape-2); animation-delay: -4s; }
.shape-3 { width: 460px; height: 110px; bottom: 10%; left: -6%; transform: rotate(18deg); background: var(--shape-3); animation-delay: -8s; }
.shape-4 { width: 560px; height: 140px; bottom: -6%; right: -4%; transform: rotate(-20deg); background: var(--shape-4); animation-delay: -12s; }
@keyframes drift {
  from { translate: 0 0; }
  to   { translate: 0 26px; }
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 960px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.8);
}

h1.hero-title {
  margin-top: 40px;
  font-size: clamp(52px, 9vw, 110px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.hero-title .line-1 {
  display: block;
  background: var(--title-solid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .line-2 {
  display: block;
  background: var(--title-tint);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin-top: 32px;
  max-width: 640px;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

.cta {
  margin-top: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  border: none;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.06em;
  color: var(--cta-color);
  background: var(--cta-bg);
  cursor: pointer;
  box-shadow: var(--cta-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--cta-shadow-hover);
}
.cta svg { transition: transform 0.25s ease; }
.cta:hover svg { transform: translateX(3px); }

.launch-note {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}

/* ── 子页面（产品 / 服务支持）── */
.subpage {
  position: relative;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 150px 24px 80px;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.subpage-tag {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--text-tertiary);
}
.subpage-title {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.subpage-sub {
  margin-top: 16px;
  max-width: 560px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

.card-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.site-card {
  padding: 32px 28px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.site-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.site-card .card-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 22px;
}
.card-icon.i1 { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.card-icon.i2 { background: rgba(56, 189, 248, 0.12); color: #0ea5e9; }
.card-icon.i3 { background: rgba(244, 114, 182, 0.12); color: #ec4899; }
.site-card h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.site-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.card-action {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.06em;
  color: var(--cta-color);
  background: var(--cta-bg);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.card-action:hover { transform: translateY(-1px); }
.card-action[disabled], .card-action.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* 空态占位 */
.empty-state {
  margin-top: 48px;
  padding: 72px 24px;
  border-radius: 22px;
  border: 1px dashed var(--card-border);
  background: var(--card-bg);
  text-align: center;
}
.empty-state .empty-icon {
  display: flex;
  justify-content: center;
  color: var(--text-tertiary);
}
.empty-state p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}
.empty-state .empty-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-tertiary);
}

footer.site-footer {
  padding: 40px 24px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--footer-color);
  letter-spacing: 0.08em;
}

/* ── 登录弹窗（由 site.js 注入）── */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--modal-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 10;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 36px 36px 30px;
  border-radius: 24px;
  background: var(--modal-bg);
  border: 1px solid var(--modal-border);
  box-shadow: var(--modal-shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.22s ease;
}
.modal-overlay.open .modal-card { transform: none; }
.modal-card.wide { max-width: 680px; }

/* 登录 tab：左二维码 + 右账号密码 */
.login-body {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin-top: 4px;
}
.qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-right: 32px;
  border-right: 1px solid var(--modal-border);
}
.form-col { flex: 1; min-width: 0; }
@media (max-width: 640px) {
  .modal-card.wide { max-width: 400px; }
  .qr-col { display: none; }
}
.modal-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--modal-tabs-bg);
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-tab.active {
  background: var(--modal-tab-active-bg);
  color: var(--modal-tab-active-color);
  font-weight: 600;
}
.modal-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.modal-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.field {
  margin-top: 18px;
  text-align: left;
}
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input::placeholder { color: var(--input-placeholder); }
.field input:focus {
  border-color: var(--input-focus-border);
  background: var(--input-focus-bg);
}
.login-error {
  margin-top: 12px;
  min-height: 18px;
  font-size: 13px;
  color: var(--error);
  text-align: left;
}
.modal-submit {
  margin-top: 8px;
  width: 100%;
  padding: 13px 0;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.1em;
  color: var(--cta-color);
  background: var(--cta-bg);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal-submit:hover { transform: translateY(-1px); }
.modal-submit:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--close-bg);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 1;
}
.modal-close:hover { background: var(--close-bg-hover); }

/* 微信扫码面板 */
.wechat-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 6px;
}
.wechat-qr-box {
  position: relative;
  width: 216px; height: 216px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  overflow: hidden;
}
.wechat-qr-box img {
  width: 200px; height: 200px;
  transition: opacity 0.2s ease;
}
.wechat-qr-box img.expired { opacity: 0.15; }
.wechat-qr-hint {
  font-size: 13px;
  color: rgba(11, 11, 15, 0.45);
}
.wechat-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0b0b0f;
  font-size: 14px;
}
.wechat-refresh {
  padding: 8px 22px;
  border: none;
  border-radius: 999px;
  background: #0b0b0f;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.wechat-tip {
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
}
.wechat-error {
  font-size: 13px;
  color: var(--error);
  text-align: center;
}
.hidden { display: none !important; }

@media (max-width: 720px) {
  .nav-tabs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shape, .hero, .subpage { animation: none; }
  .modal-overlay, .modal-card { transition: none; }
}

/* ── 产品页版本发布 ── */
.release-meta {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}
.release-admin-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}
.release-admin-btn {
  padding: 6px 14px;
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.release-admin-btn:hover { color: var(--text-primary); background: var(--close-bg); }
.release-admin-btn.danger { color: var(--error); border-color: var(--error); opacity: 0.75; }
.release-admin-btn.danger:hover { opacity: 1; background: rgba(225, 29, 72, 0.08); }
.release-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 180px;
  padding: 32px 28px;
  border-radius: 22px;
  border: 1px dashed var(--card-border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.release-add-card:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
  background: var(--close-bg);
}
.release-add-plus { font-size: 26px; line-height: 1; }
.release-add-hint { font-size: 12px; font-weight: 400; color: var(--text-tertiary); }
.release-uploading {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── 产品页产品分区 ── */
.product-section { margin-top: 56px; }
.product-section:first-of-type { margin-top: 12px; }
.product-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.product-logo {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  box-shadow: 0 4px 14px rgba(14, 17, 22, 0.12);
}
.product-header h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.product-header p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.product-section .card-grid { margin-top: 0; }

/* 上传进度弹窗 */
.upload-progress-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}
.upload-progress-card {
  background: var(--bg-page);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.upload-progress-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text-primary);
}
.upload-filename {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
  word-break: break-all;
}
.upload-bar {
  height: 8px;
  background: var(--nav-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.upload-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  transition: width 0.3s ease;
  border-radius: 4px;
}
.upload-status {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
  min-height: 20px;
}
.upload-cancel {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--nav-border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}
.upload-cancel:hover {
  background: var(--close-bg);
  color: var(--text-primary);
}
