/* ==========================================================================
   风电叶片模具高度调整系统 - 移动与云端协同样式 (2027标准版)
   Design by Li Qian
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100vw;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: #0b192c;
  color: #1f2937;
  overflow-x: hidden;
}

/* 全屏高清背景层 */
.bg-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  background-color: #0b192c;
}

.bg-placeholder {
  position: absolute;
  inset: -20px;
  background-image: url('data:image/webp;base64,UklGRvgAAABXRUJQVlA4IOwAAADwBQCdASogABQAPu1mqk2ppaQiMAgBMB2JbACdMoR5mKp5/gRSTiJf6OwEbk3zsHtF7erXORYuAADxn0SP2jWwm0cZ0Xtw2ZISVh1nx/sh1veFmD41OJoNZCuBDIH+NtrVg+Qlbw5gEDSYecQQjoIbGsA3PGc3fKX2RQHenZHfc1hsp5WX52jijXDfMwTu6UMvJzBylURG75XFYDtbnjMKyzflLG1s5iV0KPv3sPjK2zKnduo0l7OLEmV2FfoBqvMc3N6l/WS5xkCtFLLectwR60s8SxC5sbBD8Wz7dwbSAuYlT+OT8afZAYSgAA==');
  background-size: cover;
  background-position: center bottom;
  filter: blur(28px);
  transform: scale(1.08);
  z-index: 1;
}

.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}

.bg-image.loaded {
  opacity: 1;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   一、 登录前：激光展开发光细线与毛玻璃登录卡片
   ========================================================================== */

#authContainer {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  cursor: pointer;
  overflow: hidden;
}

.click-hint {
  position: fixed;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 13px;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: opacity 0.5s ease;
}

.click-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.hint-dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.login-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 420px);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.login-stage.active {
  opacity: 1;
  pointer-events: auto;
}

.laser-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 2px;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.laser-beam.anim-expand {
  animation: laserExpand 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes laserExpand {
  0% { width: 0; opacity: 0; }
  20% { opacity: 1; }
  100% { width: 100%; opacity: 1; }
}

.beam-core {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.2) 15%, #38bdf8 50%, rgba(56, 189, 248, 0.2) 85%, transparent 100%);
  box-shadow: 0 0 16px #38bdf8;
}

.login-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 0;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.82);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  opacity: 0;
  z-index: 5;
}

