* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-blue: #0084ff;
  --primary-gradient: linear-gradient(135deg, #1fa2ff 0%, #0066ff 100%);
  --btn-glow-shadow: 0 16px 36px rgba(0, 110, 255, 0.4);
  --bg-color: #f6f7f9;
  --card-bg: #ffffff;
  --text-main: #1f2329;
  --text-sub: #8f959e;
  --text-muted: #646a73;
  --border-color: #dee0e3;
  --status-normal: #3370ff;
  --status-green: #00b578;
  --radius-card: 16px;
}

/* 全局加载遮罩层（首屏防穿透与防缺省值闪烁） */
.app-global-mask {
  position: fixed;
  inset: 0;
  background-color: #f6f7f9;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  user-select: none;
}

.app-global-mask.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mask-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.mask-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1fa2ff 0%, #0066ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.3);
  margin-bottom: 24px;
  animation: logoPulse 2s infinite ease-in-out;
}

@keyframes logoPulse {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.04); }
  100% { transform: scale(0.96); }
}

.mask-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0, 132, 255, 0.15);
  border-top-color: #0084ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mask-title {
  font-size: 17px;
  font-weight: 700;
  color: #1f2329;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.mask-sub {
  font-size: 13px;
  color: #8f959e;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.4;
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
}

.app-container {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

/* 顶部拟真手机状态栏（增大高度更自然大气） */
.mobile-status-bar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 27px 2px 18px; /* 右侧 27px，比下方按钮右边缘(16px)内缩约11px，适度偏右靠拢 */
  background-color: var(--bg-color);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
  color: #1f2329;
  user-select: none;
  flex-shrink: 0;
  z-index: 50;
  box-sizing: border-box;
}

.status-bar-left {
  display: flex;
  align-items: center;
}

.status-clock {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #111827;
}

.status-bar-right {
  display: flex;
  align-items: center;
  gap: 0;
  color: #111827;
}

/* 顶部状态栏右侧高保真矢量指示器（双卡5G + 无边框连体电池） */
.status-bar-indicators-svg {
  display: block;
  width: 75px;
  height: 16px;
}

/* 顶部导航栏 */
/* 顶部第二排导航栏（标题 + 单独圆角白底按钮 + 胶囊双按钮） */
.feishu-navbar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background-color: transparent;
  flex-shrink: 0;
}

.navbar-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.group-title {
  font-size: 23px;
  font-weight: 700;
  color: #111;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

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

/* 第一个按钮单独占一个div，加高加长圆角白色背景，左右箭头，居中 */
.nav-single-box {
  width: 48px;
  height: 36px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333333;
  transition: background-color 0.15s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.nav-single-box:active {
  background-color: #f2f3f5;
  transform: scale(0.96);
}

.nav-single-box .nav-switch-icon {
  font-size: 14px;
  color: #4e5969;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 后俩按钮占一个div，加高加长圆角白色背景胶囊框，居中 */
.nav-capsule-box {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 0 3px;
  box-sizing: border-box;
}

.capsule-btn {
  width: 44px;
  height: 32px;
  border: none;
  background: transparent;
  color: #333333;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 16px;
  transition: background-color 0.15s ease;
  line-height: 1;
}

.capsule-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.capsule-btn:active {
  background-color: #f2f3f5;
}

.capsule-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  margin: 0 1px;
}

/* 主内容区域 */
.page-body {
  flex: 1;
  position: relative;
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.tab-page {
  display: none;
  width: 100%;
}

.tab-page.active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

#tabStats.active, #tabSettings.active {
  overflow-y: auto;
  padding-bottom: 20px;
}

/* 飞书免登状态提示条 */
.feishu-auth-banner {
  background: #eef4fe;
  border: 1px solid rgba(51, 112, 255, 0.25);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  color: #3370ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.feishu-auth-banner.error {
  background: #feeceb;
  border-color: rgba(245, 74, 69, 0.3);
  color: #f54a45;
}

.auth-banner-content {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.btn-auth-retry {
  background: #3370ff;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* 1. 员工信息卡片 */
.user-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(31, 35, 41, 0.04);
  margin-bottom: 12px;
}

.user-avatar-block {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3370ff, #1d55d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}

.user-avatar-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info-block {
  margin-left: 12px;
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 17px;
  font-weight: 400; /* 去掉加粗 */
  color: #1f2329;
  margin-bottom: 4px;
}

.user-sub {
  font-size: 13px;
  color: #8f959e;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rule-link {
  color: #3370ff;
  text-decoration: none;
  font-weight: 500;
}

.user-apply-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 10px;
  margin-right: 12px; /* 往左来一点，距离卡片右边适度内收 */
  flex-shrink: 0;
}

.apply-icon {
  font-size: 23px; /* 调大一点（原19px -> 23px） */
  color: #1f2329;
  margin-bottom: 4px;
}

.apply-text {
  font-size: 12px; /* 调大一点（原11px -> 12px） */
  color: #4e535a;
  line-height: 1;
}

/* 2. 打卡主大白卡片（上班、下班、大圆盘和地址在同一个div，白底） */
.punch-main-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 14px 14px 18px;
  box-shadow: 0 2px 10px rgba(31, 35, 41, 0.04);
  display: flex;
  flex-direction: column;
  flex: 1; /* 撑满剩余高度 */
  min-height: 0;
  margin-bottom: 16px; /* 固定值：div 与底部 tab 导航栏严格固定相距 16px */
  box-sizing: border-box;
}

/* 上下班两个灰底卡片并排容器 */
.shift-cards-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
}

/* 上班打卡与下班打卡两个独立的灰色背景div */
.shift-item-box {
  flex: 1;
  background-color: #f5f6f8;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.shift-time-label {
  font-size: 15px;
  font-weight: 400; /* 保持常规不加粗 */
  color: #1f2329;
  margin-bottom: 6px;
}

.shift-status-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
}

