:root {
  --blue-900: #0a4faf;
  --blue-700: #1677e8;
  --blue-500: #27a6f4;
  --cyan-400: #55d4e8;
  --ink: #172235;
  --text: #2c3648;
  --muted: #8a95a6;
  --line: #e8eef6;
  --page: #eef8ff;
  --card: #ffffff;
  --orange: #ff9548;
  --orange-deep: #f25b35;
  --gold: #ffd37a;
  --green: #22b979;
  --red: #ef5146;
  --shadow-soft: 0 10px 26px rgba(21, 106, 178, 0.12);
  --shadow-strong: 0 26px 70px rgba(17, 67, 128, 0.24);
  --radius-card: 18px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(19, 120, 232, 0.08), transparent 38%),
    radial-gradient(circle at 72% 12%, rgba(255, 182, 92, 0.18), transparent 28%),
    #f4f8fc;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.access-gate {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(10, 79, 175, 0.94), rgba(23, 119, 232, 0.72)),
    linear-gradient(180deg, #f6fbff, #eaf5ff);
}

.access-gate::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 180px;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(255, 255, 255, 0.28) 10% 11%, transparent 11% 28%, rgba(255, 255, 255, 0.22) 28% 29%, transparent 29%),
    linear-gradient(165deg, transparent 42%, rgba(255, 255, 255, 0.34) 43% 44%, transparent 45%);
  opacity: 0.72;
  pointer-events: none;
}

.access-card {
  position: relative;
  display: grid;
  width: min(420px, 100%);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 30px;
  box-shadow: 0 24px 72px rgba(8, 45, 92, 0.3);
}

.access-eyebrow,
.access-intro,
.access-note,
.access-error {
  margin: 0;
}

.access-eyebrow {
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 800;
}

.access-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.access-intro {
  color: #4b5b71;
  font-size: 15px;
  line-height: 1.7;
}

.access-field {
  display: grid;
  gap: 8px;
}

.access-field span {
  color: #304159;
  font-size: 14px;
  font-weight: 800;
}

.access-field input {
  width: 100%;
  height: 46px;
  border: 1px solid #cddceb;
  border-radius: 6px;
  background: #fbfdff;
  padding: 0 14px;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.access-field input:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(22, 119, 232, 0.14);
}

.access-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.access-error {
  min-height: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.access-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(10, 79, 175, 0.26);
}

.access-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.access-note {
  color: #718096;
  font-size: 12px;
  line-height: 1.6;
}

.access-granted .access-gate {
  display: none;
}

.demo-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
  visibility: hidden;
}

.access-granted .demo-shell {
  visibility: visible;
}

.demo-notes {
  display: none;
}

.phone {
  position: relative;
  overflow: hidden;
  width: 390px;
  height: 844px;
  border: 10px solid #111827;
  border-radius: 44px;
  background: var(--page);
  box-shadow: var(--shadow-strong);
}

@media (max-height: 900px) and (min-width: 821px) {
  .phone,
  .state-panel {
    zoom: 0.78;
  }
}

.status-bar {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 26px;
  color: #101927;
  font-size: 16px;
  font-weight: 800;
  pointer-events: none;
}

.status-icons {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.app {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.page {
  position: relative;
  isolation: isolate;
  height: 100%;
  overflow: hidden auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 54px 18px 104px;
  background: linear-gradient(180deg, #94c9ff 0%, #dff1ff 34%, #f7fbff 100%);
}

.page::-webkit-scrollbar {
  display: none;
}

.page.has-tab {
  padding-bottom: 120px;
}

.page::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: 260px;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.45), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 80%);
}

.points-page,
.claim-page,
.mall-page,
.detail-page,
.result-page,
.orders-page,
.ledger-page {
  padding-bottom: 34px;
  background: linear-gradient(180deg, #94c9ff 0%, #dff1ff 34%, #f7fbff 100%);
}

.detail-page {
  padding-bottom: 112px;
}

.points-page {
  padding-top: 48px;
}

.points-page .nav-top {
  margin-bottom: 10px;
}

.airport-lines {
  position: absolute;
  z-index: -1;
  top: 58px;
  left: -22px;
  right: -18px;
  height: 150px;
  opacity: 0.38;
  pointer-events: none;
}

.airport-lines::before {
  content: "";
  position: absolute;
  left: 58px;
  right: 14px;
  top: 78px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 0;
  transform: skewX(14deg);
}

.airport-lines::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 30px;
  width: 34px;
  height: 92px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px 18px 4px 4px;
  transform: skewY(-8deg);
}

.nav-top {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 42px 1fr 86px;
  align-items: center;
  min-height: 42px;
  margin-bottom: 14px;
}

.back-btn,
.mini-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(42, 112, 170, 0.08);
}

.back-btn {
  width: 36px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.mini-menu {
  justify-self: end;
  width: 82px;
  gap: 10px;
  font-size: 19px;
}

.mini-menu .circle {
  width: 23px;
  height: 23px;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.page-title {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.member-hero {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 58px;
}

.avatar-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.9), transparent 20%),
    linear-gradient(145deg, #4aa9ff, #176cdb);
  box-shadow: 0 8px 18px rgba(22, 108, 210, 0.22);
  overflow: hidden;
}

.avatar-head {
  position: absolute;
  top: 20px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
}

.avatar-body {
  position: absolute;
  bottom: 13px;
  width: 50px;
  height: 30px;
  border-radius: 26px 26px 12px 12px;
  background: rgba(255, 255, 255, 0.96);
}

.login-title {
  margin: 0;
  color: #0f5ad2;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.welcome-pill {
  display: inline-flex;
  max-width: 100%;
  margin-top: 9px;
  border-radius: 8px;
  background: var(--blue-700);
  padding: 7px 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.member-info-card {
  margin-top: 12px;
  border: 1.5px solid rgba(31, 136, 235, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 139, 232, 0.11), transparent 30%),
    rgba(255, 255, 255, 0.94);
  padding: 15px 16px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(23, 115, 213, 0.07);
}

.member-info-card h2 {
  margin: 0 0 10px;
  color: #0f5ad2;
  font-size: 20px;
  font-weight: 900;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  color: #2876bf;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-btn,
.orange-btn,
.secondary-btn,
.blue-btn,
.done-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.primary-btn,
.blue-btn {
  background: linear-gradient(135deg, #168be8, #0f67de);
  color: #fff;
  box-shadow: 0 8px 16px rgba(17, 111, 225, 0.22);
}

.member-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 11px;
}

.member-entry-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 88px;
  border: 1.5px solid rgba(31, 136, 235, 0.18);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  padding: 13px 13px 13px 15px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 18px rgba(23, 115, 213, 0.07);
}

.member-entry-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #168be8, #0f67de);
}

