@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-gradient: linear-gradient(135deg, #0f0c20 0%, #15102a 50%, #06040d 100%);
  --panel-bg: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(255, 255, 255, 0.07);
  --glass-effect: backdrop-filter: blur(16px) saturate(120%);
  
  --text-primary: #f3f1fe;
  --text-secondary: #908da7;
  --text-muted: #5e5b72;
  
  --color-primary: #7c4dff;
  --color-primary-glow: rgba(124, 77, 255, 0.4);
  --color-success: #00e676;
  --color-success-glow: rgba(0, 230, 118, 0.3);
  --color-warning: #ffab00;
  --color-warning-glow: rgba(255, 171, 0, 0.3);
  --color-danger: #ff1744;
  --color-danger-glow: rgba(255, 23, 68, 0.3);
  --color-info: #00e5ff;
  --color-info-glow: rgba(0, 229, 255, 0.3);

  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  background: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-family);
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 霓虹发光流体背景装饰 */
.bg-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.12) 0%, rgba(0,0,0,0) 70%);
  top: -200px;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}
.bg-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0,0,0,0) 70%);
  bottom: -100px;
  left: -100px;
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

/* 头部 Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--panel-border);
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-info));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.brand-logo svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.brand-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, #fff, #b9b3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.actions-bar {
  display: flex;
  gap: 1rem;
}

/* 统一按钮样式 */
.btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6200ea 100%);
  border: none;
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9066ff 0%, var(--color-primary) 100%);
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.6);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* 统计卡片 Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.stat-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

/* 物联网卡列表 List */
.cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 玻璃拟态物联网卡行 */
.iot-row {
  background: rgba(20, 16, 38, 0.6);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(120%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.iot-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-primary);
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* 运营商特定的左侧线条发光 */
.iot-row.china-unicom::before { background: #ff5722; }
.iot-row.china-telecom::before { background: #00c853; }
.iot-row.china-mobile::before { background: #00b0ff; }

.iot-row:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 12px rgba(124, 77, 255, 0.08);
}

.iot-row:hover::before {
  width: 6px;
}

/* 列表行内的各列布局 */
.row-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}

.col-remark {
  min-width: 150px;
  max-width: 180px;
}

.row-remark-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-iccid {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: monospace;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  letter-spacing: 0.3px;
}

.row-iccid:hover {
  color: var(--color-info);
}

.row-iccid svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

/* 运营商与电话列 */
.col-carrier {
  min-width: 130px;
}

.row-carrier-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.row-phone {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: monospace;
}

/* 流量列 */
.col-usage {
  flex: 1;
  max-width: 280px;
  min-width: 160px;
}

.row-usage-stats {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
}

.row-usage-used {
  font-weight: 700;
  color: var(--text-primary);
}

.row-usage-total {
  color: var(--text-secondary);
}

.row-progress-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.row-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-info));
  border-radius: 3px;
  width: 0%;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.iot-row.china-unicom .row-progress-fill { background: linear-gradient(90deg, #ff5722, #ff9100); }
.iot-row.china-telecom .row-progress-fill { background: linear-gradient(90deg, #00c853, #00e676); }
.iot-row.china-mobile .row-progress-fill { background: linear-gradient(90deg, #00b0ff, #00e5ff); }

/* 套餐类型与天数列 */
.col-status {
  min-width: 140px;
}

.row-pkg-name {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.row-days {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.row-days.warning {
  color: var(--color-warning);
  font-weight: 600;
}

.row-days.danger {
  color: var(--color-danger);
  font-weight: 600;
}

/* 状态 Badge */
.col-badge {
  min-width: 90px;
  align-items: center;
}

/* 胶囊状态标签 */
.status-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  box-shadow: 0 0 6px currentColor;
}

.status-badge.normal {
  background: rgba(0, 230, 118, 0.12);
  color: var(--color-success);
}
.status-badge.stop {
  background: rgba(255, 23, 68, 0.12);
  color: var(--color-danger);
}
.status-badge.unknown {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* 时间列 */
.col-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 110px;
  text-align: right;
}

.time-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

/* 动作列 */
.col-actions {
  flex-direction: row !important;
  gap: 0.35rem;
}

.update-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: scale(1.05);
}

.action-btn.btn-delete:hover {
  background: rgba(255, 23, 68, 0.15);
  border-color: rgba(255, 23, 68, 0.3);
  color: var(--color-danger);
}

.action-btn.btn-refresh:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--color-info);
}

.action-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* 旋转刷新动画 */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinning svg {
  animation: spin 1s linear infinite;
}

/* 全局加载中/空白提示 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--panel-bg);
  border: 1px dashed var(--panel-border);
  border-radius: 20px;
  color: var(--text-secondary);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  fill: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* 模态框 (Modal) 样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 4, 13, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: rgba(20, 16, 38, 0.95);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

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

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  background: linear-gradient(to right, #fff, #b9b3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
  background: rgba(255, 255, 255, 0.08);
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* 提示弹窗 (Toast) */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.toast {
  background: rgba(20, 16, 38, 0.9);
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  min-width: 280px;
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

.toast.success { border-left-color: var(--color-success); }
.toast.error { border-left-color: var(--color-danger); }
.toast.warning { border-left-color: var(--color-warning); }

.toast-icon svg {
  width: 20px;
  height: 20px;
}
.toast.success .toast-icon svg { fill: var(--color-success); }
.toast.error .toast-icon svg { fill: var(--color-danger); }
.toast.warning .toast-icon svg { fill: var(--color-warning); }

.toast-message {
  font-size: 0.9rem;
  font-weight: 500;
}

/* 静态模式横幅提示 */
.fallback-banner {
  background: linear-gradient(90deg, rgba(255, 171, 0, 0.15) 0%, rgba(255, 23, 68, 0.1) 100%);
  border: 1px solid rgba(255, 171, 0, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #ffe082;
  flex-shrink: 0;
}

.fallback-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* 主滚动区域 */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 自定义毛玻璃感高级滚动条 */
.main-content::-webkit-scrollbar {
  width: 6px;
}
.main-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.01);
  border-radius: 3px;
}
.main-content::-webkit-scrollbar-thumb {
  background: rgba(124, 77, 255, 0.2);
  border-radius: 3px;
}
.main-content::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 77, 255, 0.4);
}

/* 固定页脚样式 */
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--panel-border);
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 状态呼吸指示灯 */
.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 10px var(--color-success-glow);
  display: inline-block;
  transition: all 0.5s ease;
}

