/* ── 设计令牌 ─────────────────────────────────── */
:root {
  --bg:          #f5f7fa;
  --surface:     #ffffff;
  --border:      #e4e8ef;
  --border-2:    #d0d7e2;

  --primary:     #4f6ef7;
  --primary-dk:  #3a57e8;
  --primary-lt:  #eef1fe;
  --primary-mid: rgba(79,110,247,0.15);

  --red:         #ef4444;
  --red-lt:      #fef2f2;
  --green:       #22c55e;
  --amber:       #f59e0b;

  --text:        #1a2235;
  --text-2:      #4a5878;
  --text-3:      #9ba8bc;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 28px rgba(0,0,0,0.1);
  --t:           0.22s cubic-bezier(.4,0,.2,1);
}

/* ── 重置 ─────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── 布局 ─────────────────────────────────────── */
.app {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

/* ── 头部 ─────────────────────────────────────── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 88px; 
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 30%;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4f6ef7 0%, #7c3aed 50%, #4f6ef7 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.03em;
  animation: logoShimmer 3s ease-in-out infinite;
  position: relative;
}

@keyframes logoShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── 标签页 ───────────────────────────────────── */
.tab-nav {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  box-shadow: var(--shadow);
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: none;
  border-radius: 50px;
  background: none;
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.tab-btn:hover { color: var(--primary); background: var(--primary-lt); }

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(79,110,247,0.35);
}

/* ── 页面切换 ─────────────────────────────────── */
.page { display: none; animation: fadeUp .28s ease; }
.page.active { display: block; }

@keyframes fadeUp {
  from { opacity:0; transform: translateY(14px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── 通用组件 ─────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.field input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-mid);
}

.field input::placeholder { color: var(--text-3); }
.field-err { font-size: 0.78rem; color: var(--red); min-height: 16px; }

/* 按钮 */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 26px;
  background: var(--primary);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
}

.primary-btn:hover:not(:disabled) {
  background: var(--primary-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79,110,247,0.35);
}

.primary-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.primary-btn.full { width: 100%; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
}

.ghost-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lt);
}

.ghost-btn:disabled { opacity: .35; cursor: not-allowed; }

.danger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--red-lt);
  border: 1px solid #fca5a5;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--red);
  cursor: pointer;
  transition: all var(--t);
}

.danger-btn:hover { background: #fee2e2; }

.icon-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-2);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.icon-btn:hover { background: var(--red-lt); color: var(--red); border-color: #fca5a5; }

/* ── 波形框 ───────────────────────────────────── */
.wave-box {
  position: relative;
  width: 100%;
  height: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wave-idle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: opacity var(--t);
}

.wave-idle.hidden { opacity: 0; pointer-events: none; }

.wave-idle span {
  display: block;
  width: 3px;
  background: var(--border-2);
  border-radius: 2px;
  animation: idleBar 1.6s ease-in-out infinite;
}

.wave-idle span:nth-child(1)  { height: 10px; animation-delay: 0s;    }
.wave-idle span:nth-child(2)  { height: 18px; animation-delay: .12s;  }
.wave-idle span:nth-child(3)  { height: 28px; animation-delay: .24s;  }
.wave-idle span:nth-child(4)  { height: 20px; animation-delay: .36s;  }
.wave-idle span:nth-child(5)  { height: 12px; animation-delay: .48s;  }
.wave-idle span:nth-child(6)  { height: 12px; animation-delay: .60s;  }
.wave-idle span:nth-child(7)  { height: 20px; animation-delay: .72s;  }
.wave-idle span:nth-child(8)  { height: 28px; animation-delay: .84s;  }
.wave-idle span:nth-child(9)  { height: 18px; animation-delay: .96s;  }
.wave-idle span:nth-child(10) { height: 10px; animation-delay: 1.08s; }

@keyframes idleBar {
  0%,100% { transform: scaleY(.4); opacity: .4; }
  50%      { transform: scaleY(1);  opacity: .9; }
}

/* ── 识声页 ───────────────────────────────────── */
.listen-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 12px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text-3);
  transition: all var(--t);
}