.member-entry-card span {
  position: relative;
  z-index: 1;
  color: #2876bf;
  font-size: 13px;
  font-weight: 900;
}

.member-entry-card strong {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: #0f5ad2;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.member-entry-card small {
  font-size: 12px;
  font-weight: 800;
}

.member-entry-card em {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: #6d7f94;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.points-card {
  background:
    radial-gradient(circle at 94% 12%, rgba(22, 139, 232, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.96);
  color: #0f5ad2;
}

.points-card::before {
  background: linear-gradient(180deg, #168be8, #0f67de);
}

.mall-card {
  background:
    radial-gradient(circle at 94% 12%, rgba(22, 139, 232, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.96);
  color: #0f5ad2;
}

.mall-card::before {
  background: linear-gradient(180deg, #38a9ee, #1677e8);
}

.points-entry-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label arrow"
    "value arrow"
    "hint arrow";
  align-items: center;
  width: 100%;
  min-height: 92px;
  margin-top: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, #168be8 0%, #0f67de 100%);
  padding: 15px 18px;
  color: #fff;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 14px 28px rgba(20, 113, 220, 0.22);
}

.points-entry-card::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -42px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.points-entry-card::after {
  content: "";
  position: absolute;
  right: 46px;
  bottom: -40px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.points-entry-label,
.points-entry-card strong,
.points-entry-hint,
.points-entry-arrow {
  position: relative;
  z-index: 1;
}

.points-entry-label {
  grid-area: label;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.9;
}

.points-entry-card strong {
  grid-area: value;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.points-entry-card small {
  font-size: 15px;
  font-weight: 800;
}

.points-entry-hint {
  grid-area: hint;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.points-entry-arrow {
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.orange-btn {
  background: linear-gradient(135deg, #e8f5ff, #cfeaff);
  color: #0f67c7;
  box-shadow: inset 0 0 0 1px rgba(31, 136, 235, 0.18);
}

.secondary-btn {
  background: #f0f8ff;
  color: #1174c5;
  box-shadow: inset 0 0 0 1px rgba(31, 136, 235, 0.18);
}

.done-btn {
  min-width: 78px;
  background: #f4f6fa;
  color: #8b94a5;
}

.card-group {
  margin-top: 10px;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(23, 115, 213, 0.06);
}

.menu-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  color: #303848;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.menu-row + .menu-row {
  border-top: 1px solid #eef2f7;
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #8a9ab0;
}

.menu-icon svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chevron {
  color: #9aa3af;
  font-size: 25px;
  line-height: 1;
}

.orange-status {
  color: #ff6f2e;
  font-size: 13px;
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ed2f2f;
}

.tabbar {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 74px;
  border-top: 1px solid rgba(229, 236, 246, 0.95);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -8px 22px rgba(36, 99, 149, 0.1);
}

.tab {
  display: grid;
  place-items: center;
  gap: 4px;
  align-content: center;
  color: #647386;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.tab.active {
  color: var(--blue-700);
}

.tab-symbol {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  line-height: 1;
}

.tab-symbol svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab.active .tab-symbol {
  color: #0878e7;
}

.tab.active .tab-symbol svg {
  stroke-width: 2.35;
}

.balance-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 96px;
  margin-top: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #168be8 0%, #0f67de 100%);
  padding: 20px 18px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(17, 103, 223, 0.22);
}

.mall-page .balance-card {
  min-height: 88px;
  margin-top: 10px !important;
}

.balance-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -20px;
  width: 110px;
  height: 126px;
  border-radius: 56px;
  background: rgba(255, 255, 255, 0.08);
}

.points-num {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
}

.points-unit {
  margin-left: 5px;
  font-size: 16px;
  font-weight: 800;
}

.detail-link {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.mall-points-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 52px;
  margin-top: 10px;
  border: 1px solid rgba(31, 136, 235, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 13px;
  box-shadow: 0 6px 16px rgba(23, 115, 213, 0.06);
}

.mall-points-bar span {
  display: block;
  color: #718094;
  font-size: 12px;
  font-weight: 800;
}

.mall-points-bar strong {
  display: block;
  margin-top: 2px;
  color: #0f5ad2;
  font-size: 18px;
  font-weight: 900;
}

.mall-orders-link {
  min-height: 32px;
  border-radius: 999px;
  background: #e8f5ff;
  padding: 0 12px;
  color: #147ee1;
  font-size: 13px;
  font-weight: 900;
}

.mall-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  margin: 14px 0 22px;
  border: 1.5px solid rgba(31, 136, 235, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 12%, rgba(22, 139, 232, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 255, 0.96));
  padding: 14px 14px 14px 18px;
  color: #0f67c7;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 9px 20px rgba(23, 115, 213, 0.07);
}

.mall-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #168be8, #0f67de);
}

.mall-banner strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #0f5ad2;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.mall-banner span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  color: #6d7f94;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.coin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #e8f5ff;
  color: #1677e8;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(31, 136, 235, 0.16);
}

.section-title {
  margin: 0 0 12px;
  color: #1e3045;
  font-size: 19px;
  font-weight: 900;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0;
  color: #1e3045;
  font-size: 18px;
  font-weight: 900;
}

.section-head button {
  color: #147ee1;
  font-size: 13px;
  font-weight: 900;
}

.claim-record-card,
.claim-record-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.claim-record-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px;
  box-shadow: 0 8px 18px rgba(22, 112, 190, 0.07);
}

.claim-record-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(31, 136, 235, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 14px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(22, 112, 190, 0.07);
}

.claim-record-entry strong {
  display: block;
  color: #203149;
  font-size: 15px;
  font-weight: 900;
}

.claim-record-entry span {
  display: block;
  margin-top: 3px;
  color: #718094;
  font-size: 12px;
  line-height: 1.3;
}

.claim-record-entry em {
  color: #147ee1;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.claim-record-list {
  margin-top: 16px;
}

.claim-record-row {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(31, 136, 235, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px;
}

.claim-record-list .claim-record-row {
  box-shadow: 0 8px 18px rgba(22, 112, 190, 0.07);
}

.claim-record-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.claim-record-row h3 {
  margin: 0 0 5px;
  color: #273246;
  font-size: 16px;
  font-weight: 900;
}

.claim-record-row p {
  display: block;
  margin: 0;
  color: #8793a5;
  font-size: 12px;
  line-height: 1.45;
}

.claim-record-top > span {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.claim-record-top > span.pending {
  background: #e8f5ff;
  color: #147ee1;
}

.claim-record-top > span.success {
  background: #edf9f4;
  color: #18a66a;
}

.claim-record-top > span.failed {
  background: #fff1ef;
  color: #e45c45;
}

.claim-record-meta {
  display: grid;
  gap: 0;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.claim-record-meta div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 32px;
}

.claim-record-meta div + div {
  border-top: 1px solid #eef2f7;
}

.claim-record-meta span {
  color: #8793a5;
  font-size: 12px;
  font-weight: 700;
}

.claim-record-meta strong {
  min-width: 0;
  color: #526275;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.claim-record-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: #f4faff;
  padding: 10px 12px;
}

.claim-record-result span {
  color: #718094;
  font-size: 12px;
  font-weight: 800;
}

.claim-record-result strong {
  color: #147ee1;
  font-size: 15px;
  font-weight: 900;
}

.claim-record-result.success {
  background: #edf9f4;
}

.claim-record-result.success strong {
  color: #18a66a;
}

.claim-record-result.failed {
  background: #fff1ef;
}

.claim-record-result.failed strong {
  color: #e45c45;
}

.task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 10px;
  align-items: center;
  min-height: 80px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: #fff;
  padding: 14px 13px 14px 15px;
  box-shadow: 0 8px 18px rgba(22, 112, 190, 0.07);
}

.task-title {
  margin: 0 0 8px;
  color: #2d3545;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.task-title span {
  color: #1482dc;
  font-size: 13px;
  font-weight: 700;
}

.task-desc {
  margin: 0;
  color: #8793a5;
  font-size: 13px;
  line-height: 1.5;
}

.task-side {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
}

.task-card .orange-btn,
.task-card .done-btn {
  width: 76px;
  min-width: 76px;
  min-height: 38px;
  padding: 0;
  font-size: 14px;
}

.progress {
  display: block;
  margin-top: 5px;
  width: 76px;
  color: #98a0ad;
  text-align: center;
  font-size: 12px;
  line-height: 1;
}

.content-card {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  border: 1px solid rgba(31, 136, 235, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.claim-page .content-card,
.detail-page .content-card,
.result-page .content-card,
.orders-page .content-card,
.ledger-page .content-card {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin: 14px 0 7px;
  color: #526275;
  font-size: 13px;
  font-weight: 900;
}

.field {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce7f3;
  border-radius: 13px;
  background: #f7fbff;
  padding: 0 13px;
  color: #243145;
  outline: none;
}

.field:focus {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(39, 166, 244, 0.12);
}

.notice {
  border-radius: 13px;
  background: #eef8ff;
  padding: 10px 12px;
  color: #356986;
  font-size: 12px;
  line-height: 1.5;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.actions > button,
.fixed-action > button {
  width: 100%;
}

.result-symbol {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 20px auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #168be8, #0f67de);
  color: #fff;
  font-size: 43px;
  font-weight: 900;
}

.result-symbol.failed {
  background: linear-gradient(135deg, #ff7b61, #ea463c);
}

.result-title {
  margin: 0;
  color: #202c3d;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.result-desc {
  margin: 12px 0 0;
  color: #687487;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.ledger-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 16px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  padding: 5px;
  box-shadow: inset 0 0 0 1px rgba(31, 136, 235, 0.1);
}

.ledger-tabs button {
  min-height: 36px;
  border-radius: 999px;
  color: #5f7188;
  font-size: 14px;
  font-weight: 900;
}

.ledger-tabs button.active {
  background: linear-gradient(135deg, #168be8, #0f67de);
  color: #fff;
  box-shadow: 0 6px 14px rgba(17, 111, 225, 0.18);
}

.ledger-page .content-card {
  margin-top: 0;
}

.orders-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ledger-row,
.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid #eef2f7;
  padding: 13px 0;
}

.order-row {
  position: relative;
  width: 100%;
  min-height: 88px;
  border: 1px solid rgba(31, 136, 235, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px 15px;
  color: inherit;
  text-align: left;
  box-shadow: 0 8px 20px rgba(22, 112, 190, 0.07);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row h3,
.order-row h3 {
  margin: 0 0 5px;
  color: #273246;
  font-size: 16px;
  font-weight: 900;
}

.ledger-row p,
.order-row p {
  margin: 0;
  color: #8793a5;
  font-size: 12px;
  line-height: 1.45;
}

.order-side {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.order-side strong {
  color: #147ee1;
  font-size: 15px;
  font-weight: 900;
}

.order-side span {
  color: #8da0b7;
  font-size: 12px;
  font-weight: 800;
}

.plus {
  color: #147ee1;
  font-weight: 900;
  white-space: nowrap;
}

.minus {
  color: #e45c45;
  font-weight: 900;
  white-space: nowrap;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: #8a95a6;
  font-size: 14px;
  font-weight: 800;
}

.order-detail-card h2 {
  margin: 14px 0 14px;
  color: #203149;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.order-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: #eef8ff;
  padding: 12px 14px;
}

.order-status-line span {
  color: #147ee1;
  font-size: 15px;
  font-weight: 900;
}

.order-status-line strong {
  color: #e45c45;
  font-size: 16px;
  font-weight: 900;
}

.order-info-block {
  margin-top: 14px;
  border-radius: 16px;
  background: #fbfdff;
  padding: 14px;
}

.order-info-block h3 {
  margin: 0 0 8px;
  color: #203149;
  font-size: 15px;
  font-weight: 900;
}

.order-info-list {
  display: grid;
}

.order-info-list div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
}

.order-info-list div + div {
  border-top: 1px solid #eef2f7;
}

.order-info-list span {
  color: #718094;
  font-size: 13px;
  font-weight: 700;
}

.order-info-list strong {
  min-width: 0;
  color: #203149;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.verify-card {
  display: grid;
  justify-items: center;
  margin-top: 0;
  border-radius: 18px;
  background: #f5fbff;
  padding: 18px 16px 16px;
}

.verify-card h3 {
  margin: 0;
  color: #203149;
  font-size: 17px;
  font-weight: 900;
}

.verify-card p {
  margin: 7px 0 14px;
  color: #718094;
  font-size: 13px;
}

.verify-card small {
  margin-top: 10px;
  color: #718094;
  font-size: 12px;
  font-weight: 800;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(13, 8px);
  grid-template-rows: repeat(13, 8px);
  gap: 3px;
  border: 10px solid #fff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 103, 223, 0.12);
}

.qr-code span {
  border-radius: 2px;
  background: #edf6ff;
}

.qr-code span.filled {
  background: #15243a;
}

.usage-guide {
  margin-top: 12px;
  border-radius: 16px;
  background: #f8fbff;
  padding: 14px;
}

.usage-guide h3 {
  margin: 0 0 10px;
  color: #203149;
  font-size: 15px;
  font-weight: 900;
}

.usage-guide ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.usage-guide li {
  position: relative;
  padding-left: 14px;
  color: #687487;
  font-size: 13px;
  line-height: 1.5;
}

.usage-guide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #168be8;
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin: 16px -18px 14px 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 14px;
  color: #427391;
  font-size: 13px;
  font-weight: 900;
}

.category-tabs button.active {
  background: #127ee1;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: 92px 1fr;
  min-height: 184px;
  border-radius: 17px;
  border: 1px solid rgba(31, 136, 235, 0.08);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 20px rgba(22, 112, 190, 0.09);
}

.product-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(135deg, #eaf8ff, #cfeaff);
  color: #147bd2;
  font-size: 32px;
  font-weight: 900;
}

.product-art img,
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: grid;
  grid-template-rows: minmax(42px, auto) auto;
  padding: 11px;
}

.product-body h3 {
  margin: 0;
  color: #273246;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  color: #8e98a7;
  font-size: 12px;
}

.price {
  color: #147ee1;
  font-weight: 900;
  white-space: nowrap;
}

.detail-hero {
  display: grid;
  place-items: center;
  overflow: hidden;
  height: 168px;
  margin: 12px 0 14px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(135deg, #eaf8ff, #cfeaff);
  color: #147bd2;
  font-size: 54px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.pill-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pill-line span {
  border-radius: 999px;
  background: #eef8ff;
  padding: 6px 10px;
  color: #427391;
  font-size: 12px;
  font-weight: 800;
}

.product-summary {
  margin: 12px 0 14px;
  color: #4f6378;
  font-size: 14px;
  line-height: 1.65;
}

.detail-section {
  border-top: 1px solid #eef2f7;
  padding: 13px 0 2px;
}

.detail-section h3 {
  margin: 0 0 9px;
  color: #203149;
  font-size: 15px;
  font-weight: 900;
}

.detail-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-section li {
  position: relative;
  padding-left: 14px;
  color: #687487;
  font-size: 13px;
  line-height: 1.55;
}

.detail-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #168be8;
}

.fixed-action {
  position: absolute;
  z-index: 40;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 0;
  margin: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0), rgba(247, 251, 255, 0.96) 30%, rgba(247, 251, 255, 0.98));
  padding: 28px 0 0;
}

.fixed-action > button {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
}

.redeem-modal {
  position: absolute;
  z-index: 70;
  inset: 0;
  display: grid;
  align-items: end;
}

.redeem-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 52, 0.34);
}

.redeem-dialog {
  position: relative;
  z-index: 1;
  margin: 0 14px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  padding: 20px 18px 18px;
  box-shadow: 0 22px 48px rgba(12, 42, 82, 0.24);
}

.redeem-dialog h3 {
  margin: 0;
  color: #172235;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.redeem-subtitle {
  margin: 8px 0 16px;
  color: #6d7f94;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.redeem-summary {
  display: grid;
  gap: 0;
  border-radius: 16px;
  background: #f4faff;
  overflow: hidden;
}

.redeem-summary > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
}

.redeem-summary > div + div {
  border-top: 1px solid #e5f0fa;
}

.redeem-summary span {
  color: #718094;
  font-size: 13px;
  font-weight: 700;
}

.redeem-summary strong {
  min-width: 0;
  color: #203149;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.redeem-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.redeem-actions button {
  width: 100%;
  min-height: 44px;
}

.toast {
  position: absolute;
  z-index: 80;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 310px;
  border-radius: 999px;
  background: rgba(24, 34, 49, 0.92);
  padding: 12px 16px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.admin-active .demo-shell {
  justify-content: center;
}

.phone.admin-mode {
  width: min(1060px, calc(100vw - 330px));
  height: 720px;
  border: 1px solid rgba(205, 221, 238, 0.95);
  border-radius: 28px;
  background: #f5f9fd;
  box-shadow: 0 28px 80px rgba(24, 83, 139, 0.18);
}

.phone.admin-mode .status-bar {
  display: none;
}

.admin-page {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(42, 139, 236, 0.08), transparent 36%),
    #f5f9fd;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid #e2ebf5;
  background: linear-gradient(180deg, #fafdff, #edf6ff);
  padding: 26px 18px;
}

.admin-brand {
  display: grid;
  gap: 5px;
  color: #12233c;
}

.admin-brand span {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.admin-brand strong {
  font-size: 20px;
  line-height: 1.2;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu button {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 14px;
  color: #58708c;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

.admin-menu button.active {
  background: linear-gradient(135deg, #198cec, #1169d7);
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 119, 232, 0.24);
}

.admin-main {
  min-width: 0;
  overflow: auto;
  padding: 24px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-header p,
.admin-panel-head p {
  margin: 0;
  color: #71839a;
  font-size: 13px;
  font-weight: 700;
}

.admin-header h1 {
  margin: 4px 0 0;
  color: #13233b;
  font-size: 28px;
  letter-spacing: 0;
}

.admin-primary {
  min-height: 40px;
  border-radius: 12px;
  background: #147ee1;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-stat-card {
  display: grid;
  gap: 5px;
  border: 1px solid #e2ebf5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 15px;
  box-shadow: 0 10px 24px rgba(35, 91, 143, 0.08);
}

.admin-stat-card span {
  color: #71839a;
  font-size: 12px;
  font-weight: 800;
}

.admin-stat-card strong {
  color: #12233c;
  font-size: 25px;
  line-height: 1;
}

.admin-stat-card em {
  color: #7b8da3;
  font-size: 12px;
  font-style: normal;
}

.admin-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
  align-items: start;
}

.admin-table-panel,
.admin-config-panel {
  border: 1px solid #e2ebf5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(35, 91, 143, 0.08);
}

.admin-table-panel {
  overflow: hidden;
}

.admin-config-panel {
  padding: 16px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}

.admin-panel-head.compact {
  padding: 0 0 14px;
}

.admin-panel-head h2 {
  margin: 0 0 5px;
  color: #16273e;
  font-size: 18px;
}

.admin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.admin-filter-pills span {
  border-radius: 999px;
  background: #edf6ff;
  padding: 7px 10px;
  color: #437293;
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-pills span.active {
  background: #147ee1;
  color: #fff;
}

.admin-table {
  display: grid;
  border-top: 1px solid #edf2f8;
}

.admin-table-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.45fr) 72px 76px 48px 60px 44px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  border-bottom: 1px solid #edf2f8;
  padding: 0 16px;
  color: #25344a;
  font-size: 13px;
  text-align: left;
}

.admin-table-row:last-child {
  border-bottom: 0;
}

.admin-table-head {
  min-height: 42px;
  background: #f7fbff;
  color: #71839a;
  font-size: 12px;
  font-weight: 900;
}

button.admin-table-row:hover,
button.admin-table-row.selected {
  background: #f3f9ff;
}

.admin-table-row strong {
  display: block;
  margin-bottom: 4px;
  color: #17253b;
  font-size: 14px;
}

.admin-table-row small {
  display: -webkit-box;
  overflow: hidden;
  color: #798aa0;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.admin-status.online {
  background: #e8f8f1;
  color: #159b62;
}

.admin-status.soldout {
  background: #fff4dc;
  color: #cc7a12;
}

.admin-status.offline {
  background: #eef2f6;
  color: #718094;
}

.admin-row-actions {
  color: #147ee1;
  font-weight: 900;
}

.admin-product-preview {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf7ff, #f8fcff);
  padding: 12px;
}

.admin-product-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #d9effc;
  color: #1178dc;
  font-size: 24px;
  font-weight: 950;
}

.admin-product-preview h3 {
  margin: 0 0 6px;
  color: #15273f;
  font-size: 17px;
}

.admin-product-preview p {
  margin: 0;
  color: #72839a;
  font-size: 13px;
  font-weight: 700;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.admin-form-grid label {
  display: grid;
  gap: 6px;
  border-radius: 13px;
  background: #f7fbff;
  padding: 11px;
}

.admin-form-grid span {
  color: #76879d;
  font-size: 12px;
  font-weight: 800;
}

.admin-form-grid strong {
  color: #1c2d45;
  font-size: 14px;
}

.admin-rule-box {
  margin-top: 14px;
  border-radius: 14px;
  background: #f8fbff;
  padding: 13px;
}

.admin-rule-box h3 {
  margin: 0 0 8px;
  color: #17283f;
  font-size: 14px;
}

.admin-rule-box ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-rule-box li {
  position: relative;
  padding-left: 12px;
  color: #65778e;
  font-size: 12px;
  line-height: 1.45;
}

.admin-rule-box li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #147ee1;
  content: "";
}

.admin-config-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.admin-config-actions button {
  min-height: 40px;
  border-radius: 12px;
  background: #edf6ff;
  color: #147ee1;
  font-size: 13px;
  font-weight: 900;
}

.admin-config-actions button:first-child {
  background: #147ee1;
  color: #fff;
}

.admin-active {
  overflow: hidden;
  background: #f3f4f6;
}

.admin-active .demo-shell {
  align-items: stretch;
  justify-content: stretch;
  min-height: 100vh;
  padding: 0;
}

.phone.admin-mode {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: #f3f4f6;
  box-shadow: none;
}

.admin-page {
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr);
  grid-template-columns: 220px minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #f3f4f6;
}

.admin-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  padding: 0 28px 0 330px;
}

.admin-system-title {
  color: #1677ff;
  font-size: 16px;
  font-weight: 800;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #30343b;
  font-size: 14px;
}

.admin-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c7c7c7;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.admin-sidebar {
  grid-row: 2;
  gap: 0;
  border-right: 1px solid #e8eaef;
  background: #fff;
  padding: 14px 0;
}

.admin-menu {
  gap: 0;
}

.admin-menu button {
  position: relative;
  min-height: 48px;
  border-radius: 0;
  padding: 0 24px;
  color: #30343b;
  font-size: 14px;
  font-weight: 500;
}

.admin-menu button.active {
  background: #e8f3ff;
  color: #1677ff;
  box-shadow: none;
}

.admin-menu button.active::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #1677ff;
  content: "";
}

.admin-main {
  grid-row: 2;
  display: grid;
  gap: 24px;
  align-content: start;
  min-width: 0;
  overflow: auto;
  padding: 16px;
}

.admin-search-card,
.admin-table-panel {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.admin-search-card {
  padding: 26px 24px 20px;
}

.admin-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-search-grid label {
  display: grid;
  gap: 9px;
  color: #30343b;
  font-size: 14px;
  font-weight: 700;
}

.admin-search-grid input,
.admin-search-grid select {
  width: 100%;
  height: 34px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  padding: 0 12px;
  color: #333;
  outline: none;
}

.admin-search-grid input::placeholder,
.admin-search-grid select {
  color: #b8b8b8;
  font-weight: 400;
}

.admin-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.admin-link-btn {
  color: #1677ff;
  font-size: 14px;
  font-weight: 700;
}

.admin-secondary,
.admin-primary {
  min-height: 34px;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
}

.admin-secondary {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #30343b;
}

.admin-primary {
  background: #1677ff;
  color: #fff;
}

.admin-search-footer > div,
.admin-toolbar-actions {
  display: flex;
  gap: 10px;
}

.admin-table-panel {
  overflow: hidden;
  padding: 24px;
}

.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-table-toolbar h2 {
  margin: 0;
  color: #1f2329;
  font-size: 16px;
  font-weight: 800;
}

.admin-table-toolbar p {
  margin: 6px 0 0;
  color: #8a8f99;
  font-size: 13px;
}

.admin-table-scroll {
  overflow-x: auto;
  border-bottom: 1px solid #eeeeee;
}

.admin-table-scroll::-webkit-scrollbar {
  height: 12px;
}

.admin-table-scroll::-webkit-scrollbar-track {
  background: #eeeeee;
}

.admin-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b8b8b8;
}

.admin-table {
  min-width: 1120px;
  border-top: 0;
}

.admin-table-row {
  grid-template-columns: minmax(220px, 1.4fr) 100px 100px 80px 120px 96px 120px 190px;
  gap: 14px;
  min-height: 50px;
  border-bottom: 1px solid #eeeeee;
  padding: 0 16px;
  color: #30343b;
  font-size: 14px;
}

.admin-table-head {
  min-height: 54px;
  background: #fafafa;
  color: #1f2329;
  font-weight: 800;
}

.admin-table-row strong {
  color: #1f2329;
  font-size: 14px;
  font-weight: 500;
}

.admin-table-row small {
  color: #8a8f99;
}

.admin-row-actions {
  display: flex;
  gap: 12px;
  color: #1677ff;
  font-weight: 500;
}

.admin-row-actions button {
  color: #1677ff;
  font-size: 14px;
}

.admin-row-actions button.danger {
  color: #ff4d4f;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  color: #30343b;
  font-size: 14px;
}

.admin-pagination button {
  min-width: 32px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #30343b;
  padding: 0 10px;
}

.admin-pagination button.active {
  border-color: #1677ff;
  color: #1677ff;
}

.admin-pagination button.disabled {
  border-color: transparent;
  color: #b8b8b8;
}

.admin-active .state-panel {
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 300px;
  height: 64px;
  border: 0;
  border-right: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  padding: 0 16px;
  box-shadow: none;
  backdrop-filter: none;
}

.admin-active .state-panel .eyebrow {
  display: none;
}

.admin-active .state-panel h2 {
  margin: 0;
  color: #30343b;
  font-size: 14px;
  white-space: nowrap;
}

.admin-active .client-control {
  display: flex;
  gap: 8px;
  margin: 0;
}

.admin-active .client-option {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 6px;
}

.state-panel {
  position: fixed;
  z-index: 90;
  top: 20px;
  left: 20px;
  width: 216px;
  border: 1px solid rgba(225, 236, 247, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  padding: 16px;
  box-shadow: 0 18px 38px rgba(23, 79, 132, 0.12);
  backdrop-filter: blur(14px);
}

.state-panel h2 {
  margin: 4px 0 14px;
  color: #1c2b3f;
  font-size: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
}

.client-control {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.client-control {
  grid-template-columns: repeat(2, 1fr);
}

.client-option {
  min-height: 36px;
  border-radius: 999px;
  background: #edf6ff;
  color: #2372ab;
  font-size: 13px;
  font-weight: 900;
}

.client-option.active {
  background: #147ee1;
  color: #fff;
}

@media (max-width: 820px) {
  .demo-shell {
    padding: 18px;
  }

  .state-panel {
    display: none;
  }
}

@media (max-width: 430px) {
  .demo-shell {
    padding: 0;
  }

  .phone {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }
}

/* 运营端：全屏简洁 B 端布局 */
.admin-active {
  overflow: hidden;
  background: #f5f6f8;
}

.admin-active .demo-shell {
  align-items: stretch;
  justify-content: stretch;
  min-height: 100vh;
  padding: 0;
}

.admin-active .phone.admin-mode {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: #f5f6f8;
  box-shadow: none;
}

.admin-active .admin-page {
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
  grid-template-columns: 216px minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  background: #f5f6f8;
}

.admin-active .admin-topbar {
  grid-column: 1 / -1;
  height: 56px;
  border-bottom: 1px solid #e8eaef;
  background: #fff;
  padding: 0 24px;
}

.admin-active .admin-system-title {
  color: #1677ff;
  font-size: 16px;
  font-weight: 700;
}

.admin-active .admin-top-actions {
  color: #30343b;
  font-size: 14px;
}

.admin-active .admin-sidebar {
  grid-row: 2;
  border-right: 1px solid #e8eaef;
  background: #fff;
  padding: 12px 0;
}

.admin-active .admin-menu {
  gap: 0;
}

.admin-active .admin-menu-group {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  color: #1f2329;
  font-size: 14px;
  font-weight: 700;
}

.admin-active .admin-menu button {
  min-height: 48px;
  border-radius: 0;
  padding: 0 24px;
  color: #30343b;
  font-size: 14px;
  font-weight: 500;
}

.admin-active .admin-menu button.admin-submenu {
  padding-left: 42px;
  color: #4e5969;
}

.admin-active .admin-menu button.active {
  background: #eaf4ff;
  color: #1677ff;
  box-shadow: none;
}

.admin-active .admin-menu button.active::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #1677ff;
  content: "";
}

.admin-active .admin-main {
  display: grid;
  gap: 20px;
  align-content: start;
  min-width: 0;
  overflow: auto;
  padding: 24px;
}

.admin-active .admin-search-card,
.admin-active .admin-table-panel {
  border: 1px solid #e8eaef;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.admin-active .admin-search-card {
  padding: 24px;
}

.admin-active .admin-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-active .admin-search-grid label {
  display: grid;
  gap: 10px;
  color: #1f2329;
  font-size: 14px;
  font-weight: 600;
}

.admin-active .admin-search-grid input,
.admin-active .admin-search-grid select {
  height: 34px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  color: #30343b;
}

.admin-active .admin-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.admin-active .admin-secondary,
.admin-active .admin-primary {
  min-height: 34px;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
}

.admin-active .admin-secondary {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #30343b;
}

.admin-active .admin-primary {
  background: #1677ff;
  color: #fff;
}

.admin-active .admin-table-panel {
  padding: 24px;
}

.admin-active .admin-table-toolbar {
  margin-bottom: 16px;
}

.admin-active .admin-table-toolbar h2 {
  margin: 0;
  color: #1f2329;
  font-size: 16px;
  font-weight: 700;
}

.admin-active .admin-table-toolbar p {
  margin: 6px 0 0;
  color: #8a8f99;
  font-size: 13px;
}

.admin-active .admin-table-scroll {
  overflow-x: auto;
  border-bottom: 1px solid #eeeeee;
}

.admin-active .admin-table {
  min-width: 980px;
  border-top: 0;
}

.admin-active .admin-table-row {
  grid-template-columns: 1.2fr 0.9fr 0.7fr 0.95fr 0.9fr 0.95fr 1fr;
  gap: 16px;
  min-height: 46px;
  border-bottom: 1px solid #eeeeee;
  padding: 0 16px;
  color: #30343b;
  font-size: 14px;
}

.admin-active .admin-table-head {
  min-height: 54px;
  background: #fafafa;
  color: #1f2329;
  font-weight: 700;
}

.admin-active .admin-table-row strong {
  color: #1f2329;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-active .admin-table-row > span {
  min-width: 0;
}

.admin-active .admin-row-actions {
  display: flex;
  gap: 12px;
  font-weight: 500;
}

.admin-active .admin-row-actions button {
  color: #1677ff;
  font-size: 14px;
}

.admin-active .admin-row-actions button.danger {
  color: #ff4d4f;
}

.admin-active .admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  color: #30343b;
  font-size: 14px;
}

.admin-active .admin-pagination button {
  min-width: 32px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  color: #30343b;
  padding: 0 10px;
}

.admin-active .admin-pagination button.active {
  border-color: #1677ff;
  color: #1677ff;
}

.admin-active .state-panel {
  top: 12px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  border: 1px solid #e8eaef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.admin-active .state-panel .eyebrow,
.admin-active .state-panel h2 {
  display: none;
}

.admin-active .client-control {
  display: flex;
  gap: 6px;
  margin: 0;
}

.admin-active .client-option {
  min-height: 30px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
}

/* 统一端切换浮层：移动端与 Web 端一致，固定右下角 */
.state-panel,
.admin-active .state-panel {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  top: auto;
  left: auto;
  display: flex;
  align-items: flex-end;
  width: 236px;
  height: auto;
  gap: 8px;
  border: 1px solid rgba(224, 231, 240, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  transform: none;
  backdrop-filter: blur(12px);
}

.state-panel.collapsed,
.admin-active .state-panel.collapsed {
  width: auto;
  border-radius: 999px;
  padding: 5px;
  border-color: rgba(164, 185, 214, 0.42);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.state-panel-toggle,
.admin-active .state-panel-toggle {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.18);
  transition: width 0.18s ease, padding 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.state-panel-toggle:hover,
.admin-active .state-panel-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.24);
}

.state-panel-toggle-icon,
.admin-active .state-panel-toggle-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  line-height: 1;
}

.state-panel-toggle-label,
.state-panel-toggle-caret,
.admin-active .state-panel-toggle-label,
.admin-active .state-panel-toggle-caret {
  display: none;
}

.state-panel-toggle-caret,
.admin-active .state-panel-toggle-caret {
  font-size: 18px;
  line-height: 1;
}

.state-panel.collapsed .state-panel-toggle,
.admin-active .state-panel.collapsed .state-panel-toggle {
  position: relative;
  width: 38px;
  padding: 0;
  background: #1f8af5;
}

.state-panel.collapsed .state-panel-toggle::after,
.admin-active .state-panel.collapsed .state-panel-toggle::after {
  content: "›";
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: #fff;
  color: #1677ff;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.state-panel.collapsed .state-panel-toggle-label,
.state-panel.collapsed .state-panel-toggle-caret,
.admin-active .state-panel.collapsed .state-panel-toggle-label,
.admin-active .state-panel.collapsed .state-panel-toggle-caret {
  display: none;
  align-items: center;
}

.state-panel.collapsed .state-panel-toggle-label,
.admin-active .state-panel.collapsed .state-panel-toggle-label {
  font-size: 13px;
  white-space: nowrap;
}

.state-panel.collapsed .state-panel-toggle:hover,
.admin-active .state-panel.collapsed .state-panel-toggle:hover {
  width: 112px;
  padding: 0 10px 0 5px;
}

.state-panel.collapsed .state-panel-toggle:hover::after,
.admin-active .state-panel.collapsed .state-panel-toggle:hover::after {
  display: none;
}

.state-panel.collapsed .state-panel-toggle:hover .state-panel-toggle-label,
.state-panel.collapsed .state-panel-toggle:hover .state-panel-toggle-caret,
.admin-active .state-panel.collapsed .state-panel-toggle:hover .state-panel-toggle-label,
.admin-active .state-panel.collapsed .state-panel-toggle:hover .state-panel-toggle-caret {
  display: inline-flex;
  align-items: center;
}

.state-panel-body,
.admin-active .state-panel-body {
  display: grid;
  flex: 1;
  gap: 8px;
  min-width: 0;
}

.state-panel.collapsed .state-panel-body,
.admin-active .state-panel.collapsed .state-panel-body {
  display: none;
}

.state-panel .eyebrow,
.state-panel h2,
.admin-active .state-panel .eyebrow,
.admin-active .state-panel h2 {
  display: none;
}

.client-control,
.admin-active .client-control {
  display: flex;
  grid-template-columns: none;
  gap: 6px;
  margin: 0;
}

.demo-copy-list,
.admin-active .demo-copy-list {
  display: grid;
  gap: 6px;
  border-top: 1px solid #edf2f7;
  padding-top: 8px;
}

.demo-copy-list label,
.admin-active .demo-copy-list label {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 6px;
}

.demo-copy-list span,
.admin-active .demo-copy-list span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.demo-copy-list input,
.admin-active .demo-copy-list input {
  width: 100%;
  height: 28px;
  border: 1px solid #dce8f5;
  border-radius: 8px;
  background: #f8fbff;
  padding: 0 8px;
  color: #152238;
  font-size: 12px;
  font-weight: 800;
}

.demo-copy-list button,
.admin-active .demo-copy-list button {
  height: 28px;
  border-radius: 8px;
  background: #e8f3ff;
  color: #1677ff;
  font-size: 12px;
  font-weight: 900;
}

.client-option,
.admin-active .client-option {
  min-width: 72px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  background: #eef6ff;
  color: #2071c8;
  font-size: 13px;
  font-weight: 800;
}

.client-option.active,
.admin-active .client-option.active {
  background: #1677ff;
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.25);
}

/* 运营端紧凑查询区，提高表格首屏可见面积 */
.admin-active .admin-topbar {
  height: 52px;
  padding: 0 24px;
}

.admin-active .phone.admin-mode,
.admin-active .state-panel {
  zoom: 1;
}

.admin-active .admin-page {
  grid-template-rows: 52px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  overflow: hidden;
}

.admin-active .admin-main {
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 16px 20px 20px;
}

.admin-active .admin-search-card {
  padding: 16px 20px;
}

.admin-active .admin-search-grid {
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.8fr) auto;
  align-items: end;
  gap: 12px;
}

.admin-active .admin-order-search-grid {
  grid-template-columns: repeat(4, minmax(140px, 1fr)) auto;
}

.admin-active .admin-search-grid label {
  gap: 6px;
  font-size: 13px;
}

.admin-active .admin-search-grid input,
.admin-active .admin-search-grid select {
  height: 32px;
}

.admin-search-actions {
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
  justify-self: end;
  white-space: nowrap;
}

.admin-active .admin-table-panel {
  min-width: 0;
  padding: 18px 20px 16px;
}

.admin-active .admin-table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.admin-active .admin-table-toolbar {
  margin-bottom: 12px;
}

.admin-active .admin-table-row {
  min-height: 46px;
}

.admin-active .admin-order-table {
  min-width: 1280px;
}

.admin-active .admin-order-table-row {
  grid-template-columns: 0.9fr 1.15fr 0.85fr 0.95fr 0.72fr 0.72fr 1fr 1fr 0.85fr;
}

.admin-active .admin-table-head {
  min-height: 48px;
}

.admin-active .admin-pagination {
  padding-top: 12px;
}

.admin-empty-row {
  display: grid;
  place-items: center;
  min-height: 110px;
  color: #8a8f99;
  font-size: 14px;
}

.admin-modal {
  position: fixed;
  z-index: 150;
  inset: 0;
}

.admin-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
}

