:root {
  --bg-primary: #0B0F1F;
  --bg-secondary: #070B1A;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --bg-input: rgba(255, 255, 255, 0.05);
  --bg-tab-bar: rgba(11, 15, 31, 0.95);
  --border-card: rgba(0, 212, 255, 0.15);
  --border-card-hover: rgba(0, 212, 255, 0.25);
  --border-input: rgba(255, 255, 255, 0.12);
  --border-input-focus: #00D4FF;
  --color-primary: #00D4FF;
  --color-secondary: #7C5CFC;
  --color-success: #00E676;
  --color-warning: #FFB300;
  --color-danger: #FF5252;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);
  --radius-card: 12px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --radius-tag: 6px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-primary: 0 4px 16px rgba(0, 212, 255, 0.3);
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --tab-bar-height: 60px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-primary);
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-primary);
}

/* 注意：overflow-x 不能写在 html 上（含 html,body 联合规则），
   否则会使 position:sticky 失效（滚动容器被改写），吸顶导航/筛选栏将无法吸顶；
   仅 body 设置即可裁剪横向溢出，同时不影响 sticky */
body {
  overflow-x: hidden;
}

#app {
  min-height: 100vh;
  padding-bottom: calc(var(--tab-bar-height) + var(--safe-bottom));
}

a {
  text-decoration: none;
  color: inherit;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 2px;
}

.page-container {
  padding: 16px;
}

/* ===== 顶部导航栏 ===== */
.top-header,
.page-header {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 92, 252, 0.15) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-card);
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header-back:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.95);
}

.header-back svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 页面头部子元素 */
.back-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.back-btn:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.95);
}

.back-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}

.more-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.more-btn:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.95);
}

.more-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}

.header-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header-icon-btn:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.95);
}

.header-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== 搜索栏 ===== */
.search-bar {
  margin: 16px;
  position: relative;
}

.search-bar .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-input);
  padding: 0 14px 0 42px;
  font-size: 14px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--border-input-focus);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

/* ===== 卡片 ===== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  padding: 16px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.card:active {
  transform: scale(0.99);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title .more {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 400;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: rgba(0, 212, 255, 0.18);
  border: 1px solid rgba(0, 212, 255, 0.45);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.1);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:active {
  background: rgba(0, 212, 255, 0.1);
  transform: scale(0.97);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.btn-ghost:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.97);
}

.btn-danger {
  background: var(--color-danger);
  color: #fff;
}

.btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* ===== 表单 ===== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-label .required {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-input-wrap {
  position: relative;
}

.form-input {
  width: 100%;
  height: 48px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-input);
  padding: 0 14px;
  font-size: 15px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--border-input-focus);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.form-input.error {
  border-color: var(--color-danger);
}

.form-error {
  font-size: 12px;
  color: var(--color-danger);
  margin-top: 6px;
}

textarea.form-input {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}

/* ===== 标签/徽章 ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.badge-primary {
  background: rgba(0, 212, 255, 0.15);
  color: var(--color-primary);
}

.badge-success {
  background: rgba(0, 230, 118, 0.15);
  color: var(--color-success);
}

.badge-warning {
  background: rgba(255, 179, 0, 0.15);
  color: var(--color-warning);
}

.badge-danger {
  background: rgba(255, 82, 82, 0.15);
  color: var(--color-danger);
}

.badge-default {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.tag-public {
  background: rgba(0, 230, 118, 0.15);
  color: var(--color-success);
}

.tag-designated {
  background: rgba(0, 212, 255, 0.15);
  color: var(--color-primary);
}

/* ===== 空状态 ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== 加载状态 ===== */
.loading-more {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== 底部导航栏 ===== */
.bottom-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-tab-bar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  border-top: 1px solid var(--border-card);
  padding-bottom: var(--safe-bottom);
  z-index: 100;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.tab-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 2px;
  transition: all var(--transition-fast);
}

.tab-item span {
  font-size: 11px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tab-item.active svg {
  stroke: var(--color-primary);
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.5));
}

