/* ============================================================
   闲鱼头像修改器 · 用户前台样式 (1:1 还原目标站点浅色主题)
   设计变量与目标站点一致: 浅灰底 #f5f4f2 / 白卡片 / 橙色主色 #e65100
   ============================================================ */
:root {
  --el-color-primary: #e65100;
  --el-color-primary-light-3: #ed7a3d;
  --el-color-primary-light-5: #f29a66;
  --el-color-primary-light-7: #f7bd99;
  --el-color-primary-light-8: #fad0b8;
  --el-color-primary-light-9: #fde4d6;
  --el-color-primary-dark-2: #c04000;
  --accent: #e65100;
  --accent-deep: #c04000;
  --accent-soft: #e6510014;
  --accent-soft-2: #e6510024;
  --bg-app: #f5f4f2;
  --bg-card: #fff;
  --line: #f0efee;
  --line-strong: #e8e6e4;
  --text-1: #201e1c;
  --text-2: #6b6762;
  --text-3: #9b968f;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px #16141208, 0 8px 24px #1614120d;
  --shadow-pop: 0 8px 40px #1614121f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg-app);
  color: var(--text-1);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
}
[v-cloak] { display: none; }

/* Element Plus 主题覆写 */
.el-button--primary {
  --el-button-bg-color: var(--accent);
  --el-button-border-color: var(--accent);
  --el-button-hover-bg-color: #d84b00;
  --el-button-hover-border-color: #d84b00;
  --el-button-active-bg-color: var(--accent-deep);
  --el-button-active-border-color: var(--accent-deep);
}
.el-button--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px #e6510047; }
.el-button--primary:active { box-shadow: none; transform: translateY(0); }
.el-input__wrapper { border-radius: 8px; transition: box-shadow .15s; }
.el-input__wrapper.is-focus { box-shadow: 0 0 0 1px var(--accent) inset !important; }
.el-dialog { border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); }
.el-message { box-shadow: var(--shadow-pop); border: none; border-radius: 10px; }
.el-card { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d8d5d1; border: 2px solid transparent; background-clip: padding-box; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #c3bfba; background-clip: padding-box; }

/* ---------------- 卡密验证页 ---------------- */
.verify-container {
  background: radial-gradient(at 50% 0, #e651000f 0%, #0000 60%), #f0efee;
  display: flex; justify-content: center; align-items: center;
  min-height: 100vh; padding: 24px;
}
.verify-card {
  background: #fff; border-radius: 24px; width: 100%; max-width: 400px;
  overflow: hidden; box-shadow: 0 0 40px #0000000f, 0 2px 8px #0000000a;
}
.verify-top {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e1b18 0%, #2d231f 50%, #1e1b18 100%) 0 0/200% 200%;
  padding: 36px 32px 32px;
  animation: gradientShift 6s infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.verify-top:after {
  content: ""; position: absolute; bottom: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, #0000, #e6510080, #0000); border-radius: 1px;
}
.h-noise {
  position: absolute; inset: 0; pointer-events: none; opacity: .035; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 128px 128px;
}
.h-glow {
  position: absolute; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, #e651002e 0%, #0000 70%);
  border-radius: 50%; width: 160px; height: 160px; top: -40px; right: -40px;
}
.verify-brand { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.verify-logo { flex: none; }
.verify-brand .title { letter-spacing: -.4px; margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.verify-brand .t-orange { color: #e65100; }
.verify-brand .subtitle { color: #ffffff59; letter-spacing: .5px; margin-top: 2px; font-size: 11px; font-weight: 400; }
.verify-body { padding: 28px 32px 32px; }
.key-input .el-input__wrapper { border-radius: 12px; padding: 4px 14px; box-shadow: inset 0 0 0 1px #e8e6e4; }
.key-input .el-input__wrapper:hover { box-shadow: inset 0 0 0 1px #ccc; }
.key-input .el-input__wrapper.is-focus { box-shadow: inset 0 0 0 1px #e65100; }
.verify-btn { letter-spacing: .5px; border-radius: 12px; width: 100%; height: 44px; margin-top: 16px; font-size: 15px; font-weight: 600; }
.error-msg { display: flex; align-items: center; gap: 8px; color: #c0392b; font-size: 13px; justify-content: center; margin-top: 10px; }

/* 跳转中转页 */
.redirect-container {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: var(--text-2); font-size: 14px;
}

/* ---------------- 首页 ---------------- */
.container { width: 100%; max-width: 560px; margin: 32px auto 48px; padding: 0 24px; }

.page-card {
  background: var(--bg-card); border: none; border-radius: var(--radius-lg);
  margin-bottom: 16px; overflow: hidden;
  box-shadow: 0 0 20px #0000000a, 0 1px 3px #0000000a, 0 4px 12px #0000000f;
}

/* 顶部卡 (暗色渐变头) */
.header-card { padding: 0; overflow: hidden; }
.header-top {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e1b18 0%, #2d231f 50%, #1e1b18 100%) 0 0/200% 200%;
  padding: 20px 24px 6px;
  animation: gradientShift 6s infinite;
}
.header-top:after {
  content: ""; position: absolute; bottom: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, #0000, #e6510080, #0000); border-radius: 1px;
}
.h-top-row { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.h-brand { display: flex; align-items: center; gap: 12px; }
.h-logo { flex: none; }
.title { letter-spacing: -.4px; margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.t-orange { color: #e65100; }
.subtitle { color: #ffffff59; letter-spacing: .5px; margin-top: 2px; font-size: 11px; font-weight: 400; }
.help-btn { margin-top: 2px; color: #ffffff59 !important; padding: 4px 6px !important; font-size: 12px !important; }
.help-btn:hover { color: #fff !important; }
.card-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0 8px; position: relative; z-index: 1; }
.card-detail { color: #ffffff73; font-size: 11px; }
.card-detail b { color: #ff9a5c; font-weight: 600; }
.help-wrap { background: #262220; }
.help-body { color: #fff9; padding: 14px 24px; font-size: 13px; line-height: 1.6; }
.help-item { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.help-item:last-child { margin-bottom: 0; }
.help-num { flex-shrink: 0; font-size: 14px; }
.slide-enter-active, .slide-leave-active { transition: max-height .25s, opacity .2s; overflow: hidden; }
.slide-enter-from, .slide-leave-to { opacity: 0; max-height: 0; }
.slide-enter-to, .slide-leave-from { opacity: 1; max-height: 130px; }

.header-body { padding: 22px 24px 24px; }

/* 登录区 */
.cookie-main { margin-top: 4px; }
.cookie-main-label { color: #666; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.cookie-main .el-textarea__inner { font-family: "SF Mono", "Cascadia Code", Consolas, monospace; font-size: 12px; line-height: 1.5; }
.login-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.login-tab {
  padding: 8px 14px; font-size: 13px; cursor: pointer; color: var(--text-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .2s;
}
.login-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.login-tab:hover { color: var(--accent); }
.status-line { border-radius: 10px; display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; font-size: 13px; }
.status-line.s-ok { color: #2b8a3e; background: #4ec9b014; }
.status-line.s-fail { color: #c0392b; background: #f4474714; }
.s-label { color: #666; font-size: 13px; margin-bottom: 8px; display: block; font-weight: 500; }
.login-row { display: flex; gap: 10px; align-items: center; }
.login-row .grow { flex: 1; }
.cookie-mode-hint { color: #2b8a3e; text-align: center; background: #4ec9b014; border-radius: 8px; margin-top: 10px; padding: 8px 12px; font-size: 12px; }
.toggle-row { border-top: 1px solid #eee; display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; }
.toggle-label { color: #666; font-size: 13px; line-height: 1.3; }

/* 已登录 */
.logged-in-view { padding: 8px 0; }
.account-card {
  background: #f8f7f6; border: 1px solid #ececea; border-radius: 12px;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
}
.account-avatar { object-fit: cover; border: 2px solid #e0ddd9; border-radius: 50%; flex-shrink: 0; width: 56px; height: 56px; }
.account-meta { display: flex; flex-direction: column; flex: 1; gap: 2px; min-width: 0; }
.account-name { color: #333; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; font-weight: 600; overflow: hidden; }
.account-detail { color: #999; white-space: nowrap; font-size: 12px; }

/* 模式切换 */
.mode-tabs { background: #f0efee; border-radius: 10px; display: flex; gap: 8px; margin-bottom: 18px; padding: 4px; }
.mode-tab {
  color: #888; cursor: pointer; user-select: none; border-radius: 8px; flex: 1;
  display: flex; justify-content: center; align-items: center; gap: 6px;
  padding: 8px 0; font-size: 13px; font-weight: 500; transition: all .2s;
}
.mode-tab:hover { color: #555; }
.mode-tab.active { color: #e65100; background: #fff; box-shadow: 0 1px 3px #00000014; }
.mode-icon { font-size: 14px; }

/* 上传图片卡 */
.card-label { color: #333; padding: 18px 24px 0; font-size: 14px; font-weight: 600; }
.card-label .tag { color: var(--text-3); font-weight: 400; font-size: 12px; margin-left: 4px; }
.card-body { padding: 14px 24px 22px; }
.img-upload { margin-bottom: 0; }
.img-upload .el-upload__text { color: var(--text-2); font-size: 13px; }
.img-upload .el-upload__tip { color: var(--text-3); font-size: 12px; }
.upload-icon { color: #999; margin-bottom: 2px; }
.preview-wrap {
  cursor: pointer; background: #f0efee; border-radius: 14px;
  display: flex; justify-content: center; align-items: center;
  width: 200px; height: 200px; margin: 16px auto 0; overflow: hidden;
  box-shadow: 0 0 16px #0000000d, 0 2px 8px #00000014;
  transition: transform .2s, box-shadow .2s;
}
.preview-wrap:hover { transform: scale(1.02); box-shadow: 0 0 24px #00000014, 0 4px 16px #0000001f; }
.preview-img { width: 100%; height: 100%; object-fit: cover; }

/* 预设素材 */
.preset-section { padding: 8px 0; }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 8px 0; }
.preset-item {
  cursor: pointer; background: #f0efee; border: 2px solid transparent; border-radius: 12px;
  transition: border-color .2s, transform .15s; position: relative; overflow: hidden; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.preset-item:hover { transform: translateY(-2px); }
.preset-item.selected { border-color: #e65100; }
.preset-item img { aspect-ratio: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.preset-img-loading { color: #ccc; background: #f5f5f5; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; font-size: 20px; }
.preset-check {
  color: #fff; background: #e65100; border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  width: 24px; height: 24px; font-size: 14px; position: absolute; top: 6px; right: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.preset-only-hint { text-align: center; color: #e65100; background: #fff8f0; border-radius: 8px; margin-bottom: 12px; padding: 8px; font-size: 13px; }
.preset-pagination { display: flex; justify-content: center; margin-top: 12px; }
.preset-login-hint { text-align: center; color: #999; padding: 32px 16px; font-size: 13px; }
.preset-login-hint .el-icon { color: #ddd; margin-bottom: 8px; }
.preset-login-hint p { margin: 0 0 12px; }

/* 提交按钮 */
.submit-bar { padding: 4px 24px 22px; }
.submit-btn { width: 100%; height: 46px; font-size: 15px; font-weight: 600; letter-spacing: 2px; }
.bg-hint { text-align: center; color: var(--text-3); font-size: 12px; padding: 0 24px 16px; }

/* 工具入口 */
.toolmode-bar { text-align: center; padding: 12px 0 4px; }
.tool-entry { cursor: pointer; margin: 16px 10px 0; padding: 0; transition: box-shadow .2s; overflow: hidden; }
.tool-entry:hover { box-shadow: 0 0 30px #0000000d, 0 2px 6px #0000000f, 0 8px 20px #00000014; }
.tool-entry-inner { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.tool-entry-icon { color: #e65100; flex-shrink: 0; }
.tool-entry-text { flex: 1; text-align: left; }
.tool-entry-title { color: #222; font-size: 14px; font-weight: 600; }
.tool-entry-desc { color: #999; margin-top: 2px; font-size: 12px; }
.tool-entry-arrow { color: #ccc; flex-shrink: 0; }
.tool-entry-gif { color: #e65100; display: flex; align-items: center; gap: 8px; padding: 0 20px 14px; font-size: 12px; }
.tool-entry-opt { cursor: pointer; border-top: 1px solid #f0efee; display: flex; align-items: center; gap: 14px; padding: 14px 20px; transition: background .15s; }
.tool-entry-opt:hover { background: #fafaf9; }

/* 执行日志 */
.log-panel { padding: 16px 20px 20px; }
.log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.log-title { color: #333; font-size: 14px; font-weight: 600; }
.clear-btn { color: #999 !important; font-size: 12px !important; }
.clear-btn:hover { color: #e65100 !important; }
.log-area {
  background: #fafaf9; border: 1px solid #eee; border-radius: 12px;
  min-height: 90px; max-height: 280px; padding: 12px 14px;
  font-size: 13px; line-height: 1.7; overflow-y: auto;
}
.log-empty { color: #bbb; text-align: center; padding: 20px 0; font-size: 13px; }
.log-line { display: flex; align-items: flex-start; gap: 6px; padding: 1px 0; animation: fadeIn .15s; }
.log-icon { flex-shrink: 0; margin-top: 2px; line-height: 1; }
.log-time { color: #bbb; flex-shrink: 0; margin-top: 1px; font-size: 11px; }
.log-msg { word-break: break-word; }
.log-line.log-info .log-msg { color: #444; }
.log-line.log-ok .log-msg { color: #2b8a3e; }
.log-line.log-send .log-msg { color: #1a73e8; }
.log-line.log-error .log-msg { color: #d93025; }
@keyframes fadeIn { 0% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: translateY(0); } }

/* 工具页 */
.vt-card, .igt-card { padding: 0; overflow: hidden; }
.vt-header, .igt-header { border-bottom: 1px solid #f0efee; display: flex; align-items: center; gap: 10px; padding: 14px 20px; }
.vt-back, .igt-back { color: #666; font-size: 13px; }
.vt-title, .igt-title { color: #222; font-size: 15px; font-weight: 600; flex: 1; }
.vt-upload, .igt-upload { padding: 18px 20px 8px; }
.vt-upload-icon, .igt-upload-icon { color: #999; }
.vt-video { background: #000; width: 100%; max-height: 320px; display: block; }
.vt-meta { text-align: center; color: #999; padding: 8px 20px 2px; font-size: 12px; }
.vt-form, .igt-form { padding: 12px 20px 4px; }
.vt-actions, .igt-actions { padding: 8px 20px 4px; }
.vt-progress, .igt-progress { padding: 4px 20px 12px; }
.vt-progress-text, .igt-progress-text { text-align: center; color: #999; margin-top: 4px; font-size: 12px; }
.vt-result, .igt-result { border-top: 1px solid #f0efee; margin: 10px 20px 18px; padding-top: 14px; }
.vt-result-label, .igt-result-label { color: #333; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.vt-result-img { object-fit: contain; background: #fafaf9; border-radius: 8px; width: 100%; max-height: 200px; }
.vt-result-size, .igt-result-size { text-align: center; color: #666; margin: 8px 0; font-size: 12px; }
.vt-result-actions, .igt-result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }

/* 多图转GIF */
.igt-frames { padding: 14px 20px 4px; }
.igt-frames-label { color: #333; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.igt-frame-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.igt-frame-item { cursor: grab; background: #f5f5f5; border: 2px solid transparent; border-radius: 10px; transition: border-color .15s, transform .15s; position: relative; overflow: hidden; }
.igt-frame-item:active { cursor: grabbing; }
.igt-frame-dragging { opacity: .5; }
.igt-frame-over { border-color: #e65100; }
.igt-frame-index {
  z-index: 2; color: #fff; background: #e65100e6; border-radius: 10px;
  display: flex; justify-content: center; align-items: center;
  min-width: 20px; height: 20px; padding: 0 5px; font-size: 11px; position: absolute; top: 4px; left: 4px;
}
.igt-frame-img { aspect-ratio: 1; object-fit: cover; width: 100%; display: block; }
.igt-frame-name {
  color: #fff; white-space: nowrap; text-overflow: ellipsis;
  background: linear-gradient(#0000, #000000a6); padding: 4px 6px;
  font-size: 10px; position: absolute; bottom: 0; left: 0; right: 0; overflow: hidden;
}
.igt-frame-remove {
  z-index: 3; background: #00000073; border-radius: 50%; width: 20px; height: 20px;
  padding: 0; position: absolute; top: 2px; right: 2px; color: #fff !important;
}
.igt-hint { color: #999; margin-left: 8px; font-size: 12px; }
.igt-result-img { object-fit: contain; background: #fafaf9; border-radius: 8px; width: 100%; max-height: 220px; }

/* 动图优化 */
.go-body { padding: 0 4px; }
.go-preview { background: #fafaf9; border-radius: 10px; display: flex; justify-content: center; align-items: center; min-height: 120px; margin-bottom: 12px; overflow: hidden; }
.go-img { max-width: 100%; max-height: 200px; display: block; }
.go-size { text-align: center; color: #666; margin-bottom: 14px; font-size: 13px; }
.go-form { margin-top: 4px; }
.go-frame-section { margin-top: 2px; }
.go-section-title { color: #333; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.go-frame-count { color: #999; margin-left: 4px; font-size: 12px; font-weight: 400; }
.go-viewer { background: #f8f8f7; border-radius: 10px; margin: 4px 0 10px; padding: 10px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.go-viewer-stage {
  background: linear-gradient(45deg,#efefef 25%,#0000 25%) -8px 0/16px 16px,
    linear-gradient(-45deg,#efefef 25%,#0000 25%) -8px 0/16px 16px,
    linear-gradient(45deg,#0000 75%,#efefef 75%) -8px 0/16px 16px,
    linear-gradient(-45deg,#0000 75%,#efefef 75%) -8px 0/16px 16px, #fff;
  border-radius: 8px; display: flex; justify-content: center; align-items: center;
  min-height: 140px; position: relative; overflow: hidden;
}
.go-viewer-img { max-width: 100%; max-height: 200px; display: block; }
.go-viewer-img.is-deleted { filter: grayscale(); opacity: .45; }
.go-viewer-empty { color: #bbb; padding: 40px 0; font-size: 13px; }
.go-viewer-badge { color: #fff; background: #f44747e6; border-radius: 10px; padding: 2px 8px; font-size: 11px; position: absolute; top: 8px; left: 8px; }
.go-viewer-ctrl { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; }
.go-viewer-counter { color: #555; text-align: center; min-width: 92px; font-size: 13px; }
.go-range-wrap { margin: 8px 0 10px; padding: 0 4px; }
.go-range-label { text-align: center; color: #999; margin-top: 2px; font-size: 12px; }
.go-strip-placeholder { text-align: center; color: #bbb; padding: 16px 8px; font-size: 12px; line-height: 1.5; }
.go-strip { background: #f8f8f7; border-radius: 8px; display: flex; gap: 3px; padding: 4px 0; overflow-x: auto; }
.go-strip::-webkit-scrollbar { height: 4px; }
.go-strip::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.go-frame-tile { cursor: pointer; opacity: .92; border-radius: 4px; flex-shrink: 0; width: 44px; transition: opacity .12s, box-shadow .12s; position: relative; overflow: hidden; }
.go-frame-tile.out { opacity: .3; }
.go-frame-tile.deleted .go-frame-img { filter: grayscale(); opacity: .4; }
.go-frame-tile.focused { z-index: 1; opacity: 1; box-shadow: 0 0 0 2px #e65100; }
.go-frame-tile:hover { opacity: 1; }
.go-frame-img { object-fit: cover; background: #eee; width: 44px; height: 44px; display: block; }
.go-frame-num { text-align: center; color: #fff; background: #0000008c; font-size: 9px; line-height: 12px; display: block; position: absolute; bottom: 0; left: 0; right: 0; }
.go-frame-x {
  text-align: center; color: #fff; cursor: pointer; opacity: 0; background: #00000080;
  border: none; border-radius: 50%; width: 15px; height: 15px; padding: 0;
  font-size: 12px; line-height: 13px; transition: opacity .12s, background .12s;
  position: absolute; top: 1px; right: 1px;
}
.go-frame-tile:hover .go-frame-x { opacity: 1; }
.go-frame-x:hover { background: #f44747; }
.go-frame-x.on { opacity: 1; background: #2b8a3e; }

/* 响应式 */
@media (max-width: 480px) {
  .container { margin: 16px auto 32px; padding: 0 12px; }
  .header-top { padding: 14px 16px 4px; }
  .h-brand { gap: 10px; }
  .title { font-size: 18px; }
  .subtitle { font-size: 10px; }
  .card-info { gap: 6px; padding: 8px 0 6px; }
  .card-detail { font-size: 10px; }
  .header-body { padding: 16px; }
  .mode-tabs { gap: 4px; padding: 3px; }
  .mode-tab { gap: 4px; padding: 7px 0; font-size: 12px; }
  .help-body { padding: 12px 16px; }
  .account-card { gap: 10px; padding: 12px 14px; }
  .account-avatar { width: 48px; height: 48px; }
  .account-name { font-size: 14px; }
  .account-detail { font-size: 11px; }
  .preset-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 6px 0; }
  .preset-check { width: 20px; height: 20px; font-size: 12px; top: 4px; right: 4px; }
  .preset-only-hint { margin-bottom: 8px; padding: 6px; font-size: 12px; }
  .tool-entry-inner { gap: 10px; padding: 14px 16px; }
  .igt-frame-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .go-frame-tile { width: 38px; }
  .go-frame-img { width: 38px; height: 38px; }
  .card-label { padding: 14px 16px 0; }
  .card-body { padding: 10px 16px 18px; }
  .submit-bar { padding: 2px 16px 18px; }
  .log-panel { padding: 12px 14px 16px; }
  .preview-wrap { width: 160px; height: 160px; }
}
