/* ---------- 设计令牌 ---------- */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #eff1f4;
  --border: #e4e7ec;
  --border-strong: #d3d8e0;
  --text: #14171c;
  --text-2: #424954;
  --muted: #6b7280;
  --faint: #9aa1ad;

  --accent: #3656e0;
  --accent-hover: #2946c4;
  --accent-soft: #edf1fe;
  --accent-ring: rgb(54 86 224 / .22);
  --on-accent: #ffffff;

  --ok: #16803c;
  --ok-soft: #e9f6ee;
  --warn: #b0530a;
  --warn-soft: #fdf3e5;
  --bad: #c2352a;
  --bad-soft: #fdeeec;

  --shadow-sm: 0 1px 2px rgb(16 24 40 / .05);
  --shadow: 0 1px 2px rgb(16 24 40 / .04), 0 4px 16px rgb(16 24 40 / .05);
  --shadow-lg: 0 24px 64px rgb(16 24 40 / .18), 0 2px 8px rgb(16 24 40 / .06);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014;
    --surface: #16191f;
    --surface-2: #1a1e25;
    --surface-3: #21262e;
    --border: #262b33;
    --border-strong: #353b46;
    --text: #eceef1;
    --text-2: #c2c7cf;
    --muted: #8e96a2;
    --faint: #69717d;

    --accent: #7d94ff;
    --accent-hover: #97a9ff;
    --accent-soft: rgb(125 148 255 / .13);
    --accent-ring: rgb(125 148 255 / .32);
    --on-accent: #0b1022;

    --ok: #5bcb8d;
    --ok-soft: rgb(91 203 141 / .12);
    --warn: #efb45a;
    --warn-soft: rgb(239 180 90 / .12);
    --bad: #f3807a;
    --bad-soft: rgb(243 128 122 / .12);

    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow: 0 1px 2px rgb(0 0 0 / .25), 0 6px 20px rgb(0 0 0 / .25);
    --shadow-lg: 0 24px 64px rgb(0 0 0 / .55);
    color-scheme: dark;
  }
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
kbd {
  font: 500 11px/1 var(--mono);
  padding: 3px 5px; border-radius: 5px;
  border: 1px solid var(--border-strong); border-bottom-width: 2px;
  background: var(--surface); color: var(--muted);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.65; }