.dot.on {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.status-txt {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  font-family: 'DM Mono', monospace;
}

.listen-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--primary);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: 0 4px 18px rgba(79,110,247,.3);
}

.listen-btn:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,110,247,.4); }

.listen-btn.active {
  background: var(--red);
  box-shadow: 0 4px 18px rgba(239,68,68,.35);
}

.listen-btn.active:hover { background: #dc2626; }

/* 推荐声音 */
.recommended-sounds {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.rec-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

.rec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  font-size: 0.72rem;
  color: var(--text);
  text-decoration: none;
  transition: all var(--t);
  cursor: pointer;
  padding: 8px;
  text-align: center;
}

.rec-item:hover {
  border-color: var(--primary);
  background: var(--primary-lt);
  color: var(--primary);
  transform: scale(1.05);
}

.rec-item:active {
  transform: scale(0.98);
}

.rec-item svg {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
}

.result-card {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.result-badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.result-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.result-meta {
  display: flex;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-3);
  font-family: 'DM Mono', monospace;
  margin-bottom: 12px;
}

.redirect-cd {
  font-size: 0.82rem;
  color: var(--amber);
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  min-height: 18px;
}

/* ── 训练页 ───────────────────────────────────── */
.train-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 500px;
  margin: 0 auto;
  padding-top: 8px;
}

.page-title { text-align: center; }
.page-title h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 5px; }
.page-title p  { font-size: 0.85rem; color: var(--text-2); }

/* 录制圆环 */
.record-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ring-wrap {
  position: relative;
  width: 88px; height: 88px;
}

.ring-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.ring-bg  { fill: none; stroke: var(--border); stroke-width: 4; }

.ring-prog {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 226.2;
  stroke-dashoffset: 226.2;
  transition: stroke-dashoffset .08s linear;
}

.record-btn {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: none;
  background: var(--red-lt);
  color: var(--red);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t);
  letter-spacing: .02em;
}

.record-btn:hover { background: #fee2e2; box-shadow: 0 0 14px rgba(239,68,68,.2); }

.record-btn.recording {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px rgba(239,68,68,.4);
  animation: recPulse 1.1s ease-in-out infinite;
}

@keyframes recPulse {
  0%,100% { box-shadow: 0 0 14px rgba(239,68,68,.35); }
  50%      { box-shadow: 0 0 28px rgba(239,68,68,.6); }
}

.cd-display {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
  color: var(--primary);
  min-height: 26px;
  text-align: center;
}

.train-row { display: flex; gap: 10px; }

.form-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-card .field { max-width: 100%; }

/* ── 管理页 ───────────────────────────────────── */
.manage-layout { max-width: 800px; margin: 0 auto; }

.login-card {
  max-width: 380px;
  margin: 20px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.login-icon {
  width: 54px; height: 54px;
  background: var(--primary-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 18px;
}

.login-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 22px; }
.login-card .field { text-align: left; }
.login-err { font-size: 0.8rem; color: var(--red); min-height: 18px; margin-top: 8px; }

/* 工具栏 */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* 批量操作工具栏 */
.batch-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--primary-lt);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.batch-select-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
}

.batch-select-all input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary);
}

.batch-count {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

.batch-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.batch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.batch-btn.delete {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-lt);
}

.batch-btn.delete:hover {
  background: var(--red);
  color: #fff;
}

.batch-btn.recommend {
  color: var(--amber);
  border-color: var(--amber);
  background: #fffbeb;
}

.batch-btn.recommend:hover {
  background: var(--amber);
  color: #fff;
}

.batch-btn.unrecommend {
  color: var(--text-2);
  border-color: var(--border);
  background: var(--bg);
}

.batch-btn.unrecommend:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-lt);
}

.search-box {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 9px 16px;
  transition: border-color var(--t), box-shadow var(--t);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-mid);
}

