/* 百度网盘授权中心 · 成章素材导入
   设计意图：这是「授权凭证」而不是普通设置页——墨绿像盖章的印泥，米白像档案纸。
   视觉重心放在当前账号的凭证卡（深墨绿、双线内框、二维码质感的暗纹），
   其余区域保持纸张式克制：细线、账本式账号行、衬线标题。 */

:root {
  --paper: #f4f5f2;
  --paper-2: #eceee7;
  --white: #fffdf8;
  --ink: #245c46;
  --ink-deep: #14372a;
  --ink-soft: #527565;
  --line: rgba(36, 92, 70, 0.16);
  --line-strong: rgba(36, 92, 70, 0.3);
  --brass: #a9824a;
  --brass-soft: rgba(169, 130, 74, 0.14);
  --danger: #9c3b2e;
  --danger-soft: rgba(156, 59, 46, 0.08);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  border-top: 4px solid var(--ink);
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-deep); }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(36, 92, 70, 0.07);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.1em 0.35em;
  white-space: nowrap;
}
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 30px 36px 56px;
}

/* ---------- 页眉 ---------- */
.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.seal {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(244, 245, 242, 0.55);
}
.brand-text { min-width: 0; }
.kicker {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink-deep);
}
.masthead-actions { display: flex; align-items: center; gap: 10px; padding-top: 8px; }

/* ---------- 提示条 ---------- */
.notices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
}
.notice { display: flex; align-items: center; gap: 7px; }
.notice svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--ink); }

/* ---------- 通用按钮 ---------- */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn-ghost { border-color: var(--line-strong); }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: var(--white); }
.btn-sm { padding: 7px 11px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 245, 242, 0.4);
  border-radius: 3px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.icon-btn:hover { background: rgba(244, 245, 242, 0.12); }
.icon-btn svg { width: 15px; height: 15px; }

