* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f5f7;
  min-height: 100vh;
  color: #1f2329;
}

/* ---------- 登录 ---------- */
.login-overlay {
  position: fixed; inset: 0;
  background: #f0f2f5;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .3s;
}
.login-overlay[hidden] { display: none; }
.login-box {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 4px;
  padding: 28px 24px;
  width: 90%; max-width: 340px;
  text-align: center;
}
.login-input {
  width: 100%; padding: 11px 14px; border: 1px solid #d0d0d0;
  border-radius: 4px; font-size: 15px; outline: none; margin-bottom: 14px;
  transition: border-color .2s;
}
.login-input:focus { border-color: #1f2329; }
.login-btn {
  width: 100%; padding: 12px; background: #1f2329; color: #fff;
  border: none; border-radius: 4px; font-size: 15px; cursor: pointer;
}
.login-btn:hover { background: #000; }
.login-btn:disabled { background: #bbb; cursor: default; }
.login-error { color: #d32f2f; font-size: 13px; margin-top: 8px; min-height: 20px; }

/* ---------- 顶栏 ---------- */
.header {
  background: #1f2329; color: #fff;
  padding: 0 20px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px; min-height: 52px;
}
.header[hidden] { display: none; }
.header h1 { font-size: 16px; font-weight: 600; }
.header nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.header nav a {
  color: #fff; text-decoration: none; font-size: 12px; padding: 5px 12px;
  border-radius: 5px; background: rgba(255,255,255,.12); transition: background .2s;
}
.header nav a:hover, .header nav .active { background: rgba(255,255,255,.16); }
.header .btn-add {
  background: #fff; color: #1f2329; border: none; padding: 8px 16px;
  border-radius: 5px; cursor: pointer; font-size: 14px; font-weight: 500;
}

/* ---------- 布局 ---------- */
.container { max-width: 860px; margin: 0 auto; padding: 20px; }
/* 已废弃：旧 stats-bar（保留以防引用） */
.container[hidden] { display: none; }

/* ---------- 二维码解析 ---------- */
.qr-tool {
  background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; padding: 18px; margin-bottom: 18px;
}
.qr-tool-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.qr-dropzone {
  border: 2px dashed #d0d3d9; border-radius: 8px; padding: 22px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.qr-dropzone.dragover, .qr-dropzone:hover { border-color: #1f2329; background: #f7f8fa; }
.drop-icon { font-size: 14px; color: #86909c; }
.drop-text { font-size: 13px; color: #a0a5ad; margin-top: 4px; }
.qr-result { display: none; margin-top: 12px; padding: 12px; background: #f5f5f5; border-radius: 8px; }
.qr-result.show { display: block; }
.result-label { font-size: 13px; color: #2e7d32; font-weight: 500; margin-bottom: 4px; }
.result-url { font-size: 13px; color: #07c160; word-break: break-all; margin-bottom: 8px; }
.result-error { font-size: 13px; color: #d32f2f; }
.result-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.result-actions select { padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 13px; max-width: 180px; }
.btn-use { background: #07c160; color: #fff; border: none; padding: 6px 12px; border-radius: 5px; cursor: pointer; font-size: 12px; }
.btn-copy { background: #e8f5e9; color: #2e7d32; border: none; padding: 6px 12px; border-radius: 5px; cursor: pointer; font-size: 12px; }

/* 二维码连续识别批量列表 */
.qr-batch { margin-top: 12px; border-top: 1px solid #eee; padding-top: 12px; }
.qr-batch-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.qr-batch-count { font-size: 13px; color: #666; font-weight: 500; }
.qr-batch-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.qr-bulk-input { width: 70px; padding: 6px 8px; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 13px; }
.qr-item { display: flex; align-items: center; gap: 8px; padding: 8px; background: #fafafa; border: 1px solid #f0f0f0; border-radius: 6px; margin-bottom: 6px; }
.qr-item-url { flex: 1; min-width: 0; font-size: 13px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qr-item-limit { width: 66px; padding: 6px 8px; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 13px; flex-shrink: 0; }
.qr-item-note { width: 110px; padding: 6px 8px; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 13px; flex-shrink: 0; }
.qr-batch-save { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.qr-batch-save select { flex: 1; padding: 8px 10px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 13px; }
@media(max-width: 768px) {
  .qr-item { flex-wrap: wrap; }
  .qr-item-url { flex-basis: 100%; white-space: normal; word-break: break-all; }
  .qr-item-limit { width: 80px; }
  .qr-item-note { flex: 1; width: auto; }
}

/* ---------- 工具栏 / 搜索 ---------- */
.toolbar {
  background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; padding: 12px 16px; margin-bottom: 18px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.search-wrap {
  position: relative; display: flex; align-items: center; flex: 1; min-width: 220px;
}
.search-wrap .search-icon {
  position: absolute; left: 12px; color: #bbb; pointer-events: none; transition: color .2s;
}
.search-wrap input {
  width: 100%; padding: 10px 36px 10px 38px; border: 1px solid #d0d3d9;
  border-radius: 6px; font-size: 14px; outline: none; background: #fff;
  transition: all .2s;
}
.search-wrap input:focus { border-color: #1f2329; box-shadow: 0 0 0 3px rgba(31,35,41,.08); }
.search-wrap input:focus + .search-clear,
.search-wrap:focus-within .search-icon { color: #1f2329; }
.search-clear {
  position: absolute; right: 8px; width: 22px; height: 22px; border: none;
  background: #e0e0e0; color: #fff; border-radius: 50%; cursor: pointer;
  font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.search-clear:hover { background: #bbb; }
.search-clear[hidden] { display: none; }
.toolbar-stats { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stat-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px;
  background: #f2f3f5; border: 1px solid #e5e6eb; border-radius: 6px; font-size: 13px; color: #4e5969; white-space: nowrap;
}
.stat-chip b { color: #1f2329; font-weight: 600; }
.stat-ico { font-size: 13px; }

/* 搜索高亮 */
.search-hl { background: #fff3a0; border-radius: 2px; padding: 0 1px; }
.search-empty { text-align: center; color: #999; padding: 40px 20px; }
.search-empty .big { font-size: 40px; margin-bottom: 10px; opacity: .6; }

/* 打开方式单选 */
.mode-options { display: flex; flex-direction: column; gap: 8px; }
.mode-opt {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  border: 1px solid #e6e6e6; border-radius: 8px; cursor: pointer; transition: all .15s;
}
.mode-opt:hover { border-color: #07c160; background: #f6fdf9; }
.mode-opt input { margin-top: 3px; }
.mode-opt span { display: flex; flex-direction: column; }
.mode-opt b { font-size: 13px; color: #333; font-weight: 500; }
.mode-opt small { font-size: 11px; color: #999; margin-top: 1px; }
.mode-opt:has(input:checked) { border-color: #07c160; background: #f1f8f4; }

/* 项目打开方式徒章 */
.badge-mode { background: #fff3e0; color: #e65100; }
.badge-mode.random { background: #f3e5f5; color: #7b1fa2; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; padding: 16px; margin-bottom: 16px;
}
.card.empty { text-align: center; padding: 30px; color: #86909c; }
.card-header { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.card-title { font-size: 16px; font-weight: 500; color: #1565c0; background: #e3f2fd; padding: 4px 12px; border-radius: 4px; display: inline-block; }
.card-visits {
  font-size: 12px; color: #999; background: #f5f5f5; padding: 1px 8px;
  border-radius: 10px; margin-left: 6px; cursor: pointer;
}
.card-visits:hover { background: #e8f5e9; color: #2e7d32; }
.card-date { font-size: 11px; color: #999; margin-left: 4px; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-right: 8px; }
.badge-enabled { background: #e8f5e9; color: #2e7d32; }
.badge-disabled { background: #f5f5f5; color: #999; }
.badge-current { background: #e3f2fd; color: #1976d2; white-space: nowrap; }

.project-link { display: flex; align-items: center; gap: 8px; font-size: 12px; flex-wrap: wrap; }
.project-url { color: #07c160; word-break: break-all; text-decoration: none; }
.project-url:hover { text-decoration: underline; }
.copy-btn { padding: 2px 8px; border: 1px solid #e0e0e0; background: #fff; border-radius: 4px; cursor: pointer; font-size: 11px; color: #666; }
.copy-btn:hover { background: #f5f5f5; }

/* 项目二维码 */
.qr-popup { position: relative; display: inline-block; cursor: pointer; }
.qr-icon { width: 28px; height: 28px; border: 1px solid #e0e0e0; border-radius: 4px; vertical-align: middle; }
.qr-big { display: none; position: absolute; bottom: 36px; left: 0; background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.15); padding: 10px; z-index: 100; }
.qr-big.show { display: block; }
.qr-big img { width: 160px; height: 160px; display: block; }
.qr-big .dl-btn { display: block; text-align: center; font-size: 12px; color: #1976d2; margin-top: 6px; text-decoration: none; }
.qr-big .dl-btn:hover { text-decoration: underline; }
.url-trunc {
  display: inline-block; max-width: 300px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; vertical-align: middle; cursor: pointer;
}
.url-trunc.expanded { white-space: normal; word-break: break-all; max-width: none; }

.visit-log {
  display: none; margin-top: 10px; padding: 10px; background: #fafafa;
  border-radius: 8px; font-size: 12px; max-height: 200px; overflow-y: auto;
}
.visit-log.show { display: block; }
.visit-log table { width: 100%; border-collapse: collapse; }
.visit-log th { text-align: left; padding: 4px 6px; border-bottom: 1px solid #eee; color: #999; font-weight: normal; font-size: 11px; }
.visit-log td { padding: 4px 6px; border-bottom: 1px solid #f5f5f5; }
.visit-log .no-data { text-align: center; color: #ccc; padding: 10px; display: block; }

.section-title { font-size: 13px; font-weight: 500; color: #666; margin: 12px 0 6px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.section-title .count { font-weight: normal; color: #999; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 12px 14px; font-size: 13px; color: #86909c; border-bottom: 1px solid #f0f1f3; font-weight: 500; background: #fafbfc; }
.data-table td { padding: 13px 14px; border-bottom: 1px solid #f4f5f7; vertical-align: middle; }

/* 超过 5 个网址：默认隐藏多余行，展开后显示 */
.data-table tr.url-extra { display: none; }
.data-table.urls-expanded tr.url-extra { display: table-row; }
.url-toggle-wrap { text-align: center; margin-top: 8px; }
.url-toggle-btn {
  background: #f5f5f5; border: 1px solid #e8e8e8; color: #666;
  border-radius: 16px; padding: 6px 20px; font-size: 13px; cursor: pointer;
  transition: all .15s;
}
.url-toggle-btn:hover { background: #eee; color: #333; }

/* 当前正在使用的网址行：背景色差高亮 */
.data-table tr.row-current td { background: #eef4fd; }

.btn-small { padding: 5px 8px; border: none; border-radius: 4px; cursor: pointer; font-size: 12px; margin: 0 1px; white-space: nowrap; }

/* 详情页项目级操作按钮：super 灰描边风格 */
.project-actions .btn-small { border: 1px solid #d9dce1; background: #fff; color: #4e5969; border-radius: 6px; padding: 9px 16px; font-size: 13px; font-weight: 400; }
.project-actions .btn-small:hover { border-color: #1f2329; color: #1f2329; }
.project-actions .btn-add-url { background: #1f2329; color: #fff; border-color: #1f2329; }
.project-actions .btn-add-url:hover { background: #000; color: #fff; }
.project-actions .btn-random-on { background: #e3f2fd; color: #1976d2; border-color: #c5dbf7; font-weight: 400; }
.btn-add-url { background: #e8f5e9; color: #2e7d32; }
.btn-add-mp { background: #e3f2fd; color: #1565c0; }
.btn-edit { background: #e3f2fd; color: #1976d2; }
.btn-delete { background: #ffebee; color: #d32f2f; }
.btn-random-on { background: #ede7f6; color: #6a1b9a; font-weight: 600; }
.btn-random-off { background: #f5f5f5; color: #9e9e9e; }
.btn-move { background: #f5f5f5; color: #666; }
.btn-move:disabled { opacity: .4; cursor: not-allowed; }

/* 图标按钮（上/下移） */
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0; margin: 0 1px; border: 1px solid #e6e6e6;
  border-radius: 6px; background: #fff; color: #888; cursor: pointer;
  vertical-align: middle; transition: all .15s;
}
.btn-icon:hover:not(:disabled) { background: #1f2329; border-color: #1f2329; color: #fff; transform: translateY(-1px); }
.btn-icon:active:not(:disabled) { transform: translateY(0); }
.btn-icon:disabled { opacity: .35; cursor: not-allowed; background: #f7f7f7; }
.btn-icon svg { display: block; }

/* 行内操作按钮组：不换行 */
.row-actions { display: flex; align-items: center; justify-content: center; gap: 3px; flex-wrap: nowrap; white-space: nowrap; }
.row-actions .btn-small { margin: 0; }

/* 网址表：后三列（独立IP/访问/操作）居中 */
.data-table th:not(:first-child), .data-table td:not(:first-child) { text-align: center; }
.data-table td:first-child { text-align: left; }

.progress-inline { display: block; width: 100%; max-width: 90px; height: 7px; background: #eef0f3; border-radius: 4px; vertical-align: middle; margin: 5px auto 0; overflow: hidden; }
.progress-fill { display: block; height: 100%; background: linear-gradient(90deg,#4a90e2,#1f66d0); border-radius: 4px; transition: width .3s ease; }
.progress-fill.mp { background: linear-gradient(90deg,#42c98a,#12923f); }
.empty-sm { text-align: center; color: #ccc; padding: 16px; font-size: 13px; }

/* ---------- 弹窗 ---------- */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-con { background: #fff; border-radius: 12px; width: 90%; max-width: 360px; max-height: 80vh; overflow-y: auto; }
.modal-header { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 15px; font-weight: 500; }
.modal-body { padding: 14px 16px; }
.modal-footer { padding: 8px 16px 14px; display: flex; gap: 10px; justify-content: flex-end; }
.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.form-group input { width: 100%; padding: 9px 12px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 14px; outline: none; }
.form-group input[type=checkbox] { width: auto; }
.form-group input:focus { border-color: #07c160; }
.form-hint { font-size: 12px; color: #999; margin-top: 2px; }.btn-cancel { background: #f5f5f5; color: #666; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; font-size: 13px; }.btn-save { background: #07c160; color: #fff; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; font-size: 13px; }

/* ---------- 响应式 ---------- */
@media(max-width:768px) {
  .header { padding: 12px 14px; }
  .header h1 { font-size: 18px; width: 100%; }
  .header .btn-add { font-size: 15px; padding: 9px 16px; }
  .container { padding: 14px; }
  .stats-bar { gap: 12px; font-size: 15px; flex-wrap: wrap; }
  .card { padding: 16px; }
  .card-title { font-size: 18px; }
  .card-date { font-size: 13px; }
  .card-visits { font-size: 14px; padding: 4px 10px; }
  .project-link { font-size: 14px; gap: 10px; }
  .copy-btn { font-size: 13px; padding: 5px 12px; }
  .qr-tool-title { font-size: 18px; }
  .drop-text { font-size: 15px; }

  /* 表格→卡片式：每条网址独立成块，信息竖排，按钮整齐一行 */
  .data-table { font-size: 15px; }
  /* 手机卡片式下列恢复左对齐 */
  .data-table th:not(:first-child), .data-table td:not(:first-child) { text-align: left; }
  .data-table .progress-inline { margin: 5px 0 0; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr {
    border: 1px solid #eee; border-radius: 10px;
    padding: 12px 14px; margin-bottom: 12px; background: #fafafa;
  }
  /* 手机版当前行高亮 */
  .data-table tr.row-current { background: #e3f2fd; border-color: #1976d2; }
  .data-table tr.row-current td { background: transparent; box-shadow: none; }
  .data-table td { padding: 3px 0; border: none; font-size: 15px; }
  .data-table td:empty { display: none; }
  /* 手机卡片：网址突出显示 */
  .data-table td.td-url { padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed #e8e8e8; }
  .data-table td.td-url .url-trunc { font-weight: 600; font-size: 14px; color: #1f2329; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .data-table td.td-url .url-trunc.expanded { white-space: normal; word-break: break-all; }
  /* 手机卡片：字段名前缀 */
  .data-table td[data-label] { display: flex; align-items: center; gap: 6px; }
  .data-table td[data-label]::before { content: attr(data-label)"："; color: #86909c; font-size: 12px; flex: 0 0 auto; }
  .data-table td[data-label] .progress-inline { margin: 0 0 0 4px; max-width: 120px; }
  .data-table.urls-expanded tr.url-extra { display: block; }
  .url-trunc { max-width: 100%; }

  /* 操作按钮：单独一行，均匀排列 */
  .row-actions {
    display: flex; flex-wrap: nowrap; gap: 6px;
    margin-top: 8px; padding-top: 8px; border-top: 1px solid #eee;
  }
  .row-actions .btn-icon { width: 30px; height: 30px; flex: 0 0 auto; }
  .row-actions .btn-icon svg { width: 15px; height: 15px; }
  .row-actions .btn-small { flex: 1 1 auto; font-size: 13px; padding: 6px 0; text-align: center; }

  /* 项目级操作按钮：单行自适应，不换行 */
  .project-actions {
    display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 10px;
  }
  .project-actions .btn-small {
    margin: 0; flex: 1 1 0; min-width: 0; font-size: 11px; padding: 8px 2px;
    text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* 弹窗与表单 */
  .modal-con { width: 95%; }
  .form-group label { font-size: 15px; }
  .form-group input, .form-group select { font-size: 16px; padding: 12px 14px; }
  .btn-use { font-size: 15px; padding: 10px 16px; }

  /* 登录框 */
  .login-input { font-size: 16px; padding: 13px 16px; }
  .login-btn { font-size: 16px; padding: 13px; }

  /* 列表页表格：手机隐藏次要列 */
  .proj-list-table .hide-sm { display: none; }
  .proj-list-table th, .proj-list-table td { padding: 11px 6px; font-size: 13px; }
  .proj-list-table .big { font-size: 14px; }
  /* 项目名称横排不换行，超出省略号 */
  .proj-list-table td:first-child { max-width: 130px; }
  .proj-list-table .pname { display: inline-flex; align-items: center; max-width: 100%; vertical-align: middle; }
  .proj-list-table .pname { overflow: hidden; }
  .proj-list-table .pname .arrow { display: inline; flex: 0 0 auto; margin-left: 4px; color: #c9cdd4; }
  .proj-list-table .pname-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* 状态标签换行显示更紧凑 */
  .proj-list-table .tag { font-size: 11px; padding: 2px 6px; }

  /* 详情页 */
  .detail-title { font-size: 18px; }
  .link-box { flex-wrap: wrap; padding: 14px; }
  .link-box .lb-url { flex-basis: 100%; }
}

/* ====== 两级页面（列表 / 详情） ====== */
.view { display: none; }
.view.active { display: block; }

/* 列表页：super 风格表格 */
.list-card { padding: 0; overflow: hidden; }
.proj-list-table { width: 100%; border-collapse: collapse; }
.proj-list-table th { text-align: left; font-size: 13px; color: #86909c; font-weight: 500; padding: 12px 14px; border-bottom: 1px solid #f0f1f3; background: #fafbfc; }
.proj-list-table td { padding: 14px; border-bottom: 1px solid #f4f5f7; font-size: 14px; vertical-align: middle; }
.proj-list-table tbody tr:last-child td { border-bottom: none; }
.proj-list-table tbody tr { cursor: pointer; transition: background .12s; }
.proj-list-table tbody tr:hover { background: #f7f9fc; }
.proj-list-table .pname { font-weight: 600; color: #1f2329; }
.proj-list-table .pname .arrow { color: #c9cdd4; margin-left: 4px; font-weight: 400; }
.proj-list-table tbody tr:hover .pname { color: #1976d2; }
.proj-list-table .big { font-weight: 700; font-size: 15px; }
.proj-list-table .muted { color: #86909c; font-size: 13px; }
.tag { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 10px; }
.tag-on { background: #e8f5e9; color: #2e7d32; }
.tag-off { background: #f5f5f5; color: #999; }
.tag-blue { background: #e3f2fd; color: #1976d2; }
.tag-toggle { cursor: pointer; transition: filter .15s; }
.tag-toggle:hover { filter: brightness(.94); }

/* 详情页 */
.detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.back-btn { border: 1px solid #d9dce1; background: #fff; color: #4e5969; border-radius: 6px; padding: 8px 14px; font-size: 14px; cursor: pointer; transition: all .15s; }
.back-btn:hover { border-color: #1f2329; color: #1f2329; }
.detail-title { font-size: 20px; font-weight: 600; color: #1f2329; }
.detail-sub { font-size: 13px; color: #86909c; }

.detail-cards { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-cards .dc { background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; padding: 14px 18px; flex: 1; min-width: 110px; }
.detail-cards .dc .n { font-size: 22px; font-weight: 700; color: #1f2329; }
.detail-cards .dc .l { font-size: 12px; color: #86909c; margin-top: 2px; }

/* 活码链接区 */
.link-box { background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; padding: 14px 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.link-box .lb-label { font-size: 13px; color: #86909c; }
.link-box .lb-url { font-size: 14px; color: #1f66d0; word-break: break-all; flex: 1; min-width: 160px; cursor: pointer; }
.link-box .lb-visit { border: 1px solid #d9dce1; background: #fff; color: #4e5969; border-radius: 5px; padding: 6px 14px; font-size: 13px; cursor: pointer; text-decoration: none; }
.link-box .lb-visit:hover { border-color: #1f2329; color: #1f2329; }
.link-box .lb-copy { background: #1f2329; color: #fff; border: none; border-radius: 5px; padding: 7px 14px; font-size: 13px; cursor: pointer; }
.link-box .lb-copy:hover { background: #000; }
.link-box .lb-qr { width: 44px; height: 44px; border: 1px solid #e5e6eb; border-radius: 6px; padding: 2px; cursor: pointer; vertical-align: middle; }