.admin-modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 16px;
  width: min(760px, calc(100vw - 48px));
  max-height: calc(100vh - 72px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  padding: 0 22px 20px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
  transform: translate(-50%, -50%);
}

.admin-modal-dialog.small {
  width: min(420px, calc(100vw - 48px));
}

.admin-modal-dialog header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eef0f4;
  background: #fff;
  padding: 18px 0 14px;
}

.admin-modal-dialog h3 {
  margin: 0;
  color: #1f2329;
  font-size: 18px;
}

.admin-modal-dialog header button {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #8a8f99;
  font-size: 24px;
  line-height: 1;
}

.admin-form-modal-grid,
.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.admin-form-modal-grid label,
.admin-detail-grid div {
  display: grid;
  gap: 8px;
}

.admin-form-modal-grid .wide,
.admin-detail-grid .wide {
  grid-column: 1 / -1;
}

.admin-form-modal-grid span,
.admin-detail-grid span {
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.admin-form-modal-grid input,
.admin-form-modal-grid select,
.admin-form-modal-grid textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  padding: 8px 10px;
  color: #1f2329;
  outline: none;
}

.admin-form-modal-grid input,
.admin-form-modal-grid select {
  height: 34px;
}

.admin-form-modal-grid textarea {
  resize: vertical;
  line-height: 1.5;
}