.status-indicator-dot.offline {
  background-color: var(--color-danger);
  box-shadow: 0 0 10px var(--color-danger-glow);
}

.status-indicator-dot.checking {
  background-color: var(--color-warning);
  box-shadow: 0 0 10px var(--color-warning-glow);
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.08);
}

/* 响应式调整 */
@media (max-width: 768px) {
  body {
    padding: 0;
  }
  .container {
    padding: 1rem 1rem 0 1rem;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .actions-bar {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .btn {
    flex: 1;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }
  
  /* 移动端统计网格缩减为 2x2 以节省高度空间 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }
  .stat-card {
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }
  .stat-info h2 {
    font-size: 1.35rem;
    margin-top: 0.1rem;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .stat-icon svg {
    width: 18px;
    height: 18px;
  }

  /* 移动端警告横幅自适应 */
  .fallback-banner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    align-items: center;
    padding: 0.8rem 1rem;
  }

  /* 移动端精细小卡片化重构 (重点) */
  .iot-row {
    flex-wrap: wrap; /* 允许折行 */
    gap: 0.45rem; /* 极其紧凑的行内垂直间距 */
    padding: 0.6rem 0.8rem; /* 极致缩小的卡片内边距 */
    align-items: center;
  }
  
  .iot-row .row-col {
    min-width: 0; /* 清理大屏 min-width 避免溢出 */
  }

  /* 第一行：备注占左，状态 Badge 占右，并排对齐 */
  .iot-row .col-remark {
    order: 1;
    flex: 1;
    max-width: 70%;
  }
  .iot-row .row-remark-text {
    font-size: 0.85rem;
    font-weight: 600;
  }
  .iot-row .row-iccid {
    font-size: 0.68rem;
    margin-top: 1px;
  }
  .iot-row .row-iccid svg {
    width: 8px;
    height: 8px;
  }

  .iot-row .col-badge {
    order: 2;
    flex: 0 0 auto;
    align-items: flex-end;
  }
  .iot-row .status-badge {
    padding: 0.15rem 0.45rem;
    font-size: 0.68rem;
    border-radius: 12px;
  }

  /* 第二行：运营商 + 手机号 横向左右排列并加虚线分隔 */
  .iot-row .col-carrier {
    order: 3;
    flex: 1 0 100%; /* 强占整行 */
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
    padding-bottom: 0.25rem;
    margin-bottom: 0.05rem;
  }
  .iot-row .row-carrier-tag {
    font-size: 0.72rem;
    color: var(--text-secondary);
  }
  .iot-row .row-phone {
    font-size: 0.7rem;
    color: var(--text-secondary);
  }

  /* 第三行：套餐类型占左，到期天数占右，并排分布 */
  .iot-row .col-status {
    order: 4;
    flex: 1 0 100%; /* 强占整行 */
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.05rem;
  }
  .iot-row .row-pkg-name {
    font-size: 0.7rem;
    color: var(--text-secondary);
    max-width: 50%;
  }
  .iot-row .row-days {
    font-size: 0.7rem;
  }

  /* 第四行：流量进度条通栏撑满，进度条厚度减为 4px */
  .iot-row .col-usage {
    order: 5;
    flex: 1 0 100%; /* 强占整行 */
    max-width: 100%;
    margin-bottom: 0.15rem;
  }
  .iot-row .row-usage-stats {
    font-size: 0.7rem;
    margin-bottom: 0.15rem;
  }
  .iot-row .row-progress-bg {
    height: 4px;
  }

  /* 第五行：更新时间（占左）与操作按钮（占右），并排紧凑排布 */
  .iot-row .col-time {
    order: 6;
    flex: 1; /* 占左 */
    flex-direction: row !important;
    align-items: center;
    gap: 0.25rem;
  }
  .iot-row .time-label {
    display: inline;
    font-size: 0.65rem;
  }
  .iot-row .col-time span:last-child {
    font-size: 0.65rem;
  }

  .iot-row .col-actions {
    order: 7;
    flex: 0 0 auto; /* 占右 */
    justify-content: flex-end;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .iot-row .action-btn {
    width: 28px; /* 精巧微型按钮 */
    height: 28px;
    border-radius: 6px;
  }
  .iot-row .action-btn svg {
    width: 13px;
    height: 13px;
  }

  .app-footer {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0;
    align-items: center;
  }
}