/* ---------- 标签 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink-soft);
  white-space: nowrap;
}
.pill-brass { border-color: rgba(169, 130, 74, 0.5); background: var(--brass-soft); color: #7d5c2f; }
.pill-ink { border-color: rgba(36, 92, 70, 0.3); background: rgba(36, 92, 70, 0.08); color: var(--ink); }
.pill-on-ink { border-color: rgba(244, 245, 242, 0.35); background: rgba(244, 245, 242, 0.09); color: var(--paper); }

/* ---------- 未配置引导 ---------- */
.guide {
  margin: 26px 0 8px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 0 4px 4px 0;
}
.guide-head h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.guide-lede { margin-top: 10px; max-width: 76ch; color: var(--ink-soft); }
.guide-steps { list-style: none; counter-reset: guide; margin: 18px 0 12px; display: grid; gap: 14px; }
.guide-steps li {
  counter-increment: guide;
  position: relative;
  padding-left: 38px;
  min-height: 28px;
}
.guide-steps li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ink);
}
.guide-step-title { display: block; font-weight: 600; color: var(--ink-deep); }
.guide-steps p { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.guide-note { font-size: 12px; color: var(--ink-soft); padding-top: 12px; border-top: 1px dashed var(--line); }

/* ---------- 当前账号凭证 ---------- */
.hero { margin: 28px 0 40px; }
.hero-placeholder {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}
.credential {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 30px 34px 26px;
}
.credential::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(244, 245, 242, 0.22);
  border-radius: 2px;
  pointer-events: none;
}
/* 二维码质感的暗纹：呼应授权主题，同时压住大块深色的空 */
.credential::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -54px;
  width: 250px;
  height: 250px;
  background-image:
    linear-gradient(90deg, rgba(244, 245, 242, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 245, 242, 0.09) 1px, transparent 1px);
  background-size: 11px 11px;
  opacity: 0.6;
  transform: rotate(4deg);
  pointer-events: none;
}
.cred-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cred-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.avatar {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(244, 245, 242, 0.6);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}
/* 真实头像盖在首字回退层上；加载失败时 img 被 JS 移除，回退层继续显示。 */
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.small { width: 42px; height: 42px; font-size: 17px; }
.cred-name { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em; }
.cred-sub { color: rgba(244, 245, 242, 0.7); font-size: 12.5px; margin-top: 2px; }
.cred-sub .mono { font-family: var(--mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cred-actions { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.cred-actions .btn { border-color: rgba(244, 245, 242, 0.42); color: var(--paper); }
.cred-actions .btn:hover { background: var(--paper); color: var(--ink); }
.cred-actions .btn-danger { border-color: rgba(242, 184, 172, 0.65); color: #f2c6bc; }
.cred-actions .btn-danger:hover { background: #f2c6bc; border-color: #f2c6bc; color: var(--ink-deep); }
.cred-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: flex-end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 245, 242, 0.2);
}
.cred-stat { min-width: 130px; }
.cred-stat .label { display: block; font-size: 11px; letter-spacing: 0.1em; color: rgba(244, 245, 242, 0.6); margin-bottom: 2px; }
.cred-stat .value { font-family: var(--mono); font-size: 13px; }
.cred-quota { flex: 1 1 320px; min-width: 240px; }
.quota-head { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; color: rgba(244, 245, 242, 0.7); }
.quota-head strong { color: var(--paper); font-weight: 500; font-family: var(--mono); }
.quota-track {
  height: 6px;
  margin-top: 7px;
  border-radius: 3px;
  background: rgba(244, 245, 242, 0.18);
  overflow: hidden;
}
.quota-fill { height: 100%; background: #d9c9a3; border-radius: 3px; }
.quota-track.on-paper { background: var(--paper-2); border: 1px solid var(--line); }
.quota-track.on-paper .quota-fill { background: var(--ink); }
.cred-foot { position: relative; margin-top: 14px; font-size: 11.5px; color: rgba(244, 245, 242, 0.55); }

/* 空状态：像一张还没盖章的凭证 */
.empty-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 36px 34px;
  background: rgba(255, 253, 248, 0.66);
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
}
.empty-stamp {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 2px dashed var(--ink-soft);
  border-radius: 50%;
  transform: rotate(-7deg);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-align: center;
}
.empty-state h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.empty-state p { color: var(--ink-soft); max-width: 62ch; }
.empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.empty-hint { font-size: 12px; color: var(--ink-soft); }

/* ---------- 区块标题 ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.section-head h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.section-meta { font-size: 12px; color: var(--ink-soft); padding-bottom: 2px; }
.accounts { margin-bottom: 42px; }

/* ---------- 账号账本 ---------- */
.account-list { margin-top: 2px; }
.account-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 190px auto;
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.account-row.is-active {
  padding-left: 18px;
  background: rgba(36, 92, 70, 0.035);
  box-shadow: inset 3px 0 0 var(--ink);
}
.account-id { min-width: 0; }
.account-name { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.account-name strong { font-weight: 600; font-size: 15px; }
.account-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.account-sub .mono { font-family: var(--mono); }
.account-quota { min-width: 0; }
.account-quota .quota-head { color: var(--ink-soft); font-size: 11px; }
.account-quota .quota-head strong { color: var(--ink-deep); }
.account-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.account-empty { padding: 22px 4px; color: var(--ink-soft); font-size: 13px; border-bottom: 1px solid var(--line); }

/* ---------- 导入下载 ---------- */
.import { margin-bottom: 30px; }
.panel {
  margin-top: 18px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.panel-lede { color: var(--ink-soft); max-width: 84ch; margin-bottom: 20px; }
.import-form {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: 16px 18px;
  align-items: end;
}
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.02em; }
input[type="text"], input[type="url"], input[type="password"], select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink-deep);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
input::placeholder { color: rgba(82, 117, 101, 0.6); }
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(36, 92, 70, 0.12); }
.stack { display: grid; gap: 14px; }
.dir-preview, .job-panel { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.dir-preview h3, .job-panel h3 { font-size: 13px; font-weight: 600; color: var(--ink-deep); margin-bottom: 8px; }
.file-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.file-line:last-child { border-bottom: 0; }
.file-line .name { min-width: 0; overflow-wrap: anywhere; }
.file-line .meta { color: var(--ink-soft); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.file-line.is-dir .name::before { content: "目录 / "; color: var(--ink-soft); font-size: 11px; }
.job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.job-status { font-size: 12px; color: var(--ink-soft); }
.progress { height: 8px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--ink); transition: width 240ms ease; }
.progress-fill.is-failed { background: var(--danger); }
.job-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: 11.5px; color: var(--ink-soft); }
.job-error { margin-top: 12px; }
.share-fallback { margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--line); }
.share-fallback summary { cursor: pointer; color: var(--ink); font-size: 13px; }
.share-fallback summary:hover { color: var(--ink-deep); }
.share-fallback p { margin: 10px 0 12px; color: var(--ink-soft); font-size: 12.5px; max-width: 84ch; }
.share-form { display: flex; gap: 10px; flex-wrap: wrap; }
.share-form input { flex: 1 1 320px; }

/* ---------- 提示块 ---------- */
.alert {
  padding: 12px 14px;
  border-left: 3px solid var(--danger);
  background: var(--danger-soft);
  color: #6f2a20;
  font-size: 12.5px;
  border-radius: 0 3px 3px 0;
}
.alert strong { display: block; font-size: 13px; margin-bottom: 2px; }
.alert a { color: var(--danger); }

/* ---------- 页脚 ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 11.5px;
}

/* ---------- 弹层 ---------- */
.layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 55, 42, 0.44);
  animation: layer-in 160ms ease-out;
}
#loginLayer { z-index: 60; }
.dialog {
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 26px 70px rgba(20, 55, 42, 0.32);
  animation: dialog-in 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.dialog-narrow { width: min(460px, 100%); }
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--ink);
  color: var(--paper);
}
.dialog-head .kicker { color: rgba(244, 245, 242, 0.62); }
.dialog-head h2 { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; }
.dialog-body { padding: 24px; }
.dialog-lede { color: var(--ink-soft); font-size: 13px; max-width: 70ch; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
#loginLayer .dialog-body { padding-top: 22px; }
#loginLayer .dialog-lede { margin-bottom: 18px; }

/* 三步时间线 */
.steps { list-style: none; display: grid; margin-top: 4px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 26px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 4px;
  width: 1px;
  background: var(--line-strong);
}
.step-num {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
}
.step-body h3 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.step-body > p { color: var(--ink-soft); font-size: 12.5px; margin-bottom: 12px; }
.qr-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.qr-box {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.qr-box svg { width: 140px; height: 140px; display: block; }
.qr-loading { font-size: 12px; color: var(--ink-soft); padding: 12px; text-align: center; }
.qr-side { display: grid; gap: 10px; align-content: center; }
.qr-hint { font-size: 11.5px; color: var(--ink-soft); }
.qr-hint span { color: var(--ink); }
.fineprint { margin-top: 10px; font-size: 11.5px; color: var(--ink-soft); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 18px;
  border-radius: 3px;
  background: var(--ink-deep);
  color: var(--paper);
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(20, 55, 42, 0.28);
  animation: toast-in 180ms ease-out;
}
.toast.is-error { background: var(--danger); }

@keyframes layer-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .shell { padding: 26px 26px 48px; }
  .account-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .account-quota { grid-column: 2 / 3; }
  .account-actions { grid-column: 2 / -1; justify-content: flex-start; }
  .account-row.is-active { padding-left: 14px; }
  .import-form { grid-template-columns: 1fr 1fr; }
  .import-form .field:first-child { grid-column: 1 / -1; }
  .form-actions { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 13.5px; }
  .shell { padding: 20px 17px 40px; }
  .masthead { flex-wrap: wrap; gap: 14px; }
  .masthead-actions { padding-top: 0; }
  .seal { width: 40px; height: 40px; font-size: 22px; }
  .notices { gap: 4px 16px; font-size: 12px; }
  .credential { padding: 24px 20px 20px; }
  .cred-top { gap: 16px; }
  .cred-name { font-size: 22px; }
  .cred-meta { gap: 14px 24px; }
  .cred-quota { flex-basis: 100%; }
  .empty-state { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  .empty-stamp { width: 82px; height: 82px; font-size: 14px; }
  .section-head { flex-wrap: wrap; align-items: flex-start; }
  .account-row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; padding: 16px 2px; }
  .account-quota { grid-column: 2 / -1; }
  .account-actions { grid-column: 1 / -1; padding-left: 54px; }
  .account-row.is-active { padding-left: 12px; }
  .panel { padding: 20px 18px; }
  .import-form { grid-template-columns: 1fr; }
  .form-actions { justify-content: stretch; }
  .form-actions .btn { flex: 1 1 auto; }
  .dialog { max-height: calc(100vh - 24px); }
  .dialog-body { padding: 20px 18px; }
  .dialog-head { padding: 18px; }
  .qr-card { grid-template-columns: 1fr; justify-items: center; }
  .qr-side { justify-items: stretch; width: 100%; }
  .footer { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
