:root {
  --brand: #1a6b56;
  --brand-dark: #124f40;
  --brand-soft: #e7f4ef;
  --accent: #e07a5f;
  --accent-soft: #fdeee9;
  --ink: #162823;
  --muted: #5a6f68;
  --line: #d5e4de;
  --bg: #f3f7f5;
  --card: #ffffff;
  --warn: #b7791f;
  --danger: #c0392b;
  --shadow: 0 14px 40px rgba(26, 107, 86, 0.09);
  --radius: 18px;
  --font: "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  --display: "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sage: var(--brand);
  --sage-dark: var(--brand-dark);
  --sage-soft: var(--brand-soft);
  --coral: var(--accent);
  --coral-soft: var(--accent-soft);
}

/* ???? / ??? / ??? / ????????????????? :root? */
.store-portal,
.h5-app,
.h5-auth-shell,
.worker-app,
.pos-body,
.merchant-portal {
  --brand: #e86a4a;
  --brand-dark: #c4532f;
  --brand-soft: #fff0ea;
  --accent: #f08a4b;
  --accent-soft: #fff4e8;
  --ink: #2c221c;
  --muted: #7a6a62;
  --line: #ead9d0;
  --bg: #faf6f3;
  --shadow: 0 14px 40px rgba(232, 106, 74, 0.10);
  --sage: var(--brand);
  --sage-dark: var(--brand-dark);
  --sage-soft: var(--brand-soft);
  --coral: var(--accent);
  --coral-soft: var(--accent-soft);
}
body.store-portal,
body.h5-app,
body.worker-app,
body.pos-body,
body.merchant-portal,
body.h5-auth-shell {
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(232,106,74,.10), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(240,138,75,.08), transparent 50%),
    var(--bg);
}
.store-portal .input:focus,
.store-portal select:focus,
.store-portal textarea:focus,
.h5-app .input:focus,
.h5-app select:focus,
.h5-app textarea:focus,
.pos-body .input:focus,
.worker-app .input:focus,
.merchant-portal .input:focus {
  outline: 2px solid rgba(232,106,74,.28);
  border-color: var(--brand);
}
.store-portal .settings-card-ico.tone-green,
.store-portal .settings-card-ico.tone-teal,
.h5-app .h5-midnav-ico.tone-green,
.h5-app .h5-midnav-ico.tone-teal,
.h5-app .mc-ico.tone-green,
.h5-app .mc-ico.tone-teal {
  background: #fff0ea;
  color: #e86a4a;
}
.admin-portal {
  --brand: #1a6b56;
  --brand-dark: #124f40;
  --brand-soft: #e7f4ef;
  --accent: #e07a5f;
  --accent-soft: #fdeee9;
  --ink: #162823;
  --muted: #5a6f68;
  --line: #d5e4de;
  --bg: #f3f7f5;
  --shadow: 0 14px 40px rgba(26, 107, 86, 0.09);
  --sage: var(--brand);
  --sage-dark: var(--brand-dark);
  --sage-soft: var(--brand-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(26,107,86,.08), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(224,122,95,.08), transparent 50%),
    var(--bg);
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; color: var(--ink);
}
.brand-mark img {
  width: 36px; height: 36px; border-radius: 10px;
  box-shadow: 0 6px 16px rgba(26,107,86,.18);
}
.brand-mark .name { font-size: 22px; letter-spacing: .02em; }
.brand-mark .name em {
  font-style: normal; color: var(--accent); margin-left: 1px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 11px 18px; font-size: 15px;
  cursor: pointer; background: var(--brand); color: #fff; transition: .2s ease;
}
a.btn, a.btn:hover, a.btn:visited, a.btn:active {
  color: #fff; text-decoration: none;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn.coral { background: var(--accent); color: #fff; }
a.btn.coral, a.btn.coral:hover { color: #fff; }
a.btn.is-primary,
a.btn.is-primary:link,
a.btn.is-primary:visited,
a.btn.is-primary:hover,
a.btn.is-primary:active { color: #fff; text-decoration: none; }
.store-portal a.btn:not(.ghost),
.store-portal a.btn:not(.ghost):link,
.store-portal a.btn:not(.ghost):visited,
.store-portal a.btn:not(.ghost):hover,
.store-portal a.btn:not(.ghost):active {
  color: #fff;
}
.store-portal a.btn.ghost,
.store-portal a.btn.ghost:link,
.store-portal a.btn.ghost:visited { color: var(--brand); }
.store-portal a.btn.ghost:hover,
.store-portal a.btn.ghost:active { color: var(--brand-dark); }
.h5-app a.btn:not(.ghost),
.h5-app a.btn:not(.ghost):link,
.h5-app a.btn:not(.ghost):visited,
.h5-app a.btn:not(.ghost):hover,
.h5-app a.btn:not(.ghost):active,
.h5-app a.btn:not(.ghost):focus {
  color: #fff;
}
.h5-app a.btn.ghost,
.h5-app a.btn.ghost:link,
.h5-app a.btn.ghost:visited { color: var(--brand); }
.h5-app a.btn.ghost:hover,
.h5-app a.btn.ghost:active,
.h5-app a.btn.ghost:focus { color: var(--brand-dark); }
.h5-app a.btn.vip-pay-btn,
.h5-app a.btn.vip-pay-btn:link,
.h5-app a.btn.vip-pay-btn:visited,
.h5-app a.btn.vip-pay-btn:hover,
.h5-app a.btn.vip-pay-btn:active,
.h5-app a.btn.vip-pay-btn:focus {
  color: #1a1814;
}

.btn.ghost {
  background: transparent; color: var(--brand); border: 1px solid var(--line);
}
a.btn.ghost, a.btn.ghost:visited { color: var(--brand); }
a.btn.ghost:hover { color: var(--brand-dark); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.input, select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 12px; font: inherit; background: #fff; color: var(--ink);
}
.input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(26,107,86,.22); border-color: var(--brand);
}
label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.form-row { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alert {
  padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px;
}
.alert.ok { background: var(--brand-soft); color: var(--brand-dark); }
.alert.err { background: var(--accent-soft); color: #9b3b2a; }
.alert.warn { background: #fff4e5; color: #8a5a00; }
/* flash ?? JS ? toast ????????2? */
.alert.ok.js-flash-toast,
.alert.err.js-flash-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffbf0;
  color: #303133;
  border: 1px solid #f0d9a8;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(48, 49, 51, .08);
}
.alert.err.js-flash-toast {
  background: #fff5f5;
  border-color: #f3c0c0;
}

/* ???????????2???? + ???3 ?????? */
.ui-toast-host {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  width: min(420px, calc(100vw - 28px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  pointer-events: none;
}
.ui-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fffbf0;
  color: #303133;
  border: 1px solid #f0d9a8;
  box-shadow: 0 8px 24px rgba(48, 49, 51, .1), 0 1px 3px rgba(48, 49, 51, .06);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  animation: uiToastIn .28s cubic-bezier(.22, 1, .36, 1) both;
}
.ui-toast.is-out {
  animation: uiToastOut .2s ease forwards;
  pointer-events: none;
}
.ui-toast.is-err {
  background: #fff5f5;
  border-color: #f3c0c0;
  color: #303133;
}
.ui-toast.is-warn {
  background: #fff9ec;
  border-color: #f0d9a8;
}
.ui-toast.is-info {
  background: #f4f9ff;
  border-color: #c5daf5;
}
.ui-toast-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #67c23a;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.ui-toast.is-err .ui-toast-icon { background: #f56c6c; }
.ui-toast.is-warn .ui-toast-icon { background: #e6a23c; }
.ui-toast.is-info .ui-toast-icon { background: #409eff; }
.ui-toast-body {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.ui-toast-actions { flex-shrink: 0; }
.ui-toast-action {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e9d5b0;
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.ui-toast-action:hover { background: #fff7ed; }
.ui-toast-close {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: #a8abb2;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
}
.ui-toast-close:hover { color: #606266; background: rgba(0,0,0,.04); }
@keyframes uiToastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes uiToastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-6px); }
}
/* ??? / ???????? toast ?????? */
.worker-app .ui-toast-host { top: max(12px, env(safe-area-inset-top, 0px)); }
.pos-body .ui-toast-host,
.verify-body .ui-toast-host { top: max(64px, calc(52px + env(safe-area-inset-top, 0px))); }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 12px; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px;
  background: var(--brand-soft); color: var(--brand-dark);
}
.badge.warn { background: #fff3d9; color: var(--warn); }
.badge.danger { background: #ffe4e0; color: var(--danger); }
.badge.coral { background: var(--accent-soft); color: #a34b36; }
.muted { color: var(--muted); }
.page-title { margin: 0 0 4px; font-family: var(--display); font-size: 24px; overflow: visible; }
.page-title .quota-title-tools { position: relative; z-index: 6; vertical-align: middle; }
.page-sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  background-image: linear-gradient(160deg, #fff, var(--brand-soft));
}
.stat b { display: block; font-size: 26px; font-family: var(--display); color: var(--brand); }
.stat span { color: var(--muted); font-size: 13px; }

/* ????? */
.dash-hero {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px;
}
.dash-hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  display: grid; gap: 8px;
  background-image: linear-gradient(165deg, #fff 40%, var(--brand-soft));
}
.dash-hero-card.accent { background-image: linear-gradient(165deg, #fff 35%, var(--accent-soft)); }
.dash-hero-card > i {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 15px;
}
.dash-hero-card.accent > i { background: var(--accent-soft); color: var(--accent); }
.dash-hero-card b {
  display: block; font-size: 26px; line-height: 1.1; font-family: var(--display); color: var(--brand-dark);
}
.dash-hero-card.accent b { color: #9b4633; }
.dash-hero-card span { color: var(--muted); font-size: 13px; }
.dash-hero-card small { color: var(--muted); font-size: 12px; }

.dash-sec { margin-bottom: 22px; }
.dash-sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px;
}
.dash-sec-head h2 { margin: 0; font-size: 16px; font-family: var(--display); }
.dash-metrics {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px;
}
.dash-metric {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.dash-metric i {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand); font-size: 14px;
}
.dash-metric b { display: block; font-size: 18px; font-family: var(--display); color: var(--ink); line-height: 1.2; }
.dash-metric span { color: var(--muted); font-size: 12px; }

.dash-trend { padding-bottom: 8px; }
.dash-legend {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; font-size: 12px; color: var(--muted);
}
.dash-legend .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle;
}
.dot.d-store, .b.d-store { background: var(--brand); }
.dot.d-cust, .b.d-cust { background: #3d8bfd; }
.dot.d-led, .b.d-led { background: var(--accent); }
.dot.d-apt, .b.d-apt { background: #8b6bb5; }
.dash-bars {
  display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; min-height: 140px;
}
.dash-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.dash-bar-col .bars {
  height: 110px; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px;
}
.dash-bar-col .b {
  width: 5px; border-radius: 4px 4px 0 0; min-height: 4px; display: block;
}
.dash-bar-col em { font-style: normal; font-size: 10px; color: var(--muted); }

.dash-sys {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.dash-sys .panel strong { display: block; margin-bottom: 6px; }
.dash-sys .panel p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.dash-pkg { display: grid; gap: 12px; }
.dash-pkg-row .meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 13px; }
.dash-pkg-row .track {
  height: 8px; border-radius: 999px; background: #eef4f1; overflow: hidden;
}
.dash-pkg-row .track i {
  display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #3d9b7f); border-radius: 999px;
}

.dash-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.dash-grid .dash-span-2 { grid-column: 1 / -1; }
.dash-panel-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.dash-panel-head h3 { margin: 0; font-size: 15px; }
.dash-panel-head a { font-size: 13px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.toolbar-split {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.toolbar-filters, .toolbar-actions {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

/* ?? */
body.modal-open { overflow: hidden; }
.modal-mask {
  position: fixed; inset: 0; z-index: 80; background: rgba(22, 40, 35, .45);
  display: flex; align-items: flex-start; justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0));
}
.modal-mask[hidden] { display: none !important; }
.modal-card {
  width: min(680px, 100%);
  max-height: min(90vh, 860px);
  max-height: min(90dvh, 860px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin: auto 0;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.modal-card-lg { width: min(760px, 100%); }
/* ????????????????????? overflow:hidden ?? */
.modal-card.modal-scroll {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.modal-card.modal-scroll > .modal-body,
.modal-card.modal-scroll > form.modal-body,
.modal-card.modal-scroll > form.person-modal-form,
.modal-card.modal-scroll > [data-modal-scroll] {
  flex: 1 1 auto;
  min-height: 0;
}
.modal-card.modal-scroll > [data-modal-scroll],
.modal-card.modal-scroll .person-modal-body,
.modal-card.modal-scroll > .modal-body,
.modal-card.modal-scroll > form.modal-body {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* ?????? + ???????????????????? */
.modal-card:has(> .modal-head):has(> .modal-body),
.modal-card:has(> .modal-head):has(> form.modal-body) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.modal-card:has(> .modal-head) > .modal-head {
  flex: 0 0 auto;
  position: relative;
  top: auto;
}
.modal-card:has(> .modal-head) > .modal-body,
.modal-card:has(> .modal-head) > form.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal-card:has(> .modal-head) .modal-foot {
  position: sticky;
  bottom: 0;
  background: #fff;
  margin-top: 4px;
  padding: 12px 0 4px;
  z-index: 1;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1;
}
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-close {
  border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); width: 36px; height: 36px;
}
.modal-body { padding: 16px 18px 18px; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
  margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line);
  position: sticky; bottom: 0; background: #fff; z-index: 1;
}
.share-store-modal {
  width: min(520px, calc(100vw - 28px));
  max-height: min(90vh, 860px);
  max-height: min(90dvh, 860px);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  box-shadow: 0 24px 64px rgba(18, 79, 64, .16);
}
.share-store-hero {
  position: relative;
  flex: 0 0 auto;
  padding: 28px 28px 22px;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(145deg, #1a6b56 0%, #124f40 100%);
  color: #fff;
}
.share-store-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.share-store-close:hover { background: rgba(255,255,255,.2); }
.share-store-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .78;
}
.share-store-name {
  margin: 0 0 8px;
  padding-right: 40px;
  font-family: var(--display);
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
}
.share-store-no {
  margin: 0;
  font-size: 13px;
  opacity: .82;
}
.share-store-no code {
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,.14);
  padding: 2px 8px;
  border-radius: 999px;
}
.share-store-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 28px 28px 26px;
  background:
    radial-gradient(360px 160px at 100% 0%, rgba(26,107,86,.06), transparent 60%),
    #fbfcfb;
}
.share-store-qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.share-store-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 268px;
  height: 268px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(22, 40, 35, .06);
}
.share-store-qr-wrap img,
.share-store-qr-wrap canvas {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.share-store-qr-caption {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}
.share-store-link-panel {
  text-align: left;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.share-store-link-panel label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.share-store-link-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.share-store-link-row .input {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  background: #f7faf8;
}
.share-store-link-row .btn {
  flex-shrink: 0;
  min-width: 72px;
}
.share-store-tip {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.share-store-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.share-store-actions .btn {
  width: 100%;
  justify-content: center;
}
@media (max-width: 520px) {
  .share-store-hero,
  .share-store-body { padding-left: 20px; padding-right: 20px; }
  .share-store-qr-wrap {
    width: min(268px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
  .share-store-actions { grid-template-columns: 1fr; }
}

/* ??? / ?? ???? */
.sp-hub-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  margin: 0 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  width: fit-content;
  max-width: 100%;
}
.sp-hub-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: .15s ease;
}
.sp-hub-tab i { font-size: 13px; color: var(--brand); }
.sp-hub-tab:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}
.sp-hub-tab.is-on {
  color: #fff;
  background: linear-gradient(160deg, #f08a4b 0%, #e86a4a 100%);
  box-shadow: 0 6px 14px rgba(232, 106, 74, .25);
}
.sp-hub-tab.is-on i { color: #fff; }
.sp-hub-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  font-style: normal;
}
.sp-hub-tab.is-on .sp-hub-badge {
  background: #fff;
  color: #e53935;
}
/* ?????????? */
/* Marketing plugin title toggle */
.mkt-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
}
.mkt-title-row .page-title { margin: 0; }
.mkt-plugin-toggle {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.mkt-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.mkt-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.mkt-switch-track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d4ccc4;
  border: 1px solid #c8bfb6;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  flex-shrink: 0;
}
.mkt-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .18s ease;
}
.mkt-switch.is-on .mkt-switch-track,
.mkt-switch:has(input:checked) .mkt-switch-track {
  background: linear-gradient(135deg, #f0845f, #E86A4A);
  border-color: #d45535;
  box-shadow: 0 0 0 3px rgba(232, 106, 74, .16);
}
.mkt-switch.is-on .mkt-switch-knob,
.mkt-switch:has(input:checked) .mkt-switch-knob {
  transform: translateX(20px);
}
.mkt-switch em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #8a8178;
  min-width: 3em;
}
.mkt-switch.is-on em,
.mkt-switch:has(input:checked) em {
  color: #c4532f;
}
@media (max-width: 640px) {
  .mkt-title-row { gap: 8px 10px; }
  .mkt-switch-track { width: 42px; height: 24px; }
  .mkt-switch-knob { width: 18px; height: 18px; }
  .mkt-switch.is-on .mkt-switch-knob,
  .mkt-switch:has(input:checked) .mkt-switch-knob { transform: translateX(18px); }
  .mkt-switch em { font-size: 12px; }
}

.mkt-settings-block {
  padding: 0;
  overflow: hidden;
}
.mkt-settings-block > summary.mkt-settings-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 800;
  color: #2a211c;
  background: linear-gradient(180deg, #fffaf7, #fff);
  border-bottom: 1px solid transparent;
  user-select: none;
}
.mkt-settings-block > summary.mkt-settings-sum::-webkit-details-marker { display: none; }
.mkt-settings-block > summary.mkt-settings-sum span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mkt-settings-block > summary.mkt-settings-sum i { color: var(--brand, #e86a4a); }
.mkt-settings-block > summary.mkt-settings-sum em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #8a7468;
}
.mkt-settings-block[open] > summary.mkt-settings-sum {
  border-bottom-color: var(--line);
}
.mkt-settings-body { padding: 16px; }

/* ?? ?????? ?? */
.wallet-rules-form { display: grid; gap: 14px; }
.wallet-rules-panel { padding: 16px; }
.wallet-rules-head { margin-bottom: 12px; align-items: flex-start; }
.wallet-rules-head h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.wallet-rules-head h3 i { color: var(--brand, #e86a4a); }
.wallet-rules-table .input.sm { max-width: 72px; padding: 6px 8px; }
.wallet-rules-table td { vertical-align: middle; }
.wallet-rule-credit { font-weight: 700; white-space: nowrap; color: #1a6b56 !important; }
.wallet-rule-on {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #5c4a40; cursor: pointer; user-select: none;
}
.wallet-rules-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 4px 2px 8px;
}
.wallet-custom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.wallet-check-card {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid #f0e4dc; background: #fffaf7;
  cursor: pointer; user-select: none;
}
.wallet-check-card input { margin-top: 3px; }
.wallet-check-card strong { display: block; font-size: 14px; color: #2a211c; }
.wallet-check-card span { display: block; margin-top: 4px; font-size: 12px; color: #8a7468; line-height: 1.4; }
.wallet-tier-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.wallet-tier-chip {
  appearance: none; border: 1px solid #f0d8cc; background: #fff;
  border-radius: 12px; padding: 10px 12px; text-align: left;
  cursor: pointer; min-width: 140px; max-width: 100%;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.wallet-tier-chip strong {
  display: block; font-size: 14px; font-weight: 800; color: #2a211c; margin-bottom: 2px;
}
.wallet-tier-chip span {
  display: block; font-size: 12px; color: #8a7468; line-height: 1.35;
}
.wallet-tier-chip:hover { border-color: #e8a890; }
.wallet-tier-chip.is-on {
  border-color: #e86a4a;
  background: linear-gradient(180deg, #fff7f3, #fff);
  box-shadow: 0 0 0 3px rgba(232, 106, 74, .12);
}
.wallet-tier-chip.is-custom { border-style: dashed; min-width: 110px; }
.wallet-credit-preview {
  min-height: 42px; display: flex; align-items: center;
  padding: 0 12px; border-radius: 10px;
  background: #f7faf8; border: 1px solid #d7ebe3;
  font-size: 14px; font-weight: 600; color: #3d5a50;
}
.wallet-credit-preview b { color: #0f766e; margin: 0 2px; font-size: 16px; }
@media (max-width: 900px) {
  .wallet-custom-grid { grid-template-columns: 1fr; }
  .wallet-rules-table .input.sm { max-width: 56px; }
}

/* ?? ?????????? ?? */
.mall-page { display: grid; gap: 16px; }
.mall-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid #f0d8cc;
  background:
    radial-gradient(120% 140% at 0% 0%, #fff5f0 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, #fffaf8 100%);
  box-shadow: 0 8px 28px rgba(232, 106, 74, .06);
}
.mall-hero-main { display: flex; gap: 16px; align-items: flex-start; min-width: 0; flex: 1; }
.mall-hero-ico {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f08a4b, #e86a4a);
  color: #fff; font-size: 22px;
  box-shadow: 0 10px 22px rgba(232, 106, 74, .28);
}
.mall-hero-copy { min-width: 0; }
.mall-hero-copy .page-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.mall-hero-copy .page-sub { margin: 6px 0 0; color: #8a7468; font-size: 14px; line-height: 1.55; }
.mall-hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.mall-hero-meta span {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #8a7468;
  background: #fff; border: 1px solid #f0e4dc;
}
.mall-hero-meta span.is-on { color: #0f766e; background: #f0fdfa; border-color: #99f6e4; }
.mall-hero-meta span.is-off { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.mall-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mall-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.mall-kpi {
  display: flex; gap: 12px; align-items: center;
  padding: 16px; border-radius: 14px;
  border: 1px solid var(--line, #e8e0da);
  background: #fff; text-decoration: none !important; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mall-kpi:hover {
  border-color: #f0c2b0;
  box-shadow: 0 10px 24px rgba(232, 106, 74, .08);
  transform: translateY(-1px);
}
.mall-kpi i {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 16px; flex-shrink: 0;
}
.mall-kpi i.tone-amber { color: #d97706; background: #fff7ed; }
.mall-kpi i.tone-orange { color: #ea580c; background: #fff7ed; }
.mall-kpi i.tone-rose { color: #e11d48; background: #fff1f2; }
.mall-kpi i.tone-teal { color: #0d9488; background: #f0fdfa; }
.mall-kpi > div { min-width: 0; display: grid; gap: 2px; }
.mall-kpi span { font-size: 12px; color: #8a7468; }
.mall-kpi b { font-size: 20px; font-weight: 800; color: #1f2329; line-height: 1.2; }
.mall-kpi em { font-style: normal; font-size: 12px; color: #a08a7c; }
.mall-rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .9fr);
  gap: 16px;
  align-items: start;
}
.mall-rules-card, .mall-help-card, .mall-goods-panel { overflow: hidden; }
.mall-sec-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.mall-sec-head h2 { margin: 0; font-size: 18px; font-weight: 800; }
.mall-sec-head p { margin: 6px 0 0; color: #8a7468; font-size: 13px; line-height: 1.55; }
.mall-switch-row { margin-bottom: 18px; }
.mall-switch {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid #f0d8cc; background: #fff8f5; cursor: pointer;
}
.mall-switch input { margin-top: 3px; width: 18px; height: 18px; accent-color: #e86a4a; }
.mall-switch strong { display: block; font-size: 15px; }
.mall-switch em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #8a7468; line-height: 1.5; }
.mall-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mall-rule-item {
  padding: 14px; border-radius: 12px;
  border: 1px solid var(--line, #e8e0da); background: #fafafa;
}
.mall-rule-item label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.mall-rule-input { display: flex; align-items: center; gap: 8px; }
.mall-rule-input .input { flex: 1; min-width: 0; }
.mall-rule-input span { color: #8a7468; font-size: 13px; font-weight: 600; }
.mall-rule-item p { margin: 8px 0 0; font-size: 12px; color: #a08a7c; line-height: 1.5; }
.mall-rules-foot {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line, #e8e0da);
}
.mall-help-card { padding: 18px 20px; }
.mall-help-card h3 {
  margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px;
}
.mall-help-card h3 i { color: #e86a4a; }
.mall-help-card ol {
  margin: 0; padding-left: 18px; color: #5c4a40; font-size: 13px; line-height: 1.75;
}
.mall-help-card li { margin-bottom: 8px; }
.mall-help-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mall-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; margin-bottom: 14px;
}
.mall-search { display: flex; gap: 8px; align-items: center; margin: 0; }
.mall-search .input { min-width: 220px; }
.mall-filter-tabs { margin: 0; }
.mall-empty {
  text-align: center; padding: 56px 20px !important; color: #8a7468;
}
.mall-empty-visual {
  width: 72px; height: 72px; margin: 0 auto 14px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #fff5f0 0%, #ffe8dc 100%);
  border: 1px solid #f5d0c0;
  color: #e86a4a;
  box-shadow: 0 8px 20px rgba(232, 106, 74, .1);
}
.mall-empty-visual i { font-size: 28px; opacity: 1; margin: 0; display: block; }
.mall-empty strong {
  display: block; font-size: 16px; color: #5c4a40; margin-bottom: 6px;
}
.mall-empty p { margin: 0 auto 16px; font-size: 13px; max-width: 320px; line-height: 1.55; color: #a08a7c; }
.mall-item-cell {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.mall-item-cover {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: #fff5f0; border: 1px solid #f0e0d8;
  display: grid; place-items: center; overflow: hidden; color: #e86a4a;
}
.mall-item-cover {
  position: relative;
}
.mall-item-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.mall-item-cover img + i { display: none; }
.mall-item-cover i { font-size: 16px; }
.mall-item-edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 16px;
  align-items: start;
}
.mall-item-sec-title {
  margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #1f2329;
}
.mall-item-thumb { width: 96px; height: 96px; border-radius: 12px; }
@media (max-width: 900px) {
  .mall-item-edit-grid { grid-template-columns: 1fr; }
}
.mall-pending-chip {
  height: 28px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; color: #8a7468;
  background: #f5f0ec; border: 1px solid #e8e0da;
}
.mall-pending-chip.is-hot { color: #c2410c; background: #fff7ed; border-color: #fdba74; }
.mall-type-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.mall-type-pick {
  position: relative; cursor: pointer;
}
.mall-type-pick input { position: absolute; opacity: 0; pointer-events: none; }
.mall-type-pick span {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
  border-radius: 8px; border: 1px solid #e8e0da; background: #fff;
  font-size: 13px; font-weight: 600; color: #5c4a40;
}
.mall-type-pick input:checked + span {
  border-color: #e86a4a; color: #c4532f; background: #fff5f0;
  box-shadow: 0 0 0 1px rgba(232, 106, 74, .2);
}
@media (max-width: 1100px) {
  .mall-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mall-rules-layout { grid-template-columns: 1fr; }
  .mall-rule-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .mall-hero { padding: 16px; }
  .mall-hero-ico { width: 48px; height: 48px; font-size: 18px; }
  .mall-hero-copy .page-title { font-size: 22px; }
  .mall-search .input { min-width: 0; width: 100%; }
  .mall-search { width: 100%; }
  .mall-kpi-grid { grid-template-columns: 1fr; }
}

.mkt-edit-details { display: inline-block; }
.mkt-edit-details > summary { list-style: none; cursor: pointer; }
.mkt-edit-details > summary::-webkit-details-marker { display: none; }
.mkt-edit-form {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf6f3;
  min-width: min(420px, 78vw);
}
.mkt-script-cards {
  display: grid;
  gap: 12px;
}
.mkt-script-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: #faf6f3;
}
.mkt-script-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}
.mkt-script-card p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #5c4a40;
}
.mkt-help-list {
  margin: 0 0 16px;
  padding-left: 20px;
  line-height: 1.75;
  font-size: 14px;
  color: #5c4a40;
}
.mkt-help-list li { margin-bottom: 8px; }

/* ?? ??/??/? ???? ?? */
.cat-edit { display: grid; gap: 16px; }
.cat-edit-top {
  display: flex; flex-wrap: wrap; gap: 14px 20px;
  align-items: flex-start; justify-content: space-between;
  padding: 18px 20px; border-radius: 16px;
  border: 1px solid #f0d8cc;
  background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
  box-shadow: 0 8px 24px rgba(232, 106, 74, .06);
}
.cat-edit-back {
  display: inline-flex; align-items: center; gap: 4px;
  color: #8a7468 !important; text-decoration: none !important;
  font-size: 13px; margin-bottom: 6px;
}
.cat-edit-back:hover { color: #e86a4a !important; }
.cat-edit-top h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: .02em; }
.cat-edit-top p { margin: 6px 0 0; color: #8a7468; font-size: 13px; }
.cat-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-edit-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px; align-items: start;
}
.cat-edit-nav {
  position: sticky; top: 12px;
  display: grid; gap: 4px;
  padding: 10px; border-radius: 14px;
  border: 1px solid var(--line, #e8e0da); background: #fff;
}
.cat-edit-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  color: #5c4a40 !important; text-decoration: none !important;
  font-size: 13px; font-weight: 600;
}
.cat-edit-nav a i { width: 16px; text-align: center; color: #c4a99a; }
.cat-edit-nav a.is-on,
.cat-edit-nav a:hover {
  background: #fff5f0; color: #c4532f !important;
}
.cat-edit-nav a.is-on i { color: #e86a4a; }
.cat-edit-main { display: grid; gap: 14px; min-width: 0; }
.cat-edit-sec h2 {
  margin: 0 0 14px; font-size: 17px; font-weight: 800;
  padding-bottom: 10px; border-bottom: 1px solid var(--line, #e8e0da);
}
.cat-edit-media { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cat-edit-thumb {
  width: 88px; height: 88px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
  border: 1px dashed #f0c2b0; background: #fff8f5; color: #e86a4a; font-size: 28px;
}
.cat-edit-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-upload-fields { flex: 1; min-width: 180px; }
.img-upload-fields .input[type="file"] { max-width: 100%; }
.cat-spec-rows { display: grid; gap: 8px; }
.cat-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(90px, .8fr) minmax(90px, .8fr) auto;
  gap: 8px; align-items: center;
}
.cat-check-grid {
  display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 6px;
}
.cat-check-grid label {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 400; font-size: 13px;
}
.cat-check-line {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; font-weight: 500;
}
.cat-detail-area {
  min-height: 220px; line-height: 1.7; resize: vertical;
  font-family: inherit;
}
.cat-edit-foot {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
  padding: 14px 0 8px;
}
@media (max-width: 900px) {
  .cat-edit-layout { grid-template-columns: 1fr; }
  .cat-edit-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat-spec-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .mkt-script-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .sp-hub-tabs { width: 100%; }
  .sp-hub-tab { flex: 1; justify-content: center; padding: 9px 10px; }
}
.sp-toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 14px;
}
.sp-filter {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 13px; font-weight: 600;
  text-decoration: none;
}
.sp-filter em {
  font-style: normal; min-width: 18px; padding: 0 6px;
  border-radius: 999px; background: #f0f4f2; color: var(--muted); font-size: 12px;
}
.sp-filter:hover { border-color: rgba(26,107,86,.35); color: var(--brand-dark); }
.sp-filter.is-on {
  background: var(--brand-soft); border-color: rgba(26,107,86,.28); color: var(--brand-dark);
}
.sp-filter.is-on em { background: #fff; color: var(--brand); }
.sp-tip {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 14px;
  background: #f5f8f7; border: 1px solid var(--line); font-size: 13px;
}
.sp-tip summary {
  cursor: pointer; list-style: none; font-weight: 600; color: var(--brand-dark);
  display: flex; align-items: center; gap: 8px;
}
.sp-tip summary::-webkit-details-marker { display: none; }
.sp-tip[open] summary { margin-bottom: 8px; }
.sp-tip p { margin: 4px 0; }
.sp-list { display: grid; gap: 12px; }
.sp-empty {
  padding: 36px 20px 32px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 18px;
  box-shadow: none;
}
.sp-empty-ico {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 20px;
}
.sp-empty i { font-size: inherit; color: inherit; margin: 0; display: block; }
.sp-empty-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.sp-empty-hint {
  margin: 6px auto 14px;
  max-width: 340px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.sp-empty-cta {
  margin: 0 auto;
  min-width: 0;
  padding: 8px 16px;
  font-size: 13px;
}
.sp-card {
  display: flex; justify-content: space-between; gap: 14px; align-items: stretch;
  padding: 16px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(22,40,35,.04);
}
.sp-card.is-off { opacity: .78; background: #fafbfa; }
.sp-card-main { display: flex; gap: 14px; min-width: 0; flex: 1; }
.sp-avatar {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--brand), #f08a4b);
  color: #fff; font-weight: 800; font-size: 18px; border: 0; padding: 0; cursor: default;
}
.sp-avatar.is-edit { cursor: pointer; }
.sp-avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.sp-avatar img + .sp-avatar-letter { display: none; }
.sp-avatar-letter { position: relative; z-index: 0; }
.sp-avatar-cam {
  position: absolute; right: 2px; bottom: 2px; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center;
  font-size: 9px; font-style: normal; opacity: .92;
}
.sp-modal-ava-wrap {
  display: flex; align-items: center; gap: 14px;
}
.sp-modal-ava { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; cursor: pointer; }
.sp-modal-ava-meta { display: grid; gap: 4px; font-size: 13px; }
.sp-modal-ava-meta strong { font-size: 14px; }
.sp-card-info { min-width: 0; }
.sp-card-title {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px;
}
.sp-card-title strong { font-size: 16px; }
.sp-card-meta {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  font-size: 12px; color: var(--muted); margin-bottom: 6px;
}
.sp-card-intro {
  margin: 0 0 6px; font-size: 13px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp-card-svcs, .sp-card-login {
  font-size: 12px; color: #3a4f48; margin-top: 4px;
  display: flex; align-items: flex-start; gap: 6px;
}
.sp-card-svcs i, .sp-card-login i { color: var(--brand); margin-top: 2px; }
.sp-card-actions {
  display: flex; flex-direction: column; gap: 8px; justify-content: center; flex-shrink: 0;
}
.person-modal {
  width: min(560px, 100%);
  max-height: min(90vh, 860px);
  max-height: min(90dvh, 860px);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
}
.person-modal-hero {
  position: relative;
  flex: 0 0 auto;
  padding: 24px 28px 18px;
  background: linear-gradient(145deg, #e86a4a 0%, #c4532f 100%);
  color: #fff;
}
.person-modal-eyebrow {
  margin: 0 0 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .78;
}
.person-modal-hero h3 { margin: 0 0 6px; font-family: var(--display); font-size: 24px; }
.person-modal-desc { margin: 0; font-size: 13px; opacity: .85; padding-right: 36px; }
.person-modal-form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fbfcfb;
}
.person-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 24px 12px;
  background: #fbfcfb;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.person-modal-section {
  margin-bottom: 16px; padding: 14px 14px 6px;
  border-radius: 14px; background: #fff; border: 1px solid var(--line);
}
.person-modal-section h4 {
  margin: 0 0 10px; font-size: 14px; color: var(--brand-dark);
}
.person-modal-hint { margin: -4px 0 10px; font-size: 12px; }
.person-svc-checks {
  display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px;
}
.person-svc-checks label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px; background: #f3f6f5;
  font-size: 13px; font-weight: 500; cursor: pointer;
}
.person-modal-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 12px 24px 16px;
  background: #fbfcfb;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .sp-card { flex-direction: column; }
  .sp-card-actions { flex-direction: row; }
  .person-modal {
    width: min(560px, calc(100vw - 20px));
    max-height: min(94vh, 900px);
    max-height: min(94dvh, 900px);
  }
  .person-modal-hero { padding: 20px 18px 14px; }
  .person-modal-hero h3 { font-size: 20px; padding-right: 36px; }
  .person-modal-body { padding: 14px 14px 10px; }
  .person-modal-actions {
    padding: 10px 14px 14px;
  }
  .person-modal-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* VIP ?? / ???? */
.vip-renew-modal {
  width: min(860px, 100%);
  max-height: min(92vh, 900px);
  max-height: min(92dvh, 900px);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  background: #f7f4ee;
}
.vip-renew-hero {
  position: relative;
  flex: 0 0 auto;
  padding: 28px 28px 22px;
  color: #f8efe0;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(232, 197, 120, .28), transparent 55%),
    linear-gradient(135deg, #1a1814 0%, #2c2418 45%, #3d3426 100%);
}
.vip-renew-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(232, 197, 120, .18);
  border: 1px solid rgba(232, 197, 120, .35);
  color: #e8c578; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 10px;
}
.vip-renew-hero h3 {
  margin: 0; font-size: 22px; font-weight: 800; color: #fff8ea;
  font-family: var(--display);
}
.vip-renew-hero p {
  margin: 8px 0 0; font-size: 13px; color: rgba(248, 239, 224, .78); line-height: 1.5;
  max-width: 520px;
}
.vip-renew-close {
  position: absolute; right: 14px; top: 12px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #f8efe0; font-size: 22px; cursor: pointer;
}
.vip-renew-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 20px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.vip-renew-alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 14px;
  background: #fff1f0; border: 1px solid #f5c6c2; color: #a33b32;
  margin-bottom: 14px;
}
.vip-renew-alert i { margin-top: 2px; }
.vip-renew-alert strong { display: block; font-size: 14px; }
.vip-renew-alert span { display: block; margin-top: 2px; font-size: 12px; opacity: .9; }
.vip-pay-block {
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 18px;
  padding: 16px 16px 14px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(60, 40, 10, .04);
}
.vip-pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.vip-pay-label {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #3d3426;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vip-pay-label i { color: #b8893b; }
.vip-pay-note {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff7ec;
  color: #9a6b14;
  border: 1px solid #f0dfb8;
}
.vip-pay-qr {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 14px;
  background:
    radial-gradient(280px 120px at 50% 0%, rgba(232, 197, 120, .12), transparent 70%),
    #f7f3eb;
  border: 1px dashed #e4d8c4;
}
.vip-pay-qr.is-single {
  padding: 18px 16px;
}
.vip-pay-qr.is-dual {
  gap: 16px;
}
.vip-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 200px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #ebe4d8;
  box-shadow: 0 6px 16px rgba(42, 36, 28, .05);
  text-align: center;
}
.vip-pay-qr.is-single .vip-qr-card {
  max-width: 220px;
}
.vip-pay-qr.is-dual .vip-qr-card {
  flex: 1 1 0;
  max-width: 220px;
  min-width: 0;
}
.vip-qr-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #2a241c;
  line-height: 1;
}
.vip-qr-brand i { font-size: 16px; }
.vip-qr-card.is-wechat .vip-qr-brand i { color: #07c160; }
.vip-qr-card.is-alipay .vip-qr-brand i { color: #1677ff; }
.vip-qr-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #faf8f4;
  border: 1px solid #f0e8da;
  display: grid;
  place-items: center;
}
.vip-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.vip-pay-tip {
  margin: 12px 2px 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}
.vip-section-label {
  font-size: 13px; font-weight: 700; color: #3d3426;
  margin: 4px 0 10px;
}
.vip-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.vip-pkg-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.vip-pkg-card {
  position: relative;
  text-align: left;
  border: 2px solid #e8e0d2;
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px 12px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  color: inherit;
}
.vip-pkg-card:hover { border-color: #d4c4a8; }
.vip-pkg-card.is-on {
  border-color: #c49a45;
  box-shadow: 0 0 0 3px rgba(196, 154, 69, .18), 0 10px 24px rgba(60, 40, 10, .08);
  transform: translateY(-1px);
}
.vip-pkg-card.gold.is-on {
  background: linear-gradient(165deg, #fffdf8 0%, #fff6e4 100%);
}
.vip-pkg-card.diamond.is-on {
  background: linear-gradient(165deg, #f7fffc 0%, #e8f7f2 100%);
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .14), 0 10px 24px rgba(15, 80, 70, .08);
}
.vip-pkg-card.pro.is-on {
  background: linear-gradient(165deg, #fff 0%, #fff4ec 100%);
  border-color: #e86a4a;
  box-shadow: 0 0 0 3px rgba(232, 106, 74, .16);
}
.vip-pkg-card.is-locked {
  opacity: .48;
  filter: grayscale(.35);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
  background: #f7f4ef;
}
.vip-pkg-card.is-locked:hover {
  border-color: #e8e0d2;
  transform: none;
}
.vip-pkg-state {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.4;
}
.vip-pkg-state.is-block {
  background: #f1e8e0;
  color: #8a6a52;
}
.vip-pkg-state.is-renew {
  background: #e8f5ee;
  color: #1f6b45;
}
.vip-pkg-state.is-up {
  background: #fff0e8;
  color: #c24a28;
}
.vip-section-note {
  font-size: 12px;
  font-weight: 500;
  color: #8a7468;
  margin-left: 4px;
}
.vip-pkg-hot {
  position: absolute; right: 10px; top: 10px;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(90deg, #c49a45, #e0b85c); color: #fff;
}
.vip-pkg-hot-diamond {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}
.vip-pkg-name { font-size: 16px; font-weight: 800; color: #2a241c; }
.vip-pkg-price { margin-top: 8px; }
.vip-pkg-price em {
  font-style: normal; font-size: 26px; font-weight: 800;
  color: #8a6420; font-family: var(--display);
}
.vip-pkg-price span { font-size: 12px; color: var(--muted); margin-left: 2px; }
.vip-pkg-month { margin-top: 2px; font-size: 12px; color: var(--muted); }
.vip-pkg-feats {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; gap: 5px;
}
.vip-pkg-feats li {
  font-size: 12px; color: #5a5348;
  display: flex; align-items: center; gap: 6px;
}
.vip-pkg-feats i { color: #c49a45; font-size: 10px; }
.vip-promo-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(105deg, #e11d48 0%, #f43f5e 35%, #f97316 78%, #fb923c 100%);
  border: 0;
  box-shadow: 0 8px 20px rgba(225, 29, 72, .18);
}
.vip-promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 100% 0%, rgba(255,255,255,.16), transparent 55%);
  pointer-events: none;
}
.vip-promo-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.vip-promo-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.vip-promo-body { min-width: 0; }
.vip-promo-banner strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}
.vip-promo-banner span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: .9;
  line-height: 1.35;
}
.vip-promo-gift {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
}
.vip-promo-gift i {
  font-size: 20px;
  color: #fff;
}
@media (max-width: 640px) {
  .vip-promo-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .vip-promo-gift {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .vip-promo-gift i { font-size: 17px; }
}
.vip-cycle-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px;
}
.vip-cycle-card {
  position: relative;
  text-align: left;
  border: 2px solid #e8e0d2;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  color: inherit;
}
.vip-cycle-card.is-on {
  border-color: #e86a4a;
  background: linear-gradient(165deg, #fff 0%, #fff4ec 100%);
  box-shadow: 0 0 0 3px rgba(232, 106, 74, .14);
}
.vip-cycle-card.is-disabled,
.vip-cycle-card:disabled {
  opacity: .45; cursor: not-allowed;
}
.vip-cycle-card strong { display: block; font-size: 16px; }
.vip-cycle-card em {
  display: block; margin-top: 4px; font-style: normal;
  font-size: 12px; color: var(--muted);
}
.vip-cycle-tag {
  position: absolute; right: 10px; top: 10px;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
  background: #fff0ea; color: #c4532f;
}
.vip-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(120deg, #2a241c, #3d3426);
  color: #f8efe0; margin: 0;
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
}
.vip-summary span { display: block; font-size: 12px; opacity: .75; }
.vip-summary strong {
  display: block; margin-top: 2px; font-size: 28px; font-weight: 800;
  color: #e8c578; font-family: var(--display);
  line-height: 1.15;
}
.vip-summary p { margin: 0; font-size: 12px; opacity: .7; max-width: 240px; text-align: right; }
.vip-renew-footer {
  flex: 0 0 auto;
  padding: 12px 20px 16px;
  background: #f7f4ee;
  border-top: 1px solid #ebe4d8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.vip-renew-actions {
  display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
  position: static;
  background: transparent;
  padding: 0;
  margin: 0;
}
.btn.vip-pay-btn {
  background: linear-gradient(90deg, #b8893b, #d4a84b);
  border: 0; color: #1a1814; font-weight: 800;
  box-shadow: 0 8px 20px rgba(184, 137, 59, .35);
}
.btn.vip-pay-btn:hover { filter: brightness(1.05); color: #1a1814; }
.btn.vip-pay-btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.vip-page-hero {
  margin: 12px 0 16px; padding: 22px 20px;
  border-radius: 18px; color: #f8efe0;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(232, 197, 120, .28), transparent 55%),
    linear-gradient(135deg, #1a1814 0%, #2c2418 45%, #3d3426 100%);
}
.vip-page-hero h1 { margin: 8px 0 0; font-size: 24px; color: #fff8ea; }
.vip-page-hero p { margin: 8px 0 0; font-size: 13px; opacity: .8; }
@media (max-width: 720px) {
  .vip-renew-modal {
    width: min(860px, calc(100vw - 20px));
    max-height: min(94vh, 900px);
    max-height: min(94dvh, 900px);
  }
  .vip-renew-hero { padding: 22px 18px 16px; }
  .vip-renew-hero h3 { font-size: 18px; padding-right: 36px; }
  .vip-renew-body { padding: 14px 14px 16px; }
  .vip-renew-footer { padding: 10px 14px 14px; }
  .vip-pay-block { padding: 14px 12px 12px; border-radius: 16px; }
  .vip-pay-qr {
    gap: 10px;
    padding: 12px 10px;
  }
  .vip-pay-qr.is-dual {
    flex-wrap: nowrap;
  }
  .vip-pay-qr.is-dual .vip-qr-card {
    max-width: none;
    padding: 10px 8px 8px;
    border-radius: 14px;
  }
  .vip-pay-qr.is-single .vip-qr-card {
    max-width: 200px;
  }
  .vip-qr-brand { font-size: 12px; }
  .vip-qr-brand i { font-size: 14px; }
  .vip-pkg-grid { grid-template-columns: 1fr 1fr; }
  .vip-pkg-grid-4 { grid-template-columns: 1fr 1fr; }
  .vip-cycle-row { grid-template-columns: 1fr; }
  .vip-summary { flex-direction: column; align-items: flex-start; }
  .vip-summary p { text-align: left; max-width: none; }
  .vip-renew-actions {
    justify-content: stretch;
  }
  .vip-renew-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ???? / ?? */
.store-toolbar { align-items: center; }
.store-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.store-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px;
}
.store-tab em {
  font-style: normal; min-width: 20px; text-align: center; padding: 0 6px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 12px;
}
.store-tab.active {
  border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); font-weight: 600;
}
.store-name { font-weight: 600; color: var(--ink); }
.store-name:hover { color: var(--brand); }
.store-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.store-table code { font-size: 12px; background: #eef4f1; padding: 2px 6px; border-radius: 6px; }
.pkg-edit-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  width: 100%; text-align: left; border: 1px dashed var(--line); background: #f7fbf9;
  border-radius: 12px; padding: 10px 12px; cursor: pointer; color: inherit; transition: .15s ease;
}
.pkg-edit-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.pkg-edit-btn strong { font-size: 14px; color: var(--ink); }
.pkg-edit-btn .badge { margin-left: 6px; vertical-align: middle; }
.pkg-price { font-size: 12px; margin-left: 4px; }
.pkg-expire { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pkg-edit-ico { color: var(--brand); font-size: 12px; margin-top: 2px; }
.store-quick-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px;
}
.store-quick-card {
  display: grid; gap: 4px; padding: 14px 12px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: inherit; transition: border-color .2s, box-shadow .2s;
}
.store-quick-card:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(232,106,74,.10); }
.admin-portal .store-quick-card:hover { box-shadow: 0 8px 20px rgba(26,107,86,.08); }
.store-quick-card i {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 14px; margin-bottom: 4px;
}
.store-quick-card strong { font-size: 14px; }
.store-quick-card span { font-size: 12px; color: var(--muted); }
.store-dash-hero { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ?? ?????????????? ?? */
.store-workbench {
  --swb-ink: #1f2329;
  --swb-muted: #8f959e;
  --swb-line: #e5e6eb;
  --swb-card: #fff;
  --swb-soft: #f5f6f8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-workbench .swb-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.store-workbench .swb-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.store-workbench .swb-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--swb-ink);
  letter-spacing: -.02em;
}
.store-workbench .swb-title-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--swb-muted);
}
.store-workbench .swb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.store-workbench .swb-user {
  font-size: 12px;
  color: var(--swb-muted);
  font-weight: 600;
}
.store-workbench .swb-expire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--swb-line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--swb-ink);
  cursor: pointer;
}
.store-workbench .swb-expire em {
  font-style: normal;
  color: #E86A4A;
}
.store-workbench .swb-expire.is-expired {
  border-color: #f3c0c0;
  background: #fff5f5;
  color: #c0392b;
}
.store-workbench .swb-expire.is-expired em { color: #c0392b; font-weight: 800; }
.store-workbench .swb-expire.is-soon {
  border-color: #ffd591;
  background: #fff7e6;
  color: #ad6800;
}
.store-workbench .swb-expire.is-soon em { color: #d46b08; }
.store-workbench .swb-expire.is-static { cursor: default; }
.store-workbench .swb-alerts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.store-workbench .swb-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--swb-line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.store-workbench .swb-alert.is-warn {
  background: #fff9ec;
  border-color: #f0d9a8;
  color: #8a5a00;
}
.store-workbench .swb-alert.is-info {
  background: #f4f9ff;
  border-color: #c5daf5;
  color: #2f5d9a;
}
.store-workbench .swb-alert a {
  margin-left: auto;
  font-weight: 800;
  color: #E86A4A;
  text-decoration: none;
  white-space: nowrap;
}

/* KPI?????????????? */
.store-workbench .swb-kpi {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.store-workbench .swb-kpi-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px 11px;
  background: var(--swb-card);
  border: 1px solid var(--swb-line);
  border-radius: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.store-workbench a.swb-kpi-card:hover {
  border-color: #d7dae0;
  box-shadow: 0 6px 16px rgba(31, 35, 41, .08);
  transform: translateY(-1px);
}
.store-workbench .swb-kpi-card.is-feature {
  background: linear-gradient(145deg, #fff8f4 0%, #fff 55%);
  border-color: #f3d5c8;
}
.store-workbench .swb-kpi-card.is-feature .swb-kpi-body b { color: #c24d30; }
.store-workbench .swb-kpi-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  color: #fff;
}
.store-workbench .swb-kpi-card.tone-amber .swb-kpi-ico { background: #f59e0b; }
.store-workbench .swb-kpi-card.tone-blue .swb-kpi-ico { background: #3b82f6; }
.store-workbench .swb-kpi-card.tone-violet .swb-kpi-ico { background: #8b5cf6; }
.store-workbench .swb-kpi-card.tone-teal .swb-kpi-ico { background: #14b8a6; }
.store-workbench .swb-kpi-card.tone-green .swb-kpi-ico { background: #22c55e; }
.store-workbench .swb-kpi-card.tone-rose .swb-kpi-ico { background: #f43f5e; }
.store-workbench .swb-kpi-body {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.store-workbench .swb-kpi-body span {
  font-size: 12px;
  font-weight: 600;
  color: var(--swb-muted);
}
.store-workbench .swb-kpi-body b {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--swb-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.store-workbench .swb-kpi-body em {
  font-style: normal;
  font-size: 11px;
  color: var(--swb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-workbench .swb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}
.store-workbench .swb-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* ????????????? KPI ?? */
.store-workbench .swb-panel {
  background: var(--swb-card);
  border: 1px solid var(--swb-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
  padding: 14px;
}
.store-workbench .swb-ops-panel {
  background: var(--swb-soft);
  border-color: #e2e4e9;
  box-shadow: none;
  padding: 16px 16px 18px;
}
.store-workbench .swb-panel-head,
.store-workbench .swb-side-head,
.store-workbench .swb-board-head,
.store-workbench .swb-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.store-workbench .swb-panel-head h2,
.store-workbench .swb-side-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--swb-ink);
}
.store-workbench .swb-panel-head span,
.store-workbench .swb-side-head span {
  font-size: 12px;
  color: var(--swb-muted);
}
.store-workbench .swb-ops {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.store-workbench .swb-ops-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  min-height: 92px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.store-workbench a.swb-ops-item.is-link:hover {
  border-color: #f0c7b8;
  box-shadow: 0 6px 18px rgba(232, 106, 74, .1);
  transform: translateY(-1px);
}
.store-workbench .swb-ops-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: #f5f6f8;
  flex-shrink: 0;
}
.store-workbench .swb-ops-item i.tone-amber { color: #d97706; background: #fff7ed; }
.store-workbench .swb-ops-item i.tone-slate { color: #64748b; background: #f1f5f9; }
.store-workbench .swb-ops-item i.tone-teal { color: #0d9488; background: #f0fdfa; }
.store-workbench .swb-ops-item i.tone-blue { color: #2563eb; background: #eff6ff; }
.store-workbench .swb-ops-item i.tone-violet { color: #7c3aed; background: #f5f3ff; }
.store-workbench .swb-ops-item i.tone-green { color: #16a34a; background: #f0fdf4; }
.store-workbench .swb-ops-item i.tone-coral { color: #E86A4A; background: #fff5f2; }
.store-workbench .swb-ops-item i.tone-cyan { color: #0891b2; background: #ecfeff; }
.store-workbench .swb-ops-item i.tone-rose { color: #e11d48; background: #fff1f2; }
.store-workbench .swb-ops-item i.tone-orange { color: #ea580c; background: #fff7ed; }
.store-workbench .swb-ops-item i.tone-indigo { color: #4f46e5; background: #eef2ff; }
.store-workbench .swb-ops-item > div {
  min-width: 0;
  flex: 1;
}
.store-workbench .swb-ops-item b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--swb-ink);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-workbench .swb-ops-item span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--swb-muted);
  font-weight: 500;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1400px) {
  .store-workbench .swb-ops { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 1100px) {
  .store-workbench .swb-ops { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 720px) {
  .store-workbench .swb-ops { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store-workbench .swb-ops-item { padding: 16px 12px; }
}
.store-workbench .swb-follow {
  background: #fffaf6;
  border-color: #f0d9cb;
}
.store-workbench .swb-follow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ?? 7 ????? */
.store-workbench .swb-boards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.store-workbench .swb-board {
  background: var(--swb-card);
  border: 1px solid var(--swb-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
  padding: 10px 8px 12px;
  min-height: 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.store-workbench .swb-board-head {
  margin-bottom: 8px;
  gap: 4px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.store-workbench .swb-board-head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--swb-ink);
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  line-height: 1.25;
}
.store-workbench .swb-board-head h3 i { color: #E86A4A; font-size: 11px; flex-shrink: 0; }
.store-workbench .swb-board-head a {
  font-size: 11px;
  font-weight: 700;
  color: #E86A4A;
  text-decoration: none;
  white-space: nowrap;
}
.store-workbench .swb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
  overflow-y: auto;
  max-height: 320px;
  -webkit-overflow-scrolling: touch;
}
.store-workbench .swb-list li {
  display: grid;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #eef0f3;
  min-width: 0;
}
.store-workbench .swb-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.store-workbench .swb-list strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--swb-ink);
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.store-workbench .swb-list span {
  font-size: 11px;
  color: var(--swb-muted);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-workbench .swb-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--swb-muted);
  padding: 24px 0;
  min-height: 180px;
  text-align: center;
}

/* ??????? + ?? + ???? + ??? */
.store-workbench .swb-side {
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.store-workbench .swb-rail-pos {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg, #f0845f 0%, #E86A4A 55%, #d45535 100%);
  box-shadow: 0 10px 22px rgba(232, 106, 74, .32);
  transition: filter .15s ease, transform .15s ease;
}
.store-workbench .swb-rail-pos:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.store-workbench .swb-rail-pos-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.2);
  font-size: 18px;
  flex-shrink: 0;
}
.store-workbench .swb-rail-pos-text {
  flex: 1;
  min-width: 0;
}
.store-workbench .swb-rail-pos-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
}
.store-workbench .swb-rail-pos-text em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  opacity: .92;
}
.store-workbench .swb-rail-pos-go {
  font-size: 13px;
  opacity: .85;
  flex-shrink: 0;
}
.store-workbench .swb-rail-card {
  background: #fff;
  border: 1px solid var(--swb-line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
}
.store-workbench .swb-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.store-workbench .swb-rail-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--swb-ink);
}
.store-workbench .swb-rail-head a {
  font-size: 13px;
  font-weight: 700;
  color: #3370ff;
  text-decoration: none;
}
.store-workbench .swb-rail-head a:hover { text-decoration: underline; }
.store-workbench .swb-rail-head span {
  font-size: 12px;
  color: var(--swb-muted);
  font-weight: 600;
}
.store-workbench .swb-guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-workbench .swb-guide-list a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2b2f36;
  text-decoration: none;
  line-height: 1.45;
}
.store-workbench .swb-guide-list a:hover { color: #E86A4A; }
.store-workbench .swb-guide-tag {
  color: #5b616b;
  font-weight: 700;
}
.store-workbench .swb-portals {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.store-workbench .swb-portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px 10px;
  border-radius: 12px;
  background: #fafbfc;
  border: 1px solid #eef0f3;
}
.store-workbench .swb-portal-qr {
  width: 132px;
  height: 132px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8eaed;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.store-workbench .swb-portal-qr img {
  width: 116px;
  height: 116px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}
.store-workbench .swb-portal strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--swb-ink);
}
.store-workbench .swb-portal em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--swb-muted);
  line-height: 1.4;
  max-width: 200px;
}
.store-workbench .swb-portal-link {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #E86A4A;
  text-decoration: none;
}
.store-workbench .swb-portal-link:hover { text-decoration: underline; }
.store-workbench .swb-mini-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.store-workbench .swb-mini-actions a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f7f8fa;
  border: 1px solid #eceef2;
  text-decoration: none;
  color: var(--swb-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-workbench .swb-mini-actions a:hover {
  border-color: #f0c7b8;
  background: #fff8f5;
  color: #E86A4A;
}
.store-workbench .swb-mini-actions i {
  color: #E86A4A;
  width: 1em;
  text-align: center;
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .store-workbench .swb-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-workbench .swb-layout { grid-template-columns: 1fr; }
  .store-workbench .swb-side { position: static; }
  .store-workbench .swb-boards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .store-workbench .swb-portals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .store-workbench .swb-boards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .store-workbench .swb-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-workbench .swb-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-workbench .swb-kpi-body b { font-size: 18px; }
  .store-workbench .swb-portals { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .store-workbench .swb-boards { grid-template-columns: 1fr; }
}


/* ???? ? ???? */
.store-search { position: relative; }
.store-search-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); max-height: 280px; overflow: auto;
}
.store-search-item {
  display: grid; gap: 2px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line);
  background: #fff; padding: 10px 12px; cursor: pointer;
}
.store-search-item:last-child { border-bottom: 0; }
.store-search-item:hover { background: var(--brand-soft); }
.store-search-item strong { font-size: 14px; color: var(--ink); }
.store-search-item span, .store-search-item em { font-size: 12px; color: var(--muted); font-style: normal; }
.store-search-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }
.store-search-picked {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); border: 1px solid var(--line);
}
.store-search-picked i { color: var(--brand); }
.store-search-picked span { flex: 1; min-width: 160px; font-size: 13px; }
.sub-amount-preview {
  height: 44px; display: flex; align-items: center; padding: 0 12px;
  border-radius: 12px; background: linear-gradient(160deg, #fff, var(--accent-soft));
  border: 1px solid var(--line); font-size: 20px; font-family: var(--display); color: #9b4633; font-weight: 700;
}

/* ?????? */
.pkg-legend { margin-bottom: 16px; }
.pkg-legend strong { display: block; margin-bottom: 10px; }
.pkg-legend-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; font-size: 13px;
}
.pkg-legend-grid > div { display: flex; flex-direction: column; gap: 4px; }
.pkg-card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px;
}
.pkg-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 8px 24px rgba(26,107,86,.04);
  background-image: linear-gradient(165deg, #fff 50%, var(--brand-soft));
}
.pkg-card.is-pro { background-image: linear-gradient(165deg, #fff 45%, #eaf2ff); }
.pkg-card.is-premium { background-image: linear-gradient(165deg, #fff 40%, var(--accent-soft)); }
.pkg-card.is-diamond { background-image: linear-gradient(165deg, #fff 35%, #e8f7f2); }
.pkg-card.is-off { opacity: .72; }
.pkg-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pkg-card-code { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.pkg-card-head h3 { margin: 0; font-size: 20px; font-family: var(--display); }
.pkg-card-badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.pkg-card-price em {
  font-style: normal; font-size: 32px; font-family: var(--display); color: var(--brand-dark); font-weight: 800;
}
.pkg-card-price span { color: var(--muted); margin-left: 2px; }
.pkg-card-meta {
  display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted);
}
.pkg-card-meta i { color: var(--brand); margin-right: 4px; }
.pkg-feat-preview { display: flex; flex-wrap: wrap; gap: 6px; min-height: 56px; }
.pkg-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px;
  background: #eef4f1; color: var(--muted); font-size: 12px;
}
.pkg-chip.on { background: var(--brand-soft); color: var(--brand-dark); }
.pkg-chip.more { background: #fff; border: 1px dashed var(--line); }
.pkg-card-foot { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }

.pkg-matrix-group { margin-top: 16px; }
.pkg-matrix-group h4 { margin: 0 0 8px; font-size: 14px; }
.pkg-matrix { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pkg-matrix-row {
  display: grid; grid-template-columns: minmax(160px, 1.6fr) repeat(3, .6fr);
  gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); align-items: center; font-size: 13px;
}
.pkg-matrix-row:last-child { border-bottom: 0; }
.pkg-matrix-row.head { background: #f7fbf9; color: var(--muted); font-weight: 600; font-size: 12px; }
.pkg-matrix-row span:first-child { display: grid; gap: 2px; }
.pkg-matrix-row em { font-style: normal; color: var(--muted); font-size: 12px; }
.pkg-matrix-row .yes { color: var(--brand); text-align: center; font-weight: 700; }
.pkg-matrix-row .no { color: #c5d0cb; text-align: center; }

.pkg-modal-feats {
  margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line);
}
.pkg-modal-feat-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 240px; overflow: auto;
}
.pkg-feat-item {
  display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px;
  background: #f4f7f6; color: #9aa8a3; margin: 0;
}
.pkg-feat-item i { margin-top: 3px; }
.pkg-feat-item span { display: grid; gap: 2px; }
.pkg-feat-item strong { font-size: 13px; color: inherit; }
.pkg-feat-item em { font-style: normal; font-size: 11px; opacity: .85; }
.pkg-feat-item.is-on {
  background: var(--brand-soft); color: var(--brand-dark);
}

.store-detail-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.store-detail-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.store-review-badge {
  border: 0; cursor: pointer; font: inherit;
}
.store-review-badge:hover { filter: brightness(0.96); }
.sd-page { display: flex; flex-direction: column; gap: 14px; }
.sd-topbar { margin-bottom: 0 !important; }
.sd-toolbar { margin: 0; flex-wrap: wrap; }
.sd-summary {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
}
.sd-summary-tags {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px;
}
.sd-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}
.sd-summary-grid label {
  display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px;
}
.sd-summary-grid > div > div { font-size: 14px; word-break: break-word; }
.sd-summary-actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sd-alert {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  margin: 0;
}
.sd-profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
}
.sd-profile-grid > .panel { margin: 0; }
.sd-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 12px;
}
.sd-panel-head h3 { margin: 0; font-size: 16px; }
.onboard-docs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 14px;
}
.onboard-doc {
  border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fafcfb;
}
.onboard-doc-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.onboard-doc img {
  display: block; width: 100%; max-height: 220px; object-fit: contain;
  border-radius: 10px; background: #fff;
}
.onboard-doc-empty {
  min-height: 120px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line); border-radius: 10px; background: #fff;
}
.store-detail-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin: 0;
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.store-detail-tabs a {
  padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 14px;
}
.store-detail-tabs a.active, .store-detail-tabs a:hover {
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 600;
}
.store-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px;
}
.store-info-grid label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.store-info-grid .span-2 { grid-column: 1 / -1; }
.store-panel { margin-bottom: 0; }

@media (max-width: 980px) {
  .sd-summary-grid { grid-template-columns: 1fr 1fr; }
  .sd-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sd-summary-grid { grid-template-columns: 1fr; }
  .onboard-docs { grid-template-columns: 1fr; }
  .store-info-grid { grid-template-columns: 1fr; }
}

/* app shells */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 268px; background: linear-gradient(180deg, #ffffff 0%, #f2faf6 100%);
  border-right: 1px solid var(--line); padding: 18px 14px; position: sticky; top: 0; height: 100vh;
  overflow-y: auto; z-index: 40;
}
.sidebar .brand { padding: 4px 8px 18px; }
.sidebar .brand .name { font-size: 22px; }
.sidebar nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  color: var(--ink); margin-bottom: 3px; font-size: 15px; font-weight: 500;
}
.sidebar nav a i { font-size: 15px; width: 1.15em; text-align: center; }
.sidebar nav a:hover, .sidebar nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.sidebar nav .nav-group {
  margin: 14px 8px 6px; font-size: 12px; color: var(--muted); letter-spacing: .08em;
}
/* ???????? + ???????????????????? */
.admin-portal .sidebar {
  width: 118px;
  padding: 14px 4px;
}
.admin-portal .sidebar .brand {
  padding: 2px 4px 12px;
  text-align: center;
}
.admin-portal .sidebar .brand .brand-mark {
  justify-content: center;
  width: 100%;
}
.admin-portal .sidebar .brand .brand-mark img { width: 30px; height: 30px; }
.admin-portal .sidebar .brand .brand-mark .name { display: none; }
.admin-portal .sidebar .brand .muted {
  font-size: 12px;
  margin: 6px 0 0 !important;
}
.admin-portal .sidebar nav a {
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  margin: 0 auto 4px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
}
.admin-portal .sidebar nav a i { font-size: 16px; width: auto; }
.admin-portal .sidebar nav a:hover,
.admin-portal .sidebar nav a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.admin-portal .main { padding: 20px 22px; }
/* ????????? ? ?????? ? ??????????? */
.store-portal .app-shell {
  background: #f4f2ef;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  align-items: stretch;
}
@media (min-width: 901px) {
  body.store-portal {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
  }
}
.store-portal .sidebar {
  width: 128px;
  padding: 12px 0 10px;
  background: linear-gradient(180deg, #1a1d23 0%, #15181d 100%);
  border-right: 1px solid rgba(255,255,255,.04);
  display: flex;
  flex-direction: column;
  color: #c9cdd4;
  box-shadow: 4px 0 24px rgba(15, 18, 22, .18);
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  height: 100dvh;
  flex-shrink: 0;
  overflow: hidden;
}
.store-portal .sidebar .brand {
  padding: 6px 6px 12px;
  text-align: center;
  flex-shrink: 0;
}
.store-portal .sidebar .brand .brand-mark {
  justify-content: center;
  width: 100%;
  gap: 0;
  flex-direction: column;
}
.store-portal .sidebar .brand .brand-mark img {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 10px;
  box-shadow: none;
}
.store-portal .sidebar .brand .name { display: none; }
.store-portal .sidebar .brand .muted { display: none; }
.store-portal .sidebar nav.store-nav,
.store-portal .sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 0 8px 8px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.store-portal .sidebar nav.store-nav::-webkit-scrollbar { width: 3px; }
.store-portal .sidebar nav.store-nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.16);
  border-radius: 99px;
}
.store-portal .sidebar nav a {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin: 0;
  padding: 10px 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #9aa1ac;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: .02em;
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.store-portal .sidebar nav a em {
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  color: inherit;
  white-space: nowrap;
}
.store-portal .sidebar nav a i {
  font-size: 18px;
  width: 1.15em;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
  color: #b8bec8;
  transition: color .15s ease;
}
.store-portal .sidebar nav a:hover {
  background: rgba(255,255,255,.08);
  color: #f5f6f8;
}
.store-portal .sidebar nav a:hover i { color: #fff; }
.store-portal .sidebar nav a.active {
  background: #f7f7f8;
  color: #E86A4A;
  box-shadow: none;
}
.store-portal .sidebar nav a.active i { color: #E86A4A; }
.store-portal .sidebar nav a.active em { color: #E86A4A; }
.store-portal .sidebar nav .nav-group { display: none; }
.store-portal .sidebar .nav-dot {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #E86A4A;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(232, 106, 74, .45);
}
.store-portal .store-nav-foot {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 12px 8px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.22));
}
.store-portal .store-nav-foot a,
.store-portal .store-nav-foot a.store-nav-pos {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 56px;
  height: 56px;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(160deg, #f0845f 0%, #E86A4A 55%, #d45535 100%);
  box-shadow: 0 6px 14px rgba(232, 106, 74, .36);
  letter-spacing: 0;
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.store-portal .store-nav-foot a em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.store-portal .store-nav-foot a i {
  font-size: 16px;
  width: auto;
  color: #fff;
}
.store-portal .store-nav-foot a:hover {
  filter: brightness(1.06);
  color: #fff;
  box-shadow: 0 8px 16px rgba(232, 106, 74, .46);
  transform: translateY(-1px);
}
.store-portal .store-nav-foot a.active {
  background: linear-gradient(160deg, #ff9a72 0%, #E86A4A 50%, #c84a2c 100%);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 6px 14px rgba(232, 106, 74, .4);
}
.store-portal .main {
  padding: 18px 22px 28px;
  background: #f4f2ef;
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.store-portal .main:has(.store-workbench) {
  padding-top: 12px;
  padding-bottom: 20px;
}
.store-portal .compliance-tip {
  background: #fff;
  border: 1px solid #ebe6e2;
  border-radius: 10px;
}
.store-portal .topbar,
.store-portal .dash-topbar {
  background: transparent;
}
.store-portal .panel,
.store-portal .dash-hero,
.store-portal .store-dash-hero,
.store-portal .stats .stat,
.store-portal .store-quick-card {
  border-radius: 12px;
}
@media (max-width: 900px) {
  body.store-portal {
    overflow: auto;
    height: auto;
  }
  .store-portal .app-shell {
    height: auto;
    overflow: visible;
  }
  .store-portal .sidebar {
    width: min(128px, 42vw);
    transform: translateX(-110%);
    transition: transform .2s ease;
    z-index: 40;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
  }
  .store-portal .sidebar.open {
    transform: translateX(0);
  }
  .store-portal .main {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .store-portal.has-side-subnav .mkt-subnav {
    display: none;
  }
  .store-portal.has-side-subnav .mkt-mobile-tabs {
    display: flex;
  }
}
.main { flex: 1; padding: 22px; min-width: 0; }
.topbar {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px;
  position: relative;
  z-index: 4;
  overflow: visible;
}
.compliance-tip {
  background: linear-gradient(90deg, var(--brand-soft), #fff8f4);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--muted); margin-bottom: 16px;
}
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-bar {
  display: none; position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  padding: 10px 14px; align-items: center; justify-content: space-between;
}
.sidebar-mask {
  display: none; position: fixed; inset: 0; background: rgba(22,40,35,.35); z-index: 35;
}

/* marketing */
.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
  background: rgba(243,247,245,.88); border-bottom: 1px solid rgba(213,228,222,.85);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.hero {
  position: relative; min-height: calc(100vh - 72px); display: grid; align-items: end;
  overflow: hidden;
}
.hero-visual {
  position: absolute; inset: 0;
  background: url('../img/hero-pet.svg') center/cover no-repeat;
  transform: scale(1.02);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(18,50,42,.78) 0%, rgba(18,50,42,.45) 42%, rgba(18,50,42,.2) 100%),
    linear-gradient(180deg, transparent 40%, rgba(18,50,42,.55) 100%);
}
.hero-inner {
  position: relative; z-index: 1; padding: 72px 0 80px; color: #fff; max-width: 680px;
}
.hero .brand-mark { color: #fff; margin-bottom: 18px; }
.hero .brand-mark .name { color: #fff; }
.brand-mark--light, .brand-mark--hero { color: #fff; }
.brand-mark--light .name, .brand-mark--hero .name { color: #fff; }
.panel { overflow-x: auto; }
.auth-box { width: min(420px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.pos-header .btn { flex-shrink: 0; white-space: nowrap; }
.pos-brand strong, .pos-brand .muted {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pos-brand-text { min-width: 0; }
.hero h1 {
  font-family: var(--display); font-size: clamp(38px, 6vw, 68px); line-height: 1.05;
  margin: 0 0 14px; letter-spacing: -.02em;
}
.hero p { font-size: 17px; max-width: 520px; opacity: .95; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.section { padding: 76px 0; }
.section h2 { font-family: var(--display); font-size: 34px; margin: 0 0 10px; }
.section .lead { color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat i { font-size: 22px; color: var(--accent); margin-bottom: 10px; }
.feat img.thumb {
  width: 100%; height: 140px; object-fit: cover; border-radius: 12px; margin-bottom: 12px;
}
.showcase {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; margin-bottom: 28px;
}
.showcase img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 20px; min-height: 280px;
  border: 1px solid var(--line);
}
.showcase-copy {
  background:
    linear-gradient(160deg, rgba(255,255,255,.95), rgba(231,244,239,.95)),
    url('../img/hero-pet.svg') right bottom / 180px auto no-repeat;
  border: 1px solid var(--line); border-radius: 20px; padding: 28px;
}
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: relative;
}
.price.hot { border-color: var(--accent); box-shadow: 0 12px 36px rgba(224,122,95,.15); transform: translateY(-4px); }
.price .tag { position: absolute; top: 14px; right: 14px; }
.price h3 { margin: 0 0 6px; font-family: var(--display); }
.price .fee { font-size: 36px; color: var(--brand); font-weight: 800; margin: 10px 0; }
.price .fee small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price ul { padding-left: 18px; color: var(--muted); font-size: 14px; }
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; background: #fff; }
.auth-box { max-width: 460px; margin: 48px auto; }
.portal-cards { display: grid; gap: 12px; }
.portal-card {
  display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line);
  border-radius: 14px; background: linear-gradient(135deg, #fff, var(--brand-soft));
}
.portal-card i { font-size: 22px; color: var(--accent); width: 28px; text-align: center; }
@keyframes rise { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none;} }
.anim { animation: rise .65s ease both; }
.anim.d2 { animation-delay: .1s; }
.anim.d3 { animation-delay: .2s; }

/* H5 */
.h5-body { max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; box-shadow: 0 0 40px rgba(26,107,86,.06); }
.h5-top { padding: 18px 16px 20px; background: linear-gradient(135deg, var(--brand), #f08a4b); color: #fff; }
.h5-card { margin: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.h5-tab {
  position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); z-index: 20;
}
.h5-tab a { text-align: center; color: var(--muted); font-size: 11px; }
.h5-tab a i { display: block; font-size: 18px; margin-bottom: 2px; }
.h5-tab a.active { color: var(--brand); }

/* ?????? */
.h5-tab-float {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 0 12px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.h5-tab-pill {
  pointer-events: auto;
  display: grid; grid-template-columns: repeat(var(--h5-tab-cols, 4), 1fr);
  gap: 4px; max-width: 480px; margin: 0 auto;
  background: rgba(255,255,255,.96); border: 1px solid var(--line);
  border-radius: 22px; padding: 8px 6px;
  box-shadow: 0 8px 28px rgba(26,107,86,.12);
  backdrop-filter: blur(8px);
}
.h5-tab-item {
  text-align: center; color: var(--muted); font-size: 11px;
  text-decoration: none; padding: 6px 4px; border-radius: 14px;
}
.h5-tab-item i { display: block; font-size: 18px; margin-bottom: 2px; }
.h5-tab-item.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

/* Floating frosted-glass dock */
body.has-h5-tab { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.h5-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 0 16px calc(14px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.h5-dock-glass {
  pointer-events: auto;
  max-width: 440px; margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 7px 10px 6px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 10px 32px rgba(40, 28, 22, 0.14),
    0 2px 8px rgba(232, 106, 74, 0.08),
    inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.h5-dock-item {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: 44px; padding: 4px 2px;
  color: #8a7a72; text-decoration: none; font-size: 10px; border-radius: 16px;
}
.h5-dock-item i { font-size: 17px; }
.h5-dock-item.is-on { color: var(--brand-dark); font-weight: 700; background: rgba(232,106,74,.08); }
.h5-dock-item.is-on i { color: var(--brand); }
.h5-dock-center {
  flex: 0 0 64px; width: 64px;
  position: relative; top: -12px;
  border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0; color: var(--brand-dark); font-size: 10px; font-weight: 700;
}
.h5-dock-center-orb {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #f08a4b 0%, var(--brand) 100%);
  color: #fff; font-size: 20px;
  box-shadow:
    0 8px 18px rgba(232,106,74,.34),
    0 0 0 4px rgba(255,255,255,.9);
}
.h5-dock-center em { font-style: normal; line-height: 1; }

/* ????????????? */
.store-dock { display: none; }
@media (max-width: 960px) {
  body.has-store-dock { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .store-dock {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 0 14px calc(8px + env(safe-area-inset-bottom));
    pointer-events: none;
  }
  .store-dock-glass {
    pointer-events: auto;
    max-width: 440px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 64px 1fr 1fr;
    align-items: center;
    gap: 2px;
    padding: 6px 8px 5px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
      0 8px 28px rgba(22, 40, 35, 0.12),
      inset 0 1px 0 rgba(255,255,255,.7);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
  }
  .store-dock-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; min-height: 42px; padding: 4px 2px;
    color: #7a8b84; text-decoration: none; font-size: 10px; border-radius: 14px;
  }
  .store-dock-item em { font-style: normal; line-height: 1; }
  .store-dock-item i { font-size: 17px; }
  .store-dock-item.is-on { color: var(--brand-dark); font-weight: 700; }
  .store-dock-item.is-on i { color: var(--brand); }
  .store-dock-item.is-disabled,
  .store-dock-center.is-disabled {
    opacity: .38;
    pointer-events: none;
    cursor: not-allowed;
  }
  .store-dock-center.is-disabled .store-dock-center-orb {
    background: linear-gradient(160deg, #9aabb3 0%, #7a8b84 100%);
    box-shadow: 0 4px 12px rgba(122,139,132,.2), 0 0 0 4px rgba(255,255,255,.9);
  }
  .store-dock-center {
    position: relative; top: -10px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 0; color: var(--brand-dark); font-size: 10px; font-weight: 700;
    text-decoration: none;
  }
  .store-dock-center-orb {
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(160deg, #f08a4b 0%, var(--brand) 100%);
    color: #fff; font-size: 20px;
    box-shadow:
      0 8px 18px rgba(232,106,74,.34),
      0 0 0 4px rgba(255,255,255,.9);
  }
  .store-dock-center.is-on .store-dock-center-orb {
    box-shadow:
      0 8px 18px rgba(232,106,74,.42),
      0 0 0 4px rgba(232,106,74,.22);
  }
  .store-dock-center em { font-style: normal; line-height: 1; }
  .pos-body.has-store-dock .pos-shell { padding-bottom: 12px; }
}

/* ?????? */
.h5-sheet-mask {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(20, 30, 28, 0.42);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0; animation: h5-fade .2s ease;
}
.h5-sheet-mask[hidden] { display: none !important; }
.h5-sheet {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 40px rgba(0,0,0,.12);
  animation: h5-sheet-up .28s cubic-bezier(.2,.8,.2,1);
}
.h5-sheet-handle {
  width: 40px; height: 4px; border-radius: 999px; background: #d5ddd9;
  margin: 4px auto 14px;
}
.h5-sheet h3 { margin: 0 0 6px; text-align: center; font-size: 18px; }
.h5-login-sheet-hero { text-align: center; margin-bottom: 16px; }
.h5-login-sheet-ico {
  width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 10px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 24px;
}
.h5-member-qr-box {
  display: grid; place-items: center; min-height: 240px;
  margin: 0; border-radius: 18px; background: #faf7f4;
  border: 1px solid #f0e6df;
}
.h5-member-qr-box img {
  width: 210px; height: 210px; border-radius: 12px; background: #fff; display: block;
}
.h5-member-meta {
  text-align: center; font-size: 13px; margin: 0; color: var(--muted);
  padding-top: 14px;
}
.h5-member-meta strong {
  display: block; font-size: 17px; color: var(--ink, #2a211c); margin-bottom: 4px;
}
@keyframes h5-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes h5-sheet-up { from { transform: translateY(40%); opacity: .6; } to { transform: none; opacity: 1; } }

/* ????? */
.h5-banner-loc {
  position: absolute; left: 12px; top: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  max-width: min(72%, calc(100% - 24px));
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.h5-banner-loc i { color: var(--brand); }
.h5-banner-loc em {
  font-style: normal; max-width: 160px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.h5-banner { position: relative; }
.login-hero {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(26,107,86,.12), transparent),
    radial-gradient(500px 280px at 100% 10%, rgba(224,122,95,.12), transparent),
    var(--bg);
}
.login-card { width: min(420px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }

/* ?? ????/???????? ?? */
.auth-split-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f7faf8;
}
.auth-split {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(340px, .95fr);
  min-height: 100vh;
  min-height: 100dvh;
}
.auth-split-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(155deg, #1a6b56 0%, #0f4f40 42%, #16352c 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 40px 52px;
}
.auth-split-visual-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(126, 214, 180, .28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 80%, rgba(232, 106, 74, .22), transparent 50%),
    linear-gradient(155deg, #1a6b56 0%, #0f4f40 48%, #122820 100%);
}
.auth-split-visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  animation: auth-split-float 10s ease-in-out infinite alternate;
}
.auth-split-visual-orb.o1 {
  width: 280px; height: 280px;
  top: -60px; right: -40px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
}
.auth-split-visual-orb.o2 {
  width: 200px; height: 200px;
  bottom: 18%; left: -50px;
  background: radial-gradient(circle, rgba(232,106,74,.35), transparent 70%);
  animation-delay: -3s;
}
.auth-split-visual-orb.o3 {
  width: 140px; height: 140px;
  top: 36%; left: 42%;
  background: radial-gradient(circle, rgba(126,214,180,.25), transparent 70%);
  animation-delay: -6s;
}
@keyframes auth-split-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(14px, -18px) scale(1.06); }
}
.auth-split-art { display: none; }
.auth-split-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,79,64,.05) 0%, rgba(10,40,32,.35) 55%, rgba(8,28,22,.78) 100%);
  pointer-events: none;
}
.auth-split-visual-copy {
  position: relative;
  z-index: 1;
  max-width: 440px;
  animation: rise .75s ease both;
}
.auth-split-visual-copy .brand-mark { margin-bottom: 26px; }
.auth-split-visual-copy .brand-mark img {
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.auth-split-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .78;
}
.auth-split-title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.03em;
}
.auth-split-desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
  opacity: .88;
  max-width: 34em;
}
.auth-split-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.auth-split-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  opacity: .92;
}
.auth-split-points i {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  background: rgba(255,255,255,.16);
  flex-shrink: 0;
}
.auth-split-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  background:
    radial-gradient(560px 300px at 100% 0%, rgba(26,107,86,.07), transparent 58%),
    radial-gradient(420px 240px at 0% 100%, rgba(232,106,74,.05), transparent 55%),
    #f7faf8;
  overflow-y: auto;
}
.auth-split-card {
  width: min(460px, 100%);
}
.auth-split-brand,
.auth-portal-brand { margin-bottom: 10px; }
.auth-split-panel .page-title,
.auth-portal-title {
  margin: 6px 0 6px;
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.auth-split-panel .page-sub,
.auth-portal-sub {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.55;
}
.auth-split-panel .form-row { margin-bottom: 14px; }
.auth-split-panel label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #3a4a44;
  margin-bottom: 7px;
}
.auth-split-panel .input,
.auth-split-panel select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid #d9e6e0;
  border-radius: 14px;
  font: inherit;
  background: rgba(255,255,255,.92);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.auth-split-panel .input:hover,
.auth-split-panel select:hover {
  border-color: #b9d0c6;
}
.auth-split-panel .input:focus,
.auth-split-panel select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26,107,86,.14);
  transform: translateY(-1px);
}
.auth-split-actions { display: grid; gap: 10px; }
.auth-split-foot { margin-top: 16px; font-size: 13px; }

/* Official site auth portal cards */
.auth-portal-grid {
  display: grid;
  gap: 12px;
}
.auth-portal-card {
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(26,107,86,.08);
  box-shadow: 0 8px 24px rgba(22,40,35,.04);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.auth-portal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26,107,86,.2);
  box-shadow: 0 16px 36px rgba(22,40,35,.1);
  background: #fff;
}
.auth-portal-card:active { transform: translateY(-1px); }
.auth-portal-card.is-primary {
  background: linear-gradient(135deg, #1a6b56 0%, #14856a 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(26,107,86,.28);
}
.auth-portal-card.is-primary:hover {
  box-shadow: 0 18px 40px rgba(26,107,86,.34);
  filter: brightness(1.03);
}
.auth-portal-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--brand-soft);
  color: var(--brand);
}
.auth-portal-card.is-primary .auth-portal-ico {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.auth-portal-ico.tone-ink { background: #eef1f4; color: #3d4a55; }
.auth-portal-ico.tone-coral { background: var(--accent-soft); color: var(--accent); }
.auth-portal-ico.tone-blue { background: #e8f1fb; color: #2b6cb0; }
.auth-portal-meta strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.auth-portal-meta em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  opacity: .72;
}
.auth-portal-card.is-primary .auth-portal-meta em { opacity: .85; }
.auth-portal-go {
  font-size: 13px;
  opacity: .35;
  transition: opacity .2s, transform .2s;
}
.auth-portal-card:hover .auth-portal-go {
  opacity: .85;
  transform: translateX(3px);
}
.auth-portal-card.is-primary .auth-portal-go { opacity: .7; color: #fff; }
.auth-portal-foot {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.auth-portal-foot .muted { margin: 0; color: var(--muted); }
.auth-portal-link {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}
.auth-portal-link:hover { text-decoration: underline; }
.auth-portal-link.muted { color: var(--muted); font-weight: 600; }
.auth-portal-link i { font-size: 11px; margin-left: 2px; }

.auth-portal--reg .auth-split-card,
.auth-portal--reg { width: 100%; }
.auth-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
}
.auth-reg-grid .form-row:nth-child(1),
.auth-reg-grid .form-row:nth-child(2),
.auth-reg-grid .form-row:nth-child(5),
.auth-reg-grid .form-row:nth-child(6) {
  grid-column: span 1;
}
@media (max-width: 560px) {
  .auth-reg-grid { grid-template-columns: 1fr; }
}
.auth-field-tip {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.auth-reg-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e7f4ef, #f3faf7);
  border: 1px solid rgba(26,107,86,.12);
  font-size: 13px;
  line-height: 1.5;
}
.auth-reg-banner.is-trial {
  background: linear-gradient(135deg, #fff4ee, #fff8f3);
  border-color: rgba(232,106,74,.16);
}
.auth-reg-banner i {
  margin-top: 2px;
  color: var(--brand);
  font-size: 16px;
}
.auth-reg-banner.is-trial i { color: var(--accent); }
.auth-reg-banner strong { display: block; margin-bottom: 2px; }
.auth-reg-banner span { color: var(--muted); }
.auth-agree {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 16px !important;
}
.auth-agree input { margin-top: 3px; flex-shrink: 0; }
.auth-agree label {
  margin: 0 !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  line-height: 1.5;
  color: var(--muted) !important;
}
.auth-reg-submit {
  margin-top: 4px;
  border-radius: 999px !important;
  padding: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
  box-shadow: 0 14px 32px rgba(26,107,86,.22);
  transition: transform .2s, box-shadow .2s !important;
}
.auth-reg-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(26,107,86,.28);
}
/* ????????????????? / ?????? */
.reg-steps {
  list-style: none;
  margin: 16px 0 22px;
  padding: 14px 10px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  background: linear-gradient(180deg, #f7faf8 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-sizing: border-box;
}
.reg-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-width: 0;
}
.reg-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  background: #e2ebe7;
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
}
.reg-step.is-done:not(:last-child)::after,
.reg-step.is-on:not(:last-child)::after {
  background: linear-gradient(90deg, var(--brand), #7bbfa8);
}
.reg-step-dot {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #d7e3de;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
  flex-shrink: 0;
}
.reg-step-label {
  display: block;
  line-height: 1.3;
  letter-spacing: .02em;
  word-break: keep-all;
}
.reg-step.is-done { color: var(--brand-dark); }
.reg-step.is-done .reg-step-dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.reg-step.is-on { color: var(--brand-dark); }
.reg-step.is-on .reg-step-dot {
  background: var(--accent, #e86a4a);
  border-color: var(--accent, #e86a4a);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(232, 106, 74, .16);
}
.reg-step.is-on .reg-step-label { font-weight: 800; }

@media (max-width: 560px) {
  .reg-steps {
    margin: 12px 0 18px;
    padding: 12px 4px 10px;
    border-radius: 14px;
  }
  .reg-step {
    gap: 6px;
    padding: 0 2px;
    font-size: 12px;
  }
  .reg-step-dot {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .reg-step:not(:last-child)::after {
    top: 13px;
    left: calc(50% + 15px);
    right: calc(-50% + 15px);
  }
  .reg-step.is-on .reg-step-dot {
    box-shadow: 0 0 0 3px rgba(232, 106, 74, .14);
  }
}

@media (max-width: 900px) {
  .auth-split {
    grid-template-columns: 1fr;
  }
  .auth-split-visual {
    min-height: 240px;
    padding: 28px 22px 32px;
  }
  .auth-split-title { font-size: 26px; }
  .auth-split-desc,
  .auth-split-points { display: none; }
  .auth-split-panel { padding: 28px 18px 40px; align-items: flex-start; }
  .auth-split-card { width: min(520px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-split-visual-orb { animation: none; }
  .auth-portal-card:hover,
  .auth-reg-submit:hover { transform: none; }
}

/* ?? ???????????/??/??? ?? */
.auth-pet-bg {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background-color: #f7faf8;
  background-image:
    radial-gradient(700px 380px at 12% -8%, rgba(26,107,86,.05), transparent 55%),
    radial-gradient(560px 320px at 96% 8%, rgba(224,122,95,.04), transparent 50%),
    radial-gradient(480px 280px at 50% 100%, rgba(43,108,176,.03), transparent 55%),
    url("../img/pet-pattern.svg");
  background-size: auto, auto, auto, 320px 320px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
}
.auth-pet-bg > .container.auth-box,
.auth-pet-bg > .container,
.auth-pet-bg > .h5-body,
.auth-pet-bg > .web-auth { position: relative; z-index: 1; }
.auth-pet-bg .panel { position: relative; z-index: 1; background: rgba(255,255,255,.96); }

.pet-deco {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  opacity: .45;
}
.pet-deco-item {
  position: absolute; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 18px; opacity: .1;
  color: #8aa399 !important;
  background: rgba(138,163,153,.04) !important;
  animation: pet-float 8s ease-in-out infinite;
}
.pet-deco-item.c1  { left: 6%;  top: 10%; animation-delay: 0s; }
.pet-deco-item.c2  { right: 8%; top: 14%; animation-delay: .4s; font-size: 20px; }
.pet-deco-item.c3  { left: 14%; top: 38%; animation-delay: .9s; }
.pet-deco-item.c4  { right: 12%; top: 42%; animation-delay: 1.2s; }
.pet-deco-item.c5  { left: 4%;  bottom: 22%; animation-delay: .6s; }
.pet-deco-item.c6  { right: 5%; bottom: 18%; animation-delay: 1.5s; }
.pet-deco-item.c7  { left: 22%; bottom: 8%; animation-delay: .2s; width: 32px; height: 32px; font-size: 14px; opacity: .08; }
.pet-deco-item.c8  { right: 24%; top: 6%; animation-delay: 1.8s; width: 32px; height: 32px; font-size: 14px; opacity: .08; }
.pet-deco-item.c9  { left: 48%; top: 8%; animation-delay: 1.1s; width: 28px; height: 28px; font-size: 12px; opacity: .07; }
.pet-deco-item.c10 { left: 40%; bottom: 14%; animation-delay: .7s; width: 34px; height: 34px; font-size: 15px; opacity: .07; }
.pet-deco-item.c11 { right: 38%; bottom: 28%; animation-delay: 2s; width: 30px; height: 30px; font-size: 13px; opacity: .07; }
.pet-deco-item.c12 { left: 58%; top: 48%; animation-delay: .5s; width: 28px; height: 28px; font-size: 12px; opacity: .06; }
@keyframes pet-float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

.h5-auth-shell .h5-top {
  background: linear-gradient(160deg, rgba(232,242,238,.95), rgba(255,248,244,.92));
  color: #1a3d34;
  border-bottom: 1px solid rgba(26,107,86,.08);
  position: relative; z-index: 1;
}
.h5-auth-shell .h5-top .brand-mark--light { filter: none; }
.h5-auth-shell .h5-card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
}

.h5-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
}
.h5-banner::before { display: none; }
.h5-banner-pets { display: none; }
.h5-banner-track, .h5-banner-dots { position: relative; z-index: 1; }

@media (max-width: 960px) {
  .stats, .feat-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .nav-toggle { display: inline-flex; }
  .app-shell { flex-direction: column; }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; height: 100vh; width: min(280px, 86vw);
    transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .admin-portal .sidebar { width: min(128px, 72vw); }
  .store-portal .sidebar { width: min(128px, 42vw); background: #1f2329; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-mask.open { display: block; }
  .sidebar nav { display: block; }
  .main { padding: 16px; }
  .dash-hero { grid-template-columns: repeat(2, 1fr); }
  .store-dash-hero { grid-template-columns: repeat(2, 1fr); }
  .dash-sys { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid .dash-span-2 { grid-column: auto; }
  .dash-bars { grid-template-columns: repeat(7, 1fr); }
  .dash-bar-col:nth-child(-n+7) { display: none; }
  .store-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats, .feat-grid, .price-grid, .grid-2 { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
  .hero-inner { padding: 56px 0 64px; }
  .price.hot { transform: none; }
  .section { padding: 56px 0; }
  .mkt-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 22px; }
  .pos-header { padding: 10px 12px; gap: 8px; }
  .pos-header .btn span { display: none; }
  .table { font-size: 13px; min-width: 480px; }
  .compliance-tip { font-size: 12px; line-height: 1.45; }
  .dash-hero, .dash-sys { grid-template-columns: 1fr; }
  .store-dash-hero { grid-template-columns: 1fr; }
  .pkg-legend-grid, .pkg-modal-feat-list { grid-template-columns: 1fr; }
  .pkg-matrix-row { grid-template-columns: 1.4fr repeat(3, .5fr); font-size: 12px; }
}

/* Captcha */
.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-img { height: 40px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; background: var(--brand-soft); flex-shrink: 0; }

/* ========== ???????? + ????? ========== */
.pos-body {
  margin: 0;
  background: #f3ece7;
  min-height: 100vh;
  min-height: 100dvh;
  color: #2a211c;
  display: flex;
  flex-direction: column;
  /* ????????????????????? */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pos-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  flex-shrink: 0;
}
/* ??? toast???? ui-toast ?????? + ??? */
.pos-toast-host {
  position: fixed;
  top: max(64px, calc(52px + env(safe-area-inset-top, 0px)));
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  width: min(420px, calc(100vw - 28px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  pointer-events: none !important;
}
.pos-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fffbf0;
  color: #303133;
  border: 1px solid #f0d9a8;
  box-shadow: 0 8px 24px rgba(48, 49, 51, .1), 0 1px 3px rgba(48, 49, 51, .06);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  will-change: transform, opacity;
  animation: posToastIn .28s cubic-bezier(.22, 1, .36, 1) both;
}
.pos-toast.is-out {
  animation: posToastOut .2s ease forwards;
  pointer-events: none;
}
.pos-toast.is-ok,
.pos-toast.is-info { color: #303133; border-color: #f0d9a8; background: #fffbf0; }
.pos-toast.is-err { color: #303133; border-color: #f3c0c0; background: #fff5f5; }
.pos-toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #67c23a;
  color: #fff;
  font-size: 12px;
}
.pos-toast.is-err .pos-toast-icon { background: #f56c6c; color: #fff; }
.pos-toast.is-info .pos-toast-icon { background: #409eff; color: #fff; }
.pos-toast-body { flex: 1; min-width: 0; word-break: break-word; }
.pos-toast-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
}
.pos-toast-actions .btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}
.pos-toast-close {
  border: 0;
  background: transparent;
  color: #a8abb2;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
}
.pos-toast-close:hover { color: #606266; background: rgba(0,0,0,.04); }
@keyframes posToastIn {
  from { opacity: 0; transform: translateY(-12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes posToastOut {
  to { opacity: 0; transform: translateY(-8px) scale(.97); }
}
/* ????????????? / ???? */
.pos-workspace > .alert,
.pos-panel-head .alert,
.pos-shell > .alert,
.pos-biz-tip {
  display: none !important;
}
.pos-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pos-brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(160deg, #f08a4b 0%, #e86a4a 100%);
  box-shadow: 0 2px 8px rgba(232, 106, 74, .28);
  font-size: 16px;
}
.pos-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pos-brand strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #2a211c;
  line-height: 1.2;
}
.pos-brand .muted {
  font-size: 12px;
  font-weight: 600;
  color: #8a7468;
  line-height: 1.3;
}
.pos-header-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.pos-head-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(232, 106, 74, .28);
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  color: var(--brand, #E86A4A);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 1px 2px rgba(42, 33, 28, .04);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.pos-head-btn i { font-size: 13px; opacity: .92; }
.pos-head-btn:hover {
  background: var(--brand-soft, #fff0ea);
  border-color: rgba(232, 106, 74, .5);
  transform: translateY(-1px);
}
button.pos-head-btn {
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.pos-fs-btn {
  min-width: 36px;
  padding: 0 12px;
}
.pos-fs-btn[data-fs="on"] {
  background: var(--brand-soft, #fff0ea);
  border-color: rgba(232, 106, 74, .55);
}
.pos-header .btn { font-weight: 700; }
.pos-flash { display: none !important; }

.pos-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 0 12px;
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 1;
}

/* ??/????? */
.pos-rail {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 58px;
  z-index: 30;
}
.pos-rail::-webkit-scrollbar { display: none; }
.pos-rail-group {
  display: flex;
  gap: 6px;
  align-items: stretch;
  flex-shrink: 0;
}
.pos-rail-label {
  display: none;
}
.pos-rail-item,
.pos-tab.pos-rail-item {
  flex: 0 0 auto;
  min-width: 72px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  color: #6b574c;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font: inherit;
}
.pos-rail-item i {
  font-size: 18px;
  color: var(--brand);
  display: block;
  margin: 0;
}
.pos-rail-item strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  color: inherit;
}
.pos-rail-item.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(160deg, #f08a4b 0%, #e86a4a 100%);
  box-shadow: 0 8px 18px rgba(232, 106, 74, .28);
}
.pos-rail-item.active i { color: #fff; }

/* ????? */
.pos-workspace {
  flex: 1;
  min-width: 0;
  padding: 12px;
  position: relative;
  z-index: 1;
}
.pos-panel-head { margin: 0 0 12px; }
.pos-panel-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #2a211c;
}
.pos-panel-sub {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #8a7468;
}
.pos-biz-tip { display: none !important; }
.pos-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(42, 33, 28, .04);
}
.pos-panel.active { display: block; }

/* ????????????? */
.pos-dock {
  order: -1;
  margin: 12px 12px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(42, 33, 28, .04);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  pointer-events: auto;
}
.pos-dock-member-actions,
.pos-dock-member-actions .btn,
.pos-order-foot-btns .btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  touch-action: manipulation;
}
.pos-order-dock { gap: 12px; }
.pos-dock-member {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  min-width: 0;
  flex: 1;
}
.pos-dock-member-bar,
.pos-dock-member-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #faf6f3;
}
.pos-dock-member-strip { cursor: default; }
.pos-dock-member-actions {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 8px;
}
.pos-dock-pick-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}
.pos-dock-pick-row #openMemberPickerBtn {
  flex: 1;
  min-width: 0;
}
.pos-dock-create-btn {
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pos-dock-create-btn i { margin: 0; }
.pos-dock-member-actions .btn {
  font-weight: 800;
  min-height: 40px;
  font-size: 13px;
  white-space: nowrap;
}
.pos-create-member-modal .modal-foot {
  justify-content: center;
  gap: 12px;
}
.pos-create-member-modal .modal-foot .btn {
  min-width: 120px;
  font-weight: 800;
}
.pos-cm-err {
  color: #c0392b !important;
  font-size: 13px;
  margin: 4px 0 0;
}
.pos-scan-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.pos-dock-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand, #E86A4A);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.pos-dock-member-text { min-width: 0; }
.pos-dock-member-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #2a211c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-dock-member-text em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #8a7468;
  margin-top: 2px;
}
.pos-lookup-result {
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #faf6f3;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.pos-order-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  flex: 1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
}
.pos-order-thead {
  display: grid;
  grid-template-columns: 1.4fr 1fr .9fr 44px;
  gap: 6px;
  padding: 8px 10px;
  background: #faf6f3;
  font-size: 11px;
  font-weight: 700;
  color: #8a7468;
}
.pos-order-tbody {
  flex: 1;
  overflow: auto;
  max-height: 180px;
}
.pos-order-empty {
  padding: 28px 12px;
  text-align: center;
  color: #8a7468;
  font-size: 13px;
  font-weight: 600;
}
.pos-order-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr .9fr 44px;
  gap: 6px;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #f0e8e2;
  font-size: 12px;
}
.pos-order-row strong {
  display: block;
  font-weight: 800;
  color: #2a211c;
  line-height: 1.3;
}
.pos-order-row em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #8a7468;
  margin-top: 2px;
  font-weight: 600;
}
.pos-order-row .pos-order-sub {
  font-weight: 800;
  color: var(--brand, #E86A4A);
  text-align: right;
}
.pos-order-row .pos-order-del {
  border: 0;
  background: transparent;
  color: #c0b0a6;
  cursor: pointer;
  font-size: 14px;
  padding: 6px;
}
.pos-order-row .pos-order-del:hover { color: #e86a4a; }

.pos-order-staff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #5a4a42;
}
.pos-order-staff-pick { flex: 1; min-width: 0; }
.pos-staff-select {
  width: 100%;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
}

.pos-dock-summary {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pos-dock-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.pos-dock-summary-row span { color: #8a7468; font-weight: 600; }
.pos-dock-summary-row strong { font-weight: 800; color: #2a211c; text-align: right; }
.pos-dock-tips { margin-top: 0; }
.pos-dock-chip {
  margin: 0;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}
.pos-dock-chip.is-bound {
  background: #eef8f0;
  color: #2f6b3a;
}

.pos-order-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pos-order-foot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #5a4a42;
}
.pos-order-foot-meta strong {
  font-size: 15px;
  color: #2a211c;
}
.pos-order-foot-meta em {
  font-style: normal;
  color: var(--brand, #E86A4A);
  font-weight: 800;
}
.pos-order-foot-btns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}
.pos-order-foot-btns .btn {
  min-height: 42px;
  font-weight: 800;
  justify-content: center;
}
.pos-hang-btn {
  border-color: var(--brand, #E86A4A) !important;
  color: var(--brand, #E86A4A) !important;
}
.pos-hang-btn:hover {
  background: var(--brand-soft, #fff0ea) !important;
}
.pos-hang-btn.is-disabled {
  opacity: .55;
  pointer-events: none;
}
#posTakeHangBtn {
  position: relative;
}
#posTakeHangBtn.has-hang {
  color: var(--brand, #E86A4A);
  font-weight: 800;
}
.pos-hang-badge {
  display: none !important;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand, #E86A4A);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}
#posTakeHangBtn.has-hang .pos-hang-badge {
  display: inline-grid !important;
}
.pos-order-foot-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.pos-dock-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #faf6f3;
  color: #2a211c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.pos-dock-link i { color: var(--brand); }

/* legacy tools???????????? */
.pos-charge-tools { display: none; }

/* ?????? */
.pos-member-modal .modal-foot {
  justify-content: center;
  gap: 12px;
}
.pos-member-modal .modal-foot .btn {
  min-width: 120px;
  font-weight: 800;
}
.pos-mm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pos-mm-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.pos-mm-search select {
  width: 120px;
  flex: 0 0 auto;
}
.pos-mm-search input[type="search"] {
  flex: 1;
  min-width: 160px;
}
.pos-mm-actions { flex-shrink: 0; }
.pos-mm-hint { margin: 0 0 12px; font-size: 12px; }
.pos-mm-table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
  max-height: min(48vh, 420px);
}
.pos-mm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pos-mm-table th {
  position: sticky;
  top: 0;
  background: #faf6f3;
  text-align: left;
  padding: 10px 12px;
  font-weight: 800;
  color: #8a7468;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.pos-mm-table td {
  padding: 12px;
  border-bottom: 1px solid #f0e8e2;
  vertical-align: middle;
}
.pos-mm-row { cursor: pointer; }
.pos-mm-row:hover { background: #fff8f4; }
.pos-mm-row.is-on { background: var(--brand-soft); }
.pos-mm-empty td {
  text-align: center;
  color: #8a7468;
  padding: 28px 12px;
  font-weight: 600;
}
.pos-mm-cardno { font-weight: 700; color: #5a4a42; font-variant-numeric: tabular-nums; }
.pos-mm-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pos-mm-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  flex-shrink: 0;
}
.pos-mm-info strong {
  display: block;
  font-weight: 800;
  color: #2a211c;
}
.pos-mm-info em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #8a7468;
  margin-top: 2px;
  font-weight: 600;
}
.pos-mm-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--mm-badge, var(--brand));
}

/* ???? ? ????2??? */
.pos-amount-block {
  margin: 0 0 16px;
  padding: 0 2px 4px;
}
.pos-amount-label {
  font-size: 13px;
  font-weight: 600;
  color: #8a7468;
  margin: 0 0 8px;
  line-height: 1.2;
}
.pos-amount-label i {
  font-style: normal;
  color: #e86a4a;
  margin-right: 2px;
  font-weight: 800;
}
.pos-amount-display {
  text-align: left;
  font-size: clamp(36px, 9vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 0 8px;
  color: #2a211c;
  font-variant-numeric: tabular-nums;
  display: block;
  cursor: text;
  border-bottom: 2px solid var(--brand, #E86A4A);
}
.pos-amount-group {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px;
  max-width: 100%;
}
.pos-currency {
  font-size: .55em;
  margin: 0;
  color: #2a211c;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}
.pos-amount-input {
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
  min-width: 0.7em;
  max-width: 100%;
  width: auto;
  field-sizing: content;
  text-align: left;
  font: inherit;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: inherit;
  appearance: textfield;
  -moz-appearance: textfield;
}
.pos-amount-input::-webkit-outer-spin-button,
.pos-amount-input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.pos-amount-input:focus {
  outline: none;
  box-shadow: none;
}
.pos-amount-display:focus-within {
  border-bottom-color: var(--brand, #E86A4A);
  box-shadow: none;
  border-radius: 0;
}

/* ?????????2? */
.pos-charge-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0e4dc;
}
.pos-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1.5px solid var(--brand, #E86A4A);
  background: #fff;
  color: var(--brand, #E86A4A);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.pos-tool-btn i { font-size: 13px; }
.pos-tool-btn:hover {
  background: var(--brand, #E86A4A);
  color: #fff;
  box-shadow: 0 6px 14px rgba(232, 106, 74, .28);
}

.pos-pay-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.pos-pay {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 6px;
  font-size: 12px;
  cursor: pointer;
  color: #6b574c;
  font-weight: 700;
}
.pos-pay i { display: block; margin-bottom: 4px; font-size: 18px; }
.pos-pay b { font-weight: 800; }
.pos-pay.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(160deg, #f08a4b, #e86a4a);
  box-shadow: 0 6px 14px rgba(232, 106, 74, .25);
}
.pos-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.pos-key {
  border: 1px solid var(--line);
  background: #faf6f3;
  border-radius: 14px;
  min-height: 54px;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  color: #2a211c;
}
.pos-key:active { background: var(--brand-soft); }
.pos-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.pos-submit { min-height: 50px; font-size: 16px; font-weight: 800; }
.pos-hint { font-size: 12px; font-weight: 600; margin: 10px 0 0; }
.pos-form-card { max-width: 520px; }
.pos-form-card h3 { margin: 0 0 8px; font-weight: 800; }
.pos-form-card .form-row label { font-weight: 700; }

/* ???? */
.pos-search-row { margin-bottom: 12px; }
.pos-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.pos-card-item.vipc-pass {
  width: 100%;
  margin: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pos-card-item.vipc-pass:hover {
  transform: translateY(-2px);
}
.pos-card-item.vipc-pass.is-on {
  outline: 3px solid rgba(232, 106, 74, .85);
  outline-offset: 2px;
  box-shadow:
    0 16px 36px rgba(40,30,20,.2),
    0 0 0 3px rgba(232, 106, 74, .25);
}
.pos-card-item .vipc-pass-name {
  display: block;
  font-size: 16px;
}
.pos-card-item .vipc-pass-meta {
  display: block;
  margin-top: 6px;
}
.pos-card-side {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.pos-card-selected {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 12px;
  min-height: 64px;
}
.pos-card-selected .vipc-pass.is-pos-pick {
  min-height: 0;
  padding: 14px 14px 12px;
  border-radius: 16px;
}
.pos-card-selected .vipc-pass.is-pos-pick .vipc-pass-name {
  font-size: 15px;
}
.pos-verify-list {
  min-height: 48px;
}
.pos-verify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.pos-verify-card.vipc-pass {
  margin: 0;
  width: 100%;
}
.pos-verify-actions {
  align-items: center;
  gap: 8px;
}
.pos-verify-qty {
  width: 72px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.18);
  color: inherit;
  font-weight: 700;
}
.pos-verify-btn {
  border: 0;
  background: rgba(255,255,255,.92) !important;
  color: #2a211c !important;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.pos-verify-btn:hover {
  background: #fff !important;
}
.pos-empty, .pos-empty-sm {
  color: #8a7468;
  font-weight: 600;
  text-align: center;
  padding: 24px 12px;
}
.pos-empty-sm { padding: 12px; }

.pos-verify-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0e6df;
}
.pos-verify-row strong { font-weight: 800; }
.pos-more-sec { margin-bottom: 18px; }
.pos-more-sec h3 { margin: 0 0 10px; font-size: 14px; font-weight: 800; }
.pos-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pos-more-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: #faf6f3; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 8px; text-decoration: none; color: #2a211c; font-size: 12px; font-weight: 800;
  cursor: pointer; min-height: 76px;
}
.pos-more-link i { font-size: 18px; color: var(--brand); }
.pos-more-link:hover { border-color: var(--brand); background: var(--brand-soft); }
.pos-ops-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.pos-ops-metrics > div {
  background: var(--brand-soft); border-radius: 12px; padding: 10px 8px; text-align: center;
}
.pos-ops-metrics b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.pos-ops-metrics span { font-size: 11px; font-weight: 600; color: #8a7468; }
.pos-ops-block {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; background: #faf6f3;
}
.pos-ops-block > summary { cursor: pointer; font-weight: 800; list-style: none; padding: 2px 0; }
.pos-ops-block > summary::-webkit-details-marker { display: none; }
.pos-ops-form { margin-top: 10px; }
.pos-ops-list-head {
  display: flex; justify-content: space-between; align-items: center; margin: 4px 0 8px;
}
.pos-ops-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-top: 1px solid #eee;
}
.pos-ops-row.is-warn { background: #fff8f0; margin: 0 -8px; padding: 10px 8px; border-radius: 8px; }
.pos-recent-row {
  display: flex; justify-content: space-between; gap: 8px; padding: 8px 0;
  border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600;
}
.desk-only { display: none !important; }

@media (min-width: 640px) {
  .pos-card-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-more-grid { grid-template-columns: repeat(4, 1fr); }
  .pos-pay-methods { grid-template-columns: repeat(3, 1fr); }
}

/* ???????? + ???? + ???? */
@media (min-width: 1024px) {
  .pos-body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #efe6e0;
  }
  /* ???????????? modal-open ?????? */
  .pos-body.modal-open .pos-workspace,
  .pos-body.modal-open .pos-dock,
  .pos-body.modal-open .pos-rail {
    pointer-events: none;
  }
  .pos-header {
    position: relative;
    height: 56px;
    padding: 0 16px;
    flex-shrink: 0;
  }
  .pos-toast-host {
    top: 0;
    margin-top: 64px;
  }
  .pos-shell {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr) 360px;
    grid-template-rows: minmax(0, 1fr);
    flex: 1;
    height: auto;
    min-height: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
  }
  .pos-rail {
    order: 0;
    position: static;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 14px;
    padding: 14px 10px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: #fff;
  }
  .pos-rail-group {
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
  }
  .pos-rail-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #a08a7c;
    letter-spacing: .08em;
    padding: 0 8px 4px;
    text-transform: uppercase;
  }
  .pos-rail-item,
  .pos-tab.pos-rail-item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    width: 100%;
    padding: 12px 10px;
    border-radius: 12px;
    border: 0;
    background: transparent;
  }
  .pos-rail-item i { font-size: 18px; width: 22px; text-align: center; }
  .pos-rail-item strong { font-size: 17px; font-weight: 800; }
  .pos-rail-item:hover { background: #faf6f3; color: var(--brand-dark); }
  .pos-rail-item.active {
    background: linear-gradient(160deg, #f08a4b, #e86a4a);
    color: #fff;
    box-shadow: 0 8px 16px rgba(232, 106, 74, .28);
  }

  .pos-workspace {
    order: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 18px 20px 24px;
    background: #f7f1ed;
    min-height: 0;
  }
  .pos-panel {
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(42, 33, 28, .05);
    background: #fff;
    padding: 18px;
    border-radius: 18px;
  }
  .pos-panel.active > .pos-charge-layout,
  .pos-panel.active > .pos-card-layout {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .pos-panel.active > .pos-form-card,
  .pos-panel.active > .pos-bind-box,
  .pos-panel.active > .pos-verify-box {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .pos-panel.active > form:not(.pos-charge-layout):not(.pos-card-layout) {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .pos-charge-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 20px;
    align-items: start;
  }
  .pos-charge-pad .pos-pad { margin-top: 0; }
  .pos-key { min-height: 64px; font-size: 24px; }

  .pos-card-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 280px;
    gap: 18px;
    align-items: start;
  }
  .pos-card-side {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    position: sticky;
    top: 8px;
  }
  .pos-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pos-dock {
    order: 0;
    margin: 0;
    border-radius: 0;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 14px 12px;
    background: #fff;
    height: 100%;
    min-height: 0;
  }
  .desk-only { display: block !important; }
  .pos-dock-summary-row.desk-only { display: flex !important; }

  .pos-body.has-store-dock { padding-bottom: 0; }
  .pos-panel[data-panel="boarding"].active,
  .pos-panel[data-panel="wash"].active,
  .pos-panel[data-panel="appoint"].active,
  .pos-panel[data-panel="ledger"].active,
  .pos-panel[data-panel="more"].active {
    min-height: calc(100% - 8px);
  }
}

@media (max-width: 1023px) {
  .pos-shell { display: flex; flex-direction: column; }
  .pos-dock { order: -1; }
  .pos-rail { order: 0; }
  .pos-workspace { order: 1; }
  .pos-header-actions .pos-head-btn span { display: none; }
  .pos-header-actions .pos-head-btn { min-width: 36px; padding: 0 10px; }
  .pos-mm-toolbar { flex-direction: column; align-items: stretch; }
  .pos-mm-actions .btn { width: 100%; }
  .pos-mm-search select { width: 100%; }
}

@media (max-width: 420px) {
  .pos-rail-item { min-width: 66px; padding: 8px 8px; }
  .pos-rail-item strong { font-size: 12px; }
  .pos-key { min-height: 48px; font-size: 20px; }
  .pos-dock-lookup-btns { grid-template-columns: 1fr 1fr; }
}

/* ???????????????? */
.pos-customer-bar { display: none; }
.pos-nav-groups { display: none; }
.pos-tabs { display: contents; }
.pos-customer-chip { display: none; }
.pos-tools { display: none; }
.pos-tool { display: none; }

/* ===== Store reports hub (rpt-hub) ===== */
.rpt-hub .rpt-sec { margin: 0; padding: 14px 16px 16px; }
.rpt-range {
  font-size: 13px;
  font-weight: 600;
  color: var(--swb-ink, #1f2329);
}
.rpt-period-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rpt-kpi-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.rpt-kpi {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  min-height: 92px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.rpt-kpi:hover {
  border-color: #f0c7b8;
  box-shadow: 0 6px 18px rgba(232, 106, 74, .1);
  transform: translateY(-1px);
  color: inherit;
}
.rpt-kpi i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.rpt-kpi i.tone-coral { color: #E86A4A; background: #fff5f2; }
.rpt-kpi i.tone-teal { color: #0d9488; background: #f0fdfa; }
.rpt-kpi i.tone-amber { color: #d97706; background: #fff7ed; }
.rpt-kpi i.tone-violet { color: #7c3aed; background: #f5f3ff; }
.rpt-kpi i.tone-blue { color: #2563eb; background: #eff6ff; }
.rpt-kpi i.tone-rose { color: #e11d48; background: #fff1f2; }
.rpt-kpi i.tone-orange { color: #ea580c; background: #fff7ed; }
.rpt-kpi i.tone-indigo { color: #4f46e5; background: #eef2ff; }
.rpt-kpi i.tone-green { color: #16a34a; background: #f0fdf4; }
.rpt-kpi i.tone-cyan { color: #0891b2; background: #ecfeff; }
.rpt-kpi > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.rpt-kpi span {
  font-size: 11px;
  font-weight: 600;
  color: var(--swb-muted, #8f959e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rpt-kpi b {
  font-size: 18px;
  font-weight: 800;
  color: var(--swb-ink, #1f2329);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.rpt-kpi em {
  font-style: normal;
  font-size: 11px;
  color: var(--swb-muted, #8f959e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rpt-export-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.rpt-inline-form { display: inline; margin: 0; }
.rpt-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--swb-muted, #8f959e);
}
.rpt-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rpt-hub .swb-panel-head a {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand, #E86A4A);
  text-decoration: none;
}
.rpt-hub .swb-panel-head a:hover { text-decoration: underline; }
.rpt-hub .table-wrap { overflow-x: auto; }
@media (max-width: 1280px) {
  .rpt-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rpt-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpt-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rpt-kpi { min-height: 0; padding: 12px 10px; }
  .rpt-kpi b { font-size: 16px; }
}

/* ===== Members ops hub (mops) ===== */
.mops-hub .mops-sec { margin: 0; padding: 14px 16px 16px; }
.mops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.mops-kpi {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  min-height: 88px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mops-kpi:hover {
  border-color: #f0c7b8;
  box-shadow: 0 6px 18px rgba(232, 106, 74, .1);
  transform: translateY(-1px);
  color: inherit;
}
.mops-kpi i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mops-kpi i.tone-coral { color: #E86A4A; background: #fff5f2; }
.mops-kpi i.tone-amber { color: #d97706; background: #fff7ed; }
.mops-kpi i.tone-teal { color: #0d9488; background: #f0fdfa; }
.mops-kpi i.tone-rose { color: #e11d48; background: #fff1f2; }
.mops-kpi i.tone-violet { color: #7c3aed; background: #f5f3ff; }
.mops-kpi i.tone-blue { color: #2563eb; background: #eff6ff; }
.mops-kpi i.tone-orange { color: #ea580c; background: #fff7ed; }
.mops-kpi i.tone-indigo { color: #4f46e5; background: #eef2ff; }
.mops-kpi > div { min-width: 0; display: grid; gap: 2px; }
.mops-kpi span {
  font-size: 11px; font-weight: 600; color: #8f959e;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mops-kpi b {
  font-size: 17px; font-weight: 800; color: #1f2329; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.mops-kpi em {
  font-style: normal; font-size: 11px; color: #8f959e;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mops-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0 2px 10px;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg, #f5f6f8);
}
.mops-tab {
  padding: 10px 2px;
  font-size: 14px;
  font-weight: 600;
  color: #646a73;
  text-decoration: none;
  position: relative;
}
.mops-tab.is-on { color: #E86A4A; }
.mops-tab.is-on::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -11px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #E86A4A;
}
.mops-hint {
  margin: 0 0 14px;
  font-size: 12px;
  color: #8f959e;
  line-height: 1.5;
}
.mops-linkish {
  border: 0;
  background: none;
  color: #E86A4A;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.mops-linkish:hover { text-decoration: underline; }
.mops-level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mops-level-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  padding: 16px 16px 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
}
.mops-level-card.is-off { opacity: .72; }
.mops-level-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--lv-color, #E86A4A);
}
.mops-level-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.mops-level-top strong {
  font-size: 16px;
  font-weight: 800;
  color: #1f2329;
  margin-right: 6px;
}
.mops-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.mops-pill.ok { background: #ecfdf5; color: #047857; }
.mops-pill.warn { background: #fff7ed; color: #c2410c; }
.mops-level-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.mops-level-meta div {
  background: #f7f8fa;
  border-radius: 10px;
  padding: 8px 10px;
}
.mops-level-meta span {
  display: block;
  font-size: 11px;
  color: #8f959e;
  margin-bottom: 2px;
}
.mops-level-meta b {
  font-size: 15px;
  font-weight: 800;
  color: #1f2329;
}
.mops-level-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.mops-level-rules span {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #fff5f2;
  color: #5c534d;
  font-weight: 600;
}
.mops-level-benefits {
  margin: 0;
  font-size: 12px;
  color: #646a73;
  line-height: 1.45;
}
.mops-level-benefits.is-empty { color: #c0c4cc; }
.mops-inline-form,
.mops-form {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.mops-inline-form {
  grid-template-columns: 1.4fr 1fr auto auto;
  align-items: end;
}
.mops-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mops-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.mops-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.mops-field-tip {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #8f959e;
}
.mops-color-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: end;
}
.mops-color-row label { grid-column: 1 / -1; }
.mops-color-row input[type="color"] {
  width: 42px;
  height: 38px;
  padding: 2px;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  background: #fff;
}
.mops-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mops-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e8eaed;
  border-radius: 999px;
  background: #fff;
}
.mops-tag-chip.is-off { opacity: .6; }
.mops-tag-chip i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mops-tag-chip strong { font-size: 13px; }
.mops-tag-chip em { font-style: normal; font-size: 12px; color: #8f959e; }
.mops-tag-chip form { margin: 0; }
.mops-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 10px;
}
.mops-subhead h3 { margin: 0; font-size: 15px; }
.mops-subhead span { font-size: 12px; color: #8f959e; }
.mops-check-list {
  max-height: 220px;
  overflow: auto;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafbfc;
}
.mops-check-list label {
  display: block;
  margin: 6px 0;
  font-size: 13px;
  cursor: pointer;
}
.mops-empty {
  padding: 24px;
  text-align: center;
  color: #8f959e;
  font-size: 13px;
  border: 1px dashed #e8eaed;
  border-radius: 12px;
  grid-column: 1 / -1;
}
.mops-modal { max-width: 640px; width: calc(100% - 24px); }
.mops-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.mops-hub .table-wrap { overflow-x: auto; }
@media (max-width: 1280px) {
  .mops-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mops-level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mops-inline-form { grid-template-columns: 1fr 1fr; }
  .mops-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .mops-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mops-level-grid { grid-template-columns: 1fr; }
  .mops-inline-form,
  .mops-form-grid { grid-template-columns: 1fr; }
  .mops-tabs { overflow-x: auto; flex-wrap: nowrap; }
}

/* ===== Store settings hub (set-hub, 8-col overview + tiles) ===== */
.set-hub { max-width: none; width: 100%; }

/* Hero */
.set-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e8eaed;
  box-shadow: 0 8px 28px rgba(31, 35, 41, .04);
  position: relative;
  overflow: hidden;
}
.set-hero::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #e86a4a, #f59e0b);
}
.set-hero-main { min-width: 0; flex: 1; padding-left: 8px; }
.set-hero-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #9aa1ac;
  margin-bottom: 8px;
}
.set-hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
.set-hero-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #1f2329;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.set-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
  vertical-align: middle;
}
.set-pill i { font-size: 11px; opacity: .9; }
.set-pill.is-plan {
  color: #c24d30;
  background: #fff5f2;
  border-color: #f3d0c4;
}
.set-pill.is-trial {
  color: #b45309;
  background: linear-gradient(180deg, #fff8ef, #fff1df);
  border-color: #f5d7a8;
}
.set-pill.is-date {
  color: #4b5563;
  background: #f5f6f8;
  border-color: #e5e7eb;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.set-pill.is-date.is-muted { color: #9aa1ac; font-weight: 600; }
.set-pill.is-expired,
.set-pill.is-date.is-expired {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}
.set-pill.is-date.is-soon {
  color: #ad6800;
  background: #fff7e6;
  border-color: #ffd591;
}
.set-pill.is-danger {
  color: #be123c;
  background: #fff1f2;
  border-color: #fecdd3;
}
.set-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: #8f959e;
  font-weight: 600;
}
.set-hero-no {
  font-variant-numeric: tabular-nums;
  color: #606266;
}
.set-hero-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c0c4cc;
}
.set-hero-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.set-hero-cta { white-space: nowrap; }
.set-hero-quota { white-space: nowrap; }

/* Setup checklist */
.set-setup {
  margin: 0;
  padding: 18px 20px 16px;
  border-radius: 16px;
  border: 1px solid #e8eaed;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 35, 41, .03);
}
.set-setup.is-done {
  background: linear-gradient(135deg, #f0fdf4, #fff);
  border-color: #bbf7d0;
}
.set-setup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.set-setup-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1f2329;
}
.set-setup-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #8f959e;
}
.set-setup-count {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff0ea;
  color: #e86a4a;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.set-setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.set-setup-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.set-setup-card {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding: 12px 12px 14px;
  border-radius: 12px;
  background: #fafbfc;
  border: 1px solid #eef0f3;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.set-setup-card.is-link:hover {
  border-color: #f0c7b8;
  box-shadow: 0 6px 16px rgba(232, 106, 74, .1);
  transform: translateY(-1px);
  color: inherit;
}
.set-setup-card.tone-danger { background: #fff5f5; border-color: #fecaca; }
.set-setup-card.tone-warn { background: #fffaf5; border-color: #fde68a; }
.set-setup-card.tone-info { background: #f8fafc; border-color: #e2e8f0; }
.set-setup-card .set-setup-idx {
  width: 24px; height: 24px; border-radius: 7px;
  background: #fff; border: 1px solid #e8eaed;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #606266;
}
.set-setup-card.tone-danger .set-setup-idx { color: #e11d48; border-color: #fecaca; }
.set-setup-card.tone-warn .set-setup-idx { color: #d97706; border-color: #fde68a; }
.set-setup-card strong {
  display: block; font-size: 13px; font-weight: 800; color: #1f2329;
  line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.set-setup-card em {
  display: -webkit-box; font-style: normal; font-size: 12px; font-weight: 400;
  color: #8f959e; line-height: 1.45;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em;
}
.set-setup-go {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 2px; font-size: 12px; font-weight: 700; color: #E86A4A;
}
.set-setup-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 12px 12px 10px;
  border-radius: 12px;
  background: #fafbfc;
  border: 1px solid #eef0f3;
}
.set-setup-item.tone-danger { background: #fff5f5; border-color: #fecaca; }
.set-setup-item.tone-warn { background: #fffaf5; border-color: #fde68a; }
.set-setup-item.tone-info { background: #f8fafc; border-color: #e2e8f0; }
.set-setup-idx {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8eaed;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #606266;
}
.set-setup-item.tone-danger .set-setup-idx { color: #e11d48; border-color: #fecaca; }
.set-setup-item.tone-warn .set-setup-idx { color: #d97706; border-color: #fde68a; }
.set-setup-copy { min-width: 0; }
.set-setup-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1f2329;
}
.set-setup-copy em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #8f959e;
  line-height: 1.45;
}
.set-setup-done {
  display: flex;
  align-items: center;
  gap: 12px;
}
.set-setup-done i { font-size: 22px; color: #16a34a; }
.set-setup-done strong { display: block; font-size: 15px; color: #166534; }
.set-setup-done em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: #6b7280; }

.set-block-hint {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.set-block-hint.is-info {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}
.set-detail.has-hint { border-color: #f0d9a8; }

.set-hub-store {
  font-size: 14px;
  font-weight: 700;
  color: var(--swb-ink, #1f2329);
}
.set-hub-no {
  font-size: 12px;
  color: var(--swb-muted, #8f959e);
}
.set-hub-no code {
  font-size: 12px;
  background: var(--swb-soft, #f5f6f8);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--swb-ink, #1f2329);
}
.set-hub-quota { margin: 0; }
.set-hub .set-sec {
  margin: 0;
  padding: 14px 16px 16px;
}
.set-hub .set-sec-head { margin-bottom: 12px; }

.set-ov-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.set-ov-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  min-height: 88px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.set-ov-item.is-link:hover {
  border-color: #f0c7b8;
  box-shadow: 0 6px 18px rgba(232, 106, 74, .1);
  transform: translateY(-1px);
  color: inherit;
}
.set-ov-item i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.set-ov-item i.tone-coral { color: #E86A4A; background: #fff5f2; }
.set-ov-item i.tone-teal { color: #0d9488; background: #f0fdfa; }
.set-ov-item i.tone-amber { color: #d97706; background: #fff7ed; }
.set-ov-item i.tone-violet { color: #7c3aed; background: #f5f3ff; }
.set-ov-item i.tone-blue { color: #2563eb; background: #eff6ff; }
.set-ov-item i.tone-rose { color: #e11d48; background: #fff1f2; }
.set-ov-item i.tone-orange { color: #ea580c; background: #fff7ed; }
.set-ov-item i.tone-indigo { color: #4f46e5; background: #eef2ff; }
.set-ov-item i.tone-green { color: #16a34a; background: #f0fdf4; }
.set-ov-item i.tone-cyan { color: #0891b2; background: #ecfeff; }
.set-ov-item i.tone-pink { color: #db2777; background: #fdf2f8; }
.set-ov-item > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.set-ov-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--swb-muted, #8f959e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.set-ov-item b {
  font-size: 16px;
  font-weight: 800;
  color: var(--swb-ink, #1f2329);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.set-ov-item em {
  font-style: normal;
  font-size: 11px;
  color: var(--swb-muted, #8f959e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.set-tile-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.set-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 12px 12px;
  min-height: 132px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.set-tile:hover {
  border-color: #f0c7b8;
  box-shadow: 0 6px 18px rgba(232, 106, 74, .1);
  transform: translateY(-1px);
  color: inherit;
}
.set-tile-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.set-tile-ico.tone-coral { background: #E86A4A; }
.set-tile-ico.tone-teal { background: #14b8a6; }
.set-tile-ico.tone-amber { background: #f59e0b; }
.set-tile-ico.tone-blue { background: #3b82f6; }
.set-tile-ico.tone-violet { background: #8b5cf6; }
.set-tile-ico.tone-pink { background: #ec4899; }
.set-tile-ico.tone-orange { background: #f97316; }
.set-tile-ico.tone-cyan { background: #06b6d4; }
.set-tile-ico.tone-rose { background: #f43f5e; }
.set-tile-ico.tone-green { background: #22c55e; }
.set-tile-ico.tone-indigo { background: #6366f1; }
.set-tile strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--swb-ink, #1f2329);
  line-height: 1.25;
}
.set-tile-val {
  font-size: 15px;
  font-weight: 800;
  color: #c24d30;
  line-height: 1.2;
}
.set-tile em {
  font-style: normal;
  font-size: 11px;
  color: var(--swb-muted, #8f959e);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.set-tile.is-locked { opacity: .78; }
.set-tile.is-locked em { color: #b45309; }

.set-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.set-detail {
  position: relative;
  margin: 0;
  padding: 12px 12px 14px;
  min-width: 0;
}
.set-detail-narrow { padding-left: 12px; padding-right: 12px; }
.set-detail-hit {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}
.set-detail .swb-panel-head,
.set-detail .set-block-hint,
.set-detail .set-kv {
  position: relative;
  z-index: 1;
}
.set-detail .swb-panel-head {
  margin-bottom: 10px;
  gap: 6px;
}
.set-detail .swb-panel-head h2 {
  font-size: 14px;
  font-weight: 800;
}
.set-detail .swb-panel-head a.set-edit,
.set-detail .swb-panel-head .set-edit {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: var(--brand, #E86A4A);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.set-detail .swb-panel-head a:hover { text-decoration: underline; }
.set-detail .swb-panel-head span {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: var(--swb-muted, #8f959e);
}
.set-block-hint {
  margin: 0 0 10px;
  padding: 6px 8px;
  font-size: 11px;
}
.set-kv {
  margin: 0;
  display: grid;
  gap: 0;
}
.set-kv > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  padding: 7px 0;
  border-bottom: 1px dashed #eef0f3;
  font-size: 12px;
  line-height: 1.4;
}
.set-kv > div:last-child { border-bottom: 0; }
.set-kv dt {
  margin: 0;
  color: #9a9088;
  font-weight: 500;
  letter-spacing: .02em;
}
.set-kv dd {
  margin: 0;
  color: #2a241c;
  font-weight: 400;
  word-break: break-word;
}
.set-kv dd b {
  font-weight: 800;
  color: #1f2329;
}
.set-kv a, .set-kv .linkish {
  position: relative;
  z-index: 2;
  color: var(--brand, #E86A4A);
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.set-kv a:hover, .set-kv .linkish:hover { text-decoration: underline; }
.set-hub-logout {
  margin: 0;
  padding: 12px 14px;
}

@media (max-width: 1280px) {
  .set-ov-grid,
  .set-tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .set-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .set-setup-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .set-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .set-ov-grid,
  .set-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-detail-grid { grid-template-columns: 1fr; }
  .set-setup-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-hero { padding: 18px 16px; }
  .set-hero-title { font-size: 22px; }
  .set-pill { height: 24px; padding: 0 8px; font-size: 11px; }
  .set-setup-item { grid-template-columns: 28px minmax(0, 1fr); }
  .set-setup-item .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 560px) {
  .set-ov-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .set-tile-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .set-setup-row { grid-template-columns: 1fr; }
  .set-ov-item { min-height: 0; padding: 12px 10px; }
  .set-tile { min-height: 0; }
  .set-kv > div { grid-template-columns: 52px minmax(0, 1fr); }
}

/* ???? / ?????????????????? */
.settings-section { margin-bottom: 26px; }
.settings-section-title {
  margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #16352c;
}
.settings-section-sub {
  margin: 0 0 12px; font-size: 13px; color: var(--muted);
}
.maint-banner {
  background: #fff4e5; color: #8a5a00; text-align: center;
  padding: 10px 16px; font-size: 14px; border-bottom: 1px solid #f0d9a8;
}
.mkt-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px;
}
.mkt-card {
  display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; color: inherit; transition: border-color .2s, box-shadow .2s;
}
.mkt-card:hover { border-color: var(--brand); box-shadow: 0 8px 24px rgba(26,107,86,.08); }
.mkt-card.is-off { opacity: .72; }
.mkt-card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 20px; flex-shrink: 0;
}
.mkt-card-body { flex: 1; min-width: 0; }
.mkt-card-body strong { display: block; margin-bottom: 4px; }
.mkt-card-body p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mkt-card-status { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--brand); }
.mkt-card-arrow { color: var(--muted); }


/* ???? / ?? */
.pet-table .pet-name {
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.pet-table .pet-name:hover { color: var(--brand-dark); }
.pet-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pet-tag {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border: 1px solid var(--brand); border-radius: 999px;
  font-size: 12px; color: var(--brand-dark); background: var(--brand-soft);
  text-decoration: none;
}
.pet-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pet-warn { color: #c47b1a; }
.pet-tag-checks {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
}
.pet-tag-checks label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer;
}
.pet-detail-grid {
  display: grid; gap: 14px;
}
@media (min-width: 960px) {
  .pet-detail-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.pet-health {
  display: grid; gap: 10px;
}
.pet-health > div {
  display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: #f7faf8;
}
.pet-health strong { font-weight: 600; font-size: 14px; }
.pet-sibs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px;
}
.pet-card-line {
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
}
.pet-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px;
}
.pet-panel-head h3 { margin: 0; }
button.linkish {
  border: 0; background: none; color: var(--brand-dark); padding: 0; cursor: pointer;
  text-decoration: underline; font: inherit;
}

/* ???????? */
.store-set-nav {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px;
}
.store-set-nav a {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text); font-size: 13px; text-decoration: none;
}
.store-set-nav a:hover { border-color: var(--brand); color: var(--brand-dark); }
.store-set-links {
  display: grid; gap: 10px; margin-top: 14px;
}
@media (min-width: 720px) {
  .store-set-links { grid-template-columns: 1fr 1fr; }
}
.store-set-links .muted { display: block; margin-bottom: 4px; font-size: 12px; }

/* ???????? */
.settings-hub-meta {
  margin-bottom: 16px;
  padding: 18px 20px;
}
.settings-hub-meta-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.settings-hub-main { min-width: 0; width: 100%; }
.settings-hub-name {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
}
.settings-hub-tags {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px;
}
.settings-hub-no {
  font-size: 13px; color: var(--muted);
}
.settings-hub-no code {
  font-size: 12px; padding: 2px 7px; border-radius: 8px; background: #f0f4f2;
}
.settings-hub-expire {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  width: 100%; max-width: 420px;
  border: 1px solid rgba(26,107,86,.22);
  background: linear-gradient(135deg, #f4faf7, #fff);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.settings-hub-expire:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(26,107,86,.1);
  transform: translateY(-1px);
}
.settings-hub-expire.is-expired {
  border-color: #f0c9a8;
  background: linear-gradient(135deg, #fff7f0, #fff);
}
.settings-hub-expire.is-static {
  cursor: default;
  max-width: none;
}
.settings-hub-expire.is-static:hover {
  box-shadow: none; transform: none; border-color: rgba(26,107,86,.22);
}
.settings-hub-expire-label {
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.settings-hub-expire strong {
  font-size: 20px; font-weight: 800; letter-spacing: -.02em;
  font-family: var(--display); color: var(--brand-dark);
}
.settings-hub-expire.is-expired strong { color: #a34b36; }
.settings-hub-expire em {
  font-style: normal; margin-left: auto;
  font-size: 13px; font-weight: 700; color: var(--accent);
}
.settings-hub-expire i { color: var(--muted); font-size: 12px; }
.dash-topbar { align-items: flex-start; }
.dash-top-main { min-width: 0; flex: 1; }
.dash-top-tags { margin-bottom: 10px; }
.dash-top-user { font-size: 13px; }
.dash-expire { max-width: 380px; }
.settings-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 720px) {
  .settings-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .settings-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.settings-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  min-height: 148px;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.settings-card:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(232,106,74,.12);
  transform: translateY(-2px);
}
.admin-portal .settings-card:hover {
  box-shadow: 0 10px 24px rgba(26,107,86,.08);
}
.settings-card-ico {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; flex-shrink: 0; font-size: 20px;
}
.settings-card-ico.tone-green { background: #fff0ea; color: #e86a4a; }
.settings-card-ico.tone-teal { background: #fff3e8; color: #d97706; }
.settings-card-ico.tone-coral { background: #fdece7; color: #c45c4a; }
.settings-card-ico.tone-blue { background: #e8f1fe; color: #2563eb; }
.settings-card-ico.tone-amber { background: #fff4e0; color: #b45309; }
.settings-card-ico.tone-violet { background: #f1e9ff; color: #7c3aed; }
.settings-card-ico.tone-pink { background: #fce7f3; color: #db2777; }
.settings-card-body {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.settings-card-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.settings-card-body em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.settings-card-arrow {
  position: absolute;
  top: 16px;
  right: 14px;
  color: #c9c2b8;
  font-size: 11px;
  opacity: .55;
  transition: opacity .15s ease, color .15s ease, transform .15s ease;
}
.settings-card:hover .settings-card-arrow {
  opacity: 1;
  color: var(--brand);
  transform: translateX(2px);
}

/* ???????? / ? / ? */
.pkg-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin-left: 4px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  letter-spacing: .02em;
  vertical-align: middle;
  flex-shrink: 0;
}
.pkg-tag-l1 { background: #eef2f7; color: #64748b; }
.pkg-tag-l2 { background: #fff4e0; color: #b45309; }
.pkg-tag-l3 { background: #e8f1ff; color: #2563eb; }
.pkg-tag-l4 { background: #e6f7f3; color: #0f766e; }
.pkg-tag-title {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: 0.12em;
}
.page-title .pkg-tag,
.page-title .pkg-tag-title {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: 0.12em;
}

/* ??/?????? */
.mkt-subnav {
  width: 156px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #ebe6e2;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  min-height: 0;
}
.mkt-subnav-head {
  padding: 18px 12px 12px;
  border-bottom: 1px solid #f0ebe3;
  flex-shrink: 0;
}
.mkt-subnav-head strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #2a241c;
}
.mkt-subnav-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.mkt-subnav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.mkt-subnav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 10px;
  border-radius: 10px;
  color: #5a5348;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: background .15s ease, color .15s ease;
}
.mkt-subnav-item i {
  width: 1.15em;
  text-align: center;
  color: #9a9184;
  font-size: 16px;
  flex-shrink: 0;
}
.mkt-subnav-item em {
  flex: 1;
  font-style: normal;
  font-size: 15px;
  font-weight: 400;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mkt-subnav-item .pkg-tag,
.mkt-subnav-item .pkg-tag-title {
  display: none !important;
}
.mkt-subnav-item:hover {
  background: #f7f5f2;
  color: #2a241c;
}
.mkt-subnav-item.is-on {
  background: #fff4ef;
  color: #E86A4A;
  box-shadow: none;
}
.mkt-subnav-item.is-on i { color: #E86A4A; }
.mkt-subnav-item.is-locked { opacity: .72; }
.mkt-subnav-item { position: relative; }
.mkt-subnav-item .nav-dot {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #E86A4A;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}
.mkt-hub-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #fff4ef 55%, #ffe8dc 100%);
  border: 1px solid #f0d2c2;
}
.mkt-hub-hero h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.mkt-hub-hero p {
  margin: 0;
  font-size: 13px;
  color: #7a5340;
  line-height: 1.5;
  max-width: 520px;
}
.mkt-hub-stats {
  display: flex;
  gap: 18px;
}
.mkt-hub-stats b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #E86A4A;
  line-height: 1.1;
}
.mkt-hub-stats span {
  font-size: 12px;
  color: var(--muted);
}

/* ===== Marketing center (screenshot-like hub) ===== */
.mkt-center { max-width: none; width: 100%; }
.mkt-center-head { margin-bottom: 14px; }
.mkt-center-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #1f2329;
  letter-spacing: -.02em;
}
.mkt-center-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #8f959e;
}
.mkt-hot { margin-bottom: 16px; }
.mkt-hot-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #1f2329;
}
.mkt-hot-label i { color: #E86A4A; }
.mkt-hot-layout {
  display: grid;
  grid-template-columns: minmax(220px, .78fr) minmax(0, 1.72fr);
  gap: 10px;
  align-items: stretch;
}
.mkt-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 156px;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background:
    var(--mkt-poster) right center / cover no-repeat,
    radial-gradient(circle at 70% 40%, #ffb080 0%, #E86A4A 45%, #d4532f 100%);
  box-shadow: 0 8px 22px rgba(232, 106, 74, .2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.mkt-poster:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(232, 106, 74, .26);
  color: #fff;
}
.mkt-poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(180, 60, 30, .88) 0%, rgba(232, 106, 74, .42) 52%, rgba(232, 106, 74, .1) 100%);
}
.mkt-poster-copy {
  position: relative;
  z-index: 1;
  max-width: 72%;
  padding: 18px 16px 18px 18px;
}
.mkt-poster-copy h2 {
  margin: 6px 0 6px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.mkt-poster-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  opacity: .95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mkt-poster-go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  top: auto;
  transform: none;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #E86A4A;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.mkt-hot-side {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-height: 156px;
}
.mkt-hot-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mkt-hot-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 35, 41, .12);
  color: #fff;
}
.mkt-hot-card.tone-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.mkt-hot-card.tone-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.mkt-hot-card.tone-teal { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.mkt-hot-card.tone-violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.mkt-hot-card.tone-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.mkt-hot-card.tone-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.mkt-hot-card.tone-coral { background: linear-gradient(135deg, #f0845f, #E86A4A); }
.mkt-hot-card.tone-indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.mkt-hot-card.has-art::before {
  content: '';
  position: absolute;
  right: -10px;
  bottom: -14px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--mkt-side-img) center / cover no-repeat;
  opacity: .28;
  transform: rotate(-8deg);
  pointer-events: none;
}
.mkt-hot-card-text {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.mkt-hot-card-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mkt-hot-card-text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  opacity: .92;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mkt-hot-card-go {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #334155;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 11px;
}
.mkt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 6px 0 18px;
  padding: 0 2px 10px;
  border-bottom: 1px solid #e8eaed;
}
.mkt-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 2px;
  font-size: 14px;
  font-weight: 600;
  color: #646a73;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.mkt-tab.is-on {
  color: #3370ff;
}
.mkt-tab.is-on::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #3370ff;
}
.mkt-tool-sec { margin-bottom: 22px; }
.mkt-tool-sec-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #1f2329;
}
.mkt-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mkt-tool-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 16px;
  min-height: 110px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mkt-tool-card:hover {
  border-color: #f0c7b8;
  box-shadow: 0 8px 20px rgba(232, 106, 74, .1);
  transform: translateY(-1px);
  color: inherit;
}
.mkt-tool-card.is-off { opacity: .78; }
.mkt-tool-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.mkt-tool-ico.tone-coral { background: linear-gradient(145deg, #f0845f, #E86A4A); }
.mkt-tool-ico.tone-amber { background: linear-gradient(145deg, #fbbf24, #d97706); }
.mkt-tool-ico.tone-rose { background: linear-gradient(145deg, #fb7185, #e11d48); }
.mkt-tool-ico.tone-teal { background: linear-gradient(145deg, #2dd4bf, #0d9488); }
.mkt-tool-ico.tone-violet { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.mkt-tool-ico.tone-orange { background: linear-gradient(145deg, #fb923c, #ea580c); }
.mkt-tool-ico.tone-blue { background: linear-gradient(145deg, #60a5fa, #2563eb); }
.mkt-tool-ico.tone-indigo { background: linear-gradient(145deg, #818cf8, #4f46e5); }
.mkt-tool-ico.tone-green { background: linear-gradient(145deg, #34d399, #16a34a); }
.mkt-tool-body { min-width: 0; flex: 1; }
.mkt-tool-body strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #1f2329;
  margin-bottom: 6px;
}
.mkt-tool-body em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #8f959e;
  line-height: 1.45;
  margin-bottom: 8px;
}
.mkt-tool-state {
  font-size: 12px;
  color: #E86A4A;
  font-weight: 600;
}
.mkt-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
}
.mkt-tag.hot { background: #ef4444; color: #fff; }
.mkt-tag.new { background: #3b82f6; color: #fff; }
.mkt-poster .mkt-tag {
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.45);
}
.mkt-quick { margin-top: 8px; padding: 16px; }
.mkt-quick h3 { margin: 0 0 12px; font-size: 15px; }
@media (max-width: 1100px) {
  .mkt-hot-layout { grid-template-columns: 1fr; }
  .mkt-poster { min-height: 140px; }
  .mkt-poster-copy { max-width: 70%; }
  .mkt-hot-side {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 0;
  }
  .mkt-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mkt-hot-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mkt-hot-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-poster-copy { max-width: 100%; padding: 16px 14px 52px; }
  .mkt-poster-copy h2 { font-size: 20px; }
  .mkt-poster-go { right: 12px; bottom: 12px; }
  .mkt-tool-grid { grid-template-columns: 1fr; }
  .mkt-tabs { gap: 4px 12px; overflow-x: auto; flex-wrap: nowrap; }
}
.mkt-mobile-tabs {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin: 0 0 4px;
  -webkit-overflow-scrolling: touch;
}
.mkt-mobile-tabs a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ebe5db;
  color: #5a5348;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.mkt-mobile-tabs a.is-on {
  background: #E86A4A;
  border-color: #E86A4A;
  color: #fff;
}
.pkg-upgrade {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 0 5px;
  height: 16px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  background: #E86A4A;
  color: #fff;
  vertical-align: middle;
  flex-shrink: 0;
}
.pkg-upgrade.is-hint {
  background: transparent;
  color: #E86A4A;
  border: 1px solid rgba(232, 106, 74, .45);
}
.store-portal .sidebar nav a .pkg-tag,
.store-portal .sidebar nav a .pkg-upgrade {
  margin-left: auto;
}
.store-portal .sidebar nav a .pkg-tag + .pkg-upgrade,
.store-portal .sidebar nav a .pkg-upgrade {
  margin-left: 4px;
}
.store-portal .sidebar nav a:has(.nav-dot) {
  padding-right: 10px;
}
.store-portal .sidebar nav a:has(.nav-dot) .pkg-tag {
  margin-right: 16px;
}
.store-portal .sidebar nav a:has(.nav-dot) .pkg-tag + .pkg-upgrade {
  margin-right: 16px;
}
.store-portal .sidebar nav a em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .store-portal .sidebar nav a .pkg-upgrade {
    display: none;
  }
}
.settings-card.is-locked,
.mkt-card.is-locked,
.pos-more-link.is-locked,
.store-quick-card.is-locked,
.pos-rail-item.is-locked {
  opacity: .88;
  position: relative;
}
.settings-card.is-locked .settings-card-body em,
.mkt-card.is-locked .mkt-card-status {
  color: #E86A4A;
}
.pos-more-link {
  position: relative;
}
.pos-more-link .pkg-tag,
.pos-more-link .pkg-upgrade {
  position: absolute;
  top: 6px;
  right: 6px;
}
.pos-more-link .pkg-tag + .pkg-upgrade {
  right: 6px;
  top: 24px;
}
.pos-rail-item .pkg-tag,
.pos-rail-item .pkg-upgrade,
.pos-rail-item em.pkg-tag {
  display: inline-flex;
  margin: 2px 0 0;
}
.pos-rail-item.is-locked {
  text-decoration: none;
  color: inherit;
}
.mkt-card-body strong .pkg-tag,
.mkt-card-body strong .pkg-upgrade,
.settings-card-body strong .pkg-tag,
.settings-card-body strong .pkg-upgrade,
.store-quick-card strong .pkg-tag,
.store-quick-card strong .pkg-upgrade {
  vertical-align: middle;
}

/* ???? */
.quota-inline {
  margin: 0 0 14px;
  padding: 12px 14px;
  display: grid;
  gap: 12px;
}
.quota-title-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
}
.quota-title-tools .pkg-tag-title {
  margin-left: 4px;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.quota-pop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #e8e0d2;
  background: #fff;
  color: #6b6258;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
}
.quota-pop-btn i { font-size: 11px; color: #E86A4A; }
.quota-pop-btn:hover,
.quota-pop-btn[aria-expanded="true"] {
  border-color: #f0c4ad;
  background: #fff7f2;
  color: #c4532f;
}
.quota-pop-btn.is-full {
  border-color: #f0b4a8;
  color: #b91c1c;
  background: #fff5f3;
}
.quota-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 80;
  min-width: min(320px, 86vw);
  max-width: min(380px, 92vw);
}
.quota-pop-card {
  background: #fff;
  border: 1px solid #ebe5db;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(42, 36, 28, .14);
  padding: 12px 14px 14px;
}
.quota-pop-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0ebe3;
}
.quota-pop-head strong {
  flex: 1;
  font-size: 14px;
  font-weight: 800;
  color: #2a241c;
}
.quota-pop-up {
  font-size: 12px;
  font-weight: 700;
  color: #E86A4A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.quota-pop-up:hover { text-decoration: underline; }
.quota-pop-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #f5f1ea;
  color: #6b6258;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.quota-pop-close:hover { background: #ebe5db; }
.quota-pop-body {
  display: grid;
  gap: 12px;
}
.quota-hub-wrap.is-collapsed .quota-hub { display: none; }
.quota-hub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
}
.quota-bar { display: grid; gap: 6px; }
.quota-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
.quota-bar-meta strong { font-weight: 700; color: var(--text, #334155); }
.quota-bar-meta span { color: var(--muted, #64748b); font-variant-numeric: tabular-nums; }
.quota-bar-track {
  height: 6px;
  border-radius: 99px;
  background: #f1f5f9;
  overflow: hidden;
}
.quota-bar-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #E86A4A, #f0a08a);
}
.quota-bar.is-warn .quota-bar-track i { background: linear-gradient(90deg, #d97706, #fbbf24); }
.quota-bar.is-full .quota-bar-track i,
.quota-card.is-full .quota-bar-track i { background: linear-gradient(90deg, #b91c1c, #E86A4A); }
.quota-bar-up {
  font-size: 12px;
  font-weight: 700;
  color: #E86A4A;
  text-decoration: none;
}
.quota-bar-up:hover { text-decoration: underline; }
.quota-hub { margin: 0 0 18px; padding: 16px 18px 8px; }
.quota-hub-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.quota-hub-title { margin: 0 0 4px; font-size: 18px; }
.quota-hub-group { margin: 0 0 16px; }
.quota-hub-group h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted, #64748b);
  letter-spacing: .04em;
}
.quota-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.quota-card {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 8px;
}
.quota-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.quota-card-top strong { font-weight: 700; }
.quota-card-top span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.quota-card.is-warn { border-color: #fcd34d; background: #fffbeb; }
.quota-card.is-full { border-color: #fecaca; background: #fff5f3; }

/* ??????? */
.cat-thumb {
  width: 48px; height: 48px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); display: block; background: #f3f7f5;
}
.cat-thumb.empty-thumb {
  display: grid; place-items: center; color: var(--muted); font-size: 16px;
}
.cat-name-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px dashed rgba(232, 106, 74, .55);
}
.cat-name-link:hover { color: #e86a4a; border-bottom-color: #e86a4a; }

.biz-tip {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 10px;
  background: #fff; border: 1px solid rgba(194, 65, 12, .28); color: #c2410c; font-size: 13px; font-weight: 700;
}

/* ?? H5 ?? / ?? / ?? ?? */
.h5-home { padding-bottom: 8px; width: 100%; overflow-x: hidden; }
.h5-banner {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 2 / 1;
  max-height: 220px;
  min-height: 168px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #c4532f 0%, #e86a4a 48%, #f0a06a 100%);
}
.h5-banner-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.h5-banner-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.h5-banner-blob.b1 { width: 180px; height: 180px; right: -36px; top: -48px; }
.h5-banner-blob.b2 { width: 140px; height: 140px; right: 48px; bottom: -50px; background: rgba(255,255,255,.08); }
.h5-banner-blob.b3 { width: 100px; height: 100px; left: -28px; bottom: -30px; background: rgba(255,255,255,.07); }
.h5-banner-ico {
  position: absolute;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  font-size: 15px;
}
.h5-banner-ico.i1 { right: 18px; top: 22%; }
.h5-banner-ico.i2 { right: 72px; top: 48%; width: 44px; height: 44px; font-size: 18px; }
.h5-banner-ico.i3 { right: 28px; bottom: 18%; }
.h5-banner-ico.i4 { right: 110px; bottom: 14%; width: 30px; height: 30px; font-size: 13px; opacity: .85; }
.h5-banner-copy {
  position: absolute;
  left: 16px;
  bottom: 28px;
  color: #fff;
  z-index: 1;
  max-width: 58%;
}
.h5-banner-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.h5-banner-copy em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  opacity: .88;
}
.h5-banner-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.h5-banner-slide {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.h5-banner-slide.is-active { display: block; }
.h5-banner-slide.is-broken { display: none !important; }
.h5-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.h5-banner-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3;
  display: flex; justify-content: center; gap: 6px;
}
.h5-banner-dots button {
  width: 7px; height: 7px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.55); padding: 0; cursor: pointer;
}
.h5-banner-dots button.is-active { background: #fff; width: 16px; border-radius: 999px; }
.h5-banner .h5-banner-loc { z-index: 4; }

.h5-store-head { padding: 14px 16px 8px; }
.h5-store-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.h5-store-left {
  flex: 1;
  min-width: 0;
}
.h5-store-left h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  word-break: break-word;
}
.h5-store-left .h5-hello {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.h5-store-right {
  flex: 0 0 auto;
  max-width: 46%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.h5-store-right .h5-call-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  font-size: 14px;
}
.h5-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0ea;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
}
.h5-loc-btn i { color: var(--brand); flex-shrink: 0; font-size: 12px; }
.h5-loc-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 9.5em;
}
.h5-hours {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}
.h5-hours i { font-size: 11px; }

/* ????????? */
.h5-appoint-page { min-height: 60vh; }
.h5-appoint-top {
  padding: 14px 16px 8px;
}
.h5-appoint-top h1 { margin: 0; font-size: 20px; font-weight: 700; }
.h5-appoint-top p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.h5-appoint-split {
  display: flex;
  min-height: calc(100vh - 200px);
  border-top: 1px solid var(--line);
  background: #fff;
}
.h5-appoint-cats {
  width: 88px;
  flex-shrink: 0;
  background: #f3f7f5;
  padding: 8px 0;
  overflow-y: auto;
}
.h5-appoint-cat {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}
.h5-appoint-cat i { font-size: 16px; }
.h5-appoint-cat.is-on {
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
}
.h5-appoint-cat.is-on::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}
.h5-appoint-list {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 8px 10px 20px;
  background: #fff;
}
.h5-appoint-panel { display: none; }
.h5-appoint-panel.is-on { display: block; }
.h5-appoint-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 4px 4px 10px;
}
.h5-appoint-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  color: inherit;
}
.h5-appoint-item:active { background: #f7fbf9; }
.h5-appoint-item img,
.h5-appoint-item-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff5f0;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 20px;
}
.h5-appoint-item-body { flex: 1; min-width: 0; }
.h5-appoint-item-body strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.h5-appoint-item-body em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.h5-appoint-item-body span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #8a9a94;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.h5-book-sheet h3 { text-align: center; margin: 4px 0 0; }

.h5-store-name {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.h5-store-name h1 {
  margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .02em;
}
.h5-person-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.h5-person-chip {
  flex: 0 0 auto; width: 96px; text-align: center; text-decoration: none; color: inherit;
  padding: 10px 8px; border-radius: 14px; background: #fffaf7; border: 1px solid var(--line);
}
.h5-person-ava {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 6px;
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: var(--brand-soft); color: var(--brand);
}
.h5-person-ava img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.h5-person-ava img + i { display: none; }
.h5-person-chip strong { display: block; font-size: 13px; }
.h5-person-chip em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }
.h5-mine-guest-tip {
  margin: 0 12px 12px; padding: 12px 14px; border-radius: 14px;
  background: #fff7f0; border: 1px solid #f0c9a8; color: #a34b36;
  font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.h5-nav-map {
  margin: 12px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
}
.h5-svc-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
}
.h5-svc-card {
  flex: 0 0 132px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
}
.h5-svc-card img, .h5-svc-card-ico {
  width: 100%; height: 88px; object-fit: cover; display: grid; place-items: center;
  background: #fff5f0; color: var(--brand); font-size: 28px;
}
.h5-svc-card strong, .h5-svc-card span { display: block; padding: 6px 8px 0; font-size: 13px; }
.h5-svc-card span { color: var(--muted); font-size: 11px; padding-bottom: 8px; }
.h5-pill {
  font-size: 11px; color: var(--brand-dark); background: var(--brand-soft);
  padding: 4px 8px; border-radius: 999px; white-space: nowrap;
}
.h5-call-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  text-decoration: none; flex-shrink: 0;
}
.h5-guest-bar { display: none !important; }
.h5-store-loc {
  margin-top: 8px; font-size: 13px; color: #456; display: grid; gap: 4px;
}
.h5-store-loc a { color: var(--brand-dark); text-decoration: none; }

.h5-notice {
  margin: 8px 12px 0; padding: 10px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #fffaf7, #fff0ea); border: 1px solid #f0d8cc;
}
.h5-welcome { font-size: 13px; font-weight: 600; color: var(--brand-dark); margin-bottom: 4px; }
.h5-notice-body { font-size: 13px; color: #6a4a3e; }

.h5-midnav {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  padding: 12px 10px 4px; margin: 0;
}
.h5-midnav-item {
  text-align: center; text-decoration: none; color: var(--text); font-size: 11px;
}
.h5-midnav-ico {
  width: 44px; height: 44px; margin: 0 auto 6px; border-radius: 14px;
  display: grid; place-items: center; background: #fff0ea; color: var(--brand);
  font-size: 18px;
}
.h5-midnav-item em { font-style: normal; display: block; line-height: 1.2; }

.h5-section .h5-sec-head,
.h5-sec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.h5-sec-head h3 { margin: 0; font-size: 15px; }
.h5-sec-head a { font-size: 12px; color: var(--brand-dark); text-decoration: none; }

.h5-svc-list { display: grid; gap: 2px; }
.h5-svc-item {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.h5-svc-item:last-child { border-bottom: 0; }
.h5-svc-ico {
  width: 44px; height: 44px; border-radius: 12px; background: #fff5f0;
  display: grid; place-items: center; color: var(--brand); font-size: 16px;
}
.h5-svc-thumb {
  width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #f3f7f5;
}

.h5-list-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.h5-list-row:last-child { border-bottom: 0; }
.h5-list-row.stacked { display: grid; gap: 4px; }
.h5-list-row.stacked p { margin: 4px 0 0; font-size: 13px; color: #456; }

.h5-page-head { padding: 16px 16px 8px; }
.h5-page-head h1 { margin: 0; font-size: 20px; }
.h5-page-head p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.h5-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 12px 8px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
}
.h5-seg a {
  text-align: center; padding: 10px; font-size: 13px; color: var(--muted); text-decoration: none;
}
.h5-seg a.is-on { background: var(--brand); color: #fff; font-weight: 600; }

.h5-order {
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.h5-order:last-child { border-bottom: 0; }
.h5-order-top {
  display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 4px;
}

.h5-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.h5-chip {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; text-decoration: none; color: var(--text); background: #fff;
}
.h5-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.h5-kv {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.h5-kv > div {
  padding: 10px; border-radius: 10px; background: #f7faf8;
  display: grid; gap: 4px;
}
.h5-kv span { font-size: 12px; color: var(--muted); }
.h5-tip {
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5;
}
.h5-tip:last-child { border-bottom: 0; }

.h5-bottom-space { height: 72px; }
.h5-flash { margin: 8px 12px 0; }
.h5-card.empty { text-align: center; color: var(--muted); }

/* ???? ? H5 ???? */
.h5-set-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 14px;
}
@media (min-width: 720px) {
  .h5-set-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.h5-set-check {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #f9fcfb;
  font-size: 13px; cursor: pointer;
}
.h5-set-check input { margin-top: 2px; }

.h5-mine-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.h5-mine-tile {
  text-align: center; padding: 14px 10px; border-radius: 12px;
  background: #f3f7f5; color: inherit; text-decoration: none;
}
.h5-mine-tile.accent { background: #fff5f1; }
.h5-mine-tile .muted { font-size: 12px; margin-bottom: 4px; }
.h5-mine-tile strong { font-size: 18px; color: var(--brand-dark); display: block; }
.h5-mine-tile.accent strong { color: var(--accent, #e07a5f); font-size: 15px; }

/* H5 ???????? */
.h5-hero-fallback {
  margin: 0; padding: 36px 20px 28px; color: #5a3428;
  background:
    radial-gradient(280px 160px at 90% 0%, rgba(255,255,255,.5), transparent),
    linear-gradient(145deg, #fff0ea 0%, #fff8f4 48%, #fff5f0 100%);
  position: relative; overflow: hidden;
}
.h5-hero-paw {
  position: absolute; right: 18px; top: 18px; font-size: 64px; opacity: .12; color: #e86a4a;
}
.h5-hero-fallback h1 { margin: 0; font-size: 24px; position: relative; }
.h5-hero-fallback p { margin: 8px 0 0; opacity: .85; font-size: 14px; position: relative; }
.h5-hero-fallback .pet-deco { opacity: .4; }
.h5-hero-fallback .pet-deco-item { opacity: .1; width: 36px; height: 36px; font-size: 16px; }
.h5-call-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; text-decoration: none; flex-shrink: 0;
}
.h5-midnav-ico.tone-green { background: #fff0ea; color: #e86a4a; }
.h5-midnav-ico.tone-coral { background: #fdeee8; color: #c45c3e; }
.h5-midnav-ico.tone-amber { background: #fff4e0; color: #b7791f; }
.h5-midnav-ico.tone-pink { background: #fce8f0; color: #b83280; }
.h5-midnav-ico.tone-blue { background: #e8f1fb; color: #2b6cb0; }
.h5-midnav-ico.tone-teal { background: #fff3e8; color: #d97706; }
.h5-midnav-ico.tone-violet { background: #f0e9ff; color: #6b46c1; }
.h5-svc-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.h5-svc-scroll::-webkit-scrollbar { display: none; }
.h5-svc-card {
  flex: 0 0 118px; text-decoration: none; color: inherit;
  display: grid; gap: 6px;
}
.h5-svc-card img, .h5-svc-card-ico {
  width: 118px; height: 88px; border-radius: 14px; object-fit: cover;
  background: #fff0ea; display: grid; place-items: center; color: var(--brand); font-size: 28px;
}
.h5-svc-card strong { font-size: 13px; line-height: 1.3; }
.h5-svc-card span { font-size: 11px; color: var(--muted); }
.h5-pill {
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
  background: #fdeee8; color: #c45c3e; white-space: nowrap;
}
.h5-empty {
  text-align: center; padding: 18px 8px; color: var(--muted);
}
.h5-empty i { font-size: 28px; display: block; margin-bottom: 8px; opacity: .45; }
.h5-empty p { margin: 0; font-size: 13px; }
.h5-pet-avatar {
  width: 36px; height: 36px; border-radius: 12px; background: #fff0ea;
  display: grid; place-items: center; position: relative; overflow: hidden;
  color: var(--brand); flex-shrink: 0;
}
.h5-pet-avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.h5-pet-avatar img + i { display: none; }
.h5-seg-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Mine ? profile hero (white text on orange) */
.h5-mine { padding-bottom: 8px; background: #faf6f3; min-height: 70vh; }
.mc-hero {
  position: relative;
  padding: 18px 16px 14px;
  color: #fff;
  overflow: hidden;
}
.mc-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 200px at 90% -10%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(145deg, #c4532f 0%, #e86a4a 48%, #f0a06a 100%);
  border-radius: 0 0 22px 22px;
}
.h5-app a.mc-profile,
.h5-app a.mc-profile:link,
.h5-app a.mc-profile:visited,
.h5-app a.mc-profile:hover,
.h5-app a.mc-profile:active {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: #fff;
}
.mc-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 2px solid rgba(255,255,255,.45);
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
  color: #fff;
  overflow: hidden;
}
.mc-avatar i { color: #fff; }
.mc-avatar.has-img { padding: 0; background: #fff; }
.mc-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 50%;
}
.mc-profile-text { flex: 1; min-width: 0; color: #fff; }
.mc-profile-text strong {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 19px; font-weight: 700;
  color: #fff;
}
.mc-profile-text em {
  display: block; margin-top: 3px; font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,.88);
  opacity: 1;
}
.mc-level {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 600;
  background: rgba(0,0,0,.18); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.mc-profile-action {
  font-size: 12px; white-space: nowrap;
  color: rgba(255,255,255,.95);
}
.mc-profile-action i { font-size: 10px; color: rgba(255,255,255,.9); }
.mc-assets {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; margin-top: 18px;
}
.h5-app .mc-assets a,
.h5-app .mc-assets a:link,
.h5-app .mc-assets a:visited,
.h5-app .mc-assets a:hover {
  text-align: center; color: #fff; text-decoration: none;
  padding: 8px 4px; border-radius: 12px;
}
.mc-assets a:active { background: rgba(255,255,255,.1); }
.mc-assets strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; color: #fff; }
.mc-assets span { display: block; margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.85); }

.mc-card-wrap { padding: 0 14px; margin-top: -10px; position: relative; z-index: 2; }
.h5-app a.mc-vip-card,
.h5-app a.mc-vip-card:link,
.h5-app a.mc-vip-card:visited,
.h5-app a.mc-vip-card:hover,
.h5-app a.mc-vip-card:active,
.h5-app button.mc-vip-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  color: #f3e6c8;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212,175,95,.28), transparent 42%),
    radial-gradient(80% 70% at 0% 100%, rgba(184,134,11,.18), transparent 45%),
    linear-gradient(135deg, #1a1612 0%, #2a231c 38%, #16120e 72%, #0d0b09 100%);
  box-shadow:
    0 10px 24px rgba(18, 14, 10, .24),
    inset 0 1px 0 rgba(242, 214, 153, .22),
    inset 0 0 0 1px rgba(212, 175, 95, .28);
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}
.mc-vip-card.is-ghost {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212,175,95,.16), transparent 42%),
    linear-gradient(135deg, #221d18 0%, #2c251e 45%, #17130f 100%);
}
.mc-vip-shine {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(118deg, transparent 28%, rgba(255,236,179,.10) 48%, transparent 68%);
}
.mc-vip-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .28;
  background-image:
    linear-gradient(rgba(212,175,95,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,95,.08) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 80%);
}
.mc-vip-main {
  position: relative; z-index: 2;
  padding: 12px 14px;
  min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 8px;
}
.mc-vip-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.mc-vip-brand {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  color: #e8c878;
  text-transform: uppercase;
}
.mc-vip-brand i { font-size: 11px; color: #f0d48a; }
.mc-vip-tier {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700;
  color: #1a140c;
  background: linear-gradient(135deg, #f6e2a8 0%, #d4af5f 55%, #b8860b 100%);
  box-shadow: 0 1px 6px rgba(184, 134, 11, .24);
}
.mc-vip-no {
  font-size: 17px; font-weight: 700; letter-spacing: .14em;
  color: #f7e7b8;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.mc-vip-bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 8px;
  align-items: end;
  margin-top: 2px;
}
.mc-vip-bottom.is-solo {
  display: none;
}
.mc-vip-label {
  display: block;
  font-size: 9px;
  letter-spacing: .06em;
  color: rgba(232, 200, 120, .58);
  margin-bottom: 2px;
}
.mc-vip-bottom strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #f3e6c8;
  line-height: 1.25;
}
.mc-vip-exp strong { font-size: 10px; letter-spacing: .02em; }
.mc-vip-qr {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(246,226,168,.18), rgba(184,134,11,.12));
  border: 1px solid rgba(232, 200, 120, .35);
  color: #f0d48a;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  flex-shrink: 0;
}
/* ????????????????????????? */
.mc-vip-card.is-ghost.is-guest .mc-vip-main {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  padding: 12px 14px;
}
.mc-vip-card.is-ghost.is-guest .mc-vip-top {
  grid-column: 1;
  grid-row: 1;
  width: auto;
}
.mc-vip-card.is-ghost.is-guest .mc-vip-empty-copy {
  grid-column: 1;
  grid-row: 2;
}
.mc-vip-card.is-ghost.is-guest .mc-vip-tier {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  flex-shrink: 0;
}
/* ????????????????? */
.mc-vip-card.is-ghost:not(.is-guest) .mc-vip-main {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  padding: 12px 14px;
}
.mc-vip-card.is-ghost:not(.is-guest) .mc-vip-top {
  grid-column: 1;
  grid-row: 1;
}
.mc-vip-card.is-ghost:not(.is-guest) .mc-vip-empty-copy {
  grid-column: 1;
  grid-row: 2;
}
.mc-vip-card.is-ghost:not(.is-guest) .mc-vip-bottom.is-solo {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.mc-vip-empty-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f3e6c8;
  line-height: 1.3;
}
.mc-vip-empty-copy em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: rgba(232, 200, 120, .7);
  line-height: 1.35;
}
.h5-app .mc-vip-card:active { transform: translateY(1px) scale(.995); }

/* ???????????????? */
.mc-vip-empty {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  box-shadow: 0 4px 16px rgba(22,40,35,.04);
}
.mc-vip-empty > i:first-child {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 18px;
}
.mc-vip-empty strong { display: block; font-size: 14px; }
.mc-vip-empty em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--muted); }
.mc-vip-empty div { flex: 1; }

.mc-panel {
  margin: 12px;
  padding: 14px 12px 10px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(213,228,222,.7);
  box-shadow: 0 4px 16px rgba(22,40,35,.03);
}
.mc-panel-title {
  font-size: 13px; font-weight: 700; color: var(--ink);
  margin: 0 4px 10px;
}
.mc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 2px;
}
.mc-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 4px 10px;
  text-decoration: none; color: var(--ink); font-size: 11px;
}
.mc-ico {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center; font-size: 17px;
}
.mc-ico.tone-green { background: #fff0ea; color: #e86a4a; }
.mc-ico.tone-coral { background: #fdeee8; color: #c45c3e; }
.mc-ico.tone-amber { background: #fff4e0; color: #b7791f; }
.mc-ico.tone-pink { background: #fce8f0; color: #b83280; }
.mc-ico.tone-blue { background: #e8f1fb; color: #2b6cb0; }
.mc-ico.tone-teal { background: #fff3e8; color: #d97706; }
.mc-ico.tone-violet { background: #f0e9ff; color: #6b46c1; }

.mc-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 6px;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid #eef3f0;
  font-size: 14px;
}
.mc-list a:last-child { border-bottom: 0; }
.mc-list a > i:first-child {
  width: 28px; text-align: center; color: var(--brand); font-size: 15px;
}
.mc-list a span { flex: 1; }
.mc-list a em {
  font-style: normal; font-size: 12px; color: var(--muted);
  margin-right: 4px;
}
.mc-list a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: #b7c4be;
}
.mc-list a.is-danger { color: #c0392b; }
.mc-list a.is-danger > i:first-child { color: #c0392b; }

.mc-invite-note {
  font-size: 12px; color: var(--muted);
  margin: 0 4px 10px;
}
.mc-invite-box { padding: 0 4px 6px; }
.mc-row-card {
  display: block; padding: 10px 6px;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid #eef3f0;
}
.mc-row-card:last-of-type { border-bottom: 0; }
.mc-row-card strong { display: block; font-size: 14px; }
.mc-row-card em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; color: var(--muted); }
.mc-empty { padding: 8px 6px 12px; font-size: 13px; color: var(--muted); }
.mc-more {
  display: block; text-align: center;
  padding: 10px 0 4px; font-size: 12px; color: var(--brand);
  text-decoration: none;
}
.mc-foot {
  text-align: center; font-size: 11px; color: #a0aea8;
  margin: 8px 0 20px;
}

/* H5 ???? */
.mp-page { padding-bottom: 8px; }
.mp-head p { color: var(--muted); }
.mp-avatar-card { margin-top: 4px; }
.mp-avatar-wrap {
  display: flex; align-items: center; gap: 14px;
}
.mp-avatar {
  position: relative; width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(145deg, #f3a07a, #e86a4a);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(232, 106, 74, .28);
  cursor: pointer;
}
.mp-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mp-avatar-ph {
  display: grid; place-items: center;
  width: 100%; height: 100%; color: #fff; font-size: 28px;
}
.mp-avatar-cam {
  position: absolute; right: 0; bottom: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: #2c3e36; color: #fff;
  display: grid; place-items: center; font-size: 11px;
  border: 2px solid #fff;
  font-style: normal;
}
.mp-avatar-meta { flex: 1; min-width: 0; }
.mp-avatar-meta strong {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 17px; font-weight: 700;
}
.mp-avatar-meta > span {
  display: block; margin-top: 4px;
  font-size: 13px; color: var(--muted);
}
.mp-avatar-tip {
  margin-top: 6px !important;
  font-size: 12px !important; color: #a0aea8 !important;
}
.mp-avatar-tip i { margin-right: 4px; color: var(--brand); }
.mp-level {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 600; color: #fff;
  background: var(--lv, #e86a4a);
}
.mp-sec { margin-top: 10px; }
.mp-sec-title {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #2c3e36;
}
.mp-sec-title i { color: var(--brand); width: 16px; text-align: center; }
.mp-form .form-row:last-of-type { margin-bottom: 16px; }
.mp-hint { margin-top: 6px; font-size: 12px; }
.mp-gender {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.mp-radio {
  flex: 1; min-width: 72px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px; border-radius: 12px;
  border: 1px solid var(--line); background: #f7faf8;
  font-size: 13px; cursor: pointer; user-select: none;
}
.mp-radio input { accent-color: var(--brand); }
.mp-radio.is-on {
  border-color: rgba(232, 106, 74, .55);
  background: rgba(232, 106, 74, .08);
  color: #c4532f; font-weight: 600;
}
.mp-kv {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px;
}
.mp-kv > div {
  padding: 10px 12px; border-radius: 12px;
  background: #f7faf8; border: 1px solid #eef3f0;
}
.mp-kv span {
  display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px;
}
.mp-kv b { font-size: 14px; font-weight: 700; color: #2c3e36; word-break: break-all; }
.mp-sync-tip {
  margin: 12px 0 0; font-size: 12px; color: var(--muted);
  display: flex; align-items: flex-start; gap: 6px; line-height: 1.5;
}
.mp-sync-tip i { margin-top: 2px; color: var(--brand); }
.mp-list { margin: 0 -4px; }
.mp-list a { padding-left: 4px; padding-right: 4px; }

/* legacy mine hero */
.h5-mine-hero {
  margin: 0 0 12px; padding: 20px 16px 16px; color: #fff;
  background: linear-gradient(145deg, #c4532f, #f08a4b);
  border-radius: 0 0 22px 22px;
}
.h5-mine-hero-top { display: flex; gap: 12px; align-items: center; }
.h5-mine-avatar {
  width: 56px; height: 56px; border-radius: 18px; background: rgba(255,255,255,.18);
  display: grid; place-items: center; font-size: 24px;
}
.h5-mine-hero h1 { margin: 0; font-size: 20px; }
.h5-mine-hero p { margin: 4px 0 0; font-size: 13px; opacity: .9; }
.h5-level-badge {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; color: #fff;
}
.h5-mine-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 16px;
}
.h5-mine-stats a {
  text-align: center; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.12); border-radius: 14px; padding: 10px 6px;
}
.h5-mine-stats strong { display: block; font-size: 18px; }
.h5-mine-stats span { font-size: 11px; opacity: .85; }
.h5-member-card {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(120deg, #e86a4a, #f0a06a); color: #fff; border: 0;
}
.h5-member-card .muted { color: rgba(255,255,255,.8) !important; }
.h5-member-card i { font-size: 28px; opacity: .35; }
.h5-empty-soft { display: flex; gap: 12px; align-items: center; }
.h5-empty-soft i { font-size: 22px; color: var(--muted); }
.h5-empty-soft p { margin: 2px 0 0; font-size: 12px; }
.h5-mine-menu {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px;
}
.h5-mine-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 4px;
  text-decoration: none; color: inherit; font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.h5-mine-menu a:nth-last-child(-n+2) { border-bottom: 0; }
.h5-mine-menu .h5-midnav-ico {
  width: 36px; height: 36px; border-radius: 12px; font-size: 15px;
  display: grid; place-items: center; flex-shrink: 0;
}
.h5-coupon-claim {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}

.pos-verify-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}

.verify-shell .verify-hero {
  text-align: center; padding: 18px 12px 8px; color: #1a3d34;
}
.verify-shell .verify-hero i {
  font-size: 28px; color: var(--brand); margin-bottom: 8px;
}
.verify-shell .verify-hero h1 { margin: 0 0 6px; font-size: 20px; }
.verify-shell .verify-hero p { margin: 0; color: var(--muted); font-size: 13px; }
.verify-scan-box { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.verify-qr-reader {
  margin-top: 10px; border-radius: 12px; overflow: hidden; background: #111;
  min-height: 220px;
}
.verify-result .badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: 12px;
}
.verify-links {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: 16px 0 8px; font-size: 13px;
}
.verify-links a { color: var(--brand); }

.h5-guest-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
}
.h5-pick { padding: 8px 0 24px; }
.h5-pick-hero {
  text-align: center; padding: 28px 16px 12px; color: #1a3d34;
}
.h5-pick-hero i { font-size: 32px; color: var(--brand); }
.h5-pick-hero h1 { margin: 10px 0 6px; font-size: 22px; }
.h5-pick-hero p { margin: 0; color: var(--muted); font-size: 14px; }
.h5-pick-actions { display: grid; gap: 10px; padding: 0 4px; }

@media (max-width: 380px) {
  .h5-midnav { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 360px) {
    .mc-grid { grid-template-columns: repeat(4, 1fr); }
    .mc-assets strong { font-size: 16px; }
  }
  .h5-mine-menu { grid-template-columns: 1fr; }
  .h5-mine-menu a:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .h5-mine-menu a:last-child { border-bottom: 0; }
}

.merchant-portal { min-height: 100vh; min-height: 100dvh; }
.merchant-top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0);
}
.merchant-top-inner {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 0;
}
.merchant-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}
.merchant-brand:hover,
.merchant-brand:visited,
.merchant-brand:active { color: inherit; text-decoration: none; }
.merchant-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 40px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(26,107,86,.16);
}
.merchant-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.15;
  min-width: 0;
}
.merchant-brand-name {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.2;
}
.merchant-brand-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
}
.merchant-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.merchant-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #fff7f2;
  border: 1px solid rgba(232, 106, 74, .14);
}
.merchant-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.merchant-nav-btn i { font-size: 13px; color: var(--brand); }
.merchant-nav-btn:hover,
.merchant-nav-btn:visited,
.merchant-nav-btn:active,
.merchant-nav-btn:focus {
  color: var(--brand-dark);
  text-decoration: none;
  outline: none;
  background: rgba(232, 106, 74, .08);
  border-color: transparent;
}
.merchant-nav-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(232, 106, 74, .22);
}
.merchant-nav-btn.is-on {
  color: #fff;
  background: linear-gradient(160deg, #f08a4b 0%, #e86a4a 100%);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(232, 106, 74, .28);
}
.merchant-nav-btn.is-on i,
.merchant-nav-btn.is-on:hover,
.merchant-nav-btn.is-on:visited,
.merchant-nav-btn.is-on:active {
  color: #fff;
  background: linear-gradient(160deg, #f08a4b 0%, #e86a4a 100%);
}
.merchant-nav-btn.is-exit {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 36px;
}
.merchant-nav-btn.is-exit i { color: var(--danger); }
.merchant-nav-btn.is-exit:hover,
.merchant-nav-btn.is-exit:focus {
  color: var(--danger);
  border-color: rgba(192, 57, 43, .28);
  background: #fff5f4;
}
.merchant-main {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 calc(28px + env(safe-area-inset-bottom, 0));
  position: relative; z-index: 1;
}
.merchant-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 22px 26px; box-shadow: var(--shadow);
}
.merchant-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.merchant-store-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px;
}
.merchant-store-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 16px; box-shadow: 0 10px 28px rgba(22,40,35,.04);
  display: flex; flex-direction: column; gap: 12px;
}
.merchant-store-card.is-active { border-color: rgba(26,107,86,.35); }
.msc-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.msc-head h3 { margin: 0 0 4px; font-size: 17px; }
.msc-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px; border-radius: 12px; background: #f5f8f7;
}
.msc-meta span { display: block; font-size: 11px; color: var(--muted); }
.msc-meta strong { font-size: 13px; }
.msc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.msc-ver {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.msc-ver.is-trial { background: #fff3d9; color: #9a6b14; }
.msc-ver.is-paid { background: var(--brand-soft); color: var(--brand-dark); }
.msc-expire-tip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; border: 1px solid #f0c9a8; background: #fff7f0; color: #a34b36;
  border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700; cursor: pointer;
  text-align: left;
}
.msc-expire-tip:hover { background: #ffefE6; }
.merchant-store-card.is-expired { border-color: #f0c9a8; }
.merchant-store-card .is-danger-text { color: #c0392b; }
.merchant-store-card .is-warn-text { color: #d97706; font-weight: 700; }
.vip-promo-soft { margin-top: 10px; }
.msc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.msc-onboard-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
  border-radius: 12px;
}

.pay-qr-row { display: flex; gap: 16px; flex-wrap: wrap; }
.pay-qr-card {
  flex: 1; min-width: 160px; max-width: 220px; text-align: center;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fafcfb;
}
.pay-qr-card strong { display: block; margin-bottom: 8px; font-size: 13px; }
.pay-qr-card img { width: 100%; border-radius: 10px; }

.merchant-portal .topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.merchant-portal .page-title { margin: 0; font-size: 22px; line-height: 1.25; }
.merchant-portal .page-sub { margin: 6px 0 0; font-size: 13px; }

@media (max-width: 720px) {
  .merchant-top-inner {
    width: calc(100% - 20px);
    min-height: 52px;
    padding: 8px 0;
  }
  .merchant-brand { gap: 8px; }
  .merchant-brand-logo {
    width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px;
  }
  .merchant-brand-name { font-size: 17px; }
  .merchant-brand-sub { font-size: 11px; }
  .merchant-nav-group {
    gap: 2px;
    padding: 2px;
  }
  .merchant-nav-btn {
    width: 36px; height: 36px; min-height: 36px; padding: 0;
    border-radius: 12px;
  }
  .merchant-nav-btn span { display: none; }
  .merchant-nav-btn i { font-size: 14px; margin: 0; }
  .merchant-nav-btn.is-on {
    box-shadow: 0 4px 10px rgba(232, 106, 74, .26);
  }
  .merchant-nav-btn.is-exit {
    width: 36px; height: 36px; min-height: 36px; padding: 0;
    border-radius: 12px;
  }
  .merchant-main {
    width: calc(100% - 20px);
    padding: 14px 0 calc(20px + env(safe-area-inset-bottom, 0));
  }
  .merchant-panel { border-radius: 16px; padding: 16px; }
  .merchant-store-grid { grid-template-columns: 1fr; gap: 12px; }
  .merchant-portal .topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .merchant-portal .topbar .btn {
    width: 100%;
  }
  .merchant-portal .page-title { font-size: 20px; }
  .msc-meta { grid-template-columns: 1fr; }
  .msc-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ?? ?????? ?? */
.wash-board {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  align-items: flex-start;
}
.wash-col {
  flex: 0 0 260px;
  min-width: 240px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(26, 50, 44, .08);
  border-radius: 14px;
  padding: 10px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}
.wash-col-pickup { background: rgba(255, 248, 240, .9); }
.wash-col-head {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wash-col-head em {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted, #6b7280);
  background: rgba(0,0,0,.05);
  padding: 2px 8px;
  border-radius: 999px;
}
.wash-card {
  background: #fff;
  border: 1px solid rgba(26, 50, 44, .1);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.wash-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.wash-stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.wash-pill {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eef1ef;
  color: #5a6560;
}
.wash-pill.doing { background: #d8f0e6; color: #0f5c45; font-weight: 600; }
.wash-pill.done { background: #e8e8e8; color: #888; text-decoration: line-through; }
.wash-pill.skip { background: #f3e8e8; color: #a66; }
.wash-card-actions .btn.block { width: 100%; }
@media (max-width: 768px) {
  .wash-col { flex-basis: 85vw; max-height: none; }
}

/* ===== ??????????????????? ===== */
.mm-search { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.mm-search .input { flex: 1; min-width: 0; }
.mm-tabs {
  display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mm-tabs::-webkit-scrollbar { display: none; }
.mm-tab {
  flex: 0 0 auto; border: 0; background: #eef2f0; color: #5a6560;
  border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.mm-tab.is-on, .mm-tab.active { background: var(--brand); color: #fff; font-weight: 600; }
.mm-banner {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #1a8f6a, #2bb381);
  color: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px;
  font-size: 13px; line-height: 1.4;
}
.mm-banner i { font-size: 22px; }
.mm-card-list { display: flex; flex-direction: column; gap: 10px; }
.mm-card {
  display: flex; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; align-items: flex-start;
}
.mm-card-thumb {
  width: 64px; height: 64px; border-radius: 10px; object-fit: cover;
  background: #eef4f1; flex-shrink: 0; display: grid; place-items: center; color: #9aaba3; overflow: hidden;
}
.mm-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-card-body { flex: 1; min-width: 0; }
.mm-card-body strong { display: block; font-size: 15px; margin-bottom: 4px; }
.mm-card-meta { font-size: 12px; color: var(--muted); line-height: 1.5; }
.mm-card-foot {
  display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px;
}
.mm-price { color: #d94841; font-weight: 700; font-size: 15px; }
.mm-tag {
  display: inline-block; font-size: 11px; padding: 2px 6px; border-radius: 4px;
  background: #fff0ea; color: #e86a4a; margin-right: 4px;
}
.mm-fab {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: auto; min-width: 148px; max-width: 100%;
  margin: 0 auto;
  text-align: center;
  background: var(--brand); color: #fff !important; border: 0;
  border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(232,106,74,.28);
}
.mm-fab-wrap {
  position: sticky; bottom: calc(78px + env(safe-area-inset-bottom));
  padding: 10px 0 4px; background: linear-gradient(transparent, #f5f7f6 35%);
  z-index: 5; margin-top: 12px;
  text-align: center;
}
.mm-appoint-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; margin-bottom: 10px;
}
.mm-appoint-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px;
}
.mm-appoint-head strong { font-size: 15px; }
.mm-appoint-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.mm-appoint-actions {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 12px;
}
@media (min-width: 400px) {
  .mm-appoint-actions { grid-template-columns: repeat(4, 1fr); }
}
.mm-appoint-actions .btn { width: 100%; justify-content: center; font-size: 12px; padding: 8px 4px; }
.mm-appoint-actions .btn.is-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.mm-member-hero {
  background: linear-gradient(160deg, var(--brand) 0%, #f08a4b 100%);
  color: #fff; border-radius: 0 0 18px 18px; margin: -4px -4px 14px;
  padding: 16px 16px 22px;
}
.mm-member-card {
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.mm-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand); font-size: 22px; flex-shrink: 0;
}
.mm-quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 14px;
}
.mm-quick {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--ink); font-size: 11px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 4px;
}
.mm-quick i {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 16px;
}
.mm-asset-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.mm-asset-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: inherit;
}
.mm-asset-row:last-child { border-bottom: 0; }
.mm-asset-row em { font-style: normal; color: var(--muted); font-size: 13px; }
.mm-points-sum {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 16px; margin-bottom: 12px; text-align: center;
}
.mm-points-sum b { display: block; font-size: 32px; line-height: 1.1; color: #16352c; }
.mm-point-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px;
}
.mm-point-row .up { color: #1a7a4c; font-weight: 700; }
.mm-point-row .down { color: #333; font-weight: 700; }
.desk-only { display: block; }
.desk-only.toolbar, .toolbar.desk-only { display: flex; }
.mobile-only { display: none !important; }
@media (max-width: 860px) {
  .desk-only { display: none !important; }
  .mobile-only { display: block !important; }
  .mobile-only.mm-card-list { display: flex !important; }
  .store-portal .page-sub { font-size: 12px; }
  .mm-fab-wrap { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .store-portal .table-wrap, .store-portal .panel > .table { font-size: 13px; }
  .mm-member-hero { margin: -12px -12px 14px; padding-top: 12px; }
  .store-portal .topbar.desk-only + * { margin-top: 0; }
}

/* ?? ?????? ?? */
.worker-app {
  --worker-bg: var(--bg);
  --worker-ink: var(--ink);
  --worker-coral: var(--brand);
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 10% -10%, #ffe8df 0%, transparent 55%),
    radial-gradient(90% 60% at 100% 0%, #fff4e8 0%, transparent 50%),
    var(--worker-bg);
  color: var(--worker-ink);
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.worker-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 14px calc(88px + env(safe-area-inset-bottom));
}
.worker-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.worker-hello { margin: 2px 0 0; font-size: 22px; letter-spacing: .02em; }
.worker-auto {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line, #e4ebe7);
  border-radius: 999px; padding: 8px 12px; font-size: 13px;
  box-shadow: 0 4px 14px rgba(22,53,44,.06);
}
.worker-seg {
  display: flex; gap: 6px; margin-bottom: 12px;
  background: rgba(255,255,255,.7); border-radius: 12px; padding: 4px;
  border: 1px solid #e6eee9;
}
.worker-seg a {
  flex: 1; text-align: center; text-decoration: none; color: #4a635a;
  padding: 10px 6px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.worker-seg a em {
  font-style: normal; display: inline-block; min-width: 18px;
  margin-left: 4px; color: var(--worker-coral); font-size: 12px;
}
.worker-seg a.is-on { background: #fff; color: var(--worker-ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.worker-card {
  background: #fff; border: 1px solid #e6eee9; border-radius: 16px;
  padding: 14px; margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(22,53,44,.04);
}
.worker-card-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
  margin-bottom: 6px;
}
.worker-card-top strong { font-size: 15px; line-height: 1.35; }
.worker-card-meta { font-size: 12px; margin-bottom: 10px; }
.worker-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.worker-card-actions form { display: inline; }
.worker-stage-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.worker-wage-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
.worker-wage-card {
  background: #fff; border: 1px solid #e6eee9; border-radius: 14px; padding: 14px;
}
.worker-wage-card span { display: block; font-size: 12px; color: var(--muted,#6b7c74); margin-bottom: 4px; }
.worker-wage-card strong { font-size: 20px; color: var(--worker-ink); }
.worker-earn-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #f0f4f2;
}
.worker-earn-row:last-child { border-bottom: 0; }
.worker-earn-amt { text-align: right; font-weight: 700; color: #1a7a4c; font-size: 15px; }
.worker-earn-amt em { display: block; font-style: normal; font-weight: 500; font-size: 11px; color: var(--muted,#6b7c74); }
.worker-profile-card { margin-bottom: 12px; }
.worker-profile-ava-row { display: flex; gap: 14px; align-items: center; }
.worker-profile-ava {
  position: relative; width: 72px; height: 72px; border-radius: 50%; flex: 0 0 72px;
  background: linear-gradient(145deg, var(--worker-coral, #e86a4a), #f08a4b);
  color: #fff; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  box-shadow: 0 8px 18px rgba(232,106,74,.22);
}
.worker-profile-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.worker-profile-letter { font-size: 28px; font-weight: 800; }
.worker-profile-cam {
  position: absolute; right: 2px; bottom: 2px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.55);
  color: #fff; display: grid; place-items: center; font-size: 11px; font-style: normal;
}
.worker-profile-ava-meta { display: grid; gap: 4px; min-width: 0; }
.worker-profile-ava-meta strong { font-size: 18px; color: var(--worker-ink, #1f1714); }
.worker-profile-ava-meta span { font-size: 13px; color: var(--muted); }
.worker-profile-form .form-row { margin-bottom: 12px; }
.worker-profile-form .form-row label {
  display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600;
}
.worker-profile-form .btn { margin-top: 4px; border-radius: 999px; min-height: 44px; font-weight: 700; }
.worker-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; justify-content: center;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e6eee9;
  box-shadow: 0 -8px 24px rgba(22,53,44,.06);
}
.worker-dock-item {
  position: relative; flex: 1; max-width: 88px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: #6b7c74; font-size: 11px; padding: 6px 4px;
}
.worker-dock-item i { font-size: 18px; }
.worker-dock-item em { font-style: normal; font-weight: 600; }
.worker-dock-item.is-on { color: var(--worker-coral); }
.worker-dock .nav-dot,
.store-portal .sidebar a .nav-dot,
.admin-portal .sidebar a .nav-dot,
.admin-portal .btn.has-badge .nav-dot {
  position: absolute; top: 2px; right: calc(50% - 22px);
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: #e53935; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.store-portal .sidebar a,
.admin-portal .sidebar a { position: relative; }
.store-portal .sidebar a .nav-dot,
.admin-portal .sidebar a .nav-dot {
  right: 10px; top: 50%; transform: translateY(-50%);
}
.admin-portal .btn.has-badge {
  position: relative;
  padding-right: 22px;
}
.admin-portal .btn.has-badge .nav-dot {
  top: -6px;
  right: -6px;
  transform: none;
  box-shadow: 0 0 0 2px var(--brand, #1a6b56);
}
.badge.danger { background: #fde8e8; color: #c62828; }



/* ???? H5 ??? v2????????? UI?? ???? */
.h5-home-v2 { padding-bottom: 12px; background: #faf6f3; }
.h5-hero-v2 {
  position: relative; min-height: 168px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #c4532f 0%, #e86a4a 48%, #f0a06a 100%);
  border-radius: 0 0 22px 22px;
}
.h5-hero-poster {
  min-height: 200px;
  height: min(34vh, 248px);
  border-radius: 0 0 24px 24px;
}
.h5-hero-poster.is-fit-auto {
  height: auto;
  min-height: 0;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-bg {
  position: relative;
  min-height: 140px;
  z-index: 1;
}
.h5-hero-poster.is-fit-auto .h5-banner-slide {
  position: relative;
  inset: auto;
  display: block;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-bg img,
.h5-hero-poster.is-fit-auto .h5-hero-poster-link {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 0;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-copy {
  position: absolute;
  left: 0; right: 0;
  z-index: 3;
  padding: 18px 16px 20px;
  background: none;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-copy.is-pos-top {
  top: 48px; bottom: auto;
  background: none;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-copy.is-pos-center {
  top: 50%; bottom: auto;
  transform: translateY(-50%);
  background: none;
}
.h5-hero-poster.is-fit-auto .h5-hero-v2-copy.is-pos-bottom {
  bottom: 0; top: auto;
}
.h5-hero-poster-link { color: inherit; text-decoration: none; }
.h5-hero-v2-bg { position: absolute; inset: 0; }
.h5-hero-v2-bg .h5-banner-slide {
  position: absolute; inset: 0; display: none;
}
.h5-hero-v2-bg .h5-banner-slide.is-active { display: block; }
.h5-hero-v2-bg img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}
.h5-hero-poster.is-fit-fixed .h5-hero-v2-bg img {
  object-position: center center;
  padding: 0;
  box-sizing: border-box;
}
.h5-hero-poster-slide.is-broken { display: none !important; }
.h5-hero-v2-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(40,24,16,.22) 0%, rgba(40,24,16,.04) 42%, rgba(40,24,16,.10) 70%, rgba(40,24,16,.28) 100%);
}
.h5-hero-v2-top, .h5-hero-v2-copy { position: relative; z-index: 2; }
.h5-hero-v2-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px 0; gap: 10px;
}
.h5-app a.h5-hero-store-name,
.h5-app a.h5-hero-store-name:link,
.h5-app a.h5-hero-store-name:visited,
.h5-app a.h5-hero-store-name:hover,
.h5-app a.h5-hero-store-name:active {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  max-width: calc(100% - 100px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.h5-app a.h5-hero-store-name > i:first-child {
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
}
.h5-app a.h5-hero-store-name span {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.h5-app a.h5-hero-store-name > i:last-child {
  color: rgba(255,255,255,.9);
  font-size: 10px;
  flex-shrink: 0;
}
.h5-hero-v2-actions { display: flex; gap: 8px; }
.h5-hero-orb {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.22);
  color: #fff; display: grid; place-items: center; text-decoration: none;
}
.h5-hero-v2-copy {
  padding: 18px 18px 58px;
  text-align: center;
}
.h5-hero-v2-copy.is-align-left { text-align: left; }
.h5-hero-v2-copy.is-align-center { text-align: center; }
.h5-hero-v2-copy.is-align-right { text-align: right; }
.h5-hero-poster.is-fit-fixed .h5-hero-v2-copy.is-pos-top { padding-top: 56px; padding-bottom: 18px; }
.h5-hero-poster.is-fit-fixed .h5-hero-v2-copy.is-pos-center {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  padding: 18px 18px;
  z-index: 3;
}
.h5-hero-poster.is-fit-fixed .h5-hero-v2-copy.is-pos-bottom { padding: 18px 18px 58px; }
.h5-hero-v2-copy strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .06em;
  color: #fff;
  text-shadow: none;
}
.h5-hero-v2-copy em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.92);
  text-shadow: none;
}
.h5-store-card {
  margin: -36px 14px 12px; position: relative; z-index: 3;
  background: #fff; border-radius: 20px; padding: 16px 16px 14px;
  box-shadow: 0 12px 30px rgba(232,106,74,.14);
}
.h5-store-card-head {
  display: block; margin-bottom: 0;
}
.h5-store-card-main { min-width: 0; }
.h5-store-card-tags {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 10px;
}
.h5-store-card-name {
  display: block; margin: 0;
  font-size: 20px; line-height: 1.3; font-weight: 800;
  letter-spacing: .02em; color: #1f1714;
}
.h5-store-card-head strong { display: block; margin-top: 6px; font-size: 20px; }
.h5-open-pill {
  display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: #fff0ea; color: #e86a4a; font-weight: 700;
}
.h5-store-chip {
  font-size: 11px; background: #e86a4a; color: #fff; border-radius: 999px;
  padding: 4px 10px; white-space: nowrap; font-weight: 600;
}
.h5-store-addr { display: none; }
.h5-store-card-btns { display: flex; gap: 10px; margin-top: 14px; }
.h5-store-card-btns .btn {
  flex: 1; border-radius: 999px; justify-content: center;
  min-height: 40px; font-weight: 700;
}

.h5-midnav-solid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  padding: 4px 10px 12px; text-align: center;
}
.h5-midnav-solid-item {
  text-decoration: none; color: var(--ink); font-size: 11px; border: 0; background: transparent; cursor: pointer; padding: 0;
}
.h5-midnav-solid-ico {
  width: 48px; height: 48px; margin: 0 auto 6px; border-radius: 14px;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 18px;
  box-shadow: 0 6px 14px rgba(232,106,74,.28);
}
.h5-midnav-solid-item em { font-style: normal; display: block; line-height: 1.2; }

.h5-sec-v2 { padding: 4px 14px 12px; }
.h5-svc-circle-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center;
}
.h5-svc-circle { text-decoration: none; color: inherit; font-size: 11px; }
.h5-svc-circle span,
.h5-svc-circle-ico {
  width: 52px; height: 52px; margin: 0 auto 6px; border-radius: 50%;
  border: 1.5px solid var(--brand); color: var(--brand);
  display: grid; place-items: center; background: #fff; font-size: 18px;
  position: relative; overflow: hidden;
}
.h5-svc-circle-ico img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.h5-svc-circle-ico i { position: relative; z-index: 0; }
.h5-svc-circle-ico img + i { display: none; }
.h5-svc-circle em { font-style: normal; display: block; line-height: 1.25; color: #3a2e29; }

/* —— 首页左右栏：服务人卡片 + 双金属小卡 —— */
.h5-split-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 14px 14px;
  align-items: stretch;
}
.h5-split-card {
  background: #fff;
  border-radius: 18px;
  padding: 12px 10px 10px;
  min-height: 0;
  box-shadow: 0 8px 22px rgba(232,106,74,.08);
  border: 1px solid rgba(232,106,74,.08);
  display: flex;
  flex-direction: column;
}
.h5-split-hd {
  margin: 0 2px 10px !important;
}
.h5-split-hd h3 {
  font-size: 14px !important;
}
.h5-staff-card {
  background:
    linear-gradient(165deg, #fff8f4 0%, #fff 48%),
    radial-gradient(120% 80% at 100% 0%, rgba(232,106,74,.12), transparent 55%);
}
.h5-staff-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  color: var(--muted);
  font-size: 12px;
  flex: 1;
}
.h5-staff-empty i { font-size: 22px; color: var(--brand); opacity: .7; }
.h5-staff-mini-stack {
  display: grid;
  gap: 8px;
  flex: 1;
}
.h5-staff-mini {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(232,106,74,.1);
  box-shadow: 0 4px 12px rgba(232,106,74,.06);
}
.h5-staff-mini .h5-staff-ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 40px;
  background: #fff0ea;
  color: var(--brand);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(232,106,74,.16);
}
.h5-staff-mini .h5-staff-ava img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.h5-staff-mini .h5-staff-ava img + i { display: none; }
.h5-staff-mini .h5-staff-meta { flex: 1; min-width: 0; }
.h5-staff-mini .h5-staff-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1f1714;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h5-staff-mini .h5-staff-meta em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h5-pkg-card {
  background:
    linear-gradient(165deg, #f7f2ec 0%, #fff 55%),
    radial-gradient(100% 80% at 0% 0%, rgba(212,175,55,.12), transparent 55%);
}
.h5-pkg-empty {
  margin: 0;
  font-size: 12px;
  color: #9a8f86;
  text-align: center;
  padding: 24px 6px;
}
.h5-pkg-mini-stack {
  display: grid;
  gap: 8px;
  flex: 1;
}
.vipc-pass.is-home-mini {
  min-height: 0;
  padding: 10px 10px 9px;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(40,30,20,.12);
}
.vipc-pass.is-home-mini .vipc-pass-top { margin-bottom: 6px; }
.vipc-pass.is-home-mini .vipc-pass-brand {
  font-size: 9px;
  letter-spacing: .12em;
}
.vipc-pass.is-home-mini .vipc-pass-chip {
  width: 22px;
  height: 16px;
  border-radius: 4px;
}
.vipc-pass.is-home-mini .vipc-pass-name {
  font-size: 12px;
  line-height: 1.25;
  margin: 0;
}
.vipc-pass.is-home-mini .vipc-pass-foot {
  margin-top: 8px;
  font-size: 11px;
}
.vipc-pass.is-home-mini .vipc-pass-cta {
  font-size: 11px;
}

/* —— 服务人列表 —— */
.h5-body:has(.sp-page),
.h5-body:has(.spd-page) {
  background: #f6f1ec;
}
.sp-page {
  min-height: 70vh;
  padding-bottom: 12px;
  background:
    radial-gradient(90% 40% at 50% -8%, rgba(232,106,74,.14), transparent 55%),
    linear-gradient(180deg, #faf5f1 0%, #f3ebe4 100%);
}
.sp-hero {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 6px;
}
.sp-back,
.sp-hero-spacer {
  width: 40px;
  height: 40px;
}
.sp-back {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #2c221c;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(44,34,28,.07);
}
.sp-hero-text { text-align: center; min-width: 0; }
.sp-hero-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1f1714;
}
.sp-hero-text p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9a8f86;
}
.sp-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 18px 6px;
  -webkit-overflow-scrolling: touch;
}
.sp-filter {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ebe5db;
  color: #5a5348;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.sp-filter.is-on {
  background: #e86a4a;
  border-color: #e86a4a;
  color: #fff;
}
.sp-grid {
  display: grid;
  gap: 10px;
  padding: 10px 18px 0;
}
.sp-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(232,106,74,.08);
  box-shadow: 0 8px 20px rgba(120,70,40,.06);
  text-decoration: none;
  color: inherit;
}
.sp-card-ava {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: 0 0 56px;
  background: #fff0ea;
  color: #e86a4a;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-size: 20px;
}
.sp-card-ava img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.sp-card-ava img + i { display: none; }
.sp-card-body { flex: 1; min-width: 0; }
.sp-card-body strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1f1714;
}
.sp-card-body em {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff0ea;
  color: #d45a3a;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.sp-card-body span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9a8f86;
  line-height: 1.4;
}
.sp-card-go { color: #e0c4b8; font-size: 13px; }
.sp-empty {
  margin: 24px 18px;
  padding: 36px 18px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  border: 1px dashed rgba(44,34,28,.12);
  color: #8a8178;
}
.sp-empty i {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
  color: #c9b5a8;
}
.sp-empty strong {
  display: block;
  font-size: 15px;
  color: #2a241c;
  margin-bottom: 6px;
}
.sp-empty span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}
.sp-empty-btn {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #e86a4a;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

/* —— 服务人详情 —— */
.spd-page {
  min-height: 70vh;
  padding-bottom: 12px;
  background:
    radial-gradient(90% 40% at 50% -8%, rgba(232,106,74,.16), transparent 55%),
    linear-gradient(180deg, #faf5f1 0%, #f3ebe4 100%);
}
.spd-top {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 4px;
}
.spd-back,
.spd-top-spacer { width: 40px; height: 40px; }
.spd-back {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #2c221c;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(44,34,28,.07);
}
.spd-top-text { text-align: center; }
.spd-top-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1f1714;
}
.spd-top-text p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9a8f86;
}
.spd-hero {
  margin: 12px 18px 0;
  padding: 28px 20px 24px;
  text-align: center;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(232,106,74,.08);
  box-shadow: 0 14px 32px rgba(120,70,40,.08);
}
.spd-ava {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff0ea;
  color: #e86a4a;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-size: 36px;
  box-shadow: 0 10px 24px rgba(232,106,74,.2);
}
.spd-ava img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.spd-ava img + i { display: none; }
.spd-hero h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #1f1714;
}
.spd-badge {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff0ea;
  color: #d45a3a;
  font-size: 12px;
  font-weight: 700;
}
.spd-intro {
  margin: 14px auto 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.55;
  color: #6b645c;
}
.spd-sec {
  margin: 14px 18px 0;
  padding: 16px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(232,106,74,.06);
}
.spd-sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.spd-sec-hd h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1f1714;
}
.spd-sec-hd span {
  font-size: 12px;
  color: #9a8f86;
}
.spd-empty-svc {
  padding: 16px 8px;
  text-align: center;
  font-size: 12px;
  color: #9a8f86;
  line-height: 1.5;
}
.spd-svc-list { display: grid; gap: 8px; }
.spd-svc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: #faf6f2;
  text-decoration: none;
  color: inherit;
}
.spd-svc-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 42px;
  background: #fff;
  color: #e86a4a;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.spd-svc-ico img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.spd-svc-ico img + i { display: none; }
.spd-svc-body { flex: 1; min-width: 0; }
.spd-svc-body strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1f1714;
}
.spd-svc-body em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: #9a8f86;
}
.spd-svc-row b {
  color: #e86a4a;
  font-size: 14px;
  font-weight: 800;
}
.spd-actions {
  display: grid;
  gap: 10px;
  margin: 18px 18px 0;
}
.spd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
}
.spd-btn-main {
  background: linear-gradient(135deg, #f08a68, #e86a4a 55%, #de5538);
  color: #fff;
  box-shadow: 0 12px 24px rgba(232,106,74,.28);
}
.spd-btn-ghost {
  background: #fff;
  color: #e86a4a;
  border: 1.5px solid rgba(232,106,74,.35);
}
@media (max-width: 360px) {
  .h5-split-v2 { padding-left: 10px; padding-right: 10px; gap: 8px; }
  .vipc-pass.is-home-mini .vipc-pass-name { font-size: 11px; }
  .sp-grid, .spd-hero, .spd-sec, .spd-actions { margin-left: 14px; margin-right: 14px; }
  .sp-grid { padding-left: 14px; padding-right: 14px; margin: 0; }
}


.h5-pets-home {
  margin: 4px 14px 14px; padding: 14px 12px 12px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 8px 22px rgba(232,106,74,.08); border: 1px solid rgba(232,106,74,.08);
}
.h5-pets-home-row {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 2px;
  -webkit-overflow-scrolling: touch;
}
.h5-pets-home-card {
  flex: 0 0 88px; text-decoration: none; color: inherit; text-align: center;
}
.h5-pets-home-ava {
  width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%;
  background: linear-gradient(145deg, #fff0ea, #ffe4d8); color: var(--brand);
  display: grid; place-items: center; font-size: 22px; position: relative; overflow: hidden;
  box-shadow: 0 6px 14px rgba(232,106,74,.16);
}
.h5-pets-home-ava img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.h5-pets-home-ava img + i { display: none; }
.h5-pets-home-ava.is-add {
  background: #fff; border: 1.5px dashed rgba(232,106,74,.45); box-shadow: none; font-size: 18px;
}
.h5-pets-home-card strong {
  display: block; font-size: 13px; font-weight: 800; color: #1f1714;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.h5-pets-home-card em {
  display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px;
}

/* 我的宠物页 */
.pets-page { padding-bottom: 8px; }
.pets-head {
  padding: 14px 16px 10px; display: flex; align-items: flex-start; gap: 10px;
}
.pets-head .h5-back {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #3a2e29;
  display: grid; place-items: center; text-decoration: none; flex: 0 0 36px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06); margin-top: 2px;
}
.pets-head-main { flex: 1; min-width: 0; }
.pets-head-main h1 { margin: 0; font-size: 22px; font-weight: 800; color: #1f1714; }
.pets-head-main p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.pets-head-add {
  flex: 0 0 auto; margin-top: 4px; padding: 8px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700;
  box-shadow: 0 6px 14px rgba(232,106,74,.28);
}
.pets-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 14px 12px;
}
.pets-card {
  background: #fff; border-radius: 18px; padding: 14px 12px; text-decoration: none; color: inherit;
  box-shadow: 0 8px 20px rgba(232,106,74,.08); border: 1px solid rgba(232,106,74,.08);
  text-align: center; position: relative;
}
.pets-card.is-on { border-color: var(--brand); box-shadow: 0 10px 24px rgba(232,106,74,.16); }
.pets-card-ava {
  width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%;
  background: linear-gradient(145deg, #fff0ea, #ffe4d8); color: var(--brand);
  display: grid; place-items: center; font-size: 28px; position: relative; overflow: hidden;
}
.pets-card-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pets-card-ava img + i { display: none; }
.pets-card strong { display: block; font-size: 15px; font-weight: 800; }
.pets-card em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 4px; }
.pets-card-add {
  border-style: dashed; background: #fff8f4; color: var(--brand);
}
.pets-card-add .pets-card-ava { background: #fff; border: 1.5px dashed rgba(232,106,74,.4); font-size: 22px; }
.pets-empty {
  margin: 0 14px 14px; padding: 28px 16px; text-align: center; background: #fff; border-radius: 18px;
  box-shadow: 0 8px 20px rgba(232,106,74,.06);
}
.pets-empty i { font-size: 36px; color: var(--brand); opacity: .75; }
.pets-empty p { margin: 10px 0 16px; color: var(--muted); font-size: 13px; }
.pets-detail {
  margin: 0 14px 12px; padding: 16px; background: #fff; border-radius: 18px;
  box-shadow: 0 8px 20px rgba(232,106,74,.08);
}
.pets-detail-top { display: flex; gap: 14px; align-items: center; }
.pets-detail-ava {
  width: 76px; height: 76px; border-radius: 50%; flex: 0 0 76px;
  background: linear-gradient(145deg, #fff0ea, #ffe4d8); color: var(--brand);
  display: grid; place-items: center; font-size: 30px; position: relative; overflow: hidden;
  box-shadow: 0 8px 18px rgba(232,106,74,.18);
}
.pets-detail-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pets-detail-ava img + i { display: none; }
.pets-detail-meta { flex: 1; min-width: 0; }
.pets-detail-meta h2 { margin: 0; font-size: 20px; font-weight: 800; }
.pets-detail-meta p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.pets-detail-actions { display: flex; gap: 8px; margin-top: 14px; }
.pets-detail-actions .btn { flex: 1; border-radius: 999px; justify-content: center; min-height: 40px; font-weight: 700; }
.pets-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px;
}
.pets-fact {
  background: #fff8f4; border-radius: 12px; padding: 10px 8px; text-align: center;
}
.pets-fact strong { display: block; font-size: 13px; color: #1f1714; }
.pets-fact em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }
.pets-sec {
  margin: 0 14px 12px; padding: 14px; background: #fff; border-radius: 18px;
  box-shadow: 0 8px 20px rgba(232,106,74,.06);
}
.pets-sec .h5-sec-head { margin-bottom: 8px; }
.pets-sec .h5-sec-head a { color: var(--brand); font-size: 13px; font-weight: 700; text-decoration: none; }
.pets-tip {
  background: #fff8f4; border-radius: 12px; padding: 10px 12px; margin-top: 8px;
  font-size: 13px; line-height: 1.55; color: #3a2e29;
}
.pets-form {
  margin: 0 14px 12px; padding: 16px; background: #fff; border-radius: 18px;
  box-shadow: 0 8px 20px rgba(232,106,74,.08);
}
.pets-form .form-row { margin-bottom: 12px; }
.pets-form .form-row label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.pets-form .input, .pets-form select.input, .pets-form textarea.input {
  width: 100%; border: 1px solid #f0d8cc; border-radius: 12px; padding: 11px 12px;
  background: #fffaf7; font-size: 14px; color: #1f1714; box-sizing: border-box;
}
.pets-form textarea.input { min-height: 72px; resize: vertical; }
.pets-species {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.pets-species label {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 8px; border-radius: 14px; border: 1.5px solid #f0d8cc;
  background: #fff; cursor: pointer; font-size: 12px; color: #3a2e29; margin: 0 !important;
}
.pets-species label.is-on, .pets-species label:has(input:checked) {
  border-color: var(--brand); background: #fff0ea; color: var(--brand); font-weight: 700;
}
.pets-species input { display: none; }
.pets-species i { font-size: 20px; }
.pets-gender { display: flex; gap: 8px; }
.pets-gender label {
  flex: 1; text-align: center; padding: 10px 8px; border-radius: 999px;
  border: 1.5px solid #f0d8cc; background: #fff; font-size: 13px; margin: 0 !important; cursor: pointer;
}
.pets-gender label:has(input:checked), .pets-gender label.is-on {
  border-color: var(--brand); background: var(--brand); color: #fff; font-weight: 700;
}
.pets-gender input { display: none; }
.pets-form-actions { display: flex; gap: 10px; margin-top: 6px; }
.pets-form-actions .btn { flex: 1; border-radius: 999px; justify-content: center; min-height: 44px; font-weight: 700; }
.pets-cta { padding: 4px 14px 18px; }
.pets-cta .btn { border-radius: 999px; min-height: 46px; font-weight: 800; justify-content: center; }

.h5-split-person {
  display: flex; gap: 8px; align-items: center; text-decoration: none; color: inherit;
  margin-top: 8px;
}
.h5-split-person strong { display: block; font-size: 13px; }
.h5-split-person em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.h5-person-ava.sm { width: 36px; height: 36px; font-size: 14px; }
.h5-split-pkg {
  display: flex; justify-content: space-between; gap: 6px; align-items: center;
  text-decoration: none; color: inherit; font-size: 12px; margin-top: 8px;
  padding-bottom: 6px; border-bottom: 1px dashed #f0d8cc;
}
.h5-split-pkg:last-child { border-bottom: 0; }
.h5-split-pkg strong { color: var(--brand); white-space: nowrap; }

.h5-goods-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
}
.h5-goods-card {
  flex: 0 0 132px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  text-decoration: none; color: inherit; display: block;
}
.h5-goods-card img, .h5-goods-card .h5-svc-card-ico {
  width: 100%; height: 88px; object-fit: cover; border-radius: 10px; background: #fff0ea;
  display: grid; place-items: center; color: var(--brand); font-size: 24px;
}
.h5-goods-card strong { display: block; font-size: 13px; margin-top: 6px; }
.h5-goods-card > span { display: block; color: var(--brand); font-weight: 700; font-size: 14px; margin: 2px 0 6px; }
.h5-goods-ctas { display: flex; gap: 6px; font-size: 11px; }
.h5-goods-ctas a { color: var(--brand-dark); text-decoration: none; }

.h5-home-cta { padding: 8px 14px 20px; }
.h5-home-cta .btn { border-radius: 999px; padding: 14px; font-size: 16px; font-weight: 700; }

.h5-diy-mods { margin: 8px 0 4px; }
.h5-diy-mods .h5-diy-mod { display: block; color: inherit; text-decoration: none; background: #fff; margin: 8px 12px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.h5-diy-text { padding: 14px 16px; font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.h5-diy-image img { width: 100%; display: block; }
.h5-diy-btn { padding: 14px 16px; display: flex; justify-content: center; }
.h5-diy-btn span { min-width: 140px; text-align: center; padding: 10px 18px; border-radius: 999px; background: var(--diy-brand, var(--brand)); color: #fff; font-weight: 600; }
.h5-diy-icon { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.h5-diy-icon i { font-size: 32px; color: var(--diy-brand, var(--brand)); }
.h5-diy-icon em { font-style: normal; font-size: 13px; color: #7a6a62; }
.h5-diy-free { min-height: 140px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.h5-diy-free img { position: absolute; inset: 0; width: 100%; height: 100%; }
.h5-diy-free-copy { position: relative; z-index: 1; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); text-align: center; padding: 12px; }
.h5-diy-ph { padding: 18px; text-align: center; color: #909399; font-size: 13px; }

.h5-diy-side {
  position: fixed; right: 10px; bottom: 88px; z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
}
.h5-diy-side-btn {
  width: 52px; min-height: 52px; border: 1.5px solid rgba(232,106,74,.28); border-radius: 50%;
  background: #fff; color: var(--diy-brand, var(--brand, #e86a4a));
  box-shadow: 0 8px 20px rgba(44,34,28,.1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; padding: 6px 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.h5-diy-side-btn:active { transform: scale(.96); }
.h5-diy-side-btn i { font-size: 16px; line-height: 1; }
.h5-diy-side-nav {
  border-color: rgba(232,106,74,.38);
}
.h5-cs-sheet-hero {
  text-align: center; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--diy-brand, var(--brand)), #f08a4b);
  color: #fff; border-radius: 16px; padding: 16px 14px;
}
.h5-cs-sheet-hero h3 { margin: 0; font-size: 18px; color: #fff; }
.h5-cs-sheet-hero p { margin: 6px 0 0; opacity: .92; font-size: 13px; }
.h5-cs-qr-box {
  margin-top: 14px; padding: 16px; border-radius: 14px;
  background: #fafbfc; border: 1px solid #ebeef5; text-align: center;
}
.h5-cs-qr-box img {
  width: 180px; height: 180px; object-fit: contain;
  border-radius: 12px; background: #fff; border: 1px solid #e4e7ed;
}
.h5-cs-empty {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 8px; color: #909399;
}
.h5-cs-empty i { font-size: 32px; opacity: .5; }
.h5-cs-empty strong { color: #606266; font-size: 14px; }
.h5-cs-empty span { font-size: 12px; line-height: 1.5; }
.h5-cs-page { padding: 16px 14px 28px; }
.h5-cs-page-hd { text-align: center; margin-bottom: 14px; }
.h5-cs-page-hd h1 { margin: 0; font-size: 20px; }
.h5-cs-page-hd p { margin: 6px 0 0; color: #909399; font-size: 13px; }
.h5-cs-page-card {
  background: #fff; border-radius: 16px; padding: 20px 16px;
  border: 1px solid #ebeef5; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.h5-cs-page-card img {
  width: 200px; height: 200px; object-fit: contain;
  border-radius: 12px; border: 1px solid #e4e7ed; background: #fff;
}
.h5-cs-page-card > p { margin: 12px 0 0; color: #909399; font-size: 13px; }
.h5-diy-copyright {
  text-align: center; color: #c0c4cc; font-size: 11px; padding: 8px 12px 20px;
}
.h5-diy-splash {
  position: fixed; inset: 0; z-index: 200; background: #111;
  display: grid; place-items: center;
}
.h5-diy-splash.has-image { background: #000; }
.h5-diy-splash-media {
  position: absolute; inset: 0; display: block; color: inherit; text-decoration: none;
}
.h5-diy-splash-media img {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.h5-diy-splash-card {
  position: relative; z-index: 2;
  width: min(320px, 86%); background: #fff; border-radius: 16px; padding: 28px 20px;
  text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.h5-diy-splash-card strong { display: block; font-size: 20px; margin-bottom: 8px; }
.h5-diy-splash-card p { margin: 0 0 18px; color: #909399; }
.h5-diy-splash-skip {
  position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 3;
  border: 0; border-radius: 999px; padding: 6px 12px; font-size: 12px;
  background: rgba(0,0,0,.45); color: #fff; cursor: pointer;
}
.h5-diy-notice {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 13px; color: #606266;
}
.h5-diy-notice i { color: var(--diy-brand, var(--brand)); }
.h5-diy-carousel {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; scroll-snap-type: x mandatory;
}
.h5-diy-carousel .h5-diy-slide {
  flex: 0 0 78%; scroll-snap-align: center; border-radius: 10px; overflow: hidden; background: #f0f2f5; min-height: 120px;
}
.h5-diy-carousel img { width: 100%; display: block; object-fit: cover; min-height: 120px; }

.h5-diy-block { padding: 12px 14px 14px; background: #fff; }
.h5-diy-block-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.h5-diy-block-hd strong { font-size: 15px; color: #2c3e36; }
.h5-diy-block-hd a { font-size: 12px; color: var(--diy-brand, var(--brand)); text-decoration: none; }
.h5-diy-empty { padding: 18px 8px; text-align: center; font-size: 13px; color: #909399; }
.h5-diy-gcard, .h5-diy-ccard, .h5-diy-kcard {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; margin-bottom: 8px; border-radius: 12px;
  background: #fff8f5; border: 1px solid #fde6dc;
  text-decoration: none; color: inherit;
}
.h5-diy-gcard:last-child, .h5-diy-ccard:last-child, .h5-diy-kcard:last-child { margin-bottom: 0; }
.h5-diy-gcard { flex-direction: column; align-items: stretch; gap: 4px; }
.h5-diy-gcard-top { display: flex; justify-content: space-between; gap: 8px; }
.h5-diy-gcard-top strong { font-size: 14px; }
.h5-diy-gcard-top span { font-size: 12px; color: var(--diy-brand, var(--brand)); white-space: nowrap; }
.h5-diy-gcard em { font-style: normal; font-size: 12px; color: #909399; }
.h5-diy-gcard b { color: var(--diy-brand, var(--brand)); font-size: 16px; }
.h5-diy-coupon-banner { display: block; margin-bottom: 10px; border-radius: 10px; overflow: hidden; }
.h5-diy-coupon-banner img { width: 100%; display: block; max-height: 120px; object-fit: cover; }
.h5-diy-ccard { background: linear-gradient(90deg, #fff8f5, #fff); }
.h5-diy-ccard-face { flex: 1; min-width: 0; }
.h5-diy-ccard-face b {
  display: block; font-size: 18px; color: var(--diy-brand, var(--brand)); line-height: 1.2;
}
.h5-diy-ccard-face strong { display: block; margin-top: 4px; font-size: 13px; }
.h5-diy-ccard-face span { display: block; margin-top: 2px; font-size: 11px; color: #909399; }
.h5-diy-ccard > em {
  font-style: normal; flex-shrink: 0; padding: 6px 12px; border-radius: 999px;
  background: var(--diy-brand, var(--brand)); color: #fff; font-size: 12px;
}
.h5-diy-kcard-ico {
  width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: #fde6dc; display: grid; place-items: center; color: var(--diy-brand, var(--brand));
}
.h5-diy-kcard-ico {
  position: relative;
}
.h5-diy-kcard-ico img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.h5-diy-kcard-ico img + i { display: none; }
.h5-diy-kcard-body { flex: 1; min-width: 0; }
.h5-diy-kcard-body strong { display: block; font-size: 14px; }
.h5-diy-kcard-body em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: #909399; }
.h5-diy-kcard > b { color: var(--diy-brand, var(--brand)); font-size: 15px; white-space: nowrap; }
.h5-diy-nav-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 12px; background: #f7faf8; border: 1px solid #eef3f0;
}
.h5-diy-nav-ico {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(232,106,74,.12); color: var(--diy-brand, var(--brand));
}
.h5-diy-nav-body { flex: 1; min-width: 0; }
.h5-diy-nav-body strong { display: block; font-size: 15px; }
.h5-diy-nav-body em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #606266; line-height: 1.45; }
.h5-diy-nav-body span { display: block; margin-top: 6px; font-size: 12px; color: #909399; }
.h5-diy-nav-acts { display: flex; gap: 8px; margin-top: 12px; }
.h5-diy-nav-acts .btn { flex: 1; text-align: center; }
.h5-diy-grid2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.h5-diy-layout {
  display: grid;
  gap: 10px;
}
.h5-diy-layout.is-1 { grid-template-columns: 1fr; }
.h5-diy-layout.is-2 { grid-template-columns: 1fr 1fr; }
.h5-diy-layout.is-3 { grid-template-columns: repeat(3, 1fr); }
.h5-diy-layout.is-4 { grid-template-columns: repeat(4, 1fr); }
.h5-diy-layout.is-list { grid-template-columns: 1fr; gap: 8px; }
.h5-diy-layout.is-waterfall {
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: dense;
}
.h5-diy-layout.is-1 .h5-diy-g2-img { height: 160px; }
.h5-diy-layout.is-3 .h5-diy-g2-img,
.h5-diy-layout.is-4 .h5-diy-g2-img { height: 64px; }
.h5-diy-layout.is-3 .h5-diy-g2 strong,
.h5-diy-layout.is-4 .h5-diy-g2 strong {
  min-height: 0;
  font-size: 12px;
}
.h5-diy-layout.is-waterfall .h5-diy-g2.is-tall .h5-diy-g2-img { height: 128px; }
.h5-diy-g2 {
  display: block; text-decoration: none; color: inherit;
  background: #fff8f5; border: 1px solid #fde6dc; border-radius: 12px; padding: 8px;
}
.h5-diy-g2-img {
  height: 88px; border-radius: 10px; overflow: hidden; margin-bottom: 8px;
  position: relative;
  background: #fde6dc; display: grid; place-items: center; color: var(--diy-brand, var(--brand));
}
.h5-diy-g2-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.h5-diy-g2-img img + i { display: none; }
.h5-diy-g2 strong { display: block; font-size: 13px; line-height: 1.35; min-height: 34px; }
.h5-diy-g2 em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: #909399; }
.h5-diy-g2 b { display: block; margin-top: 4px; color: var(--diy-brand, var(--brand)); font-size: 15px; }
.h5-diy-cube {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.h5-diy-cube-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: #606266; font-size: 12px;
}
.h5-diy-cube-item span {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(232,106,74,.12); color: var(--diy-brand, var(--brand)); font-size: 16px;
}
.h5-diy-cube-item em { font-style: normal; text-align: center; line-height: 1.2; }

.h5-member-sheet-hero {
  text-align: center; margin-bottom: 12px;
  background: linear-gradient(145deg, #e86a4a 0%, #f08a4b 55%, #f2a06a 100%); color: #fff;
  margin: -8px -16px 14px; padding: 20px 16px 18px; border-radius: 18px 18px 0 0;
}
.h5-member-sheet-ico {
  width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 14px;
  display: grid; place-items: center; background: rgba(255,255,255,.2); font-size: 18px;
}
.h5-member-sheet-hero h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: .03em; }
.h5-member-sheet-hero p { margin: 6px 0 0; opacity: .92; font-size: 13px; }
.h5-member-panel {
  background: #fff; border-radius: 18px; padding: 18px 14px 14px;
  border: 1px solid #f0e6df; box-shadow: 0 8px 22px rgba(40,20,10,.05);
  margin-bottom: 12px;
}
.h5-member-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.h5-member-sheet-actions .btn { border-radius: 999px; justify-content: center; gap: 6px; }
.h5-member-close { margin-top: 10px; border-radius: 999px; }
.h5-member-remain { margin-top: 8px; font-size: 14px; text-align: center; }
.h5-member-remain b { color: var(--brand); font-size: 18px; }
.h5-member-qr-loading {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #8a7468; font-size: 13px; padding: 28px 12px;
}
.h5-member-qr-loading i { font-size: 22px; color: var(--brand); }
.h5-member-payload {
  margin-top: 12px; font-size: 11px; color: var(--muted); word-break: break-all;
  letter-spacing: .03em; max-width: 280px; margin-left: auto; margin-right: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.h5-member-qr-box img { max-width: 220px; width: 100%; height: auto; border-radius: 12px; }

.h5-appoint-steps {
  display: flex; gap: 0; padding: 12px 14px 4px; align-items: center; justify-content: center;
}
.h5-appoint-step {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9a7d72;
}
.h5-appoint-step i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: #ead9d0; color: #fff; font-size: 11px; font-style: normal; font-weight: 700;
}
.h5-appoint-step.is-on { color: var(--brand-dark); font-weight: 700; }
.h5-appoint-step.is-on i { background: var(--brand); }
.h5-appoint-step-line { width: 28px; height: 2px; background: #ead9d0; margin: 0 6px; }
.h5-appoint-cta {
  position: sticky; bottom: calc(78px + env(safe-area-inset-bottom));
  padding: 10px 14px; background: linear-gradient(transparent, #faf6f3 40%);
}
.h5-appoint-cta .btn { width: 100%; border-radius: 999px; padding: 14px; font-size: 16px; font-weight: 700; }

.h5-orders-tabs {
  display: flex; gap: 4px; padding: 8px 12px; overflow-x: auto; background: #fff;
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5;
}
.h5-orders-tabs a {
  flex: 0 0 auto; padding: 10px 14px; text-decoration: none; color: var(--muted);
  font-size: 14px; position: relative; font-weight: 600;
}
.h5-orders-tabs a.is-on { color: var(--brand); }
.h5-orders-tabs a.is-on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--brand);
}
.h5-order-card-v2 {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border-radius: 16px; padding: 12px; margin: 10px 12px;
  border: 1px solid var(--line); text-decoration: none; color: inherit;
}
.h5-order-thumb {
  width: 56px; height: 56px; border-radius: 14px; background: #fff0ea; color: var(--brand);
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.h5-order-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.h5-order-thumb img + i { display: none; }
.h5-order-body { flex: 1; min-width: 0; }
.h5-order-body strong { display: block; font-size: 15px; }
.h5-order-body em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }
.h5-order-side { text-align: right; flex-shrink: 0; }
.h5-order-side .st { display: block; font-size: 12px; color: var(--brand); font-weight: 700; }
.h5-order-side .pr { display: block; margin-top: 6px; font-weight: 800; color: var(--ink); }
.h5-order-code { color: var(--brand) !important; font-weight: 600; letter-spacing: .04em; }
.h5-order-qr-tip { font-size: 12px !important; font-weight: 600 !important; color: var(--brand) !important; }

/* H5 auth ? hero art + floating sheet (app-style) */
html:has(body.h5-is-auth),
html:has(.h5-auth-v2),
body.h5-app.h5-is-auth,
body.h5-app:has(.h5-auth-v2) {
  --auth-canvas: #f4f1ed;
  --auth-ink: #1a1512;
  --auth-muted: #7a6e66;
  --auth-sheet: #ffffff;
  background-color: var(--auth-canvas) !important;
  background-image: none !important;
}
body.h5-app.h5-is-auth .h5-body,
body.h5-app:has(.h5-auth-v2) .h5-body {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
}
body.h5-app.h5-is-auth.has-h5-tab,
body.h5-app:has(.h5-auth-v2).has-h5-tab {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}
body.h5-app.h5-is-auth .h5-dock-glass,
body.h5-app:has(.h5-auth-v2) .h5-dock-glass {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(26, 21, 18, 0.06);
  box-shadow: 0 12px 32px rgba(26, 21, 18, 0.1);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
body.h5-app.h5-is-auth .h5-flash,
body.h5-app.h5-is-auth .alert,
body.h5-app:has(.h5-auth-v2) .h5-flash,
body.h5-app:has(.h5-auth-v2) .alert {
  margin: 12px 16px 0;
  border-radius: 14px;
  position: relative;
  z-index: 5;
}
.h5-auth-page { padding: 0; }
.h5-auth-v2 {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 88px);
  min-height: calc(100dvh - 88px);
  padding: 0 0 28px;
  overflow: hidden;
  background: var(--auth-canvas);
}
.h5-auth-v2::before,
.h5-auth-v2::after { display: none !important; }

.h5-auth-hero-panel {
  position: relative;
  padding: 10px 20px 88px;
  color: #fff;
  overflow: hidden;
  min-height: 268px;
}
.h5-auth-hero-panel.is-register { min-height: 248px; padding-bottom: 80px; }
.h5-auth-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, #e86a4a 0%, #f08a4b 42%, #f5a07a 100%);
  overflow: hidden;
}
.h5-auth-hero-bg picture,
.h5-auth-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.h5-auth-hero-bg img {
  object-fit: cover;
  object-position: 72% center;
}
/* ????????????????????????????? */
.h5-auth-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(196, 83, 47, .38) 0%, rgba(232, 106, 74, .12) 38%, transparent 58%),
    linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, transparent 28%, transparent 62%, rgba(247, 248, 250, .55) 100%);
  pointer-events: none;
}
.h5-auth-hero-copy,
.h5-auth-v2-back {
  position: relative;
  z-index: 1;
}
.h5-auth-v2-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 18px;
  padding: 6px 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--auth-muted);
  text-decoration: none;
  transition: color .2s, transform .2s, opacity .2s;
}
.h5-auth-v2-back.is-light {
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 8px rgba(120, 40, 18, .25);
}
.h5-auth-v2-back i { font-size: 12px; opacity: .85; }
.h5-auth-v2-back:hover,
.h5-auth-v2-back:active {
  color: #fff;
  transform: translateX(-2px);
}
.h5-auth-hero-copy {
  max-width: 58%;
  padding-bottom: 8px;
}
.h5-auth-v2-store {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
  text-shadow: 0 1px 10px rgba(120, 40, 18, .28);
}
.h5-auth-hero-copy h1,
.h5-auth-v2-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 8.5vw, 38px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 8px 24px rgba(120, 40, 18, .28);
}
.h5-auth-v2-sub {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  max-width: 15em;
  text-shadow: 0 2px 12px rgba(120, 40, 18, .22);
}
.h5-auth-hero-art { display: none !important; }

.h5-auth-sheet {
  position: relative;
  z-index: 2;
  margin: -56px 14px 0;
  padding: 22px 18px 18px;
  background: var(--auth-sheet);
  border-radius: 24px 24px 18px 18px;
  border: 1px solid rgba(26, 21, 18, .04);
  box-shadow:
    0 18px 40px rgba(26, 21, 18, .10),
    0 2px 0 rgba(255,255,255,.8) inset;
}
.h5-auth-v2-store-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #8a4a2e;
  background: #fff4ee;
  border: 1px solid rgba(232, 106, 74, .16);
}
.h5-auth-v2-store-chip i { font-size: 11px; color: var(--brand); }
.h5-auth-v2-tip {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  color: var(--auth-muted);
}
.h5-auth-v2-tip a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.h5-auth-hint {
  font-weight: 500;
  font-size: 12px;
  color: #a39288;
}
.h5-auth-v2-form .form-row { margin-bottom: 14px; }
.h5-auth-v2-form .form-row label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--auth-ink);
}
.h5-auth-v2-form .input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid #ebe4de;
  background: #faf8f6;
  box-shadow: none;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--auth-ink);
  transition: border-color .2s, box-shadow .2s, background .2s, transform .2s;
}
.h5-auth-v2-form .input::placeholder { color: #b5a79e; }
.h5-auth-v2-form .input:hover {
  background: #fff;
  border-color: #dfd4cb;
}
.h5-auth-v2-form .input:focus {
  background: #fff;
  border-color: rgba(232, 106, 74, .55);
  box-shadow: 0 0 0 4px rgba(232, 106, 74, .12);
  outline: none;
  transform: translateY(-1px);
}
.h5-auth-v2-form .captcha-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.h5-auth-v2-form .captcha-row .input { flex: 1; min-width: 0; }
.h5-auth-v2-form .captcha-img {
  width: 118px;
  height: auto;
  min-height: 46px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #ebe4de;
  background: #faf8f6;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.h5-auth-v2-form .captcha-img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(26, 21, 18, .08);
}
.h5-auth-v2-submit {
  margin-top: 8px;
  border-radius: 999px !important;
  padding: 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .03em;
  box-shadow: 0 12px 28px rgba(232, 106, 74, .28) !important;
  transition: transform .2s, box-shadow .2s, filter .2s !important;
}
.h5-auth-v2-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(232, 106, 74, .34) !important;
  filter: brightness(1.03);
}
.h5-auth-v2-submit:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(232, 106, 74, .24) !important;
}
.h5-auth-v2-switch {
  margin: 18px 0 4px;
  text-align: center;
  font-size: 14px;
  color: var(--auth-muted);
}
.h5-auth-v2-switch a {
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  margin-left: 2px;
}
.h5-auth-v2-switch a:hover { color: var(--brand-dark); }

.h5-auth-v2 .anim {
  animation: auth-rise .55s cubic-bezier(.22,.8,.28,1) both;
}
.h5-auth-v2 .anim.d1 { animation-delay: .06s; }
.h5-auth-v2 .anim.d2 { animation-delay: .12s; }
.h5-auth-v2 .anim.d3 { animation-delay: .18s; }
@keyframes auth-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 360px) {
  .h5-auth-hero-copy { max-width: 56%; }
  .h5-auth-hero-panel { min-height: 240px; padding-bottom: 80px; }
  .h5-auth-hero-copy h1 { font-size: 28px; }
  .h5-auth-hero-bg img { object-position: 78% center; }
}
@media (prefers-reduced-motion: reduce) {
  .h5-auth-v2 .anim { animation: none; }
  .h5-auth-v2-form .input:focus,
  .h5-auth-v2-submit:hover,
  .h5-auth-v2-submit:active { transform: none; }
}

/* legacy stubs (old sheet markup) */
.h5-auth-v2-bg,
.h5-auth-hero,
.h5-auth-sheet .h5-auth-hero { display: none !important; }
.h5-auth-card { margin: 0; padding: 0; background: transparent; box-shadow: none; border: 0; }
.h5-auth-submit { border-radius: 999px; padding: 14px; font-size: 16px; font-weight: 700; }
.h5-auth-foot { margin: 16px 0 0; text-align: center; font-size: 14px; }
.h5-auth-back {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px; font-size: 13px; color: var(--muted); text-decoration: none;
}

/* Page heroes / cards / order QR */
.h5-page-hero {
  margin: 0 12px 12px; padding: 18px 16px; border-radius: 20px; color: #fff;
  background: linear-gradient(145deg, #c4532f, #e86a4a 55%, #f0a06a);
  box-shadow: 0 10px 24px rgba(232,106,74,.18);
}
.h5-page-hero h1 { margin: 0; font-size: 22px; font-weight: 800; }
.h5-page-hero p { margin: 6px 0 0; font-size: 13px; opacity: .9; }
.h5-page-hero--cards { background: linear-gradient(145deg, #b84a2e, #e86a4a 60%, #f5b27a); }
.h5-cards-cta { padding: 4px 12px 8px; }
.h5-card-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.h5-card-row:last-child { border-bottom: 0; }
.h5-card-row.is-off { opacity: .55; }
.h5-card-row-main { flex: 1; min-width: 0; position: relative; }
.h5-card-row-main strong { display: block; font-size: 15px; }
.h5-card-row-main em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--muted); }
.h5-card-row-main .badge { position: absolute; right: 0; top: 0; }
.h5-card-qr {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.h5-card-qr img { width: 100%; height: 100%; display: block; }
.h5-empty.soft {
  padding: 28px 12px; text-align: center; color: var(--muted);
}
.h5-empty.soft i { display: block; font-size: 28px; color: var(--brand); margin-bottom: 8px; opacity: .7; }

.h5-order-detail .h5-qr-card--hero { text-align: center; margin: 0 12px 14px; padding: 22px 16px 20px; }
.h5-qr-status {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 700;
}
.h5-qr-card--hero h2 { margin: 12px 0 4px; font-size: 20px; font-weight: 800; }
.h5-qr-time { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.h5-qr-frame {
  display: inline-grid; place-items: center; padding: 12px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(40,28,22,.06);
}
.h5-qr-img { display: block; border-radius: 8px; }
.h5-qr-code {
  margin-top: 16px; letter-spacing: .14em; font-size: 24px; font-weight: 800; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.h5-qr-hint { font-size: 12px; margin: 10px 0 0; }
.h5-qr-payload {
  margin: 8px auto 0; max-width: 280px; font-size: 11px; word-break: break-all; opacity: .55;
}
.h5-order-detail-actions { padding: 0 12px 20px; }
.h5-order-detail-actions .btn { border-radius: 999px; padding: 14px; margin-top: 8px; }
.h5-order-detail-actions .btn:first-child { margin-top: 0; }

.h5-member-payload {
  margin-top: 12px; font-size: 11px; color: var(--muted); word-break: break-all;
  letter-spacing: .02em; max-width: 260px; margin-left: auto; margin-right: auto;
}
.h5-member-qr-box img { max-width: 240px; width: 100%; height: auto; border-radius: 12px; }

/* ??????? */
.h5-mine .mc-hero { padding-top: 22px; }
.h5-mine .mc-vip-card:active .mc-vip-qr { transform: scale(.96); }

/* ???? */
.uops-seg-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0}
.uops-seg{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;border:1px solid var(--line,#e5e7eb);background:#fff;color:var(--text,#334155);text-decoration:none;font-size:13px;line-height:1.2}
.uops-seg:hover{border-color:var(--brand,#E86A4A);color:var(--brand,#E86A4A)}
.uops-seg.is-on{background:var(--brand,#E86A4A);border-color:var(--brand,#E86A4A);color:#fff}
.uops-mark{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;line-height:1.4;margin:2px 4px 2px 0;background:#f1f5f9;color:#475569}
.uops-mark.tone-danger{background:#fde8e8;color:#b91c1c}
.uops-mark.tone-amber{background:#fff4e0;color:#b45309}
.uops-mark.tone-teal{background:#e6f7f3;color:#0f766e}
.uops-mark.tone-coral{background:#fdece7;color:#c45c4a}
.uops-mark.tone-violet{background:#f1e9ff;color:#7c3aed}
.uops-mark.tone-green{background:#ecfdf5;color:#047857}
.uops-mark.tone-blue{background:#e8f1fe;color:#2563eb}
.uops-mark.tone-gold{background:#fff7db;color:#a16207}
.uops-user-cell strong{display:block}
.uops-meta{font-size:12px;color:var(--muted,#64748b)}
.uops-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.uops-ban-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;border-radius:10px;margin:0 0 14px;background:#fde8e8;color:#991b1b;border:1px solid #fecaca}


/* ===== H5 ????? ? 2026 ????? ===== */
.shop-page { padding-bottom: 8px; background: #f6f3f0; min-height: 70vh; }
.shop-hero {
  margin: 0 0 12px; padding: 22px 18px 20px;
  background: linear-gradient(145deg, #e86a4a 0%, #f08a4b 52%, #ffb088 100%);
  color: #fff; border-radius: 0 0 22px 22px;
}
.shop-hero-mall { background: linear-gradient(145deg, #e86a4a, #ef7d55 48%, #f6a57a); }
.shop-hero-group { background: linear-gradient(145deg, #c45c4a, #e86a4a 55%, #f0a07a); }
.shop-hero-dist { background: linear-gradient(145deg, #d97706, #e86a4a 60%, #f59e0b); }
.shop-hero-points { background: linear-gradient(145deg, #ea580c, #e86a4a 50%, #fb923c); }
.shop-hero-wallet { background: linear-gradient(145deg, #b45309, #e86a4a 55%, #f59e0b); }
.shop-hero-ticket { background: linear-gradient(145deg, #dc2626, #e86a4a 50%, #fb7185); }
.shop-eyebrow { margin: 0; font-size: 12px; opacity: .88; font-weight: 700; letter-spacing: .08em; }
.shop-hero-inner h1 { margin: 8px 0 6px; font-size: 26px; font-weight: 800; line-height: 1.15; }
.shop-hero-inner > p { margin: 0; font-size: 13px; opacity: .92; line-height: 1.5; }
.shop-balance-chip {
  margin-top: 14px; display: inline-flex; align-items: baseline; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.shop-balance-chip span { font-size: 12px; opacity: .9; }
.shop-balance-chip strong { font-size: 22px; font-weight: 800; }
.shop-section { padding: 0 12px 4px; }
.shop-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 2px 10px;
}
.shop-section-head h2 { margin: 0; font-size: 16px; font-weight: 800; color: #2a241c; }
.shop-section-head span, .shop-section-head a { font-size: 12px; color: #9a9184; text-decoration: none; }
.shop-card {
  background: #fff; border-radius: 16px; padding: 16px;
  border: 1px solid #ebe5db; margin-bottom: 10px;
}
.shop-empty, .shop-empty-sm {
  text-align: center; color: #8a837a; padding: 22px 12px;
}
.shop-empty i { display: block; font-size: 28px; color: #e86a4a; margin-bottom: 10px; }
.shop-empty strong, .shop-empty-sm strong { display: block; color: #2a241c; margin-bottom: 4px; }
.shop-empty span { font-size: 13px; line-height: 1.5; }
.shop-empty-sm { padding: 18px 12px; background: #fff; border-radius: 16px; border: 1px solid #ebe5db; margin-bottom: 10px; }
.shop-goods-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px;
}
.shop-goods-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #ebe5db; display: flex; flex-direction: column;
}
.shop-goods-cover {
  height: 88px; display: grid; place-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff0ea, #ffe4d6); color: #e86a4a; font-size: 28px;
}
.shop-goods-body { padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.shop-goods-body strong { font-size: 14px; line-height: 1.3; }
.shop-goods-body em { font-style: normal; font-size: 11px; color: #9a9184; min-height: 1.3em; }
.shop-goods-detail {
  margin: 2px 0 0; font-size: 11px; color: #8a8178; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-goods-meta { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 8px; }
.shop-goods-meta b { color: #e86a4a; font-size: 14px; }
.shop-goods-meta span { font-size: 11px; color: #9a9184; }
.shop-list-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: #fff; border: 1px solid #ebe5db; border-radius: 14px;
  padding: 12px 14px; margin-bottom: 8px;
}
.shop-list-row strong { display: block; font-size: 14px; }
.shop-list-row span { display: block; margin-top: 3px; font-size: 12px; color: #9a9184; }
.shop-list-row b { font-size: 15px; color: #2a241c; flex-shrink: 0; }
.shop-list-row b.is-up { color: #059669; }
.shop-list-row b.is-down { color: #dc2626; }
.shop-group-card {
  background: #fff; border: 1px solid #ebe5db; border-radius: 16px;
  padding: 14px; margin-bottom: 10px;
}
.shop-group-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.shop-group-top strong { font-size: 15px; }
.shop-group-top span { font-size: 12px; color: #e86a4a; font-weight: 700; }
.shop-group-price { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: #2a241c; }
.shop-group-reward { margin: 4px 0 0; font-size: 12px; color: #9a9184; }
.shop-progress {
  margin: 12px 0; height: 6px; border-radius: 99px; background: #f0e9e2; overflow: hidden;
}
.shop-progress i { display: block; height: 100%; background: linear-gradient(90deg, #e86a4a, #f0a07a); border-radius: 99px; font-style: normal; }
.shop-group-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shop-group-foot em { font-style: normal; font-size: 12px; color: #9a9184; }
.shop-pill {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: #ecfdf5; color: #059669; font-size: 12px; font-weight: 700;
}
.shop-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 10px; }
.shop-stat {
  background: #fff; border-radius: 16px; padding: 14px; border: 1px solid #ebe5db;
}
.shop-stat span { display: block; font-size: 12px; color: #9a9184; }
.shop-stat strong { display: block; margin-top: 6px; font-size: 22px; color: #e86a4a; }
.shop-invite-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-end; margin-bottom: 12px;
}
.shop-invite-row span { display: block; font-size: 12px; color: #9a9184; }
.shop-invite-row strong { font-size: 20px; letter-spacing: .06em; }
.shop-invite-row em { font-style: normal; font-size: 12px; color: #9a9184; }
.shop-withdraw-form { display: flex; gap: 8px; }
.shop-withdraw-form .input { flex: 1; }
.shop-coupon {
  display: flex; align-items: stretch; gap: 0; margin-bottom: 10px;
  background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #ebe5db;
}
.shop-coupon-face {
  flex: 1; padding: 14px 14px 14px 16px; border-left: 4px solid #e86a4a;
}
.shop-coupon-face strong { display: block; font-size: 15px; }
.shop-coupon-face em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #e86a4a; font-weight: 700; }
.shop-coupon-face span { display: block; margin-top: 6px; font-size: 11px; color: #9a9184; }
.shop-coupon-act, .shop-coupon-badge {
  display: flex; align-items: center; justify-content: center;
  min-width: 78px; padding: 10px; background: #fff7f2; border-left: 1px dashed #f0d2c2;
}
.shop-coupon-badge { font-size: 12px; font-weight: 700; color: #9a9184; }
.shop-coupon.is-used { opacity: .55; }
.shop-coupon.is-used .shop-coupon-face { border-left-color: #c4b8ae; }
.shop-footer-links {
  display: flex; justify-content: center; gap: 18px; padding: 16px 12px 8px;
}
.shop-footer-links a { font-size: 13px; color: #e86a4a; text-decoration: none; font-weight: 600; }
.shop-hero-orders { background: linear-gradient(145deg, #c2410c, #e86a4a 55%, #fb923c); }
.shop-hero-cards { background: linear-gradient(145deg, #b45309, #e86a4a 50%, #f59e0b); }

/* —— H5 会员卡金属面（金/银/黑/灰/玫瑰金） —— */
.h5-body:has(.vipc-page) {
  background: #f3eee9;
}
.vipc-page {
  min-height: 70vh;
  padding-bottom: 8px;
  background:
    radial-gradient(90% 40% at 50% -6%, rgba(212,175,55,.12), transparent 55%),
    linear-gradient(180deg, #f7f2ec 0%, #efe8e1 100%);
}
.vipc-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 8px;
  padding: 26px 22px 28px;
  color: #f5efe6;
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(212,175,55,.28), transparent 50%),
    linear-gradient(145deg, #1a1816 0%, #2c2620 48%, #3d342c 100%);
}
.vipc-hero-deco {
  position: absolute;
  right: -30px; top: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35), transparent 68%);
  pointer-events: none;
}
.vipc-hero-inner { position: relative; z-index: 1; }
.vipc-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #d4af37;
  opacity: .95;
}
.vipc-hero h1 {
  margin: 10px 0 8px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .02em;
  color: #fff;
}
.vipc-hero h1 small {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 4px;
  color: rgba(255,255,255,.78);
}
.vipc-hero-inner > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245,239,230,.72);
}
.vipc-section {
  padding: 8px 20px 4px;
}
.vipc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 2px 12px;
}
.vipc-section-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1f1714;
  letter-spacing: .04em;
}
.vipc-section-head span {
  font-size: 12px;
  color: #9a8f86;
  font-weight: 600;
}
.vipc-section-tip {
  margin: -4px 2px 12px;
  font-size: 12px;
  color: #9a8f86;
  line-height: 1.45;
}
.vipc-empty {
  text-align: center;
  padding: 28px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px dashed rgba(44,34,28,.14);
  color: #8a8178;
}
.vipc-empty i {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
  color: #c9b5a8;
}
.vipc-empty strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #2a241c;
  margin-bottom: 6px;
}
.vipc-empty span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
}
.vipc-stack {
  display: grid;
  gap: 14px;
}
.vipc-pass {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  padding: 20px 20px 18px;
  min-height: 148px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 14px 32px rgba(40,30,20,.14),
    inset 0 1px 0 rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.18);
  isolation: isolate;
}
.vipc-pass.is-link { cursor: pointer; }
.vipc-pass.is-off { opacity: .55; filter: grayscale(.35); }
.vipc-pass-shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 62%),
    radial-gradient(80% 60% at 0% 0%, rgba(255,255,255,.22), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.vipc-pass-top,
.vipc-pass-name,
.vipc-pass-meta,
.vipc-pass-foot,
.vipc-pass-qr {
  position: relative;
  z-index: 1;
}
.vipc-pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.vipc-pass-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  opacity: .78;
}
.vipc-pass-chip {
  width: 34px;
  height: 26px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.15) 40%, rgba(0,0,0,.12)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 2px, transparent 2px 4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.12);
}
.vipc-pass-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .02em;
  word-break: break-word;
}
.vipc-pass-meta {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: .82;
}
.vipc-pass-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
  opacity: .78;
}
.vipc-pass-status,
.vipc-pass-cta {
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  opacity: 1;
}
.vipc-pass-cta i {
  font-size: 10px;
  margin-left: 2px;
}
.vipc-pass-qr {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  flex: 0 0 auto;
}
.vipc-detail-wrap {
  padding: 18px 20px 0;
}
.vipc-pass.is-detail {
  margin: 0;
  min-height: 160px;
}
.item-detail-page.is-card-detail .item-detail-head {
  margin-top: 4px;
}
.vipc-pass-qr em { font-style: normal; }
.vipc-pass.is-gold .vipc-pass-qr,
.vipc-pass.is-silver .vipc-pass-qr,
.vipc-pass.is-rose .vipc-pass-qr {
  background: rgba(40,28,12,.42);
}
.vipc-pass.is-link .vipc-pass-foot { margin-top: 22px; }

/* skins */
.vipc-pass.is-gold {
  background: linear-gradient(145deg, #f8e7b0 0%, #e0c068 28%, #c9a227 52%, #f0d78a 78%, #a67c1a 100%);
  color: #3a2a0a;
  border-color: rgba(255,236,180,.45);
}
.vipc-pass.is-silver {
  background: linear-gradient(145deg, #f7f8fa 0%, #d5d9e0 32%, #b8bec8 55%, #e8ebf0 78%, #8e96a3 100%);
  color: #1f2430;
  border-color: rgba(255,255,255,.55);
}
.vipc-pass.is-black {
  background: linear-gradient(150deg, #3a3a40 0%, #141416 42%, #2a2a2e 68%, #0c0c0e 100%);
  color: #f3e8d4;
  border-color: rgba(212,175,55,.28);
  box-shadow: 0 16px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(212,175,55,.22);
}
.vipc-pass.is-black .vipc-pass-brand { color: #d4af37; opacity: 1; }
.vipc-pass.is-gray {
  background: linear-gradient(145deg, #8b919a 0%, #5c636e 40%, #747b86 65%, #3f4550 100%);
  color: #f4f5f7;
  border-color: rgba(255,255,255,.2);
}
.vipc-pass.is-rose {
  background: linear-gradient(145deg, #f4ddd2 0%, #d4a994 35%, #c08a74 58%, #e8c8b8 82%, #a8705c 100%);
  color: #3a2218;
  border-color: rgba(255,230,220,.45);
}


.vipc-pass.is-compact {
  min-height: 128px;
  padding: 16px 16px 14px;
  border-radius: 18px;
}
.vipc-pass.is-compact .vipc-pass-name { font-size: 17px; }
.vipc-pass.is-compact .vipc-pass-top { margin-bottom: 12px; }
.vipc-pass.is-compact .vipc-pass-foot { margin-top: 14px; }
.vipc-stack-diy { gap: 12px; }
.h5-diy-cards .vipc-stack { margin-top: 4px; }

.vipc-actions {
  display: grid;
  gap: 10px;
  margin: 18px 20px 0;
}
.vipc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  box-sizing: border-box;
}
.vipc-btn-main {
  background: linear-gradient(135deg, #2a241c, #1a1612);
  color: #f0d78a;
  box-shadow: 0 12px 24px rgba(26,22,18,.22);
}
.vipc-btn-ghost {
  background: #fff;
  color: #2a241c;
  border: 1.5px solid rgba(42,36,28,.16);
}

.vipc-sheet { text-align: center; }
.vipc-sheet h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: #1f1714;
}
.vipc-sheet-qr {
  width: 200px;
  height: 200px;
  margin: 16px auto 0;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #efe4db;
  display: grid;
  place-items: center;
}
.vipc-sheet-qr img {
  width: 176px;
  height: 176px;
  display: block;
  object-fit: contain;
}
.vipc-sheet-code {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .22em;
  text-indent: .22em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #1f1714;
}
.vipc-sheet p {
  margin: 10px 0 0;
  font-size: 12px;
  color: #9a8f86;
}
.vipc-sheet-close {
  width: 100%;
  margin-top: 16px;
  min-height: 44px;
  border: 1.5px solid rgba(232,106,74,.35);
  border-radius: 999px;
  background: #fff;
  color: #e86a4a;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
@media (max-width: 360px) {
  .vipc-section,
  .vipc-actions { padding-left: 14px; padding-right: 14px; }
  .vipc-actions { margin-left: 14px; margin-right: 14px; padding: 0; }
  .vipc-pass { padding: 18px 16px 16px; }
  .vipc-pass-name { font-size: 18px; }
  .vipc-hero { padding: 22px 16px 24px; }
}



.item-detail-page {
  padding-bottom: 8px;
  background:
    radial-gradient(120% 60% at 50% -10%, #ffe8dc 0%, transparent 55%),
    #f6f1ec;
}
.item-detail-hero {
  position: relative;
}
.item-detail-cover {
  margin: 0;
  background: #1c1410;
  overflow: hidden;
  position: relative;
}
.item-detail-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 340px;
  object-fit: cover;
}
.item-detail-cover-empty {
  height: 240px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff0ea, #ffe4d6 55%, #ffd8c4);
  color: #e86a4a;
  font-size: 46px;
}
.item-detail-cover-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, rgba(246, 241, 236, .92));
  pointer-events: none;
}
.item-detail-head {
  margin: -36px 14px 0;
  padding: 18px 16px 16px;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(235, 229, 219, .9);
  box-shadow: 0 14px 34px rgba(42, 33, 28, .08);
}
.item-detail-head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.item-detail-kind {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0ea, #ffe4d8);
  color: #d45533;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.item-detail-meta {
  font-size: 12px;
  color: #9a9184;
  font-weight: 600;
}
.item-detail-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: #2a211c;
  letter-spacing: .01em;
}
.item-detail-lead {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #7a7166;
}
.item-detail-price-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #efe7de;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.item-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: #e86a4a;
  letter-spacing: -.02em;
  line-height: 1;
}
.item-detail-price small {
  font-size: 15px;
  font-weight: 700;
  margin-right: 2px;
}
.item-detail-price em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  margin-left: 4px;
  color: #c45a3d;
}
.item-detail-price-hint {
  font-size: 12px;
  color: #a3988c;
  font-weight: 600;
}
.item-detail-off {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  font-size: 11px;
  font-weight: 700;
}
.item-detail-sec {
  margin-top: 18px;
}
.item-detail-sec-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px 10px;
}
.item-detail-sec-hd h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #2a211c;
}
.item-detail-sec-hd span {
  font-size: 12px;
  color: #a3988c;
  font-weight: 600;
}
.item-detail-specs {
  display: grid;
  gap: 10px;
  padding: 0 14px;
}
.item-detail-spec {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #ebe5db;
  border-radius: 16px;
  padding: 14px 15px;
  box-shadow: 0 6px 16px rgba(42, 33, 28, .03);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.item-detail-spec.is-first,
.item-detail-spec.is-on {
  border-color: #f0c4b4;
  background: linear-gradient(180deg, #fffaf7, #fff);
  box-shadow: 0 10px 22px rgba(232, 106, 74, .08);
}
button.item-detail-spec {
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
}
.item-detail-spec-main { flex: 1; min-width: 0; }
.item-detail-spec strong {
  display: block;
  font-size: 14px;
  color: #2a211c;
  font-weight: 800;
  line-height: 1.4;
  word-break: break-word;
}
.item-detail-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.item-detail-spec em {
  font-style: normal;
  font-size: 11px;
  color: #8a8176;
  background: #f7f1ed;
  border-radius: 999px;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.item-detail-spec em i { font-size: 10px; opacity: .8; }
.item-detail-spec-price {
  flex: 0 0 auto;
  font-weight: 800;
  color: #e86a4a;
  font-size: 16px;
  letter-spacing: -.01em;
}
.item-detail-body {
  margin: 0 14px;
  padding: 4px 4px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #ebe5db;
  box-shadow: 0 8px 22px rgba(42, 33, 28, .04);
  overflow: hidden;
}
.item-detail-html {
  font-size: 14px;
  color: #3d342c;
  line-height: 1.8;
  word-break: break-word;
  padding: 14px 14px 4px;
}
.item-detail-html > *:first-child { margin-top: 0; }
.item-detail-html > *:last-child { margin-bottom: 0; }
.item-detail-html p { margin: 0 0 12px; }
.item-detail-html img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 2px 0 14px;
}
.item-detail-html ul,
.item-detail-html ol { margin: 0 0 12px; padding-left: 1.2em; }
.item-detail-html li { margin: 5px 0; }
.item-detail-html h2,
.item-detail-html h3,
.item-detail-html h4 {
  margin: 14px 0 8px;
  font-size: 15px;
  color: #2a211c;
}
.item-detail-empty {
  margin: 0 14px;
  padding: 28px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed #e5ddd3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #a3988c;
  font-size: 13px;
  font-weight: 600;
}
.item-detail-empty i { font-size: 22px; color: #d4c6b8; }
.item-detail-cta {
  position: sticky;
  bottom: 64px;
  z-index: 20;
  display: flex;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(246, 241, 236, .96) 26%);
}
.item-detail-cta-back,
.item-detail-cta-call {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #ebe5db;
  color: #5a5348;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(42, 33, 28, .06);
}
.item-detail-cta-call { color: #e86a4a; }
.item-detail-cta-main {
  flex: 1;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f08a68, #e86a4a 55%, #de5538);
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 12px 26px rgba(232, 106, 74, .32);
}
.item-detail-cta-main.is-off {
  background: #e8e2dc; color: #8a8178 !important; box-shadow: none; cursor: default;
}

.ck-page { padding: 0 0 24px; background: #f6f3f0; min-height: 70vh; }
.ck-head { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px 8px; }
.ck-head .h5-back {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #3a2e29;
  display: grid; place-items: center; text-decoration: none; flex: 0 0 36px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.ck-head h1 { margin: 0; font-size: 22px; font-weight: 800; color: #1f1714; }
.ck-head p { margin: 4px 0 0; font-size: 12px; color: #8a8178; }
.ck-card {
  margin: 8px 14px; padding: 16px; background: #fff; border-radius: 18px;
  box-shadow: 0 8px 20px rgba(232,106,74,.08); border: 1px solid rgba(232,106,74,.08);
}
.ck-item { display: flex; gap: 12px; align-items: center; }
.ck-item img, .ck-item .ck-ph {
  width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: 0 0 72px;
  background: #fff0ea; display: grid; place-items: center; color: #e86a4a; font-size: 22px;
}
.ck-item strong { display: block; font-size: 16px; }
.ck-item em { display: block; margin-top: 4px; font-style: normal; color: #e86a4a; font-weight: 800; font-size: 18px; }
.ck-note {
  margin: 8px 14px; padding: 12px 14px; border-radius: 14px;
  background: #fff6f1; color: #8a4b38; font-size: 13px; line-height: 1.55;
}
.ck-form .form-row { margin-bottom: 14px; }
.ck-form .form-row label { display: block; font-size: 12px; color: #8a8178; margin-bottom: 8px; font-weight: 700; }
.ck-form .form-row label .ck-opt { font-weight: 500; color: #b0a59c; margin-left: 6px; }
.ck-form .input, .ck-form select.input, .ck-form textarea.input {
  width: 100%; box-sizing: border-box; border: 1px solid #f0d8cc; border-radius: 12px;
  padding: 11px 12px; background: #fffaf7; font-size: 14px; color: #1f1714;
}
.ck-person-row {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px;
  -webkit-overflow-scrolling: touch;
}
.ck-person-card {
  flex: 0 0 88px; border: 1.5px solid #f0d8cc; border-radius: 16px; background: #fffaf7;
  padding: 12px 8px 10px; text-align: center; cursor: pointer; color: #3a2e29;
}
.ck-person-card.is-on {
  border-color: #e86a4a; background: #fff0ea;
  box-shadow: 0 6px 16px rgba(232,106,74,.16);
}
.ck-person-ava {
  width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%;
  background: linear-gradient(145deg, #fff0ea, #ffe4d8); color: #e86a4a;
  display: grid; place-items: center; position: relative; overflow: hidden;
  font-size: 16px; font-weight: 800; font-style: normal;
}
.ck-person-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ck-person-ava img + i { display: none; }
.ck-person-ava.is-any { background: #fff; border: 1.5px dashed rgba(232,106,74,.4); font-size: 16px; }
.ck-person-card strong { display: block; font-size: 12px; font-weight: 800; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-person-card em { display: block; margin-top: 3px; font-style: normal; font-size: 10px; color: #998780; }
.ck-person-card.is-on strong, .ck-person-card.is-on em { color: #c24f33; }

.ck-day-row {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
}
.ck-day-chip {
  flex: 0 0 64px; border: 1.5px solid #f0d8cc; border-radius: 14px; background: #fffaf7;
  padding: 10px 6px; text-align: center; cursor: pointer; color: #3a2e29;
}
.ck-day-chip em { display: block; font-style: normal; font-size: 11px; color: #998780; }
.ck-day-chip strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 800; }
.ck-day-chip.is-on {
  border-color: #e86a4a; background: #e86a4a; color: #fff;
  box-shadow: 0 6px 14px rgba(232,106,74,.28);
}
.ck-day-chip.is-on em { color: rgba(255,255,255,.85); }
.ck-time-meta { font-size: 12px; color: #998780; margin: 0 0 8px; }
.ck-time-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.ck-time-chip {
  border: 1.5px solid #f0d8cc; border-radius: 12px; background: #fff;
  padding: 10px 4px; font-size: 13px; font-weight: 700; color: #3a2e29; cursor: pointer;
}
.ck-time-chip.is-on {
  border-color: #e86a4a; background: #fff0ea; color: #e86a4a;
}
.ck-time-empty { font-size: 12px; margin: 4px 0 0; }
.ck-pay-tip {
  display: flex; gap: 12px; align-items: center; margin: 4px 0 14px; padding: 12px 14px;
  border-radius: 14px; background: linear-gradient(135deg, #fff8f4, #fff0ea);
  border: 1px solid rgba(232,106,74,.12);
}
.ck-pay-tip > i {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
  background: #e86a4a; color: #fff; display: grid; place-items: center; font-size: 14px;
}
.ck-pay-tip strong { display: block; font-size: 14px; color: #1f1714; }
.ck-pay-tip span { display: block; margin-top: 2px; font-size: 12px; color: #8a8178; line-height: 1.4; }
.ck-pays { display: none; }
.ck-submit {
  width: 100%; border: 0; border-radius: 999px; min-height: 48px; margin-top: 4px;
  background: linear-gradient(135deg, #f08a68, #e86a4a 55%, #de5538);
  color: #fff; font-size: 16px; font-weight: 800; cursor: pointer;
  box-shadow: 0 12px 26px rgba(232,106,74,.32);
}
.ck-qr-card { text-align: center; }
.ck-qr-card img { width: 220px; height: 220px; border-radius: 16px; background: #fff; }
.ck-code {
  margin-top: 10px; font-size: 22px; letter-spacing: .18em; font-weight: 800; color: #1f1714;
}

/* —— 到店核销码页 —— */
.h5-body:has(.vt-page) {
  background: #f7f1ec;
}
.h5-body:has(.vt-page) > .h5-flash,
.h5-body:has(.vt-page) > .alert.js-flash-toast {
  margin: 12px 20px 0;
}
.vt-page {
  box-sizing: border-box;
  min-height: calc(100vh - 88px);
  padding: 4px 0 32px;
  background:
    radial-gradient(90% 42% at 50% -8%, rgba(232,106,74,.16), transparent 58%),
    linear-gradient(180deg, #faf5f1 0%, #f3ebe4 100%);
}
.vt-top {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  column-gap: 10px;
  padding: 10px 20px 4px;
}
.vt-back,
.vt-top-spacer {
  width: 40px; height: 40px;
}
.vt-back {
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #2c221c;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(44,34,28,.07);
}
.vt-top-text {
  text-align: center;
  min-width: 0;
}
.vt-top-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #1f1714;
  line-height: 1.2;
}
.vt-top-text p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9a8f86;
  line-height: 1.3;
}
.vt-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 20px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4ee;
  border: 1px solid rgba(232,106,74,.12);
  color: #7a4a3a;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}
.vt-banner i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #e86a4a;
  font-size: 14px;
}
.vt-sheet {
  margin: 14px 20px 0;
  padding: 28px 22px 26px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(120,70,40,.09);
  border: 1px solid rgba(232,106,74,.06);
  text-align: center;
}
.vt-sheet-head {
  margin: 0 0 22px;
}
.vt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff0ea;
  color: #d45a3a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
}
.vt-title {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  color: #1f1714;
  letter-spacing: .02em;
  word-break: break-word;
}
.vt-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #9a8f86;
  line-height: 1.3;
}
.vt-meta i {
  font-size: 12px;
  color: #c9b5a8;
}
.vt-price {
  margin: 12px 0 0;
  font-size: 26px;
  font-weight: 800;
  color: #e86a4a;
  letter-spacing: .02em;
  line-height: 1.2;
}
.vt-pay {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9a8f86;
}
.vt-qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.vt-qr-frame {
  width: 216px;
  height: 216px;
  margin: 0 auto;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #efe4db;
  box-shadow: inset 0 0 0 6px #faf6f2;
  display: grid;
  place-items: center;
}
.vt-qr-frame img {
  width: 176px;
  height: 176px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.vt-qr-frame.is-empty {
  color: #e0cfc4;
  font-size: 48px;
}
.vt-code {
  margin: 22px 0 0;
  padding: 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .28em;
  text-indent: .28em;
  color: #1f1714;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  word-break: keep-all;
  white-space: nowrap;
}
.vt-tip {
  margin: 14px 0 0;
  font-size: 12px;
  color: #9a8f86;
  line-height: 1.5;
}
.vt-state {
  padding: 36px 12px 24px;
  color: #5a5348;
}
.vt-state i {
  font-size: 40px;
  display: block;
  margin: 0 auto 12px;
}
.vt-state.is-ok i { color: #2f9b6a; }
.vt-state.is-cancel i { color: #b08a7a; }
.vt-state p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1f1714;
}
.vt-state em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  color: #9a8f86;
}
.vt-actions {
  display: grid;
  gap: 12px;
  margin: 20px 20px 0;
}
.vt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  box-sizing: border-box;
}
.vt-btn-main {
  background: linear-gradient(135deg, #f08a68, #e86a4a 55%, #de5538);
  color: #fff;
  box-shadow: 0 12px 24px rgba(232,106,74,.28);
  border: 0;
}
.vt-btn-ghost {
  background: #fff;
  color: #e86a4a;
  border: 1.5px solid rgba(232,106,74,.38);
}
@media (max-width: 360px) {
  .vt-banner,
  .vt-sheet,
  .vt-actions {
    margin-left: 14px;
    margin-right: 14px;
  }
  .vt-top { padding-left: 14px; padding-right: 14px; }
  .vt-sheet { padding: 24px 16px 22px; }
  .vt-qr-frame { width: 196px; height: 196px; }
  .vt-qr-frame img { width: 156px; height: 156px; }
  .vt-code { font-size: 18px; letter-spacing: .22em; text-indent: .22em; }
  .vt-title { font-size: 20px; }
}

.shop-tabs {
  display: flex; gap: 6px; padding: 0 12px 10px; overflow-x: auto;
}
.shop-tabs a {
  flex: 1; text-align: center; padding: 9px 10px; border-radius: 999px;
  background: #fff; border: 1px solid #ebe5db; color: #5a5348;
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.shop-tabs a.is-on { background: #e86a4a; border-color: #e86a4a; color: #fff; }
.shop-filter-row {
  display: flex; gap: 8px; padding: 0 12px 6px; overflow-x: auto;
}
.shop-filter-row a {
  flex: 0 0 auto; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #ebe5db; color: #6b645c;
  font-size: 12px; font-weight: 650; text-decoration: none;
}
.shop-filter-row a.is-on { background: #fff0ea; border-color: #f0c4ad; color: #e86a4a; }
.shop-order-card {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid #ebe5db; border-radius: 16px;
  padding: 12px; margin-bottom: 10px; text-decoration: none; color: inherit;
}
.shop-order-thumb {
  width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  position: relative;
  background: #fff0ea; display: grid; place-items: center; color: #e86a4a; flex-shrink: 0;
}
.shop-order-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.shop-order-thumb img + i { display: none; }
.shop-order-body { flex: 1; min-width: 0; }
.shop-order-body strong { display: block; font-size: 14px; }
.shop-order-body span, .shop-order-body em {
  display: block; margin-top: 3px; font-size: 12px; color: #9a9184; font-style: normal;
}
.shop-order-side { text-align: right; flex-shrink: 0; }
.shop-order-side b { display: block; font-size: 12px; color: #e86a4a; }
.shop-order-side b.is-up { color: #059669; font-size: 15px; }
.shop-order-side b.is-down { color: #dc2626; font-size: 15px; }
.shop-order-side span { display: inline-flex; gap: 4px; align-items: center; margin-top: 6px; font-size: 11px; color: #9a9184; }
.shop-card-item {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid #ebe5db; border-radius: 16px;
  padding: 14px; margin-bottom: 10px;
}
.shop-card-item.is-off { opacity: .55; }
.shop-card-item-main { flex: 1; min-width: 0; }
.shop-card-item-main strong { display: block; font-size: 15px; }
.shop-card-item-main strong em { font-style: normal; font-size: 12px; color: #9a9184; font-weight: 500; margin-left: 4px; }
.shop-card-item-main span { display: block; margin-top: 4px; font-size: 12px; color: #9a9184; }
.shop-card-item-main .shop-pill { margin-top: 8px; }
.shop-pill.is-ok { background: #ecfdf5; color: #059669; }
.shop-card-qr-btn {
  border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 10px; overflow: hidden;
}
.shop-card-qr-btn img { display: block; border-radius: 10px; }
.shop-section-tip { margin: -4px 2px 10px; font-size: 12px; color: #9a9184; }
.shop-goods-grid-1 { grid-template-columns: 1fr; }
.shop-goods-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
}
.shop-goods-cover img + i { display: none; }
.shop-footer-actions { padding: 8px 12px 4px; }
@media (max-width: 360px) {
  .shop-goods-grid { grid-template-columns: 1fr; }
}

/* ???? ???????????? ???? */
.help-hero {
  padding: 48px 0 36px;
  background: linear-gradient(165deg, #fff8f4 0%, #f4f2ef 55%, #eef1f6 100%);
  border-bottom: 1px solid #ebe6e2;
}
.help-hero-sm { padding: 32px 0 24px; }
.help-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #E86A4A;
}
.help-kicker a { color: inherit; text-decoration: none; }
.help-kicker a:hover { text-decoration: underline; }
.help-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  color: #1f2329;
  letter-spacing: -.02em;
}
.help-hero p {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
}
.help-body { padding: 32px 0 56px; }
.help-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.help-nav {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ebe6e2;
  border-radius: 14px;
}
.help-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
}
.help-nav a i { width: 1.1em; color: #9a9184; }
.help-nav a:hover { background: #f7f8fa; color: #E86A4A; }
.help-nav a.is-on {
  background: #fff5f2;
  color: #E86A4A;
  font-weight: 700;
}
.help-sec-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #1f2329;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.help-card {
  display: block;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #ebe6e2;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.help-card:hover {
  border-color: #f0c7b8;
  box-shadow: 0 8px 20px rgba(232, 106, 74, .08);
}
.help-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #E86A4A;
}
.help-card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1f2329;
  line-height: 1.4;
}
.help-card em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  color: #8a7468;
  line-height: 1.45;
}
.help-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px dashed #e5e6eb;
  border-radius: 14px;
}
.help-article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}
.help-article.prose {
  background: #fff;
  border: 1px solid #ebe6e2;
  border-radius: 14px;
  padding: 28px 32px;
  line-height: 1.75;
  color: #2a241c;
  font-size: 15px;
}
.help-article.prose h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #1f2329;
}
.help-article.prose h2:first-child { margin-top: 0; }
.help-article.prose h3 {
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 700;
}
.help-article.prose p,
.help-article.prose ul,
.help-article.prose ol { margin: 0 0 14px; }
.help-article.prose li { margin: 0 0 6px; }
.help-article.prose strong { font-weight: 700; }
.help-related {
  position: sticky;
  top: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid #ebe6e2;
  border-radius: 14px;
}
.help-related h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
}
.help-related ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.help-related li { margin: 0 0 8px; }
.help-related a {
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  font-weight: 600;
}
.help-related a:hover { color: #E86A4A; }
@media (max-width: 900px) {
  .help-layout,
  .help-article-wrap { grid-template-columns: 1fr; }
  .help-nav, .help-related { position: static; }
  .help-grid { grid-template-columns: 1fr; }
  .help-hero h1 { font-size: 24px; }
}

/* ???? ????????? ???? */
.print-set-tabs { margin-bottom: 14px; }
.print-set-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 960px) {
  .print-set-grid { grid-template-columns: 1fr; }
}
.print-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #3d322c;
}
.print-check-row label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.print-printer-list { display: flex; flex-direction: column; gap: 10px; }
.print-printer-card {
  border: 1px solid var(--line, #eadfd8);
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}
.print-printer-card.is-off { opacity: .72; }
.print-printer-card-hd {
  display: flex;
  align-items: center;
  gap: 10px;
}
.print-printer-card-hd strong {
  display: block;
  font-size: 15px;
  color: #2a211c;
}
.print-printer-card-hd em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #8a7468;
  margin-top: 2px;
}
.print-printer-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #fff0ea;
  color: var(--brand, #E86A4A);
  flex-shrink: 0;
}
.print-online-pill {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.print-online-pill.is-on { background: #e8f8ef; color: #15803d; }
.print-online-pill.is-off { background: #f3ece7; color: #8a7468; }
.print-printer-meta { font-size: 12px; margin-top: 8px; line-height: 1.45; }
.print-trigger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 640px) {
  .print-trigger-grid { grid-template-columns: 1fr; }
}
.print-trigger-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line, #eadfd8);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.print-trigger-card input { margin-top: 3px; }
.print-trigger-card strong { display: block; font-size: 14px; color: #2a211c; }
.print-trigger-card em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #8a7468;
  margin-top: 3px;
  font-weight: 500;
}
.print-field-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.print-field-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(232, 106, 74, .22);
  background: #fffaf7;
  font-size: 13px;
  font-weight: 600;
  color: #3d322c;
  cursor: pointer;
}
.print-preview-panel { position: sticky; top: 72px; }
.print-preview-stage {
  display: flex;
  justify-content: center;
  padding: 16px 8px 8px;
  background: #efe8e2;
  border-radius: 12px;
}
.print-preview-ticket {
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(42, 33, 28, .08);
  border-radius: 4px;
  line-height: 1.45;
  color: #222;
}
.print-preview-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
  font-size: 1.15em;
}
.print-preview-store {
  text-align: center;
  font-size: .92em;
  color: #666;
  margin-bottom: 8px;
}
.print-preview-rule {
  border-top: 1px dashed #ccc;
  margin: 8px 0;
}
.print-preview-table { width: 100%; border-collapse: collapse; text-align: left; }
.print-preview-table td { padding: 4px 0; vertical-align: top; }
.print-preview-table td.k { width: 52px; color: #888; white-space: nowrap; }
.print-preview-foot {
  text-align: center;
  font-size: .85em;
  color: #999;
}

/* ???? ?????????? / ??? / ??? ???? */
.store-chrome-bar {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  margin: -6px 0 12px;
  padding: 4px 0 2px;
  background: linear-gradient(180deg, #f4f2ef 70%, rgba(244,242,239,0));
}
.store-chrome-spacer { flex: 1; min-width: 0; }
.store-chrome-actions {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(42,33,28,.06);
  box-shadow: 0 1px 2px rgba(42,33,28,.04);
}
.store-chrome-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #5c534d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  font-family: inherit;
}
.store-chrome-btn:hover { background: #f3ece7; color: #2a211c; }
.store-chrome-btn i { font-size: 15px; }
.store-chrome-btn em { font-style: normal; }
.store-chrome-menu-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f1fe;
  color: #2563eb;
  cursor: pointer;
  flex-shrink: 0;
}
.store-chrome-menu-btn:hover { background: #dbeafe; }
.store-chrome-account { position: relative; }
.store-account-drop {
  position: fixed;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(42,33,28,.08);
  box-shadow: 0 12px 32px rgba(42,33,28,.14);
  padding: 12px 0 8px;
  z-index: 80;
}
.store-float-layer {
  position: relative;
  z-index: 80;
}
.store-msg-panel {
  position: fixed;
  width: min(360px, calc(100vw - 20px));
  max-height: min(70vh, 480px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(42,33,28,.08);
  box-shadow: 0 16px 40px rgba(42,33,28,.16);
  z-index: 80;
  overflow: hidden;
}
.store-mobile-brand {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 960px) {
  .store-chrome-bar { display: none; }
}
@media (min-width: 961px) {
  .mobile-bar .store-chrome-actions.is-mobile { display: none; }
}
.store-account-head {
  padding: 4px 16px 12px;
  border-bottom: 1px solid #f0ebe6;
}
.store-account-head strong {
  display: block;
  font-size: 15px;
  color: #2a211c;
  font-weight: 700;
}
.store-account-head span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #8a7468;
}
.store-account-actions { padding: 6px 0; }
.store-account-actions a,
.store-account-logout button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #3d322c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.store-account-actions a:hover,
.store-account-logout button:hover { background: #f7f3f0; }
.store-account-actions i { width: 16px; color: #6b7280; }
.store-msg-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0ebe6;
}
.store-msg-panel-hd strong { font-size: 15px; }
.store-msg-list {
  overflow: auto;
  padding: 6px 0;
  flex: 1;
}
.store-msg-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  border-left: 3px solid transparent;
}
.store-msg-item:hover { background: #faf7f4; }
.store-msg-item.is-unread {
  background: #fff8f4;
  border-left-color: var(--brand, #E86A4A);
}
.store-msg-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: transparent;
}
.store-msg-item.is-unread .store-msg-item-dot { background: #ef4444; }
.store-msg-item-body { min-width: 0; flex: 1; }
.store-msg-item-body strong {
  display: block;
  font-size: 13px;
  color: #2a211c;
  line-height: 1.35;
}
.store-msg-item-body em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #8a7468;
  margin-top: 2px;
  line-height: 1.4;
}
.store-msg-item-body small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #a89a92;
}
.store-msg-empty {
  padding: 28px 16px;
  text-align: center;
  color: #8a7468;
  font-size: 13px;
}
.store-chrome-btn { position: relative; }
.store-chrome-btn .nav-dot,
.store-msg-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
  transform: none;
}
.store-cs-card { max-width: 360px; }
.store-cs-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding-bottom: 8px;
}
.store-cs-qr {
  width: min(220px, 70vw);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line, #eadfd8);
  background: #fff;
}
.store-cs-tip {
  margin: 0;
  font-size: 13px;
  color: #8a7468;
  line-height: 1.5;
}
.mobile-bar .store-chrome-actions.is-mobile {
  margin-left: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  gap: 2px;
}
.mobile-bar .store-chrome-btn em { display: none; }
.mobile-bar .store-chrome-btn { padding: 0 8px; height: 36px; }
.store-msg-panel[hidden],
.store-account-drop[hidden] { display: none !important; }


/* ===== Store members list / detail (uops + mdt) ===== */
.uops-kpi {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.uops-kpi-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #ebe6e2;
  border-radius: 14px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.uops-kpi-card:hover {
  border-color: #e0d8d0;
  box-shadow: 0 6px 16px rgba(31, 35, 41, .07);
  transform: translateY(-1px);
}
.uops-kpi-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
  color: #fff;
}
.uops-kpi-card.tone-coral .uops-kpi-ico { background: linear-gradient(145deg, #f0845f, #E86A4A); }
.uops-kpi-card.tone-green .uops-kpi-ico { background: linear-gradient(145deg, #34d399, #16a34a); }
.uops-kpi-card.tone-violet .uops-kpi-ico { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.uops-kpi-card.tone-rose .uops-kpi-ico { background: linear-gradient(145deg, #fb7185, #e11d48); }
.uops-kpi-card.tone-amber .uops-kpi-ico { background: linear-gradient(145deg, #fbbf24, #d97706); }
.uops-kpi-card.tone-teal .uops-kpi-ico { background: linear-gradient(145deg, #2dd4bf, #0d9488); }
.uops-kpi-body {
  min-width: 0;
  flex: 1;
}
.uops-kpi-body span {
  display: block;
  font-size: 12px;
  color: #8a8178;
  font-weight: 500;
  line-height: 1.3;
}
.uops-kpi-body b {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--display, inherit);
  color: #2a241c;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.uops-kpi-card.tone-coral .uops-kpi-body b { color: #c4532f; }
.uops-kpi-card.tone-green .uops-kpi-body b { color: #15803d; }
.uops-kpi-card.tone-violet .uops-kpi-body b { color: #6d28d9; }
.uops-kpi-card.tone-rose .uops-kpi-body b { color: #be123c; }
.uops-kpi-card.tone-amber .uops-kpi-body b { color: #b45309; }
.uops-kpi-card.tone-teal .uops-kpi-body b { color: #0f766e; }
@media (max-width: 1100px) {
  .uops-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .uops-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .uops-kpi-body b { font-size: 18px; }
}

.uops-search-panel { padding: 14px 16px; margin-bottom: 14px; }
.uops-search-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.uops-search-main { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; min-width: 0; }
.uops-field-sel { max-width: 130px; }
.uops-q { max-width: 260px; flex: 1; min-width: 140px; }
.uops-search-extra { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.uops-adv { margin-top: 10px; border-top: 1px solid var(--line, #eadfd8); padding-top: 8px; }
.uops-adv-sum { cursor: pointer; font-size: 13px; color: var(--muted, #64748b); list-style: none; }
.uops-adv-sum::-webkit-details-marker { display: none; }
.uops-adv-body { margin-top: 10px; }
.uops-adv-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.uops-adv-cat {
  border: 1px solid var(--line, #e5e7eb); background: #fff; color: #475569;
  padding: 6px 12px; border-radius: 8px; font-size: 13px; cursor: pointer;
}
.uops-adv-cat.is-on {
  border-color: var(--brand, #E86A4A); color: var(--brand, #E86A4A);
  background: var(--brand-soft, #fff0ea); font-weight: 600;
}
.uops-adv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.uops-adv-hint { margin: 0 0 10px; font-size: 12px; }
.uops-adv-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.uops-list-panel { padding-top: 12px; }
.uops-table-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px; padding: 0 2px;
}
.uops-table-count { font-size: 13px; color: #475569; }
.uops-table-count strong { color: var(--brand, #E86A4A); font-size: 16px; }
.uops-table-ops { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.uops-batch-wrap { position: relative; }
.uops-batch-drop {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 20;
  min-width: 140px; background: #fff; border: 1px solid var(--line, #eadfd8);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(40, 20, 10, .08); padding: 6px;
}
.uops-batch-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 8px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; color: #334155;
}
.uops-batch-item:hover { background: var(--brand-soft, #fff0ea); color: var(--brand-dark, #c4532f); }
.uops-table th.uops-col-check, .uops-table td:first-child { width: 36px; text-align: center; }
.uops-table th.uops-col-id { width: 64px; }
.uops-user { display: flex; align-items: flex-start; gap: 10px; }
.uops-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-soft, #fff0ea);
  color: var(--brand, #E86A4A); overflow: hidden; text-decoration: none;
}
.uops-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uops-level-badge {
  display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px;
  font-size: 11px; color: #fff; line-height: 1.5;
}
.uops-gender { margin-left: 4px; font-size: 12px; }
.uops-gender-m { color: #3b82f6; }
.uops-gender-f { color: #ec4899; }
.uops-account strong { color: var(--brand-dark, #c4532f); }
.uops-card-marks { margin-top: 4px; }
.uops-check { display: grid; place-items: center; padding-top: 10px; margin-right: 4px; }
.uops-mcard .uops-avatar { margin-top: 2px; }

/* Detail ? full-width SaaS layout */
.mdt-page {
  width: 100%;
  max-width: none;
  margin: 0;
}
.mdt-breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--muted, #64748b); margin: 0 0 10px;
}
.mdt-breadcrumb a { color: var(--brand, #E86A4A); text-decoration: none; font-weight: 600; }
.mdt-bc-sep { opacity: .5; }
.mdt-topbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 16px;
}
.mdt-page-title { margin: 0; font-size: 26px; line-height: 1.2; }
.mdt-page-sub { margin: 4px 0 0; font-size: 14px; }
.mdt-top-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  justify-content: flex-end;
}
.mdt-act-form { display: inline-flex; margin: 0; }
.mdt-act {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 10px !important;
}
.mdt-act i { font-size: 14px; }
.mdt-act-primary {
  min-width: 96px;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(232, 106, 74, .28);
}
.mdt-profile {
  margin-bottom: 14px;
  padding: 20px 22px !important;
}
.mdt-profile-row { display: flex; gap: 18px; align-items: flex-start; }
.mdt-avatar {
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-soft, #fff0ea);
  color: var(--brand, #E86A4A); font-size: 30px; overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #eadfd8;
}
.mdt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mdt-profile-main { flex: 1; min-width: 0; }
.mdt-name-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mdt-name { margin: 0; font-size: 26px; font-weight: 800; color: #1f2937; letter-spacing: -.02em; }
.mdt-subline {
  margin-top: 6px; font-size: 15px; color: #64748b;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 500;
}
.mdt-subline a { color: inherit; font-weight: 600; }
.mdt-dot { opacity: .5; }
.mdt-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mdt-tag-add { font-size: 13px; color: var(--brand, #E86A4A); text-decoration: none; font-weight: 700; }
.mdt-info {
  margin-top: 18px;
  border-top: 0;
  padding: 16px 18px 12px;
  background: #f7f8fa;
  border-radius: 14px;
}
.mdt-info-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px;
}
.uops-sort-form { display: inline-flex; align-items: center; gap: 6px; }
.uops-sort-label { font-size: 12px; white-space: nowrap; }
.uops-sort-sel { max-width: 150px; padding-top: 6px; padding-bottom: 6px; font-size: 13px; }
.uops-table tbody tr:hover { background: #fff7f3; }
.uops-user-cell a { color: inherit; text-decoration: none; }
.uops-user-cell a:hover strong { color: var(--brand, #E86A4A); }
.mdt-pane {
  border-radius: 0 0 14px 14px; margin-top: 0; margin-bottom: 16px;
  padding: 20px 22px !important;
}
.mdt-pane h3 { margin-top: 0; font-size: 17px; font-weight: 700; color: #1f2937; }
.mdt-info-item span { display: block; font-size: 13px; color: #94a3b8; margin-bottom: 4px; font-weight: 500; }
.mdt-info-item strong { font-size: 15px; color: #1f2937; font-weight: 700; word-break: break-all; }
.mdt-info-wide { grid-column: 1 / -1; }
.mdt-info[data-collapsed="1"] .mdt-info-item:nth-child(n+9) { display: none; }
.mdt-info[data-collapsed="1"] .mdt-info-wide { display: none; }
.mdt-info-toggle {
  margin-top: 12px; border: 0; background: transparent; color: var(--brand, #E86A4A);
  font-size: 14px; cursor: pointer; padding: 0; font-weight: 700;
}
.mdt-assets {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px;
}
.mdt-asset {
  display: block; background: #fff; border: 1px solid var(--line, #eadfd8); border-radius: 16px;
  padding: 18px 20px; text-decoration: none; color: inherit;
  background-image: linear-gradient(165deg, #fff 40%, var(--brand-soft, #fff0ea));
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mdt-asset:hover {
  border-color: var(--brand, #E86A4A);
  box-shadow: 0 10px 24px rgba(232, 106, 74, .12);
  color: inherit;
  transform: translateY(-1px);
}
.mdt-asset-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #64748b; font-weight: 600; }
.mdt-asset-label i { color: var(--brand, #E86A4A); font-size: 15px; }
.mdt-asset strong {
  display: block; margin-top: 8px; font-size: 28px; font-family: var(--display, inherit);
  color: var(--brand-dark, #c4532f); font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.mdt-asset em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #94a3b8; font-weight: 500; }
.mdt-ai-panel { margin-bottom: 14px; }
.mdt-ai-item { padding: 8px 0; border-bottom: 1px solid var(--line, #eadfd8); }
.mdt-ai-item:last-child { border-bottom: 0; }
.mdt-tabs {
  display: flex; flex-wrap: nowrap; gap: 0; border-bottom: 1px solid var(--line, #eadfd8);
  margin-bottom: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.mdt-tab {
  border: 0; background: transparent; padding: 12px 18px; font-size: 15px; color: #64748b;
  cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px;
  font-weight: 600;
}
.mdt-tab.is-on {
  color: var(--brand, #E86A4A); font-weight: 800;
  border-bottom-color: var(--brand, #E86A4A);
}
.mdt-pane[hidden] { display: none !important; }
.mdt-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 28px;
  margin: 0 0 8px;
}
.mdt-sum-item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line, #eadfd8);
  min-width: 0;
}
.mdt-sum-item span { display: block; font-size: 13px; color: #94a3b8; font-weight: 500; margin-bottom: 4px; }
.mdt-sum-item b { font-size: 16px; color: #1f2937; font-weight: 700; word-break: break-word; }
.mdt-ops-card {
  padding: 16px; border: 1px solid var(--line, #eadfd8); border-radius: 12px;
  background: #fafafa;
}
.mdt-edit { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line, #eadfd8); }
.mdt-edit h3 { font-size: 17px; }

@media (max-width: 1100px) {
  .mdt-info-grid,
  .mdt-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .uops-adv-grid { grid-template-columns: 1fr; }
  .mdt-info-grid,
  .mdt-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdt-assets { grid-template-columns: 1fr; }
  .mdt-page-title { font-size: 22px; }
  .mdt-name { font-size: 22px; }
  .mdt-asset strong { font-size: 24px; }
}
@media (max-width: 720px) {
  .mdt-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .mdt-top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }
  .mdt-act,
  .mdt-act-form { width: 100%; }
  .mdt-act {
    justify-content: center;
    min-height: 42px;
    padding: 0 12px !important;
    font-size: 13px !important;
  }
  .mdt-act-primary { grid-column: 1 / -1; }
  .mdt-profile { padding: 16px !important; }
  .mdt-profile-row { gap: 12px; }
  .mdt-avatar { width: 56px; height: 56px; font-size: 22px; }
  .mdt-name { font-size: 20px; }
  .mdt-subline { font-size: 13px; }
  .mdt-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mdt-summary { grid-template-columns: 1fr; gap: 0; }
  .mdt-pane { padding: 16px !important; }
  .mdt-tab { padding: 10px 12px; font-size: 14px; }
  .uops-q { max-width: none; width: 100%; }
}

/* ===== Order management hub ===== */
.om-page { display: grid; gap: 14px; }
.om-top {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.om-top .page-sub strong { color: var(--brand); font-weight: 700; }
.om-top-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.om-filter { padding: 14px 16px; }
.om-filter-search {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.om-filter-search .input { width: auto; min-width: 120px; flex: 1; }
.om-filter-search select.input { flex: 0 0 140px; min-width: 120px; }
.om-filter-adv { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.om-filter-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.om-filter-grid label {
  display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0;
}
.om-filter-adv-actions { display: flex; gap: 8px; margin-top: 12px; }
.om-tabs {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.om-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 10px; text-decoration: none;
  color: var(--muted); font-size: 13px; font-weight: 650;
  transition: background .15s, color .15s;
}
.om-tab em {
  font-style: normal; font-size: 11px; font-weight: 800;
  min-width: 18px; padding: 1px 6px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}
.om-tab:hover { color: var(--ink); background: var(--bg); }
.om-tab.is-on {
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 800;
}
.om-table-wrap { padding: 0; overflow: hidden; }
.om-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.om-toolbar-right { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.om-batch { display: flex; gap: 6px; align-items: center; }
.om-batch .input { width: 130px; padding: 8px 10px; }
.om-table { margin: 0; }
.om-table th { white-space: nowrap; font-size: 12px; }
.om-empty { text-align: center; padding: 36px 12px !important; }
.om-type {
  display: inline-block; padding: 3px 8px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 12px; font-weight: 700;
}
.om-sub { font-size: 12px; margin-top: 2px; }
.om-no { font-size: 11px; color: #8a9a94; margin-top: 4px; font-family: ui-monospace, Consolas, monospace; }
.om-cust { display: flex; align-items: center; gap: 8px; }
.om-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, #f0e6e0, #ffe8dc);
  color: var(--accent); font-size: 13px; font-weight: 800;
}
.om-cust strong { display: block; font-size: 13px; }
.om-cust em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.om-amt { font-weight: 800; white-space: nowrap; }
.om-tip { font-size: 10px; color: #9aa8a2; }
.om-st {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: #eef2f0; color: #4a5c56;
}
.om-st-0 { background: #fff4e8; color: #b7791f; }
.om-st-1 { background: #e8f1fb; color: #2b6cb0; }
.om-st-2 { background: #e7f4ef; color: #1a6b56; }
.om-st-3 { background: #e7f4ef; color: #124f40; }
.om-st-4 { background: #f3f3f3; color: #888; }
.om-ship { font-size: 11px; font-weight: 700; margin-top: 4px; }
.om-ship.is-wait { color: #c4532f; }
.om-ship.is-ok { color: #1a6b56; }
/* 订单操作按钮 */
.om-ops {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  white-space: normal; min-width: 200px; max-width: 320px;
}
.om-inline { display: inline-flex; margin: 0; }
.om-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 30px; padding: 0 10px; border-radius: 8px;
  border: 1px solid transparent; font-size: 12px; font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  line-height: 1; box-sizing: border-box;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, filter .15s;
}
.om-btn i { font-size: 11px; color: inherit; }
/* ghost: secondary outline */
.om-btn-ghost {
  background: #fff; color: #5a5348; border-color: #e5e0d8;
}
.om-btn-ghost:hover { border-color: #e86a4a; color: #c4532f; background: #fff8f4; }
/* soft: light fill + dark accent text */
.om-btn-soft {
  background: #fff4ee; color: #c4532f; border-color: #f0cfc0;
}
.om-btn-soft:hover { background: #ffe8dc; color: #a84328; border-color: #e8b8a4; }
/* main: solid fill — text/icon MUST stay white (beat a / a:hover brand color) */
.om-btn-main {
  background: #e86a4a; color: #fff; border-color: #d85a3a;
  box-shadow: 0 4px 12px rgba(232,106,74,.22);
}
.om-btn-main:hover { filter: brightness(1.06); color: #fff; }
.om-btn-verify {
  background: linear-gradient(135deg, #2f9b6a, #24855a);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(47,155,106,.25);
}
.om-btn-verify:hover { filter: brightness(1.05); color: #fff; }
.om-btn-danger {
  background: #fff; color: #c0392b; border-color: #f0c8c4;
}
.om-btn-danger:hover { background: #fff5f4; border-color: #e8a39c; color: #a93226; }
/* Anchor variants: lock contrast against global a { color: var(--brand) } */
a.om-btn { text-decoration: none; }
a.om-btn.om-btn-ghost,
a.om-btn.om-btn-ghost:link,
a.om-btn.om-btn-ghost:visited { color: #5a5348; }
a.om-btn.om-btn-ghost:hover,
a.om-btn.om-btn-ghost:active { color: #c4532f; }
a.om-btn.om-btn-soft,
a.om-btn.om-btn-soft:link,
a.om-btn.om-btn-soft:visited { color: #c4532f; }
a.om-btn.om-btn-soft:hover,
a.om-btn.om-btn-soft:active { color: #a84328; }
a.om-btn.om-btn-main,
a.om-btn.om-btn-main:link,
a.om-btn.om-btn-main:visited,
a.om-btn.om-btn-main:hover,
a.om-btn.om-btn-main:active,
a.om-btn.om-btn-verify,
a.om-btn.om-btn-verify:link,
a.om-btn.om-btn-verify:visited,
a.om-btn.om-btn-verify:hover,
a.om-btn.om-btn-verify:active {
  color: #fff;
}
a.om-btn.om-btn-danger,
a.om-btn.om-btn-danger:link,
a.om-btn.om-btn-danger:visited { color: #c0392b; }
a.om-btn.om-btn-danger:hover,
a.om-btn.om-btn-danger:active { color: #a93226; }
.om-type.is-svc { background: #fff0ea; color: #c45a3a; }
.om-type.is-prd { background: #eef4ff; color: #3b6fd9; }
.om-type.is-card { background: #fff6e5; color: #b7791f; }
.om-type.is-board { background: #eef8f3; color: #1a6b56; }
.om-type.is-wash { background: #f3eefe; color: #6b46c1; }
.om-vcode {
  margin-top: 4px; font-size: 11px; font-weight: 700; color: #2f9b6a;
  font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em;
}
.om-modal { width: min(520px, 100%); }
.om-modal-lg { width: min(560px, 100%); }
.om-modal-sub {
  margin: 4px 0 0; font-size: 12px; color: var(--muted); font-weight: 500;
}
.om-modal-ft {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 16px 16px; border-top: 1px solid var(--line);
  background: #faf8f6;
}
.om-modal-ft-inline {
  display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px;
}
.om-loading { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 28px; }
.om-detail-head {
  margin: 0 0 14px; padding: 14px; border-radius: 14px;
  background: linear-gradient(145deg, #fff8f4, #fff);
  border: 1px solid rgba(232,106,74,.1);
}
.om-detail-head h3 { margin: 10px 0 4px; font-size: 18px; font-weight: 800; color: #1f1714; }
.om-detail-head p { margin: 0; font-size: 12px; color: var(--muted); min-height: 1em; }
.om-code {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: #f0faf5; color: #1a6b56; font-weight: 800; letter-spacing: .08em;
}
.om-verify-hero {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; margin-bottom: 14px; border-radius: 14px;
  background: linear-gradient(145deg, #f0faf5, #fff);
  border: 1px solid rgba(47,155,106,.16);
}
.om-verify-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
  display: grid; place-items: center; background: #2f9b6a; color: #fff; font-size: 16px;
}
.om-verify-hero strong { display: block; font-size: 15px; color: #1f1714; }
.om-verify-hero em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #6b645c; }
.om-verify-hero b { margin-left: auto; color: #e86a4a; font-size: 18px; white-space: nowrap; }
.om-verify-tip {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 10px;
  background: #fff8f4; color: #8a5342; font-size: 12px; line-height: 1.5;
}
.om-verify-tip i { color: #e86a4a; margin-right: 4px; }
.om-tabs .om-tab.is-on {
  background: transparent; color: var(--brand);
  box-shadow: inset 0 -2px 0 var(--brand);
  border-radius: 0; font-weight: 800;
}

.om-pager {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  padding: 14px; border-top: 1px solid var(--line); font-size: 13px;
}
.om-pager a { color: var(--brand); font-weight: 700; text-decoration: none; }
.om-modal .modal-hd, .om-modal .modal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.om-modal .modal-bd, .om-modal .modal-body { padding: 16px; }
.om-dl { display: grid; gap: 10px; margin: 0; }
.om-dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; font-size: 13px; }
.om-dl dt { margin: 0; color: var(--muted); font-weight: 650; }
.om-dl dd { margin: 0; color: var(--ink); word-break: break-all; }
.om-ship-form { position: relative; }
.om-ship-form summary { list-style: none; cursor: pointer; display: inline-flex; }
.om-ship-form summary::-webkit-details-marker { display: none; }
.om-ship-form[open] > form {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5;
  width: 240px; padding: 12px; display: grid; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(22,40,35,.12);
}
@media (max-width: 960px) {
  .om-filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .om-filter-grid { grid-template-columns: 1fr; }
  .om-top-actions .btn { flex: 1 1 auto; }
}

/* ===== Ops: reminders / followups / AI ===== */
.ops-page { display: grid; gap: 14px; }
.ops-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ops-top .page-sub { margin-bottom: 0; }
.ops-top-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.ops-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.ops-kpis-4 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ops-kpi {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 12px; min-width: 0;
  background: #fff; border: 1px solid #ebe6e2; border-radius: 14px;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ops-kpi:hover {
  border-color: #e0d8d0;
  box-shadow: 0 6px 16px rgba(31, 35, 41, .07);
  transform: translateY(-1px);
  color: inherit;
}
.ops-kpi.is-on {
  border-color: #f0c7b8;
  background: linear-gradient(165deg, #fff 40%, #fff5f0);
  box-shadow: 0 6px 16px rgba(232, 106, 74, .1);
}
.ops-kpi.is-static { cursor: default; }
.ops-kpi.is-static:hover { transform: none; box-shadow: 0 1px 2px rgba(31, 35, 41, .04); }
.ops-kpi-ico {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 14px; color: #fff;
}
.ops-kpi.tone-coral .ops-kpi-ico { background: linear-gradient(145deg, #f0845f, #E86A4A); }
.ops-kpi.tone-amber .ops-kpi-ico { background: linear-gradient(145deg, #fbbf24, #d97706); }
.ops-kpi.tone-rose .ops-kpi-ico { background: linear-gradient(145deg, #fb7185, #e11d48); }
.ops-kpi.tone-violet .ops-kpi-ico { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.ops-kpi.tone-blue .ops-kpi-ico { background: linear-gradient(145deg, #60a5fa, #2563eb); }
.ops-kpi.tone-green .ops-kpi-ico { background: linear-gradient(145deg, #34d399, #16a34a); }
.ops-kpi.tone-teal .ops-kpi-ico { background: linear-gradient(145deg, #2dd4bf, #0d9488); }
.ops-kpi-body { min-width: 0; flex: 1; }
.ops-kpi-body span {
  display: block; font-size: 12px; color: #8a8178; font-weight: 600; line-height: 1.3;
}
.ops-kpi-body b {
  display: block; margin-top: 4px; font-size: 22px; font-weight: 800; line-height: 1.15;
  font-variant-numeric: tabular-nums; color: #2a241c;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ops-kpi.is-on .ops-kpi-body b,
.ops-kpi.tone-coral .ops-kpi-body b { color: #c4532f; }
.ops-kpi.tone-amber .ops-kpi-body b { color: #b45309; }
.ops-kpi.tone-rose .ops-kpi-body b { color: #be123c; }
.ops-kpi.tone-violet .ops-kpi-body b { color: #6d28d9; }
.ops-kpi.tone-blue .ops-kpi-body b { color: #1d4ed8; }
.ops-kpi.tone-green .ops-kpi-body b { color: #15803d; }
.ops-kpi.tone-teal .ops-kpi-body b { color: #0f766e; }

.ops-block { padding: 0; overflow: hidden; }
.ops-block-sum {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; font-weight: 800; color: #2a211c;
  background: linear-gradient(180deg, #fffaf7, #fff);
}
.ops-block-sum::-webkit-details-marker { display: none; }
.ops-block-sum span { display: inline-flex; align-items: center; gap: 8px; }
.ops-block-sum i { color: var(--brand, #e86a4a); }
.ops-block-sum em { font-style: normal; font-size: 12px; font-weight: 600; color: #8a7468; }
.ops-block[open] > .ops-block-sum { border-bottom: 1px solid var(--line); }
.ops-block-body { padding: 16px; }
.ops-guide-list {
  margin: 0; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.75;
}
.ops-guide-list li { margin-bottom: 4px; }
.ops-guide-list strong { color: var(--ink); }

.ops-filter {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 16px;
}
.ops-filter .input { width: auto; min-width: 140px; flex: 1; }

.ops-create-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.ops-create-grid .form-row { margin: 0; }
.ops-create-grid .ops-span2 { grid-column: span 2; }
.ops-create-submit { display: flex; align-items: end; }
.ops-create-submit .btn { min-height: 42px; }

.ops-batch-bar {
  display: flex; gap: 10px; align-items: center;
  padding: 0 2px;
}
.ops-sec-hd {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.ops-sec-hd strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.ops-sec-hd span, .ops-sec-bar span {
  display: block; margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 500;
}
.ops-sec-bar { padding: 14px 16px; margin: 0; }

.ops-table-wrap { padding: 0; overflow: hidden; }
.ops-table-wrap .ops-sec-hd { padding: 14px 16px 0; }
.ops-table-wrap .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ops-table-wrap .table { margin: 0; min-width: 720px; }
.ops-table-wrap .table th,
.ops-table-wrap .table td { padding: 12px 14px; }
.ops-table-wrap .table th:first-child,
.ops-table-wrap .table td:first-child { padding-left: 16px; }
.ops-table-wrap .table th:last-child,
.ops-table-wrap .table td:last-child { padding-right: 16px; }
.ops-table-wrap tr.is-overdue { background: #fff8f0; }
.ops-check-col { width: 36px; }
.ops-empty {
  text-align: center; padding: 36px 16px !important;
  color: var(--muted); font-size: 13px;
}
.ops-sub { font-size: 12px; margin-top: 2px; }
.ops-due { white-space: nowrap; font-size: 13px; }
.ops-due em {
  display: inline-block; margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 800;
  color: #c0392b; background: #fdeeee; padding: 1px 6px; border-radius: 999px;
}
.ops-tag {
  display: inline-block; padding: 2px 8px; border-radius: 8px; font-size: 12px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand-dark);
}
.ops-contact a { font-size: 12px; color: var(--brand); text-decoration: none; }
.ops-contact a:hover { text-decoration: underline; }
.ops-st {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #eef2f0; color: #4a5c56;
}
.ops-st-0 { background: #fff4e8; color: #b7791f; }
.ops-st-1 { background: #e8f1fb; color: #2b6cb0; }
.ops-st-2 { background: #e7f4ef; color: #1a6b56; }
.ops-st-fu-0 { background: #fff4e8; color: #b7791f; }
.ops-st-fu-1 { background: #e8f1fb; color: #2b6cb0; }
.ops-st-fu-2 { background: #e7f4ef; color: #1a6b56; }
.ops-st-fu-3 { background: #f3f3f3; color: #888; }
.ops-ops { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ops-ops .linkish, .ops-fu-handle-hd .linkish,
.ops-ops button, .ops-inline button {
  background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 650; cursor: pointer;
}
.ops-ops .is-ok, .ops-inline .is-ok { color: #1a6b56; }
.ops-inline { display: inline; margin: 0; }

/* Follow-up cards */
.ops-fu-list { display: grid; gap: 12px; }
.ops-fu-card {
  padding: 0; overflow: hidden;
  display: grid; gap: 0;
}
.ops-fu-card.is-overdue { border-color: #f0c9a8; }
.ops-fu-main {
  display: grid;
  grid-template-columns: minmax(140px, .9fr) minmax(0, 1.4fr) minmax(200px, 1.1fr);
  gap: 16px;
  padding: 16px 18px;
  align-items: start;
}
.ops-fu-who strong { display: block; font-size: 15px; font-weight: 800; }
.ops-fu-who .ops-contact { margin-top: 6px; }
.ops-fu-task strong { display: block; font-size: 14px; font-weight: 750; }
.ops-fu-task p {
  margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5;
}
.ops-fu-task em {
  display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: #8a8178;
}
.ops-fu-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: flex-end;
}
.ops-fu-meta > span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.ops-fu-meta i { color: #c4b5a8; font-size: 11px; }
.ops-fu-handle {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fffaf7, #fff);
  padding: 14px 18px 16px;
}
.ops-fu-handle-hd {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 12px;
}
.ops-fu-handle-hd strong { font-size: 13px; font-weight: 800; color: var(--ink); }
.ops-fu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.ops-fu-grid .form-row { margin: 0; }
.ops-fu-grid .form-row label {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 650; color: var(--muted);
}
.ops-fu-span2 { grid-column: span 2; }
.ops-fu-submit {
  display: flex; align-items: end; justify-content: space-between; gap: 10px;
}
.ops-fu-submit .btn { white-space: nowrap; min-height: 42px; }
.ops-check {
  font-size: 12px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer;
}
.ops-fu-done {
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  background: #fafafa;
}

.ops-modal { width: min(480px, 100%); }
.ops-modal-form { display: grid; gap: 12px; }
.ops-modal-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* AI */
.ops-ai-gen {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
}
.ops-ai-pet { flex: 1; min-width: 220px; margin: 0; }
.ops-ai-pet label {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 650; color: var(--muted);
}
.ops-ai-tip { margin: 12px 0 0; font-size: 13px; }
.ops-ai-list { display: grid; gap: 12px; }
.ops-ai-card { padding: 16px 18px; }
.ops-ai-card.is-risk {
  border-color: rgba(232,106,74,.28);
  background: linear-gradient(180deg, #fffaf7, #fff);
}
.ops-ai-card header {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px;
}
.ops-ai-card header time { margin-left: auto; font-size: 12px; }
.ops-ai-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--ink); }
.ops-ai-card footer { display: flex; flex-wrap: wrap; gap: 8px; }
.ops-ai-type {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.ops-ai-type.tone-green { background: #ecfdf5; color: #047857; }
.ops-ai-type.tone-teal { background: #f0fdfa; color: #0f766e; }
.ops-ai-type.tone-rose { background: #fff1f2; color: #be123c; }
.ops-ai-type.tone-amber { background: #fffbeb; color: #b45309; }
.ops-ai-type.tone-coral { background: #fff5f2; color: #c4532f; }

@media (max-width: 1200px) {
  .ops-fu-main { grid-template-columns: 1fr 1fr; }
  .ops-fu-meta { justify-content: flex-start; }
  .ops-fu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ops-kpis, .ops-kpis-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-create-grid { grid-template-columns: 1fr 1fr; }
  .ops-create-grid .ops-span2 { grid-column: span 2; }
}
@media (max-width: 720px) {
  .ops-fu-main { grid-template-columns: 1fr; padding: 14px; }
  .ops-fu-handle { padding: 12px 14px 14px; }
  .ops-fu-grid { grid-template-columns: 1fr; }
  .ops-fu-span2 { grid-column: span 1; }
  .ops-fu-submit { flex-direction: column; align-items: stretch; }
  .ops-modal-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ops-kpis, .ops-kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-create-grid { grid-template-columns: 1fr; }
  .ops-create-grid .ops-span2 { grid-column: span 1; }
  .ops-create-submit { grid-column: 1 / -1; }
  .ops-create-submit .btn { width: 100%; }
}

/* ===== Ledger bookkeeping (ld-*) ===== */
.ld-page { display: grid; gap: 14px; }
.ld-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap;
}
.ld-top .page-sub { margin-bottom: 0; }
.ld-top-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ld-tip {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  background: linear-gradient(90deg, #fff7f2, #fff);
  border: 1px solid #f0d5c8; color: #8a4f3a; font-size: 13px; line-height: 1.5;
}
.ld-tip i { margin-top: 2px; color: var(--brand); flex-shrink: 0; }

.ld-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ld-kpi {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 14px; min-width: 0;
  background: #fff; border: 1px solid #ebe6e2; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ld-kpi:hover {
  border-color: #e0d8d0;
  box-shadow: 0 8px 20px rgba(31, 35, 41, .07);
  transform: translateY(-1px);
}
.ld-kpi.is-feature {
  background: linear-gradient(165deg, #fff 45%, #fff0ea);
  border-color: #f0d0c2;
}
.ld-kpi-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 16px; color: #fff;
}
.ld-kpi.tone-coral .ld-kpi-ico { background: linear-gradient(145deg, #f0845f, #E86A4A); }
.ld-kpi.tone-amber .ld-kpi-ico { background: linear-gradient(145deg, #fbbf24, #d97706); }
.ld-kpi.tone-green .ld-kpi-ico { background: linear-gradient(145deg, #34d399, #16a34a); }
.ld-kpi.tone-blue .ld-kpi-ico { background: linear-gradient(145deg, #60a5fa, #2563eb); }
.ld-kpi.tone-violet .ld-kpi-ico { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.ld-kpi.tone-teal .ld-kpi-ico { background: linear-gradient(145deg, #2dd4bf, #0d9488); }
.ld-kpi.tone-rose .ld-kpi-ico { background: linear-gradient(145deg, #fb7185, #e11d48); }
.ld-kpi-body { min-width: 0; flex: 1; }
.ld-kpi-body span {
  display: block; font-size: 12px; color: #8a8178; font-weight: 600; letter-spacing: .02em;
}
.ld-kpi-body b {
  display: block; margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.15;
  font-family: var(--display, inherit); font-variant-numeric: tabular-nums;
  letter-spacing: -.02em; color: #2a241c;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ld-kpi.tone-coral .ld-kpi-body b { color: #c4532f; }
.ld-kpi.tone-amber .ld-kpi-body b { color: #b45309; }
.ld-kpi.tone-green .ld-kpi-body b { color: #15803d; }
.ld-kpi.tone-blue .ld-kpi-body b { color: #1d4ed8; }
.ld-kpi-body em {
  display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #9a9088;
}

.ld-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.ld-channel {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 12px; min-width: 0;
  background: #fff; border: 1px solid #ebe6e2; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .03);
}
.ld-channel-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0; font-size: 15px;
}
.ld-channel.tone-green .ld-channel-ico { background: #ecfdf5; color: #059669; }
.ld-channel.tone-blue .ld-channel-ico { background: #eff6ff; color: #2563eb; }
.ld-channel.tone-amber .ld-channel-ico { background: #fffbeb; color: #d97706; }
.ld-channel.tone-violet .ld-channel-ico { background: #f5f3ff; color: #7c3aed; }
.ld-channel.tone-teal .ld-channel-ico { background: #f0fdfa; color: #0d9488; }
.ld-channel.tone-rose .ld-channel-ico { background: #fff1f2; color: #e11d48; }
.ld-channel.tone-coral .ld-channel-ico { background: #fff5f2; color: #E86A4A; }
.ld-channel-body { min-width: 0; }
.ld-channel-body span {
  display: block; font-size: 12px; color: #8a8178; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ld-channel-body b {
  display: block; margin-top: 2px; font-size: 18px; font-weight: 800;
  font-variant-numeric: tabular-nums; color: #2a241c; line-height: 1.2;
}
.ld-channel-body em {
  display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: #9a9088;
}

.ld-form.panel, .ld-list.panel { padding: 0; overflow: hidden; }
.ld-sec-hd {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 14px 16px 0;
}
.ld-sec-hd strong {
  display: block; font-size: 15px; font-weight: 800; color: var(--ink);
}
.ld-sec-hd p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.ld-form-body { padding: 12px 16px 16px; }
.ld-form-primary {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.ld-form-primary .form-row { margin: 0; }
.ld-form-primary label {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 650; color: var(--muted);
}
.ld-form-primary label abbr { color: var(--brand); text-decoration: none; margin-left: 2px; }
.ld-amount-wrap {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.ld-amount-wrap:focus-within {
  border-color: #f0b49e;
  box-shadow: 0 0 0 3px rgba(232, 106, 74, .12);
}
.ld-amount-wrap > span {
  padding: 0 0 0 12px; font-weight: 800; color: #c4532f; font-size: 16px;
}
.ld-amount-wrap .input {
  border: 0; box-shadow: none; background: transparent;
  font-size: 20px; font-weight: 800; color: #c4532f;
  font-variant-numeric: tabular-nums; padding: 10px 12px;
}
.ld-amount-wrap .input:focus { outline: none; box-shadow: none; }
.ld-form-submit { display: flex; align-items: end; }
.ld-form-submit .btn {
  min-height: 44px; padding: 0 18px; font-weight: 750; white-space: nowrap;
}
.ld-more {
  margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px;
}
.ld-more > summary {
  cursor: pointer; list-style: none; user-select: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; color: var(--muted);
  padding: 4px 0;
}
.ld-more > summary::-webkit-details-marker { display: none; }
.ld-more > summary:hover { color: var(--brand); }
.ld-more[open] > summary { color: var(--brand-dark); margin-bottom: 10px; }
.ld-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ld-more-grid .form-row { margin: 0; }

.ld-table { min-width: 720px; }
.ld-table th.num, .ld-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ld-table th.act, .ld-table td.act { width: 56px; text-align: right; }
.ld-table td.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px; color: #5a524c;
}
.ld-table td.muted-cell { color: var(--muted); font-size: 13px; }
.ld-table td.amount { font-weight: 750; color: #c4532f; white-space: nowrap; }
.ld-empty {
  text-align: center !important; padding: 36px 12px !important;
  color: var(--muted); font-size: 13px;
}
.ld-empty i { margin-right: 6px; opacity: .7; }
.ld-pay {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650;
  max-width: 100%;
}
.ld-pay i { font-size: 12px; }
.ld-pay.tone-green { background: #ecfdf5; color: #047857; }
.ld-pay.tone-blue { background: #eff6ff; color: #1d4ed8; }
.ld-pay.tone-amber { background: #fffbeb; color: #b45309; }
.ld-pay.tone-violet { background: #f5f3ff; color: #6d28d9; }
.ld-pay.tone-teal { background: #f0fdfa; color: #0f766e; }
.ld-pay.tone-rose { background: #fff1f2; color: #be123c; }
.ld-pay.tone-coral { background: #fff5f2; color: #c4532f; }

.ld-pager {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px;
}
.ld-pager-meta { color: var(--muted); }
.ld-pager-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ld-pager-cur {
  padding: 0 8px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums;
}
.ld-pager .btn.is-disabled,
.ld-pager span.btn.is-disabled {
  opacity: .4; pointer-events: none; cursor: default;
}

@media (max-width: 1100px) {
  .ld-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-form-primary { grid-template-columns: 1fr 1fr; }
  .ld-form-submit { grid-column: 1 / -1; }
  .ld-form-submit .btn { width: 100%; }
}
@media (max-width: 720px) {
  .ld-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ld-kpi { padding: 12px 10px; }
  .ld-kpi-body b { font-size: 18px; }
  .ld-form-primary { grid-template-columns: 1fr; }
  .ld-more-grid { grid-template-columns: 1fr; }
  .ld-pager { justify-content: center; }
  .ld-pager-meta { width: 100%; text-align: center; }
}




/* DIY ?????? */
.h5-app.h5-is-embed { min-height: 100%; background: #f7f8fa; }
.h5-app.h5-is-embed .h5-body { padding-bottom: 16px; }

.om-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.om-kpi {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.om-kpi span { font-size: 12px; color: var(--muted); font-weight: 650; }
.om-kpi strong { font-size: 22px; font-weight: 800; color: #1f1714; }
.om-kpi.is-link:hover { border-color: #e86a4a; }
.om-empty i {
  display: block;
  font-size: 28px;
  color: #e86a4a;
  margin-bottom: 10px;
}
.om-empty strong { display: block; color: #2a241c; margin-bottom: 4px; font-size: 15px; }
.om-empty span { display: block; font-size: 12px; line-height: 1.5; color: #8a837a; }
@media (max-width: 720px) {
  .om-kpi-row { grid-template-columns: 1fr; }
}

.navp {
  min-height: 70vh;
  padding: 4px 0 28px;
  background:
    radial-gradient(90% 40% at 50% -8%, rgba(232,106,74,.16), transparent 55%),
    linear-gradient(180deg, #faf5f1 0%, #f3ebe4 100%);
}
.navp-top {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 6px;
}
.navp-back, .navp-spacer { width: 40px; height: 40px; }
.navp-back {
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.95); color: #2c221c; text-decoration: none;
  box-shadow: 0 4px 14px rgba(44,34,28,.07);
}
.navp-top-text { text-align: center; }
.navp-top-text h1 { margin: 0; font-size: 18px; font-weight: 800; color: #1f1714; }
.navp-top-text p { margin: 4px 0 0; font-size: 12px; color: #9a8f86; }
.navp-card {
  margin: 14px 18px 0;
  padding: 28px 20px 24px;
  text-align: center;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(232,106,74,.08);
  box-shadow: 0 14px 32px rgba(120,70,40,.08);
}
.navp-pin {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f08a68, #e86a4a);
  color: #fff; font-size: 22px;
  box-shadow: 0 10px 22px rgba(232,106,74,.28);
}
.navp-card h2 { margin: 0; font-size: 22px; font-weight: 800; color: #1f1714; }
.navp-addr { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: #5a5348; }
.navp-hours { margin: 10px 0 0; font-size: 12px; color: #9a8f86; }
.navp-actions { display: grid; gap: 10px; margin: 18px 18px 0; }
.navp-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 800; letter-spacing: .04em;
}
.navp-btn-main {
  background: linear-gradient(135deg, #f08a68, #e86a4a 55%, #de5538);
  color: #fff; box-shadow: 0 12px 24px rgba(232,106,74,.28);
}
.navp-btn-ghost {
  background: #fff; color: #e86a4a; border: 1.5px solid rgba(232,106,74,.35);
}
.navp-empty {
  padding: 14px; border-radius: 14px; background: #fff; color: #8a8178;
  font-size: 13px; text-align: center; border: 1px dashed #e5ddd6;
}
.h5-body:has(.navp) { background: #f6f1ec; }

/* === CTA contrast locks (H5 + shared solid anchors) === */
/* Solid fills: keep light (or designed) text on hover/active/focus — beat a { color: var(--brand) } */
a.vt-btn-main,
a.vt-btn-main:link,
a.vt-btn-main:visited,
a.vt-btn-main:hover,
a.vt-btn-main:active,
a.vt-btn-main:focus,
a.navp-btn-main,
a.navp-btn-main:link,
a.navp-btn-main:visited,
a.navp-btn-main:hover,
a.navp-btn-main:active,
a.navp-btn-main:focus,
a.spd-btn-main,
a.spd-btn-main:link,
a.spd-btn-main:visited,
a.spd-btn-main:hover,
a.spd-btn-main:active,
a.spd-btn-main:focus,
a.sp-empty-btn,
a.sp-empty-btn:link,
a.sp-empty-btn:visited,
a.sp-empty-btn:hover,
a.sp-empty-btn:active,
a.sp-empty-btn:focus,
a.item-detail-cta-main:not(.is-off),
a.item-detail-cta-main:not(.is-off):link,
a.item-detail-cta-main:not(.is-off):visited,
a.item-detail-cta-main:not(.is-off):hover,
a.item-detail-cta-main:not(.is-off):active,
a.item-detail-cta-main:not(.is-off):focus,
a.h5-call-btn,
a.h5-call-btn:link,
a.h5-call-btn:visited,
a.h5-call-btn:hover,
a.h5-call-btn:active,
a.h5-call-btn:focus {
  color: #fff;
  text-decoration: none;
}
a.item-detail-cta-main.is-off,
a.item-detail-cta-main.is-off:link,
a.item-detail-cta-main.is-off:visited,
a.item-detail-cta-main.is-off:hover,
a.item-detail-cta-main.is-off:active,
a.item-detail-cta-main.is-off:focus {
  color: #8a8178;
  text-decoration: none;
}
/* Metallic gold CTA on dark */
a.vipc-btn-main,
a.vipc-btn-main:link,
a.vipc-btn-main:visited,
a.vipc-btn-main:hover,
a.vipc-btn-main:active,
a.vipc-btn-main:focus {
  color: #f0d78a;
  text-decoration: none;
}
/* Ghost / outline CTAs: keep designed accent, not washed by link defaults */
a.vt-btn-ghost,
a.vt-btn-ghost:link,
a.vt-btn-ghost:visited,
a.navp-btn-ghost,
a.navp-btn-ghost:link,
a.navp-btn-ghost:visited,
a.spd-btn-ghost,
a.spd-btn-ghost:link,
a.spd-btn-ghost:visited {
  color: #e86a4a;
  text-decoration: none;
}
a.vt-btn-ghost:hover,
a.vt-btn-ghost:active,
a.vt-btn-ghost:focus,
a.navp-btn-ghost:hover,
a.navp-btn-ghost:active,
a.navp-btn-ghost:focus,
a.spd-btn-ghost:hover,
a.spd-btn-ghost:active,
a.spd-btn-ghost:focus {
  color: #c4532f;
}
a.vipc-btn-ghost,
a.vipc-btn-ghost:link,
a.vipc-btn-ghost:visited {
  color: #2a241c;
  text-decoration: none;
}
a.vipc-btn-ghost:hover,
a.vipc-btn-ghost:active,
a.vipc-btn-ghost:focus {
  color: #1a1612;
}
a.item-detail-cta-back,
a.item-detail-cta-back:link,
a.item-detail-cta-back:visited,
a.item-detail-cta-back:hover,
a.item-detail-cta-back:active,
a.item-detail-cta-back:focus {
  color: #5a5348;
  text-decoration: none;
}
a.item-detail-cta-call,
a.item-detail-cta-call:link,
a.item-detail-cta-call:visited,
a.item-detail-cta-call:hover,
a.item-detail-cta-call:active,
a.item-detail-cta-call:focus {
  color: #e86a4a;
  text-decoration: none;
}
a.vt-back,
a.vt-back:link,
a.vt-back:visited,
a.vt-back:hover,
a.vt-back:active,
a.vt-back:focus {
  color: #2c221c;
  text-decoration: none;
}
/* Native submit / button solid CTAs (touch :hover sticky on mobile) */
.ck-submit,
.ck-submit:hover,
.ck-submit:active,
.ck-submit:focus {
  color: #fff;
}
.vt-btn-main:hover,
.vt-btn-main:active,
.navp-btn-main:hover,
.navp-btn-main:active,
.spd-btn-main:hover,
.spd-btn-main:active,
.sp-empty-btn:hover,
.sp-empty-btn:active {
  color: #fff;
  filter: brightness(1.04);
}
.vipc-btn-main:hover,
.vipc-btn-main:active {
  color: #f0d78a;
  filter: brightness(1.06);
}
/* Extra H5 solid anchor locks */
a.h5-hero-orb,
a.h5-hero-orb:link,
a.h5-hero-orb:visited,
a.h5-hero-orb:hover,
a.h5-hero-orb:active,
a.h5-hero-orb:focus {
  color: #fff;
  text-decoration: none;
}
a.pets-head-add,
a.pets-head-add:link,
a.pets-head-add:visited,
a.pets-head-add:hover,
a.pets-head-add:active,
a.pets-head-add:focus {
  color: #fff;
  text-decoration: none;
}

.om-start-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink, #2c221c);
  line-height: 1.4;
}