.admin-image-upload {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px dashed #b9d7ff;
  border-radius: 8px;
  background: #f7fbff;
  padding: 12px;
}

.admin-image-preview,
.admin-detail-image > div,
.admin-product-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.8), transparent 30%),
    linear-gradient(135deg, #eaf8ff, #cfeaff);
  color: #147bd2;
  font-weight: 900;
}

.admin-image-preview {
  width: 150px;
  height: 92px;
  border-radius: 6px;
  font-size: 26px;
}

.admin-image-preview img,
.admin-detail-image img,
.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-controls {
  display: grid;
  gap: 8px;
}

.admin-image-controls input[type="file"] {
  height: auto;
  padding: 7px;
}

.admin-image-controls input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 0;
  border-radius: 4px;
  background: #1677ff;
  padding: 6px 10px;
  color: #fff;
  font-weight: 700;
}

.admin-image-controls p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

.admin-detail-grid strong,
.admin-detail-grid p {
  margin: 0;
  color: #1f2329;
  font-size: 14px;
  line-height: 1.6;
}

.admin-detail-grid div {
  border-radius: 6px;
  background: #f8fafc;
  padding: 10px 12px;
}

.admin-detail-image > div {
  width: 180px;
  height: 110px;
  border-radius: 6px;
  padding: 0;
  font-size: 28px;
}