.status-icon {
  font-size: 14px;
  color: #3370ff;
  flex-shrink: 0;
}

.status-time {
  font-size: 12px;
  color: #646a73;
  white-space: nowrap;
}

.status-time.text-unclocked {
  color: #8f959e;
}

.status-tag {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 10px;
  font-weight: 500;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.3;
}

.tag-normal, .tag-elastic {
  color: #3370ff;
  background: #eef4fe;
  border: 1px solid rgba(51, 112, 255, 0.4);
}

.tag-late, .tag-early {
  color: #f54a45;
  background: #feeceb;
  border: 1px solid rgba(245, 74, 69, 0.4);
}

.tag-empty {
  display: none !important;
}

/* 3. 核心打卡大圆按钮（置于白色大卡片内部，与地址形成弹性居中组合） */
.punch-circle-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  margin-bottom: 16px;
}

.punch-ripple {
  display: none !important;
}

.punch-circle-btn {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 35% 30%, #1fa2ff 0%, #006aff 100%);
  box-shadow: var(--btn-glow-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  user-select: none;
}

.punch-circle-btn:active {
  transform: scale(0.95);
  box-shadow: 0 8px 20px rgba(0, 106, 255, 0.5);
}

.punch-btn-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-shadow: none;
}

.punch-btn-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 4px;
}

