/* 朱R 绘画接单平台 —— 样式 */
:root {
  --ink: #120f14;
  --ink-2: #1b1620;
  --card: rgba(28, 22, 30, 0.72);
  --line: rgba(255, 232, 205, 0.12);
  --text: #f3ece4;
  --muted: #a89b93;
  --gold: #f7c873;
  --ember: #e2553d;
  --plum: #8d3b6b;
  --ok: #5fd08a;
  --warn: #f0b25e;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

.hidden { display: none !important; }

/* ---------- 背景 ---------- */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#bgCanvas { width: 100%; height: 100%; display: block; opacity: 0.9; }
.bg-layer::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(226, 85, 61, 0.20), transparent 60%),
    radial-gradient(55% 45% at 88% 4%, rgba(141, 59, 107, 0.22), transparent 62%),
    radial-gradient(70% 60% at 50% 110%, rgba(247, 200, 115, 0.10), transparent 65%);
}
.grain {
  position: absolute; inset: -50%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.6'/></svg>");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(6%, 4%); }
}

/* ---------- 登录 ---------- */
.auth-view {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 28px 18px;
}
.auth-card {
  width: min(460px, 100%);
  background: linear-gradient(165deg, rgba(40, 30, 40, 0.88), rgba(18, 15, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 30px 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute; inset: -1px;
  background: conic-gradient(from 120deg, transparent, rgba(247, 200, 115, 0.22), transparent 40%);
  animation: sweep 9s linear infinite;
  pointer-events: none;
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
@keyframes sweep { to { transform: rotate(1turn); } }

.brand { text-align: center; margin-bottom: 26px; }
.brand-mark { width: 62px; height: 62px; margin: 0 auto 12px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand h1 {
  margin: 0;
  font-size: 27px;
  letter-spacing: 3px;
  font-weight: 800;
  background: linear-gradient(100deg, #fff4e2, var(--gold) 40%, var(--ember));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.brand h1 span { font-weight: 500; letter-spacing: 6px; font-size: 20px; }
.brand-sub { margin: 8px 0 0; color: var(--muted); font-size: 13px; letter-spacing: 1px; }

.auth-tabs { position: relative; display: flex; background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.auth-tabs .tab {
  flex: 1; position: relative; z-index: 2;
  background: none; border: 0; color: var(--muted);
  padding: 10px; font-size: 15px; cursor: pointer; border-radius: 9px;
  transition: color .25s;
}
.auth-tabs .tab.active { color: #1a1218; font-weight: 700; }
.auth-tabs .tab-ink {
  position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: linear-gradient(120deg, var(--gold), #f0a35e);
  border-radius: 9px;
  transition: transform .32s cubic-bezier(.5, 1.6, .4, 1);
}
.auth-tabs[data-state="register"] .tab-ink { transform: translateX(100%); }

/* ---------- 表单 ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; letter-spacing: .5px; }
input[type="text"], input[type="password"], input[type="search"], input[type="number"], textarea, select {
  width: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(247, 200, 115, 0.55);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(247, 200, 115, 0.10);
}
input::placeholder, textarea::placeholder { color: #6f645e; }

.primary-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a1016;
  background: linear-gradient(110deg, var(--gold), #f0a35e 55%, var(--ember));
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .15s, filter .2s, opacity .2s;
}
.primary-btn:hover { filter: brightness(1.07); }
.primary-btn:active { transform: scale(0.985); }
.primary-btn:disabled { opacity: .55; cursor: not-allowed; }
.primary-btn.small { width: auto; padding: 11px 20px; font-size: 14px; letter-spacing: 1px; }
.primary-btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }

.ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s;
}
.ghost-btn:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(247, 200, 115, 0.35); }

.msg { margin: 10px 0 0; font-size: 13px; color: var(--ember); min-height: 18px; }
.msg.ok { color: var(--ok); }
.auth-foot { margin: 16px 0 0; text-align: center; font-size: 12px; color: #6f645e; }

/* ---------- 主界面 ---------- */
.app-view { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  background: rgba(16, 13, 18, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mini-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; letter-spacing: .5px;
  color: #1a1016;
  background: linear-gradient(130deg, var(--gold), var(--ember));
  box-shadow: 0 6px 18px rgba(226, 85, 61, 0.35);
  flex: none;
}
.who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge {
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
  background: rgba(247, 200, 115, 0.14); color: var(--gold);
  border: 1px solid rgba(247, 200, 115, 0.3);
  flex: none;
}
.badge.admin { background: rgba(226, 85, 61, 0.16); color: #ff9d86; border-color: rgba(226, 85, 61, 0.35); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.balance-chip {
  display: flex; align-items: baseline; gap: 7px;
  padding: 8px 14px;
  border-radius: 11px;
  background: rgba(95, 208, 138, 0.09);
  border: 1px solid rgba(95, 208, 138, 0.22);
}
.bc-label { font-size: 12px; color: var(--muted); }
.bc-value { font-weight: 800; font-size: 15px; color: #8ff0b4; font-variant-numeric: tabular-nums; }

.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 26px 20px 40px; flex: 1; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
  position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(247, 200, 115, 0.18), transparent 70%);
}
.stat span { font-size: 12px; color: var(--muted); }
.stat b { font-size: 22px; font-variant-numeric: tabular-nums; }

.seg {
  display: flex; gap: 6px; margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 5px;
  overflow-x: auto;
}
.seg-btn {
  flex: none; border: 0; background: none; color: var(--muted);
  padding: 10px 18px; border-radius: 10px; font-size: 14px; cursor: pointer;
  font-family: inherit; white-space: nowrap;
  transition: background .2s, color .2s;
}
.seg-btn.active { background: linear-gradient(120deg, rgba(247, 200, 115, 0.9), rgba(240, 163, 94, 0.9)); color: #1a1016; font-weight: 700; }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; box-shadow: var(--shadow);
  animation: panelIn .35s ease;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel h2 { margin: 0 0 18px; font-size: 18px; letter-spacing: 1px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.search {
  width: min(220px, 50%);
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 10px;
}
.hint { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 16px; }
.empty { color: var(--muted); font-size: 14px; text-align: center; padding: 26px 0; }

/* ---------- 用户列表 ---------- */
.user-list { display: flex; flex-direction: column; gap: 10px; }
.user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.user-row:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line); }
.user-id { min-width: 0; }
.user-name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.user-money { text-align: right; }
.user-money b { font-size: 17px; font-variant-numeric: tabular-nums; color: #8ff0b4; }
.user-money.neg b { color: #ff9d86; }
.user-ops { display: flex; align-items: center; gap: 8px; }
.amount-input {
  width: 96px; padding: 9px 10px; font-size: 14px; text-align: right;
  border-radius: 9px;
}
.mini-btn {
  border: 0; border-radius: 9px; padding: 9px 13px; font-size: 13px; cursor: pointer;
  font-family: inherit; font-weight: 700; color: #1a1016; white-space: nowrap;
  background: linear-gradient(120deg, #7de0a4, #4fbf7f);
  transition: filter .2s, transform .1s;
}
.mini-btn:hover { filter: brightness(1.08); }
.mini-btn:active { transform: scale(.97); }
.mini-btn.minus { background: linear-gradient(120deg, #ffa08a, var(--ember)); }

/* ---------- 订单 ---------- */
.order-list { display: grid; gap: 14px; }
.order-card {
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  display: grid; gap: 12px;
}
.order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-title { font-weight: 700; font-size: 15px; line-height: 1.5; word-break: break-word; }
.order-sub { font-size: 12px; color: var(--muted); margin-top: 5px; }
.order-req { font-size: 13.5px; color: #d8cec5; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.order-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.order-thumbs img {
  width: 84px; height: 84px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); cursor: zoom-in; transition: transform .2s;
}
.order-thumbs img:hover { transform: scale(1.04); }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-tag { font-size: 14px; color: var(--muted); }
.price-tag b { color: var(--gold); font-size: 17px; font-variant-numeric: tabular-nums; }
.status-pill { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.st-pending { color: var(--warn); border-color: rgba(240, 178, 94, .4); background: rgba(240, 178, 94, .1); }
.st-doing { color: #7ec8ff; border-color: rgba(126, 200, 255, .4); background: rgba(126, 200, 255, .1); }
.st-done { color: var(--ok); border-color: rgba(95, 208, 138, .4); background: rgba(95, 208, 138, .1); }
.st-cancel { color: #9c8f88; border-color: rgba(156, 143, 136, .35); background: rgba(156, 143, 136, .1); }
.st-paid { color: #8ff0b4; border-color: rgba(95, 208, 138, .45); background: rgba(95, 208, 138, .12); }

.admin-order-ops { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-order-ops .amount-input { width: 84px; }
.admin-order-ops select { width: auto; padding: 8px 10px; font-size: 13px; border-radius: 9px; }
.note-input { font-size: 13px; padding: 9px 12px; }

/* ---------- 上传区 ---------- */
.drop-zone {
  border: 1.5px dashed rgba(247, 200, 115, 0.32);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: rgba(247, 200, 115, 0.03);
}
.drop-zone:hover, .drop-zone.drag { border-color: var(--gold); background: rgba(247, 200, 115, 0.08); }
.dz-inner { display: grid; gap: 6px; justify-items: center; color: var(--muted); font-size: 12.5px; }
.dz-inner svg { width: 30px; height: 30px; color: var(--gold); }
.dz-inner b { color: var(--text); font-size: 14px; font-weight: 600; }

.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb { position: relative; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer;
  font-size: 13px; line-height: 1; display: grid; place-items: center;
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.form-foot .primary-btn { width: auto; min-width: 180px; }
.form-foot .msg { margin: 0; flex: 1; }

/* ---------- 支付 ---------- */
.pay-grid { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.pay-qr { text-align: center; }
.qr-box {
  width: 100%; aspect-ratio: 1; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05);
  display: grid; place-items: center; overflow: hidden;
  color: var(--muted); font-size: 13px; padding: 10px;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 12px; }
.pay-side { display: grid; gap: 14px; align-content: start; }
.pay-line { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; border-radius: 13px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.pay-line span { color: var(--muted); font-size: 13px; }
.pay-line b { font-size: 19px; font-variant-numeric: tabular-nums; color: var(--gold); }
.pay-note { font-size: 13px; color: var(--muted); line-height: 1.9; }
.pay-note p { margin: 0 0 6px; color: var(--text); font-weight: 600; }
.pay-note ol { margin: 0; padding-left: 20px; }
.qr-setting { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.qr-actions { display: grid; gap: 12px; align-content: start; }
.file-btn { display: inline-block; width: fit-content; cursor: pointer; }

/* ---------- 其他 ---------- */
.foot {
  position: relative; z-index: 1;
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  padding: 22px 16px 30px; color: #6f645e; font-size: 12px;
}
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: rgba(30, 24, 30, .95); border: 1px solid var(--line);
  color: var(--text); padding: 12px 20px; border-radius: 12px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(226, 85, 61, .5); color: #ffb4a3; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 6, 9, .92);
  display: grid; place-items: center; padding: 24px; cursor: zoom-out;
}
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow); }

/* ---------- 响应式 ---------- */
@media (max-width: 820px) {
  .stat-row { grid-template-columns: 1fr; }
  .pay-grid, .qr-setting { grid-template-columns: 1fr; }
  .qr-setting .qr-box { max-width: 260px; }
  .user-row { grid-template-columns: 1fr; gap: 10px; }
  .user-money { text-align: left; }
  .topbar { padding: 12px 14px; }
  .wrap { padding: 18px 13px 32px; }
  .panel { padding: 18px; border-radius: 18px; }
  .bc-label { display: none; }
}

/* ---------- 修改密码弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8, 6, 9, .72);
  backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 20px;
}
.modal {
  width: min(400px, 100%);
  background: linear-gradient(165deg, rgba(40, 30, 40, .98), rgba(18, 15, 20, .99));
  border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow);
  animation: panelIn .25s ease;
}
.modal h3 { margin: 0 0 18px; font-size: 17px; letter-spacing: 1px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* ---------- 北京时间 / 日期范围 / 流水 ---------- */
.clock {
  font-size: 12px; color: var(--muted); white-space: nowrap;
  padding: 7px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  font-variant-numeric: tabular-nums; letter-spacing: .3px;
}
.head-ops { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.range-seg { display: flex; gap: 3px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.r-btn {
  border: 0; background: none; color: var(--muted); font-family: inherit;
  padding: 7px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s;
}
.r-btn.active { background: rgba(247, 200, 115, .9); color: #1a1016; font-weight: 700; }

.ledger-list { display: flex; flex-direction: column; gap: 8px; }
.ledger-row {
  display: grid; grid-template-columns: 150px 92px minmax(0, 1fr) 110px;
  align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 13px;
  background: rgba(255, 255, 255, .035); border: 1px solid transparent;
  font-size: 13.5px;
}
.ledger-row:hover { border-color: var(--line); background: rgba(255, 255, 255, .06); }
.lg-time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.lg-delta { font-weight: 800; font-variant-numeric: tabular-nums; }
.lg-delta.plus { color: #8ff0b4; }
.lg-delta.minus { color: #ff9d86; }
.lg-note { color: #d8cec5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-after { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.lg-after b { color: var(--gold); }

@media (max-width: 820px) {
  .clock { display: none; }
  .ledger-row { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .lg-note { grid-column: 1 / -1; }
  .lg-after { text-align: left; }
  .head-ops { width: 100%; justify-content: flex-start; }
  .range-seg { overflow-x: auto; }
}

.modal.wide { width: min(820px, 100%); max-height: 82vh; overflow: auto; }
.mini-select { width: auto; padding: 8px 10px; font-size: 13px; border-radius: 9px; }
.lg-btn { padding: 8px 12px; font-size: 13px; }

/* ---------- 站点页脚：徽标 / 追溯 / 联系我们 ---------- */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 11, 16, .72), rgba(10, 8, 12, .95));
  margin-top: auto;
}
.footer-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 30px 20px 26px;
  display: grid;
  gap: 26px;
}
.footer-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(255, 232, 205, .12);
}
.badge-link {
  display: inline-block; line-height: 0; border-radius: 9px;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  opacity: .92;
}
.badge-link:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.badge-link img { width: 220px; height: 64px; display: block; border-radius: 9px; }

.footer-trace h4, .footer-contact h4 {
  margin: 0 0 12px; font-size: 14px; letter-spacing: 1.5px; color: var(--gold);
}
.footer-trace dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.footer-trace dl > div { display: flex; gap: 10px; font-size: 13px; line-height: 1.7; }
.footer-trace dt { color: var(--muted); flex: none; min-width: 62px; }
.footer-trace dd { margin: 0; color: #d8cec5; }

.footer-contact p { margin: 0 0 7px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-contact a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(247, 200, 115, .35); }
.footer-contact a:hover { color: #ffdca0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 232, 205, .1);
  padding-top: 18px;
  display: grid; gap: 8px;
  text-align: center;
}
.copyright { margin: 0; font-size: 13px; color: #cbbfb5; letter-spacing: .5px; }
.foot-note { margin: 0; font-size: 12px; color: #6f645e; line-height: 1.8; }

@media (max-width: 820px) {
  .footer-inner { padding: 24px 14px 22px; gap: 20px; }
  .footer-trace dl { grid-template-columns: 1fr; }
  .badge-link img { width: 180px; height: 52px; }
}
