:root {
  --bg: #f0f4f8;
  --surface: #fff;
  --surface-soft: #f8fafc;
  --text: #1a2332;
  --muted: #5a6a7a;
  --line: #d0dae6;
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --accent: #e0f2fe;
  --tech-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f4f8 100%);
  --grid-pattern: radial-gradient(circle at 1px 1px, #cbd5e1 1px, transparent 0);
}

* { box-sizing: border-box; }

body { 
  margin: 0; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; 
  color: var(--text); 
  background: var(--tech-gradient);
  background-attachment: fixed;
  min-height: 100vh;
}

/* 科技感背景网格 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--grid-pattern);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.topbar { 
  position: sticky; 
  top: 0; 
  z-index: 30; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 12px 20px; 
  border-bottom: 1px solid var(--line); 
  background: rgba(255,255,255,.95); 
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.brand-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand { 
  font-size: 20px; 
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.top-actions { display: flex; gap: 8px; align-items: center; }
.plan-badge { 
  font-size: 12px; 
  color: #234; 
  background: #ecf3ff; 
  border: 1px solid #c8dafc; 
  border-radius: 999px; 
  padding: 4px 10px; 
}

/* 顶部支持一下链接 */
.support-link-small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  text-decoration: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
  transition: all 0.2s;
}

.support-link-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
}

.layout { 
  max-width: 1320px; 
  margin: 0 auto; 
  padding: 16px 16px 140px; 
  display: grid; 
  grid-template-columns: 1.5fr 1fr; 
  gap: 16px; 
}

.left-col, .right-col { display: grid; gap: 16px; align-content: start; }

.card { 
  background: var(--surface); 
  border: 1px solid var(--line); 
  border-radius: 16px; 
  padding: 14px; 
  box-shadow: 0 4px 16px rgba(20,40,70,.06),
              0 1px 3px rgba(0,0,0,0.05);
}

.upload-card, .preview-card { background: var(--surface-soft); }

.upload-dropzone { 
  display: block; 
  border: 2px dashed #94a3b8; 
  border-radius: 12px; 
  background: #fff; 
  padding: 18px; 
  text-align: center; 
  cursor: pointer;
  transition: all 0.2s;
}

.upload-dropzone:hover {
  border-color: #3b82f6;
  background: #f8fafc;
}

.upload-dropzone input { display: none; }

.toolbar-row { 
  margin-top: 10px; 
  display: flex; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 10px; 
}

.thumb-toolbar { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
}

.thumb-toolbar button.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.compress-toggle { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  color: var(--muted); 
  font-size: 13px; 
}

.thumb-grid { 
  margin-top: 10px; 
  max-height: 300px; 
  overflow: auto; 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); 
  gap: 8px; 
}

.thumb { 
  border: 1px solid var(--line); 
  border-radius: 10px; 
  overflow: hidden; 
  background: #fff; 
  cursor: pointer; 
  position: relative; 
  aspect-ratio: 1/1;
  transition: transform 0.15s, box-shadow 0.15s;
}

.thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.thumb span { 
  position: absolute; 
  left: 4px; 
  right: 4px; 
  bottom: 4px; 
  font-size: 11px; 
  color: #fff; 
  background: rgba(16,22,30,.75); 
  border-radius: 6px; 
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb.active { 
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.preview-head { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 8px; 
}

.preview-switcher { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 13px; 
  color: var(--muted); 
}

/* 预览画布 - 固定大小 */
.preview-canvas { 
  margin-top: 10px; 
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--line); 
  border-radius: 14px; 
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: grid; 
  place-items: center; 
  overflow: hidden; 
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
}

#previewImage { 
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; 
  display: none; 
}

/* 水印样式 */
.watermark { 
  position: absolute; 
  right: 12px; 
  bottom: 12px; 
  padding: 0; 
  background: transparent; 
  color: #ffffff; 
  font-family: "Courier New", "Courier", "Lucida Console", monospace;
  font-size: 14px; 
  font-weight: 700; 
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7),
               0 2px 6px rgba(0,0,0,0.5); 
  cursor: move; 
  user-select: none; 
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.3;
}

.watermark span {
  white-space: nowrap;
}

.watermark.newline-left { align-items: flex-start; }
.watermark.newline-center { align-items: center; }
.watermark.newline-right { align-items: flex-end; }

.edit-row { margin: 10px 0; }

.setting-group { 
  padding: 10px; 
  border: 1px solid var(--line); 
  border-radius: 12px; 
  margin-bottom: 10px; 
  background: #fff; 
}