.admin-order-detail {
  display: block;
}

.admin-verify-code {
  display: grid;
  gap: 8px;
  border: 1px solid #b9d7ff;
  border-radius: 8px;
  background: #f4f9ff;
  padding: 12px;
}

.admin-verify-code input {
  height: 36px;
  border: 1px solid #c8ddf5;
  border-radius: 5px;
  padding: 8px 10px;
  color: #1f2329;
  outline: none;
}

.admin-verify-code p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

.admin-quick-verify-dialog {
  width: min(520px, calc(100vw - 48px));
}

.admin-quick-verify {
  display: grid;
  gap: 14px;
}

.admin-quick-verify label,
.admin-quick-verify label > span {
  display: grid;
  gap: 8px;
}

.admin-quick-verify label > span {
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.admin-quick-verify-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.admin-quick-verify-input input {
  height: 36px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  padding: 8px 10px;
  color: #1f2329;
  outline: none;
}

.admin-verify-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #f7fbff;
  padding: 12px;
}

.admin-verify-result.empty {
  display: block;
  color: #ff4d4f;
  font-size: 14px;
  font-weight: 700;
}

.admin-verify-result div {
  display: grid;
  gap: 4px;
}

.admin-verify-result span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.admin-verify-result strong {
  color: #1f2329;
  font-size: 14px;
}

.admin-product-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-product-thumb {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  font-size: 13px;
}

.admin-modal-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eef0f4;
  padding-top: 16px;
}

.admin-danger {
  min-height: 34px;
  border-radius: 4px;
  background: #ff4d4f;
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.admin-delete-tip {
  margin: 0;
  color: #30343b;
  font-size: 14px;
  line-height: 1.7;
}