.tab-item.active span {
  color: var(--color-primary);
  font-weight: 600;
}

.tab-item:active {
  transform: scale(0.95);
}

/* ===== 浮动按钮 ===== */
.fab {
  position: fixed;
  right: 20px;
  bottom: calc(var(--tab-bar-height) + var(--safe-bottom) + 20px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
  cursor: pointer;
  z-index: 99;
  transition: all var(--transition-fast);
}

.fab:active {
  transform: scale(0.95);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.fab svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== 列表项 ===== */
.list-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-card);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.list-item:active {
  background: var(--bg-card-hover);
}

.list-item:last-child {
  border-bottom: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.list-item:first-child {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.list-item-content {
  flex: 1;
  min-width: 0;
}

.list-item-title {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ===== 分段控制器 ===== */
.segmented {
  display: flex;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 4px;
  margin: 0 16px 16px;
  border: 1px solid var(--border-card);
}

.segmented-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.segmented-item.active {
  background: rgba(0, 212, 255, 0.18);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.4);
}

/* ===== 统计卡片 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  padding: 16px;
  border: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.5;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  opacity: 0.3;
}

/* ===== Toast ===== */
.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  max-width: 80vw;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: toast-in 0.2s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== 弹窗遮罩 ===== */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade-in 0.2s ease;
}

.modal-mask.center {
  align-items: center;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--bg-secondary);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: slide-up 0.3s ease;
}

.modal-mask.center .modal-content {
  border-radius: 16px;
  width: 85%;
  max-width: 320px;
  max-height: 70vh;
  animation: modal-pop 0.25s ease;
}

@keyframes slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 1;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  padding-bottom: calc(16px + var(--safe-bottom));
  border-top: 1px solid var(--border-card);
}

.modal-footer .btn {
  flex: 1;
}

/* ===== 表单行（列表样式） ===== */
.form-list {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-card);
  min-height: 52px;
}

.form-row:last-child {
  border-bottom: none;
}

.form-row-label {
  font-size: 14px;
  color: var(--text-secondary);
  width: 100px;
  flex-shrink: 0;
}

.form-row-label .required {
  color: var(--color-danger);
  margin-right: 2px;
}

.form-row-value {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.form-row-value input,
.form-row-value select,
.form-row-value textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  text-align: right;
}

.form-row-value input::placeholder,
.form-row-value textarea::placeholder {
  color: var(--text-muted);
}

.form-row-arrow {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ===== Switch 开关 ===== */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.3s;
  border-radius: 28px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 2px;
  background: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  border-radius: 50%;
}

.switch input:checked + .switch-slider {
  background: rgba(0, 212, 255, 0.3);
  border-color: var(--color-primary);
}

.switch input:checked + .switch-slider:before {
  transform: translateX(20px);
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* ===== 进度条 ===== */
.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 3px;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* ===== 分割线 ===== */
.divider {
  height: 1px;
  background: var(--border-card);
  margin: 16px 0;
}

/* ===== 横向滚动容器 ===== */
.scroll-x-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-x-container::-webkit-scrollbar {
  display: none;
}

.scroll-x-content {
  display: inline-flex;
  min-width: 100%;
  white-space: nowrap;
}

/* ===== Select 下拉框样式 ===== */
select {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-input);
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

select:focus {
  border-color: var(--border-input-focus);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

select option {
  background: #0B0F1F;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
}

select option:hover {
  background: rgba(0, 212, 255, 0.2);
  color: #fff;
}

select option:checked {
  background: rgba(0, 212, 255, 0.3);
  color: #00D4FF;
}

/* ===== 文本工具类 ===== */
.text-primary { color: var(--color-primary); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.text-center { text-align: center; }
.text-right { text-align: right; }

.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }

/* ===== 安全区域 ===== */
.safe-bottom {
  height: var(--safe-bottom);
}

.safe-top {
  height: env(safe-area-inset-top, 0px);
}