.punch-btn-time {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* 4. 考勤范围与地点状态（在大圆盘正下方，非沉底） */
.location-status-bar {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 4px;
  margin-top: 0;
  margin-bottom: auto;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.location-bar-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.loc-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px; /* 严格等于第一排文字行高，保证垂直居中对齐 */
  margin-right: 6px;
  flex-shrink: 0;
  align-self: flex-start;
}

.loc-icon {
  font-size: 14px; /* 与第一排文字高度一致 */
  color: #00b578;
  display: block;
  line-height: 1;
  transform: translateY(1px); /* 视觉微调：下移 1px 与文字中线完美对齐 */
}

.loc-text {
  font-size: 13px;
  line-height: 20px;
  color: #4e535a;
  text-align: center; /* 文字部分居中对齐 */
  word-break: break-all;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

/* 5. 悬浮助手（右下角企鹅/机器人，绝对定位于 app-container） */
.floating-assistant {
  position: absolute;
  right: 14px;
  bottom: 105px; /* 舒适悬浮在卡片右下侧，不遮挡底部Tab栏 */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.floating-assistant.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.floating-assistant:active {
  transform: scale(0.92);
}

.assistant-img {
  width: 54px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
  user-select: none;
}

/* 底部 Tabbar */
.feishu-tabbar {
  height: 58px;
  background: #ffffff;
  border-top: 1px solid #eaebec;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 20;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: #8f959e;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.tab-item.active {
  color: #1f2329;
}

.tab-item.active .tab-icon-wrap {
  transform: translateY(-1px);
}

.tab-icon-wrap {
  font-size: 23px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  color: #1f2329;
}

.tab-svg-icon {
  width: 23px;
  height: 23px;
  display: block;
}

.tab-label {
  font-size: 11px;
  font-weight: 600;
}

/* Tab 2: 统计页样式 */
.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 6px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2329;
}

.stats-month-picker {
  font-size: 13px;
  color: #3370ff;
  font-weight: 600;
  background: #eef4fe;
  padding: 4px 10px;
  border-radius: 12px;
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.stat-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.stat-box .num {
  font-size: 19px;
  font-weight: 700;
  color: #1f2329;
  margin-bottom: 2px;
}

.stat-box .label {
  font-size: 11px;
  color: #8f959e;
}

.text-success { color: #00b578 !important; }
.text-warning { color: #ff8800 !important; }
.text-danger { color: #f54a45 !important; }

.recent-records-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f1f2;
  margin-bottom: 12px;
}

.card-header-bar .sub-tip {
  font-size: 11px;
  color: #8f959e;
  font-weight: normal;
}

.records-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f9fafb;
}

.record-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.record-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rec-title {
  font-weight: 600;
  color: #1f2329;
}

.rec-loc {
  font-size: 11px;
  color: #8f959e;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.record-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Tab 3: 设置页 */
.settings-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 16px;
}

.card-heading {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f2329;
}

.rule-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13px;
}

.rule-item.full-col {
  flex-direction: column;
  gap: 4px;
}

.rule-label {
  color: #646a73;
}

.rule-val {
  color: #1f2329;
  font-weight: 500;
}

.user-select-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.form-select {
  flex: 1;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #dee0e3;
  padding: 0 10px;
  font-size: 13px;
  background: #fff;
}

.btn-switch-user {
  padding: 0 14px;
  height: 38px;
  background: #3370ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.card-desc {
  font-size: 12px;
  color: #8f959e;
  line-height: 1.4;
}

.admin-entry-link {
  text-align: center;
  margin-top: 24px;
}

.admin-entry-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3370ff;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  background: #eef4fe;
  border-radius: 20px;
}

/* 模态弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #fff;
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  padding: 20px;
  animation: modalPop 0.25s ease;
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #8f959e;
  cursor: pointer;
}

.apply-type-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-type {
  flex: 1;
  padding: 8px 0;
  border: 1px solid #dee0e3;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #646a73;
  cursor: pointer;
}

.btn-type.active {
  border-color: #3370ff;
  color: #3370ff;
  background: #eef4fe;
  font-weight: 600;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  color: #646a73;
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #dee0e3;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}

.btn-submit {
  width: 100%;
  padding: 12px 0;
  border: none;
  background: #3370ff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
}

/* Toast 提示条 */
.toast-tip {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1000;
}

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

/* 截图凭证展示与本地保存弹窗 */
.proof-modal-box {
  max-width: 320px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 18px;
}

.proof-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.proof-tip-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #1f2329;
  background: #f0fbf6;
  border: 1px solid #d1f2e1;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 12px;
  width: 100%;
  text-align: center;
}

.proof-tip-icon {
  color: #00b578;
  font-size: 14px;
  margin-right: 6px;
  flex-shrink: 0;
}

.proof-img-container {
  width: 100%;
  max-height: 52vh;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid #eaebec;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 14px;
  background: #f6f7f9;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.proof-preview-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: auto;
  -webkit-touch-callout: default; /* 允许长按弹出保存图片菜单 */
}

.proof-actions-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-save-proof {
  flex: 2;
  padding: 10px 0;
  border: none;
  background: linear-gradient(135deg, #1fa2ff 0%, #0066ff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

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

.btn-close-proof {
  flex: 1;
  padding: 10px 0;
  border: 1px solid #dee0e3;
  background: #f5f6f8;
  color: #646a73;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
}

.btn-close-proof:active {
  background: #ebedf0;
}
