/* ==========================================================================
   峰·AI 超市 · 工具统一设计系统 (theme.css)
   深色默认 + 浅色切换 / 玻璃拟态卡片 / 蓝→紫渐变强调色
   ========================================================================== */
:root {
  --bg: #19140c;
  --bg-2: #221c11;
  --glow-a: rgba(213,179,121, .20);
  --glow-b: rgba(214,181,124, .18);
  --grid-line: rgba(230,209,173, .045);
  --card: rgba(255, 255, 255, .045);
  --card-2: rgba(255, 255, 255, .07);
  --card-solid: rgba(36,30,19, .92);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #efe8dc;
  --text-2: #a3acc2;
  --text-3: #6f7891;
  --accent-1: #d5b379;
  --accent-2: #d6b57c;
  --accent: linear-gradient(135deg, #d5b379 0%, #d6b57c 100%);
  --accent-soft: linear-gradient(135deg, rgba(213,179,121,.16), rgba(214,181,124,.16));
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 9px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --shadow-glow: 0 8px 30px rgba(215,182,125, .35);
  --checker-a: #31291c;
  --checker-b: #3e3525;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f0e8db;
  --bg-2: #efe8dc;
  --glow-a: rgba(213,179,121, .16);
  --glow-b: rgba(214,181,124, .13);
  --grid-line: rgba(116,97,64, .05);
  --card: rgba(255, 255, 255, .62);
  --card-2: rgba(255, 255, 255, .85);
  --card-solid: rgba(255, 255, 255, .96);
  --border: rgba(57,45,23, .09);
  --border-strong: rgba(57,45,23, .16);
  --text: #292216;
  --text-2: #4c5670;
  --text-3: #8a93a8;
  --shadow: 0 10px 34px rgba(76,61,34, .10);
  --shadow-glow: 0 8px 26px rgba(215,182,125, .28);
  --checker-a: #ece7df;
  --checker-b: #efe8dc;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
/* 背景：柔和光晕 + 细网格（科技感），不使用大面积纯色块 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, var(--glow-a), transparent 62%),
    radial-gradient(800px 520px at 92% 2%, var(--glow-b), transparent 60%),
    radial-gradient(700px 600px at 50% 115%, rgba(213,179,121,.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
a { color: var(--accent-1); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); font-size: 13px; }
.grad-text { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 12px clamp(14px, 3vw, 32px);
  padding-top: max(12px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: .2px; white-space: nowrap; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); box-shadow: var(--shadow-glow); color: #fff; flex: none;
}
.brand-mark svg { width: 17px; height: 17px; }
.brand .tag { font-size: 11px; font-weight: 500; color: var(--text-2); padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; }
.topbar .spacer { flex: 1; }
.icon-btn {
  height: 38px; min-width: 38px; padding: 0 12px; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  transition: border-color .2s, background .2s, transform .1s;
  font-size: 14px;
}
.icon-btn:hover { border-color: var(--border-strong); background: var(--card-2); }
.icon-btn:active { transform: scale(.97); }
.icon-btn svg { width: 18px; height: 18px; flex: none; }
.icon-btn .badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.icon-btn.active { border-color: transparent; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(220,192,143,.55); }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 历史记录下拉面板 ---------- */
.history-wrap { position: relative; }
.history-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, calc(100vw - 24px));
  max-height: min(70vh, 560px); display: flex; flex-direction: column;
  background: var(--card-solid); border: 1px solid var(--border-strong); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: var(--shadow); overflow: hidden;
  transform-origin: top right; animation: pop .16s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.history-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; border-bottom: 1px solid var(--border); }