.small { font-size: 12px; }
.mono { font-family: var(--mono); font-size: 12px; }
.spacer { flex: 1; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.icon { display: inline-flex; width: 16px; height: 16px; flex: none; }
.icon svg { width: 100%; height: 100%; }
.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 表单控件 ---------- */
.input, textarea, input:not([type]), input[type="password"], input[type="text"] {
  width: 100%;
  font: inherit; color: inherit;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, textarea:focus, input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
::placeholder { color: var(--faint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 14px;
  font: 500 14px/1 var(--font); color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-text { background: none; border: 0; color: var(--muted); padding: 0 4px; }
.btn-text:hover { background: none; color: var(--text); }
.btn-sm { height: 32px; padding: 0 10px; font-size: 13px; }
.btn-lg { height: 44px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-danger { color: var(--bad); }
.btn.armed { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn .icon { width: 15px; height: 15px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: var(--text-2); cursor: pointer;
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.icon-btn .icon { width: 18px; height: 18px; }

.switch {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 34px; height: 20px; margin: 0;
  border-radius: 999px; background: var(--border-strong);
  position: relative; cursor: pointer; transition: background .2s;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25);
  transition: transform .2s;
}
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(14px); }

input[type="checkbox"]:not(.switch), input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; }

.form-err { color: var(--bad); font-size: 13px; margin-top: 8px; }
.form-err:empty { display: none; }

/* ---------- 登录 ---------- */
.login {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center; padding: 24px 16px;
  background:
    radial-gradient(60rem 30rem at 50% -10%, var(--accent-soft), transparent 70%),
    var(--bg);
}
.login-card {
  width: min(360px, 100%);
  display: grid; gap: 12px; justify-items: center;
  padding: 36px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.login-logo { width: 48px; height: 48px; margin-bottom: 4px; }
.login-card h1 { font-size: 22px; font-weight: 650; letter-spacing: .02em; }
.login-sub { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.login-card .input { height: 44px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.topbar-inner {
  max-width: 1040px; margin: 0 auto;
  height: 60px; padding: 0 20px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 16px; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.stats { display: flex; justify-content: flex-end; gap: 8px; min-width: 0; overflow: hidden; }
.stat {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0;
  height: 28px; padding: 0 10px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-2); white-space: nowrap;
}
.stat .icon { width: 14px; height: 14px; color: var(--muted); }
.stat b { font-weight: 600; color: var(--text); }

/* ---------- 主体 ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; min-width: 0; }
.hero { text-align: center; margin-bottom: 28px; }
.hero h1 { font-size: clamp(24px, 4.2vw, 32px); font-weight: 700; letter-spacing: .01em; line-height: 1.3; }
.hero p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.notice {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; margin-bottom: 16px;
  border-radius: var(--r); font-size: 14px;
}
.notice .icon { width: 18px; height: 18px; margin-top: 2px; }
.notice-warn { background: var(--warn-soft); color: var(--warn); }

.composer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.composer:focus-within { border-color: var(--accent); box-shadow: var(--shadow), 0 0 0 4px var(--accent-ring); }
.composer textarea {
  display: block; width: 100%;
  min-height: 60px; max-height: 220px;
  padding: 18px 18px 6px;
  border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: transparent; box-shadow: none !important;
  font-size: 16px; line-height: 1.55;
  resize: none; overflow-y: auto; word-break: break-all;
}
.composer-opts { padding: 6px 18px 4px; display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.switch-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.composer-bar { display: flex; align-items: center; gap: 4px; padding: 10px 10px 10px 8px; }
.composer-bar .btn-primary { padding: 0 16px 0 18px; height: 40px; border-radius: 10px; }
.btn[aria-expanded="true"] { background: var(--surface-3); color: var(--text); }
.kbd-hint { font-size: 12px; color: var(--faint); margin-right: 10px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- 任务列表 ---------- */
.tasks { margin-top: 44px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 12px; }
.section-head h2 { font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.count {
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--surface-3); border-radius: 999px; padding: 1px 8px;
}
.count:empty { display: none; }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.job {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: grid; gap: 14px; min-width: 0;
  animation: rise .25s ease-out;
}
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
.job.is-ready { border-color: color-mix(in srgb, var(--warn) 35%, var(--border)); }
.job-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.thumb {
  width: 64px; height: 64px; border-radius: 12px; object-fit: cover;
  background: var(--surface-3);
}
.thumb-ph {
  width: 64px; height: 64px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.thumb-ph .icon { width: 26px; height: 26px; }
.job-title {
  font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
a.job-title:hover { text-decoration: none; color: var(--accent); }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.job-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.run { color: var(--accent); }
.status.run::before { animation: pulse 1.4s ease-in-out infinite; }
.status.wait { color: var(--warn); }
.status.ok { color: var(--ok); }
.status.bad { color: var(--bad); }
.status.idle { color: var(--muted); }
@keyframes pulse { 50% { opacity: .35; } }

.msg { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.6; padding: 10px 12px; border-radius: 10px; background: var(--surface-3); color: var(--text-2); }
.msg .icon { width: 16px; height: 16px; margin-top: 2px; }
.msg.bad { background: var(--bad-soft); color: var(--bad); }
.msg.warn { background: var(--warn-soft); color: var(--warn); }

.prog { display: grid; gap: 8px; }
.prog-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-2); }
.prog-top b { font-weight: 600; color: var(--text); }
.prog-sub { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #9b7bff)); transition: width .6s ease; }
.bar.indet > i { width: 35%; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

.result {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px; background: var(--ok-soft);
}
.result-main { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.result-main .icon { width: 18px; height: 18px; color: var(--ok); }
.result-path { font-size: 13px; color: var(--text); font-weight: 500; }
.result-sub { font-size: 12px; color: var(--muted); }
.result .btn { background: var(--surface); }

.actions { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; margin: -4px -4px -6px 0; }

/* ---------- 识别结果：选择面板 ---------- */
.choices { display: grid; gap: 12px; }
.opt {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-2); padding: 14px;
  display: grid; gap: 12px; min-width: 0;
}
.opt-head { display: flex; align-items: center; gap: 10px; }
.opt-head .icon { width: 18px; height: 18px; color: var(--accent); }
.opt-title { font-size: 14px; font-weight: 600; }
.opt-sub { font-size: 12px; color: var(--muted); }
.opt-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label {
  display: inline-flex; align-items: baseline; gap: 6px;
  height: 34px; align-items: center; padding: 0 12px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface); font-size: 13px; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.seg label:hover { border-color: var(--accent); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg small { color: var(--muted); font-size: 11px; }
.seg label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.seg label:has(input:checked) small { color: inherit; opacity: .8; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.cands { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; max-height: 320px; overflow: auto; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.cands label { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.cands label:hover { background: var(--surface-3); }
.cands .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cands .nm small { color: var(--muted); margin-left: 6px; }
.tag { font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: 6px; background: var(--surface-3); color: var(--muted); font-weight: 500; }
.tag.t-video, .tag.t-stream { background: var(--accent-soft); color: var(--accent); }
.tag.t-archive, .tag.t-app { background: var(--warn-soft); color: var(--warn); }
.tag.t-image { background: var(--ok-soft); color: var(--ok); }

.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.samples img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--surface-3); }
.entries { margin: 0; padding: 8px 8px 8px 34px; max-height: 240px; overflow: auto; font-size: 12px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.entries li { padding: 2px 0; }
.entries li span { color: var(--muted); margin-left: 6px; }
details.peek summary { cursor: pointer; font-size: 12px; color: var(--accent); list-style: none; width: fit-content; }
details.peek summary::-webkit-details-marker { display: none; }
details.peek[open] summary { margin-bottom: 8px; }
.range-input { max-width: 260px; height: 34px; padding: 6px 10px; font-size: 13px; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 48px 16px 32px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.empty-art { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.empty-art .icon { width: 30px; height: 30px; }
.empty-title { font-weight: 600; font-size: 15px; }
.empty-sub { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ---------- 设置抽屉 ---------- */
.sheet {
  padding: 0; border: 0;
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-lg);
  width: min(440px, 100vw); max-width: 100vw;
  height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0 0 0 auto;
  border-left: 1px solid var(--border);
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .22s ease-out; }
.sheet::backdrop { background: rgb(8 10 14 / .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
@keyframes sheet-in { from { transform: translateX(24px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--border); }
.sheet-head h2 { font-size: 17px; font-weight: 650; }
.sheet-body { flex: 1; overflow-y: auto; padding: 8px 24px 28px; display: grid; align-content: start; gap: 4px; }
.panel { padding: 20px 0; border-bottom: 1px solid var(--border); display: grid; gap: 12px; }
.panel h3 { font-size: 13px; font-weight: 650; color: var(--text-2); letter-spacing: .02em; }
.drive-info { display: grid; gap: 10px; }
.drive-line { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); flex: none; }
.dot.off { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.meter { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list li { display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 4px 0 10px; border-radius: 999px; background: var(--surface-3); font-size: 12px; }
.chip-list li.none { padding: 0 10px; color: var(--muted); }
.chip-list button { width: 22px; height: 22px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 50%; cursor: pointer; }
.chip-list button:hover { background: var(--border); color: var(--bad); }
.chip-list .icon { width: 12px; height: 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
#btn-logout { margin-top: 20px; color: var(--muted); }

/* ---------- 轻提示 ---------- */
.toasts { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px;
  background: var(--text); color: var(--bg);
  box-shadow: var(--shadow-lg); font-size: 14px;
  animation: rise .2s ease-out;
}
.toast .icon { width: 18px; height: 18px; margin-top: 1px; }
.toast.bad .icon { color: var(--bad); }
.toast.ok .icon { color: var(--ok); }

/* ---------- 窄屏 ---------- */
@media (max-width: 640px) {
  .topbar-inner { height: 56px; padding: 0 12px 0 16px; gap: 10px; }
  .brand span { display: none; }
  .stat { padding: 0 8px; }
  .stat .lbl { display: none; }
  .wrap { padding: 28px 16px 64px; }
  .hero { margin-bottom: 20px; }
  .hero p { font-size: 14px; }
  .kbd-hint { display: none; }
  .composer textarea { padding: 16px 16px 4px; }
  .composer-opts { padding: 6px 16px 4px; }
  .tasks { margin-top: 32px; }
  .job { padding: 14px; }
  .job-head { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .thumb, .thumb-ph { width: 52px; height: 52px; border-radius: 10px; }
  .sheet { width: 100vw; height: auto; max-height: 88dvh; margin: auto 0 0; border-left: 0; border-radius: 20px 20px 0 0; }
  @keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
  .sheet-body { padding: 4px 20px calc(24px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bar.indet > i { width: 100%; opacity: .35; }
}