.setting-group h3 { margin: 0 0 8px; font-size: 15px; }
.setting-group h4 { margin: 8px 0 6px; font-size: 13px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select { 
  border: 1px solid var(--line); 
  border-radius: 10px; 
  background: #fff; 
  padding: 8px 10px; 
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* EXIF 面板 */
.exif-panel {
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.exif-panel h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
}

.exif-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.exif-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.exif-label { font-size: 11px; color: var(--muted); }
.exif-value { font-size: 12px; color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 位置选择器 */
.position-visual { margin: 10px 0; display: flex; justify-content: center; }
.pos-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 36px); 
  grid-template-rows: repeat(3, 36px); 
  gap: 4px; 
  width: 116px; 
  height: 116px; 
}

.pos-cell { 
  border: 1px solid var(--line); 
  background: #f0f4f8; 
  border-radius: 6px; 
  cursor: pointer; 
  transition: all 0.2s; 
  padding: 0; 
  width: 36px; 
  height: 36px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 0; 
}

.pos-cell:hover { background: #e1e8f0; border-color: #b0c4de; }
.pos-cell.active { background: var(--primary); border-color: var(--primary); box-shadow: 0 2px 8px rgba(46, 99, 214, 0.4); position: relative; }
.pos-cell.active::after { content: "●"; color: #fff; font-size: 14px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.margin-control { margin-top: 12px; }
.margin-inputs { display: flex; gap: 8px; align-items: center; }
.margin-inputs input { flex: 1; }
.margin-inputs select { width: 70px; }

.advanced-card { background: linear-gradient(180deg, #fff, var(--accent)); }
.advanced-head { display: flex; justify-content: space-between; align-items: center; }

/* 新的高级功能列表样式 */
.pro-list-new { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }

.pro-item-new {
  border: 1px solid #d6e2ef;
  border-radius: 10px;
  background: #f6f9fd;
  overflow: hidden;
  transition: all 0.2s;
}

.pro-item-new:hover {
  border-color: #b8d4e8;
}

.pro-item-new.locked { opacity: 0.85; }
.pro-item-new.unlocked { background: #eef8ef; border-color: #cfe7d0; }

.pro-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}

.pro-item-header:hover {
  background: rgba(0,0,0,0.02);
}

.pro-item-header span:first-child {
  font-size: 14px;
  color: var(--text);
  flex: 1;
}

.expand-icon {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.2s;
  margin-left: 8px;
}

.pro-item-new.expanded .expand-icon {
  transform: rotate(180deg);
}

.pro-item-content {
  padding: 0 12px 12px;
  border-top: 1px solid transparent;
  transition: all 0.2s;
}

.pro-item-new.expanded .pro-item-content {
  border-top-color: #e2e8f0;
}

.pro-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.pro-logo { 
  font-size: 11px; 
  letter-spacing: 0.4px; 
  color: #fff; 
  background: #7f8da2; 
  border-radius: 999px; 
  padding: 3px 8px;
  margin-left: 8px;
}

.pro-item-new.unlocked .pro-logo { background: #2e9b4f; }

/* 面板内部样式 */
.baby-panel-inner, .batch-panel-inner, .exif-edit-panel-inner {
  margin-top: 12px;
  padding-top: 12px;
}

.hidden { display: none !important; }
.hint { color: var(--muted); font-size: 12px; }

.ghost, .secondary, .primary { 
  border: 1px solid var(--line); 
  border-radius: 10px; 
  background: #fff; 
  padding: 8px 12px; 
  cursor: pointer;
  transition: all 0.15s;
  font-size: 13px;
}

.ghost:hover, .secondary:hover { background: #f1f5f9; }
.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.secondary { background: var(--primary-soft); border-color: #cbdcfa; }

/* 底部操作栏 - 精简版 */
.bottom-bar { 
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 40;
}

.export-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.export-row button {
  flex: 1;
  max-width: 160px;
  padding: 10px 16px;
  font-size: 14px;
}

.progress-meta { font-size: 12px; color: var(--muted); }
.progress { 
  height: 6px; 
  border-radius: 999px; 
  background: #e4ecf6; 
  overflow: hidden;
}

/* 开发者信息 */
.developer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.developer-info .version {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 11px;
}

#progressInner { 
  height: 100%; 
  width: 0; 
  background: linear-gradient(90deg, #60a5fa, var(--primary));
  transition: width 0.3s ease;
}

/* 提示气泡 */
.hint-bubble { 
  position: fixed; 
  right: 20px; 
  bottom: 140px; 
  max-width: 420px; 
  background: rgba(30, 41, 59, 0.9); 
  color: #fff; 
  border-radius: 12px; 
  padding: 12px 16px; 
  font-size: 13px; 
  z-index: 60; 
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hint-bubble.hidden { opacity: 0; pointer-events: none; }
.hint-bubble.fade-out { opacity: 0; }

/* 弹窗样式 */
.modal { 
  position: fixed; 
  inset: 0; 
  background: rgba(15, 23, 42, 0.5); 
  display: grid; 
  place-items: center; 
  z-index: 80;
  backdrop-filter: blur(4px);
}

.modal-panel { 
  width: min(460px, calc(100% - 24px)); 
  background: #fff; 
  border-radius: 16px; 
  border: 1px solid var(--line); 
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.modal-panel h3 { margin: 0 0 12px; font-size: 18px; }
.modal-panel p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.payment-modal-panel { text-align: center; max-width: 480px; }
.payment-modal-panel h3 {
  font-size: 20px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.support-desc { font-size: 16px; color: var(--text) !important; font-weight: 500; margin-bottom: 4px !important; }

/* 价格标签 */
.price-tag {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 12px;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-pro {
  color: #ef4444;
  background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%);
}
.price-free {
  color: #059669;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  font-size: 18px;
}

/* Pro 功能列表 */
.pro-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  text-align: left;
  margin: 12px 16px 16px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}
.feature-icon {
  color: #10b981;
  font-weight: 700;
}

.payment-qr-codes {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0;
}

.payment-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.payment-qr img {
  width: 140px;
  height: 180px;
  object-fit: contain;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.payment-qr span { font-size: 13px; color: var(--muted); font-weight: 500; }

.payment-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.payment-actions button { padding: 10px 24px; font-size: 14px; }

/* 自定义格式面板 */
.custom-format-panel { animation: slideDown 0.2s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.format-help code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--primary);
}

/* 响应式适配 */
@media (max-width: 1050px) {
  .layout { 
    grid-template-columns: 1fr; 
    padding-bottom: 160px;
  }
  .export-row button {
    max-width: none;
    font-size: 13px;
    padding: 10px 12px;
  }
  .hint-bubble { 
    left: 12px; 
    right: 12px; 
    bottom: 160px; 
    max-width: none; 
  }
  .exif-grid { grid-template-columns: 1fr; }
  .payment-qr-codes { gap: 16px; }
  .payment-qr img { width: 120px; height: 160px; }
  .support-link-small {
    display: none;
  }
  
  /* 移动端顶部栏优化 */
  .topbar {
    padding: 10px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand-section {
    flex: 1;
    min-width: 0;
  }
  .brand {
    font-size: 16px;
  }
  .brand-tagline {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .plan-badge {
    font-size: 11px;
    padding: 3px 8px;
  }
  .top-actions .ghost {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; }
  .preview-canvas { height: 300px; }
  .pos-grid { width: 100px; height: 100px; }
  .export-row {
    gap: 6px;
  }
  .export-row button {
    font-size: 12px;
    padding: 8px 8px;
  }
  .pro-item-header {
    padding: 10px;
  }
  .pro-desc {
    font-size: 12px;
  }
  .thumb-toolbar button.primary {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  /* 移动端支付弹窗优化 */
  .payment-modal-panel {
    max-width: 90vw;
    padding: 20px 16px;
  }
  .payment-modal-panel h3 {
    font-size: 18px;
  }
  .price-tag {
    font-size: 24px;
    padding: 4px 12px;
  }
  .price-free {
    font-size: 16px;
  }
  .pro-features {
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 10px 8px 12px;
    padding: 10px;
  }
  .feature-item {
    font-size: 12px;
  }
  .payment-qr-codes {
    gap: 12px;
    margin: 16px 0;
  }
  .payment-qr img {
    width: 100px;
    height: 130px;
  }
  .payment-actions button {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .export-row button span {
    display: none;
  }
  .export-row button::after {
    content: attr(data-short);
  }
  
  /* 小屏幕手机支付弹窗优化 */
  .payment-modal-panel {
    padding: 16px 12px;
  }
  .payment-modal-panel h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .support-desc {
    font-size: 14px !important;
  }
  .price-tag {
    font-size: 22px;
    margin: 6px 0 8px;
    padding: 3px 10px;
  }
  .pro-features {
    padding: 8px;
    margin: 8px 4px 10px;
  }
  .feature-item {
    font-size: 11px;
  }
  .payment-qr-codes {
    gap: 8px;
    margin: 12px 0;
  }
  .payment-qr img {
    width: 90px;
    height: 115px;
  }
  .payment-qr span {
    font-size: 11px;
  }
  .payment-actions {
    gap: 8px;
    margin-top: 12px;
  }
  .payment-actions button {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* 宝宝 Logo 选择器 */
.baby-logo-selector {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.logo-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.logo-option:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.logo-option.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.logo-option input {
  display: none;
}

.logo-option img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.logo-option .logo-none {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  border: 1.5px dashed var(--line);
  border-radius: 50%;
}

.logo-option span:last-child {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* 压缩导出 Pro 限制 */
.compress-toggle.pro-only {
  opacity: 0.6;
  cursor: not-allowed;
}

.compress-toggle.pro-only.unlocked {
  opacity: 1;
  cursor: pointer;
}

.compress-toggle.pro-only input:disabled {
  cursor: not-allowed;
}

/* 上传区域进度条 */
.upload-progress-wrap {
  margin: 10px 0;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.upload-progress-wrap .progress-meta {
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}

.upload-progress-wrap .progress {
  height: 6px;
  border-radius: 999px;
  background: #e4ecf6;
  overflow: hidden;
}

#uploadProgressInner {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #60a5fa, var(--primary));
  transition: width 0.3s ease;
}

/* 底部支持一下按钮 */
.support-link-bottom {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--primary);
  text-decoration: none;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s;
}

.support-link-bottom:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* 顶部支持一下按钮颜色调整 */
.support-link-small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--primary);
  text-decoration: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
  transition: all 0.2s;
}

.support-link-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* 底部栏优化 - 减小高度 */
.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 40;
}

/* 压缩面板样式 */
.compress-panel-inner {
  margin-top: 12px;
  padding-top: 12px;
}

/* Logo 水印样式 */
.watermark-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.watermark-logo img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}