.history-head b { font-size: 14px; }
.history-list { overflow-y: auto; padding: 8px; -webkit-overflow-scrolling: touch; }
.history-empty { padding: 30px 16px; text-align: center; color: var(--text-3); font-size: 13px; }
.history-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.history-item:hover { background: var(--card); }
.history-item .thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid var(--border); background: repeating-conic-gradient(var(--checker-a) 0 25%, var(--checker-b) 0 50%) 0 0/12px 12px; }
.history-item .meta { flex: 1; min-width: 0; }
.history-item .meta .t { font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-item .meta .s { font-size: 12px; color: var(--text-3); }
.history-item a.dl { flex: none; }
.history-foot { padding: 10px 16px 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--text-2); cursor: pointer; font-size: 12px; }
.link-btn:hover { color: var(--err); }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 32px) 60px; }
.hero { padding: clamp(22px, 5vw, 44px) 0 clamp(14px, 3vw, 24px); text-align: center; }
.hero h1 { margin: 0 0 8px; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.2; letter-spacing: -.5px; font-weight: 750; }
.hero p { margin: 0 auto; max-width: 620px; color: var(--text-2); font-size: clamp(14px, 1.6vw, 16px); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.chip { font-size: 12px; color: var(--text-2); padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); }
.chip i { font-style: normal; color: var(--accent-1); margin-right: 4px; }

/* ---------- 步骤条：上传 → 处理 → 下载 ---------- */
.steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px auto 22px; flex-wrap: nowrap; }
.step { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; white-space: nowrap; transition: color .2s; }
.step .num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 650;
  border: 1px solid var(--border-strong); background: var(--card); transition: all .25s;
}
.step.active { color: var(--text); }
.step.active .num { background: var(--accent); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }
.step.done { color: var(--text-2); }
.step.done .num { border-color: rgba(220,192,143,.6); color: var(--accent-1); }
.step-line { width: clamp(18px, 6vw, 64px); height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }

/* ---------- 玻璃卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
  padding: clamp(14px, 2.2vw, 22px);
  position: relative;
}
.card::before { /* 顶部高光描边 */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.14), transparent 40%, transparent 70%, rgba(214,181,124,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.card-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(220,192,143,.8); }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: .6px; color: var(--text-3); margin: 16px 0 8px; text-transform: uppercase; }
.section-label:first-child { margin-top: 0; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.workspace .side { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- 上传区 ---------- */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 300px; padding: 36px 20px; border-radius: var(--radius); cursor: pointer;
  border: 1.5px dashed var(--border-strong); background: var(--accent-soft);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent-1); box-shadow: 0 0 0 4px rgba(213,179,121,.12), var(--shadow-glow); }
.dropzone .dz-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 14px; background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.dropzone .dz-icon svg { width: 30px; height: 30px; }
.dropzone h3 { margin: 0 0 6px; font-size: 18px; font-weight: 650; }
.dropzone p { margin: 0; color: var(--text-2); font-size: 13px; }
.dropzone { position: relative; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; font-size: 0; }

/* ---------- 选项 / 模板网格 ---------- */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.opt-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 12px 8px; min-height: 64px; border-radius: 14px; cursor: pointer; user-select: none;
  background: var(--card); border: 1px solid var(--border); transition: border-color .18s, background .18s, transform .1s;
}
.opt:hover { border-color: var(--border-strong); background: var(--card-2); }
.opt:active { transform: scale(.98); }
.opt.disabled { opacity: .4; cursor: not-allowed; }
.opt.selected { background: var(--accent-soft); border-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(220,192,143,.85), 0 6px 20px rgba(215,182,125,.18); }
.opt.selected::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(220,192,143,.9); }
.opt .o-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.opt .o-sub { font-size: 11.5px; color: var(--text-3); line-height: 1.3; }
.opt .swatch { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--border-strong); }
.opt svg { width: 22px; height: 22px; color: var(--text-2); }
.opt.selected svg { color: var(--accent-1); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text);
  font-size: 14.5px; font-weight: 600; cursor: pointer; transition: transform .1s, box-shadow .2s, border-color .2s, opacity .2s; white-space: nowrap;
  text-decoration: none;
}
.btn:hover { border-color: var(--border-strong); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(215,182,125,.5); border-color: transparent; }
.btn-block { width: 100%; }
.btn-lg { height: 50px; font-size: 15.5px; border-radius: 14px; }
.btn:disabled, .btn.disabled { opacity: .45; cursor: not-allowed; box-shadow: none; pointer-events: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row > .btn { flex: 1; }

/* ---------- 表单控件 ---------- */
.field { margin-bottom: 14px; }
.field-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.field-head b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--card-2); outline: none; border: 1px solid var(--border); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid #dcbf8e; box-shadow: 0 2px 10px rgba(215,182,125,.5); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid #dcbf8e; cursor: pointer; }
.input, select.input { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); outline: none; }
.input:focus { border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(213,179,121,.15); }
input[type=color].color { width: 44px; height: 40px; padding: 3px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); cursor: pointer; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--card-2); border: 1px solid var(--border-strong); transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 20px; height: 20px; left: 2px; top: 2px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--accent); border-color: transparent; }
.switch input:checked + span::after { transform: translateX(18px); }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 9px; cursor: pointer; font-size: 13.5px; color: var(--text-2); }
.seg button.on { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }

/* ---------- 画布 / 预览 ---------- */
.stage {
  position: relative; width: 100%; border-radius: var(--radius-sm); overflow: hidden;
  background: repeating-conic-gradient(var(--checker-a) 0 25%, var(--checker-b) 0 50%) 0 0/20px 20px;
  border: 1px solid var(--border);
}
.preview-img { display: block; margin: 0 auto; max-width: 100%; max-height: 68vh; object-fit: contain; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar .sep { width: 1px; height: 24px; background: var(--border); margin: 0 2px; }

/* 前后对比滑块 */
.compare { position: relative; user-select: none; -webkit-user-select: none; touch-action: pan-y; line-height: 0; }
.compare img { display: block; width: 100%; height: auto; pointer-events: none; }
.compare .after-wrap { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 50%); background: repeating-conic-gradient(var(--checker-a) 0 25%, var(--checker-b) 0 50%) 0 0/16px 16px; }
.compare .after-wrap img { width: 100%; height: 100%; object-fit: contain; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); cursor: ew-resize; }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; line-height: 1; color: #fff; background: var(--accent); box-shadow: var(--shadow-glow); }
.compare .lbl { position: absolute; top: 10px; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: rgba(25,20,11,.62); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.compare .lbl.l { left: 10px; } .compare .lbl.r { right: 10px; }

/* ---------- 进度 / 加载 ---------- */
.progress { height: 6px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .3s; }
.progress.indeterminate > i { width: 35%; animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.busy-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 5;
  background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.busy-overlay .progress { width: min(260px, 70%); }
.busy-overlay .txt { font-size: 14px; color: var(--text); }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(220,192,143,.25); border-top-color: #dcc08f; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 提示 ---------- */
.toast-box { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { padding: 10px 16px; border-radius: 12px; font-size: 14px; background: var(--card-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: pop .18s ease-out; }
.toast.err { border-color: rgba(248,113,113,.5); }
.toast.ok { border-color: rgba(52,211,153,.5); }
.note { font-size: 12.5px; color: var(--text-3); line-height: 1.6; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.kv span:nth-child(odd) { color: var(--text-3); }

.footer { text-align: center; color: var(--text-3); font-size: 12px; padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); }

/* ---------- 手机端底部操作条 ---------- */
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar { display: flex; align-items: center; gap: 10px; position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 20; margin-top: 4px;
    padding: 10px 12px; border-radius: 16px; background: var(--card-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .mobile-bar .btn { height: 42px; padding: 0 16px; }
  .mobile-bar .grow { flex: 1; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .toast-box { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .workspace .side { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .brand .tag { display: none; }
  .icon-btn .lbl-txt { display: none; }
  .steps { gap: 6px; }
  .step { font-size: 13px; gap: 6px; }
  .step .num { width: 22px; height: 22px; font-size: 12px; }
  .step-line { width: 14px; }
  .dropzone { min-height: 230px; padding: 28px 16px; }
  .opt-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
  .opt { padding: 10px 6px; min-height: 58px; border-radius: 12px; }
  .history-panel { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; }
  .card { border-radius: 14px; }
}

/* 默认访问口令弹窗（ui.js 的 UI.askToken） */
.ffx-login-mask { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ffx-login-card { width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; text-align: center; animation: pop .18s ease-out; background: var(--card-solid); }
.ffx-login-card h3 { margin: 0; font-size: 18px; }
.ffx-login-card p { margin: 0; }
.ffx-login-ic { width: 52px; height: 52px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.ffx-login-ic svg { width: 24px; height: 24px; }
.ffx-login-err { color: var(--err); font-size: 13px; }