.search-box svg   { color: var(--text-3); flex-shrink: 0; }
.search-box input { flex:1; border:none; background:none; outline:none; font-family:inherit; font-size:0.88rem; color:var(--text); }
.search-box input::placeholder { color: var(--text-3); }

/* 表格 */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.data-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }

.data-table thead tr { background: #f8fafc; border-bottom: 1px solid var(--border); }

.data-table th {
  padding: 12px 10px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--text);
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #f8fafc; }

.data-table tbody tr.selected { background: var(--primary-lt); }

.th-checkbox {
  width: 40px;
  padding: 8px 6px !important;
}

.row-checkbox {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: var(--primary);
}

.mono { font-family: 'DM Mono', monospace; font-size: 0.78rem; color: var(--text-2); }

.url-cell {
  color: var(--primary);
  text-decoration: none;
  display: block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.url-cell:hover { text-decoration: underline; }

.td-actions { 
  display: flex; 
  gap: 4px; 
  flex-wrap: wrap;
}

.act-btn {
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.act-btn:hover              { border-color: var(--border-2); background: var(--surface); }
.act-btn.edit:hover         { border-color: var(--primary); color: var(--primary); background: var(--primary-lt); }
.act-btn.play:hover         { border-color: var(--amber); color: var(--amber); background: #fffbeb; }
.act-btn.del:hover          { border-color: var(--red); color: var(--red); background: var(--red-lt); }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pg-btn {
  min-width: 36px;
  padding: 7px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
}

.pg-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-lt); }
.pg-btn.cur  { background: var(--primary); color: #fff; border-color: var(--primary); }
.pg-btn:disabled { opacity: .35; cursor: not-allowed; }

/* 空状态 */
.empty-row td {
  text-align: center;
  padding: 52px 20px;
  color: var(--text-3);
  font-size: 0.88rem;
}

/* ── 弹窗 ─────────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(15,20,40,.45);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}

@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-md);
  animation: fadeUp .22s ease;
}

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

.modal-hd h3 { font-size: 1.05rem; font-weight: 700; }

.modal-ft { display: flex; gap: 10px; margin-top: 18px; }

/* ── Loading 遮罩 ────────────────────────────── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(15,20,40,.35);
  backdrop-filter: blur(3px);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

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

/* ── Toast ────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--text);
  color: #fff;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  z-index: 9999;
  box-shadow: var(--shadow-md);
}

.toast.show { opacity:1; transform: translateX(-50%) translateY(0); pointer-events:auto; }
.toast.ok   { background: #166534; }
.toast.err  { background: #991b1b; }
.toast.info { background: #92400e; }

/* ── 响应式 ───────────────────────────────────── */
@media (max-width: 640px) {
  .tab-btn span { display: none; }
  .tab-btn { padding: 9px 14px; }
  .header { gap: 12px; }
  .modal-ft { flex-direction: column; }
  .toolbar  { flex-direction: column; align-items: stretch; }
  
  .batch-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .batch-actions {
    margin-left: 0;
    justify-content: flex-start;
  }
  
  .batch-btn {
    flex: 1;
    justify-content: center;
  }
  
  .th-checkbox {
    width: 32px;
    padding: 6px 4px !important;
  }
  
  .data-table th:nth-child(4),
  .data-table td:nth-child(4),
  .data-table th:nth-child(5),
  .data-table td:nth-child(5) {
    display: none;
  }
  
  .url-cell {
    max-width: 100px;
  }
  
  .td-actions {
    flex-direction: column;
  }
  
  .act-btn {
    padding: 4px 8px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .app {
    padding: 16px 12px 60px;
  }
  
  .manage-layout {
    max-width: 100%;
  }
  
  .login-card {
    padding: 24px 20px;
  }
  
  .data-table td {
    padding: 9px 6px;
    font-size: 0.82rem;
  }
  
  .url-cell {
    max-width: 80px;
  }
}