.login-card.anim-unfold {
  animation: cardUnfold 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardUnfold {
  0% { height: 2px; opacity: 1; }
  100% { height: 380px; opacity: 1; }
}

.card-content {
  padding: 32px 28px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-content.visible {
  opacity: 1;
}

.login-header {
  text-align: center;
  margin-bottom: 20px;
}

.login-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  margin-bottom: 8px;
}

.login-title {
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.login-subtitle {
  color: #94a3b8;
  font-size: 11px;
  margin-top: 6px;
}

.input-wrapper {
  margin-bottom: 16px;
}

.pill-input {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.pill-input:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.14);
}

.btn-wrapper {
  margin-top: 24px;
}

.pill-btn {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  border: none;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transition: transform 0.15s, opacity 0.2s;
}

.pill-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   二、 登录后：现代化应用界面 (PC / 手机端响应式自适应)
   ========================================================================== */

.app-container {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}

.app-header {
  min-height: 54px;
  background: #FFFFFF;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}

.logo-icon {
  font-size: 20px;
}

.header-titles {
  min-width: 0;
}

.header-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.header-tag {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #FFFFFF;
  color: #334155;
  transition: all 0.15s;
}

.nav-btn:hover {
  background: #f1f5f9;
}

.nav-btn.logout-btn {
  border-color: #fecaca;
  color: #dc2626;
  background: #fef2f2;
}

.btn-text-short {
  display: none;
}

/* 主内容视图容器 */
.main-view {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 12px 90px;
}

/* ==========================================================================
   三、 视图 A：模具项目列表页
   ========================================================================== */

.view-header {
  margin-bottom: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #1e293b;
}

.filter-chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.chip {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #FFFFFF;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.chip.active {
  background: #0284c7;
  color: #FFFFFF;
  border-color: #0284c7;
  font-weight: 600;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.project-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.badge-mode-ss { background: #dbeafe; color: #1e40af; }
.badge-mode-ps { background: #ccfbf1; color: #0f766e; }
.badge-cat { background: #f3f4f6; color: #374151; }

.card-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #f1f5f9;
  padding-top: 8px;
}

.meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-card-del {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #ef4444;
  padding: 2.5px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-card-del:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #dc2626;
}

.summary-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-detail-del {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  transition: all 0.15s;
}

.btn-detail-del:hover {
  background: #fee2e2;
  border-color: #f87171;
}

/* ==========================================================================
   四、 视图 B：手机端核心 5 列调平数据明细页
   ========================================================================== */

.project-summary-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.project-title-text {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.mode-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #1890ff;
  color: #FFFFFF;
}

.cat-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
}

.bench-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 600;
}

.nav-link-btn {
  padding: 6px 12px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* 实时更新防错警报条 */
.alert-banner {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #065f46;
  font-size: 12px;
}

.alert-icon {
  font-size: 16px;
}

.alert-text strong {
  display: block;
  font-size: 13px;
  color: #047857;
}

.table-legend {
  margin-top: 10px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* 核心 5 列调平数据表格 */
.table-wrapper {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.level-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
}

.level-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 10px 4px;
  border-bottom: 2px solid #cbd5e1;
  font-size: 12px;
  line-height: 1.3;
}

.level-table th .unit {
  font-size: 10px;
  color: #64748b;
  font-weight: normal;
}

.level-table td {
  padding: 8px 4px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.level-table tr:nth-child(even) td {
  background: #f8fafc;
}

.level-table tr.is-benchmark td {
  background: #fef9c3 !important;
  font-weight: 600;
}

.col-stn {
  width: 16%;
  font-weight: 700;
  color: #1e293b;
}

.col-me {
  width: 22%;
}

.col-adj {
  width: 20%;
  font-weight: 700;
}

/* 单元格实测输入框 */
.cell-input {
  width: 90%;
  max-width: 84px;
  height: 34px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: all 0.15s;
}

.cell-input:focus {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.cell-input.modified {
  border-color: #f59e0b;
  background: #fffbeb;
}

/* 现场应调数值颜色高亮 */
.adj-val {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}

.adj-up {
  color: #15803d;
  background: #dcfce7;
}

.adj-down {
  color: #c2410c;
  background: #ffedd5;
}

.adj-zero {
  color: #475569;
}

/* 底部操作固定条 */
.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #cbd5e1;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.bottom-info {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.btn-primary {
  padding: 10px 18px;
  border-radius: 8px;
  background: #0284c7;
  border: none;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
  transition: all 0.15s;
}

.btn-primary:active {
  transform: scale(0.97);
}

/* ==========================================================================
   五、 弹窗 Modal 与 Toast
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #94a3b8;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.tip-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.tip-lead {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.tip-note {
  font-size: 11px;
  color: #b45309;
  margin-top: 4px;
  line-height: 1.4;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
}

.radio-group {
  display: flex;
  gap: 20px;
  padding: 6px 0;
}

.radio-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.measured-preview {
  font-size: 16px;
  font-weight: 700;
  color: #0284c7;
  padding: 6px 0;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-secondary {
  padding: 9px 16px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Toast */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 23, 42, 0.9);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   六、 移动端与小屏专属响应式适配 (Screen < 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* 顶部导航栏安全区与紧凑排版 */
  .app-header {
    min-height: 48px;
    height: auto;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-left {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .header-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .header-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
  }

  /* 手机端隐藏冗长副标题，腾出宝贵横向空间 */
  .header-tag {
    display: none !important;
  }

  .header-right {
    gap: 6px;
    flex-shrink: 0;
  }

  .nav-btn {
    padding: 5px 9px;
    font-size: 12px;
    border-radius: 6px;
  }

  /* 切换为紧凑文字 (📁 列表 / 退出) */
  .btn-text-full {
    display: none !important;
  }

  .btn-text-short {
    display: inline !important;
  }

  /* 主视图手机内边距与底部安全区留白 */
  .main-view {
    padding: 10px 10px calc(80px + env(safe-area-inset-bottom, 0px));
  }

  /* 项目概要卡片：避免右侧重复的“模具项目列表”按钮挤压项目名称 */
  .project-summary-card {
    padding: 12px;
    margin-bottom: 10px;
  }

  .summary-top {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .summary-top .nav-link-btn {
    display: none !important; /* 顶部导航栏已有“📁 列表”按钮，此处隐藏避免重复挤压 */
  }

  .btn-detail-del {
    padding: 4px 8px;
    font-size: 11px;
  }

  .project-title-text {
    font-size: 15px;
    line-height: 1.35;
    word-break: break-all;
  }

  .meta-badges {
    gap: 5px;
    margin-top: 4px;
  }

  .mode-badge, .cat-badge, .bench-badge {
    font-size: 11px;
    padding: 2.5px 7px;
  }

  /* 提示横幅文字缩减 */
  .alert-banner {
    padding: 8px 10px;
    font-size: 12px;
    gap: 8px;
  }

  .table-legend {
    font-size: 11px;
    padding: 6px 8px;
  }

  /* 底部吸底操作栏安全区适配 */
  .bottom-action-bar {
    padding: 8px 12px max(10px, env(safe-area-inset-bottom));
  }

  .bottom-info {
    font-size: 11px;
  }

  .btn-primary {
    padding: 9px 14px;
    font-size: 13px;
  }

  /* 设定基准弹窗在手机上的尺寸与边距 */
  .modal-overlay {
    padding: 12px;
  }

  .modal-card {
    max-width: 100%;
    border-radius: 14px;
  }

  .modal-header {
    padding: 12px 16px;
  }

  .modal-body {
    padding: 14px 16px;
  }

  .modal-footer {
    padding: 10px 16px;
  }
}
