:root {
  --page: #f4f4f4;
  --ink: #07101a;
  --muted: #27394a;
  --card: #ffffff;
  --max-w: 640px;
  --front-theme-primary: #1677ff;
  --front-theme-primary-hover: #4096ff;
  --front-theme-primary-shadow: rgba(22, 119, 255, .38);
  --front-auth-primary: #1677ff;
  --front-auth-primary-hover: #4096ff;
  --front-auth-primary-shadow: rgba(22, 119, 255, .38);
  --front-auth-accent: #1677ff;
}

.front-boot-shell {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--page, #f4f4f4);
}

.front-boot-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(17, 24, 39, .12);
  border-top-color: var(--front-theme-primary, #1677ff);
  border-radius: 999px;
  animation: frontBootSpin .72s linear infinite;
}

html.front-boot-pending:not(.front-boot-ready) body {
  min-height: 100vh;
  background: var(--page, #f4f4f4);
}

html.front-boot-pending:not(.front-boot-ready) .front-boot-shell {
  display: flex;
}

html.front-boot-pending:not(.front-boot-ready) .phone-shell,
html.front-boot-pending:not(.front-boot-ready) .tabbar,
html.front-boot-pending:not(.front-boot-ready) .sheet,
html.front-boot-pending:not(.front-boot-ready) .toast {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

html.front-boot-ready .front-boot-shell {
  display: none;
}

@keyframes frontBootSpin {
  to {
    transform: rotate(360deg);
  }
}

body:not(.admin-route) .tabbar a.active {
  color: var(--front-theme-primary, #1677ff);
}

body:not(.admin-route) .start-logo,
body:not(.admin-route) .record-tabs button.active,
body:not(.admin-route) .front-record-page .front-record-withdraw-filter-btn.active,
body:not(.admin-route) .mine-withdraw,
body:not(.admin-route) .mine-confirm-box button:last-child,
body:not(.admin-route) .ref-primary-btn {
  background: var(--front-theme-primary, #1677ff);
}

body:not(.admin-route) .mine-deposit {
  background: var(--front-theme-primary-hover, #4096ff);
}

body:not(.admin-route) .record-status-tabs button.active,
body:not(.admin-route) .front-auth-policy.register-agreement button,
body:not(.admin-route) .mine-balance-row .green,
body:not(.admin-route) .mine-row-icon.blue,
body:not(.admin-route) .front-language-list button.active {
  color: var(--front-theme-primary, #1677ff);
}

.admin-danger-btn,
.admin-muted-btn {
  height: 32px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 800;
}

.admin-danger-btn {
  color: #fff;
  background: #ff4d4f;
}


  .admin-danger-btn:disabled {
    color: rgba(0, 0, 0, .35);
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
    cursor: not-allowed;
  }
.admin-muted-btn {
  color: rgba(0, 0, 0, .35);
  border: 1px solid #d9d9d9;
  background: #f5f5f5;
}

.admin-floor-grid {
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(420px, 1fr);
  gap: 18px;
}

.admin-floor-grid .admin-panel {
  min-height: 260px;
}

.admin-floor-form {
  display: grid;
  gap: 26px;
  padding: 28px 24px;
}

.admin-floor-row-active {
  background: #e6f4ff !important;
}

.admin-floor-row-active td {
  background: #e6f4ff !important;
}

.admin-floor-form label {
  display: grid;
  gap: 8px;
}

  .admin-floor-form span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, .88);
  }

  .admin-floor-form input {
  height: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
    font-size: 14px;
    width: 100%;
    outline: 0;
  }

  .admin-floor-form input:disabled {
    color: rgba(0, 0, 0, .25);
    background: rgba(0, 0, 0, .04);
    cursor: not-allowed;
  }

.admin-service-logo,
.admin-logo-preview {
  width: 60px;
  height: 60px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: #101415;
}

.admin-service-logo::before,
.admin-logo-preview::before {
  content: "S";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
}

.admin-banner-thumb {
  width: 78px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  background: #c8b79d;
}

.admin-brand-thumb {
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

  .admin-front-thumb-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  .admin-front-thumb {
    width: 60px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
  }

  .admin-front-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
  }

  .admin-front-thumb-wrap:hover .admin-front-preview {
    opacity: 1;
  }

  .admin-click-group {
    display: inline-flex;
    gap: 6px;
  }

  .admin-click-group > span {
    display: inline-block;
  }

  .admin-click-group > span + span::before {
    content: "\00a0\00a0";
    color: #d9d9d9;
  }

.admin-grid-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #111827;
}

.admin-grid-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.admin-grid-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.admin-article-shell {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 8px;
}

.admin-article-tabs {
  min-height: calc(100vh - 104px);
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 0;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 8px 0 18px rgba(15, 23, 42, .08);
}

.admin-article-tabs button {
  position: relative;
  height: 42px;
  border: 0;
  padding: 0 24px;
  color: #30343b;
  background: transparent;
  text-align: left;
  white-space: nowrap;
}

.admin-article-tabs button.active {
  color: #1677ff;
}

.admin-article-tabs button.active::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 2px;
  height: 36px;
  background: #1677ff;
}

.admin-editor-card {
  min-height: 682px;
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
}

.admin-home-popup-card {
  min-height: 682px;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
}

.admin-home-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef0f4;
}

.admin-home-popup-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.admin-home-popup-head p,
.admin-home-popup-upload p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.admin-home-popup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-home-popup-field {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 13px;
}

.admin-home-popup-field.wide {
  margin-top: 16px;
}

.admin-home-popup-field input,
.admin-home-popup-field select,
.admin-home-popup-field textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d9dee8;
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: #111827;
}

.admin-home-popup-field input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.admin-home-popup-field textarea {
  min-height: 168px;
  padding: 10px;
  resize: vertical;
}

.admin-home-popup-mode-panel {
  margin-top: 18px;
}

.admin-home-popup-preview {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px dashed #d9dee8;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.admin-home-popup-preview img {
  max-width: 100%;
  max-height: 360px;
  display: block;
  object-fit: contain;
}

.admin-home-popup-empty {
  color: #8a94a6;
  font-size: 14px;
}

.admin-home-popup-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.admin-home-popup-upload input {
  flex: 0 0 auto;
}

.admin-home-popup-upload button {
  height: 34px;
  border: 1px solid #d9dee8;
  border-radius: 6px;
  padding: 0 14px;
  background: #fff;
  color: #374151;
}

.admin-certificate-image-card {
  min-height: 620px;
}

.admin-certificate-image-preview {
  min-height: 360px;
  margin-top: 18px;
  display: grid;
  place-items: center;
  border: 1px dashed #d9dee8;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.admin-certificate-image-preview img {
  max-width: 100%;
  max-height: 520px;
  display: block;
  object-fit: contain;
}

.admin-certificate-image-empty {
  color: #8a94a6;
  font-size: 14px;
}

.admin-certificate-image-upload {
  align-items: flex-start;
}

.admin-certificate-image-upload p {
  line-height: 1.5;
}

.admin-language-list {
  display: grid;
  align-content: start;
  gap: 22px;
}

.admin-language-list > div {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 10px;
}

.admin-language-list button:not(.admin-blue-btn) {
  height: 32px;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  background: #fff;
}

.admin-language-list button.active {
  color: #fff;
  border-color: #1677ff;
  background: #1677ff;
}

.admin-language-list svg {
  width: 16px;
  height: 16px;
  color: #ff4d4f;
}

.admin-editor-shell {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(520px, 1fr) auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.admin-editor-menu,
.admin-editor-toolbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.admin-editor-menu button {
  margin-left: auto;
  border: 0;
  border-radius: 6px;
  padding: 6px 10px;
  color: #1677ff;
  background: #eef6ff;
}

.admin-editor-toolbar {
  gap: 18px;
}

.admin-editor-toolbar svg {
  width: 18px;
  height: 18px;
  color: #1f2937;
}

.admin-editor-body {
  min-height: 520px;
  padding: 18px;
  overflow: auto;
  line-height: 1.55;
  background: #fff;
}

.admin-editor-body h1,
.admin-editor-body h2 {
  text-align: center;
}

.admin-editor-count {
  height: 24px;
  padding-right: 10px;
  color: #64748b;
  text-align: right;
  border-top: 1px solid #e5e7eb;
}

.admin-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 36px;
  text-align: center;
}

.admin-certificate-mock {
  max-width: 860px;
  min-height: 620px;
  margin: 26px auto;
  padding: 42px;
  border: 3px solid #111;
  font-size: 18px;
}

.admin-certificate-mock span {
  display: block;
  margin-top: 120px;
  color: rgba(15, 23, 42, .28);
  font-size: 68px;
  font-weight: 900;
  text-align: right;
}

.admin-popup-mock {
  max-width: 934px;
  min-height: 560px;
  margin: 16px auto;
  padding: 54px 48px;
  border-radius: 28px 28px 0 0;
  color: #fff;
  background: #c4ae91;
  text-align: center;
}

.admin-popup-mock section {
  margin-top: 50px;
  padding: 34px 42px;
  border-radius: 20px;
  color: #111;
  background: #fff;
  text-align: left;
}

.admin-charge-copy {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding-top: 4px;
  text-align: center;
}

.admin-charge-copy button {
  width: 224px;
  height: 18px;
  border: 0;
  color: #fff;
  background: #8e44ad;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .admin-floor-grid,
  .admin-article-shell {
    grid-template-columns: 1fr;
  }

  .admin-editor-card {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: #efefef;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  overflow-x: clip;
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.phone-shell {
  width: min(100%, var(--max-w));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 92px;
  background: #f6f6f6;
  overflow: visible;
}

.hero {
  background: #101413;
}

.topbar {
  position: relative;
  top: 0;
  z-index: 18;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  background: rgba(212, 208, 204, 0.96);
  backdrop-filter: blur(8px);
}

.home-route-scrolled .topbar {
  position: fixed;
  left: 50%;
  top: 0;
  width: min(100%, var(--max-w));
  transform: translateX(-50%);
  box-shadow: 0 1px 0 rgba(7, 16, 26, 0.08);
}

.brand img {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand::before {
  content: "";
  width: 34px;
  height: 22px;
  display: inline-block;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 38%, rgba(255,255,255,.9) 40% 50%, transparent 52%),
    radial-gradient(ellipse at 70% 50%, transparent 38%, rgba(255,255,255,.9) 40% 50%, transparent 52%);
  transform: rotate(-35deg);
}

.brand::after {
  content: "SQUARESPACE";
}

.brand.site-brand-ready::after,
.brand.has-site-logo::before {
  display: none;
}

.brand.site-brand-ready span {
  color: #101413;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.brand.has-site-logo {
  background: transparent;
}

.brand.has-site-logo .front-home-brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  background: transparent;
  object-fit: contain;
}

.top-actions {
  position: absolute;
  right: 16px;
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0b1117;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  position: relative;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.3;
}

.has-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f04438;
  border: 2px solid #fff;
}

.promo-carousel {
  position: relative;
  height: 139px;
  overflow: hidden;
  background: #101413;
}

.promo-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.slide-art {
  position: relative;
}

.tile-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 68px;
  gap: 5px;
  transform: scale(1.04);
}

.tile-grid span {
  border-radius: 4px;
  background: #d8d5c9;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92);
}

.tile-grid span:nth-child(1) { background: linear-gradient(135deg, #4c1139, #f5b32f); }
.tile-grid span:nth-child(2) { background: linear-gradient(135deg, #29353b, #222); }
.tile-grid span:nth-child(3) { background: linear-gradient(135deg, #b5d0dd, #4a6a73); }
.tile-grid span:nth-child(4) { background: linear-gradient(135deg, #f0eadf, #9b6148); }
.tile-grid span:nth-child(5) { background: linear-gradient(135deg, #243325, #d5a33b); }
.tile-grid span:nth-child(6) { background: linear-gradient(135deg, #1e4660, #74c7e4); }
.tile-grid span:nth-child(7) { background: linear-gradient(135deg, #48a56b, #f2a839); }
.tile-grid span:nth-child(8) { background: linear-gradient(135deg, #121212, #b1a79d); }
.tile-grid span:nth-child(9) { background: linear-gradient(135deg, #ede8dd, #232323); }
.tile-grid span:nth-child(10) { background: linear-gradient(135deg, #a1ced8, #f8efdf); }
.tile-grid span:nth-child(11) { background: linear-gradient(135deg, #f2d9a2, #94664b); }
.tile-grid span:nth-child(12) { background: linear-gradient(135deg, #1d1d1d, #f1f1f1); }

.activity-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.62));
}

.activity-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

body:not(.admin-route) .activity-notice {
  position: fixed;
  z-index: 28;
  left: 50%;
  top: 66px;
  width: min(calc(100% - 16px), calc(var(--max-w) - 16px));
  transform: translateX(-50%);
  height: 41px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.76);
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body:not(.admin-route) .activity-notice[hidden] {
  display: none;
}

body:not(.admin-route) .activity-notice svg {
  width: 18px;
  height: 18px;
  color: #1985ff;
  stroke-width: 2.2;
}

body:not(.admin-route) .activity-notice span {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.promo-mosaic::after,
.promo-work::after,
.promo-pay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.promo-work .slide-art {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 43%, rgba(255, 255, 255, 0.15) 43% 100%),
    radial-gradient(circle at 23% 38%, #2d8bb8 0 9%, transparent 10%),
    linear-gradient(135deg, #dfe8ea 0%, #f9f4ea 48%, #b9866b 100%);
}

.promo-work .slide-art::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 38px;
  width: 150px;
  height: 150px;
  background:
    linear-gradient(135deg, transparent 0 38%, #2d8bb8 39% 61%, transparent 62%),
    repeating-linear-gradient(90deg, #1f6e96 0 8px, #41a7d0 8px 16px);
  transform: rotate(-7deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.promo-pay .slide-art {
  background:
    linear-gradient(95deg, rgba(15, 18, 20, 0.72) 0 41%, rgba(15, 18, 20, 0.04) 42%),
    radial-gradient(circle at 72% 40%, rgba(245, 185, 130, 0.9) 0 15%, transparent 16%),
    linear-gradient(135deg, #1d2423 0%, #caa07e 48%, #f8efe5 100%);
}

.promo-pay .slide-art::before {
  content: "";
  position: absolute;
  right: 88px;
  bottom: 38px;
  width: 172px;
  height: 92px;
  border-radius: 12px;
  background: linear-gradient(135deg, #161819, #3f4647);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
  transform: rotate(-7deg);
}

.promo-copy {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 62px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.promo-copy strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
}

.promo-copy span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.promo-left {
  top: 31px;
}

.promo-mosaic h1 {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 13px;
  width: 100%;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  transform: translateX(-50%);
}

.promo-arrow {
  position: absolute;
  z-index: 3;
  right: 34px;
  top: 57px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2682ff;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.product-banner {
  position: relative;
  height: 221px;
  margin: 10px 0 0;
  overflow: hidden;
  border: 15px solid #111;
  background: #e4ddcf;
}

.product-carousel {
  height: auto;
  aspect-ratio: 679 / 455;
  margin-top: 8px;
  border: 0;
  background: #fff;
}

.product-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 360ms ease;
}

.product-slide.active {
  opacity: 1;
}

body:not(.admin-route) .product-banner.product-carousel {
  overflow: hidden;
  background: transparent;
}

body:not(.admin-route) .product-banner.product-carousel .product-track {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

body:not(.admin-route) .product-banner.product-carousel .product-slide {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.035);
  transform-origin: center center;
}

.product-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.product-carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  pointer-events: auto;
  transition: width 180ms ease, background 180ms ease;
}

.product-carousel-dots button.active {
  width: 16px;
  background: #fff;
}

.plant-banner {
  height: 221px;
  margin-top: 8px;
  border: 0;
  background: #fde9df;
}

.plant-head {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: #3b2c26;
  font-family: Georgia, "Times New Roman", serif;
}

.plant-head strong {
  font-size: 16px;
  font-weight: 600;
}

.plant-head span {
  font-size: 7px;
  font-weight: 700;
}

.plant-main {
  height: calc(100% - 34px);
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  padding: 0 16px 15px;
}

.plant-photo {
  position: relative;
  overflow: hidden;
  background: #101211;
}

.plant-pot {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 84px;
  height: 72px;
  border-radius: 0 0 42px 42px;
  background: linear-gradient(135deg, #f7dfcc, #d7a486);
  transform: translateX(-50%);
}

.leaf {
  position: absolute;
  left: 50%;
  bottom: 75px;
  width: 108px;
  height: 25px;
  border-radius: 100% 0;
  background: linear-gradient(90deg, #142f19, #3f6f32);
  transform-origin: left center;
}

.leaf-a { transform: rotate(-32deg); }
.leaf-b { transform: rotate(-8deg); width: 132px; }
.leaf-c { transform: rotate(-154deg); width: 118px; }
.leaf-d { transform: rotate(-188deg); width: 96px; }

.plant-photo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 88px;
  width: 4px;
  height: 106px;
  background: #b6a76b;
  transform: translateX(-50%);
}

.plant-info {
  display: grid;
  place-items: center;
  align-content: center;
  padding-left: 20px;
  text-align: center;
  color: #6b584c;
  font-family: Georgia, "Times New Roman", serif;
}

.plant-info small {
  font-size: 7px;
  margin-bottom: 14px;
}

.plant-info b {
  font-size: 10px;
}

.plant-info h1 {
  margin: 5px 0 5px;
  color: #8c6f5d;
  font-size: 28px;
  font-weight: 400;
}

.plant-info p {
  width: 122px;
  margin: 0 0 10px;
  font-size: 7px;
  line-height: 1.35;
}

.plant-info label {
  font-size: 9px;
  font-weight: 700;
}

.plant-info em {
  display: block;
  width: 30px;
  height: 18px;
  margin: 5px auto 9px;
  border: 1px solid #bba998;
  border-radius: 3px;
  font-style: normal;
  line-height: 17px;
}

.plant-info button {
  width: 116px;
  height: 28px;
  border: 0;
  background: #637057;
  color: #fff;
  font-size: 8px;
  cursor: pointer;
}

.product-banner video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  top: 27px;
  right: 64px;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 500;
}

.hero-copy button {
  min-width: 72px;
  height: 28px;
  border: 0;
  border-radius: 2px;
  background: rgba(36, 20, 13, 0.72);
  color: #fff;
  font-size: 10px;
  cursor: pointer;
}

.hero-copy button:hover,
.hero-copy button:focus-visible {
  background: #0c0c0c;
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.carousel-btn {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #111820;
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.promo-carousel .carousel-btn,
.promo-carousel .carousel-dots {
  display: none;
}

.promo-carousel:hover .carousel-btn,
.promo-carousel:focus-within .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

.carousel-btn svg {
  width: 21px;
  height: 21px;
  stroke-width: 3;
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 9px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.active {
  width: 22px;
  background: #fff;
}

.clients,
.menus,
.levels {
  padding: 22px 16px 0;
}

.clients {
  text-align: center;
  background: #fff;
  margin-top: 0;
  padding-bottom: 8px;
}

h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

.clients h2 {
  font-size: 16px;
}

.clients p {
  margin: 20px 0 31px;
  color: var(--muted);
  font-size: 14px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 0 0 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.logo-row::-webkit-scrollbar {
  display: none;
}

.logo-slide {
  flex: 0 0 130px;
  width: 130px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  scroll-snap-align: start;
}

.logo-slide img {
  width: 100px;
  max-width: 100px;
  max-height: 22px;
  object-fit: contain;
  display: block;
}

.logo-text-fallback {
  max-width: 112px;
  color: #111820;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.menu-strip {
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.menu-strip::-webkit-scrollbar {
  display: none;
}

.menu-card,
.more-btn {
  border: 0;
  background: #fff;
  color: #0e1a25;
  cursor: pointer;
}

.menu-card {
  flex: 0 0 calc((100% - 80px) / 3);
  min-width: 0;
  height: 88px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  scroll-snap-align: start;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.menu-card:hover,
.menu-card:focus-visible {
  background: #fbfbfb;
  box-shadow: 0 9px 20px rgba(9, 18, 28, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.menu-card svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}

.menu-card img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.menu-card span:last-child {
  font-size: 14px;
}

.front-home-menu-carousel {
  position: relative;
  margin-top: 14px;
}

.front-home-menu-section .front-home-menu-scroll {
  width: 100%;
  margin-top: 0;
  position: relative;
  display: flex;
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.front-home-menu-section .front-home-menu-scroll::-webkit-scrollbar {
  display: none;
}

.front-home-menu-section .front-home-menu-scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.front-home-menu-card {
  flex: 0 0 clamp(82px, 23%, 100px);
  width: clamp(82px, 23%, 100px);
  height: 88px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  background: #fff;
  color: #0e1a25;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.front-home-menu-card:hover,
.front-home-menu-card:focus-visible {
  background: #fbfbfb;
  box-shadow: 0 9px 20px rgba(9, 18, 28, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.front-home-menu-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.front-home-menu-icon img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.front-home-menu-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.9;
}

body:not(.admin-route) .front-home-menu-icon {
  color: var(--front-text, #111827);
}

body:not(.admin-route) .front-menu-icon-img,
body:not(.admin-route) .front-menu-local-fallback {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

body:not(.admin-route) .front-menu-icon-img {
  display: block;
  object-fit: contain;
}

body:not(.admin-route) .front-menu-icon-img[hidden],
body:not(.admin-route) .front-menu-local-fallback[hidden] {
  display: none;
}

body:not(.admin-route) .front-menu-local-fallback svg {
  width: 32px;
  height: 32px;
  color: currentColor;
  stroke: currentColor;
}

.front-home-menu-title {
  max-width: 78px;
  overflow: hidden;
  color: #0e1a25;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.front-home-menu-carousel .front-home-menu-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 28px;
  height: 88px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111820;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.front-home-menu-carousel .front-home-menu-arrow.left {
  left: 0;
}

.front-home-menu-carousel .front-home-menu-arrow.right {
  right: 0;
  margin-left: 0;
}

.front-home-menu-carousel .front-home-menu-arrow[hidden] {
  display: none !important;
}

.front-home-menu-carousel .front-home-menu-arrow svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
  pointer-events: none;
}

.front-home-menu-carousel .front-home-menu-arrow:active {
  transform: translateY(-50%);
}

.wfp {
  width: 36px;
  height: 36px;
  border: 2px solid #111820;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 800;
  position: relative;
}

.wfp::before,
.wfp::after {
  content: "";
  position: absolute;
  inset: 4px 23px 4px 4px;
  border-left: 2px solid #111820;
  border-radius: 50%;
  transform: rotate(-24deg);
}

.wfp::after {
  inset: 4px 4px 4px 23px;
  transform: rotate(24deg);
}

.more-btn {
  flex: 0 0 28px;
  position: sticky;
  z-index: 5;
  border-radius: 0;
  display: grid;
  place-items: center;
  box-shadow: none;
  transition: background 150ms ease;
}

.prev-menu {
  left: 0;
}

.menu-strip .more-btn:last-child,
.menu-strip [data-menu-next] {
  right: 0;
  margin-left: auto;
}

.more-btn:hover,
.more-btn:focus-visible {
  background: #f7f7f7;
  outline: none;
}

.more-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.more-btn:disabled:hover {
  background: #fff;
}

.more-btn[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}

.more-btn svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-more {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #050505;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.view-more span {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #070707;
  color: #fff;
  display: grid;
  place-items: center;
}

.view-more svg {
  width: 18px;
  height: 18px;
}

.level-grid {
  margin-top: 19px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 10px;
}

.level-grid::-webkit-scrollbar {
  display: none;
}

.level-card {
  min-height: 0;
  border-radius: 9px;
  padding: 14px 12px 48px;
  overflow: hidden;
  position: relative;
}

.level-silver {
  color: #111827;
  background: #d8dce2 url("assets/remote-localized/vip/vip-bg-basic-solid-canva.png") center / cover no-repeat;
}

.level-gold {
  color: #121212;
  background: #ead6af url("assets/remote-localized/vip/vip-bg-mid-solid-canva.png") center / cover no-repeat;
}

.level-rose {
  color: #111827;
  background: #eee8dc url("assets/remote-localized/vip/vip-bg-premium-solid-canva.png") center / cover no-repeat;
}

.level-mentor {
  color: #fff;
  background: #a6a6a6 url("assets/remote-localized/vip/019e1216-30a9-7301-9621-475f0c4ce611.webp") center / cover no-repeat;
}

body:not(.admin-route) .level-silver,
body:not(.admin-route) .level-gold,
body:not(.admin-route) .level-rose {
  color: #111827;
}

body:not(.admin-route) .level-silver h3,
body:not(.admin-route) .level-gold h3,
body:not(.admin-route) .level-rose h3,
body:not(.admin-route) .level-silver .price,
body:not(.admin-route) .level-gold .price,
body:not(.admin-route) .level-rose .price {
  color: #111827;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

body:not(.admin-route) .level-silver p,
body:not(.admin-route) .level-gold p,
body:not(.admin-route) .level-rose p {
  color: rgba(17, 24, 39, 0.72);
}

.level-logo {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.18));
}

.badge {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: currentColor;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.badge svg {
  width: 58px;
  height: 58px;
  stroke-width: 1.2;
}

.rank-badge {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.18));
}

.rank-badge::before {
  content: "";
  position: absolute;
  inset: 8px 10px 6px;
  background: linear-gradient(135deg, #ffffff 0%, #d9d9d9 48%, #ffffff 100%);
  clip-path: polygon(50% 0, 63% 28%, 92% 17%, 78% 100%, 22% 100%, 8% 17%, 37% 28%);
  border-radius: 9px;
}

.rank-badge::after {
  content: "";
  position: absolute;
  inset: 14px 18px 14px;
  background:
    radial-gradient(circle at 50% 42%, #fff 0 17%, transparent 18%),
    linear-gradient(135deg, #f8f8f8, #bfc0c1);
  clip-path: polygon(50% 0, 61% 34%, 96% 34%, 68% 54%, 80% 90%, 50% 68%, 20% 90%, 32% 54%, 4% 34%, 39% 34%);
  opacity: 0.95;
}

.rank-badge span {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.rank-badge span:nth-child(1) {
  left: 21px;
  top: 18px;
  width: 20px;
  height: 4px;
  transform: rotate(-35deg);
}

.rank-badge span:nth-child(2) {
  right: 14px;
  bottom: 14px;
  width: 22px;
  height: 4px;
  transform: rotate(-18deg);
}

.rank-badge span:nth-child(3) {
  left: 13px;
  bottom: 18px;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
}

.rank-gold::before {
  background: linear-gradient(135deg, #fff7df 0%, #ffb66e 52%, #fff3dc 100%);
}

.rank-gold::after {
  background:
    radial-gradient(circle at 50% 42%, #fff 0 17%, transparent 18%),
    linear-gradient(135deg, #fff2c7, #ff9f5c);
}

.rank-rose::before {
  background: linear-gradient(135deg, #fff0f0 0%, #dc7d7d 52%, #ffe3e3 100%);
}

.rank-rose::after {
  background:
    radial-gradient(circle at 50% 42%, #fff 0 17%, transparent 18%),
    linear-gradient(135deg, #ffdede, #c96a6a);
}

.level-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.level-card p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
}

.level-card .price {
  font-size: 16px;
  font-weight: 500;
}

.level-card button {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 24px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: currentColor;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.level-card button:hover,
.level-card button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.level-card button:disabled {
  cursor: default;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, var(--max-w));
  height: 56px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0 16px 4px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.tabbar a {
  color: #17212b;
  text-decoration: none;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  min-width: 0;
  height: 52px;
  font-size: 12px;
  font-weight: 700;
  transition: color 150ms ease, transform 150ms ease;
}

.tabbar svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke-width: 2.2;
}

.tabbar a:not(.active) {
  color: #77808a;
}

.tabbar a.active {
  color: #050505;
}

.start {
  transform: none;
}

.start-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #050505;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin-top: -25px;
  margin-bottom: -2px;
}

.start-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.icon-btn:active,
.menu-card:active,
.more-btn:active,
.view-more:active,
.level-card button:active,
.hero-copy button:active {
  transform: scale(0.97);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 78px;
  z-index: 40;
  width: min(calc(100% - 32px), 360px);
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 10, 12, 0.92);
  text-align: center;
  font-size: 14px;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.sheet.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-panel {
  width: min(100%, 420px);
  border-radius: 16px 16px 10px 10px;
  padding: 22px 18px 18px;
  background: #fff;
  color: #08111b;
  position: relative;
  transform: translateY(16px);
  transition: transform 180ms ease;
}

.sheet.open .sheet-panel {
  transform: translateY(0);
}

.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  color: #111;
  cursor: pointer;
}

.sheet-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #101413;
}

.sheet h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.sheet p {
  margin: 0 0 18px;
  color: #47515c;
  line-height: 1.5;
}

.sheet-primary {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #101413;
  font-weight: 800;
  cursor: pointer;
}

.route-page {
  min-height: calc(100vh - 92px);
  background: #f6f6f6;
}

.route-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 56px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid rgba(7, 16, 26, 0.06);
}

.route-header h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}

.route-back {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  color: #111820;
  cursor: pointer;
}

.route-back svg {
  width: 22px;
  height: 22px;
}

.route-body {
  padding: 16px;
}

.embedded-route .route-body {
  padding: 0;
}

.app-page-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #fff;
}

.app-page-header h1 {
  margin: 0;
  color: #111;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
}

.app-page-header > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plain-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 0;
  display: grid;
  place-items: center;
  color: #111;
  background: transparent;
  cursor: pointer;
}

.plain-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.2;
}

.stack-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 58px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 16, 26, 0.06);
}

.stack-header h1 {
  margin: 0;
  color: #333;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
}

.stack-back {
  width: 48px;
  height: 58px;
  border: 0;
  display: grid;
  place-items: center;
  color: #1a1f24;
  background: transparent;
  cursor: pointer;
}

.stack-back svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.1;
}

.plain-icon.is-blue {
  color: #2f80ff;
}

.front-bell-btn {
  position: relative;
}

.front-bell-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #ff2f3f;
  pointer-events: none;
}

.route-hero {
  padding: 22px 18px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 20, 19, 0.96), rgba(47, 59, 58, 0.92)),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.22), transparent 30%);
}

.route-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #101413;
  background: #fff;
  margin-bottom: 16px;
}

.route-icon svg {
  width: 25px;
  height: 25px;
}

.route-hero h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.route-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 14px;
}

.route-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.route-stats article {
  min-height: 78px;
  padding: 12px 10px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  align-content: center;
  gap: 8px;
}

.route-stats span {
  color: #65717d;
  font-size: 12px;
}

.route-stats strong {
  font-size: 17px;
  line-height: 1.15;
}

.route-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.route-list button {
  height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #101820;
  cursor: pointer;
}

.route-list svg {
  width: 18px;
  height: 18px;
  color: #8a929a;
}

.route-list button > span {
  flex: 1;
  min-width: 0;
  margin: 0 10px;
}

.route-list strong,
.route-list small {
  display: block;
}

.route-list strong {
  font-size: 14px;
}

.route-list small {
  margin-top: 4px;
  color: #7a858f;
  font-size: 12px;
  font-weight: 400;
}

.route-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.route-actions button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #101413;
  font-weight: 800;
  cursor: pointer;
}

.route-actions button.primary {
  color: #fff;
  background: #101413;
}

.mini-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-stats article {
  min-height: 76px;
  padding: 12px 10px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  align-content: center;
  gap: 7px;
}

.mini-stats span {
  color: #6f7a85;
  font-size: 12px;
}

.mini-stats strong {
  font-size: 16px;
}

.task-hero,
.profile-card,
.pay-card,
.notice-card {
  border-radius: 8px;
  padding: 18px;
  background: #101413;
  color: #fff;
}

.task-hero {
  min-height: 174px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  background:
    linear-gradient(110deg, rgba(16, 20, 19, 0.96), rgba(16, 20, 19, 0.55)),
    linear-gradient(135deg, #3a4b4a, #caa07e);
}

.task-hero span,
.pay-card span,
.notice-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.task-hero h2,
.profile-card h2,
.notice-card h2 {
  margin: 8px 0;
  font-size: 24px;
}

.task-hero p,
.notice-card p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.task-hero button,
.profile-card button,
.wallet-panel button,
.form-card button,
.article-page button {
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #101413;
  font-weight: 800;
  cursor: pointer;
}

.task-hero button {
  width: 82px;
  height: 42px;
}

.task-card {
  margin-top: 12px;
  min-height: 92px;
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

.task-thumb {
  width: 72px;
  height: 68px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(135deg, #2d8bb8, #f1d1a7);
}

.task-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.task-card p {
  margin: 0;
  color: #6c7680;
  font-size: 13px;
}

.record-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
}

.ref-tabs,
.charge-tabs,
.notice-tabs {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  height: 48px;
  padding: 0 6px;
  border-radius: 0;
  align-items: center;
}

.charge-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.notice-tabs {
  grid-template-columns: repeat(2, 1fr);
}

.record-tabs button {
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d7480;
  font-weight: 800;
  cursor: pointer;
}

.record-tabs button.active {
  color: #fff;
  background: #101413;
}

.front-record-page {
  min-height: 100vh;
  padding-bottom: 76px;
  background: #f3f3f3;
}

.front-order-record-tabs {
  margin: 0;
  border-bottom: 1px solid rgba(7, 16, 26, 0.05);
}

.front-record-list {
  display: grid;
  gap: 10px;
  padding: 12px 12px 84px;
}

.front-order-record-card,
.front-record-line-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.front-order-record-card {
  padding: 12px;
}

.front-order-record-main {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.front-order-record-main img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f3f5;
}

.front-order-image-placeholder {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  color: #7b8794;
  background: linear-gradient(135deg, #f7f9fb, #e9edf3);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.front-order-record-info {
  min-width: 0;
}

.front-order-record-type {
  width: fit-content;
  margin-bottom: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #48505a;
  background: #f3f5f7;
  font-size: 11px;
  font-weight: 800;
}

.front-order-record-info h3 {
  margin: 0;
  overflow: hidden;
  color: #111312;
  font-size: 14px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.front-order-record-stars {
  margin-top: 7px;
  color: #ffb21d;
  font-size: 12px;
  letter-spacing: 0;
}

.front-order-record-meta {
  min-width: 68px;
  display: grid;
  justify-items: end;
  gap: 5px;
  color: #6d7480;
  font-size: 12px;
  white-space: nowrap;
}

.front-record-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.front-record-status.is-success {
  color: #0f9f52;
  background: #eaf8ef;
}

.front-record-status.is-pending {
  color: #a66b00;
  background: #fff4d6;
}

.front-record-status.is-danger {
  color: #e23c3c;
  background: #ffecec;
}

.front-order-record-meta strong {
  color: #111312;
  font-size: 13px;
}

.front-order-record-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  color: #7c8490;
  font-size: 12px;
}

.front-order-record-bottom span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.front-order-record-bottom b {
  color: #111312;
}

.front-order-record-bottom b.green {
  color: #10b45a;
}

.front-record-line-card {
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.front-record-line-card div {
  min-width: 0;
}

.front-record-line-card strong {
  display: block;
  color: #111312;
  font-size: 15px;
}

.front-record-line-card small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #8a929c;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.front-record-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 900;
}

.front-record-icon.is-finance {
  color: #10a756;
  background: #e8f7ee;
  font-size: 20px;
}

.front-record-icon.is-count {
  color: #fff;
  background: #ff4545;
  font-size: 14px;
}

.front-record-line-card em {
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.front-record-line-card em.is-plus {
  color: #10b45a;
}

.front-record-page .front-record-withdraw-filter {
  display: flex;
  gap: 4px;
  margin: 12px 12px 0;
  padding: 6px;
  border-radius: 999px;
  background: #e9e9ed;
}

.front-record-page .front-record-withdraw-filter-btn {
  flex: 1 1 0;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8d9098;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.front-record-page .front-record-withdraw-filter-btn.active {
  color: #fff;
  background: #7b2de2;
  box-shadow: 0 6px 14px rgba(123, 45, 226, 0.22);
}

.front-record-page .front-record-empty {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 34px 16px 96px;
  color: #9399a3;
  text-align: center;
}

.front-record-page .front-record-empty p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.front-record-page .front-record-empty-illustration {
  position: relative;
  width: 106px;
  height: 86px;
  border-radius: 22px;
  background: linear-gradient(180deg, #eef7ff 0%, #dceeff 100%);
}

.front-record-page .front-record-empty-illustration::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 10px;
  border-radius: 999px;
  background: #c7ddf2;
}

.front-record-page .front-record-empty-illustration span {
  position: absolute;
  left: 30px;
  top: 20px;
  width: 46px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(71, 116, 160, 0.12);
}

.front-record-page .front-record-empty-illustration span::before,
.front-record-page .front-record-empty-illustration span::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 999px;
  background: #d5e4f1;
}

.front-record-page .front-record-empty-illustration span::before {
  top: 10px;
}

.front-record-page .front-record-empty-illustration span::after {
  top: 19px;
}

.front-record-page .front-record-empty-illustration i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #a8cff3;
}

.ref-empty {
  min-height: calc(100vh - 58px - 48px - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  background: #f3f3f3;
  color: #8b939d;
  text-align: center;
}

.ref-empty img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.ref-empty p {
  margin: -8px 0 0;
  font-size: 13px;
}

.empty-state {
  margin-top: 12px;
  min-height: 220px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background: #fff;
  text-align: center;
  color: #111820;
}

.empty-state svg {
  width: 48px;
  height: 48px;
  color: #9aa3ad;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  max-width: 260px;
  color: #74808b;
  font-size: 14px;
}

.profile-card {
  display: grid;
  grid-template-columns: 54px 1fr 62px;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #101413;
  background: #fff;
}

.profile-card h2,
.profile-card p {
  margin: 0;
}

.profile-card p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.ref-profile,
.pay-card,
.vip-stack,
.service-list,
.ref-article {
  margin: 14px 16px 0;
}

.profile-card button,
.wallet-panel button {
  height: 34px;
}

.wallet-panel {
  margin-top: 12px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e2c3a4, #fff0df);
}

.wallet-panel span,
.pay-card span {
  display: block;
  color: #5f6973;
  font-size: 13px;
  font-weight: 800;
}

.wallet-panel strong,
.pay-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.pay-card {
  background: linear-gradient(135deg, #111716, #596462);
}

.pay-card span {
  color: rgba(255, 255, 255, 0.65);
}

.pay-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.amount-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.amount-grid button {
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.amount-grid button.active {
  color: #fff;
  background: #101413;
}

.form-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 12px;
}

.form-card label {
  display: grid;
  gap: 7px;
  color: #63707b;
  font-size: 13px;
  font-weight: 800;
}

.form-card input {
  height: 42px;
  border: 1px solid rgba(7, 16, 26, 0.08);
  border-radius: 8px;
  padding: 0 12px;
  background: #f7f7f7;
  color: #101413;
  font: inherit;
}

.form-card button {
  height: 44px;
  color: #fff;
  background: #101413;
}

.vip-stack {
  display: grid;
  gap: 12px;
}

.vip-card {
  min-height: 174px;
  border-radius: 9px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.vip-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.vip-card .level-logo {
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
}

.vip-card h2 {
  margin: 0 0 9px;
}

.vip-card strong {
  display: block;
  margin-bottom: 9px;
  font-size: 22px;
}

.vip-card p {
  max-width: 360px;
  margin: 0;
  line-height: 1.45;
}

.vip-card button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.9);
}

.vip-card button:disabled {
  cursor: default;
}

.service-list {
  display: grid;
  gap: 12px;
}

.ref-service-list {
  margin: 16px 0 0;
  padding: 0 16px;
  gap: 16px;
}

.service-list article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.ref-service-list article {
  min-height: 72px;
  border-radius: 8px;
  padding: 16px;
}

.service-list img,
.service-list article > i {
  width: 34px;
  height: 34px;
  object-fit: contain;
  color: #101413;
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  font-size: 15px;
}

.service-list span {
  margin-top: 5px;
  color: #7a838d;
  font-size: 12px;
}

.service-list button {
  min-width: 68px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #101413;
  font-size: 12px;
  font-weight: 800;
}

.ref-service-list button {
  min-width: 86px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #141817, #303735);
}

.ref-article {
  min-height: calc(100vh - 58px);
  margin: 0;
  padding: 22px 16px 34px;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

.ref-article img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto 14px;
}

.ref-article span {
  display: block;
  color: #7a838d;
  font-size: 13px;
}

.ref-article h2 {
  margin-top: 8px;
}

.ref-article p {
  margin: 14px auto 0;
  max-width: 300px;
  color: #46525e;
  font-size: 14px;
  line-height: 1.6;
}

.article-lines {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.article-lines span {
  height: 8px;
  border-radius: 999px;
  background: #eef1f4;
}

.article-lines span:nth-child(2) {
  width: 84%;
  margin: 0 auto;
}

.article-lines span:nth-child(3) {
  width: 62%;
  margin: 0 auto;
}

.text-article {
  color: #050505;
  font-size: 18px;
  line-height: 1.34;
}

.text-article p {
  max-width: none;
  margin: 0 0 6px;
  color: #050505;
  font-size: 18px;
  line-height: 1.34;
}

.text-article strong {
  font-weight: 800;
}

.text-article img {
  display: block;
}

.chat-panel {
  min-height: 300px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  align-content: start;
  gap: 12px;
}

.chat-row {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 14px;
}

.chat-row.bot {
  justify-self: start;
  background: #f1f3f4;
}

.chat-row.user {
  justify-self: end;
  color: #fff;
  background: #101413;
}

.quick-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-grid button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.chat-input {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
}

.chat-input input {
  height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  font: inherit;
}

.chat-input button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #101413;
}

.notice-card {
  background: linear-gradient(135deg, #101413, #384342);
}

.message-page {
  min-height: 100vh;
  background: #f3f3f3;
  color: #101413;
}

.message-sticky {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 16, 26, 0.06);
}

.message-header {
  height: 56px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  padding: 0 12px;
}

.message-header h1 {
  margin: 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.message-back {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #101413;
}

.message-back svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.35;
}

.message-tabs {
  position: relative;
  height: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  background: #fff;
}

.message-tabs button {
  position: relative;
  height: 52px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 15px;
  font-weight: 500;
}

.message-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #101413;
}

.message-empty {
  min-height: calc(100vh - 108px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  color: #8b939d;
  text-align: center;
}

.message-empty img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

body:not(.admin-route) .message-empty-illustration {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(244, 247, 250, 0.98), rgba(232, 238, 244, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 28px rgba(20, 32, 45, 0.08);
}

body:not(.admin-route) .message-empty-illustration svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: #9aa6b2;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:not(.admin-route) .message-empty-illustration circle {
  fill: #d7dee7;
  stroke: #9aa6b2;
}

.message-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 2.45;
}

.wfp-page {
  min-height: calc(100vh - 58px);
  background: #fff;
  color: #1b1f24;
}

.wfp-sitebar {
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #e2e7ed;
}

.wfp-brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #007dbc;
}

.wfp-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #007dbc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.wfp-brand-mark strong {
  color: #007dbc;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 900;
}

.wfp-sitebar button {
  height: 34px;
  border: 0;
  border-radius: 2px;
  padding: 0 14px;
  color: #fff;
  background: #007dbc;
  font-weight: 900;
}

.wfp-sitebar > span {
  color: #1b1f24;
  font-size: 13px;
  font-weight: 800;
}

.wfp-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #0c2535;
}

.wfp-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.wfp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 28, 45, 0.76));
}

.wfp-hero > div {
  position: relative;
  z-index: 1;
  padding: 0 20px 34px;
}

.wfp-hero p {
  width: max-content;
  margin: 0 0 12px;
  padding: 5px 9px;
  background: #007dbc;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wfp-hero h2 {
  margin: 0;
  max-width: 520px;
  color: #fff;
  font-size: 34px;
  line-height: 1.03;
  font-weight: 900;
}

.wfp-hero span {
  display: block;
  margin-top: 12px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.45;
}

.wfp-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.wfp-actions button,
.wfp-intro button {
  height: 38px;
  border: 0;
  border-radius: 2px;
  padding: 0 16px;
  color: #007dbc;
  background: #fff;
  font-weight: 900;
}

.wfp-actions button + button,
.wfp-intro button {
  color: #fff;
  background: #007dbc;
}

.wfp-story-grid {
  display: grid;
  gap: 14px;
  padding: 18px 16px;
  background: #f4f7fa;
}

.wfp-story-grid article {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  min-height: 94px;
  background: #fff;
  border-left: 4px solid #007dbc;
}

.wfp-story-grid img {
  grid-row: 1 / 3;
  width: 118px;
  height: 100%;
  min-height: 94px;
  object-fit: cover;
}

.wfp-story-grid p {
  grid-column: 2;
  margin: 14px 10px 5px 0;
  color: #007dbc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.wfp-story-grid strong {
  grid-column: 2;
  display: block;
  padding-right: 10px;
  color: #1b1f24;
  font-size: 15px;
  line-height: 1.25;
}

.wfp-intro,
.wfp-numbers,
.wfp-work {
  padding: 26px 18px;
}

.wfp-intro h2,
.wfp-numbers h2,
.wfp-work h2 {
  margin: 0 0 14px;
  color: #1b1f24;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
}

.wfp-intro p,
.wfp-work p {
  margin: 0 0 18px;
  color: #4a5560;
  font-size: 15px;
  line-height: 1.55;
}

.wfp-numbers {
  display: grid;
  gap: 12px;
  color: #fff;
  background: #007dbc;
}

.wfp-numbers h2 {
  color: #fff;
}

.wfp-numbers article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.wfp-numbers strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.wfp-numbers span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.wfp-work div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wfp-work span {
  padding: 8px 10px;
  border: 1px solid #d5e2ec;
  color: #007dbc;
  background: #f7fbfd;
  font-size: 13px;
  font-weight: 800;
}

.wfp-footer {
  padding: 24px 18px 34px;
  color: #fff;
  background: #003e63;
}

.wfp-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.wfp-footer p,
.wfp-footer span {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-grid article {
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.shop-img {
  height: 118px;
  border-radius: 7px;
  margin-bottom: 10px;
}

.shop-product-img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  border-radius: 7px;
  margin-bottom: 10px;
  background: #f4f4f4;
}

.tone-1 { background: linear-gradient(135deg, #dce9ef, #2d8bb8); }
.tone-2 { background: linear-gradient(135deg, #f8efe5, #caa07e); }
.tone-3 { background: linear-gradient(135deg, #f5d6d6, #b97979); }
.tone-4 { background: linear-gradient(135deg, #e8ede6, #5f7467); }

.shop-grid h3,
.shop-grid p {
  margin: 0;
}

.shop-grid p {
  margin-top: 6px;
  color: #6f7a85;
  font-size: 12px;
}

.article-page {
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}

.article-page span {
  color: #6f7a85;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-page h2 {
  margin: 10px 0 14px;
  font-size: 26px;
}

.article-page p {
  color: #394653;
  line-height: 1.7;
}

.article-page button {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  color: #fff;
  background: #101413;
}

.front-certificate-page {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 18px;
}

.front-certificate-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.front-certificate-empty {
  width: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #8a94a6;
  text-align: center;
}

.front-certificate-empty svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.7;
}

.front-certificate-empty p {
  margin: 0;
  color: #8a94a6;
  font-size: 14px;
}

/* Closer app-page pass: restrained cards, local subpages, no marketing hero feel. */
.no-tabbar .phone-shell {
  padding-bottom: 0;
}

.route-page {
  background: #f3f3f3;
}

.route-body {
  padding: 14px 14px 24px;
}

.route-header {
  height: 52px;
  background: #fff;
  box-shadow: none;
}

.route-header h1 {
  font-size: 16px;
  font-weight: 800;
}

.route-back {
  background: transparent;
}

.task-hero {
  min-height: 154px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08)),
    url("assets/remote-localized/backgrounds/019e1222-b5d2-7685-a08a-77e42de45f7d.webp") center / cover;
}

.task-hero h2 {
  margin: 6px 0;
  font-size: 30px;
}

.task-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.start-task-btn {
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #101413;
  font-weight: 800;
  font-size: 15px;
}

.mini-stats article,
.task-card,
.route-list button,
.record-tabs,
.empty-state,
.form-card,
.chat-panel,
.quick-grid button,
.chat-input input,
.shop-grid article,
.article-page {
  box-shadow: none;
  border: 1px solid rgba(7, 16, 26, 0.04);
}

.profile-card {
  min-height: 126px;
  grid-template-columns: 54px 1fr;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 20, 19, 0.84), rgba(16, 20, 19, 0.38)),
    url("https://squarasapce.com/u/files/20260510/019e1223-78a3-787c-81c8-2063fab06ea3.webp") center / cover;
}

.wallet-panel {
  background: #fff;
}

.wallet-panel button {
  min-width: 72px;
  color: #fff;
  background: #101413;
}

.pay-card {
  color: #fff;
  background: #101413;
}

.pay-card strong {
  font-size: 32px;
}

.block-title {
  margin: 18px 0 10px;
  font-size: 18px;
}

.amount-grid button.active,
.record-tabs button.active {
  background: #101413;
}

.vip-stack {
  gap: 10px;
}

.vip-card {
  min-height: 190px;
}

.chat-panel {
  min-height: 360px;
}

.article-page {
  min-height: calc(100vh - 92px);
}

.embedded-route .text-article {
  min-height: calc(100vh - 58px);
  margin: 0;
  padding: 22px 16px 34px;
  border: 0;
  border-radius: 0;
  color: #050505;
  background: #fff;
  font-size: 18px;
  line-height: 1.34;
}

.embedded-route .text-article p {
  margin: 0 0 6px;
  color: #050505;
  font-size: 18px;
  line-height: 1.34;
}

.embedded-route .text-article img {
  max-width: 100%;
  height: auto;
}

.embedded-route .mine-page {
  min-height: 100vh;
  margin: 0;
  padding: 0 16px 34px;
  background: #f4f4f4;
  color: #111;
  overflow-x: clip;
}

.mine-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 58px;
  margin: 0 -16px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 16, 26, 0.08);
}

.mine-header h1 {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.mine-back,
.mine-logout,
.mine-row,
.mine-balance-card button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.mine-back {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #111;
}

.mine-back svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

.mine-logout {
  min-width: 84px;
  height: 36px;
  border-radius: 10px;
  padding: 0 14px;
  background: #101413;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.mine-member-card {
  position: relative;
  min-height: 132px;
  margin-top: 28px;
  padding: 18px 14px 18px;
  border-radius: 7px;
  overflow: visible;
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto 1fr;
  gap: 12px 10px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(178, 151, 116, 0.72), rgba(207, 188, 164, 0.35)),
    url("https://squarasapce.com/u/files/20260510/019e1223-78a3-787c-81c8-2063fab06ea3.webp") center / cover no-repeat;
}

.mine-member-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 68px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(90deg, rgba(184, 162, 135, 0.55), rgba(218, 198, 174, 0.22));
  pointer-events: none;
}

.mine-avatar {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #101413;
  display: grid;
  place-items: center;
}

.mine-avatar::before {
  content: "";
  width: 33px;
  height: 23px;
  display: block;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 38%, #fff 40% 50%, transparent 52%),
    radial-gradient(ellipse at 70% 50%, transparent 38%, #fff 40% 50%, transparent 52%);
  transform: rotate(-35deg);
}

.mine-member-main {
  position: relative;
  z-index: 1;
  align-self: center;
}

.mine-member-main h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
}

.mine-member-main p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
}

.mine-member-main svg {
  width: 12px;
  height: 12px;
}

.mine-rank-badge {
  position: absolute;
  top: -26px;
  right: 18px;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.mine-rank-name {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: 14px;
  width: 90px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.42);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mine-credit {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  align-items: end;
  font-size: 14px;
}

.mine-credit span,
.mine-credit strong {
  font-weight: 500;
}

.mine-credit::after {
  display: none;
  content: "";
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: #111;
}

.mine-credit-track {
  grid-column: 1 / -1;
  display: block;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.22);
}

.mine-credit-bar {
  display: block;
  width: var(--mine-credit-percent, 100%);
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #111;
}

.mine-balance-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 7px;
  background: #fff;
}

.mine-balance-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.mine-balance-row > div:last-child {
  text-align: right;
}

.mine-balance-row span {
  display: block;
  margin-bottom: 5px;
  color: #26313a;
  font-size: 13px;
}

.mine-balance-row strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.mine-balance-row .green {
  color: #10c66e;
}

.mine-balance-card button {
  width: 100%;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  font-weight: 900;
}

.mine-deposit {
  background: #ffb21a;
}

.mine-withdraw {
  margin-top: 14px;
  background: #101413;
}

.mine-section-title {
  margin: 14px 6px 8px;
  color: #29323a;
  font-size: 13px;
}

.mine-list {
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.mine-row {
  width: 100%;
  min-height: 60px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111;
  text-align: left;
}

.mine-list.compact .mine-row {
  grid-template-columns: 1fr 24px;
  min-height: 46px;
}

.mine-row + .mine-row {
  border-top: 1px solid #e9e9e9;
}

.mine-row span {
  min-width: 0;
}

.mine-row strong,
.mine-row small {
  display: block;
}

.mine-row strong {
  font-size: 14px;
  font-weight: 800;
}

.mine-row small {
  margin-top: 3px;
  color: #5e6872;
  font-size: 14px;
}

.mine-row > svg {
  justify-self: end;
  width: 22px;
  height: 22px;
  color: #2685ff;
  stroke-width: 2.4;
}

.mine-row-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.mine-row-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}

.mine-row-icon.red {
  border-radius: 50%;
  color: #fff;
  background: #ef4059;
}

.mine-row-icon.green {
  color: #20d085;
}

.mine-row-icon.dark {
  color: #101413;
}

.mine-confirm {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.28);
}

.mine-confirm-box {
  width: min(100%, 320px);
  border-radius: 12px;
  padding: 20px 16px 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.mine-confirm-box strong {
  display: block;
  font-size: 18px;
}

.mine-confirm-box p {
  margin: 10px 0 18px;
  color: #5e6872;
  font-size: 14px;
}

.mine-confirm-box div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mine-confirm-box button {
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: #f0f0f0;
  font-weight: 800;
}

.mine-confirm-box button:last-child {
  color: #fff;
  background: #101413;
}

.route-mine-list {
  margin: 16px;
}

.mine-form-page {
  min-height: calc(100vh - 58px);
  padding: 16px;
  background: #f3f3f3;
}

.mine-form-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
}

.mine-form-card label {
  display: grid;
  gap: 7px;
  color: #26313a;
  font-size: 13px;
  font-weight: 800;
}

.mine-form-card input {
  width: 100%;
  height: 42px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 0 12px;
  background: #f7f7f7;
  font: inherit;
}

.mine-form-card button {
  height: 42px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #101413;
  font-weight: 900;
}

.mine-row-icon.blue {
  color: #2f80ed;
  background: #eef5ff;
}

.front-realname-page .dialog-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.front-realname-page .dialog-field span {
  font-size: 13px;
  color: #4b5563;
}

.front-realname-page .dialog-field input,
.front-realname-page .dialog-field select {
  width: 100%;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 12px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.front-realname-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.front-realname-upload {
  min-height: 118px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #475569;
}

.front-realname-upload span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: #2563eb;
}

.front-realname-upload strong {
  font-size: 13px;
  font-weight: 600;
}

.front-realname-upload small {
  font-size: 12px;
  color: #94a3b8;
}

.front-realname-status,
.front-realname-record {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.front-realname-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.front-realname-status span,
.front-realname-record p span {
  color: #6b7280;
  font-size: 13px;
}

.front-realname-status strong {
  color: #1677ff;
  font-size: 14px;
}

.front-realname-record h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.front-realname-record p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0;
  font-size: 13px;
}

.front-realname-record p strong {
  color: #111827;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.ref-sub-tabs {
  position: sticky;
  top: 58px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 46px;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.ref-sub-tabs.two {
  grid-template-columns: repeat(2, 1fr);
}

.ref-sub-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: #66717c;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.ref-sub-tabs button.active {
  color: #101413;
}

.ref-sub-tabs button.active::after {
  content: "";
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: 0;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: #101413;
}

.charge-page,
.withdraw-page,
.wallet-page,
.security-page,
.setting-page {
  min-height: calc(100vh - 58px);
  padding: 16px;
  background: #f3f3f3;
}

.charge-page h2,
.setting-page h2 {
  margin: 18px 2px 10px;
  font-size: 14px;
  font-weight: 900;
}

.charge-page-simple {
  min-height: calc(100vh - 104px);
}

.charge-login-card {
  display: grid;
  gap: 12px;
  margin: 24px 0 16px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 19, 18, 0.96), rgba(65, 73, 68, 0.88)),
    url("https://squarasapce.com/u/files/20260510/019e11e3-e5d4-7e61-9107-39f5931dbf9b.webp") center / cover no-repeat;
}

.charge-login-card span {
  font-size: 14px;
}

.charge-login-card strong {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font-weight: 500;
}

.charge-login-card b {
  font-size: 28px;
  line-height: 1;
}

.charge-login-card small {
  font-size: 14px;
}

.charge-balance-card,
.withdraw-balance-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #0d1111, #565f59);
}

.charge-balance-card span,
.withdraw-balance-card span {
  font-size: 13px;
  opacity: 0.86;
}

.charge-balance-card strong,
.withdraw-balance-card strong {
  font-size: 30px;
  line-height: 1;
}

.withdraw-balance-card small {
  font-size: 12px;
  opacity: 0.82;
}

.charge-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.charge-amounts button {
  height: 44px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.charge-amounts button.active {
  color: #fff;
  border-color: #101413;
  background: #101413;
}

.charge-form-card {
  margin-top: 12px;
}

.withdraw-panel,
.withdraw-summary {
  margin-top: 14px;
  padding: 15px;
  border-radius: 8px;
  background: #fff;
}

.withdraw-label,
.withdraw-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.withdraw-label span,
.withdraw-summary span {
  font-size: 14px;
  font-weight: 900;
}

.withdraw-label em {
  color: #e34040;
  font-style: normal;
  font-size: 12px;
}

.withdraw-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  border-bottom: 1px solid #e6e6e6;
}

.withdraw-input-row input {
  min-width: 0;
  height: 42px;
  border: 0;
  font: inherit;
  outline: 0;
}

.withdraw-input-row button {
  border: 0;
  background: transparent;
  color: #2f80ed;
  font-weight: 900;
}

.withdraw-panel p,
.wallet-tip {
  margin: 0;
  color: #76818c;
  font-size: 12px;
}

.withdraw-safe-tip {
  margin: 12px 2px;
  color: #7a858f;
  font-size: 12px;
  line-height: 1.55;
}

.withdraw-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.withdraw-summary strong {
  color: #2f80ed;
}

.ref-primary-btn,
.ref-default-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}

.ref-primary-btn {
  color: #fff;
  background: #101413;
}

.ref-default-btn {
  color: #101413;
  background: #f2f2f2;
}

.record-status-tabs {
  position: sticky;
  top: 58px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px 10px;
  background: #fff;
}

.record-status-tabs button {
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #707982;
  font-weight: 800;
}

.record-status-tabs button.active {
  color: #fff;
  background: #101413;
}

.withdrawal-record-tabs {
  top: 58px;
}

.withdrawal-status-tabs {
  top: 104px;
  gap: 0;
  padding: 8px 12px;
  background: #f3f3f3;
  border-bottom: 1px solid #e7e7e7;
}

.withdrawal-status-tabs button {
  height: 34px;
  border-radius: 0;
  background: transparent;
  color: #68727d;
  font-size: 14px;
  font-weight: 500;
}

.withdrawal-status-tabs button:first-child {
  border-radius: 17px 0 0 17px;
}

.withdrawal-status-tabs button:last-child {
  border-radius: 0 17px 17px 0;
}

.withdrawal-status-tabs button.active {
  border-radius: 17px;
  color: #fff;
  background: #8a2be2;
  font-weight: 800;
}

.withdrawal-record-page {
  position: relative;
  min-height: calc(100vh - 58px - 46px - 51px);
  background: #f3f3f3;
  padding-bottom: 64px;
}

.withdrawal-record-page .ref-empty {
  min-height: calc(100vh - 58px - 46px - 51px - 64px);
}

.record-pagination {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 75;
  width: min(100%, var(--max-w));
  transform: translateX(-50%);
  padding: 8px 10px 10px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -1px 12px rgba(7, 16, 26, 0.05);
}

.record-pagination button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #101413;
  font-weight: 900;
}

.setting-switch-card,
.setting-list-card,
.theme-color-card,
.security-card {
  border-radius: 8px;
  background: #fff;
}

.wallet-page-reference {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-field-block {
  display: grid;
  gap: 6px;
}

.ref-field-label {
  margin-left: 16px;
  color: #53606b;
  font-size: 13px;
  font-weight: 700;
}

.wallet-address-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 48px;
  border-radius: 8px;
  background: #fff;
  overflow: visible;
}

.wallet-select {
  position: relative;
  z-index: 8;
  margin-left: 8px;
}

.wallet-select > button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 84px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: #fff;
  background: #101413;
  font-weight: 800;
}

.wallet-select > button svg {
  width: 16px;
  height: 16px;
}

.wallet-select-menu {
  position: absolute;
  left: 0;
  top: 40px;
  min-width: 92px;
  padding: 6px 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.wallet-select-menu button {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 13px;
  color: #101413;
  background: #fff;
  font: inherit;
  text-align: left;
}

.wallet-select-menu button:hover {
  background: #f3f3f3;
}

.wallet-select-menu svg {
  width: 16px;
  height: 16px;
}

.wallet-address-input input {
  min-width: 0;
  height: 48px;
  border: 0;
  padding: 0 12px;
  background: transparent;
  font: inherit;
  outline: 0;
}

.wallet-extra-tip {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: #5d6872;
  font-size: 13px;
}

.wallet-extra-tip strong {
  color: #101413;
  font-size: 14px;
}

.wallet-extra-tip p {
  margin: 0;
  line-height: 1.45;
}

.security-page {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 16px;
}

.security-card {
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.security-card-head {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.security-card h2 {
  margin: 0;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.security-card-head h2 {
  height: auto;
}

.verify-bars {
  display: flex;
  gap: 8px;
  align-items: center;
}

.verify-bars span {
  width: 38px;
  height: 6px;
  border-radius: 99px;
  background: #d6d6d2;
}

.verify-bars span.on {
  background: #a77800;
}

.security-bind-row,
.security-pass-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
}

.security-pass-row {
  grid-template-columns: 28px 1fr auto;
  align-items: center;
}

.security-icon {
  position: relative;
  top: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #101413;
}

.security-icon.success {
  color: #20c977;
}

.security-icon.info {
  color: #2f80ed;
}

.security-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.security-bind-row + .security-bind-row,
.security-pass-row + .security-pass-row {
  border-top: 1px solid #eceff2;
}

.security-bind-row strong,
.security-pass-row strong,
.setting-list-card span {
  display: block;
  font-size: 14px;
}

.security-bind-row small,
.security-pass-row small,
.setting-switch-card small {
  display: block;
  margin-top: 3px;
  color: #73808a;
  font-size: 12px;
}

.security-bind-row p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 0;
}

.security-bind-row p span {
  color: #101413;
  font-size: 14px;
}

.security-bind-row button,
.security-pass-row button {
  min-width: 52px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #101413;
  font-weight: 800;
}

.security-verify-row p button {
  min-width: 56px;
  background: #101413;
}

.security-verify-row p button.bound {
  background: #9a0a43;
}

.setting-page {
  display: grid;
  align-content: start;
}

.setting-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 14px;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}

.setting-switch-card em {
  width: 44px;
  height: 24px;
  border-radius: 99px;
  background: #d9d9d9;
  position: relative;
}

.setting-switch-card em::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.setting-switch-card em.on {
  background: #101413;
}

.setting-switch-card em.on::after {
  left: 23px;
}

.setting-list-card {
  overflow: hidden;
}

.setting-list-card button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  border: 0;
  border-bottom: 1px solid #ececec;
  padding: 0 14px;
  background: #fff;
  text-align: left;
  font: inherit;
}

.setting-list-card button:last-child {
  border-bottom: 0;
}

.setting-list-card i {
  color: #2f80ed;
}

.front-language-page {
  display: grid;
  align-content: start;
  gap: 14px;
}

.front-language-summary {
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
}

.front-language-summary span {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.front-language-summary strong {
  display: block;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.front-language-summary p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.front-language-list button.active {
  color: #1677ff;
  font-weight: 900;
}

.theme-color-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.theme-picker-board {
  position: relative;
  height: 200px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), #000),
    linear-gradient(90deg, #fff, #12d86f);
  overflow: hidden;
}

.picker-point {
  position: absolute;
  left: 36px;
  bottom: 6px;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.theme-hue-bar,
.theme-alpha-bar {
  position: relative;
  height: 13px;
  border-radius: 99px;
}

.theme-hue-bar {
  background: linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);
}

.theme-alpha-bar {
  background:
    linear-gradient(45deg, #bbb 25%, transparent 25% 75%, #bbb 75%),
    linear-gradient(45deg, #bbb 25%, transparent 25% 75%, #bbb 75%);
  background-color: #eee;
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
}

.theme-hue-bar span,
.theme-alpha-bar span {
  position: absolute;
  top: -4px;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #12d86f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.theme-hue-bar span {
  left: 39%;
}

.theme-alpha-bar span {
  right: -1px;
  background: #111312;
}

.theme-hex-input,
.theme-value-grid input {
  width: 100%;
  height: 36px;
  border: 2px solid #101413;
  border-radius: 4px;
  background: #fff;
  text-align: center;
  font: inherit;
}

.theme-input-caption {
  margin-top: -6px;
  text-align: center;
  color: #56626c;
  font-size: 13px;
}

.theme-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.theme-value-grid div {
  display: grid;
  gap: 4px;
  text-align: center;
  color: #56626c;
  font-size: 13px;
}

.lang-list {
  display: grid;
  gap: 14px;
  margin: 16px 0;
  background: transparent;
}

.lang-list button {
  border-radius: 8px;
  border-bottom: 0;
  background: #fff;
}

.exact-service-list {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.exact-service-list article {
  min-height: 78px;
  padding: 16px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  background: #fff;
}

.exact-service-list img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.front-service-avatar,
.front-service-logo-placeholder {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 44px;
}

.front-service-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.front-service-placeholder,
.front-service-logo-placeholder {
  color: #fff;
  background: #111312;
  font-weight: 800;
  font-size: 13px;
}

.exact-service-list strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.exact-service-list span {
  display: block;
  margin-top: 4px;
  color: #26313a;
  font-size: 14px;
}

.exact-service-list small {
  display: inline-block;
  margin-top: 4px;
  color: #19a15f;
  font-size: 12px;
  font-weight: 800;
}

.exact-service-list article.is-offline {
  opacity: 0.72;
}

.exact-service-list article.is-offline small {
  color: #8d95a0;
}

.exact-service-list button {
  min-width: 132px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(110deg, #050706, #111312 45%, #c6c6c6);
  font-size: 16px;
}

.exact-service-list button:disabled {
  cursor: not-allowed;
  color: #8a929a;
  background: #eef1f4;
}

.front-service-empty {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 8px;
  color: #5c6670;
  background: #fff;
  font-size: 14px;
}

.front-service-choice-list,
.front-service-hours-list {
  display: grid;
  gap: 10px;
}

.front-service-hours-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.front-service-hours-list li,
.front-service-choice-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  background: #fff;
}

.front-service-hours-list li {
  grid-template-columns: 44px minmax(0, 1fr);
  color: #2d343b;
}

.front-service-choice-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.front-service-choice-card span,
.front-service-choice-card small,
.front-service-choice-card em {
  display: block;
}

.front-service-choice-card small,
.front-service-hours-list span {
  margin-top: 4px;
  color: #66717c;
  font-size: 12px;
}

.front-service-choice-card em {
  color: #19a15f;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.local-dialog {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.48);
}

.local-dialog-box {
  position: relative;
  width: min(100%, 360px);
  border-radius: 8px;
  padding: 48px 20px 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.local-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #101413;
  display: grid;
  place-items: center;
}

.local-dialog-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

.local-dialog-box > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 500;
}

.local-dialog-body {
  color: #26313a;
  font-size: 14px;
}

.local-dialog-body p {
  margin: 0 0 12px;
  line-height: 1.5;
}

.dialog-tip {
  color: #858b92;
  font-size: 13px;
}

.dialog-field {
  position: relative;
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #111;
  font-size: 14px;
  font-weight: 400;
}

.dialog-field input,
.dialog-field select {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: #f4f4f4;
  font: inherit;
  color: #101413;
}

.dialog-field select {
  appearance: auto;
}

.dialog-field.with-eye input {
  padding-right: 46px;
}

.dialog-field.with-eye button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #9ca1a7;
}

.dialog-field.with-eye svg {
  width: 17px;
  height: 17px;
}

.local-dialog-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.local-dialog-actions:has(button:only-child) {
  grid-template-columns: 1fr;
}

.local-dialog-actions button {
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #efefef;
  font-weight: 900;
}

.local-dialog-actions button:last-child {
  color: #fff;
  background: #101413;
}

.local-dialog-actions .dialog-next {
  height: 36px;
  background: #999;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.local-dialog-actions .dialog-next.black {
  background: #050806;
}

.front-home-login-popup {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
}

.front-home-login-popup-card {
  position: relative;
  width: min(100%, 420px);
  max-height: calc(100vh - 72px);
  display: grid;
  gap: 14px;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  overflow: auto;
}

.front-home-login-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.front-home-login-popup-image {
  width: 100%;
  max-height: calc(100vh - 168px);
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

.front-home-login-popup-text {
  padding: 26px 8px 4px;
}

.front-home-login-popup-text h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 20px;
  line-height: 1.3;
}

.front-home-login-popup-text p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}

.front-home-login-popup-confirm {
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 15px;
}

.game-match-dialog {
  z-index: 180;
  padding: 14px;
}

.game-match-dialog .local-dialog-box {
  width: min(100%, 324px);
  border-radius: 9px;
  padding: 16px 20px 14px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

.game-match-dialog .local-dialog-close {
  display: none;
}

.game-match-dialog .local-dialog-box > strong {
  margin: 0 0 16px;
  color: #0c1117;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.game-match-dialog .local-dialog-box > strong b {
  color: #12c35b;
}

.game-match-dialog .local-dialog-body {
  color: #101418;
}

.game-match-result {
  display: grid;
  gap: 14px;
}

.game-match-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.game-match-product img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: #fff;
}

.front-task-card-image-placeholder {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  color: #7b8794;
  background: linear-gradient(135deg, #f7f9fb, #e9edf3);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.game-match-info {
  min-width: 0;
}

.game-match-info h3 {
  margin: 1px 0 6px;
  overflow: hidden;
  color: #11161c;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-match-info p {
  margin: 0 0 2px;
  color: #212932;
  font-size: 12px;
  line-height: 1.35;
}

.game-match-info strong {
  font-size: 16px;
  font-weight: 900;
}

.game-match-stars {
  margin-top: 2px;
  color: #ffad19;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.game-match-state {
  min-width: 58px;
  display: grid;
  gap: 16px;
  justify-items: end;
  text-align: right;
}

.game-match-state strong {
  color: #13c66a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.game-match-state span {
  color: #1d2530;
  font-size: 15px;
  white-space: nowrap;
}

.game-match-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.game-match-metrics dl {
  margin: 0;
  min-width: 0;
}

.game-match-metrics dt,
.game-match-detail span {
  color: #4a5563;
  font-size: 12px;
  line-height: 1.3;
}

.game-match-metrics dd {
  margin: 4px 0 0;
  color: #121820;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.game-match-metrics dd.green {
  color: #16c46a;
}

.game-match-metrics dd.blue {
  color: #2678ff;
}

.game-match-detail {
  display: grid;
  gap: 4px;
}

.game-match-detail strong {
  color: #202833;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  word-break: break-all;
}

.game-match-dialog .local-dialog-actions {
  margin-top: 18px;
}

.game-match-dialog .local-dialog-actions .dialog-next.black {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  background: #050806;
  font-size: 14px;
  font-weight: 900;
}

.admin-account-dialog {
  z-index: 220;
  background: rgba(0, 0, 0, .48);
}

.admin-account-dialog .local-dialog-box {
  width: min(92vw, 520px);
  border-radius: 8px;
  padding: 22px 24px 18px;
}

.admin-account-dialog .local-dialog-close {
  top: 18px;
  right: 18px;
  color: #8c8c8c;
}

.admin-account-dialog .local-dialog-box > strong {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 42px 12px 0;
  color: #222;
  font-size: 16px;
  font-weight: 800;
}

.admin-dialog-title-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #faad14;
  font-size: 14px;
  font-weight: 900;
}

.admin-dialog-form {
  display: grid;
  gap: 24px;
  padding: 16px 0 4px;
}

.admin-dialog-form label {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
}

.admin-dialog-form span {
  text-align: right;
  color: #303133;
}

.admin-dialog-form b {
  color: #f5222d;
}

.admin-dialog-form input,
.admin-dialog-form select,
.admin-dialog-textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  color: #111827;
  outline: 0;
}

.admin-dialog-form input,
.admin-dialog-form select {
  height: 32px;
  padding: 0 10px;
}

.admin-text-btn {
  min-width: auto;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 7px;
  background: transparent;
  color: #1677ff;
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
  cursor: pointer;
}

.admin-text-btn.red {
  color: #ff4d4f;
}

.admin-text-btn.green {
  color: #1677ff;
}

.admin-dialog-tip {
  margin: 8px 0 10px;
  color: #606266;
  font-size: 14px;
}

.admin-dialog-textarea {
  min-height: 54px;
  resize: vertical;
  padding: 10px 12px;
  font: inherit;
}

.admin-dialog-create {
  height: 32px;
  border: 0;
  border-radius: 5px;
  padding: 0 16px;
  color: #fff;
  background: #1677ff;
  font-weight: 800;
}

.admin-account-dialog .local-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.admin-account-dialog .local-dialog-actions button {
  width: auto;
  min-width: 64px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 5px;
  padding: 0 16px;
  color: #303133;
  background: #fff;
  font-weight: 500;
}

.admin-account-dialog .local-dialog-actions button:last-child {
  border-color: #1677ff;
  color: #fff;
  background: #1677ff;
}

.admin-withdrawal-review-dialog .local-dialog-box {
  width: min(92vw, 620px);
  border-radius: 8px;
  padding: 22px 22px 18px;
}

.admin-withdrawal-review-dialog .local-dialog-body {
  padding-top: 0;
}

.admin-withdrawal-review-card {
  display: grid;
  gap: 12px;
}

.admin-withdrawal-review-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #edf0f4;
  border-radius: 6px;
  overflow: hidden;
}

.admin-withdrawal-review-table > div {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
  color: #222;
  line-height: 1.35;
}

.admin-withdrawal-review-table > div:nth-child(2n) {
  border-right: 0;
}

.admin-withdrawal-review-table > .full {
  grid-column: 1 / -1;
  border-right: 0;
}

.admin-withdrawal-review-table > div:last-child {
  border-bottom: 0;
}

.admin-withdrawal-review-head {
  background: #fafafa;
  color: #606266;
}

.admin-withdrawal-reason {
  display: grid;
  gap: 8px;
  color: #222;
  font-size: 14px;
}

.admin-withdrawal-reason .admin-dialog-textarea {
  min-height: 74px;
}

.admin-balance-dialog .local-dialog-box {
  width: min(92vw, 420px);
  border-radius: 3px;
  padding: 22px 26px 18px;
}

.admin-balance-dialog .local-dialog-box > strong {
  margin-bottom: 24px;
}

.admin-finance-log-dialog {
  z-index: 230;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0;
  background: rgba(0, 0, 0, .48);
}

.admin-finance-log-dialog .local-dialog-box {
  width: min(850px, calc(100vw - 360px));
  min-width: 680px;
  height: calc(100vh - 88px);
  margin-top: 88px;
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
  border-radius: 14px 0 0 14px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: -18px 0 40px rgba(15, 23, 42, .18);
}

.admin-finance-log-dialog .local-dialog-close {
  top: 15px;
  left: 20px;
  right: auto;
  color: #8c8c8c;
}

.admin-finance-log-dialog .local-dialog-box > strong {
  height: 56px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 18px 0 56px;
  border-bottom: 1px solid #edf0f4;
  color: #222;
  font-size: 16px;
  font-weight: 900;
}

.admin-finance-log-dialog .local-dialog-body {
  min-height: 0;
}

.admin-finance-log-dialog .local-dialog-actions {
  display: none;
}

.admin-finance-log-shell {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 48px;
  background: #fff;
}

.admin-finance-log-table {
  min-height: 0;
  overflow: auto;
}

.admin-finance-log-table .admin-table {
  min-width: 760px;
}

.admin-finance-log-table th,
.admin-finance-log-table td {
  height: 40px;
  padding: 0 18px;
  text-align: center;
}

.admin-finance-log-table tbody tr:has(.admin-empty) td {
  height: 168px;
}

.admin-finance-log-table .admin-empty {
  min-height: 150px;
}

.admin-finance-log-shell .admin-pager {
  height: 48px;
  margin: 0;
  padding: 0 12px;
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.admin-order-finance-mask {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 9990 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.admin-order-finance-modal {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: calc(100vw - 520px) !important;
  min-width: 840px !important;
  max-width: 1160px !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  background: #fff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.admin-order-finance-header {
  height: 52px !important;
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid #ebeef5 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.admin-order-finance-close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  flex: 0 0 28px !important;
  border: none !important;
  background: transparent !important;
  color: #909399 !important;
  font-size: 24px !important;
  line-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
  box-shadow: none !important;
}

.admin-order-finance-close:hover {
  color: #606266 !important;
}

.admin-order-finance-title {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  line-height: 52px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.admin-order-finance-body {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: auto !important;
  background: #fff !important;
}

.admin-order-finance-body .admin-finance-log-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.admin-order-finance-body .admin-finance-log-table {
  flex: 1;
  min-height: 0;
}

.admin-order-finance-footer {
  height: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  border-top: 1px solid #ebeef5 !important;
  background: #fff !important;
}

.admin-order-finance-footer > .admin-pager {
  border-top: 0;
  padding: 0;
}

.admin-order-detail-mask {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 9990 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.admin-order-detail-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 500px !important;
  max-width: 42vw !important;
  min-width: 460px !important;
  height: auto !important;
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: -12px 0 32px rgba(15, 23, 42, 0.22) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  margin: 0 !important;
  transform: none !important;
}

.admin-order-detail-header {
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #ebeef5 !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.admin-order-detail-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.admin-order-detail-close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border: none !important;
  background: transparent !important;
  color: #909399 !important;
  font-size: 24px !important;
  line-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
  box-shadow: none !important;
}

.admin-order-detail-close:hover {
  color: #606266 !important;
}

.admin-order-detail-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

.admin-order-detail-save {
  height: 36px !important;
  padding: 0 18px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.admin-order-detail-body {
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 24px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.admin-order-product-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.admin-order-product-card {
  display: grid !important;
  grid-template-columns: 116px minmax(0, 1fr) !important;
  gap: 18px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid #f0f2f5 !important;
}

.admin-order-product-card:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.admin-order-product-image {
  width: 116px !important;
  height: 116px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  background: #f5f7fa !important;
  border: 1px solid #ebeef5 !important;
}

.admin-order-product-info {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.admin-order-product-meta {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px 16px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #111827 !important;
}

.admin-order-product-meta span {
  white-space: nowrap !important;
}

.admin-order-product-name {
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #111827 !important;
  word-break: break-word !important;
}

.admin-award-finance-mask {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 9990 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.admin-award-finance-mask .admin-award-finance-modal {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: calc(100vw - 520px) !important;
  min-width: 840px !important;
  max-width: 1160px !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  background: #fff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.admin-award-finance-mask .admin-award-finance-header {
  height: 52px !important;
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid #ebeef5 !important;
  background: #fff !important;
  box-sizing: border-box !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  outline: 0 !important;
}

.admin-award-finance-close {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  flex: 0 0 28px !important;
  border: none !important;
  background: transparent !important;
  color: #909399 !important;
  font-size: 24px !important;
  line-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
  box-shadow: none !important;
}

.admin-award-finance-close:hover {
  color: #606266 !important;
}

.admin-award-finance-title {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  line-height: 52px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border: none !important;
  outline: none !important;
}

.admin-award-finance-mask .admin-award-finance-body {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: auto !important;
  border: 0 !important;
  outline: 0 !important;
  background: #fff !important;
}

.admin-award-finance-mask .admin-finance-log-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.admin-award-finance-table {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: auto;
}

.admin-award-finance-table .admin-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-award-finance-table th,
.admin-award-finance-table td {
  height: 40px;
  border-color: #ebeef5;
  text-align: center;
}

.admin-award-finance-table tbody tr:has(.admin-award-finance-empty) td {
  height: 240px;
}

.admin-award-finance-empty {
  height: 240px !important;
  min-height: 240px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  color: #999 !important;
}

.admin-award-finance-footer {
  height: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-top: 1px solid #ebeef5 !important;
  outline: 0 !important;
  background: #fff !important;
}

.admin-award-finance-footer > .admin-pager {
  border-top: 0;
  padding: 0;
}

.admin-balance-form {
  display: grid;
  gap: 16px;
}

.admin-balance-summary {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  padding: 0 16px;
  background: #eef3f8;
}

.admin-balance-summary span {
  color: #303133;
  font-size: 14px;
}

.admin-balance-summary strong {
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.admin-balance-field {
  display: grid;
  gap: 10px;
  color: #303133;
  font-size: 14px;
}

.admin-balance-radios {
  display: flex;
  align-items: center;
  gap: 22px;
}

.admin-balance-radios label {
  width: auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.admin-balance-radios input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1677ff;
}

.admin-balance-field input,
.admin-balance-field select,
.admin-balance-field textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  color: #111827;
  background: #fff;
  outline: 0;
  font: inherit;
}

.admin-balance-field input {
  height: 40px;
  padding: 0 12px;
}

.admin-balance-field select {
  height: 40px;
  padding: 0 12px;
}

.admin-balance-field .admin-balance-radios input[type="radio"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  padding: 0;
}

.admin-balance-field textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px;
}

.admin-permission-dialog {
  z-index: 260;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  background: rgba(0, 0, 0, .48);
}

.admin-permission-dialog .local-dialog-box {
  width: min(420px, 100vw);
  height: 100vh;
  max-height: 100vh;
  border-radius: 14px 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-permission-dialog .local-dialog-close {
  top: 22px;
  left: 22px;
  right: auto;
  z-index: 2;
}

.admin-permission-dialog .local-dialog-box > strong {
  min-height: 64px;
  margin: 0;
  padding: 0 112px 0 56px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.admin-permission-dialog .local-dialog-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 26px 32px;
  color: #111;
}

.admin-permission-dialog .local-dialog-actions {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  margin: 0;
}

.admin-permission-dialog .local-dialog-actions button {
  min-width: 64px;
  height: 32px;
  border-color: #1677ff;
  border-radius: 6px;
  color: #fff;
  background: #1677ff;
}

.admin-permission-tree {
  display: grid;
  gap: 5px;
}

.admin-permission-group {
  display: grid;
  gap: 3px;
}

.admin-permission-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-size: 14px;
  line-height: 1.2;
  user-select: none;
}

.admin-permission-row.group {
  font-weight: 600;
}

.admin-permission-row.child {
  padding-left: 42px;
  font-weight: 400;
}

.admin-permission-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1677ff;
}

.admin-permission-caret {
  width: 16px;
  height: 16px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #111;
  transition: transform .16s ease;
}

.admin-permission-caret svg,
.admin-permission-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.admin-permission-caret.placeholder {
  opacity: 0;
  pointer-events: none;
}

.admin-permission-children {
  display: grid;
  gap: 3px;
}

.admin-permission-group.collapsed .admin-permission-children {
  display: none;
}

.admin-permission-group.collapsed .admin-permission-caret {
  transform: rotate(-90deg);
}

.admin-edit-dialog {
  z-index: 255;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  background: rgba(0, 0, 0, .48);
}

.admin-edit-dialog .local-dialog-box {
  width: min(400px, 100vw);
  height: 100vh;
  max-height: 100vh;
  border-radius: 14px 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-edit-dialog .local-dialog-close {
  top: 22px;
  left: 22px;
  right: auto;
  z-index: 2;
}

.admin-edit-dialog .local-dialog-box > strong {
  min-height: 64px;
  margin: 0;
  padding: 0 128px 0 56px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.admin-edit-dialog .local-dialog-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 24px 34px;
  color: #111;
}

.admin-edit-dialog .local-dialog-actions {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  margin: 0;
}

.admin-edit-dialog .local-dialog-actions button {
  min-width: 92px;
  height: 32px;
  border-color: #1677ff;
  border-radius: 6px;
  color: #fff;
  background: #1677ff;
}

.admin-drawer-form {
  display: grid;
  gap: 18px;
}

.admin-drawer-form label,
.admin-drawer-field {
  display: grid;
  gap: 8px;
  color: #303133;
  font-size: 14px;
}

.admin-drawer-form label span b,
.admin-drawer-field span b {
  margin-right: 3px;
  color: #f5222d;
}

.admin-drawer-form input,
.admin-drawer-form textarea {
  width: 100%;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  outline: 0;
  font: inherit;
}

.admin-drawer-form input {
  height: 40px;
  padding: 0 12px;
}

.admin-drawer-form textarea {
  min-height: 92px;
  resize: vertical;
  padding: 10px 12px;
}

.admin-drawer-form input::placeholder,
.admin-drawer-form textarea::placeholder {
  color: #b7bcc4;
}

.admin-grid-drawer-form,
.admin-carousel-drawer-form {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid-drawer-form h3,
.admin-carousel-drawer-form h3 {
  grid-column: 1 / -1;
  margin: 8px 0 -2px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #ebeef5;
  padding-bottom: 8px;
}

.admin-grid-drawer-form label,
.admin-carousel-drawer-form label {
  display: grid;
  gap: 8px;
  color: #303133;
  font-size: 14px;
  grid-column: span 1;
}

.admin-grid-drawer-form label.full,
.admin-carousel-drawer-form label.full {
  grid-column: 1 / -1;
}

.admin-grid-drawer-form label span b,
.admin-carousel-drawer-form label span b {
  margin-right: 3px;
  color: #f5222d;
}

.admin-grid-drawer-form input,
.admin-grid-drawer-form select,
.admin-carousel-drawer-form input,
.admin-carousel-drawer-form select {
  width: 100%;
  height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  outline: 0;
  font: inherit;
}

.admin-grid-drawer-form input::placeholder,
.admin-carousel-drawer-form input::placeholder {
  color: #b7bcc4;
}

.admin-grid-edit-dialog .local-dialog-box,
.admin-carousel-edit-dialog .local-dialog-box {
  width: min(680px, 100vw);
}

.admin-vip-edit-dialog .local-dialog-box {
  width: min(750px, 100vw);
}

.admin-service-edit-dialog .local-dialog-box {
  width: min(760px, 58vw);
  min-width: 680px;
}

/* 在线客服抽屉顶部 */
.admin-service-edit-dialog .local-dialog-box > strong {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px;
  padding: 0 24px !important;
  border-bottom: 1px solid #eef0f4;
  box-sizing: border-box;
}

.admin-service-drawer-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: calc(100% - 140px);
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 在线客服隐藏外层自动生成的 X */
.admin-service-edit-dialog .local-dialog-box > .local-dialog-close {
  display: none !important;
}

/* 在线客服标题内的 X 按钮 */
.admin-service-edit-dialog .admin-service-drawer-title .local-dialog-close {
  display: inline-flex !important;
  position: static !important;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* 在线客服保存按钮 */
.admin-service-edit-dialog .admin-service-save-btn {
  flex: 0 0 auto;
  height: 36px;
  min-width: 104px;
  padding: 0 16px;
  border: 1px solid #1677ff;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.admin-service-edit-dialog .admin-service-save-btn:hover {
  background: #0f68e8;
  border-color: #0f68e8;
}

/* 在线客服不显示底部按钮区 */
.admin-service-edit-dialog .local-dialog-actions {
  display: none !important;
}

@media (max-width: 720px) {
  .admin-service-edit-dialog .local-dialog-box > strong {
    padding: 0 14px !important;
  }

  .admin-service-drawer-title {
    gap: 10px;
    max-width: calc(100% - 120px);
    font-size: 15px;
  }

  .admin-service-edit-dialog .admin-service-save-btn {
    height: 34px;
    min-width: 92px;
    padding: 0 12px;
    font-size: 13px;
  }
}

/* 在线客服表格链接列 */
.admin-service-table td:nth-child(4) {
  max-width: 180px;
  overflow: hidden;
}

.admin-service-link-in-cell {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.admin-service-logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 8px;
}

.admin-service-logo-preview {
  width: 98px;
  height: 98px;
  background: #111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.admin-service-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-service-logo-placeholder {
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

.admin-service-logo-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-sm-btn {
  height: 32px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
}

.admin-danger-outline-btn {
  background: transparent !important;
  border: 1px solid #f5222d !important;
  color: #f5222d !important;
  border-radius: 6px;
  cursor: pointer;
}

.admin-danger-outline-btn:hover {
  background: #fff1f0 !important;
}

.admin-service-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-service-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 24px 0 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.admin-vip-edit-form {
  display: grid;
  gap: 26px;
}

.admin-vip-main-logo {
  width: 100px;
}

.admin-vip-edit-form h3 {
  margin: 10px 0 -6px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
}

.admin-vip-edit-grid {
  display: grid;
  gap: 18px 16px;
}

.admin-vip-edit-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-vip-edit-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-vip-edit-grid label {
  display: grid;
  gap: 8px;
  color: #303133;
  font-size: 14px;
}

.admin-vip-edit-grid label span b {
  margin-right: 3px;
  color: #f5222d;
}

.admin-vip-edit-grid input,
.admin-vip-edit-grid select {
  width: 100%;
  height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  outline: 0;
  font: inherit;
}

.admin-vip-bg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
}

.admin-vip-bg-grid > div {
  display: grid;
  gap: 12px;
  color: #303133;
  font-size: 14px;
}

.admin-vip-lang-add {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 64px 64px;
  align-items: stretch;
  gap: 0;
  height: 34px;
}

.admin-vip-lang-add select,
.admin-vip-lang-add input {
  min-width: 0;
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #606266;
  outline: 0;
  padding: 0 12px;
  font: inherit;
}

.admin-vip-lang-add select {
  border-radius: 5px 0 0 5px;
}

.admin-vip-lang-add input {
  margin-left: -1px;
}

.admin-vip-lang-add button {
  margin-left: -1px;
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #303133;
  font-weight: 700;
}

.admin-vip-lang-add button[data-admin-vip-lang-add] {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

.admin-vip-lang-add button:last-child {
  border-radius: 0 5px 5px 0;
}

.admin-vip-lang-list {
  display: grid;
  gap: 26px;
}

.admin-vip-lang-block {
  display: grid;
  gap: 10px;
}

.admin-vip-lang-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111;
}

.admin-vip-lang-title strong {
  font-size: 16px;
  font-weight: 800;
}

.admin-vip-lang-title button {
  border: 0;
  background: transparent;
  color: #ff4d4f;
  font-weight: 700;
}

.admin-vip-lang-block textarea {
  min-height: 54px;
  width: 100%;
  resize: vertical;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 10px 12px;
  color: #111827;
  outline: 0;
  font: inherit;
  line-height: 1.45;
}

.admin-vip-note-dialog .local-dialog-box {
  width: min(calc(100vw - 288px), 1630px);
}

.admin-vip-note-dialog .local-dialog-body {
  padding: 28px 24px 24px;
}

.admin-vip-note-layout {
  min-height: calc(100vh - 124px);
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
}

.admin-vip-note-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}

.admin-vip-note-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
}

.admin-vip-note-switch strong {
  font-size: 20px;
  font-weight: 800;
}

.admin-vip-note-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-vip-note-switch em {
  position: relative;
  width: 44px;
  height: 22px;
  border-radius: 999px;
  background: #bfc3c8;
  transition: background .18s ease;
}

.admin-vip-note-switch em::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  transition: transform .18s ease;
}

.admin-vip-note-switch input:checked + em {
  background: #1677ff;
}

.admin-vip-note-switch input:checked + em::after {
  transform: translateX(22px);
}

.admin-vip-note-add {
  width: 200px;
  height: 32px;
  border: 0;
  border-radius: 5px;
  background: #1677ff;
  color: #fff;
  font-weight: 800;
}

.admin-vip-note-lang-list {
  display: grid;
  gap: 10px;
  color: #303133;
  font-size: 14px;
}

.admin-vip-note-lang-list button {
  width: 200px;
  height: 32px;
  border: 1px dashed #d8dce4;
  border-radius: 5px;
  background: #fff;
  color: #111;
  font-weight: 700;
}

.admin-vip-note-lang-list button.active {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

.admin-vip-note-main {
  min-height: calc(100vh - 176px);
  display: grid;
  place-items: center;
  color: #111;
}

.admin-vip-note-main > strong {
  font-size: 20px;
  font-weight: 800;
}

.admin-vip-note-editor {
  align-self: start;
  justify-self: stretch;
  display: grid;
  gap: 14px;
  padding: 2px 0 0 24px;
}

.admin-vip-note-editor textarea {
  min-height: 360px;
  width: 100%;
  resize: vertical;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 12px;
  color: #111827;
  outline: 0;
  font: inherit;
  line-height: 1.55;
}

.admin-vip-edit-form .admin-upload-box {
  width: 100px;
  height: 100px;
}

.admin-drawer-secret {
  justify-self: start;
  height: 32px;
  border: 0;
  border-radius: 5px;
  padding: 0 14px;
  color: #fff;
  background: #1677ff;
  font-weight: 800;
}

.admin-drawer-switch {
  height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 0 16px;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: space-between;
}

.admin-drawer-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-drawer-switch em {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #c0c4cc;
  transition: background .16s ease;
}

.admin-drawer-switch em::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  transition: transform .16s ease;
}

.admin-drawer-switch input:checked + em {
  background: #1677ff;
}

.admin-drawer-switch input:checked + em::after {
  transform: translateX(20px);
}

.dialog-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 80px 0 0;
  color: #5f6870;
  font-size: 12px;
}

.dialog-safe svg {
  width: 14px;
  height: 14px;
  color: #28c987;
}

.dark-mode body:not(.admin-route),
.dark-mode body:not(.admin-route) .phone-shell,
.dark-mode body:not(.admin-route) .route-page {
  color: #f4f4f4;
  background: #111312;
}

.dark-mode body:not(.admin-route) .stack-header,
.dark-mode body:not(.admin-route) .app-page-header,
.dark-mode body:not(.admin-route) .route-header,
.dark-mode body:not(.admin-route) .setting-list-card,
.dark-mode body:not(.admin-route) .setting-list-card button,
.dark-mode body:not(.admin-route) .setting-switch-card,
.dark-mode body:not(.admin-route) .theme-color-card,
.dark-mode body:not(.admin-route) .wallet-address-input,
.dark-mode body:not(.admin-route) .wallet-extra-tip,
.dark-mode body:not(.admin-route) .security-card,
.dark-mode body:not(.admin-route) .local-dialog-box {
  color: #f4f4f4;
  background: #191c1b;
}

.login-page {
  min-height: 100vh;
  padding: 88px 22px 24px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(244, 244, 244, 0.92)),
    url("https://squarasapce.com/u/files/20260510/019e11e3-e5d4-7e61-9107-39f5931dbf9b.webp") center / cover no-repeat;
}

.login-brand {
  width: 62px;
  height: 62px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101413;
}

.login-brand span {
  width: 38px;
  height: 26px;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 38%, #fff 40% 50%, transparent 52%),
    radial-gradient(ellipse at 70% 50%, transparent 38%, #fff 40% 50%, transparent 52%);
  transform: rotate(-35deg);
}

.login-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.login-card h1 {
  margin: 0 0 6px;
  text-align: center;
}

.login-card label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.login-card input {
  height: 42px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.login-card button {
  height: 42px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #101413;
  font-weight: 900;
}

.login-tabs,
.register-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #f1f2f4;
}

.register-tabs {
  grid-template-columns: repeat(2, 1fr);
  margin: 18px 0 20px;
  background: rgba(255, 255, 255, 0.08);
}

.login-tabs button,
.register-tabs button {
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font-weight: 800;
}

.login-tabs button.active,
.register-tabs button.active {
  background: #101413;
  color: #fff;
}

.login-phone-row,
.register-phone-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
}

.login-phone-row button,
.register-phone-row button {
  height: 42px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  color: #101413;
  font-weight: 900;
}

.login-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.login-actions button {
  height: auto;
  padding: 0;
  background: transparent;
  color: #101413;
  font-size: 13px;
}

.register-page {
  min-height: 100vh;
  padding: 18px 20px 24px;
  color: #f8fafc;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #111312 0%, #1f2321 54%, #111312 100%);
}

.register-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.register-topbar button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.register-topbar div {
  display: flex;
  gap: 10px;
}

.register-panel h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
}

.register-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.register-field {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.register-field input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0 14px;
  box-sizing: border-box;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.register-field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.register-phone-row button {
  height: 48px;
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.register-submit {
  width: 100%;
  height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  color: #101413;
  background: #fff;
  font-size: 16px;
  font-weight: 900;
}

.register-agreement {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.register-agreement button {
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 900;
}

.front-auth-page {
  min-height: 100vh;
  width: min(100%, 640px);
  margin: 0 auto;
  box-sizing: border-box;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(13, 17, 15, 0.98) 0%, rgba(13, 17, 15, 0.94) 42%, rgba(13, 17, 15, 0.78) 100%),
    url("https://squarasapce.com/u/files/20260510/019e11e3-e5d4-7e61-9107-39f5931dbf9b.webp") center bottom / cover no-repeat;
}

.front-auth-login-page {
  position: relative;
  padding: 76px 40px 36px;
}

.front-auth-top-icons {
  position: absolute;
  top: 14px;
  right: 18px;
  display: flex;
  gap: 10px;
}

.front-auth-top-actions {
  position: relative;
  display: flex;
  gap: 10px;
  z-index: 30;
}

.front-auth-menu-wrap {
  position: relative;
}

.front-auth-top-icons button,
.front-auth-register-topbar button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: #101413;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.front-auth-floating-menu {
  position: absolute;
  top: 52px;
  right: 0;
  z-index: 60;
  display: grid;
  gap: 4px;
  min-width: 160px;
  padding: 8px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.front-auth-floating-menu.is-hidden {
  display: none !important;
}

.front-theme-setting-page {
  padding-top: 16px;
}

.front-theme-setting-panel {
  display: grid;
  gap: 10px;
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.front-theme-setting-panel button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 18px 1fr 22px;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.front-theme-setting-panel button:hover,
.front-theme-setting-panel button.is-active {
  color: var(--front-theme-primary, #1677ff);
  background: color-mix(in srgb, var(--front-theme-primary, #1677ff) 12%, white);
}

.front-theme-setting-panel button > i {
  justify-self: end;
}

.front-auth-menu-wrap[data-front-auth-menu-wrap="theme"] .front-auth-floating-menu {
  right: 0;
}

.front-auth-menu-wrap[data-front-auth-menu-wrap="language"] .front-auth-floating-menu {
  right: 0;
}

.front-auth-top-icons .front-auth-floating-menu button,
.front-auth-register-topbar .front-auth-floating-menu button {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #1f2937;
  background: #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.front-auth-top-icons .front-auth-floating-menu button:hover,
.front-auth-top-icons .front-auth-floating-menu button.is-active,
.front-auth-register-topbar .front-auth-floating-menu button:hover,
.front-auth-register-topbar .front-auth-floating-menu button.is-active {
  color: var(--front-auth-accent, #1677ff);
  background: rgba(22, 119, 255, 0.12);
}

.front-auth-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--front-auth-dot, #1677ff);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.front-auth-logo.login-brand {
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: rgba(20, 24, 22, 0.78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.front-auth-logo.login-brand span {
  position: relative;
  width: 34px;
  height: 22px;
  border: 6px solid #fff;
  border-radius: 12px;
  background: transparent;
  transform: rotate(-42deg);
}

.front-auth-logo.login-brand span::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 22px;
  left: 15px;
  top: -6px;
  border: 6px solid #fff;
  border-radius: 12px;
  box-sizing: border-box;
}

.front-auth-logo.login-brand.has-site-logo img {
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: inherit;
  object-fit: contain;
  box-sizing: border-box;
}

.login-card .front-auth-links {
  width: 100%;
  justify-self: stretch;
  align-self: stretch;
}

.login-card .front-auth-links button {
  justify-self: stretch;
}

.front-auth-welcome {
  margin: 0 0 54px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.front-auth-card,
.login-card.front-auth-card {
  display: grid;
  gap: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.front-auth-register-card {
  gap: 18px;
  padding: 20px 16px 32px;
  border-radius: 8px;
  color: #1d2327;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.front-auth-tabs,
.login-tabs.front-auth-tabs,
.register-tabs.front-auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 40px;
  padding: 4px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
}

.register-tabs.front-auth-tabs {
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.front-auth-tab,
.login-tabs .front-auth-tab,
.register-tabs .front-auth-tab {
  height: 32px;
  border: 0;
  border-bottom: 0;
  border-radius: 9px;
  background: transparent;
  color: #697080;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
  outline: none;
}

.front-auth-tab.active,
.login-tabs .front-auth-tab.active,
.register-tabs .front-auth-tab.active {
  border-bottom: 0;
  color: #0f1720;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.front-auth-page .front-auth-tab:focus,
.front-auth-page .front-auth-tab:focus-visible,
.front-auth-page .front-auth-tab:active,
.front-auth-page input:focus,
.front-auth-page button:focus,
.front-auth-page button:focus-visible,
.front-auth-page .front-auth-input:focus {
  outline: none;
}

.front-auth-field,
.login-card .front-auth-field,
.register-field.front-auth-field {
  display: grid;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.front-auth-register-card .front-auth-field {
  color: #20262b;
}

.front-auth-input,
.login-card .front-auth-input,
.register-field .front-auth-input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  box-sizing: border-box;
  color: #111827;
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  font-size: 16px;
  box-shadow: none;
}

.front-auth-input::placeholder {
  color: #6f7583;
}

.front-auth-password-wrap {
  position: relative;
}

.front-register-password-wrap {
  position: relative;
}

.front-auth-password-wrap .front-auth-input {
  padding-right: 48px;
}

.front-register-password-wrap input {
  padding-right: 48px !important;
}

.front-auth-password-wrap button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  color: #8f96a3;
  background: transparent;
  display: inline-grid;
  place-items: center;
}

.front-register-password-wrap button {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  color: #8f96a3;
  background: transparent;
  display: inline-grid;
  place-items: center;
}

.front-auth-password-wrap button:hover,
.front-register-password-wrap button:hover {
  color: var(--front-auth-primary, #1677ff);
  background: rgba(15, 23, 42, .06);
}

.front-auth-phone-row,
.login-phone-row.front-auth-phone-row,
.register-phone-row.front-auth-phone-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.front-auth-country,
.login-phone-row .front-auth-country,
.register-phone-row .front-auth-country {
  height: 48px;
  border: 0;
  border-radius: 8px;
  color: #111827;
  background: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 800;
}

.front-auth-country-wrap {
  position: relative;
  flex: 0 0 92px;
  width: 92px;
  height: 48px;
  display: flex;
  align-items: stretch;
}

.front-auth-country {
  width: 100%;
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0 12px;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
}

.front-auth-page .front-auth-country,
.front-auth-page [data-front-auth-country-trigger],
.front-auth-page [data-login-phone-code],
.front-auth-page [data-register-phone-code],
.front-auth-page [data-forget-phone-code] {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  background: #fff !important;
  color: #111827 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.front-auth-phone-row .front-auth-input,
.front-auth-phone-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.front-auth-page select.front-auth-country {
  appearance: auto;
  display: block !important;
  text-align: center;
  text-align-last: center;
}

.front-auth-page .front-auth-country:hover,
.front-auth-page .front-auth-country:focus,
.front-auth-page [data-front-auth-country-trigger]:hover,
.front-auth-page [data-front-auth-country-trigger]:focus,
.front-auth-page [data-login-phone-code]:hover,
.front-auth-page [data-login-phone-code]:focus,
.front-auth-page [data-register-phone-code]:hover,
.front-auth-page [data-register-phone-code]:focus {
  background: #fff !important;
  color: #111827 !important;
  outline: none !important;
  box-shadow: none !important;
}

.front-auth-country-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  display: grid;
  gap: 4px;
  width: 210px;
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 12px;
  color: #111827 !important;
  background: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.front-auth-country-menu.is-hidden {
  display: none !important;
}

.front-auth-country-option {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #111827 !important;
  background: #fff !important;
  opacity: 1 !important;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.front-auth-country-code,
.front-auth-country-name,
.front-auth-country-option small {
  color: #111827 !important;
  opacity: 1 !important;
}

.front-auth-country-option small,
.front-auth-country-name {
  font-size: 12px;
  font-weight: 700;
}

.front-auth-country-option:hover,
.front-auth-country-option.is-active {
  color: #2563eb !important;
  background: #eaf3ff !important;
}

.front-auth-country-option:hover .front-auth-country-code,
.front-auth-country-option:hover .front-auth-country-name,
.front-auth-country-option.is-active .front-auth-country-code,
.front-auth-country-option.is-active .front-auth-country-name {
  color: #2563eb !important;
  opacity: 1 !important;
}

.front-auth-forgot {
  justify-self: end;
  height: auto;
  margin-top: -6px;
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.front-auth-submit,
.login-card .front-auth-submit,
.register-submit.front-auth-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--front-auth-primary, #1677ff);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease, filter .18s ease;
}

.front-auth-page .front-auth-submit,
.front-auth-page [data-login-submit],
.front-auth-page [data-register-submit] {
  background: var(--front-auth-primary, #1677ff) !important;
  color: #fff !important;
  border: 0 !important;
}

.front-auth-page .front-auth-submit:hover,
.front-auth-page [data-login-submit]:hover,
.front-auth-page [data-register-submit]:hover {
  background: var(--front-auth-primary-hover, #4096ff) !important;
  box-shadow: 0 0 0 3px var(--front-auth-primary-shadow, rgba(22, 119, 255, .38)), 0 14px 32px rgba(0, 0, 0, .24);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.front-auth-login-card .front-auth-submit {
  margin-top: 16px;
}

.front-auth-links.login-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 10px;
}

.front-auth-links.login-actions button:first-child {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  color: #111827;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
}

.front-auth-links.login-actions button:last-child {
  width: 100%;
  height: auto;
  color: #fff;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
}

.front-auth-links.login-actions .front-auth-register-link {
  width: 100% !important;
  min-width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  color: #111827 !important;
  background: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.front-auth-links.login-actions .front-auth-service-link {
  width: 100% !important;
  color: #fff !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.front-auth-register-page {
  position: relative;
  padding: 14px 24px 84px;
  background:
    radial-gradient(circle at 4% 48%, rgba(139, 35, 255, 0.98) 0 42px, transparent 43px),
    radial-gradient(circle at 13% 48%, rgba(255, 136, 166, 0.92) 0 24px, transparent 25px),
    radial-gradient(circle at 16% 54%, rgba(54, 204, 245, 0.88) 0 44px, transparent 45px),
    radial-gradient(circle at 100% 43%, rgba(139, 35, 255, 0.98) 0 44px, transparent 45px),
    radial-gradient(circle at 100% 56%, rgba(195, 180, 232, 0.95) 0 54px, transparent 55px),
    linear-gradient(90deg, #111614 0%, #4b504d 46%, #a2a4a1 100%);
}

.front-auth-register-topbar.register-topbar {
  margin-bottom: 82px;
}

.front-auth-register-topbar > button {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.front-auth-register-card h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.front-auth-register-card p {
  margin: 0 0 2px;
  color: #4f5865;
  font-size: 16px;
  font-weight: 500;
}

.front-auth-register-card .front-auth-submit {
  margin-top: 8px;
  background: var(--front-auth-primary, #1677ff);
}

.front-auth-policy.register-agreement {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.front-auth-policy.register-agreement button {
  color: #1677ff;
  font-weight: 800;
}

.front-register-flow-mask {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .48);
}

.front-register-flow-card {
  position: relative;
  width: min(380px, 92vw);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px 22px 22px;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .28);
}

.front-register-flow-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.front-register-flow-card h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.front-register-flow-desc {
  margin: 12px 0 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.front-register-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.front-register-code-grid input {
  width: 100%;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  box-sizing: border-box;
}

.front-register-code-grid input:focus,
.front-register-password-field input:focus {
  outline: none;
  border-color: var(--front-auth-primary, #1677ff);
  box-shadow: 0 0 0 3px var(--front-auth-primary-shadow, rgba(22, 119, 255, .24));
}

.front-register-code-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 18px;
  color: #8a94a6;
  font-size: 13px;
}

.front-register-code-meta button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #8a94a6;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.front-register-code-meta button:not(:disabled) {
  color: var(--front-auth-primary, #1677ff);
}

.front-register-flow-submit {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--front-auth-primary, #1677ff);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease, filter .18s ease;
}

.front-register-flow-submit:hover {
  background: var(--front-auth-primary-hover, #4096ff);
  box-shadow: 0 0 0 3px var(--front-auth-primary-shadow, rgba(22, 119, 255, .38)), 0 14px 32px rgba(0, 0, 0, .24);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.front-register-flow-card:has(.front-register-account-form) {
  width: min(440px, 92vw);
  padding: 20px 14px;
  border: 1px solid rgba(255, 255, 255, .44);
  background: rgba(244, 246, 248, .78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.front-register-account-form {
  display: grid;
  gap: 12px;
}

.front-register-account-form h2 {
  margin: 0;
  text-align: left;
  font-size: 24px;
  font-weight: 900;
}

.front-register-account-form .front-register-flow-desc {
  margin: -4px 0 4px;
  text-align: left;
  color: rgba(17, 24, 39, .62);
}

.front-register-account-form .front-register-password-field {
  margin: 0;
}

.front-register-account-form .front-register-password-field input {
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
}

.front-register-account-form .front-register-flow-submit {
  height: 48px;
  margin-top: 10px;
  border-radius: 10px;
}

.front-register-password-field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.front-register-password-field + .front-register-password-field {
  margin-top: 0;
}

.front-register-password-field input {
  width: 100%;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  box-sizing: border-box;
}

@media (max-width: 520px) {
  .front-auth-login-page {
    padding: 76px 28px 32px;
  }

  .front-auth-register-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .front-auth-welcome {
    margin-bottom: 48px;
  }
}

.game-page {
  min-height: calc(100vh - 56px);
  padding-bottom: 18px;
  background: #f3f3f3;
}

.game-hero {
  position: relative;
  padding-bottom: 72px;
  color: #fff;
  background:
    linear-gradient(rgba(194, 171, 143, 0.92), rgba(194, 171, 143, 0.92)),
    url("assets/remote-localized/backgrounds/019e1222-b5d2-7685-a08a-77e42de45f7d.webp") center / cover;
}

.game-page .app-page-header {
  position: sticky;
  top: 0;
  z-index: 15;
  height: 54px;
  background: transparent;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.game-page .app-page-header h1 {
  color: #fff;
  font-size: 20px;
  transition: color 150ms ease;
}

.game-page .plain-icon,
.game-page .plain-icon.is-blue {
  color: #0c0d0d;
}

.game-route-scrolled .game-page .app-page-header {
  position: fixed;
  left: 50%;
  top: 0;
  width: min(100%, var(--max-w));
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(7, 16, 26, 0.08);
}

.game-route-scrolled .game-page .app-page-header h1 {
  color: #2b2b2b;
}

.game-alert {
  min-height: 58px;
  margin: 0 14px 12px;
  padding: 10px 10px 10px 12px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  gap: 8px;
  align-items: center;
  color: #2b3238;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
}

.game-alert > svg,
.game-alert > i svg {
  width: 18px;
  height: 18px;
  color: #4c5661;
  fill: #4c5661;
  stroke-width: 0;
}

.game-alert span {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.game-alert button {
  width: 24px;
  height: 24px;
  border: 0;
  display: grid;
  place-items: center;
  color: #68717a;
  background: transparent;
  cursor: pointer;
}

.game-alert button svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.game-user {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 16px 24px;
}

.game-brand {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
}

.game-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.game-brand.has-site-logo {
  background: transparent;
}

.game-brand .front-game-avatar.has-site-logo {
  width: 39px;
  height: 39px;
  background: transparent;
  object-fit: contain;
}

.mine-avatar.has-site-logo::before,
.admin-logo.has-site-logo::before {
  display: none;
}

.mine-avatar.has-site-logo .site-brand-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
}

.admin-logo.has-site-logo .site-brand-img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  box-sizing: border-box;
}

.game-user strong,
.game-user small {
  display: block;
  min-width: 0;
}

.game-user strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.game-user small {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
}

.game-rank {
  min-width: 68px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #050505;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.game-assets {
  display: grid;
  gap: 14px;
  padding: 0 15px;
}

.game-asset-card {
  min-height: 74px;
  padding: 0 14px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  color: #07101a;
  background: #fff;
}

.asset-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #101413;
}

.asset-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.15;
}

.game-asset-card strong,
.game-asset-card small {
  display: block;
}

.game-asset-card strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.game-asset-card small {
  margin-top: 4px;
  color: #1a2735;
  font-size: 13px;
}

.game-asset-card em {
  color: #000;
  font-style: normal;
  text-align: right;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.game-asset-card em span {
  color: #0b315e;
  font-size: 12px;
  font-weight: 500;
}

.match-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.match-title h2 {
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.match-title strong {
  color: #08111b;
  font-size: 20px;
}

.match-board {
  position: relative;
  z-index: 2;
  margin: -46px 14px 0;
  padding: 9px;
  border-radius: 7px;
  background: #fff;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 100px;
  gap: 8px;
}

.match-tile,
.match-start {
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
}

.match-tile {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(21, 28, 38, 0.06);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64), 0 5px 14px rgba(19, 28, 38, 0.08);
  transition: outline-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.match-tile img {
  position: absolute;
  inset: 8px;
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  max-width: none;
  max-height: none;
  margin: auto;
  object-fit: contain;
}

.match-tile-placeholder,
.shop-product-placeholder,
.front-chain-product-placeholder {
  width: 100%;
  height: 100%;
  min-height: 64px;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: linear-gradient(135deg, #f0f2f5, #e3e7ec);
}

.match-tile-placeholder::before,
.shop-product-placeholder::before,
.front-chain-product-placeholder::before {
  content: "";
  width: 28px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(103, 116, 130, 0.35);
  box-shadow: inset 0 -7px 0 rgba(103, 116, 130, 0.12);
}

.match-start {
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(245, 198, 107, 0.5);
  color: #fff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 214, 128, 0.24), transparent 34%),
    linear-gradient(145deg, #050506, #171a20 62%, #060707);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), 0 0 0 3px rgba(255, 211, 128, 0.08);
  cursor: pointer;
  transition: outline-color 120ms ease, transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

.match-start:disabled {
  cursor: default;
  opacity: 0.78;
}

.match-start:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.26), 0 0 0 4px rgba(255, 211, 128, 0.14);
}

.match-start:active:not(:disabled) {
  transform: scale(0.98);
}

.match-tile.is-active,
.match-start.is-active {
  outline: 2px solid #ef2d2d;
  outline-offset: -2px;
  transform: scale(0.98);
  box-shadow: 0 0 0 3px rgba(239, 45, 45, 0.06);
}

.match-start-button {
  width: 100%;
  height: 100%;
  min-height: 74px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  place-items: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.match-start-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a0d11;
  background: #f5c85f;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 4px 11px rgba(245, 200, 95, 0.36);
}

.match-start-text {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.match-start-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}

.shop-product-placeholder {
  aspect-ratio: 1 / 1;
}

.front-chain-product-placeholder {
  width: 112px;
  height: 94px;
  flex: 0 0 112px;
}

.game-important {
  margin: 12px 16px 30px;
  padding: 14px 16px;
  border-radius: 7px;
  color: #020202;
  background: #fff;
}

.game-important h3 {
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.game-important p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.game-important p:last-child {
  margin-bottom: 0;
}

.product-blank {
  background: #f1f1f1;
}

.product-earbuds {
  background: #fbfbfb;
}

.product-earbuds span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #111;
  box-shadow: 24px 3px 0 -3px #161616, 44px 3px 0 -5px #202020;
}

.product-earbuds b,
.product-earbuds i {
  position: absolute;
  width: 9px;
  height: 26px;
  border-radius: 8px;
  background: #111;
  content: "";
}

.product-earbuds b {
  right: 31px;
  top: 37px;
}

.product-earbuds i {
  right: 19px;
  top: 38px;
}

.product-treadmill {
  background:
    linear-gradient(0deg, #e9e9e9, #f7f7f7);
}

.product-treadmill span {
  width: 74px;
  height: 12px;
  border-radius: 999px;
  background: #141414;
  transform: rotate(-12deg);
}

.product-treadmill b {
  position: absolute;
  width: 64px;
  height: 6px;
  left: 24px;
  bottom: 31px;
  border-radius: 999px;
  background: #1d1d1d;
  transform: rotate(-12deg);
}

.product-treadmill i {
  position: absolute;
  width: 6px;
  height: 44px;
  right: 24px;
  top: 25px;
  background: #2b2b2b;
  transform: rotate(-15deg);
}

.product-treadmill-alt span,
.product-treadmill-alt b {
  transform: rotate(0deg);
}

.product-treadmill-alt i {
  transform: rotate(0deg);
}

.product-bike {
  background: #fbfbfb;
  color: #202020;
}

.product-bike svg {
  width: 74px;
  height: 74px;
  stroke-width: 1.55;
}

.product-suit {
  background: #f8f8f8;
}

.product-suit span {
  width: 52px;
  height: 76px;
  clip-path: polygon(25% 0, 75% 0, 94% 100%, 6% 100%);
  background:
    linear-gradient(90deg, transparent 47%, #fafafa 48% 52%, transparent 53%),
    linear-gradient(135deg, #191919, #4b4b4b);
}

.product-suit b {
  position: absolute;
  top: 30px;
  width: 13px;
  height: 42px;
  background: #d9d9d9;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.product-robe {
  background: #f9f9f9;
}

.product-robe span {
  width: 58px;
  height: 74px;
  border-radius: 16px 16px 7px 7px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.28), transparent 30% 70%, rgba(0,0,0,.1)),
    #3b86a6;
}

.product-robe b {
  position: absolute;
  top: 36px;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #4a96b5;
  transform: rotate(3deg);
}

.product-machine {
  background: #fafafa;
}

.product-machine span {
  width: 76px;
  height: 54px;
  border-radius: 4px;
  background: #d9dcde;
  border: 2px solid #9da4a8;
  box-shadow: inset 0 0 0 9px #eceeef;
}

.product-machine b {
  position: absolute;
  bottom: 27px;
  width: 72px;
  height: 9px;
  border-radius: 2px;
  background: #8e979c;
}

.product-machine i {
  position: absolute;
  right: 30px;
  top: 43px;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: #18212b;
}

.admin-route {
  --page: #edf2f7;
  background: #edf2f7;
}

.admin-route .phone-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #edf2f7;
}

.admin-route .route-page,
.admin-route .route-body {
  min-height: 100vh;
  padding: 0;
  background: #edf2f7;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  color: #111827;
  background: #edf2f7;
  font-size: 14px;
}

.admin-app.is-sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.admin-app.is-sidebar-collapsed .admin-sidebar {
  width: 0;
  min-width: 0;
  overflow: hidden;
  border-right: 0;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  background: #fff;
  border-right: 1px solid #edf0f4;
}

.admin-brand {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 8px;
  background: linear-gradient(115deg, #96eef5 0%, #d8e4ff 55%, #f4c4ee 100%);
}

.admin-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #101416;
  overflow: hidden;
}

.admin-logo::before {
  content: "";
  width: 25px;
  height: 25px;
  border: 4px solid #fff;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 9px;
  transform: rotate(-45deg);
  opacity: .96;
}

.admin-brand strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.admin-nav {
  display: grid;
  gap: 4px;
  padding: 8px 4px 28px;
}

.admin-nav-item,
.admin-nav-heading {
  min-height: 40px;
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: #111827;
  text-decoration: none;
  border-radius: 8px;
}

.admin-nav-item {
  grid-template-columns: 22px 1fr;
}

.admin-nav-heading {
  grid-template-columns: 22px 1fr 18px;
  color: #111827;
}

.admin-nav-item.active,
.admin-sub-item.active {
  color: #1677ff;
  background: #e6f4ff;
}

.admin-nav-item:not(.active) svg,
.admin-nav-heading svg,
.admin-sub-item:not(.active) {
  color: #111827;
}

.admin-nav-item svg,
.admin-nav-heading svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.admin-subnav {
  display: grid;
  margin: 4px 8px 8px;
  padding: 4px 0;
  background: #fafafa;
}

.admin-sub-item {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  color: #111827;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  background: linear-gradient(115deg, #96eef5 0%, #d8e4ff 55%, #f4c4ee 100%);
}

.admin-top-left,
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-quick-wrap {
  position: relative;
  display: inline-flex;
}

.admin-quick-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 90;
  width: 176px;
  padding: 6px;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .16);
}

.admin-topbar .admin-quick-menu button {
  width: 100%;
  justify-content: flex-start;
  height: 34px;
  padding: 0 10px;
  color: #111827;
  background: transparent;
  box-shadow: none;
  font-weight: 600;
}

.admin-topbar .admin-quick-menu button:hover {
  background: #f3f7fb;
}

.admin-topbar button,
.admin-topbar a {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  color: #111827;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .16);
  font-weight: 700;
  white-space: nowrap;
}

.admin-topbar button svg,
.admin-topbar a svg {
  width: 16px;
  height: 16px;
}

.admin-top-left button {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  color: #1677ff;
}

.admin-topbar .admin-user-btn,
.admin-topbar .admin-user-more {
  color: #fff;
  background: #1677ff;
}

.admin-topbar .admin-user-more {
  width: 40px;
  padding: 0;
}

.admin-user-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.admin-topbar .admin-user-wrap .admin-user-btn {
  border-radius: 6px 0 0 6px;
}

.admin-topbar .admin-user-wrap .admin-user-more {
  margin-left: 1px;
  border-radius: 0 6px 6px 0;
}

.admin-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 95;
  width: 132px;
  padding: 6px 0;
  border: 1px solid #ff4d4f;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .14);
}

.admin-topbar .admin-user-menu button {
  width: 100%;
  height: 32px;
  justify-content: flex-start;
  border-radius: 0;
  padding: 0 16px;
  color: #333;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}

.admin-topbar .admin-user-menu button:hover {
  background: #f5f7fb;
}

.admin-topbar .admin-user-menu button.danger {
  color: #ff4d4f;
}

.admin-content {
  min-height: calc(100vh - 88px);
  padding: 16px;
  overflow: auto;
}

.admin-app.admin-dark-mode {
  color: #e5eef8;
  background: #111827;
}

.admin-app.admin-dark-mode .admin-sidebar,
.admin-app.admin-dark-mode .admin-panel,
.admin-app.admin-dark-mode .admin-card,
.admin-app.admin-dark-mode .admin-table,
.admin-app.admin-dark-mode .admin-user-menu,
.admin-app.admin-dark-mode .admin-quick-menu {
  background: #172033;
  color: #e5eef8;
  border-color: #2a3854;
}

.admin-app.admin-dark-mode .admin-topbar,
.admin-app.admin-dark-mode .admin-brand {
  background: linear-gradient(115deg, #17324a 0%, #243353 55%, #493053 100%);
}

.admin-app.admin-dark-mode .admin-content,
.admin-app.admin-dark-mode .admin-main {
  background: #111827;
}

.admin-app.admin-dark-mode .admin-table th,
.admin-app.admin-dark-mode .admin-table td,
.admin-app.admin-dark-mode .admin-panel-head,
.admin-app.admin-dark-mode .admin-subnav,
.admin-app.admin-dark-mode .admin-nav-item,
.admin-app.admin-dark-mode .admin-nav-heading,
.admin-app.admin-dark-mode .admin-sub-item {
  color: #e5eef8;
  border-color: #2a3854;
}

.admin-app.admin-dark-mode .admin-table tbody tr:hover,
.admin-app.admin-dark-mode .admin-user-menu button:hover,
.admin-app.admin-dark-mode .admin-quick-menu button:hover {
  background: #22304a;
}

.admin-app.admin-dark-mode .admin-user-menu button,
.admin-app.admin-dark-mode .admin-quick-menu button {
  color: #e5eef8;
}

.admin-panel {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px #edf0f4;
}

.admin-panel-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid #edf0f4;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.admin-panel-titleline {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-panel-titleline h2,
.admin-panel-titleline .admin-blue-btn {
  flex: 0 0 auto;
}

.admin-panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-vip-title-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-vip-panel .admin-panel-head {
  padding: 0 16px;
}

.admin-vip-panel .admin-search input {
  width: 176px;
}

.admin-blue-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  color: #fff;
  background: #1677ff;
  font-weight: 800;
  white-space: nowrap;
}

.admin-blue-btn svg {
  width: 16px;
  height: 16px;
}

.admin-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-search input {
  width: 184px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
  outline: 0;
}

.admin-search-icon {
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border: 1px solid #d9d9d9;
  border-radius: 0 6px 6px 0;
  background: #fff;
}

.admin-search > button:not(.admin-blue-btn):not(.admin-search-icon):not(.admin-announcement-filter-open-btn) {
  width: 32px;
  height: 32px;
  border: 0;
  padding: 0;
  color: #111827;
  background: #fff;
}

.admin-search svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.admin-panel-head:has(.admin-commodity-toolbar) {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 12px 16px;
}

.admin-panel-head:has(.admin-commodity-toolbar) .admin-panel-titleline {
  width: 100%;
}

.admin-panel-head:has(.admin-commodity-toolbar) .admin-panel-actions {
  width: 100%;
  display: block;
  margin-left: 0;
}

.admin-commodity-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.admin-commodity-pool-filter-row {
  min-width: 0;
  flex: 1 1 360px;
}

.admin-commodity-pool-filter-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-commodity-pool-filter-buttons .admin-blue-btn,
.admin-commodity-pool-filter-buttons .admin-light-btn {
  flex: 0 0 auto;
  max-width: 100%;
}

.admin-commodity-search-actions {
  min-width: 280px;
  flex: 1 1 360px;
  display: flex;
  justify-content: flex-end;
}

.admin-commodity-search-actions .admin-search {
  max-width: 100%;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .admin-commodity-search-actions,
  .admin-commodity-search-actions .admin-search {
    justify-content: flex-start;
  }

  .admin-commodity-search-actions .admin-search {
    flex-wrap: wrap;
  }
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
  padding: 16px;
  background: #edf2f7;
}

.admin-stat-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 176px 1fr;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.admin-stat-card > span {
  display: grid;
  place-items: center;
  color: #fff;
}

.admin-stat-card.blue > span {
  background: #1e78ff;
}

.admin-stat-card.green > span {
  background: #45cc16;
}

.admin-stat-card.red > span {
  background: #ff1d2d;
}

.admin-stat-card svg {
  width: 34px;
  height: 34px;
}

.admin-stat-card div {
  padding: 14px 8px;
}

.admin-stat-card small,
.admin-withdraw-grid small,
.admin-member-grid small {
  display: block;
  margin-bottom: 8px;
  color: #69717d;
  font-size: 14px;
}

.admin-stat-card strong,
.admin-withdraw-grid strong {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
}

.admin-section-title {
  margin: 18px 16px 14px;
  font-size: 22px;
  font-weight: 900;
}

.admin-withdraw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 16px;
  margin: 0 16px;
}

.admin-withdraw-grid article {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr 176px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.admin-withdraw-grid div {
  padding: 12px;
}

.admin-withdraw-grid span {
  display: grid;
  place-items: center;
  color: #fff;
  background: #ff1d2d;
  font-size: 18px;
  font-weight: 900;
}

.admin-member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 16px;
  margin: 0 16px;
}

.admin-member-grid article {
  height: 92px;
  padding: 16px;
  border-radius: 6px;
  background: #fff;
}

.admin-member-grid strong {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
}

.admin-table-wrap {
  min-height: 285px;
  overflow: auto;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

  .admin-floor-grid .admin-table {
    min-width: auto;
  }

.admin-user-table {
  min-width: 4300px;
}

.admin-vip-table {
  min-width: 1420px;
}

.admin-vip-table .vip-col-logo {
  width: 64px;
}

.admin-vip-table .vip-col-name {
  width: 150px;
}

.admin-vip-table .admin-vip-name-head,
.admin-vip-table .admin-vip-name-cell {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  box-sizing: border-box;
}

.admin-vip-table .admin-vip-name-cell {
  overflow: hidden;
}

.admin-vip-name-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-vip-table .vip-col-level {
  width: 62px;
}

.admin-vip-table .vip-col-mode {
  width: 118px;
}

.admin-vip-table .vip-col-amount {
  width: 104px;
}

.admin-vip-table .vip-col-task {
  width: 94px;
}

.admin-vip-table .vip-col-group {
  width: 74px;
}

.admin-vip-table .vip-col-rate {
  width: 78px;
}

.admin-vip-table .vip-col-times {
  width: 64px;
}

.admin-vip-table .vip-col-limit,
.admin-vip-table .vip-col-min,
.admin-vip-table .vip-col-max {
  width: 104px;
}

.admin-vip-table .vip-col-fee {
  width: 96px;
}

/* VIP等级设置：名称列防溢出 */
.admin-vip-table .admin-vip-name-head,
.admin-vip-table .admin-vip-name-cell {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  overflow: hidden !important;
}

.admin-vip-table .admin-vip-name-text {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* VIP等级设置：右侧操作列固定并强制画表格线 */
.admin-vip-table .admin-vip-action-head,
.admin-vip-table .admin-vip-action-cell {
  position: sticky !important;
  right: 0 !important;
  width: 142px !important;
  min-width: 142px !important;
  max-width: 142px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  background-clip: border-box !important;
  overflow: hidden !important;
  padding-left: 10px !important;
  padding-right: 10px !important;

  border: 0 !important;
  outline: 1px solid #e5e7eb !important;
  outline-offset: -1px !important;

  box-shadow:
    inset 1px 0 0 #e5e7eb,
    inset -1px 0 0 #e5e7eb,
    inset 0 -1px 0 #e5e7eb,
    -1px 0 0 #e5e7eb !important;
}

.admin-vip-table thead .admin-vip-action-head {
  z-index: 80 !important;
  background: #fafafa !important;
  text-align: center !important;
}

.admin-vip-table .admin-vip-action-cell {
  z-index: 70 !important;
  text-align: center !important;
}

.admin-vip-table .admin-vip-actions {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  overflow: hidden;
}

.admin-vip-table .admin-vip-actions button,
.admin-vip-table .admin-vip-actions a,
.admin-vip-table .admin-vip-actions span {
  white-space: nowrap;
}

/* 交易管理 - 订单列表右侧固定列 */
.admin-trade-order-sticky-action,
.admin-trade-order-sticky-status,
.admin-trade-order-sticky-type {
  position: sticky !important;
  background: #fff !important;
  box-sizing: border-box !important;
  background-clip: padding-box !important;
  z-index: 35 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow:
    inset 1px 0 0 #e5e7eb,
    inset -1px 0 0 #e5e7eb,
    inset 0 -1px 0 #e5e7eb !important;
}

th.admin-trade-order-sticky-action,
th.admin-trade-order-sticky-status,
th.admin-trade-order-sticky-type {
  background: #fafafa !important;
  z-index: 45 !important;
  box-shadow:
    inset 1px 0 0 #e5e7eb,
    inset -1px 0 0 #e5e7eb,
    inset 0 -1px 0 #e5e7eb !important;
}

.admin-trade-order-sticky-action {
  right: 0 !important;
  min-width: 140px !important;
  width: 140px !important;
  max-width: 140px !important;
}

.admin-trade-order-sticky-status {
  right: 140px !important;
  min-width: 110px !important;
  width: 110px !important;
  max-width: 110px !important;
}

.admin-trade-order-sticky-type {
  right: 250px !important;
  min-width: 110px !important;
  width: 110px !important;
  max-width: 110px !important;
}

.admin-trade-order-sticky-action a,
.admin-trade-order-sticky-action button,
.admin-trade-order-sticky-action .admin-link,
.admin-trade-order-sticky-action span {
  white-space: nowrap !important;
}

.admin-vip-lang-row {
  margin-bottom: 12px;
}

.admin-vip-lang-empty {
  color: #9ca3af;
  font-size: 13px;
  padding: 12px 0;
  text-align: center;
}

.admin-vip-edit-dialog .admin-grid-lang-code-input {
  border: 1px solid #d8e0ec;
  outline: none;
  box-shadow: none;
}

.admin-vip-edit-dialog .admin-grid-lang-code-input:invalid,
.admin-vip-edit-dialog .admin-grid-lang-code-input:user-invalid {
  border-color: #d8e0ec;
  outline: none;
  box-shadow: none;
}

.admin-table th,
.admin-table td {
  height: 40px;
  border: 1px solid #eee;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  background: #fff;
}

.admin-table th {
  background: #fafafa;
  font-weight: 900;
}

.admin-vip-table-wrap {
  min-height: 0;
}

.admin-vip-table th,
.admin-vip-table td {
  height: 58px;
  padding: 6px 8px;
  white-space: nowrap;
}

.admin-vip-table thead tr:first-child th {
  height: 40px;
}

.admin-vip-table thead tr:nth-child(2) th {
  height: 38px;
}

.admin-vip-name-cell {
  white-space: normal;
  line-height: 1.2;
}

.admin-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
}

.admin-dot.green {
  background: #44bd32;
}

.admin-dot.red {
  background: #ff4d4f;
}

.admin-link,
.blue-text {
  color: #065cff;
}

.red-text {
  color: #ff3b30;
}

.admin-row-actions {
  width: 480px;
  white-space: nowrap;
}

.admin-row-actions button {
  height: 32px;
  border: 0;
  border-radius: 6px;
  margin: 0 4px 0 0;
  padding: 0 12px;
  color: #fff;
  background: #1677ff;
  font-weight: 800;
  white-space: nowrap;
}

.admin-partner-carousel-page {
  padding: 16px;
}

.admin-partner-carousel-note {
  margin: 0 0 14px;
  color: #657083;
  font-size: 14px;
  line-height: 1.7;
}

.admin-home-hero-image-card {
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.admin-home-hero-image-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-home-hero-image-head h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.admin-home-hero-image-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.admin-home-hero-image-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-home-hero-image-body {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 16px;
  align-items: center;
}

.admin-home-hero-image-summary {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-home-hero-image-preview {
  display: grid;
  place-items: center;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid #1f2937;
  border-radius: 10px;
  color: #cbd5e1;
  background: #0f172a;
}

.admin-home-hero-image-preview img {
  width: 100%;
  height: 118px;
  display: block;
  object-fit: cover;
}

.admin-home-hero-image-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.admin-home-hero-image-meta strong {
  color: #111827;
  font-size: 14px;
}

.admin-home-hero-image-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.admin-home-hero-image-empty {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
  background: #f8fafc;
  font-size: 13px;
}

.admin-home-hero-image-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  background: #fff;
}

.admin-home-hero-image-thumb {
  display: grid;
  place-items: center;
  width: 132px;
  height: 88px;
  overflow: hidden;
  border: 1px solid #1f2937;
  border-radius: 8px;
  color: #cbd5e1;
  background: #0f172a;
  font-size: 12px;
}

.admin-home-hero-image-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.admin-home-hero-image-fields {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 10px;
  align-content: start;
}

.admin-home-hero-image-fields label {
  display: grid;
  gap: 5px;
  color: #64748b;
  font-size: 12px;
}

.admin-home-hero-image-fields input[type="text"],
.admin-home-hero-image-fields input[type="number"] {
  width: 100%;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid #d7dde7;
  border-radius: 7px;
  padding: 0 9px;
  color: #111827;
  background: #fff;
}

.admin-home-hero-image-enabled {
  grid-column: 1 / -1;
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  font-weight: 700;
}

.admin-home-hero-image-enabled input {
  width: 16px;
  height: 16px;
}

.admin-home-hero-image-card-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.admin-partner-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-partner-carousel-count {
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-partner-carousel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-partner-carousel-clear-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee9;
  border-radius: 6px;
  padding: 0 14px;
  color: #475569;
  background: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.admin-partner-carousel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.admin-partner-carousel-card {
  overflow: hidden;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fff;
}

.admin-partner-carousel-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f6fb;
}

.admin-partner-carousel-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.admin-partner-carousel-thumb span {
  color: #94a3b8;
  font-size: 13px;
}

.admin-partner-carousel-meta {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-top: 1px solid #edf0f4;
}

.admin-partner-carousel-meta strong {
  color: #111827;
  font-size: 14px;
}

.admin-partner-carousel-meta span {
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-partner-carousel-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}

.admin-partner-carousel-card-actions .admin-text-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.admin-partner-carousel-empty {
  grid-column: 1 / -1;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  background: #f8fafc;
}

@media (max-width: 720px) {
  .admin-partner-carousel-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-partner-carousel-actions {
    justify-content: flex-start;
  }
}

.admin-row-actions button.orange {
  background: #ffaa17;
}

.admin-row-actions button.red {
  background: #ff4d4f;
}

.admin-user-table-wrap {
  position: relative;
  height: min(668px, calc(100vh - 300px));
  min-height: 520px;
  overflow: auto;
  border: 1px solid #f0f0f0;
  background: #fff;
}

.admin-user-table th,
.admin-user-table td {
  height: 58px;
  padding: 10px 8px;
  font-size: 14px;
}

.admin-user-table th {
  height: 40px;
  color: #111;
}

.admin-user-table thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #fafafa;
}

.admin-user-table thead tr:nth-child(2) th {
  position: sticky;
  top: 40px;
  z-index: 4;
  background: #fafafa;
}

.admin-user-table .admin-user-action-sticky {
  position: sticky;
  right: 0;
  width: 480px;
  min-width: 480px;
  max-width: 480px;
  background: #fff;
  box-shadow: -10px 0 18px rgba(15, 23, 42, 0.06);
  z-index: 3;
}

.admin-user-table thead .admin-user-action-sticky {
  z-index: 6;
  background: #fafafa;
}

.admin-user-table .admin-row-actions {
  white-space: nowrap;
}

.admin-user-table .admin-row-actions button {
  min-width: 58px;
  margin: 0 4px;
  padding: 0 14px;
}

.admin-user-more-menu {
  position: fixed;
  width: 180px;
  max-height: min(520px, calc(100vh - 120px));
  overflow-y: auto;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  z-index: 9999;
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 119, 255, 0.3) transparent;
}

.admin-user-more-menu::-webkit-scrollbar {
  width: 6px;
}

.admin-user-more-menu::-webkit-scrollbar-track {
  background: transparent;
}

.admin-user-more-menu::-webkit-scrollbar-thumb {
  background: rgba(22, 119, 255, 0.28);
  border-radius: 999px;
}

.admin-user-more-menu-item {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  padding: 0 14px;
  background: transparent;
  color: #1677ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.admin-user-more-menu-item:hover {
  background: #f0f7ff;
  color: #1677ff;
}

.admin-user-more-menu-item.is-danger {
  color: #ff4d4f;
}

.admin-user-more-menu-item.is-danger:hover {
  background: #fff1f0;
  color: #ff4d4f;
}

.admin-user-more-menu-item.is-success {
  color: #16a34a;
}

.admin-user-more-menu-item.is-success:hover {
  background: #f0fdf4;
  color: #16a34a;
}

.admin-user-more-menu-icon {
  width: 16px;
  min-width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.admin-user-more-menu-icon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.admin-user-more-menu-item.is-danger .admin-user-more-menu-icon::before {
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
}

.admin-user-more-menu-item.is-success .admin-user-more-menu-icon::before {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.admin-user-more-menu-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-more-form textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-user-password-member-info {
  display: grid;
  gap: 8px;
}

.admin-user-task-card,
.admin-user-group-card {
  display: grid;
  gap: 16px;
  min-width: 420px;
}

.admin-user-task-card-section {
  display: grid;
  gap: 8px;
}

.admin-user-task-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.admin-user-task-info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.admin-user-task-info-table th,
.admin-user-task-info-table td {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
}

.admin-user-task-info-table th {
  width: 92px;
  color: #6b7280;
  font-weight: 500;
  background: #f8fafc;
}

.admin-user-task-info-table td {
  color: #111827;
}

.admin-user-task-card-field {
  display: grid;
  gap: 8px;
}

.admin-user-task-card-field span {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.admin-user-task-card-field .admin-required-star {
  color: #ff3b30 !important;
  margin-right: 4px;
  font-weight: 700;
}

.admin-user-task-card-field input,
.admin-user-task-card-field select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d9dce3;
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
}

.admin-user-task-card-field input:focus,
.admin-user-task-card-field select:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.admin-collection-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  padding: 16px 0 8px;
  border-bottom: 1px solid #e5e7eb;
  margin-top: 8px;
}

.admin-i18n-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-i18n-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-i18n-row input {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d9dce3;
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font-size: 13px;
  box-sizing: border-box;
}

.admin-i18n-row input:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.admin-user-vip-credit-card {
  display: grid;
  gap: 14px;
  min-width: 420px;
}

.admin-user-vip-credit-current {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.admin-user-credit-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
}

.admin-user-credit-control input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #1677ff;
}

.admin-user-credit-control input[type="text"] {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d9dce3;
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
}

.admin-user-credit-control input[type="text"]:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.admin-user-task-card-preview,
.admin-user-group-current {
  font-size: 14px;
  color: #374151;
}

.admin-user-task-card-preview b {
  color: #111827;
  font-weight: 600;
}

.admin-user-task-card-primary {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.admin-inline-edit {
  border: 0;
  color: #1677ff;
  background: transparent;
  font-size: 15px;
  cursor: pointer;
}

.admin-long-text {
  display: inline-block;
  max-width: 260px;
  color: #065cff;
  word-break: break-all;
}

.admin-pager {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-top: 1px solid #f1f1f1;
  background: #fff;
}

.admin-pager button {
  min-width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: #111827;
  background: #fff;
}

.admin-pager button.active {
  border: 1px solid #1677ff;
  color: #1677ff;
}

.admin-pager input {
  width: 50px;
  height: 32px;
  margin: 0 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
}

.admin-filter-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.admin-filter-row > button:not(.admin-blue-btn) {
  position: relative;
  height: 56px;
  border: 0;
  padding: 0;
  color: #111827;
  background: transparent;
  font-weight: 800;
}

.admin-filter-row > button.active {
  color: #1677ff;
}

.admin-filter-row > button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #1677ff;
}

.admin-empty {
  height: 168px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #999;
}

.admin-empty svg {
  width: 38px;
  height: 38px;
  color: #ddd;
}

.admin-invite-toolbar {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
}

.admin-invite-toolbar input,
.admin-invite-floor-input {
  flex: 1;
  min-width: 120px;
  height: 36px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  font-size: 13px;
  color: #111827;
  outline: none;
  box-sizing: border-box;
}

.admin-invite-toolbar input:focus,
.admin-invite-floor-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-invite-toolbar input::placeholder,
.admin-invite-floor-input::placeholder {
  color: #a8b0bd;
}

.admin-invite-floor-search-wrap {
  display: flex;
  flex: 1;
  min-width: 120px;
  gap: 8px;
  align-items: center;
}

.admin-invite-floor-search-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  color: #111827;
  outline: none;
  box-sizing: border-box;
  background: #fff;
}

.admin-invite-floor-search-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-invite-floor-search-input::placeholder {
  color: #a8b0bd;
}

.admin-invite-floor-search-btn {
  height: 36px;
  min-width: 64px;
  padding: 0 14px;
  background: #1677ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.admin-invite-floor-search-btn:hover {
  background: #0958d9;
}

.admin-invite-floor-icon-btns {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-invite-floor-icon-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  background: #fff;
  color: #1677ff;
  cursor: pointer;
  padding: 0;
}

.admin-invite-floor-icon-btn:hover {
  background: #eef6ff;
  border-color: #1677ff;
}

.admin-invite-floor-icon-btn svg,
.admin-invite-floor-icon-btn [data-lucide] {
  width: 18px;
  height: 18px;
}

.admin-invite-floor-result-card {
  background: #fff;
  border-radius: 12px;
  margin: 16px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
}

.admin-invite-floor-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.admin-invite-floor-summary div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-invite-floor-summary span,
.admin-invite-floor-node-meta {
  font-size: 12px;
  color: #64748b;
}

.admin-invite-floor-summary strong {
  font-size: 14px;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.admin-invite-floor-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.admin-invite-floor-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.admin-invite-floor-tree.is-vertical {
  flex-direction: column;
}

.admin-invite-floor-tree.is-horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.admin-invite-floor-tree-current {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 20px 24px;
  background: #fff;
  border: 2px solid #1677ff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22,119,255,.1);
}

.admin-invite-floor-tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  min-width: 140px;
  cursor: pointer;
  font: inherit;
}

.admin-invite-floor-tree-node.is-current {
  border: 2px solid #1677ff;
  box-shadow: 0 2px 8px rgba(22,119,255,.12);
}

.admin-invite-floor-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.admin-invite-floor-tree-children {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 12px;
}

.admin-invite-floor-tree-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.admin-invite-floor-tree-row .admin-invite-floor-tree-children {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 0;
  width: auto;
  gap: 12px;
}

.admin-invite-floor-tree.is-horizontal .admin-invite-floor-tree-children {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.admin-invite-floor-tree-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 12px;
}

.admin-invite-floor-tree-empty span {
  font-size: 13px;
  color: #9ca3af;
}

.admin-invite-floor-tree-line {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #d1d5db;
  height: 24px;
}

.admin-invite-floor-tree.is-horizontal .admin-invite-floor-tree-line {
  width: 24px;
  height: auto;
}

.admin-main-content.is-fullscreen-view {
  padding: 0;
}

.admin-main-content.is-fullscreen-view .admin-panel {
  margin: 0;
  border-radius: 0;
}

.switch {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #bfbfbf;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.switch.on {
  background: #1677ff;
}

.switch.on::after {
  left: 14px;
}

.admin-big-empty {
  height: 254px;
  display: grid;
  place-items: center;
  margin-top: 56px;
  border-radius: 10px;
  background: #fff;
}

.admin-big-empty div {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.admin-big-empty svg {
  width: 70px;
  height: 70px;
  padding: 14px;
  border-radius: 50%;
  color: #fff;
  background: #1677ff;
}

.admin-big-empty strong {
  font-size: 24px;
}

.admin-big-empty span {
  color: #777;
}

.admin-vip-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.admin-order-table {
  min-width: 2500px;
}

.admin-order-table th:nth-child(1),
.admin-order-table td:nth-child(1) {
  width: 90px;
}

.admin-order-table th:nth-child(2),
.admin-order-table td:nth-child(2) {
  width: 290px;
}

.admin-order-table th:nth-child(3),
.admin-order-table td:nth-child(3) {
  width: 210px;
}

.admin-order-table th:nth-child(4),
.admin-order-table td:nth-child(4) {
  width: 160px;
}

.admin-order-table th:nth-child(5),
.admin-order-table td:nth-child(5) {
  width: 80px;
}

.admin-order-table th:nth-child(6),
.admin-order-table td:nth-child(6) {
  width: 280px;
}

.admin-order-table th:nth-child(10),
.admin-order-table td:nth-child(10) {
  width: 180px;
}

.admin-order-table th:nth-child(11),
.admin-order-table td:nth-child(11) {
  width: 100px;
}

.admin-order-table th:nth-child(12),
.admin-order-table td:nth-child(12) {
  width: 110px;
}

.admin-order-table th:nth-child(13),
.admin-order-table td:nth-child(13) {
  width: 190px;
}

.admin-order-table th:nth-child(14),
.admin-order-table td:nth-child(14) {
  width: 100px;
}

.admin-order-table th:nth-child(15),
.admin-order-table td:nth-child(15) {
  width: 110px;
}

.admin-order-table th:nth-child(16),
.admin-order-table td:nth-child(16) {
  width: 130px;
}


.admin-product-table {
  min-width: 1500px;
}

.admin-order-table td,
.admin-product-table td {
  height: 84px;
}

.admin-product-name {
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.5;
  white-space: normal;
}

.admin-product-thumb {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  background: #f3f3f3;
}

.admin-thumb {
  width: 88px;
  height: 88px;
  max-width: 88px;
  max-height: 88px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.admin-order-image-placeholder {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid #e4e8ef;
  border-radius: 6px;
  color: #7b8794;
  background: linear-gradient(135deg, #f7f9fb, #e9edf3);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.admin-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.admin-tag.green {
  color: #52c41a;
  border-color: #95de64;
  background: #f6ffed;
}

.admin-tag.red {
  color: #ff4d4f;
  border-color: #ff7875;
  background: #fff2f0;
}

.admin-tag.blue {
  color: #1677ff;
  border-color: #91caff;
  background: #e6f4ff;
}

.admin-tag.yellow {
  color: #d48806;
  border-color: #ffd666;
  background: #fffbe6;
}

.admin-tag.gray {
  color: #8c8c8c;
  border-color: #d9d9d9;
  background: #f5f5f5;
}

.green-text {
  color: #19b000;
}

.muted-text {
  color: #bfbfbf;
}

.admin-table-summary {
  margin-top: -58px;
  padding: 0 16px 12px;
  text-align: right;
  line-height: 1.6;
  background: #fff;
}

.admin-settings-shell {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 8px;
}

.admin-settings-tabs {
  min-height: calc(100vh - 104px);
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 8px 0 18px rgba(15, 23, 42, .08);
}

.admin-settings-tabs button {
  position: relative;
  height: 42px;
  border: 0;
  padding: 0 24px;
  color: #30343b;
  background: transparent;
  text-align: left;
}

.admin-settings-tabs button.active {
  color: #1677ff;
}

.admin-settings-tabs button.active::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 2px;
  height: 36px;
  background: #1677ff;
}

.admin-settings-main {
  min-width: 0;
}

.admin-settings-head {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 16px;
  border-radius: 6px;
  background: #fff;
}

.admin-settings-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.admin-setting-card {
  min-height: 188px;
  padding: 26px 16px;
  border-radius: 10px;
  background: #fff;
}

.admin-setting-grid {
  display: grid;
  gap: 22px 16px;
  align-items: start;
}

.admin-setting-grid.two {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.admin-setting-grid.four {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.admin-setting-field,
.admin-upload-field,
.admin-setting-grid > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-setting-field span,
.admin-upload-field span,
.admin-setting-grid > div > span {
  color: #111827;
}

.admin-setting-field input,
.admin-setting-field select,
.admin-setting-field textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  color: #111827;
  background: #fff;
  outline: 0;
}

.admin-setting-field input,
.admin-setting-field select {
  height: 40px;
  padding: 0 12px;
}

.admin-setting-field textarea {
  min-height: 88px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

.admin-setting-disabled-section {
  margin-top: 16px;
  padding: 20px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  background: #f8fafc;
}

.admin-setting-disabled-section-head {
  margin-bottom: 16px;
}

.admin-setting-disabled-section-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #6b7280;
}

.admin-setting-disabled-section-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.admin-setting-disabled-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px 16px;
}

.admin-setting-disabled-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  opacity: .68;
  cursor: not-allowed;
}

.admin-setting-disabled-label {
  color: #6b7280 !important;
}

.admin-setting-disabled-item input,
.admin-setting-disabled-item select,
.admin-setting-disabled-control {
  color: #6b7280 !important;
  border-color: #d1d5db !important;
  background: #eef2f7 !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

.admin-setting-disabled-item .admin-switch,
.admin-setting-disabled-item .admin-switch.on {
  background: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

.admin-goods-adjust-card {
  min-height: 230px;
  padding: 26px 16px 32px;
}

.admin-goods-adjust-form {
  display: grid;
  gap: 18px;
}

.admin-goods-adjust-form .admin-setting-field {
  width: min(320px, 100%);
}

.admin-goods-adjust-form .admin-setting-field > span::before {
  content: "*";
  margin-right: 4px;
  color: #ff4d4f;
}

.admin-goods-adjust-range {
  --goods-start: 40.01%;
  --goods-end: 90.04%;
  display: grid;
  gap: 10px;
  max-width: 100%;
  color: #111827;
}

.admin-goods-mode-panel {
  display: grid;
  gap: 10px;
  color: #111827;
}

.admin-goods-mode-panel[hidden] {
  display: none;
}

.admin-goods-probability-panel,
.admin-goods-near-balance-panel {
  justify-items: start;
}

.admin-goods-near-range {
  width: 100%;
}

.admin-goods-mode-panel > span,
.admin-goods-mode-panel > strong {
  font-size: 14px;
}

.admin-goods-mode-panel > strong {
  font-weight: 600;
}

.admin-goods-probability-panel .admin-blue-btn {
  height: 32px;
  padding: 0 14px;
}

.admin-goods-probability-list {
  display: grid;
  gap: 16px;
  width: 100%;
}

.admin-goods-probability-row {
  display: grid;
  gap: 10px;
  max-width: 100%;
  padding-top: 4px;
}

.admin-goods-probability-head {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.admin-goods-probability-head strong {
  font-weight: 600;
}

.admin-goods-weight-field {
  display: grid;
  gap: 8px;
  width: min(220px, 100%);
}

.admin-goods-weight-field input {
  width: 100%;
  height: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
  color: #111827;
  background: #fff;
  outline: 0;
}

.admin-goods-probability-row [data-admin-goods-probability-remove] {
  width: max-content;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 14px;
  background: #fff;
  color: #111827;
  cursor: pointer;
}

.admin-goods-slider-shell {
  position: relative;
  height: 28px;
  margin-top: 4px;
}

.admin-goods-slider-track {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #eef2f7 0%,
    #eef2f7 var(--goods-start),
    #8ec5ff var(--goods-start),
    #8ec5ff var(--goods-end),
    #eef2f7 var(--goods-end),
    #eef2f7 100%
  );
}

.admin-goods-slider-shell input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  pointer-events: none;
  appearance: none;
  background: transparent;
}

.admin-goods-slider-shell input[type="range"]::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #8ec5ff;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
}

.admin-goods-slider-shell input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #8ec5ff;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
}

.admin-goods-slider-shell input[type="range"]::-webkit-slider-runnable-track,
.admin-goods-slider-shell input[type="range"]::-moz-range-track {
  background: transparent;
  border: 0;
}

.admin-goods-range-ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: #6b7280;
  font-size: 13px;
}

.admin-goods-range-ticks span {
  text-align: center;
}

.admin-goods-range-ticks span:first-child {
  text-align: left;
}

.admin-goods-range-ticks span:last-child {
  text-align: right;
}

.admin-goods-adjust-range strong {
  font-size: 14px;
  font-weight: 600;
}

.admin-switch {
  position: relative;
  width: 44px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 999px;
  padding: 0 7px;
  color: #fff;
  background: #bfbfbf;
  font-size: 12px;
  line-height: 1;
  border: 0;
  cursor: pointer;
}

.admin-switch::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.admin-switch.on {
  justify-content: flex-start;
  background: #1677ff;
}

.admin-switch.on::before {
  right: 2px;
  left: auto;
}

.admin-switch b {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.admin-combo-page {
  position: relative;
  min-height: calc(100vh - 102px);
  border: 1px solid #edf0f4;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.admin-combo-page h2 {
  height: 56px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  font-size: 22px;
  font-weight: 900;
}

.admin-combo-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #1677ff;
  text-decoration: none;
  font-size: 34px;
  line-height: 1;
  z-index: 2;
}

.admin-combo-summary {
  margin: 0 8px;
  border-radius: 6px;
}

.admin-combo-summary .admin-table {
  min-width: 980px;
}

.admin-combo-summary th,
.admin-combo-summary td {
  height: 40px;
  padding: 8px 16px;
  text-align: left;
}

.admin-combo-summary td strong {
  font-weight: 900;
}

.admin-combo-toolbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: #fff;
}

.admin-combo-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}

.admin-light-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 14px;
  color: #a0a7b2;
  background: #f5f5f5;
  font-weight: 800;
  white-space: nowrap;
}

.admin-light-btn svg {
  width: 16px;
  height: 16px;
}

.admin-popconfirm {
  position: fixed;
  z-index: 1200;
  width: 184px;
  padding: 14px 12px 12px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .18);
}

.admin-popconfirm::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: translate(-50%, -5px) rotate(45deg);
  box-shadow: 4px 4px 12px rgba(15, 23, 42, .06);
}

.admin-popconfirm-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #30343b;
  font-size: 14px;
  line-height: 1.4;
}

.admin-popconfirm-title span {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  border-radius: 50%;
  color: #fff;
  background: #faad14;
  font-size: 12px;
  font-weight: 900;
}

.admin-popconfirm-title strong {
  font-weight: 700;
}

.admin-popconfirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.admin-popconfirm-actions button {
  height: 28px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 0 10px;
  color: #30343b;
  background: #fff;
}

.admin-popconfirm-actions button:last-child {
  border-color: #1677ff;
  color: #fff;
  background: #1677ff;
}

.admin-combo-toolbar .admin-search {
  margin-left: auto;
}

.admin-combo-table-wrap {
  min-height: 520px;
  margin: 0 8px;
  border-radius: 6px 6px 0 0;
}

.admin-combo-table {
  min-width: 1100px;
}

.admin-combo-table th,
.admin-combo-table td {
  height: 40px;
}

.admin-combo-table .admin-empty {
  height: 160px;
}

.admin-chain-order-page .admin-pager {
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.admin-chain-table-wrap {
  min-height: 440px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.admin-chain-table {
  width: 100%;
  min-width: 992px;
  table-layout: fixed;
}

.admin-chain-col-id {
  width: 80px;
}

.admin-chain-col-nth {
  width: 56px;
}

.admin-chain-col-product {
  width: 430px;
}

.admin-chain-col-type {
  width: 68px;
}

.admin-chain-col-creator {
  width: 58px;
}

.admin-chain-col-time {
  width: 76px;
}

.admin-chain-col-status {
  width: 60px;
}

.admin-chain-col-action {
  width: 164px;
}

.admin-chain-table td {
  vertical-align: middle;
  height: 82px;
  padding: 20px 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-chain-table tbody tr {
  height: 82px;
}

.admin-chain-table th {
  padding: 0 4px;
  font-size: 13px;
  white-space: nowrap;
}

.admin-chain-table td:nth-child(3) {
  overflow: visible;
  text-overflow: clip;
}

.admin-chain-table td:last-child {
  overflow: visible;
  text-overflow: clip;
}

.admin-chain-product-mini {
  display: grid;
  gap: 8px;
  max-width: 100%;
  min-height: 60px;
  color: #111827;
  font-size: 12px;
  line-height: 1.45;
}

.admin-chain-product-mini + .admin-chain-product-mini {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #edf0f4;
}

.admin-chain-product-name {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-weight: 700;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.admin-chain-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: #6b7280;
}

.admin-chain-product-meta em {
  font-style: normal;
}

.admin-chain-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  white-space: nowrap;
}

.admin-chain-actions .admin-text-btn {
  padding: 0;
  font-size: 12px;
}

.admin-chain-drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 1150;
  display: flex;
  justify-content: flex-end;
  background: rgba(17, 24, 39, .48);
}

.admin-chain-drawer {
  width: min(760px, 92vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -16px 0 38px rgba(15, 23, 42, .22);
}

.admin-chain-drawer-head {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid #edf0f4;
}

.admin-chain-drawer-head > button:first-child {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.admin-chain-drawer-head strong {
  flex: 1;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.admin-chain-drawer-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 18px 20px;
  background: #fff;
}

.admin-chain-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-chain-form-grid label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.admin-chain-form-grid input {
  height: 34px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
}

.admin-chain-form-grid input[readonly] {
  color: #6b7280;
  background: #f5f6f8;
}

.admin-chain-selected-section,
.admin-chain-product-section {
  margin-top: 18px;
}

.admin-chain-selected-head,
.admin-chain-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.admin-chain-selected-head h3,
.admin-chain-product-head h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.admin-chain-selected-head strong {
  font-size: 16px;
  font-weight: 900;
}

.admin-chain-selected-empty {
  display: grid;
  place-items: center;
  min-height: 92px;
}

.admin-chain-selected-list {
  display: grid;
  gap: 8px;
  max-height: 184px;
  overflow: auto;
  padding-right: 2px;
}

.admin-chain-selected-item {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #16a34a;
  background: #eefbe8;
}

.admin-chain-selected-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-chain-selected-item > small {
  min-width: 0;
  color: #16a34a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-chain-selected-item button:not(.admin-danger-mini) {
  border: 1px solid #fed7aa;
  border-radius: 4px;
  padding: 2px 8px;
  color: #ef4444;
  background: #fff7ed;
  cursor: pointer;
}

.admin-danger-mini {
  border: 0;
  border-radius: 4px;
  padding: 3px 8px;
  color: #fff;
  background: #ff4d4f;
  cursor: pointer;
}

.admin-chain-product-head {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
}

.admin-chain-product-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
  min-width: min(100%, 560px);
}

.admin-chain-product-filters input {
  width: 138px;
  height: 32px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  padding: 0 10px;
}

.admin-chain-product-filters input[data-admin-chain-product-filter="keyword"] {
  width: 158px;
}

.admin-chain-product-filters .admin-blue-btn {
  height: 32px;
  padding: 0 14px;
  flex: 0 0 auto;
}

.admin-chain-product-table-wrap {
  height: 350px;
  min-height: 350px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 6px;
  scrollbar-gutter: stable;
}

.admin-chain-product-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.admin-chain-product-col-id {
  width: 88px;
}

.admin-chain-product-col-name {
  width: auto;
}

.admin-chain-product-col-price {
  width: 112px;
}

.admin-chain-product-col-action {
  width: 92px;
}

.admin-chain-product-table th,
.admin-chain-product-table td {
  height: 42px;
  padding: 8px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-chain-product-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fafafa;
}

.admin-chain-product-table th:last-child,
.admin-chain-product-table td:last-child {
  text-align: center;
  overflow: visible;
  text-overflow: clip;
}

.admin-chain-product-pager {
  min-height: 42px;
  margin-top: 10px;
  padding: 6px 0 0;
  border-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-chain-product-pager .admin-page-total {
  margin-right: auto;
}

.admin-chain-product-pager .admin-page-jump {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.admin-chain-product-pager .admin-page-jump input {
  width: 48px;
  height: 30px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  padding: 0 8px;
  text-align: center;
  -moz-appearance: textfield;
}

.admin-chain-product-pager .admin-page-jump input::-webkit-outer-spin-button,
.admin-chain-product-pager .admin-page-jump input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.admin-chain-price-modal {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.admin-chain-price-dialog {
  z-index: 1300;
}

.admin-chain-price-dialog .local-dialog-box {
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
  padding: 46px 22px 18px;
  overflow: hidden;
}

.admin-chain-price-dialog .local-dialog-body {
  overflow: visible;
}

.admin-chain-price-dialog .local-dialog-actions {
  justify-content: flex-end;
}

.admin-chain-price-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-chain-price-table th,
.admin-chain-price-table td {
  height: 40px;
  border: 1px solid #edf0f4;
  padding: 8px 12px;
  color: #374151;
  text-align: left;
  word-break: break-word;
}

.admin-chain-price-table th {
  color: #6b7280;
  background: #fafafa;
  font-weight: 800;
}

.admin-chain-price-input {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.admin-chain-price-input span {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  font-weight: 700;
}

.admin-chain-price-input button,
.admin-chain-price-input input {
  width: 100%;
  height: 34px;
  border: 1px solid #d8dde6;
  box-sizing: border-box;
}

.admin-chain-price-input button {
  color: #1677ff;
  background: #f8fbff;
  cursor: pointer;
}

.admin-chain-price-input input {
  min-width: 0;
  width: 100%;
  padding: 0 10px;
  border-left: 0;
  border-right: 0;
  text-align: left;
}

.front-chain-dialog .local-dialog-box {
  width: min(604px, calc(100vw - 20px));
  max-height: calc(100vh - 28px);
  padding: 20px 16px 16px;
  border-radius: 10px;
  overflow: auto;
}

.front-chain-dialog .local-dialog-box > strong {
  display: none;
}

.front-chain-dialog .local-dialog-close {
  top: 12px;
  right: 12px;
}

.front-chain-dialog .local-dialog-actions {
  display: none;
}

.front-chain-match-modal h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.front-chain-match-modal h2 span {
  color: #ef174f;
}

.front-chain-product-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.front-chain-product-row:last-of-type {
  border-bottom: 0;
}

.front-chain-product-row img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f7;
}

.front-chain-product-row h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 17px;
  line-height: 1.25;
}

.front-chain-product-row p {
  margin: 4px 0;
  color: #374151;
}

.front-chain-product-row b {
  color: #111827;
}

.front-chain-product-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  color: #111827;
}

.front-chain-product-actions button {
  border: 0;
  background: transparent;
  color: #10b981;
  font-size: 16px;
  cursor: pointer;
}

.front-chain-product-actions button + button {
  color: #ef174f;
}

.front-chain-product-actions span {
  white-space: nowrap;
}

.front-chain-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
  margin-top: 12px;
}

.front-chain-summary dl {
  margin: 0;
}

.front-chain-summary dt {
  color: #6b7280;
  font-size: 13px;
}

.front-chain-summary dd {
  margin: 3px 0 0;
  color: #111827;
  font-weight: 900;
}

.front-chain-summary dd.green {
  color: #10b981;
}

.front-chain-summary dd.blue {
  color: #1677ff;
}

.front-chain-submit {
  width: 100%;
  height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #ef1764;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 520px) {
  .front-chain-product-row {
    grid-template-columns: 86px minmax(0, 1fr) 54px;
    gap: 10px;
  }

  .front-chain-product-row img {
    width: 86px;
    height: 86px;
  }

  .front-chain-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

.admin-user-status-switch {
  position: relative;
  width: 48px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 0 16px 0 7px;
  color: #fff;
  background: #1677ff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.admin-user-status-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.admin-user-status-switch.off {
  justify-content: flex-end;
  padding: 0 7px 0 16px;
  background: #bfbfbf;
}

.admin-user-status-switch.off::after {
  right: auto;
  left: 3px;
}

.admin-user-status-switch b {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.admin-upload-box {
  position: relative;
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 6px 5px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff center / cover no-repeat;
  overflow: hidden;
  cursor: pointer;
}

.admin-upload-box:focus-within {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.18);
}

.admin-upload-box.has-image {
  position: relative;
}

.admin-upload-box.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.admin-upload-box button {
  position: relative;
  z-index: 1;
  width: 72px;
  min-width: 72px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ff4d4f;
  border-radius: 3px;
  color: #ff4d4f;
  background: #fff;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}

.admin-upload-box button:first-child {
  border-color: #1677ff;
  color: #fff;
  background: #1677ff;
}

.admin-upload-box button:hover,
.admin-upload-box button:focus-visible {
  border-color: #ff7875;
  color: #ff7875;
  background: #fff1f0;
  box-shadow: 0 0 0 2px rgba(255,77,79,.14);
}

.admin-upload-box button:first-child:hover,
.admin-upload-box button:first-child:focus-visible {
  border-color: #4096ff;
  color: #fff;
  background: #4096ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.18);
}

.admin-upload-box button:active {
  transform: translateY(1px);
}

.admin-upload-box svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
}

.admin-upload-box small {
  position: relative;
  z-index: 1;
  color: #30343b;
}

.admin-product-edit-page {
  min-height: calc(100vh - 64px);
  padding: 0 8px 28px;
  background: #edf2f7;
}

.admin-product-edit-title {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 24px;
}

.admin-product-edit-title h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.admin-product-edit-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #1677ff;
  text-decoration: none;
}

.admin-product-edit-close svg {
  width: 24px;
  height: 24px;
}

.admin-product-edit-card {
  margin: 0 0 24px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.admin-product-edit-card-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #edf0f4;
}

.admin-product-edit-card-head strong {
  font-size: 16px;
  font-weight: 900;
}

.admin-product-edit-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 22px 16px;
  padding: 28px 24px 32px;
}

.admin-product-edit-field {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-product-edit-field input,
.admin-product-edit-field select {
  width: 100%;
  height: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
  color: #111827;
  background: #fff;
  outline: 0;
}

.admin-product-switch-wrap {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}

.admin-product-edit-cover {
  grid-column: 1 / 2;
  width: 100px;
  height: 100px;
}

.admin-product-edit-cover:not(.has-image) {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #111827;
  background: #fff;
}

.admin-product-edit-cover:not(.has-image) svg {
  width: 28px;
  height: 28px;
}

.admin-product-edit-cover small {
  font-size: 13px;
}

.admin-product-title-card {
  min-height: 470px;
}

.admin-product-title-body {
  min-height: 360px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
}

.admin-product-title-body-empty {
  min-height: 520px;
}

.admin-product-language-list-empty p {
  margin: 0;
  color: #30343b;
  font-size: 14px;
}

.admin-product-title-empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.admin-product-language-list {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-product-language-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-product-language-list button:not(.admin-blue-btn) {
  min-width: 152px;
  height: 32px;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  color: #111827;
  background: #fff;
}

.admin-product-language-list button.active {
  border-color: #1677ff;
  color: #fff;
  background: #1677ff;
}

.admin-product-language-list .admin-language-delete {
  min-width: 32px;
  width: 32px;
  border: 0;
  color: #ff4d4f;
  background: transparent;
}

.admin-product-language-list .admin-language-delete svg {
  width: 16px;
  height: 16px;
}

.admin-product-title-body textarea {
  width: 100%;
  min-height: 300px;
  border: 1px solid #edf0f4;
  border-radius: 6px;
  padding: 12px;
  color: #111827;
  outline: 0;
  resize: vertical;
}

.admin-product-edit-page {
  min-height: calc(100vh - 64px) !important;
  padding: 24px !important;
  background: #eef3f8 !important;
  box-sizing: border-box !important;
}

.admin-product-edit-title {
  min-height: 48px !important;
  padding: 0 0 18px !important;
}

.admin-product-edit-title h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
}

.admin-product-edit-close {
  width: 38px !important;
  height: 38px !important;
  border-radius: 6px !important;
  color: #1677ff !important;
}

.admin-product-edit-card {
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.admin-product-edit-card-head {
  min-height: 56px !important;
  padding: 0 24px !important;
}

.admin-product-edit-card-head .admin-blue-btn,
.admin-commodity-language-add {
  border: none !important;
  background: #1677ff !important;
  color: #fff !important;
  border-radius: 6px !important;
  height: 36px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.admin-product-edit-form {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
  gap: 22px !important;
  padding: 28px 24px 32px !important;
}

.admin-product-edit-field > span {
  font-size: 14px !important;
  color: #303133 !important;
}

.admin-product-edit-field input,
.admin-product-edit-field select,
.admin-product-switch-wrap {
  height: 40px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.admin-product-edit-cover {
  grid-column: 1 / 2 !important;
  width: 100px !important;
  height: 100px !important;
  border: 1px dashed #dcdfe6 !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

.admin-product-edit-cover:not(.has-image) {
  color: #303133 !important;
  background: #fff !important;
}

.admin-product-title-card {
  min-height: 520px !important;
}

.admin-product-title-body-empty {
  min-height: 460px !important;
}

.admin-product-language-list-empty p {
  margin-top: 14px !important;
}

.admin-product-title-empty {
  min-height: 300px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

.admin-commodity-language-mask {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10040 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.admin-commodity-language-modal {
  width: 420px !important;
  padding: 22px 24px 18px !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  box-sizing: border-box !important;
}

.admin-commodity-language-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
  color: #111827 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.admin-commodity-language-warning {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #f5a623 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.admin-commodity-language-tip {
  padding: 10px 12px !important;
  margin-bottom: 16px !important;
  border-radius: 6px !important;
  background: #fff7e6 !important;
  color: #8a5a00 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.admin-commodity-language-tip p {
  margin: 0 !important;
}

.admin-commodity-language-select,
.admin-commodity-language-input {
  width: 100% !important;
  height: 38px !important;
  margin-bottom: 12px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  background: #fff !important;
  color: #303133 !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.admin-language-select {
  position: relative !important;
  width: 100% !important;
  margin-bottom: 12px !important;
}

.admin-language-select-trigger {
  width: 100% !important;
  height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #303133 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}

.admin-language-select-trigger:hover,
.admin-language-select.is-open .admin-language-select-trigger {
  border-color: #1677ff !important;
}

.admin-language-select-arrow {
  color: #909399 !important;
  font-size: 14px !important;
}

.admin-language-select-menu {
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 6px) !important;
  z-index: 10060 !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  padding: 6px !important;
  background: #fff !important;
  border: 1px solid #ebeef5 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  box-sizing: border-box !important;
}

.admin-language-select.is-open .admin-language-select-menu {
  display: block !important;
}

.admin-language-select-option {
  width: 100% !important;
  height: 32px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #303133 !important;
  font-size: 14px !important;
  text-align: left !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}

.admin-language-select-option:hover,
.admin-language-select-option.is-active {
  background: #eaf4ff !important;
  color: #1677ff !important;
}

.admin-commodity-language-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 6px !important;
}

.admin-commodity-language-actions button {
  height: 34px !important;
  padding: 0 16px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

.admin-commodity-language-cancel {
  border: 1px solid #dcdfe6 !important;
  background: #fff !important;
  color: #606266 !important;
}

.admin-commodity-language-confirm {
  border: none !important;
  background: #1677ff !important;
  color: #fff !important;
}

/* 商品列表：行内编辑进入的商品编辑页样式 */
.admin-commodity-edit-page {
  min-height: calc(100vh - 64px) !important;
  padding: 24px !important;
  background: #eef3f8 !important;
  box-sizing: border-box !important;
}

.admin-commodity-edit-page .admin-product-edit-title {
  min-height: 48px !important;
  padding: 0 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.admin-commodity-edit-page .admin-product-edit-title h2 {
  margin: 0 !important;
  color: #111827 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

.admin-commodity-edit-page .admin-product-edit-close {
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  color: #1677ff !important;
  text-decoration: none !important;
}

.admin-commodity-edit-page .admin-product-edit-close svg {
  width: 26px !important;
  height: 26px !important;
}

.admin-commodity-edit-page .admin-product-edit-card {
  margin: 0 0 24px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.admin-commodity-edit-page .admin-product-edit-card-head {
  min-height: 56px !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #edf0f4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.admin-commodity-edit-page .admin-product-edit-card-head strong {
  color: #111827 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.admin-commodity-edit-page .admin-product-edit-card-head .admin-blue-btn,
.admin-commodity-edit-page .admin-commodity-language-add {
  height: 36px !important;
  padding: 0 18px !important;
  border: none !important;
  border-radius: 6px !important;
  background: #1677ff !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.admin-commodity-edit-page .admin-product-edit-form {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
  gap: 22px !important;
  padding: 28px 24px 32px !important;
}

.admin-commodity-edit-page .admin-product-edit-field > span {
  color: #303133 !important;
  font-size: 14px !important;
}

.admin-commodity-edit-page .admin-product-edit-field input,
.admin-commodity-edit-page .admin-product-edit-field select,
.admin-commodity-edit-page .admin-product-switch-wrap {
  width: 100% !important;
  height: 40px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.admin-commodity-edit-page .admin-product-edit-cover {
  grid-column: 1 / 2 !important;
  width: 88px !important;
  height: 88px !important;
  border: 1px dashed #dcdfe6 !important;
  border-radius: 6px !important;
  background-size: cover !important;
  background-position: center !important;
  box-sizing: border-box !important;
}

.admin-commodity-edit-page .admin-product-edit-cover.has-image {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.admin-commodity-edit-page .admin-product-edit-cover.has-image::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

.admin-commodity-edit-page .admin-product-edit-cover.has-image button {
  position: relative !important;
  z-index: 1 !important;
  min-width: 64px !important;
  height: 26px !important;
  padding: 0 8px !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  line-height: 24px !important;
  cursor: pointer !important;
}

.admin-commodity-edit-page .admin-product-cover-reupload {
  border: 1px solid #1677ff !important;
  background: #1677ff !important;
  color: #fff !important;
}

.admin-commodity-edit-page .admin-product-cover-reset {
  border: 1px solid #ff4d4f !important;
  background: #fff !important;
  color: #ff4d4f !important;
}

.admin-commodity-edit-page .admin-product-title-card {
  min-height: 560px !important;
}

.admin-commodity-edit-page .admin-product-title-body {
  min-height: 500px !important;
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr) !important;
  gap: 20px !important;
  padding: 24px !important;
  box-sizing: border-box !important;
}

.admin-commodity-edit-page .admin-product-language-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
}

.admin-commodity-edit-page .admin-product-language-list > div {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.admin-commodity-edit-page .admin-product-language-list button.active {
  flex: 1 !important;
  min-width: 0 !important;
  height: 32px !important;
  border: 1px solid #1677ff !important;
  border-radius: 6px !important;
  background: #1677ff !important;
  color: #fff !important;
}

.admin-commodity-edit-page .admin-product-language-list .admin-language-delete {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  border: 0 !important;
  background: transparent !important;
  color: #ff4d4f !important;
}

.admin-commodity-edit-page .admin-product-editor-wrap,
.admin-commodity-edit-page .admin-commodity-editor-wrap {
  min-width: 0 !important;
  min-height: 430px !important;
  overflow: visible !important;
}

.admin-commodity-edit-page .tox-tinymce {
  min-height: 430px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.admin-commodity-edit-page .tox .tox-edit-area__iframe {
  background: #fff !important;
}

.admin-commodity-filter-mask {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 9990 !important;
}

.admin-commodity-filter-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 380px !important;
  max-width: calc(100vw - 48px) !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: -12px 0 32px rgba(15, 23, 42, 0.22) !important;
  overflow: visible !important;
}

.admin-commodity-filter-header {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid #ebeef5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.admin-commodity-filter-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.admin-commodity-filter-close {
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  background: transparent !important;
  color: #909399 !important;
  font-size: 24px !important;
  cursor: pointer !important;
}

.admin-commodity-filter-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.admin-commodity-filter-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.admin-commodity-filter-reset {
  border: 0 !important;
  background: transparent !important;
  color: #f56c6c !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

.admin-commodity-filter-submit {
  height: 32px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #1677ff !important;
  color: #fff !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

.admin-commodity-filter-body {
  flex: 1 !important;
  min-height: 0 !important;
  padding: 18px 16px 28px !important;
  overflow-y: auto !important;
  overflow-x: visible !important;
  background: #fff !important;
}

.admin-commodity-filter-field {
  display: block !important;
  margin-bottom: 16px !important;
  position: relative !important;
}

.admin-commodity-filter-label {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  color: #303133 !important;
}

.admin-commodity-filter-input,
.admin-commodity-filter-select > button {
  width: 100% !important;
  height: 38px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #303133 !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
}

.admin-commodity-filter-input {
  padding: 0 12px !important;
  outline: none !important;
}

.admin-commodity-filter-select {
  position: relative !important;
}

.admin-commodity-filter-select > button {
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
}

.admin-commodity-filter-select > button i {
  width: 16px !important;
  height: 16px !important;
  color: #909399 !important;
}

.admin-commodity-filter-select-menu {
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 4px) !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  z-index: 10020 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
}

.admin-commodity-filter-select.is-open .admin-commodity-filter-select-menu {
  display: block !important;
}

.admin-commodity-filter-select.is-up .admin-commodity-filter-select-menu {
  top: auto !important;
  bottom: calc(100% + 4px) !important;
}

.admin-commodity-filter-option {
  padding: 9px 12px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #303133 !important;
  cursor: pointer !important;
}

.admin-commodity-filter-option:hover,
.admin-commodity-filter-option.is-selected {
  background: #eaf4ff !important;
  color: #1677ff !important;
}

.admin-commodity-filter-date-wrap {
  position: relative !important;
}

.admin-commodity-filter-date-panel {
  z-index: 10030 !important;
}

.admin-filter-date-panel {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: calc(100% + 8px) !important;
  z-index: 10040 !important;
  width: 288px !important;
  padding: 12px !important;
  background: #fff !important;
  border: 1px solid #ebeef5 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  box-sizing: border-box !important;
}

.admin-filter-date-panel.is-up {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
}

.admin-filter-date-header,
.admin-filter-date-head {
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.admin-filter-date-title {
  flex: 1 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #303133 !important;
  margin: 0 !important;
}

.admin-filter-date-nav,
.admin-filter-date-head button {
  width: 26px !important;
  height: 26px !important;
  border: 0 !important;
  background: transparent !important;
  color: #909399 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  appearance: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.admin-filter-date-nav:hover,
.admin-filter-date-head button:hover {
  background: #f5f7fa !important;
  color: #1677ff !important;
}

.admin-filter-date-week,
.admin-filter-date-grid,
.admin-filter-date-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 4px !important;
}

.admin-filter-date-week span {
  height: 28px !important;
  line-height: 28px !important;
  text-align: center !important;
  font-size: 13px !important;
  color: #606266 !important;
  padding: 0 !important;
}

.admin-filter-date-day,
.admin-filter-date-days button {
  width: 32px !important;
  height: 28px !important;
  line-height: 28px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #303133 !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  text-align: center !important;
  cursor: pointer !important;
  appearance: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

.admin-filter-date-day:hover,
.admin-filter-date-days button:hover {
  background: #eaf4ff !important;
  color: #1677ff !important;
}

.admin-filter-date-day.is-active,
.admin-filter-date-day.is-selected,
.admin-filter-date-days button.active,
.admin-filter-date-days button.is-active,
.admin-filter-date-days button.is-selected {
  background: #fff !important;
  color: #1677ff !important;
  border: 1px solid #1677ff !important;
  line-height: 26px !important;
}

.admin-filter-date-day.is-muted,
.admin-filter-date-day.muted,
.admin-filter-date-days button.muted,
.admin-filter-date-days button.is-muted {
  color: #c0c4cc !important;
  pointer-events: none !important;
}

.admin-filter-date-footer {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #ebeef5 !important;
}

.admin-filter-date-today {
  width: 100% !important;
  height: 32px !important;
  margin-top: 10px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #f1f6fd !important;
  color: #1677ff !important;
  font-size: 14px !important;
  cursor: pointer !important;
  appearance: none !important;
  box-shadow: none !important;
}

.admin-range {
  display: grid;
  gap: 16px;
}

.admin-range > div {
  position: relative;
  height: 32px;
  border-top: 4px solid #eee;
}

.admin-range i {
  position: absolute;
  top: -5px;
  left: 40%;
  right: 9%;
  height: 4px;
  background: #91caff;
}

.admin-range i::before,
.admin-range i::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid #91caff;
  border-radius: 50%;
  background: #fff;
}

.admin-range i::before {
  left: 0;
}

.admin-range i::after {
  right: 0;
}

.admin-range b {
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  color: #8a8f98;
  font-weight: 400;
}

.admin-range b:first-child {
  transform: none;
}

.admin-range p {
  margin: 0;
}

@media (max-width: 1100px) {
  .admin-app {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .admin-top-actions {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-stat-grid,
  .admin-withdraw-grid {
    grid-template-columns: 1fr;
  }

  .admin-member-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .admin-setting-grid.two,
  .admin-setting-grid.four {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .admin-vip-edit-grid.three,
  .admin-vip-edit-grid.two,
  .admin-vip-bg-grid {
    grid-template-columns: 1fr;
  }

  .admin-vip-lang-add {
    grid-template-columns: 1fr;
    height: auto;
    gap: 8px;
  }

  .admin-vip-lang-add select,
  .admin-vip-lang-add input,
  .admin-vip-lang-add button,
  .admin-vip-lang-add button:last-child {
    height: 34px;
    margin-left: 0;
    border-radius: 5px;
  }

  .admin-vip-note-dialog .local-dialog-box {
    width: min(100vw, 750px);
  }

  .admin-service-edit-dialog .local-dialog-box {
    width: 100vw;
    min-width: 0;
    border-radius: 0;
  }

  .admin-service-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-vip-note-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .admin-vip-note-add,
  .admin-vip-note-lang-list button {
    width: 100%;
  }

  .admin-vip-note-editor {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 54px;
  }

  .brand img {
    width: 166px;
  }

  .top-actions {
    right: 10px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .promo-carousel {
    height: 139px;
    min-height: 139px;
  }

  .carousel-btn {
    opacity: 1;
    width: 30px;
    height: 30px;
  }

  .hero-copy {
    right: 10vw;
  }

  .product-banner {
    height: 221px;
    border-width: 15px;
  }

  .product-carousel {
    height: auto;
    aspect-ratio: 679 / 455;
    border: 0;
  }

  .promo-work .slide-art::before {
    left: 12vw;
    width: 120px;
    height: 120px;
  }

  .promo-pay .slide-art::before {
    right: 12vw;
    width: 132px;
    height: 76px;
  }

  .logo-row {
    padding-left: 8px;
  }

  .menu-strip {
    gap: 12px;
    overflow-x: auto;
  }

  .menu-card {
    height: 78px;
  }

  .menu-card svg {
    width: 29px;
    height: 29px;
  }

  .menu-card span:last-child {
    font-size: 13px;
  }

  .more-btn {
    height: 78px;
    border-radius: 8px;
    box-shadow: none;
  }
}

/* 发送日志分类 tab */
.admin-sender-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
}

.admin-sender-tab {
  position: relative;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.admin-sender-tab.active {
  color: #1677ff;
}

.admin-sender-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #1677ff;
}

/* 发送日志筛选抽屉 */
.admin-sender-filter-mask {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: flex-end;
}

.admin-sender-filter-drawer {
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(15,23,42,.16);
  overflow-y: auto;
}

.admin-sender-filter-header {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-sender-filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}

.admin-sender-filter-close-btn {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sender-filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-sender-filter-reset {
  border: 0;
  background: transparent;
  color: #ff4d4f;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.admin-sender-filter-submit {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.admin-sender-filter-submit:hover {
  background: #0f68e8;
}

.admin-sender-filter-body {
  padding: 24px;
}

.admin-sender-filter-field {
  margin-bottom: 18px;
}

.admin-sender-filter-field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
}

.admin-sender-filter-field input,
.admin-sender-filter-field select {
  width: 100%;
  height: 36px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
}

.admin-sender-filter-field input:focus,
.admin-sender-filter-field select:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

/* 公告创建页面 */
.admin-announcement-create-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.admin-announcement-create-header {
  height: 64px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-announcement-create-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.admin-announcement-create-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-announcement-create-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.admin-announcement-create-close:hover {
  background: #f1f5f9;
  color: #111827;
}

.admin-announcement-create-save {
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.admin-announcement-create-save:hover {
  background: #0f68e8;
}

.admin-announcement-create-body {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-announcement-create-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.admin-announcement-create-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
}

.admin-announcement-create-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}

.admin-announcement-create-field label:first-child {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
}

.admin-announcement-create-field input[type="text"],
.admin-announcement-create-field input[type="number"] {
  width: 100%;
  height: 36px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
}

.admin-announcement-create-field input:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-announcement-create-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.admin-announcement-create-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.admin-announcement-create-switch-slider {
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 12px;
  position: relative;
  transition: background .2s;
}

.admin-announcement-create-switch-slider::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.admin-announcement-create-switch input:checked + .admin-announcement-create-switch-slider {
  background: #1677ff;
}

.admin-announcement-create-switch input:checked + .admin-announcement-create-switch-slider::after {
  transform: translateX(20px);
}

.admin-announcement-create-upload {
  width: 100px;
  height: 100px;
  border: 1px dashed #d8dee8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #fafbfc;
}

.admin-announcement-create-upload:hover {
  border-color: #1677ff;
}

.admin-announcement-create-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.admin-announcement-create-upload-plus {
  font-size: 28px;
  line-height: 1;
  color: #94a3b8;
}

.admin-announcement-create-upload-preview {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.admin-announcement-create-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.admin-announcement-create-add-lang {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.admin-announcement-create-add-lang:hover {
  background: #0f68e8;
}

.admin-announcement-create-lang-list {
  min-height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-announcement-create-empty {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
}

.admin-announcement-create-lang-hint {
  color: #64748b;
  font-size: 13px;
  margin: 0;
}

/* 公告预览弹窗 */
.admin-announcement-preview-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-announcement-preview-dialog {
  width: min(1050px, calc(100vw - 120px));
  min-height: 230px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 20px 60px rgba(15,23,42,.25);
  padding: 22px 24px;
  box-sizing: border-box;
}

.admin-announcement-preview-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}

.admin-announcement-preview-body {
  min-height: 110px;
  position: relative;
}

.admin-announcement-preview-content {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  line-height: 1.7;
}

.admin-announcement-preview-content img,
.admin-announcement-preview-content video,
.admin-announcement-preview-content iframe {
  max-width: 100%;
}

.admin-announcement-preview-date {
  text-align: right;
  color: #374151;
  font-size: 14px;
  margin-top: 40px;
}

.admin-announcement-preview-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.admin-announcement-preview-footer button {
  height: 36px;
  min-width: 74px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.admin-announcement-preview-footer button:hover {
  background: #0f68e8;
}

@media (max-width: 720px) {
  .admin-announcement-preview-dialog {
    width: calc(100vw - 28px);
    padding: 18px;
  }
}

/* 公告筛选抽屉 */
.admin-announcement-filter-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: flex-end;
}

.admin-announcement-filter-drawer {
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(15,23,42,.16);
  overflow-y: auto;
}

.admin-announcement-filter-header {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-announcement-filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}

.admin-announcement-filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-announcement-filter-reset {
  border: 0;
  background: transparent;
  color: #ff4d4f;
  cursor: pointer;
  font-weight: 600;
}

.admin-announcement-filter-submit {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.admin-announcement-filter-submit:hover {
  background: #0f68e8;
}

.admin-announcement-filter-body {
  padding: 24px;
}

.admin-announcement-filter-field {
  margin-bottom: 18px;
}

.admin-announcement-filter-field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
}

.admin-announcement-filter-field input,
.admin-announcement-filter-field select {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  background-color: #fff;
  color: #111827;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.admin-announcement-filter-field select {
  padding: 0 34px 0 12px;
  cursor: pointer;
}

.admin-announcement-filter-field input:hover,
.admin-announcement-filter-field select:hover {
  border-color: #9ec5ff;
}

.admin-announcement-filter-field input:focus,
.admin-announcement-filter-field select:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-announcement-filter-field input::placeholder {
  color: #a8b0bd;
}

.admin-announcement-filter-field input[type="date"] {
  padding-right: 12px;
}

.admin-announcement-filter-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .65;
}

.admin-announcement-filter-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* 公告筛选自定义下拉 */
.admin-filter-custom-select {
  position: relative;
}

.admin-filter-select-trigger {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  background: #fff;
  padding: 0 12px;
  color: #111827;
  font-size: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.admin-filter-select-trigger:hover {
  border-color: #9ec5ff;
}

.admin-filter-select-trigger:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
  outline: none;
}

.admin-filter-select-arrow {
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}

.admin-filter-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 7000;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15,23,42,.14);
  overflow: hidden;
}

.admin-filter-select-menu button {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  background: #fff;
  text-align: left;
  color: #111827;
  font-size: 14px;
  cursor: pointer;
}

.admin-filter-select-menu button:hover,
.admin-filter-select-menu button.active {
  background: #eaf4ff;
  color: #1677ff;
}

/* 订单筛选抽屉自定义下拉 is-open 模式 */
.admin-comment-filter-drawer [data-admin-trade-order-select] {
  position: relative;
}

.admin-comment-filter-drawer [data-admin-trade-order-select] .admin-filter-select-menu {
  display: none;
}

.admin-comment-filter-drawer [data-admin-trade-order-select].is-open .admin-filter-select-menu {
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 9999;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  overflow: hidden;
}

.admin-comment-filter-drawer [data-admin-trade-order-select-option] {
  height: 34px;
  line-height: 34px;
  padding: 0 12px;
  cursor: pointer;
  color: #111827;
  font-size: 14px;
}

.admin-comment-filter-drawer [data-admin-trade-order-select-option]:hover,
.admin-comment-filter-drawer [data-admin-trade-order-select-option].is-selected {
  background: #eaf4ff;
  color: #1677ff;
}

/* 公告筛选自定义日期 */
.admin-filter-date-wrap {
  position: relative;
}

.admin-filter-date-input {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  background: #fff;
  padding: 0 12px;
  color: #111827;
  font-size: 14px;
  box-sizing: border-box;
  cursor: pointer;
}

.admin-filter-date-input:hover {
  border-color: #9ec5ff;
}

.admin-filter-date-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
  outline: none;
}

.admin-filter-date-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 7000;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15,23,42,.14);
  padding: 12px;
}

.admin-filter-date-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.admin-filter-date-head button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #64748b;
}

.admin-filter-date-week,
.admin-filter-date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.admin-filter-date-week span {
  font-size: 12px;
  color: #64748b;
  padding: 6px 0;
}

.admin-filter-date-days button {
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  color: #111827;
}

.admin-filter-date-days button:hover,
.admin-filter-date-days button.active {
  background: #1677ff;
  color: #fff;
}

.admin-filter-date-days button.muted {
  color: #cbd5e1;
  pointer-events: none;
}

.admin-filter-date-today {
  width: 100%;
  margin-top: 10px;
  height: 32px;
  border: 0;
  background: #f1f5f9;
  color: #1677ff;
  border-radius: 6px;
  cursor: pointer;
}

/* 订单筛选抽屉日期面板新结构 */
.admin-comment-filter-drawer .admin-filter-date-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 7000;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15,23,42,.14);
  padding: 12px;
}

.admin-comment-filter-drawer .admin-filter-date-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.admin-comment-filter-drawer .admin-filter-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.admin-comment-filter-drawer .admin-filter-date-day {
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  color: #111827;
}

.admin-comment-filter-drawer .admin-filter-date-day:hover:not(:disabled) {
  background: #1677ff;
  color: #fff;
}

.admin-comment-filter-drawer .admin-filter-date-day.is-active {
  background: #1677ff;
  color: #fff;
}

.admin-comment-filter-drawer .admin-filter-date-day.is-muted {
  color: #cbd5e1;
  pointer-events: none;
}

.admin-comment-filter-drawer .admin-filter-date-today {
  width: 100%;
  margin-top: 10px;
  height: 32px;
  border: 0;
  background: #f1f5f9;
  color: #1677ff;
  border-radius: 6px;
  cursor: pointer;
}

.admin-announcement-filter-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 88px;
  padding: 0 14px;
  border: 1px solid #1677ff;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(22, 119, 255, 0.18);
}

.admin-announcement-filter-open-btn:hover {
  background: #0f68e8;
  border-color: #0f68e8;
}

.admin-announcement-filter-open-btn:active {
  background: #0b5fd3;
  border-color: #0b5fd3;
}

.admin-announcement-filter-open-btn:focus-visible {
  outline: 2px solid rgba(22, 119, 255, 0.28);
  outline-offset: 2px;
}

.admin-announcement-filter-open-btn svg,
.admin-announcement-filter-open-btn i {
  pointer-events: none;
}

[data-admin-announcement-filter-open] {
  pointer-events: auto;
}

/* 公告编辑页面扩展样式 */
.admin-announcement-lang-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-announcement-lang-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f0f5ff;
  border: 1px solid #d6e4ff;
  border-radius: 6px;
  font-size: 13px;
  color: #1677ff;
  font-weight: 500;
}

.admin-announcement-lang-delete {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

.admin-announcement-lang-delete:hover {
  background: #fee2e2;
  color: #ef4444;
}

.admin-announcement-editor-box {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  overflow: hidden;
}

.admin-announcement-editor-title {
  width: 100%;
  height: 44px;
  border: 0;
  border-bottom: 1px solid #eef0f4;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  box-sizing: border-box;
}

.admin-announcement-editor-title:focus {
  outline: none;
  background: #fafbfc;
}

.admin-announcement-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #eef0f4;
}

.admin-toolbar-btn {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #475569;
}

.admin-toolbar-btn:hover {
  background: #e2e8f0;
}

.admin-announcement-editor-area {
  min-height: 200px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.admin-announcement-editor-area:focus {
  outline: none;
}

.admin-announcement-edit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.admin-announcement-edit-action-btn {
  height: 32px;
  padding: 0 14px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.admin-announcement-edit-action-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.admin-announcement-edit-action-reset {
  color: #ef4444;
  border-color: #fecaca;
}

.admin-announcement-edit-action-reset:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

/* 公告编辑器工具栏样式 */
.admin-editor-toolbar-wrap {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.admin-editor-menu-row {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  gap: 2px;
}

.admin-editor-menu-item {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
}

.admin-editor-menu-item:hover {
  background: #e8f1ff;
  color: #1677ff;
}

.admin-editor-toolbar-row {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 8px;
  gap: 2px;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.admin-editor-tool-btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #334155;
  flex-shrink: 0;
}

.admin-editor-tool-btn:hover {
  background: #eef4ff;
  color: #1677ff;
}

.admin-editor-more-btn {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  color: #334155;
  font-size: 16px;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
}

.admin-editor-more-btn:hover {
  background: #eef4ff;
  color: #1677ff;
}

.admin-editor-more-menu {
  position: absolute;
  top: 84px;
  right: 12px;
  z-index: 20;
  width: 220px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-editor-more-menu[hidden] {
  display: none;
}

.admin-editor-more-item {
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  padding: 0 10px;
}

.admin-editor-more-item:hover {
  background: #e8f1ff;
  color: #1677ff;
}

/* 公告编辑器真实功能样式 */
.admin-editor-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
  border-radius: 6px;
}

.admin-editor-preview-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-editor-preview-dialog {
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-editor-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.admin-editor-preview-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-editor-preview-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.admin-editor-preview-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  flex: 1;
}

.admin-editor-preview-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.admin-editor-preview-body a {
  color: #1677ff;
  text-decoration: underline;
}

/* 公告编辑器列表和对齐样式 */
.admin-announcement-editor-area ol,
.admin-announcement-editor-area ul {
  padding-left: 24px;
  margin: 8px 0;
}

.admin-announcement-editor-area li {
  margin: 4px 0;
}

/* 分割线样式 */
.admin-editor-hr {
  border: 0;
  border-top: 1px solid #d8dee8;
  margin: 12px 0;
}

/* 全屏样式 */
.admin-editor-fullscreen {
  position: fixed;
  inset: 20px;
  z-index: 5000;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15,23,42,.25);
  overflow: auto;
}

.admin-editor-fullscreen .admin-announcement-editor-area {
  min-height: 60vh;
}

/* 源码 textarea 样式 */
.admin-editor-source-textarea {
  width: 100%;
  min-height: 260px;
  border: 1px solid #e2e8f0;
  outline: none;
  padding: 14px;
  font-family: Consolas, monospace;
  font-size: 13px;
  box-sizing: border-box;
  resize: vertical;
  border-radius: 6px;
  line-height: 1.6;
}

/* 工具弹窗通用样式 */
.admin-editor-tool-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-editor-tool-dialog {
  width: 90%;
  max-width: 480px;
  max-height: 85vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-editor-tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.admin-editor-tool-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-editor-tool-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  flex: 1;
}

/* 特殊字符网格 */
.admin-editor-special-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.admin-editor-special-char {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
  font-size: 18px;
  text-align: center;
  transition: background 0.15s;
}

.admin-editor-special-char:hover {
  background: #e2e8f0;
}

/* 字数统计样式 */
.admin-word-count-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.admin-word-count-item:last-child {
  border-bottom: none;
}

.admin-word-count-label {
  color: #64748b;
}

.admin-word-count-value {
  font-weight: 600;
  color: #1e293b;
}

/* 表格样式 */
.admin-editor-table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
}

.admin-editor-table td,
.admin-editor-table th {
  border: 1px solid #d8dee8;
  padding: 8px;
  min-width: 60px;
}

/* 视频样式 */
.admin-editor-video-card,
.admin-editor-video {
  max-width: 100%;
  margin: 10px 0;
  border-radius: 8px;
}

.admin-editor-video-card {
  padding: 14px;
  border: 1px dashed #94a3b8;
  background: #f8fafc;
  color: #334155;
}

/* 代码块样式 */
.admin-editor-code {
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
  background: #0f172a;
  color: #e5e7eb;
  font-family: Consolas, Monaco, monospace;
  white-space: pre-wrap;
}

.admin-editor-code code {
  font-family: inherit;
  color: inherit;
}

/* 书签样式 */
.admin-editor-bookmark {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: #fff7ed;
  color: #c2410c;
  text-decoration: none;
}

/* 公告列表操作列横向排列 */
.admin-announcement-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  max-width: 100%;
}

.admin-announcement-row-actions button,
.admin-announcement-row-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

/* 公告表格宽度修复 */
.admin-announcement-table {
  width: 100%;
  table-layout: fixed;
}

.admin-announcement-table th,
.admin-announcement-table td {
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-announcement-table th:nth-child(1),
.admin-announcement-table td:nth-child(1) { width: 14%; }

.admin-announcement-table th:nth-child(2),
.admin-announcement-table td:nth-child(2) { width: 15%; }

.admin-announcement-table th:nth-child(3),
.admin-announcement-table td:nth-child(3) { width: 10%; }

.admin-announcement-table th:nth-child(4),
.admin-announcement-table td:nth-child(4) { width: 12%; }

.admin-announcement-table th:nth-child(5),
.admin-announcement-table td:nth-child(5) { width: 16%; }

.admin-announcement-table th:nth-child(6),
.admin-announcement-table td:nth-child(6) { width: 16%; }

.admin-announcement-table th:nth-child(7),
.admin-announcement-table td:nth-child(7) { width: 17%; }

/* 操作列 */
.admin-announcement-action-cell {
  text-align: center;
  overflow: visible;
}

/* 标题列允许换行 */
.admin-announcement-table td:nth-child(1) {
  white-space: normal;
  line-height: 1.4;
}

/* 排序列点击按钮 */
.admin-announcement-sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  background: transparent;
  color: #1677ff;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

.admin-announcement-sort-arrow {
  font-size: 20px;
  line-height: 1;
}

/* 排序修改弹窗 */
.admin-announcement-sort-mask {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-announcement-sort-dialog {
  width: 420px;
  max-width: 90vw;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15,23,42,.22);
  padding: 24px 32px 20px;
  box-sizing: border-box;
}

.admin-announcement-sort-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-announcement-sort-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #faad14;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.admin-announcement-sort-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.admin-announcement-sort-current {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 10px 0 24px 34px;
}

.admin-announcement-sort-tip {
  color: #9ca3af;
  margin: 0 0 22px 34px;
  font-size: 14px;
}

.admin-announcement-sort-input {
  width: calc(100% - 34px);
  margin-left: 34px;
  height: 36px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  padding: 0 12px;
  box-sizing: border-box;
  outline: none;
}

.admin-announcement-sort-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-announcement-sort-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.admin-announcement-sort-footer button {
  height: 32px;
  padding: 0 18px;
  border-radius: 6px;
  cursor: pointer;
}

[data-admin-announcement-sort-cancel] {
  border: 1px solid #d8dee8;
  background: #fff;
  color: #374151;
}

[data-admin-announcement-sort-confirm] {
  border: 1px solid #1677ff;
  background: #1677ff;
  color: #fff;
}

/* 分页箭头 */
.admin-page-arrow {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
}

.admin-page-arrow:hover:not(:disabled) {
  background: #eef6ff;
  color: #1677ff;
}

.admin-page-arrow:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  background: transparent;
}

.admin-page-number {
  min-width: 32px;
  height: 32px;
  border: 1px solid #1677ff;
  border-radius: 7px;
  background: #fff;
  color: #1677ff;
  font-size: 14px;
}

/* ===== 站内信创建页 ===== */
.admin-station-create-page {
  padding: 20px;
}

.admin-station-create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-station-create-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.admin-station-create-close {
  border: 0;
  background: transparent;
  color: #1677ff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.admin-station-create-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.admin-station-create-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
}

.admin-station-form {
  padding: 16px;
}

.admin-station-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.15fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.admin-station-form-field {
  margin-bottom: 18px;
}

.admin-station-form-field label {
  display: block;
  height: 18px;
  line-height: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #334155;
}

.admin-station-search-field {
  min-width: 72px;
}

.admin-station-search-field label {
  visibility: hidden;
}

.admin-station-form-field input,
.admin-station-form-field textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
}

/* ==================== 后台按钮 Hover 亮灯效果 ==================== */

.admin-app button:not(:disabled):not(.tox-tbtn):not(.tox-mbtn),
.admin-content button:not(:disabled):not(.tox-tbtn):not(.tox-mbtn) {
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    filter 0.18s ease;
}

/* 蓝色主按钮 hover */
.admin-blue-btn:not(:disabled):hover,
.admin-add-btn:not(:disabled):hover,
.admin-save-btn:not(:disabled):hover,
.admin-confirm-btn:not(:disabled):hover {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 3px rgba(24, 119, 242, 0.16),
    0 8px 18px rgba(24, 119, 242, 0.28);
  transform: translateY(-1px);
}

/* 顶部/工具栏白色按钮 hover */
.admin-topbar button:not(:disabled):not(.tox-tbtn):not(.tox-mbtn):hover,
.admin-panel-actions button:not(:disabled):not(.tox-tbtn):not(.tox-mbtn):hover,
.admin-search-actions button:not(:disabled):not(.tox-tbtn):not(.tox-mbtn):hover {
  background: #f1f7ff;
  border-color: #9dc5ff;
  box-shadow:
    0 0 0 3px rgba(24, 119, 242, 0.1),
    0 6px 14px rgba(24, 119, 242, 0.16);
  transform: translateY(-1px);
}

/* 红色删除按钮 hover */
.admin-danger-btn:not(:disabled):hover,
.admin-text-btn.red:not(:disabled):hover,
.admin-delete-btn:not(:disabled):hover,
.admin-grid-lang-delete-btn:not(:disabled):hover,
.admin-announcement-lang-delete:not(:disabled):hover {
  filter: brightness(1.05);
  box-shadow:
    0 0 0 3px rgba(255, 77, 79, 0.14),
    0 8px 18px rgba(255, 77, 79, 0.22);
  transform: translateY(-1px);
}

/* disabled 按钮不亮灯、不上浮 */
.admin-app button:disabled,
.admin-content button:disabled {
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* 不影响 TinyMCE 工具栏 */
.tox button,
.tox .tox-tbtn,
.tox .tox-mbtn {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* ===== 菜单评价筛选抽屉 ===== */
.admin-comment-filter-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: flex-end;
}

.admin-comment-filter-drawer {
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(15,23,42,.16);
  overflow-y: auto;
}

.admin-comment-filter-header {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-comment-filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.admin-comment-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-comment-filter-reset {
  height: 32px;
  padding: 0 16px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  cursor: pointer;
}

.admin-comment-filter-submit {
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #1877f2;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.admin-comment-filter-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-comment-filter-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.admin-comment-filter-field input {
  width: 100%;
  height: 36px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  outline: 0;
  box-sizing: border-box;
}

.admin-comment-filter-field input:focus {
  border-color: #1877f2;
  box-shadow: 0 0 0 2px rgba(24,119,242,.12);
}

/* 会员筛选国家下拉可滚动 */
[data-admin-user-select-menu="country"] {
  max-height: 260px;
  overflow-y: auto;
}

/* 会员筛选日期输入框样式覆盖，确保复用已有日期样式 */
.admin-comment-filter-field .admin-filter-date-input {
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  cursor: pointer;
}

.admin-comment-filter-field .admin-filter-date-input:hover {
  border-color: #9ec5ff;
}

.admin-comment-filter-field .admin-filter-date-wrap {
  position: relative;
}

.admin-comment-more-search-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  white-space: nowrap;
}

/* 菜单评价顶部 Tab hover 亮起（仅文字变蓝） */
.admin-filter-row > button:not(.admin-blue-btn) {
  transition: color 160ms ease;
}

.admin-filter-row > button:hover:not(.active) {
  color: #1677ff;
  background: transparent;
  box-shadow: none;
}

.admin-filter-row > button.active:hover {
  color: #1677ff;
  background: transparent;
  box-shadow: none;
}

.admin-filter-row > button[data-comment-index-tab]:hover {
  color: #1677ff;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-filter-row > button[data-comment-index-tab].active:hover {
  color: #1677ff;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-comment-filter-open-btn {
  height: 32px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.admin-comment-filter-open-btn:hover {
  background: #f5f7fa;
  border-color: #b0b8c4;
}

.admin-station-form-field input {
  height: 36px;
  line-height: 36px;
}

.admin-station-form-field textarea {
  min-height: 42px;
  padding-top: 10px;
}

.admin-station-search-btn {
  width: 72px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none;
  vertical-align: top;
  font-size: 14px;
  white-space: nowrap;
}

.admin-station-confirm-btn {
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.admin-station-editor-box {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.admin-station-editor-area {
  min-height: 320px;
  padding: 14px;
  outline: none;
  font-size: 14px;
  line-height: 1.7;
  color: #1e293b;
  overflow-y: auto;
}

.admin-station-editor-area:empty::before {
  content: "请输入内容...";
  color: #94a3b8;
}

/* ===== 站内信筛选抽屉 ===== */
.admin-station-filter-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: flex-end;
}

.admin-station-filter-drawer {
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(15,23,42,.16);
  overflow-y: auto;
}

.admin-station-filter-header {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-station-filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}

.admin-station-filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-station-filter-reset {
  border: 0;
  background: transparent;
  color: #ff4d4f;
  cursor: pointer;
  font-weight: 600;
}

.admin-station-filter-submit {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.admin-station-filter-submit:hover {
  background: #0f68e8;
}

.admin-station-filter-body {
  padding: 24px;
}

.admin-station-filter-field {
  margin-bottom: 18px;
}

.admin-station-filter-field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
}

.admin-station-filter-field input {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  background-color: #fff;
  color: #111827;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.admin-station-filter-field input:hover {
  border-color: #9ec5ff;
}

.admin-station-filter-field input:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-station-filter-field input::placeholder {
  color: #a8b0bd;
}

.admin-station-filter-open-btn {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.admin-station-filter-open-btn:hover {
  background: #0f68e8;
}

/* 站内信自定义日期面板复用公告样式 */
.admin-station-filter-mask .admin-filter-date-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 14px;
  width: 280px;
}

.admin-station-filter-mask .admin-date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.admin-station-filter-mask .admin-date-header button {
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #1677ff;
  padding: 0 6px;
}

.admin-station-filter-mask .admin-date-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.admin-station-filter-mask .admin-date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.admin-station-filter-mask .admin-date-day {
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #1e293b;
}

.admin-station-filter-mask .admin-date-day:hover {
  background: #f0f5ff;
}

.admin-station-filter-mask .admin-date-day-empty {
  pointer-events: none;
}

.admin-station-filter-mask .admin-date-today {
  background: #e6f0ff;
  color: #1677ff;
  font-weight: 600;
}

.admin-station-filter-mask .admin-date-selected {
  background: #1677ff;
  color: #fff;
}

.admin-station-filter-mask .admin-date-shortcuts {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef0f4;
}

.admin-station-filter-mask .admin-date-shortcuts button {
  border: 0;
  background: transparent;
  color: #1677ff;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 12px;
}

/* ===== 系统通知创建页 ===== */
.admin-system-create-page {
  padding: 20px;
}

.admin-system-create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-system-create-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.admin-system-create-close {
  border: 0;
  background: transparent;
  color: #1677ff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.admin-system-create-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.admin-system-create-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
}

.admin-system-form {
  padding: 16px;
}

.admin-system-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.admin-system-form-field {
  margin-bottom: 18px;
}

.admin-system-form-field label {
  display: block;
  height: 18px;
  line-height: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #334155;
}

.admin-system-search-field {
  min-width: 72px;
}

.admin-system-search-field label {
  visibility: hidden;
}

.admin-system-form-field input,
.admin-system-form-field textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
}

.admin-system-form-field input {
  height: 36px;
  line-height: 36px;
}

.admin-system-form-field textarea {
  min-height: 42px;
  padding-top: 10px;
}

.admin-system-search-btn {
  width: 72px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none;
  vertical-align: top;
  font-size: 14px;
  white-space: nowrap;
}

.admin-system-confirm-btn {
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.admin-system-cover-upload {
  border: 2px dashed #d8dee8;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .2s;
}

.admin-system-cover-upload:hover {
  border-color: #1677ff;
  color: #1677ff;
}

.admin-system-editor-box {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.admin-system-editor-area {
  min-height: 320px;
  padding: 14px;
  outline: none;
  font-size: 14px;
  line-height: 1.7;
  color: #1e293b;
  overflow-y: auto;
}

.admin-system-editor-area:empty::before {
  content: "请输入内容...";
  color: #94a3b8;
}

/* ===== 轮播图管理弹窗 ===== */
.admin-carousel-manager-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}

.admin-carousel-manager-panel {
  background: #fff;
  border-radius: 0;
  margin: 0 0 0 205px;
  width: calc(100vw - 205px);
  min-height: 100vh;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
}

.admin-carousel-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #e5e7eb;
}

.admin-carousel-manager-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-carousel-manager-close {
  border: 0;
  background: transparent;
  color: #8a8f99;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.admin-carousel-manager-close:hover {
  color: #111827;
}

.admin-carousel-manager-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.admin-carousel-save-btn {
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.admin-carousel-manager-body {
  display: flex;
  gap: 16px;
  padding: 24px;
}

.admin-carousel-basic-card {
  width: 525px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.admin-carousel-basic-card h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.admin-carousel-upload-card {
  width: 525px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.admin-carousel-upload-card h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.admin-carousel-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-carousel-form-row.full {
  flex-direction: column;
}

.admin-carousel-form-row.two {
  flex-direction: row;
}

.admin-carousel-form-row.two > .admin-carousel-form-field {
  width: 220px;
  flex-shrink: 0;
}

.admin-carousel-form-row.half {
  flex-direction: column;
}

.admin-carousel-form-row.half > .admin-carousel-form-field {
  width: 220px;
}

.admin-carousel-form-field {
  margin-bottom: 0;
}

.admin-carousel-form-field label {
  display: block;
  height: 18px;
  line-height: 18px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #334155;
}

.admin-carousel-form-field input {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
  outline: none;
}

.admin-carousel-form-field input:focus {
  border-color: #1677ff;
}

.admin-carousel-select-wrap {
  position: relative;
}

.admin-carousel-select-trigger {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  background: #fff;
  border-radius: 7px;
  padding: 0 32px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  box-sizing: border-box;
}

.admin-carousel-select-trigger:hover {
  border-color: #1677ff;
}

.admin-carousel-select-text {
  flex: 1;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-carousel-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
}

.admin-carousel-select-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 99999;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
  padding: 6px;
}

.admin-carousel-select-wrap.is-open .admin-carousel-select-menu {
  display: block;
}

.admin-carousel-select-menu button {
  width: 100%;
  height: 34px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
}

.admin-carousel-select-menu button:hover {
  background: #eaf4ff;
}

.admin-carousel-select-option.is-active {
  background: #eaf4ff;
  color: #1677ff;
}

.admin-carousel-select {
  position: relative;
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 32px 0 12px;
  box-sizing: border-box;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: #fff;
  user-select: none;
}

.admin-carousel-select:hover {
  border-color: #1677ff;
}

.admin-carousel-select-display {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-carousel-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
}

.admin-carousel-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  z-index: 10001;
  max-height: 240px;
  overflow-y: auto;
}

.admin-carousel-select-option {
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}

.admin-carousel-select-option:hover {
  background: #f0f7ff;
}

/* ===== 轮播图筛选抽屉 ===== */
.admin-carousel-filter-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: flex-end;
}

.admin-carousel-filter-drawer {
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(15,23,42,.16);
  overflow-y: auto;
}

.admin-carousel-filter-header {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-carousel-filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}

.admin-carousel-filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-carousel-filter-reset {
  border: 0;
  background: transparent;
  color: #ff4d4f;
  cursor: pointer;
  font-weight: 600;
}

.admin-carousel-filter-submit {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.admin-carousel-filter-submit:hover {
  background: #0f68e8;
}

.admin-carousel-filter-body {
  padding: 24px;
}

.admin-carousel-filter-field {
  margin-bottom: 18px;
}

.admin-carousel-filter-field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
}

.admin-carousel-filter-open-btn {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.admin-carousel-filter-open-btn:hover {
  background: #0f68e8;
}

.admin-carousel-upload-top {
  display: grid;
  grid-template-columns: 108px minmax(150px, 1fr) 168px;
  align-items: end;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.admin-carousel-upload-field {
  min-width: 0;
}

.admin-carousel-upload-field label {
  display: block;
  height: 18px;
  line-height: 18px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #1f2937;
}

.admin-carousel-upload-lang .admin-carousel-select-wrap {
  width: 100%;
}

.admin-carousel-upload-lang-code input,
.admin-carousel-lang-code-input {
  width: 100%;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
  background: #fff;
}

.admin-carousel-upload-lang-code input:focus,
.admin-carousel-lang-code-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.admin-carousel-upload-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 36px;
}

.admin-carousel-upload-btn,
.admin-carousel-ref-btn {
  height: 36px;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.admin-carousel-upload-btn {
  min-width: 88px;
  padding: 0 16px;
  background: #1677ff;
  color: #fff;
  border: 1px solid #1677ff;
  font-weight: 600;
}

.admin-carousel-ref-btn {
  min-width: 64px;
  padding: 0 14px;
  background: #fff;
  color: #374151;
  border: 1px solid #d8e0ec;
}

.admin-carousel-upload-toolbar {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) 88px 64px;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}

.admin-carousel-upload-toolbar label {
  display: block;
  height: 18px;
  line-height: 18px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #334155;
}

.admin-carousel-upload-toolbar button {
  height: 34px;
}

.admin-carousel-upload-btn {
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.admin-carousel-ref-btn {
  padding: 0 18px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 14px;
}

.admin-carousel-upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #8a94a6;
  border: 0;
  background: #fff;
  min-height: 180px;
}

.admin-carousel-upload-empty img {
  max-width: 100%;
  border-radius: 8px;
}

.admin-carousel-preview-img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
}

.admin-carousel-upload-empty-icon {
  color: #d8dee9;
  font-size: 48px;
  margin-bottom: 10px;
}

.admin-carousel-upload-empty p {
  margin: 0;
  font-size: 14px;
}

.admin-carousel-upload-preview {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.admin-carousel-upload-preview img {
  width: 100%;
  border-radius: 8px;
}

/* ===== 宫格管理弹窗 ===== */
.admin-grid-manager-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}

.admin-grid-manager-panel {
  background: #fff;
  border-radius: 0;
  margin: 0 0 0 205px;
  width: calc(100vw - 205px);
  min-height: 100vh;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
}

.admin-grid-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #e5e7eb;
}

.admin-grid-manager-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-grid-manager-close {
  border: 0;
  background: transparent;
  color: #8a8f99;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.admin-grid-manager-close:hover {
  color: #111827;
}

.admin-grid-manager-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.admin-grid-save-btn {
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.admin-grid-manager-body {
  display: flex;
  gap: 16px;
  padding: 24px;
}

.admin-grid-basic-card {
  width: 525px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.admin-grid-basic-card h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.admin-grid-lang-card {
  width: 525px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.admin-grid-lang-card h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.admin-grid-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-grid-form-row.full {
  flex-direction: column;
}

.admin-grid-form-row.two {
  flex-direction: row;
}

.admin-grid-form-row.two > .admin-grid-form-field {
  width: 220px;
  flex-shrink: 0;
}

.admin-grid-form-field {
  margin-bottom: 0;
}

.admin-grid-form-field label {
  display: block;
  height: 18px;
  line-height: 18px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #334155;
}

.admin-grid-form-field input {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
  outline: none;
}

.admin-grid-form-field input:focus {
  border-color: #1677ff;
}

.admin-grid-select-wrap {
  position: relative;
}

.admin-grid-select-trigger {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  background: #fff;
  border-radius: 7px;
  padding: 0 32px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  box-sizing: border-box;
}

.admin-grid-select-trigger:hover {
  border-color: #1677ff;
}

.admin-grid-select-text {
  flex: 1;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-grid-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
}

.admin-grid-select-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 99999;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
  padding: 6px;
}

.admin-grid-select-wrap.is-open .admin-grid-select-menu {
  display: block;
}

.admin-grid-select-menu button {
  width: 100%;
  height: 34px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
}

.admin-grid-select-menu button:hover {
  background: #eaf4ff;
}

.admin-grid-select-option.is-active {
  background: #eaf4ff;
  color: #1677ff;
}

.admin-grid-lang-top {
  display: grid;
  grid-template-columns: 108px minmax(150px, 1fr) 168px;
  align-items: end;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.admin-grid-lang-field {
  min-width: 0;
}

.admin-grid-lang-field label {
  display: block;
  height: 18px;
  line-height: 18px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #1f2937;
}

.admin-grid-lang-field .admin-grid-select-wrap {
  width: 100%;
}

.admin-grid-lang-code-input {
  width: 100%;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
  background: #fff;
}

.admin-grid-lang-code-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.admin-grid-lang-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 36px;
}

.admin-grid-add-lang-btn,
.admin-grid-ref-btn {
  height: 36px;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.admin-grid-add-lang-btn {
  min-width: 88px;
  padding: 0 16px;
  background: #1677ff;
  color: #fff;
  border: 1px solid #1677ff;
  font-weight: 600;
}

.admin-grid-ref-btn {
  min-width: 64px;
  padding: 0 14px;
  background: #fff;
  color: #374151;
  border: 1px solid #d8e0ec;
}

.admin-grid-lang-list {
  min-height: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-grid-lang-empty {
  color: #8a94a6;
  font-size: 14px;
  margin: 0;
}

.admin-grid-lang-tag {
  display: inline-block;
  padding: 4px 12px;
  margin: 4px 4px 0 0;
  background: #f0f7ff;
  border: 1px solid #d0e3ff;
  border-radius: 6px;
  font-size: 13px;
  color: #1677ff;
}

.admin-grid-lang-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
}

.admin-grid-lang-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-grid-lang-item-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.admin-grid-lang-delete-btn {
  background: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 12px;
  cursor: pointer;
  line-height: 1.6;
}

.admin-grid-lang-delete-btn:hover {
  background: #ff7875;
}

.admin-grid-lang-textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px 10px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 13px;
  color: #1f2937;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
}

.admin-grid-lang-textarea:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
}

.admin-grid-lang-textarea::placeholder {
  color: #9ca3af;
}

/* ===== 宫格筛选抽屉 ===== */
.admin-grid-filter-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: flex-end;
}

.admin-grid-filter-drawer {
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(15,23,42,.16);
  overflow-y: auto;
}

.admin-grid-filter-header {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-grid-filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}

.admin-grid-filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-grid-filter-reset {
  border: 0;
  background: transparent;
  color: #ff4d4f;
  cursor: pointer;
  font-weight: 600;
}

.admin-grid-filter-submit {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.admin-grid-filter-submit:hover {
  background: #0f68e8;
}

.admin-grid-filter-body {
  padding: 24px;
}

.admin-grid-filter-field {
  margin-bottom: 18px;
}

.admin-grid-filter-field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
}

/* ===== 文章管理添加语言弹窗 ===== */
.admin-article-lang-mask {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-article-lang-dialog {
  width: 420px;
  max-width: 90vw;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15,23,42,.2);
  overflow: hidden;
}

.admin-article-lang-dialog-header {
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-article-lang-dialog-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.admin-article-lang-dialog-body {
  padding: 20px;
}

.admin-article-lang-hint {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.admin-article-lang-hint p {
  margin: 0;
  font-size: 13px;
  color: #ad8b00;
}

.admin-article-lang-field {
  margin-bottom: 14px;
}

.admin-article-lang-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #334155;
}

.admin-article-lang-field select,
.admin-article-lang-field input {
  width: 100%;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.admin-article-lang-field select:focus,
.admin-article-lang-field input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-article-lang-dialog-footer {
  height: 56px;
  padding: 0 20px;
  border-top: 1px solid #eef0f4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.admin-article-lang-dialog-footer button {
  height: 36px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #d8dee8;
  background: #fff;
  color: #334155;
}

.admin-article-lang-dialog-footer button:last-child {
  background: #1677ff;
  color: #fff;
  border-color: #1677ff;
}

.admin-article-lang-dialog-footer button:last-child:hover {
  background: #0f68e8;
}

/* ===== 快捷语管理弹窗（右侧大管理面板） ===== */
.admin-quick-manager-mask {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.42);
}

.admin-quick-manager-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 205px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  border-radius: 0;
}

.admin-quick-manager-header {
  height: 64px;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #edf0f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-quick-manager-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.admin-quick-close-btn {
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: color .15s, background .15s;
}

.admin-quick-close-btn:hover {
  color: #111827;
  background: #f3f4f6;
}

.admin-quick-manager-body {
  flex: 1;
  padding: 28px 24px;
  overflow: auto;
}

.admin-quick-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-quick-field {
  margin-bottom: 0;
}

.admin-quick-field > label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.admin-quick-lang-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.admin-quick-lang-row .admin-quick-lang-input {
  flex: 1;
  min-width: 0;
}

.admin-quick-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.admin-quick-switch input {
  display: none;
}

.admin-quick-switch em {
  display: inline-block;
  width: 40px;
  height: 22px;
  background: #d1d5db;
  border-radius: 11px;
  position: relative;
  transition: background .2s;
}

.admin-quick-switch em::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.admin-quick-switch input:checked + em {
  background: #1677ff;
}

.admin-quick-switch input:checked + em::after {
  transform: translateX(18px);
}

/* ===== VIP等级表格专用样式 ===== */
.admin-vip-head-blue {
  color: #1677ff;
  font-weight: 600;
}

.admin-vip-head-red {
  color: #ff3b30;
  font-weight: 600;
}

.admin-vip-table-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

body.admin-route .admin-vip-logo-head {
  width: 72px;
  min-width: 72px;
}

body.admin-route .admin-vip-logo-cell {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

body.admin-route .admin-vip-logo-cell .admin-vip-table-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center center;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

body.admin-route .admin-vip-logo-placeholder {
  width: 52px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px dashed rgba(148, 163, 184, 0.52);
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.admin-vip-value-blue {
  color: #1677ff;
  font-weight: 500;
}

/* ===== 前台认证页面 V1/V2 通用样式 ===== */
.front-cert-page {
  min-height: 100vh;
  width: min(100%, 640px);
  margin: 0 auto;
  box-sizing: border-box;
  background: #f5f6f8;
  padding: 0 16px 80px;
  color: #1a1a1a;
}

.front-cert-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  margin-top: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.front-cert-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.front-cert-field span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.front-cert-field input,
.front-cert-field select {
  width: 100%;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafafa;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.front-cert-field input:focus,
.front-cert-field select:focus {
  border-color: #1677ff;
  background: #fff;
}

.front-cert-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.front-cert-upload-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s;
}

.front-cert-upload-tile:hover {
  border-color: #1677ff;
  background: #f0f7ff;
}

.front-cert-upload-tile span {
  font-size: 13px;
  color: #333;
  text-align: center;
}

.front-cert-upload-tile small {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.front-cert-upload-grid .front-realname-upload {
  position: relative;
  min-height: 132px;
  padding: 10px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.front-cert-upload-grid .front-realname-upload:hover,
.front-cert-upload-grid .front-realname-upload:focus-within {
  border-color: #1677ff;
  background: #f0f7ff;
  box-shadow: 0 6px 18px rgba(22, 119, 255, 0.1);
}

.front-cert-upload-grid .front-realname-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.front-cert-upload-grid .front-realname-upload img {
  width: 100%;
  max-width: 100%;
  height: 72px;
  object-fit: contain;
  display: block;
}

.front-cert-upload-grid .front-realname-upload .front-identity-upload-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: #2563eb;
  font-size: 24px;
  font-weight: 500;
}

.front-cert-upload-grid .front-realname-upload .front-identity-upload-title {
  max-width: 100%;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  word-break: break-word;
}

.front-cert-upload-grid .front-realname-upload small {
  max-width: 100%;
  color: #8a95a3;
  font-size: 11px;
  text-align: center;
  word-break: break-word;
}

.front-cert-upload-grid .front-realname-upload.has-image {
  border-style: solid;
  background: #fff;
}

.front-cert-tips {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.front-cert-submit {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 640px);
  height: 50px;
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 -2px 8px rgba(22, 119, 255, 0.15);
}

.front-cert-submit:active {
  opacity: 0.9;
}

.front-cert-status {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.front-cert-status span {
  font-size: 12px;
  color: #999;
}

.front-cert-status strong {
  font-size: 16px;
  color: #1a1a1a;
}

.front-cert-status small {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

/* ===== 认证页专用容器（替代 stackPage 的 setting-page） ===== */
.front-auth-shell {
  min-height: calc(100vh - 58px);
  width: min(100%, 640px);
  margin: 0 auto;
  box-sizing: border-box;
  background: #f5f6f8;
  padding: 0 16px 80px;
  color: #1a1a1a;
}

/* ===== 前台认证选择页 ===== */
.front-cert-entry-item .front-cert-entry-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.front-cert-entry-item .front-cert-entry-text small {
  font-size: 12px;
  color: #999;
}

/* ===== 前台认证 V2 入口页 ===== */
.front-cert-entry-list {
  background: #fff;
  border-radius: 12px;
  margin-top: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.front-cert-entry-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.15s;
}

.front-cert-entry-item:last-child {
  border-bottom: none;
}

.front-cert-entry-item:active {
  background: #f5f7fa;
}

.front-cert-entry-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e6f4ff, #bae0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1677ff;
  flex-shrink: 0;
}

.front-cert-entry-label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
}

.front-cert-entry-arrow {
  color: #bfbfbf;
  flex-shrink: 0;
}

.admin-identity-thumbs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 96px;
}

.admin-identity-thumb {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  object-fit: cover;
  display: block;
}

.admin-identity-thumbs span {
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}

.admin-identity-actions {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.admin-identity-actions .admin-text-btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.admin-identity-detail-mask {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
  box-sizing: border-box;
}

.admin-identity-detail-dialog,
.admin-identity-reject-dialog {
  width: min(760px, 100%);
  max-height: min(720px, 92vh);
  overflow: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.admin-identity-reject-dialog {
  width: min(460px, 100%);
  padding-bottom: 16px;
}

.admin-identity-detail-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
}

.admin-identity-detail-header strong {
  color: #111827;
  font-size: 16px;
}

.admin-identity-detail-header button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  color: #111827;
  cursor: pointer;
}

.admin-identity-detail-body {
  padding: 18px;
}

.admin-identity-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-identity-detail-grid p {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-identity-detail-grid p.wide {
  grid-column: 1 / -1;
}

.admin-identity-detail-grid span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
}

.admin-identity-detail-grid strong {
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  word-break: break-word;
}

.admin-identity-detail-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-identity-detail-images figure {
  margin: 0;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.admin-identity-detail-images img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  display: block;
  background: #fff;
}

.admin-identity-detail-images figcaption {
  padding: 9px 10px;
  color: #475569;
  font-size: 12px;
}

.admin-identity-detail-empty {
  padding: 18px;
  border-radius: 10px;
  color: #64748b;
  background: #f8fafc;
  text-align: center;
}

.admin-identity-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid #eef2f7;
}

.admin-identity-reject-field {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.admin-identity-reject-field span {
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

.admin-identity-reject-field textarea {
  min-height: 110px;
  resize: vertical;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: #111827;
  outline: none;
}

.admin-identity-reject-field textarea:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.admin-table th[rowspan],
.admin-table th[colspan] {
  background: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
}

.admin-table thead tr:last-child th {
  border-bottom: 2px solid #e5e7eb;
}

.admin-table td {
  vertical-align: middle;
}

/* 快捷语语言下拉：只控制宽度，视觉完全复用宫格下拉原有样式 */
.admin-quick-lang-select-host {
  width: 180px;
  flex: 0 0 180px;
}

.admin-quick-lang-select-host .admin-grid-select-option:hover,
.admin-quick-lang-select-host .admin-grid-select-option.is-active {
  background: #eaf5ff;
  color: #111827;
  font-weight: 600;
}

.admin-quick-lang-input {
  height: 36px;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.admin-quick-lang-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-quick-add-btn {
  flex-shrink: 0;
}

.admin-quick-ref-btn {
  height: 36px;
  padding: 0 16px;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.admin-quick-ref-btn:hover {
  border-color: #1677ff;
  color: #1677ff;
}

.admin-quick-empty {
  margin-top: 44px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.admin-quick-lang-editor {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin-top: 14px;
}

.admin-quick-lang-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-quick-lang-tag {
  font-size: 13px;
  font-weight: 600;
  color: #1677ff;
}

.admin-quick-lang-del {
  border: 0;
  background: transparent;
  color: #ef4444;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
}

.admin-quick-lang-del:hover {
  background: #fef2f2;
}

.admin-quick-lang-textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
  font-family: inherit;
}

.admin-quick-lang-textarea:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-quick-lang-badge {
  display: inline-block;
  padding: 2px 6px;
  margin-right: 4px;
  background: #eef6ff;
  border: 1px solid #d0e3ff;
  border-radius: 4px;
  font-size: 11px;
  color: #1677ff;
  vertical-align: middle;
}

/* ===== ��Ա�������� ===== */
.admin-user-create-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9000;
  display: flex;
  justify-content: flex-end;
}

.admin-user-create-drawer {
  width: 480px;
  max-width: 92vw;
  background: #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
  max-height: 100vh;
}

.admin-user-create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.admin-user-create-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.admin-user-create-save {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.admin-user-create-save:hover {
  background: #0958d9;
}

.admin-user-create-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.admin-user-create-section {
  margin-bottom: 20px;
}

.admin-user-create-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
}

.admin-user-create-field {
  margin-bottom: 12px;
}

.admin-user-create-field label {
  display: block;
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

.admin-user-create-required {
  color: #ef4444;
  margin-right: 2px;
}

.admin-user-create-field input,
.admin-user-create-field textarea {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.admin-user-create-field textarea {
  height: auto;
  min-height: 72px;
  padding: 10px 12px;
  resize: vertical;
}

.admin-user-create-field input:focus,
.admin-user-create-field textarea:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-user-create-field input::placeholder,
.admin-user-create-field textarea::placeholder {
  color: #a8b0bd;
}

.admin-user-create-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.admin-user-create-field-full {
  grid-column: 1 / -1;
}

.admin-user-create-phone-wrap {
  display: flex;
  gap: 8px;
}

.admin-user-edit-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  z-index: 9100;
  display: flex;
  justify-content: flex-end;
}

.admin-user-edit-drawer {
  width: 660px;
  max-width: 94vw;
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
}

.admin-user-edit-header {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  background: #fff;
  border-bottom: 1px solid #edf0f5;
}

.admin-user-edit-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
}

.admin-user-edit-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-edit-title button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.admin-user-edit-save {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.admin-user-edit-save:hover {
  background: #0958d9;
}

.admin-user-edit-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px 32px;
  background: #fff;
}

.admin-user-edit-section {
  margin-bottom: 22px;
}

.admin-user-edit-section-title {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f2f5;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.admin-user-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.admin-user-edit-field,
.admin-user-edit-switch {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 13px;
}

.admin-user-edit-field-full {
  grid-column: 1 / -1;
}

.admin-user-edit-field b {
  margin-right: 3px;
  color: #f5222d;
}

.admin-user-edit-field input,
.admin-user-edit-field select,
.admin-user-edit-phone input,
.admin-user-edit-phone select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  box-sizing: border-box;
}

.admin-user-edit-field input:focus,
.admin-user-edit-field select:focus,
.admin-user-edit-phone input:focus,
.admin-user-edit-phone select:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.admin-user-edit-field input::placeholder,
.admin-user-edit-phone input::placeholder {
  color: #a8b0bd;
}

.admin-user-edit-phone {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
}

.admin-user-edit-switch {
  min-height: 40px;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  background: #fff;
}

.admin-user-edit-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-user-edit-switch em {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #c0c4cc;
  transition: background 0.18s ease;
}

.admin-user-edit-switch em::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}

.admin-user-edit-switch input:checked + em {
  background: #1677ff;
}

.admin-user-edit-switch input:checked + em::after {
  transform: translateX(20px);
}

.admin-user-create-phone-wrap .admin-filter-custom-select {
  width: 130px;
  flex: 0 0 130px;
}

.admin-user-create-phone-wrap input {
  flex: 1;
}

.admin-user-create-phone-code-select {
  width: 150px;
  flex: 0 0 150px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.admin-user-create-phone-code-select:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-user-create-phone-menu {
  max-height: 220px;
  overflow-y: auto;
}

.admin-user-create-switches {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.admin-user-create-switch-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}

.admin-user-create-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.admin-user-create-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.admin-user-create-switch em {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
}

.admin-user-create-switch em::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.admin-user-create-switch input:checked + em {
  background: #1677ff;
}

.admin-user-create-switch input:checked + em::after {
  transform: translateX(16px);
}

/* ��Ա���������ֻ�����������ʽ trigger */
.admin-user-create-phone-code-input {
  height: 38px;
  padding: 0 10px 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  cursor: text;
  box-sizing: border-box;
  width: 130px;
}

.admin-user-create-phone-code-input:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-user-create-phone-code-input::placeholder {
  color: #a8b0bd;
  font-size: 12px;
}

.admin-online-filter-uid-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.admin-online-filter-uid-row input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.admin-online-filter-search-btn {
  width: 68px;
  height: 36px;
  padding: 0;
  border-radius: 7px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.admin-comment-filter-field .admin-filter-custom-select {
  position: relative;
}

.admin-online-empty-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  min-height: 96px;
  padding: 0;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.admin-online-select-empty {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 13px;
}

.admin-auth-create-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.admin-auth-create-row input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 7px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
  outline: none;
}

.admin-auth-create-row input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22,119,255,.12);
}

.admin-auth-create-row input::placeholder {
  color: #a8b0bd;
}

.admin-auth-create-search-btn {
  width: 88px;
  height: 38px;
  padding: 0;
  border-radius: 7px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.admin-auth-create-next-btn {
  width: 100%;
  height: 42px;
  margin-top: 16px;
}

/* 订单筛选下拉/日期面板显隐兜底 */
[data-admin-trade-order-select] {
  position: relative;
}

[data-admin-trade-order-select] .admin-filter-select-menu {
  display: none;
  pointer-events: auto;
  z-index: 10000;
}

[data-admin-trade-order-select].is-open .admin-filter-select-menu {
  display: block !important;
}

[data-admin-trade-order-date-panel] {
  display: block !important;
  pointer-events: auto;
  z-index: 10000;
}

/* withdrawal table: custom sticky with explicit classes */
.admin-withdrawal-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  position: relative !important;
}

.admin-withdrawal-table {
  width: max-content !important;
  min-width: 1920px !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.admin-withdrawal-table th,
.admin-withdrawal-table td {
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  background: #fff !important;
}

.admin-withdrawal-table thead th {
  background: #fafafa !important;
}

/* sticky right 3 columns: 状态 / 提款方式 / 操作 */
.admin-withdrawal-sticky-action {
  position: sticky !important;
  right: 0 !important;
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  z-index: 60 !important;
  background: #fff !important;
  text-align: center !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  box-shadow: inset 1px 0 0 #e5e7eb, inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb !important;
}

.admin-withdrawal-sticky-method {
  position: sticky !important;
  right: 140px !important;
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  z-index: 61 !important;
  background: #fff !important;
  text-align: center !important;
  overflow: visible !important;
  text-overflow: clip !important;
  box-shadow: inset 1px 0 0 #e5e7eb, inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb !important;
}

.admin-withdrawal-sticky-status {
  position: sticky !important;
  right: 260px !important;
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  z-index: 62 !important;
  background: #fff !important;
  text-align: center !important;
  overflow: visible !important;
  text-overflow: clip !important;
  box-shadow: -10px 0 14px rgba(15, 23, 42, 0.08), inset 1px 0 0 #e5e7eb, inset -1px 0 0 #e5e7eb, inset 0 -1px 0 #e5e7eb !important;
}

th.admin-withdrawal-sticky-action,
th.admin-withdrawal-sticky-method,
th.admin-withdrawal-sticky-status {
  z-index: 80 !important;
  background: #fafafa !important;
}

.admin-withdrawal-sticky-action .admin-text-btn {
  display: inline-block !important;
  margin: 0 6px !important;
  white-space: nowrap !important;
}

/* withdrawal filter drawer: custom select dropdown default hide */
.admin-withdrawal-filter-drawer [data-admin-withdrawal-select] {
  position: relative;
}

.admin-withdrawal-filter-drawer .admin-filter-select-menu {
  display: none !important;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  bottom: auto;
  z-index: 10020;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  pointer-events: auto;
}

.admin-withdrawal-filter-drawer [data-admin-withdrawal-select].is-open .admin-filter-select-menu {
  display: block !important;
}

.admin-withdrawal-filter-drawer [data-admin-withdrawal-select].is-drop-up .admin-filter-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.admin-withdrawal-filter-drawer .admin-filter-select-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #111827;
  cursor: pointer;
  background: #fff;
}

.admin-withdrawal-filter-drawer .admin-filter-select-option:hover,
.admin-withdrawal-filter-drawer .admin-filter-select-option.is-selected {
  background: #eaf4ff;
  color: #1677ff;
}

/* award table overflow fix */
.admin-award-scope {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.admin-award-scope .admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.admin-award-scope .admin-table {
  table-layout: fixed;
  width: 100%;
  min-width: 990px;
}

.admin-award-scope .admin-table th,
.admin-award-scope .admin-table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.admin-award-scope .admin-table th:nth-child(1),
.admin-award-scope .admin-table td:nth-child(1) { width: 150px; }

.admin-award-scope .admin-table th:nth-child(2),
.admin-award-scope .admin-table td:nth-child(2) { width: 170px; }

.admin-award-scope .admin-table th:nth-child(3),
.admin-award-scope .admin-table td:nth-child(3) { width: 110px; }

.admin-award-scope .admin-table th:nth-child(4),
.admin-award-scope .admin-table td:nth-child(4) { width: 90px; }

.admin-award-scope .admin-table th:nth-child(5),
.admin-award-scope .admin-table td:nth-child(5) { width: 90px; }

.admin-award-scope .admin-table th:nth-child(6),
.admin-award-scope .admin-table td:nth-child(6) { width: 120px; }

.admin-award-scope .admin-table th:nth-child(7),
.admin-award-scope .admin-table td:nth-child(7) { width: 150px; }

.admin-award-scope .admin-table th:nth-child(8),
.admin-award-scope .admin-table td:nth-child(8) {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  width: 110px;
}

.admin-award-scope .admin-table td:nth-child(8) .admin-text-btn {
  margin: 0 4px;
  white-space: nowrap;
}

.admin-award-scope .admin-table-summary {
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.admin-award-scope .admin-award-footer-stats {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 6px 12px 0;
  box-sizing: border-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
}

.admin-award-scope .admin-award-footer-stats > div {
  max-width: 100%;
  text-align: right;
  white-space: normal;
  word-break: break-word;
}

.admin-award-scope .admin-table-footer,
.admin-award-scope .admin-table-pagination,
.admin-award-scope .admin-panel-footer {
  max-width: 100%;
  box-sizing: border-box;
}

/* award create drawer */
.admin-award-create-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 9000;
  display: flex;
  justify-content: flex-end;
}

.admin-award-create-drawer {
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-award-create-header {
  height: 64px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.admin-award-create-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.admin-award-create-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.admin-award-create-hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}

.admin-award-create-assets {
  margin: 0 0 16px;
  padding: 0;
}

.admin-award-create-asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  gap: 16px;
  font-size: 14px;
  color: #374151;
}

.admin-award-create-asset-row.is-muted {
  color: #6b7280;
}

.admin-award-create-asset-row strong {
  min-width: 96px;
  text-align: right;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}

.admin-award-create-field {
  margin-bottom: 16px;
}

.admin-award-create-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.admin-award-create-uid-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-award-create-input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.admin-award-create-input:focus {
  border-color: #1677ff;
}

.admin-award-create-radio-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.admin-award-create-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.admin-award-create-textarea {
  width: 100%;
  height: 90px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
}

.admin-award-create-textarea:focus {
  border-color: #1677ff;
}

/* 后台充值记录筛选卡片：下拉默认隐藏，点击后显示 */
.admin-award-filter-drawer .admin-filter-select-menu {
  display: none !important;
  max-height: 220px;
  overflow-y: auto;
  z-index: 10020;
}

.admin-award-filter-drawer [data-admin-award-select].is-open .admin-filter-select-menu {
  display: block !important;
}

.admin-award-filter-drawer [data-admin-award-select].is-drop-up .admin-filter-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.admin-crypto-order-filter-drawer [data-admin-crypto-order-select] {
  position: relative;
}

.admin-crypto-order-filter-drawer .admin-filter-select-menu {
  display: none !important;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  bottom: auto;
  max-height: 220px;
  overflow-y: auto;
  z-index: 10020;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.admin-crypto-order-filter-drawer [data-admin-crypto-order-select].is-open .admin-filter-select-menu {
  display: block !important;
}

.admin-crypto-order-filter-drawer [data-admin-crypto-order-select].is-drop-up .admin-filter-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.admin-crypto-order-filter-drawer .admin-filter-select-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #111827;
  cursor: pointer;
  background: #fff;
  box-sizing: border-box;
}

.admin-crypto-order-filter-drawer .admin-filter-select-option:hover,
.admin-crypto-order-filter-drawer .admin-filter-select-option.is-selected {
  background: #eaf4ff;
  color: #1677ff;
}

.admin-crypto-charge-scope .admin-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
}

.admin-crypto-charge-scope .admin-crypto-charge-table {
  min-width: 1180px;
  table-layout: fixed;
}

.admin-crypto-charge-scope .admin-crypto-charge-table th,
.admin-crypto-charge-scope .admin-crypto-charge-table td {
  white-space: nowrap;
}

.admin-crypto-charge-scope .admin-crypto-charge-sticky-action {
  position: sticky;
  right: 0;
  width: 110px;
  min-width: 110px;
  max-width: 110px;
  background: #fff;
  z-index: 60;
  box-shadow: inset 1px 0 0 #e5e7eb;
}

.admin-crypto-charge-scope .admin-crypto-charge-sticky-status {
  position: sticky;
  right: 110px;
  width: 110px;
  min-width: 110px;
  max-width: 110px;
  background: #fff;
  z-index: 61;
  box-shadow: -8px 0 12px rgba(15, 23, 42, 0.06), inset 1px 0 0 #e5e7eb;
}

.admin-crypto-charge-scope thead .admin-crypto-charge-sticky-status,
.admin-crypto-charge-scope thead .admin-crypto-charge-sticky-action {
  background: #fafafa;
  z-index: 80;
}

.admin-crypto-charge-scope tbody .admin-crypto-charge-sticky-status,
.admin-crypto-charge-scope tbody .admin-crypto-charge-sticky-action {
  background: #fff;
}

.admin-crypto-charge-scope .admin-crypto-charge-sticky-action .admin-text-btn,
.admin-crypto-charge-scope .admin-crypto-charge-sticky-action button {
  white-space: nowrap;
}

.admin-fiat-charge-filter-drawer [data-admin-fiat-charge-select] {
  position: relative;
}

.admin-fiat-charge-filter-drawer .admin-filter-select-menu {
  display: none !important;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  bottom: auto;
  max-height: 220px;
  overflow-y: auto;
  z-index: 10020;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.admin-fiat-charge-filter-drawer [data-admin-fiat-charge-select].is-open .admin-filter-select-menu {
  display: block !important;
}

.admin-fiat-charge-filter-drawer [data-admin-fiat-charge-select].is-drop-up .admin-filter-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.admin-fiat-charge-filter-drawer .admin-filter-select-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #111827;
  cursor: pointer;
  background: #fff;
  box-sizing: border-box;
}

.admin-fiat-charge-filter-drawer .admin-filter-select-option:hover,
.admin-fiat-charge-filter-drawer .admin-filter-select-option.is-selected {
  background: #eaf4ff;
  color: #1677ff;
}

.admin-fiat-charge-scope .admin-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
}

.admin-fiat-charge-scope .admin-fiat-charge-table {
  min-width: 1060px;
  table-layout: fixed;
}

.admin-fiat-charge-scope .admin-fiat-charge-table th,
.admin-fiat-charge-scope .admin-fiat-charge-table td {
  white-space: nowrap;
}

.admin-fiat-charge-scope .admin-fiat-charge-sticky-action {
  position: sticky;
  right: 0;
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  background: #fff;
  z-index: 60;
  box-shadow: -8px 0 12px rgba(15, 23, 42, 0.06), inset 1px 0 0 #e5e7eb;
}

.admin-fiat-charge-scope thead .admin-fiat-charge-sticky-action {
  background: #fafafa;
  z-index: 80;
}

.admin-fiat-charge-scope tbody .admin-fiat-charge-sticky-action {
  background: #fff;
}

.admin-fiat-charge-scope .admin-fiat-charge-sticky-action .admin-text-btn,
.admin-fiat-charge-scope .admin-fiat-charge-sticky-action button {
  white-space: nowrap;
}

.admin-fiat-audit-mask {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 9990 !important;
}

.admin-fiat-audit-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 500px !important;
  max-width: 42vw !important;
  min-width: 460px !important;
  background: #fff !important;
  box-shadow: -12px 0 32px rgba(15, 23, 42, 0.22) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.admin-fiat-audit-header {
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #ebeef5 !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.admin-fiat-audit-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.admin-fiat-audit-close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border: none !important;
  background: transparent !important;
  color: #909399 !important;
  font-size: 24px !important;
  line-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.admin-fiat-audit-close:hover {
  color: #606266 !important;
}

.admin-fiat-audit-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

.admin-fiat-audit-save {
  height: 36px !important;
  padding: 0 18px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.admin-fiat-audit-body {
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 24px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.admin-fiat-audit-section {
  margin-bottom: 24px !important;
}

.admin-fiat-audit-section-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin-bottom: 14px !important;
}

.admin-fiat-audit-info-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 16px !important;
}

.admin-fiat-audit-info-item {
  min-width: 0 !important;
}

.admin-fiat-audit-info-item label {
  display: block !important;
  font-size: 12px !important;
  color: #909399 !important;
  margin-bottom: 4px !important;
}

.admin-fiat-audit-info-item span {
  display: block !important;
  font-size: 14px !important;
  color: #303133 !important;
  word-break: break-word !important;
}

.admin-fiat-audit-proof {
  min-height: 120px !important;
  border: 1px dashed #d8dee9 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #909399 !important;
  margin-top: 14px !important;
  overflow: hidden !important;
}

.admin-fiat-audit-proof img {
  max-width: 100% !important;
  max-height: 220px !important;
  object-fit: contain !important;
  display: block !important;
}

.admin-fiat-audit-radio-row {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  margin-bottom: 14px !important;
}

.admin-fiat-audit-radio-row label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  color: #303133 !important;
  cursor: pointer !important;
}

.admin-fiat-audit-textarea {
  width: 100% !important;
  min-height: 96px !important;
  resize: vertical !important;
  border: 1px solid #d8dee9 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  outline: none !important;
  font-family: inherit !important;
}

.admin-fiat-audit-textarea:focus {
  border-color: #1677ff !important;
}

.admin-shop-class-create-mask {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 9990 !important;
}

.admin-shop-class-create-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 58vw !important;
  min-width: 720px !important;
  max-width: 980px !important;
  background: #fff !important;
  border-radius: 14px 0 0 14px !important;
  box-shadow: -12px 0 32px rgba(15, 23, 42, 0.22) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.admin-shop-class-create-header {
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #ebeef5 !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.admin-shop-class-create-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.admin-shop-class-create-close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border: 0 !important;
  background: transparent !important;
  color: #909399 !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.admin-shop-class-create-close:hover {
  color: #606266 !important;
}

.admin-shop-class-create-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

.admin-shop-class-create-save {
  height: 36px !important;
  padding: 0 18px !important;
  border: none !important;
  border-radius: 6px !important;
  background: #1677ff !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.admin-shop-class-create-body {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 32px 28px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.admin-shop-class-create-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 22px !important;
  align-items: start !important;
}

.admin-shop-class-create-field {
  min-width: 0 !important;
}

.admin-shop-class-create-label {
  display: block !important;
  margin-bottom: 10px !important;
  font-size: 14px !important;
  color: #303133 !important;
}

.admin-shop-class-create-label b {
  color: #f56c6c !important;
  margin-right: 4px !important;
}

.admin-shop-class-create-input,
.admin-shop-class-create-select {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

.admin-shop-class-create-input {
  font-size: 14px !important;
  outline: none !important;
}

.admin-shop-class-create-input:focus {
  border-color: #1677ff !important;
}

.admin-shop-class-create-select {
  position: relative !important;
  padding: 0 !important;
}

.admin-shop-class-create-select > button {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  color: #303133 !important;
  font-size: 14px !important;
}

.admin-shop-class-create-select > button i {
  width: 16px !important;
  height: 16px !important;
  color: #909399 !important;
}

.admin-shop-class-create-select-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10020 !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
  overflow: hidden !important;
}

.admin-shop-class-create-select.is-open .admin-shop-class-create-select-menu {
  display: block !important;
}

.admin-shop-class-create-option {
  padding: 9px 12px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #303133 !important;
  cursor: pointer !important;
  background: #fff !important;
}

.admin-shop-class-create-option:hover,
.admin-shop-class-create-option.is-selected {
  background: #eaf4ff !important;
  color: #1677ff !important;
}

.admin-shop-class-create-switch {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  color: #303133 !important;
  font-size: 14px !important;
}

.admin-shop-class-create-switch input {
  display: none !important;
}

.admin-shop-class-create-switch em {
  width: 44px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #c0c4cc !important;
  position: relative !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.admin-shop-class-create-switch em::after {
  content: "" !important;
  position: absolute !important;
  width: 20px !important;
  height: 20px !important;
  left: 2px !important;
  top: 2px !important;
  border-radius: 50% !important;
  background: #fff !important;
  transition: transform 0.2s ease !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2) !important;
}

.admin-shop-class-create-switch input:checked + em {
  background: #1677ff !important;
}

.admin-shop-class-create-switch input:checked + em::after {
  transform: translateX(20px) !important;
}

.admin-delete-popover {
  position: fixed !important;
  z-index: 10020 !important;
  width: 170px !important;
  padding: 14px 14px 12px !important;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  border: 1px solid #ebeef5 !important;
  box-sizing: border-box !important;
}

.admin-delete-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #303133 !important;
  margin-bottom: 10px !important;
}

.admin-delete-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  border-radius: 50% !important;
  background: #f5a623 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
}

.admin-delete-message {
  font-size: 14px !important;
  color: #303133 !important;
  margin: 0 0 12px 24px !important;
  white-space: nowrap !important;
}

.admin-delete-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

.admin-delete-cancel,
.admin-delete-confirm {
  height: 28px !important;
  padding: 0 10px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  cursor: pointer !important;
}

.admin-delete-cancel {
  background: #fff !important;
  color: #303133 !important;
  border: 1px solid #dcdfe6 !important;
}

.admin-delete-confirm {
  background: #1677ff !important;
  color: #fff !important;
  border: 1px solid #1677ff !important;
}

/* Global filter date panel final override */
.admin-filter-date-panel {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: calc(100% + 8px) !important;
  z-index: 10040 !important;
  width: 288px !important;
  padding: 12px !important;
  background: #fff !important;
  border: 1px solid #ebeef5 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  box-sizing: border-box !important;
}

.admin-filter-date-panel.is-up {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
}

.admin-filter-date-header,
.admin-filter-date-head {
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.admin-filter-date-title {
  flex: 1 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #303133 !important;
  margin: 0 !important;
}

.admin-filter-date-nav,
.admin-filter-date-head button {
  width: 26px !important;
  height: 26px !important;
  border: 0 !important;
  background: transparent !important;
  color: #909399 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  appearance: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.admin-filter-date-nav:hover,
.admin-filter-date-head button:hover {
  background: #f5f7fa !important;
  color: #1677ff !important;
}

.admin-filter-date-week,
.admin-filter-date-grid,
.admin-filter-date-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 4px !important;
}

.admin-filter-date-week span {
  height: 28px !important;
  line-height: 28px !important;
  text-align: center !important;
  font-size: 13px !important;
  color: #606266 !important;
  padding: 0 !important;
}

.admin-filter-date-day,
.admin-filter-date-days button {
  width: 32px !important;
  height: 28px !important;
  line-height: 28px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #303133 !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  text-align: center !important;
  cursor: pointer !important;
  appearance: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

.admin-filter-date-day:hover,
.admin-filter-date-days button:hover {
  background: #eaf4ff !important;
  color: #1677ff !important;
}

.admin-filter-date-day.is-active,
.admin-filter-date-day.is-selected,
.admin-filter-date-days button.active,
.admin-filter-date-days button.is-active,
.admin-filter-date-days button.is-selected {
  background: #fff !important;
  color: #1677ff !important;
  border: 1px solid #1677ff !important;
  line-height: 26px !important;
}

.admin-filter-date-day.is-muted,
.admin-filter-date-day.muted,
.admin-filter-date-days button.muted,
.admin-filter-date-days button.is-muted {
  color: #c0c4cc !important;
  pointer-events: none !important;
}

.admin-filter-date-today {
  width: 100% !important;
  height: 32px !important;
  margin-top: 10px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #f1f6fd !important;
  color: #1677ff !important;
  font-size: 14px !important;
  cursor: pointer !important;
  appearance: none !important;
  box-shadow: none !important;
}

body.has-admin-panel-fullscreen {
  overflow: hidden !important;
}

.is-admin-panel-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9980 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.is-admin-panel-fullscreen .admin-table-wrap {
  flex: 1 !important;
  min-height: 0 !important;
  overflow: auto !important;
}

.admin-density-popover {
  position: fixed !important;
  z-index: 10030 !important;
  width: 120px !important;
  padding: 6px !important;
  background: #fff !important;
  border: 1px solid #ebeef5 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  box-sizing: border-box !important;
}

.admin-density-popover button {
  width: 100% !important;
  height: 32px !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 6px !important;
  color: #303133 !important;
  font-size: 14px !important;
  text-align: left !important;
  padding: 0 10px !important;
  cursor: pointer !important;
}

.admin-density-popover button:hover,
.admin-density-popover button.is-active {
  background: #eaf4ff !important;
  color: #1677ff !important;
}

.is-density-compact .admin-table th,
.is-density-compact .admin-table td {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.is-density-comfortable .admin-table th,
.is-density-comfortable .admin-table td {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.front-withdraw-task-card {
  margin-top: 12px;
  padding: 18px 16px 16px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  background: #f7f7f7;
  box-sizing: border-box;
}

.front-withdraw-task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.front-withdraw-task-header strong {
  color: #111;
  font-size: 16px;
  font-weight: 900;
}

.front-withdraw-task-progress {
  color: #050505;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.front-withdraw-task-desc {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.front-withdraw-task-btn {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #101413;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.front-withdraw-task-btn:active {
  transform: translateY(1px);
}

.front-withdraw-history-list {
  padding: 16px;
}

.front-withdraw-history-card {
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #fff;
}

.front-withdraw-history-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.front-withdraw-history-amount {
  color: #111;
  font-size: 20px;
  font-weight: 800;
}

.front-withdraw-history-status {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.front-withdraw-history-status.is-success {
  color: #16a34a;
}

.front-withdraw-history-status.is-danger {
  color: #dc2626;
}

.front-withdraw-history-status.is-processing,
.front-withdraw-history-status.is-pending {
  color: #1677ff;
}

.front-withdraw-history-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #606266;
  font-size: 13px;
  line-height: 24px;
}

.front-withdraw-history-row strong {
  color: #303133;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.front-withdraw-history-empty {
  padding: 80px 16px;
  color: #909399;
  text-align: center;
}

.front-withdraw-history-empty-icon {
  margin-bottom: 8px;
  font-size: 32px;
}

.front-withdraw-history-empty-text {
  font-size: 14px;
}

.front-charge-assets-page {
  display: grid;
  gap: 14px;
}

.front-charge-balance-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 9px;
  color: var(--front-hero-text, #fff);
  background: linear-gradient(135deg, #0d1111, #565f59);
}

.front-charge-balance-card span {
  font-size: 13px;
  color: var(--front-hero-muted, rgba(255, 255, 255, 0.78));
  opacity: 1;
}

.front-charge-balance-card strong {
  font-size: 30px;
  line-height: 1;
  color: var(--front-hero-amount, #fff);
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.front-charge-form-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
}

.front-charge-field {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.front-charge-field strong {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #303133;
  font-weight: 800;
  background: #fafafa;
}

.front-charge-coin-options {
  display: flex;
  gap: 8px;
}

.front-charge-coin-option {
  flex: 1;
  height: 44px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  background: #fff;
  color: #303133;
  font-weight: 700;
  cursor: pointer;
}

.front-charge-coin-option.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.front-charge-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  color: #111827;
  font: inherit;
  outline: 0;
}

.front-charge-input:focus {
  border-color: #101413;
}

.front-charge-address-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  background: #f7f7f7;
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.front-charge-address-box strong {
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-word;
}

.front-charge-contact-btn {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #101413;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.front-charge-history-list {
  padding: 16px;
}

.front-charge-history-card {
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #fff;
}

.front-charge-history-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.front-charge-history-amount {
  color: #111;
  font-size: 20px;
  font-weight: 800;
}

.front-charge-history-status {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.front-charge-history-status.is-success {
  color: #16a34a;
}

.front-charge-history-status.is-danger {
  color: #dc2626;
}

.front-charge-history-status.is-processing,
.front-charge-history-status.is-pending {
  color: #1677ff;
}

.front-charge-history-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #606266;
  font-size: 13px;
  line-height: 24px;
}

.front-charge-history-row strong {
  color: #303133;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.front-charge-history-empty {
  padding: 80px 16px;
  color: #909399;
  text-align: center;
}

.front-charge-history-empty-icon {
  margin-bottom: 8px;
  font-size: 32px;
}

.front-charge-history-empty-text {
  font-size: 14px;
}

/* 前端展示专用 drawer 两栏布局 */
.admin-client-display-drawer {
  width: 800px;
  max-width: 95vw;
}

.admin-client-display-body {
  display: flex;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.admin-client-display-left {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  overflow-y: auto;
  border-right: 1px solid #e5e7eb;
}

.admin-client-display-right {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #fafbfc;
}

.admin-client-display-right-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.admin-client-display-lang-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.admin-client-display-right-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.admin-client-upload-area .admin-upload-field {
  display: block;
}

.admin-client-upload-area .admin-upload-field > span {
  display: none;
}

.admin-client-empty-text {
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  padding: 40px 0;
}

/* 任务金额增加动效 */
.money-bump {
  animation: moneyBump .6s ease;
}
@keyframes moneyBump {
  0% { transform: scale(1); color: inherit; }
  30% { transform: scale(1.12); color: #22c55e; }
  100% { transform: scale(1); color: inherit; }
}
.money-float-plus {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  white-space: nowrap;
  pointer-events: none;
  animation: moneyFloatUp .9s ease forwards;
  z-index: 10;
}
@keyframes moneyFloatUp {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-24px); }
}

.admin-sidebar {
  height: 100vh;
  min-height: 0;
  overflow-y: auto;
}

.admin-brand {
  height: 64px;
}

.admin-main {
  height: 100vh;
  min-width: 0;
  overflow: hidden;
}

.admin-topbar {
  height: 64px;
}

.admin-content {
  height: calc(100vh - 64px);
  min-height: 0;
  overflow: hidden;
  padding: 16px;
}

.admin-panel-head {
  min-height: 64px;
}

.admin-content > .admin-panel:has(.admin-table-wrap) {
  height: calc(100vh - 96px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #f0f0f0;
}

.admin-content > .admin-panel:has(.admin-table-wrap) > .admin-panel-head,
.admin-content > .admin-panel:has(.admin-table-wrap) > .admin-filter-row {
  flex: 0 0 auto;
}

.admin-content > .admin-panel:has(.admin-table-wrap) > .admin-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
}

.admin-content > .admin-panel:has(.admin-table-wrap) > .admin-pager {
  flex: 0 0 48px;
}

.admin-content > .admin-panel:has(.admin-table-wrap) .admin-user-table-wrap,
.admin-content > .admin-panel:has(.admin-table-wrap) .admin-crypto-charge-scope .admin-table-wrap,
.admin-content > .admin-panel:has(.admin-table-wrap) .admin-fiat-charge-scope .admin-table-wrap {
  height: auto;
  min-height: 0;
}

.admin-table-wrap {
  min-height: 0;
  overflow: auto;
  border: 1px solid #f0f0f0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  scrollbar-gutter: stable;
}

.admin-table {
  border-color: #f0f0f0;
}

.admin-table:has(thead th:nth-child(10)) {
  min-width: 1600px;
}

.admin-table:has(thead th:nth-child(14)) {
  min-width: 2200px;
}

.admin-table:has(thead th:nth-child(24)) {
  min-width: 3200px;
}

.admin-table th,
.admin-table td {
  height: 40px;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #f0f0f0;
}

.admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 39px;
  background: #fafafa;
}

.admin-pager {
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  overflow-x: auto;
  border-top: 0;
  background: #fff;
  white-space: nowrap;
}

.admin-page-total {
  flex: 0 0 auto;
  margin-right: 6px;
  color: rgba(0, 0, 0, .88);
}

.admin-pager button {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 8px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
}

.admin-pager button.active {
  border-color: #1677ff;
  color: #1677ff;
  font-weight: 500;
}

.admin-pager button:disabled {
  color: rgba(0, 0, 0, .25);
  cursor: not-allowed;
}

.admin-page-arrow svg {
  width: 16px;
  height: 16px;
}

.admin-page-ellipsis {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, .45);
}

.admin-page-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: rgba(0, 0, 0, .88);
}

.admin-page-jump input,
.admin-pager input {
  width: 50px;
  height: 32px;
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  text-align: center;
}

.admin-table-wrap::-webkit-scrollbar,
.admin-pager::-webkit-scrollbar,
.admin-sidebar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.admin-table-wrap::-webkit-scrollbar-thumb,
.admin-pager::-webkit-scrollbar-thumb,
.admin-sidebar::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(0, 0, 0, .25);
}

.admin-table-wrap::-webkit-scrollbar-track,
.admin-pager::-webkit-scrollbar-track,
.admin-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.admin-content,
.admin-panel,
.admin-table-wrap {
  max-width: 100%;
}

.admin-table-wrap {
  overflow: auto;
  overscroll-behavior: contain;
}

.admin-table {
  max-width: none;
}

.admin-table th,
.admin-table td {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 22px;
}

.admin-table tbody tr {
  height: 48px;
}

.admin-table td > * {
  max-width: 100%;
}

.admin-table .admin-long-text,
.admin-table .admin-link,
.admin-table .admin-vip-name-text {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  vertical-align: middle;
}

.admin-table .admin-row-actions,
.admin-table td:last-child {
  white-space: nowrap;
}

.admin-table .admin-row-actions button,
.admin-table td:last-child .admin-text-btn {
  flex: 0 0 auto;
}

.admin-table .admin-thumb {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
}

.admin-table .admin-switch {
  vertical-align: middle;
}

.admin-user-table th,
.admin-user-table td {
  height: 48px;
  line-height: 22px;
  white-space: nowrap;
}

.admin-user-table {
  width: 4622px;
  min-width: 4622px;
  table-layout: fixed;
}

.admin-user-table col:last-child {
  width: 480px !important;
}

.admin-user-table th,
.admin-user-table td {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

.admin-user-table thead th {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-table tbody td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-table tbody td:nth-child(2),
.admin-user-table tbody td:nth-child(3),
.admin-user-table tbody td:nth-child(4),
.admin-user-table tbody td:nth-child(7),
.admin-user-table tbody td:nth-child(9),
.admin-user-table tbody td:nth-child(10),
.admin-user-table tbody td:nth-child(11),
.admin-user-table tbody td:nth-child(26),
.admin-user-table tbody td:nth-child(29),
.admin-user-table tbody td:nth-child(30),
.admin-user-table tbody td:nth-child(31) {
  text-align: left;
}

.admin-user-table tbody tr {
  height: 52px;
}

.admin-user-table .admin-user-action-sticky {
  position: sticky;
  right: 0;
  z-index: 30;
  width: 480px;
  min-width: 480px;
  max-width: 480px;
  background: #fff !important;
  background-clip: border-box;
  box-shadow:
    -24px 0 0 #fff,
    -12px 0 18px rgba(15, 23, 42, 0.08),
    24px 0 0 #fff,
    inset 1px 0 0 #e5e7eb,
    inset -1px 0 0 #e5e7eb,
    inset 0 -1px 0 #e5e7eb !important;
}

.admin-user-table thead .admin-user-action-sticky {
  z-index: 45;
  background: #fafafa !important;
  box-shadow:
    -24px 0 0 #fafafa,
    -12px 0 18px rgba(15, 23, 42, 0.08),
    24px 0 0 #fafafa,
    inset 1px 0 0 #e5e7eb,
    inset -1px 0 0 #e5e7eb,
    inset 0 -1px 0 #e5e7eb !important;
}

.admin-user-table .admin-row-actions {
  min-width: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.admin-user-table .admin-row-actions button {
  flex: 0 0 auto;
  margin: 0;
}

.admin-user-table .admin-row-actions [data-admin-user-more-toggle] {
  width: 48px;
  min-width: 48px;
  padding: 0;
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.admin-user-table .admin-row-actions [data-admin-user-more-toggle]:hover,
.admin-user-table .admin-row-actions [data-admin-user-more-toggle][aria-expanded="true"] {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
}

.admin-vip-table th,
.admin-vip-table td {
  height: 48px;
}

.admin-vip-table tbody tr {
  height: 52px;
}

/* Front theme polish: scoped away from admin routes. */
body:not(.admin-route) {
  --front-polish-bg: #f5f7fb;
  --front-polish-bg-soft: #eef5ff;
  --front-polish-card: rgba(255, 255, 255, 0.94);
  --front-polish-text: #172033;
  --front-polish-muted: #6b7280;
  --front-polish-border: rgba(120, 136, 164, 0.22);
  --front-polish-primary: #246bfe;
  --front-polish-primary-2: #16a3b8;
  --front-polish-accent: #f3b23d;
  --front-polish-success: #16a34a;
  --front-polish-warning: #f59e0b;
  --front-polish-danger: #ef4444;
  --front-hero-text: rgba(255, 255, 255, 0.92);
  --front-hero-muted: rgba(255, 255, 255, 0.78);
  --front-hero-amount: #ffffff;
  --front-polish-radius: 16px;
  --front-polish-radius-sm: 12px;
  --front-polish-shadow: 0 16px 40px rgba(26, 43, 76, 0.10);
  --front-polish-shadow-soft: 0 8px 24px rgba(26, 43, 76, 0.08);
  --page: var(--front-polish-bg);
  --card: var(--front-polish-card);
  --ink: var(--front-polish-text);
  --muted: var(--front-polish-muted);
  --front-theme-primary: var(--front-polish-primary);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(36, 107, 254, 0.10), transparent 34%),
    linear-gradient(180deg, #f9fbff 0%, var(--front-polish-bg) 44%, #f7fafc 100%);
  color: var(--front-polish-text);
}

body:not(.admin-route) .phone-shell,
body:not(.admin-route) .route-page,
body:not(.admin-route) .route-body,
body:not(.admin-route) .front-record-page,
body:not(.admin-route) .withdraw-page,
body:not(.admin-route) .wallet-page,
body:not(.admin-route) .security-page,
body:not(.admin-route) .front-auth-page,
body:not(.admin-route) .game-page,
body:not(.admin-route) .mine-page {
  background:
    radial-gradient(circle at 90% 4%, rgba(22, 163, 184, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--front-polish-bg) 52%, #f8fafc 100%);
  color: var(--front-polish-text);
}

body:not(.admin-route) .topbar,
body:not(.admin-route) .app-page-header,
body:not(.admin-route) .stack-header,
body:not(.admin-route) .mine-header,
body:not(.admin-route) .game-page .app-page-header,
body:not(.admin-route) .front-auth-register-topbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--front-polish-border);
  box-shadow: 0 8px 22px rgba(26, 43, 76, 0.06);
  backdrop-filter: blur(12px);
  color: var(--front-polish-text);
}

body:not(.admin-route) .front-home-menu-card,
body:not(.admin-route) .vip-card,
body:not(.admin-route) .task-card,
body:not(.admin-route) .task-hero,
body:not(.admin-route) .wallet-panel,
body:not(.admin-route) .game-alert,
body:not(.admin-route) .game-user,
body:not(.admin-route) .game-asset-card,
body:not(.admin-route) .game-important,
body:not(.admin-route) .mine-member-card,
body:not(.admin-route) .mine-balance-card,
body:not(.admin-route) .mine-list,
body:not(.admin-route) .mine-form-card,
body:not(.admin-route) .withdraw-balance-card,
body:not(.admin-route) .withdraw-panel,
body:not(.admin-route) .withdraw-summary,
body:not(.admin-route) .front-withdraw-task-card,
body:not(.admin-route) .front-withdraw-history-card,
body:not(.admin-route) .front-record-line-card,
body:not(.admin-route) .security-card,
body:not(.admin-route) .wallet-address-input,
body:not(.admin-route) .wallet-extra-tip,
body:not(.admin-route) .front-auth-card,
body:not(.admin-route) .login-card.front-auth-card,
body:not(.admin-route) .front-auth-register-card,
body:not(.admin-route) .setting-list-card,
body:not(.admin-route) .setting-switch-card,
body:not(.admin-route) .theme-color-card,
body:not(.admin-route) .front-service-card,
body:not(.admin-route) .front-service-panel {
  background: var(--front-polish-card);
  border: 1px solid var(--front-polish-border);
  border-radius: var(--front-polish-radius);
  box-shadow: var(--front-polish-shadow-soft);
  color: var(--front-polish-text);
}

body:not(.admin-route) .front-home-menu-card:hover,
body:not(.admin-route) .vip-card:hover,
body:not(.admin-route) .task-card:hover,
body:not(.admin-route) .mine-list button:hover,
body:not(.admin-route) .setting-list-card button:hover,
body:not(.admin-route) .front-service-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--front-polish-shadow);
}

body:not(.admin-route) .vip-stack .vip-card.level-silver {
  color: #111827;
  background: #d8dce2 url("assets/remote-localized/vip/vip-bg-basic-solid-canva.png") center / cover no-repeat;
  border-color: rgba(255, 255, 255, 0.58);
}

body:not(.admin-route) .vip-stack .vip-card.level-gold {
  color: #121212;
  background: #ead6af url("assets/remote-localized/vip/vip-bg-mid-solid-canva.png") center / cover no-repeat;
  border-color: rgba(255, 255, 255, 0.62);
}

body:not(.admin-route) .vip-stack .vip-card.level-rose,
body:not(.admin-route) .vip-stack .vip-card.level-mentor {
  color: #111827;
  background: #eee8dc url("assets/remote-localized/vip/vip-bg-premium-solid-canva.png") center / cover no-repeat;
  border-color: rgba(255, 255, 255, 0.64);
}

body:not(.admin-route) .vip-stack .vip-card.level-silver h2,
body:not(.admin-route) .vip-stack .vip-card.level-gold h2,
body:not(.admin-route) .vip-stack .vip-card.level-rose h2,
body:not(.admin-route) .vip-stack .vip-card.level-mentor h2,
body:not(.admin-route) .vip-stack .vip-card.level-silver strong,
body:not(.admin-route) .vip-stack .vip-card.level-gold strong,
body:not(.admin-route) .vip-stack .vip-card.level-rose strong,
body:not(.admin-route) .vip-stack .vip-card.level-mentor strong {
  color: inherit;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.36);
}

body:not(.admin-route) .vip-stack .vip-card.level-silver p,
body:not(.admin-route) .vip-stack .vip-card.level-gold p,
body:not(.admin-route) .vip-stack .vip-card.level-rose p,
body:not(.admin-route) .vip-stack .vip-card.level-mentor p {
  color: rgba(17, 24, 39, 0.76);
}

body:not(.admin-route) button,
body:not(.admin-route) .btn,
body:not(.admin-route) .primary-btn,
body:not(.admin-route) .ref-primary-btn,
body:not(.admin-route) .mine-withdraw,
body:not(.admin-route) .mine-deposit,
body:not(.admin-route) .start-logo,
body:not(.admin-route) .front-auth-submit,
body:not(.admin-route) .withdraw-submit-btn {
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

body:not(.admin-route) .primary-btn,
body:not(.admin-route) .ref-primary-btn,
body:not(.admin-route) .mine-withdraw,
body:not(.admin-route) .front-auth-submit,
body:not(.admin-route) .withdraw-submit-btn,
body:not(.admin-route) .start-logo {
  background: linear-gradient(135deg, var(--front-polish-primary), var(--front-polish-primary-2));
  box-shadow: 0 12px 22px rgba(36, 107, 254, 0.22);
  color: #fff;
}

body:not(.admin-route) .mine-deposit,
body:not(.admin-route) .secondary-btn {
  background: #fff;
  border: 1px solid rgba(36, 107, 254, 0.22);
  color: var(--front-polish-primary);
  box-shadow: 0 10px 22px rgba(36, 107, 254, 0.08);
}

body:not(.admin-route) button:active,
body:not(.admin-route) .btn:active,
body:not(.admin-route) .primary-btn:active,
body:not(.admin-route) .ref-primary-btn:active {
  transform: translateY(1px) scale(0.99);
}

body:not(.admin-route) input,
body:not(.admin-route) select,
body:not(.admin-route) textarea,
body:not(.admin-route) .wallet-address-input input {
  border-color: var(--front-polish-border);
  color: var(--front-polish-text);
}

body:not(.admin-route) input:focus,
body:not(.admin-route) select:focus,
body:not(.admin-route) textarea:focus {
  border-color: rgba(36, 107, 254, 0.52);
  box-shadow: 0 0 0 3px rgba(36, 107, 254, 0.12);
  outline: none;
}

body:not(.admin-route) .tabbar {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--front-polish-border);
  box-shadow: 0 -10px 24px rgba(26, 43, 76, 0.08);
  backdrop-filter: blur(12px);
}

body:not(.admin-route) .tabbar a.active {
  color: var(--front-polish-primary);
}

body:not(.admin-route) .tabbar a.active .tabbar-icon,
body:not(.admin-route) .mine-row-icon,
body:not(.admin-route) .front-service-avatar,
body:not(.admin-route) .front-service-icon {
  box-shadow: 0 10px 20px rgba(36, 107, 254, 0.16);
}

body:not(.admin-route) .local-dialog-box,
body:not(.admin-route) .front-modal,
body:not(.admin-route) .mine-confirm-box,
body:not(.admin-route) .front-service-modal {
  border: 1px solid var(--front-polish-border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

body:not(.admin-route) .record-status-tabs button.active,
body:not(.admin-route) .record-tabs button.active,
body:not(.admin-route) .front-record-page .front-record-withdraw-filter-btn.active,
body:not(.admin-route) .front-language-list button.active {
  background: linear-gradient(135deg, rgba(36, 107, 254, 0.14), rgba(22, 163, 184, 0.14));
  border-color: rgba(36, 107, 254, 0.34);
  color: var(--front-polish-primary);
}

body:not(.admin-route) .status-success,
body:not(.admin-route) .front-service-status.online,
body:not(.admin-route) .mine-balance-row .green {
  color: var(--front-polish-success);
}

body:not(.admin-route) .status-warning,
body:not(.admin-route) .front-service-status.busy {
  color: var(--front-polish-warning);
}

body:not(.admin-route) .status-danger,
body:not(.admin-route) .front-service-status.offline {
  color: var(--front-polish-danger);
}

body:not(.admin-route) .front-service-avatar img,
body:not(.admin-route) .mine-avatar img,
body:not(.admin-route) .vip-card img,
body:not(.admin-route) .front-auth-upload-preview img {
  border-radius: 14px;
}

@media (max-width: 430px) {
  body:not(.admin-route) .phone-shell,
  body:not(.admin-route) .route-page {
    width: 100%;
    max-width: 100vw;
  }

  body:not(.admin-route) .front-home-menu-card,
  body:not(.admin-route) .vip-card,
  body:not(.admin-route) .task-card,
  body:not(.admin-route) .wallet-panel,
  body:not(.admin-route) .mine-list,
  body:not(.admin-route) .withdraw-panel,
  body:not(.admin-route) .security-card,
  body:not(.admin-route) .front-auth-card {
    border-radius: 14px;
  }
}

/* Front visual polish v2: spacing, hierarchy, controls and mobile rhythm. */
body:not(.admin-route) {
  --front-space-page: 16px;
  --front-space-card: 16px;
  --front-gap: 12px;
  --front-gap-lg: 18px;
  --front-control-height: 46px;
  --front-touch: 44px;
  --front-soft-line: rgba(23, 32, 51, 0.08);
  --front-glow-blue: 0 14px 34px rgba(36, 107, 254, 0.18);
  --front-glow-gold: 0 12px 28px rgba(243, 178, 61, 0.16);
}

body:not(.admin-route) .route-body,
body:not(.admin-route) .mine-page,
body:not(.admin-route) .wallet-page,
body:not(.admin-route) .withdraw-page,
body:not(.admin-route) .security-page,
body:not(.admin-route) .front-auth-page,
body:not(.admin-route) .front-record-page {
  padding-left: var(--front-space-page);
  padding-right: var(--front-space-page);
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body:not(.admin-route) .no-tabbar .route-body,
body:not(.admin-route) .no-tabbar .mine-page,
body:not(.admin-route) .no-tabbar .wallet-page,
body:not(.admin-route) .no-tabbar .withdraw-page,
body:not(.admin-route) .no-tabbar .security-page,
body:not(.admin-route) .no-tabbar .front-auth-page,
body:not(.admin-route) .no-tabbar .front-record-page {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

body:not(.admin-route) .front-home-menu-card,
body:not(.admin-route) .vip-card,
body:not(.admin-route) .task-card,
body:not(.admin-route) .task-hero,
body:not(.admin-route) .wallet-panel,
body:not(.admin-route) .game-alert,
body:not(.admin-route) .game-user,
body:not(.admin-route) .game-asset-card,
body:not(.admin-route) .game-important,
body:not(.admin-route) .mine-member-card,
body:not(.admin-route) .mine-balance-card,
body:not(.admin-route) .mine-list,
body:not(.admin-route) .mine-form-card,
body:not(.admin-route) .withdraw-balance-card,
body:not(.admin-route) .withdraw-panel,
body:not(.admin-route) .withdraw-summary,
body:not(.admin-route) .front-withdraw-task-card,
body:not(.admin-route) .front-withdraw-history-card,
body:not(.admin-route) .front-record-line-card,
body:not(.admin-route) .security-card,
body:not(.admin-route) .front-auth-card,
body:not(.admin-route) .login-card.front-auth-card,
body:not(.admin-route) .front-auth-register-card,
body:not(.admin-route) .setting-list-card,
body:not(.admin-route) .setting-switch-card,
body:not(.admin-route) .theme-color-card,
body:not(.admin-route) .front-service-card,
body:not(.admin-route) .front-service-panel {
  padding: var(--front-space-card);
  margin-bottom: var(--front-gap);
}

body:not(.admin-route) .front-home-menu-card,
body:not(.admin-route) .mine-list,
body:not(.admin-route) .setting-list-card {
  overflow: hidden;
}

body:not(.admin-route) .mine-member-card,
body:not(.admin-route) .task-hero,
body:not(.admin-route) .withdraw-balance-card,
body:not(.admin-route) .wallet-panel {
  position: relative;
  background:
    linear-gradient(135deg, rgba(36, 107, 254, 0.10), rgba(22, 163, 184, 0.08)),
    var(--front-polish-card);
}

body:not(.admin-route) .mine-member-card::after,
body:not(.admin-route) .task-hero::after,
body:not(.admin-route) .withdraw-balance-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 48%);
}

body:not(.admin-route) .mine-balance-row,
body:not(.admin-route) .game-asset-grid,
body:not(.admin-route) .withdraw-summary,
body:not(.admin-route) .front-record-line-card,
body:not(.admin-route) .security-card,
body:not(.admin-route) .front-auth-card {
  border-color: var(--front-soft-line);
}

body:not(.admin-route) .mine-list button,
body:not(.admin-route) .setting-list-card button,
body:not(.admin-route) .security-row,
body:not(.admin-route) .front-record-line-card,
body:not(.admin-route) .wallet-address-row {
  min-height: 52px;
  border-bottom-color: var(--front-soft-line);
}

body:not(.admin-route) .mine-list button:last-child,
body:not(.admin-route) .setting-list-card button:last-child {
  border-bottom-color: transparent;
}

body:not(.admin-route) .mine-member-name,
body:not(.admin-route) .mine-balance-value,
body:not(.admin-route) .wallet-balance-value,
body:not(.admin-route) .withdraw-balance-value,
body:not(.admin-route) .game-asset-value,
body:not(.admin-route) .front-record-amount {
  color: var(--front-polish-text);
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.admin-route) .mine-member-meta,
body:not(.admin-route) .mine-row-sub,
body:not(.admin-route) .game-asset-label,
body:not(.admin-route) .withdraw-rule-text,
body:not(.admin-route) .front-record-meta,
body:not(.admin-route) .security-desc,
body:not(.admin-route) .front-auth-help,
body:not(.admin-route) .front-auth-upload-tip {
  color: var(--front-polish-muted);
}

body:not(.admin-route) .game-grid,
body:not(.admin-route) .task-grid,
body:not(.admin-route) .front-home-menu-grid,
body:not(.admin-route) .vip-list,
body:not(.admin-route) .front-service-grid {
  gap: var(--front-gap);
}

body:not(.admin-route) .game-grid img,
body:not(.admin-route) .task-grid img,
body:not(.admin-route) .commodity-grid img,
body:not(.admin-route) .front-auth-upload-preview img {
  object-fit: cover;
}

body:not(.admin-route) .front-auth-upload-box,
body:not(.admin-route) .front-auth-upload,
body:not(.admin-route) .upload-box,
body:not(.admin-route) .upload-tile {
  min-height: 118px;
  border: 1px dashed rgba(36, 107, 254, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(36, 107, 254, 0.06), rgba(255, 255, 255, 0.72));
}

body:not(.admin-route) input,
body:not(.admin-route) select,
body:not(.admin-route) textarea {
  min-height: var(--front-control-height);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

body:not(.admin-route) textarea {
  min-height: 96px;
}

body:not(.admin-route) .primary-btn,
body:not(.admin-route) .ref-primary-btn,
body:not(.admin-route) .front-auth-submit,
body:not(.admin-route) .withdraw-submit-btn,
body:not(.admin-route) .mine-withdraw,
body:not(.admin-route) .mine-deposit,
body:not(.admin-route) .start-logo,
body:not(.admin-route) .local-dialog-box button,
body:not(.admin-route) .front-service-action {
  min-height: var(--front-touch);
  font-weight: 700;
}

body:not(.admin-route) .start-logo {
  min-height: 58px;
  box-shadow: var(--front-glow-blue);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

body:not(.admin-route) .mine-deposit,
body:not(.admin-route) .front-secondary-btn,
body:not(.admin-route) .local-dialog-box button:first-child {
  color: var(--front-polish-text);
  background: rgba(255, 255, 255, 0.92);
}

body:not(.admin-route) .danger-btn,
body:not(.admin-route) .reject-btn,
body:not(.admin-route) .delete-btn {
  background: rgba(239, 68, 68, 0.10);
  color: var(--front-polish-danger);
  border-color: rgba(239, 68, 68, 0.24);
}

body:not(.admin-route) button:disabled,
body:not(.admin-route) .btn-disabled,
body:not(.admin-route) .disabled {
  opacity: 0.58;
  box-shadow: none;
  filter: grayscale(0.15);
}

body:not(.admin-route) .status-tag,
body:not(.admin-route) .front-status-tag,
body:not(.admin-route) .record-status,
body:not(.admin-route) .auth-status,
body:not(.admin-route) .vip-badge {
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

body:not(.admin-route) .local-dialog-mask,
body:not(.admin-route) .front-modal-mask,
body:not(.admin-route) .mine-confirm-mask,
body:not(.admin-route) .front-service-mask {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(5px);
}

body:not(.admin-route) .local-dialog-box,
body:not(.admin-route) .front-modal,
body:not(.admin-route) .mine-confirm-box,
body:not(.admin-route) .front-service-modal {
  padding: 18px;
  max-width: calc(100vw - 32px);
}

body:not(.admin-route) .local-dialog-box h3,
body:not(.admin-route) .front-modal-title,
body:not(.admin-route) .front-service-title {
  color: var(--front-polish-text);
  font-weight: 800;
}

body:not(.admin-route) .local-dialog-actions,
body:not(.admin-route) .front-modal-actions,
body:not(.admin-route) .mine-confirm-actions,
body:not(.admin-route) .front-service-actions {
  display: flex;
  gap: 10px;
  padding-top: 14px;
}

body:not(.admin-route) .local-dialog-actions button,
body:not(.admin-route) .front-modal-actions button,
body:not(.admin-route) .mine-confirm-actions button,
body:not(.admin-route) .front-service-actions button {
  flex: 1 1 0;
}

body:not(.admin-route) .tabbar {
  height: calc(66px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body:not(.admin-route) .tabbar a {
  min-height: 58px;
  color: #7b8497;
}

body:not(.admin-route) .tabbar a.active {
  font-weight: 800;
}

body:not(.admin-route) .tabbar a.active::before {
  content: "";
  position: absolute;
  top: 6px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--front-polish-primary), var(--front-polish-primary-2));
}

body:not(.admin-route) .front-service-card {
  align-items: center;
  gap: 12px;
}

body:not(.admin-route) .front-service-avatar,
body:not(.admin-route) .front-service-icon,
body:not(.admin-route) .mine-row-icon {
  border: 1px solid rgba(255, 255, 255, 0.72);
}

@media (max-width: 430px) {
  body:not(.admin-route) {
    --front-space-page: 14px;
    --front-space-card: 14px;
    --front-gap: 10px;
  }

  body:not(.admin-route) .route-body,
  body:not(.admin-route) .mine-page,
  body:not(.admin-route) .wallet-page,
  body:not(.admin-route) .withdraw-page,
  body:not(.admin-route) .security-page,
  body:not(.admin-route) .front-auth-page,
  body:not(.admin-route) .front-record-page {
    padding-left: var(--front-space-page);
    padding-right: var(--front-space-page);
  }

  body:not(.admin-route) .primary-btn,
  body:not(.admin-route) .ref-primary-btn,
  body:not(.admin-route) .front-auth-submit,
  body:not(.admin-route) .withdraw-submit-btn,
  body:not(.admin-route) .mine-withdraw,
  body:not(.admin-route) .mine-deposit {
    min-height: 46px;
  }
}

/* Front visual polish v3: restraint pass for readability and alignment. */
body:not(.admin-route) {
  --front-v3-page-pad: 15px;
  --front-v3-card-radius: 14px;
  --front-v3-card-border: rgba(35, 47, 68, 0.10);
  --front-v3-card-shadow: 0 8px 22px rgba(22, 35, 58, 0.075);
  --front-v3-header-bg: rgba(255, 255, 255, 0.96);
  --front-v3-row-h: 58px;
  --front-v3-divider: rgba(23, 32, 51, 0.075);
  --front-v3-title: #172033;
  --front-v3-subtle: #667085;
}

body:not(.admin-route) .game-page {
  background:
    linear-gradient(180deg, #f8fafc 0%, #f2f5fa 46%, #f7f9fc 100%);
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
}

body:not(.admin-route) .game-hero {
  padding-bottom: 64px;
  color: var(--front-v3-title);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(234, 239, 247, 0.94)),
    url("assets/remote-localized/backgrounds/019e1222-b5d2-7685-a08a-77e42de45f7d.webp") center / cover;
  border-bottom: 1px solid rgba(23, 32, 51, 0.06);
}

body:not(.admin-route) .game-page .app-page-header {
  height: 56px;
  margin: 0 0 10px;
  padding: 0 var(--front-v3-page-pad);
  background: var(--front-v3-header-bg);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: 0 5px 16px rgba(22, 35, 58, 0.06);
  backdrop-filter: blur(10px);
}

body:not(.admin-route) .game-page .app-page-header h1 {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  text-shadow: none;
}

body:not(.admin-route) .game-page .plain-icon,
body:not(.admin-route) .game-page .plain-icon.is-blue {
  color: #1f2937;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 12px;
}

body:not(.admin-route) .start-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  padding: 0;
  margin: 0;
}

body:not(.admin-route) .game-user {
  margin: 0 var(--front-v3-page-pad) 12px;
  padding: 13px 14px;
  border: 1px solid var(--front-v3-card-border);
  border-radius: var(--front-v3-card-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--front-v3-card-shadow);
  color: var(--front-v3-title);
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

body:not(.admin-route) .game-brand {
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 50%;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 242, 255, 0.82));
  border: 1px solid rgba(36, 107, 254, 0.14);
  box-shadow: 0 10px 22px rgba(23, 45, 88, 0.10);
  box-sizing: border-box;
}

body:not(.admin-route) .game-brand .front-game-avatar {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body:not(.admin-route) .game-brand .front-game-avatar.has-site-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.78);
}

body:not(.admin-route) .game-user strong {
  color: var(--front-v3-title);
  font-size: 15px;
}

body:not(.admin-route) .game-user small {
  color: var(--front-v3-subtle);
  font-size: 12px;
  font-weight: 600;
}

body:not(.admin-route) .game-rank {
  height: 26px;
  min-width: 64px;
  background: rgba(36, 107, 254, 0.10);
  color: #1d4ed8;
  border: 1px solid rgba(36, 107, 254, 0.18);
  box-shadow: none;
}

body:not(.admin-route) .game-assets {
  gap: 10px;
  padding: 0 var(--front-v3-page-pad);
}

body:not(.admin-route) .game-asset-card {
  min-height: 72px;
  padding: 0 14px;
  border: 1px solid var(--front-v3-card-border);
  border-radius: var(--front-v3-card-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--front-v3-card-shadow);
  grid-template-columns: 42px minmax(0, 1fr) minmax(72px, auto);
}

body:not(.admin-route) .asset-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: 0 8px 18px rgba(36, 107, 254, 0.14);
}

body:not(.admin-route) .game-asset-card strong {
  color: var(--front-v3-title);
  font-size: 14px;
}

body:not(.admin-route) .game-asset-card small {
  color: var(--front-v3-subtle);
  font-size: 12px;
  font-weight: 600;
}

body:not(.admin-route) .game-asset-card em {
  color: #0f172a;
  font-size: 16px;
}

body:not(.admin-route) .game-asset-card em span {
  color: var(--front-v3-subtle);
}

body:not(.admin-route) .game-grid,
body:not(.admin-route) .task-grid,
body:not(.admin-route) .match-grid {
  padding-left: var(--front-v3-page-pad);
  padding-right: var(--front-v3-page-pad);
}

body:not(.admin-route) .game-grid img,
body:not(.admin-route) .task-grid img,
body:not(.admin-route) .match-grid img {
  border-radius: 12px;
  background: #fff;
}

body:not(.admin-route) .start-logo {
  width: 52px;
  height: 52px;
  min-height: 52px;
  margin-top: -22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(36, 107, 254, 0.20);
}

body:not(.admin-route) .mine-page {
  background:
    linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
}

body:not(.admin-route) .mine-page .app-page-header,
body:not(.admin-route) .mine-header {
  margin-bottom: 10px;
  background: var(--front-v3-header-bg);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

body:not(.admin-route) .mine-member-card,
body:not(.admin-route) .mine-balance-card,
body:not(.admin-route) .mine-list {
  width: auto;
  margin-left: var(--front-v3-page-pad);
  margin-right: var(--front-v3-page-pad);
  border-radius: var(--front-v3-card-radius);
  border: 1px solid var(--front-v3-card-border);
  box-shadow: var(--front-v3-card-shadow);
}

body:not(.admin-route) .mine-member-card {
  margin-top: 12px;
  min-height: 124px;
  padding: 16px 14px;
  background:
    linear-gradient(135deg, rgba(36, 107, 254, 0.14), rgba(20, 184, 166, 0.10)),
    #ffffff;
  color: var(--front-v3-title);
  overflow: hidden;
}

body:not(.admin-route) .mine-member-card::before {
  display: none;
}

body:not(.admin-route) .mine-member-main h2 {
  color: var(--front-v3-title);
}

body:not(.admin-route) .mine-member-main p,
body:not(.admin-route) .mine-credit {
  color: var(--front-v3-subtle);
}

body:not(.admin-route) .mine-rank-name {
  background: rgba(36, 107, 254, 0.10);
  color: #1d4ed8;
  border: 1px solid rgba(36, 107, 254, 0.18);
}

body:not(.admin-route) .mine-credit-track {
  background: rgba(36, 107, 254, 0.12);
}

body:not(.admin-route) .mine-credit-bar {
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}

body:not(.admin-route) .mine-section-title {
  margin: 14px calc(var(--front-v3-page-pad) + 2px) 6px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.admin-route) .mine-list {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
}

body:not(.admin-route) .mine-row {
  min-height: var(--front-v3-row-h);
  padding: 10px 13px;
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  gap: 11px;
  background: transparent;
  border-radius: 0;
}

body:not(.admin-route) .mine-row + .mine-row {
  border-top: 1px solid var(--front-v3-divider);
}

body:not(.admin-route) .mine-row:last-child {
  border-bottom: 0;
}

body:not(.admin-route) .mine-row strong {
  color: var(--front-v3-title);
  font-size: 14px;
  font-weight: 800;
}

body:not(.admin-route) .mine-row small {
  margin-top: 2px;
  color: var(--front-v3-subtle);
  font-size: 12px;
  line-height: 1.35;
}

body:not(.admin-route) .mine-row > svg {
  width: 18px;
  height: 18px;
  color: #64748b;
  stroke-width: 2.2;
}

body:not(.admin-route) .mine-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(36, 107, 254, 0.08);
  box-shadow: none;
}

body:not(.admin-route) .mine-row-icon svg {
  width: 18px;
  height: 18px;
}

body:not(.admin-route) .tabbar {
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 0 18px env(safe-area-inset-bottom, 0px);
  border-top: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: 0 -8px 22px rgba(22, 35, 58, 0.08);
}

body:not(.admin-route) .tabbar a {
  height: 60px;
  min-height: 60px;
  gap: 2px;
}

body:not(.admin-route) .tabbar svg {
  width: 22px;
  height: 22px;
}

body:not(.admin-route) .tabbar a.active::before {
  top: 5px;
  height: 2px;
  width: 24px;
}

body:not(.admin-route) .route-body,
body:not(.admin-route) .mine-page,
body:not(.admin-route) .game-page,
body:not(.admin-route) .front-record-page {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

body:not(.admin-route) .no-tabbar .route-body,
body:not(.admin-route) .no-tabbar .mine-page {
  padding-bottom: 26px;
}

@media (max-width: 430px) {
  body:not(.admin-route) {
    --front-v3-page-pad: 14px;
  }

  body:not(.admin-route) .game-page .app-page-header {
    padding-left: var(--front-v3-page-pad);
    padding-right: var(--front-v3-page-pad);
  }

  body:not(.admin-route) .game-user,
  body:not(.admin-route) .game-assets,
  body:not(.admin-route) .mine-member-card,
  body:not(.admin-route) .mine-balance-card,
  body:not(.admin-route) .mine-list {
    margin-left: var(--front-v3-page-pad);
    margin-right: var(--front-v3-page-pad);
  }

  body:not(.admin-route) .game-assets {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Front v3 overflow/icon fix: keep visual changes narrow and scoped. */
body:not(.admin-route),
body:not(.admin-route) .phone-shell,
body:not(.admin-route) .route-page,
body:not(.admin-route) .route-body,
body:not(.admin-route) .game-page,
body:not(.admin-route) .mine-page {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

body:not(.admin-route) .route-body > *,
body:not(.admin-route) .game-page > *,
body:not(.admin-route) .mine-page > *,
body:not(.admin-route) .front-record-page > *,
body:not(.admin-route) .withdraw-page > *,
body:not(.admin-route) .security-page > *,
body:not(.admin-route) .front-auth-page > * {
  max-width: 100%;
  box-sizing: border-box;
}

body:not(.admin-route) .game-user,
body:not(.admin-route) .game-assets,
body:not(.admin-route) .game-asset-card,
body:not(.admin-route) .game-alert,
body:not(.admin-route) .match-title,
body:not(.admin-route) .mine-member-card,
body:not(.admin-route) .mine-balance-card,
body:not(.admin-route) .mine-list,
body:not(.admin-route) .front-home-menu-card,
body:not(.admin-route) .vip-card,
body:not(.admin-route) .withdraw-panel,
body:not(.admin-route) .security-card,
body:not(.admin-route) .front-auth-card {
  max-width: 100%;
  box-sizing: border-box;
}

body:not(.admin-route) .game-page .top-actions,
body:not(.admin-route) .game-page .app-page-header .top-actions,
body:not(.admin-route) .game-page .app-page-header > div:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

body:not(.admin-route) .game-page .icon-btn,
body:not(.admin-route) .game-page .plain-icon,
body:not(.admin-route) .game-page .plain-icon.is-blue {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 32, 51, 0.10);
  box-shadow: 0 6px 16px rgba(22, 35, 58, 0.08);
}

body:not(.admin-route) .game-page .icon-btn svg,
body:not(.admin-route) .game-page .plain-icon svg,
body:not(.admin-route) .game-page .plain-icon.is-blue svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.15;
}

body:not(.admin-route) .mine-member-card {
  overflow: hidden;
  grid-template-columns: 54px minmax(0, 1fr) minmax(84px, 96px);
  grid-template-rows: auto auto;
  padding-right: 112px;
}

body:not(.admin-route) .mine-rank-badge {
  top: 12px;
  right: 14px;
  width: 68px;
  height: 68px;
  max-width: 68px;
  max-height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.12));
}

body:not(.admin-route) .mine-rank-name {
  top: 82px;
  right: 12px;
  width: 88px;
  max-width: 88px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-route) .mine-member-main,
body:not(.admin-route) .mine-credit {
  min-width: 0;
}

body:not(.admin-route) .mine-member-main h2,
body:not(.admin-route) .mine-member-main p,
body:not(.admin-route) .mine-credit span {
  overflow: hidden;
  text-overflow: ellipsis;
}

body:not(.admin-route) .mine-credit {
  grid-column: 1 / -1;
  padding-right: 0;
}

body:not(.admin-route) .tabbar {
  max-width: min(100%, var(--max-w));
  box-sizing: border-box;
}

@media (max-width: 430px) {
  body:not(.admin-route) .game-user,
  body:not(.admin-route) .game-alert,
  body:not(.admin-route) .mine-member-card,
  body:not(.admin-route) .mine-balance-card,
  body:not(.admin-route) .mine-list {
    width: auto;
    margin-left: var(--front-v3-page-pad);
    margin-right: var(--front-v3-page-pad);
  }

  body:not(.admin-route) .mine-member-card {
    grid-template-columns: 50px minmax(0, 1fr) 82px;
    padding-right: 96px;
  }

  body:not(.admin-route) .mine-rank-badge {
    right: 12px;
    width: 58px;
    height: 58px;
    max-width: 58px;
    max-height: 58px;
  }

  body:not(.admin-route) .mine-rank-name {
    top: 72px;
    right: 10px;
    width: 76px;
    max-width: 76px;
    font-size: 10px;
  }
}

/* Front theme color/contrast fix: token-driven frontend only, admin stays isolated. */
body:not(.admin-route) {
  --front-primary: #1677ff;
  --front-primary-strong: #0958d9;
  --front-primary-soft: rgba(22, 119, 255, 0.12);
  --front-primary-text: #ffffff;
  --front-accent: #f59e0b;
  --front-bg: #f5f8ff;
  --front-surface: #ffffff;
  --front-surface-2: #eef5ff;
  --front-card: rgba(255, 255, 255, 0.96);
  --front-text: #172033;
  --front-text-muted: #68758a;
  --front-border: rgba(94, 113, 145, 0.18);
  --front-icon-bg: rgba(255, 255, 255, 0.94);
  --front-icon-color: #24324a;
  --front-button-text: #ffffff;
  --front-danger: #dc2626;
  --front-success: #16a34a;
  --front-warning: #d97706;
  --front-shadow: 0 14px 36px rgba(27, 43, 75, 0.10);
  --front-shadow-soft: 0 8px 24px rgba(27, 43, 75, 0.08);
  --front-theme-primary: var(--front-primary);
  --front-theme-primary-hover: var(--front-primary-strong);
  --front-theme-primary-shadow: color-mix(in srgb, var(--front-primary) 28%, transparent);
  --front-polish-bg: var(--front-bg);
  --front-polish-bg-soft: var(--front-surface-2);
  --front-polish-card: var(--front-card);
  --front-polish-text: var(--front-text);
  --front-polish-muted: var(--front-text-muted);
  --front-polish-border: var(--front-border);
  --front-polish-primary: var(--front-primary);
  --front-polish-primary-2: var(--front-primary-strong);
  --front-polish-accent: var(--front-accent);
  --front-polish-success: var(--front-success);
  --front-polish-warning: var(--front-warning);
  --front-polish-danger: var(--front-danger);
  --front-v3-card-border: var(--front-border);
  --front-v3-header-bg: color-mix(in srgb, var(--front-surface) 92%, transparent);
  --front-v3-divider: var(--front-border);
  --front-v3-title: var(--front-text);
  --front-v3-subtle: var(--front-text-muted);
  --page: var(--front-bg);
  --card: var(--front-card);
  --ink: var(--front-text);
  --muted: var(--front-text-muted);
  background: var(--front-bg);
  color: var(--front-text);
}

html[data-front-theme="purple"] body:not(.admin-route) {
  --front-primary: #7c3aed;
  --front-primary-strong: #5b21b6;
  --front-primary-soft: rgba(124, 58, 237, 0.13);
  --front-accent: #d946ef;
  --front-bg: #f8f5ff;
  --front-surface-2: #f1eaff;
  --front-icon-color: #4c1d95;
}

html[data-front-theme="green"] body:not(.admin-route) {
  --front-primary: #16a34a;
  --front-primary-strong: #166534;
  --front-primary-soft: rgba(22, 163, 74, 0.13);
  --front-accent: #0d9488;
  --front-bg: #f3fbf6;
  --front-surface-2: #e8f8ee;
  --front-icon-color: #14532d;
}

html[data-front-theme="bright-soft"] body:not(.admin-route) {
  --front-primary: #f59e0b;
  --front-primary-strong: #d97706;
  --front-primary-soft: rgba(245, 158, 11, 0.14);
  --front-primary-text: #ffffff;
  --front-accent: #f4b860;
  --front-bg: #fff7ed;
  --front-surface: #ffffff;
  --front-surface-2: #fff1e6;
  --front-card: rgba(255, 255, 255, 0.97);
  --front-text: #172033;
  --front-text-muted: #64748b;
  --front-border: rgba(180, 112, 37, 0.18);
  --front-icon-bg: rgba(255, 255, 255, 0.95);
  --front-icon-color: #92400e;
  --front-button-text: #ffffff;
  --front-shadow: 0 14px 36px rgba(146, 64, 14, 0.12);
  --front-shadow-soft: 0 8px 24px rgba(146, 64, 14, 0.08);
}

html[data-front-theme="dark"] body:not(.admin-route),
.dark-mode body:not(.admin-route) {
  --front-primary: #f59e0b;
  --front-primary-strong: #d97706;
  --front-primary-soft: rgba(245, 158, 11, 0.14);
  --front-primary-text: #ffffff;
  --front-accent: #f4b860;
  --front-bg: #fff7ed;
  --front-surface: #ffffff;
  --front-surface-2: #fff1e6;
  --front-card: rgba(255, 255, 255, 0.97);
  --front-text: #172033;
  --front-text-muted: #64748b;
  --front-border: rgba(180, 112, 37, 0.18);
  --front-icon-bg: rgba(255, 255, 255, 0.95);
  --front-icon-color: #92400e;
  --front-button-text: #ffffff;
  --front-danger: #dc2626;
  --front-success: #16a34a;
  --front-warning: #d97706;
  --front-shadow: 0 14px 36px rgba(146, 64, 14, 0.12);
  --front-shadow-soft: 0 8px 24px rgba(146, 64, 14, 0.08);
}

body:not(.admin-route) .phone-shell,
body:not(.admin-route) .route-page,
body:not(.admin-route) .route-body,
body:not(.admin-route) .game-page,
body:not(.admin-route) .mine-page,
body:not(.admin-route) .wallet-page,
body:not(.admin-route) .withdraw-page,
body:not(.admin-route) .security-page,
body:not(.admin-route) .front-auth-page,
body:not(.admin-route) .front-record-page,
body:not(.admin-route) .setting-page {
  background: var(--front-bg);
  color: var(--front-text);
}

body:not(.admin-route) .app-page-header,
body:not(.admin-route) .stack-header,
body:not(.admin-route) .route-header {
  background: var(--front-v3-header-bg);
  color: var(--front-text);
  border-color: var(--front-border);
}

body:not(.admin-route) .game-user,
body:not(.admin-route) .game-asset-card,
body:not(.admin-route) .game-alert,
body:not(.admin-route) .mine-member-card,
body:not(.admin-route) .mine-balance-card,
body:not(.admin-route) .mine-list,
body:not(.admin-route) .mine-quick-actions,
body:not(.admin-route) .front-home-menu-card,
body:not(.admin-route) .vip-card,
body:not(.admin-route) .wallet-panel,
body:not(.admin-route) .withdraw-panel,
body:not(.admin-route) .security-card,
body:not(.admin-route) .front-auth-card,
body:not(.admin-route) .front-record-card,
body:not(.admin-route) .theme-color-card,
body:not(.admin-route) .setting-list-card,
body:not(.admin-route) .setting-switch-card,
body:not(.admin-route) .local-dialog-box,
body:not(.admin-route) .front-service-panel,
body:not(.admin-route) .front-service-card {
  background: var(--front-card);
  color: var(--front-text);
  border-color: var(--front-border);
  box-shadow: var(--front-shadow-soft);
}

body:not(.admin-route) h1,
body:not(.admin-route) h2,
body:not(.admin-route) h3,
body:not(.admin-route) h4,
body:not(.admin-route) strong,
body:not(.admin-route) .mine-member-main h2,
body:not(.admin-route) .game-user strong,
body:not(.admin-route) .asset-main strong,
body:not(.admin-route) .wallet-balance strong,
body:not(.admin-route) .withdraw-balance strong,
body:not(.admin-route) .front-record-amount {
  color: var(--front-text);
}

body:not(.admin-route) p,
body:not(.admin-route) small,
body:not(.admin-route) .muted,
body:not(.admin-route) .mine-member-main p,
body:not(.admin-route) .mine-credit,
body:not(.admin-route) .asset-main span,
body:not(.admin-route) .mine-row em,
body:not(.admin-route) .front-record-meta,
body:not(.admin-route) .withdraw-tip,
body:not(.admin-route) .security-desc,
body:not(.admin-route) .front-auth-desc {
  color: var(--front-text-muted);
}

body:not(.admin-route) .front-charge-balance-card {
  color: var(--front-hero-text, #fff);
}

body:not(.admin-route) .front-charge-balance-card span {
  color: var(--front-hero-muted, rgba(255, 255, 255, 0.78));
  opacity: 1;
}

body:not(.admin-route) .front-charge-balance-card strong {
  color: var(--front-hero-amount, #fff);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

body:not(.admin-route) .primary-btn,
body:not(.admin-route) .ref-primary-btn,
body:not(.admin-route) .front-auth-submit,
body:not(.admin-route) .withdraw-submit-btn,
body:not(.admin-route) .mine-withdraw,
body:not(.admin-route) .sheet-primary,
body:not(.admin-route) .start-logo,
body:not(.admin-route) .local-dialog-box button:last-child {
  background: linear-gradient(135deg, var(--front-primary), var(--front-primary-strong));
  color: var(--front-button-text);
  border-color: transparent;
}

body:not(.admin-route) .secondary-btn,
body:not(.admin-route) .front-secondary-btn,
body:not(.admin-route) .mine-deposit,
body:not(.admin-route) .sheet-secondary,
body:not(.admin-route) .local-dialog-box button:first-child {
  background: var(--front-primary-soft);
  color: var(--front-primary-strong);
  border-color: color-mix(in srgb, var(--front-primary) 18%, transparent);
}

body:not(.admin-route) .game-rank,
body:not(.admin-route) .mine-rank-name,
body:not(.admin-route) .vip-badge,
body:not(.admin-route) .status-tag,
body:not(.admin-route) .front-status-tag,
body:not(.admin-route) .auth-status,
body:not(.admin-route) .record-status,
body:not(.admin-route) .front-auth-chip {
  background: var(--front-primary-soft);
  color: var(--front-primary-strong);
  border-color: color-mix(in srgb, var(--front-primary) 18%, transparent);
}

body:not(.admin-route) .game-page .icon-btn,
body:not(.admin-route) .game-page .plain-icon,
body:not(.admin-route) .icon-btn,
body:not(.admin-route) .mine-row-icon,
body:not(.admin-route) .asset-icon,
body:not(.admin-route) .front-service-icon,
body:not(.admin-route) .front-service-avatar,
body:not(.admin-route) .setting-list-card button > i {
  background: var(--front-icon-bg);
  color: var(--front-icon-color);
  border-color: var(--front-border);
}

body:not(.admin-route) input,
body:not(.admin-route) select,
body:not(.admin-route) textarea,
body:not(.admin-route) .wallet-address-input,
body:not(.admin-route) .front-auth-input,
body:not(.admin-route) .withdraw-input {
  background: var(--front-surface);
  color: var(--front-text);
  border-color: var(--front-border);
}

body:not(.admin-route) input:focus,
body:not(.admin-route) select:focus,
body:not(.admin-route) textarea:focus,
body:not(.admin-route) .wallet-address-input:focus,
body:not(.admin-route) .front-auth-input:focus,
body:not(.admin-route) .withdraw-input:focus {
  border-color: var(--front-primary);
  box-shadow: 0 0 0 3px var(--front-primary-soft);
  outline: none;
}

body:not(.admin-route) .tabbar {
  background: color-mix(in srgb, var(--front-surface) 94%, transparent);
  border-color: var(--front-border);
}

body:not(.admin-route) .tabbar a {
  color: var(--front-text-muted);
}

body:not(.admin-route) .tabbar a.active {
  color: var(--front-primary);
}

body:not(.admin-route) .tabbar a.active .tabbar-icon,
body:not(.admin-route) .tabbar a.active::before {
  background: linear-gradient(135deg, var(--front-primary), var(--front-primary-strong));
}

body:not(.admin-route) .local-dialog-mask,
body:not(.admin-route) .front-service-mask {
  background: rgba(15, 23, 42, 0.46);
}

html[data-front-theme="dark"] body:not(.admin-route) .front-theme-setting-panel button:hover,
html[data-front-theme="dark"] body:not(.admin-route) .front-theme-setting-panel button.is-active,
.dark-mode body:not(.admin-route) .front-theme-setting-panel button:hover,
.dark-mode body:not(.admin-route) .front-theme-setting-panel button.is-active {
  background: var(--front-primary-soft);
  color: var(--front-primary-strong);
}

/* Admin visual polish v1: backend-only surface refinement. Buttons are intentionally untouched. */
body.admin-route {
  --admin-polish-page: #f5f7fb;
  --admin-polish-surface: #ffffff;
  --admin-polish-surface-soft: #f8fafc;
  --admin-polish-border: #e5eaf2;
  --admin-polish-border-soft: #eef2f7;
  --admin-polish-text: #111827;
  --admin-polish-muted: #64748b;
  --admin-polish-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  --admin-polish-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.045);
  background:
    radial-gradient(circle at 18% 0%, rgba(22, 119, 255, 0.06), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, var(--admin-polish-page) 100%);
}

body.admin-route .phone-shell,
body.admin-route .route-page,
body.admin-route .route-body,
body.admin-route .admin-app,
body.admin-route .admin-main,
body.admin-route .admin-content {
  background: transparent;
}

body.admin-route .admin-content {
  padding: 18px;
}

body.admin-route .admin-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid var(--admin-polish-border);
  box-shadow: 8px 0 28px rgba(15, 23, 42, 0.04);
}

body.admin-route .admin-subnav {
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid var(--admin-polish-border-soft);
  border-radius: 8px;
}

body.admin-route .admin-nav-item.active,
body.admin-route .admin-sub-item.active {
  background: #eaf4ff;
  box-shadow: inset 3px 0 0 #1677ff;
}

body.admin-route .admin-topbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--admin-polish-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(10px);
}

body.admin-route .admin-brand {
  background: linear-gradient(115deg, #dff8fb 0%, #eaf1ff 55%, #fae9f8 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

body.admin-route .admin-panel,
body.admin-route .admin-card,
body.admin-route .admin-setting-card,
body.admin-route .admin-stat-card,
body.admin-route .admin-withdraw-grid article,
body.admin-route .admin-member-grid article {
  background: var(--admin-polish-surface);
  border: 1px solid var(--admin-polish-border);
  border-radius: 8px;
  box-shadow: var(--admin-polish-shadow-soft);
}

body.admin-route .admin-panel {
  overflow: hidden;
}

body.admin-route .admin-panel + .admin-panel,
body.admin-route .admin-setting-card + .admin-setting-card {
  margin-top: 16px;
}

body.admin-route .admin-panel-head,
body.admin-route .admin-settings-head {
  border-bottom-color: var(--admin-polish-border-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

body.admin-route .admin-panel-titleline h2,
body.admin-route .admin-panel-head h2,
body.admin-route .admin-settings-head h2,
body.admin-route .admin-section-title {
  color: var(--admin-polish-text);
  letter-spacing: 0;
}

body.admin-route .admin-table-wrap {
  border: 1px solid var(--admin-polish-border);
  border-radius: 8px;
  background: var(--admin-polish-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.admin-route .admin-table {
  border-collapse: separate;
  border-spacing: 0;
  background: var(--admin-polish-surface);
  border-color: var(--admin-polish-border-soft);
}

body.admin-route .admin-table th {
  background: #f8fafc;
  color: #334155;
  border-color: var(--admin-polish-border);
}

body.admin-route .admin-table td {
  border-color: var(--admin-polish-border-soft);
}

body.admin-route .admin-table tbody tr:hover td {
  background: #f9fbff;
}

body.admin-route .admin-setting-field,
body.admin-route .admin-upload-field,
body.admin-route .admin-setting-grid > div,
body.admin-route .admin-dialog-form label,
body.admin-route .admin-drawer-form label,
body.admin-route .admin-drawer-field {
  gap: 7px;
}

body.admin-route .admin-setting-field span,
body.admin-route .admin-upload-field span,
body.admin-route .admin-setting-grid > div > span,
body.admin-route .admin-dialog-form span,
body.admin-route .admin-drawer-form label span,
body.admin-route .admin-drawer-field span {
  color: #334155;
}

body.admin-route .admin-setting-field input,
body.admin-route .admin-setting-field select,
body.admin-route .admin-setting-field textarea,
body.admin-route .admin-dialog-form input,
body.admin-route .admin-dialog-form select,
body.admin-route .admin-dialog-textarea,
body.admin-route .admin-drawer-form input,
body.admin-route .admin-drawer-form textarea {
  border-color: #dbe3ee;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.035);
}

body.admin-route .admin-setting-field input:focus,
body.admin-route .admin-setting-field select:focus,
body.admin-route .admin-setting-field textarea:focus,
body.admin-route .admin-dialog-form input:focus,
body.admin-route .admin-dialog-form select:focus,
body.admin-route .admin-dialog-textarea:focus,
body.admin-route .admin-drawer-form input:focus,
body.admin-route .admin-drawer-form textarea:focus {
  border-color: #9ec5ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.10);
  outline: none;
}

body.admin-route .local-dialog-box,
body.admin-route .admin-user-menu,
body.admin-route .admin-quick-menu,
body.admin-route .admin-filter-date-panel,
body.admin-route .admin-filter-select-menu {
  border-color: var(--admin-polish-border);
  border-radius: 8px;
  box-shadow: var(--admin-polish-shadow);
}

body.admin-route .admin-account-dialog .local-dialog-box > strong,
body.admin-route .admin-edit-dialog .local-dialog-box > strong,
body.admin-route .admin-permission-dialog .local-dialog-box > strong,
body.admin-route .admin-finance-log-dialog .local-dialog-box > strong {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom-color: var(--admin-polish-border-soft);
}

body.admin-route .admin-settings-tabs {
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid var(--admin-polish-border-soft);
}

body.admin-route .admin-setting-disabled-section {
  border-color: var(--admin-polish-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.admin-route .admin-app.admin-dark-mode {
  --admin-polish-page: #111827;
  --admin-polish-surface: #172033;
  --admin-polish-surface-soft: #1d2940;
  --admin-polish-border: #2a3854;
  --admin-polish-border-soft: #24324d;
  --admin-polish-text: #e5eef8;
  --admin-polish-muted: #aab7c7;
  background: #111827;
}

/* Admin light theme polish v2: force backend back to a clear professional light theme. */
body.admin-route {
  --admin-polish-page: #f4f7fb;
  --admin-polish-surface: #ffffff;
  --admin-polish-surface-soft: #f8fafc;
  --admin-polish-border: #e5eaf2;
  --admin-polish-border-soft: #edf2f7;
  --admin-polish-text: #1f2937;
  --admin-polish-muted: #64748b;
  --admin-polish-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  --admin-polish-shadow-soft: 0 5px 16px rgba(15, 23, 42, 0.045);
  background: linear-gradient(180deg, #f8fbff 0%, var(--admin-polish-page) 100%);
  color: var(--admin-polish-text);
}

body.admin-route .admin-app,
body.admin-route .admin-app.admin-dark-mode {
  --admin-polish-page: #f4f7fb;
  --admin-polish-surface: #ffffff;
  --admin-polish-surface-soft: #f8fafc;
  --admin-polish-border: #e5eaf2;
  --admin-polish-border-soft: #edf2f7;
  --admin-polish-text: #1f2937;
  --admin-polish-muted: #64748b;
  color: var(--admin-polish-text);
  background: transparent;
}

body.admin-route .admin-app.admin-dark-mode .admin-main,
body.admin-route .admin-app.admin-dark-mode .admin-content,
body.admin-route .admin-main,
body.admin-route .admin-content,
body.admin-route .route-page,
body.admin-route .route-body,
body.admin-route .phone-shell {
  background: transparent;
  color: var(--admin-polish-text);
}

body.admin-route .admin-sidebar,
body.admin-route .admin-app.admin-dark-mode .admin-sidebar {
  background: #ffffff;
  color: #334155;
  border-right: 1px solid var(--admin-polish-border);
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.045);
}

body.admin-route .admin-brand,
body.admin-route .admin-app.admin-dark-mode .admin-brand,
body.admin-route .admin-topbar,
body.admin-route .admin-app.admin-dark-mode .admin-topbar {
  background: linear-gradient(115deg, #dff8fb 0%, #eaf1ff 55%, #fae9f8 100%);
  color: #111827;
}

body.admin-route .admin-topbar {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

body.admin-route .admin-nav-item,
body.admin-route .admin-nav-heading,
body.admin-route .admin-sub-item,
body.admin-route .admin-app.admin-dark-mode .admin-nav-item,
body.admin-route .admin-app.admin-dark-mode .admin-nav-heading,
body.admin-route .admin-app.admin-dark-mode .admin-sub-item {
  color: #334155;
}

body.admin-route .admin-subnav,
body.admin-route .admin-app.admin-dark-mode .admin-subnav {
  background: #f8fafc;
  border: 1px solid var(--admin-polish-border-soft);
}

body.admin-route .admin-nav-item.active,
body.admin-route .admin-sub-item.active,
body.admin-route .admin-app.admin-dark-mode .admin-nav-item.active,
body.admin-route .admin-app.admin-dark-mode .admin-sub-item.active {
  color: #1677ff;
  background: #eaf3ff;
  box-shadow: inset 3px 0 0 #1677ff;
}

body.admin-route .admin-panel,
body.admin-route .admin-card,
body.admin-route .admin-setting-card,
body.admin-route .admin-stat-card,
body.admin-route .admin-withdraw-grid article,
body.admin-route .admin-member-grid article,
body.admin-route .admin-app.admin-dark-mode .admin-panel,
body.admin-route .admin-app.admin-dark-mode .admin-card,
body.admin-route .admin-app.admin-dark-mode .admin-setting-card,
body.admin-route .admin-app.admin-dark-mode .admin-stat-card,
body.admin-route .admin-app.admin-dark-mode .admin-withdraw-grid article,
body.admin-route .admin-app.admin-dark-mode .admin-member-grid article {
  background: #ffffff;
  color: var(--admin-polish-text);
  border: 1px solid var(--admin-polish-border);
  box-shadow: var(--admin-polish-shadow-soft);
}

body.admin-route .admin-panel-head,
body.admin-route .admin-settings-head,
body.admin-route .admin-app.admin-dark-mode .admin-panel-head,
body.admin-route .admin-app.admin-dark-mode .admin-settings-head {
  background: #ffffff;
  color: var(--admin-polish-text);
  border-bottom: 1px solid var(--admin-polish-border-soft);
}

body.admin-route .admin-panel-titleline h2,
body.admin-route .admin-panel-head h2,
body.admin-route .admin-settings-head h2,
body.admin-route .admin-section-title,
body.admin-route .admin-app.admin-dark-mode .admin-panel-titleline h2,
body.admin-route .admin-app.admin-dark-mode .admin-panel-head h2,
body.admin-route .admin-app.admin-dark-mode .admin-settings-head h2,
body.admin-route .admin-app.admin-dark-mode .admin-section-title {
  color: #1f2937;
}

body.admin-route .admin-table-wrap,
body.admin-route .admin-app.admin-dark-mode .admin-table-wrap {
  background: #ffffff;
  border: 1px solid var(--admin-polish-border);
  box-shadow: none;
}

body.admin-route .admin-table,
body.admin-route .admin-app.admin-dark-mode .admin-table {
  background: #ffffff;
  color: #1f2937;
  border-color: var(--admin-polish-border-soft);
}

body.admin-route .admin-table th,
body.admin-route .admin-app.admin-dark-mode .admin-table th {
  background: #f8fafc;
  color: #334155;
  border-color: var(--admin-polish-border);
}

body.admin-route .admin-table td,
body.admin-route .admin-app.admin-dark-mode .admin-table td {
  color: #1f2937;
  border-color: var(--admin-polish-border-soft);
}

body.admin-route .admin-table tbody tr:hover td,
body.admin-route .admin-app.admin-dark-mode .admin-table tbody tr:hover td {
  background: #f8fbff;
}

body.admin-route .admin-table small,
body.admin-route .admin-table .muted,
body.admin-route .admin-app.admin-dark-mode .admin-table small,
body.admin-route .admin-app.admin-dark-mode .admin-table .muted {
  color: var(--admin-polish-muted);
}

body.admin-route .admin-setting-field span,
body.admin-route .admin-upload-field span,
body.admin-route .admin-setting-grid > div > span,
body.admin-route .admin-dialog-form span,
body.admin-route .admin-drawer-form label span,
body.admin-route .admin-drawer-field span,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field span,
body.admin-route .admin-app.admin-dark-mode .admin-upload-field span,
body.admin-route .admin-app.admin-dark-mode .admin-setting-grid > div > span,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-form span,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-form label span,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-field span {
  color: #334155;
}

body.admin-route .admin-setting-field input,
body.admin-route .admin-setting-field select,
body.admin-route .admin-setting-field textarea,
body.admin-route .admin-dialog-form input,
body.admin-route .admin-dialog-form select,
body.admin-route .admin-dialog-textarea,
body.admin-route .admin-drawer-form input,
body.admin-route .admin-drawer-form textarea,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field input,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field select,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field textarea,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-form input,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-form select,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-textarea,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-form input,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-form textarea {
  background: #ffffff;
  color: #1f2937;
  border-color: #dbe3ee;
}

body.admin-route .local-dialog-box,
body.admin-route .admin-user-menu,
body.admin-route .admin-quick-menu,
body.admin-route .admin-filter-date-panel,
body.admin-route .admin-filter-select-menu,
body.admin-route .admin-app.admin-dark-mode .local-dialog-box,
body.admin-route .admin-app.admin-dark-mode .admin-user-menu,
body.admin-route .admin-app.admin-dark-mode .admin-quick-menu,
body.admin-route .admin-app.admin-dark-mode .admin-filter-date-panel,
body.admin-route .admin-app.admin-dark-mode .admin-filter-select-menu {
  background: #ffffff;
  color: #1f2937;
  border-color: var(--admin-polish-border);
}

/* Admin light theme switch v3: the theme toggle now switches between two light backend palettes. */
body.admin-route {
  --admin-theme-bg: #f4f7fb;
  --admin-theme-panel: #ffffff;
  --admin-theme-panel-soft: #f8fafc;
  --admin-theme-sidebar: #ffffff;
  --admin-theme-sidebar-soft: #f8fafc;
  --admin-theme-border: #e5eaf2;
  --admin-theme-border-soft: #edf2f7;
  --admin-theme-text: #1f2937;
  --admin-theme-muted: #64748b;
  --admin-theme-accent: #1677ff;
  --admin-theme-accent-strong: #0958d9;
  --admin-theme-active-bg: #eaf3ff;
  --admin-theme-hover: #f8fbff;
  --admin-theme-topbar: linear-gradient(115deg, #dff8fb 0%, #eaf1ff 55%, #fae9f8 100%);
  --admin-theme-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  --admin-theme-shadow-soft: 0 5px 16px rgba(15, 23, 42, 0.045);
  background: linear-gradient(180deg, #f8fbff 0%, var(--admin-theme-bg) 100%);
  color: var(--admin-theme-text);
}

body.admin-route.admin-dark-mode,
body.admin-route[data-admin-theme="soft"],
body.admin-route .admin-app.admin-dark-mode,
body.admin-route .admin-app[data-admin-theme="soft"] {
  --admin-theme-bg: #f8f5ff;
  --admin-theme-panel: #ffffff;
  --admin-theme-panel-soft: #fbfaff;
  --admin-theme-sidebar: #ffffff;
  --admin-theme-sidebar-soft: #fbfaff;
  --admin-theme-border: #e9dffb;
  --admin-theme-border-soft: #f0e7ff;
  --admin-theme-text: #1f2937;
  --admin-theme-muted: #64748b;
  --admin-theme-accent: #7c3aed;
  --admin-theme-accent-strong: #5b21b6;
  --admin-theme-active-bg: #f0eafe;
  --admin-theme-hover: #fbf7ff;
  --admin-theme-topbar: linear-gradient(115deg, #f1eaff 0%, #e9f0ff 58%, #fff1f8 100%);
  --admin-theme-shadow: 0 12px 28px rgba(91, 33, 182, 0.09);
  --admin-theme-shadow-soft: 0 5px 16px rgba(91, 33, 182, 0.06);
}

body.admin-route .admin-app,
body.admin-route .admin-app.admin-dark-mode {
  color: var(--admin-theme-text);
  background: transparent;
}

body.admin-route .admin-app.admin-dark-mode .admin-main,
body.admin-route .admin-app.admin-dark-mode .admin-content,
body.admin-route .admin-main,
body.admin-route .admin-content,
body.admin-route .route-page,
body.admin-route .route-body,
body.admin-route .phone-shell {
  background: transparent;
  color: var(--admin-theme-text);
}

body.admin-route .admin-sidebar,
body.admin-route .admin-app.admin-dark-mode .admin-sidebar {
  background: var(--admin-theme-sidebar);
  color: #334155;
  border-right: 1px solid var(--admin-theme-border);
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.045);
}

body.admin-route .admin-brand,
body.admin-route .admin-app.admin-dark-mode .admin-brand,
body.admin-route .admin-topbar,
body.admin-route .admin-app.admin-dark-mode .admin-topbar {
  background: var(--admin-theme-topbar);
  color: #111827;
}

body.admin-route .admin-topbar {
  border-bottom: 1px solid var(--admin-theme-border);
}

body.admin-route .admin-logo {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--admin-theme-accent) 16%, transparent);
}

body.admin-route .admin-nav-item,
body.admin-route .admin-nav-heading,
body.admin-route .admin-sub-item,
body.admin-route .admin-app.admin-dark-mode .admin-nav-item,
body.admin-route .admin-app.admin-dark-mode .admin-nav-heading,
body.admin-route .admin-app.admin-dark-mode .admin-sub-item {
  color: #334155;
}

body.admin-route .admin-subnav,
body.admin-route .admin-app.admin-dark-mode .admin-subnav {
  background: var(--admin-theme-sidebar-soft);
  border: 1px solid var(--admin-theme-border-soft);
}

body.admin-route .admin-nav-item.active,
body.admin-route .admin-sub-item.active,
body.admin-route .admin-app.admin-dark-mode .admin-nav-item.active,
body.admin-route .admin-app.admin-dark-mode .admin-sub-item.active {
  color: var(--admin-theme-accent);
  background: var(--admin-theme-active-bg);
  box-shadow: inset 3px 0 0 var(--admin-theme-accent);
}

body.admin-route .admin-panel,
body.admin-route .admin-card,
body.admin-route .admin-setting-card,
body.admin-route .admin-stat-card,
body.admin-route .admin-withdraw-grid article,
body.admin-route .admin-member-grid article,
body.admin-route .admin-app.admin-dark-mode .admin-panel,
body.admin-route .admin-app.admin-dark-mode .admin-card,
body.admin-route .admin-app.admin-dark-mode .admin-setting-card,
body.admin-route .admin-app.admin-dark-mode .admin-stat-card,
body.admin-route .admin-app.admin-dark-mode .admin-withdraw-grid article,
body.admin-route .admin-app.admin-dark-mode .admin-member-grid article {
  background: var(--admin-theme-panel);
  color: var(--admin-theme-text);
  border: 1px solid var(--admin-theme-border);
  box-shadow: var(--admin-theme-shadow-soft);
}

body.admin-route .admin-panel-head,
body.admin-route .admin-settings-head,
body.admin-route .admin-app.admin-dark-mode .admin-panel-head,
body.admin-route .admin-app.admin-dark-mode .admin-settings-head {
  background: linear-gradient(180deg, var(--admin-theme-panel) 0%, var(--admin-theme-panel-soft) 100%);
  color: var(--admin-theme-text);
  border-bottom: 1px solid var(--admin-theme-border-soft);
}

body.admin-route .admin-panel-titleline h2,
body.admin-route .admin-panel-head h2,
body.admin-route .admin-settings-head h2,
body.admin-route .admin-section-title,
body.admin-route .admin-app.admin-dark-mode .admin-panel-titleline h2,
body.admin-route .admin-app.admin-dark-mode .admin-panel-head h2,
body.admin-route .admin-app.admin-dark-mode .admin-settings-head h2,
body.admin-route .admin-app.admin-dark-mode .admin-section-title {
  color: var(--admin-theme-text);
}

body.admin-route .admin-table-wrap,
body.admin-route .admin-app.admin-dark-mode .admin-table-wrap {
  background: var(--admin-theme-panel);
  border: 1px solid var(--admin-theme-border);
  box-shadow: none;
}

body.admin-route .admin-table,
body.admin-route .admin-app.admin-dark-mode .admin-table {
  background: var(--admin-theme-panel);
  color: var(--admin-theme-text);
  border-color: var(--admin-theme-border-soft);
}

body.admin-route .admin-table th,
body.admin-route .admin-app.admin-dark-mode .admin-table th {
  background: var(--admin-theme-panel-soft);
  color: #334155;
  border-color: var(--admin-theme-border);
}

body.admin-route .admin-table td,
body.admin-route .admin-app.admin-dark-mode .admin-table td {
  color: var(--admin-theme-text);
  border-color: var(--admin-theme-border-soft);
}

body.admin-route .admin-table tbody tr:hover td,
body.admin-route .admin-app.admin-dark-mode .admin-table tbody tr:hover td {
  background: var(--admin-theme-hover);
}

body.admin-route .admin-table small,
body.admin-route .admin-table .muted,
body.admin-route .admin-app.admin-dark-mode .admin-table small,
body.admin-route .admin-app.admin-dark-mode .admin-table .muted {
  color: var(--admin-theme-muted);
}

body.admin-route .admin-setting-field span,
body.admin-route .admin-upload-field span,
body.admin-route .admin-setting-grid > div > span,
body.admin-route .admin-dialog-form span,
body.admin-route .admin-drawer-form label span,
body.admin-route .admin-drawer-field span,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field span,
body.admin-route .admin-app.admin-dark-mode .admin-upload-field span,
body.admin-route .admin-app.admin-dark-mode .admin-setting-grid > div > span,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-form span,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-form label span,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-field span {
  color: #334155;
}

body.admin-route .admin-setting-field input,
body.admin-route .admin-setting-field select,
body.admin-route .admin-setting-field textarea,
body.admin-route .admin-dialog-form input,
body.admin-route .admin-dialog-form select,
body.admin-route .admin-dialog-textarea,
body.admin-route .admin-drawer-form input,
body.admin-route .admin-drawer-form textarea,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field input,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field select,
body.admin-route .admin-app.admin-dark-mode .admin-setting-field textarea,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-form input,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-form select,
body.admin-route .admin-app.admin-dark-mode .admin-dialog-textarea,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-form input,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-form textarea {
  background: var(--admin-theme-panel);
  color: var(--admin-theme-text);
  border-color: #dbe3ee;
}

body.admin-route .admin-setting-field input:focus,
body.admin-route .admin-setting-field select:focus,
body.admin-route .admin-setting-field textarea:focus,
body.admin-route .admin-dialog-form input:focus,
body.admin-route .admin-dialog-form select:focus,
body.admin-route .admin-dialog-textarea:focus,
body.admin-route .admin-drawer-form input:focus,
body.admin-route .admin-drawer-form textarea:focus {
  border-color: color-mix(in srgb, var(--admin-theme-accent) 48%, #dbe3ee);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--admin-theme-accent) 12%, transparent);
}

body.admin-route .local-dialog-box,
body.admin-route .admin-user-menu,
body.admin-route .admin-quick-menu,
body.admin-route .admin-filter-date-panel,
body.admin-route .admin-filter-select-menu,
body.admin-route .admin-app.admin-dark-mode .local-dialog-box,
body.admin-route .admin-app.admin-dark-mode .admin-user-menu,
body.admin-route .admin-app.admin-dark-mode .admin-quick-menu,
body.admin-route .admin-app.admin-dark-mode .admin-filter-date-panel,
body.admin-route .admin-app.admin-dark-mode .admin-filter-select-menu {
  background: var(--admin-theme-panel);
  color: var(--admin-theme-text);
  border-color: var(--admin-theme-border);
  box-shadow: var(--admin-theme-shadow);
}

body.admin-route .local-dialog-title,
body.admin-route .admin-drawer-title,
body.admin-route .admin-app.admin-dark-mode .local-dialog-title,
body.admin-route .admin-app.admin-dark-mode .admin-drawer-title {
  color: var(--admin-theme-accent-strong);
}

body.admin-route .admin-setting-disabled-section,
body.admin-route .admin-app.admin-dark-mode .admin-setting-disabled-section {
  border-color: var(--admin-theme-border);
  background: var(--admin-theme-panel-soft);
}

/* Admin filter/card polish v1: backend-only drawer and list-card refinement. Buttons intentionally untouched. */
body.admin-route .admin-comment-filter-mask,
body.admin-route [data-admin-online-filter-mask],
body.admin-route [data-admin-reference-filter-mask] {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
    rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
}

body.admin-route .admin-comment-filter-drawer,
body.admin-route [data-admin-online-filter-drawer],
body.admin-route [data-admin-reference-filter-drawer] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--admin-theme-panel-soft, #f8fafc) 100%);
  border-left: 1px solid var(--admin-theme-border, #e5eaf2);
  box-shadow: -18px 0 44px rgba(15, 23, 42, 0.16);
  color: var(--admin-theme-text, #1f2937);
}

body.admin-route .admin-comment-filter-header,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-header,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-header {
  min-height: 66px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, var(--admin-theme-panel-soft, #f8fafc) 100%);
  border-bottom: 1px solid var(--admin-theme-border-soft, #edf2f7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

body.admin-route .admin-comment-filter-title,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-title,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-title {
  color: var(--admin-theme-text, #1f2937);
  letter-spacing: 0;
}

body.admin-route .admin-comment-filter-title span,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-title span,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-title span {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body.admin-route .admin-comment-filter-title span::after,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-title span::after,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-title span::after {
  content: "";
  width: 34px;
  height: 3px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--admin-theme-accent, #1677ff), transparent);
}

body.admin-route .admin-comment-filter-body,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-body,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-body {
  padding: 22px;
  gap: 14px;
}

body.admin-route .admin-comment-filter-field,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field {
  padding: 14px;
  border: 1px solid var(--admin-theme-border-soft, #edf2f7);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

body.admin-route .admin-comment-filter-field label,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field label,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field label {
  margin-bottom: 9px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

body.admin-route .admin-comment-filter-field input,
body.admin-route .admin-comment-filter-field select,
body.admin-route .admin-comment-filter-field .admin-filter-date-input,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field input,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field select,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field .admin-filter-date-input,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field input,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field select,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field .admin-filter-date-input {
  width: 100%;
  height: 40px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.admin-route .admin-comment-filter-field select,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field select,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field select {
  padding: 0 11px;
}

body.admin-route .admin-comment-filter-field input::placeholder,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field input::placeholder,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field input::placeholder {
  color: #9aa6b6;
}

body.admin-route .admin-comment-filter-field input:hover,
body.admin-route .admin-comment-filter-field select:hover,
body.admin-route .admin-comment-filter-field .admin-filter-date-input:hover,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field input:hover,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field select:hover,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field .admin-filter-date-input:hover,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field input:hover,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field select:hover,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field .admin-filter-date-input:hover {
  border-color: color-mix(in srgb, var(--admin-theme-accent, #1677ff) 36%, #dbe3ee);
}

body.admin-route .admin-comment-filter-field input:focus,
body.admin-route .admin-comment-filter-field select:focus,
body.admin-route .admin-comment-filter-field .admin-filter-date-input:focus,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field input:focus,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field select:focus,
body.admin-route [data-admin-online-filter-drawer] .admin-comment-filter-field .admin-filter-date-input:focus,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field input:focus,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field select:focus,
body.admin-route [data-admin-reference-filter-drawer] .admin-comment-filter-field .admin-filter-date-input:focus {
  border-color: color-mix(in srgb, var(--admin-theme-accent, #1677ff) 58%, #dbe3ee);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--admin-theme-accent, #1677ff) 12%, transparent);
}

body.admin-route .admin-comment-filter-field .admin-filter-date-panel,
body.admin-route [data-admin-online-filter-drawer] .admin-filter-date-panel,
body.admin-route [data-admin-reference-filter-drawer] .admin-filter-date-panel {
  border: 1px solid var(--admin-theme-border, #e5eaf2);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

body.admin-route .admin-comment-filter-field .admin-filter-date-head,
body.admin-route [data-admin-online-filter-drawer] .admin-filter-date-head,
body.admin-route [data-admin-reference-filter-drawer] .admin-filter-date-head {
  border-bottom: 1px solid var(--admin-theme-border-soft, #edf2f7);
  background: var(--admin-theme-panel-soft, #f8fafc);
}

body.admin-route .admin-comment-filter-field .admin-filter-date-week,
body.admin-route [data-admin-online-filter-drawer] .admin-filter-date-week,
body.admin-route [data-admin-reference-filter-drawer] .admin-filter-date-week {
  color: var(--admin-theme-muted, #64748b);
}

body.admin-route .admin-panel,
body.admin-route .admin-table-wrap {
  border-color: var(--admin-theme-border, #e5eaf2);
}

body.admin-route .admin-table-wrap {
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, var(--admin-theme-panel-soft, #f8fafc) 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

body.admin-route .admin-table th {
  background: color-mix(in srgb, var(--admin-theme-panel-soft, #f8fafc) 88%, #ffffff);
  color: #334155;
}

body.admin-route .admin-table td {
  color: #1f2937;
}

/* Administrator-account row menu: fixed to the page layer so table scrolling cannot clip it. */
body.admin-route .admin-account-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: none;
}

body.admin-route .admin-account-more-trigger {
  width: 28px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--admin-theme-accent, #1677ff);
  background: transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

body.admin-route .admin-account-more-trigger:hover,
body.admin-route .admin-account-more-trigger[aria-expanded="true"] {
  background: color-mix(in srgb, var(--admin-theme-accent, #1677ff) 10%, transparent);
}

body.admin-route .admin-account-more-menu {
  position: fixed;
  z-index: 10040;
  width: 148px;
  padding: 6px;
  border: 1px solid var(--admin-theme-border, #e5eaf2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  box-sizing: border-box;
}

body.admin-route .admin-account-more-item {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  color: var(--admin-theme-accent, #1677ff);
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

body.admin-route .admin-account-more-item:hover {
  background: color-mix(in srgb, var(--admin-theme-accent, #1677ff) 9%, transparent);
}

body.admin-route .admin-account-more-item.is-danger {
  color: #ff4d4f;
}

body.admin-route .admin-account-more-item.is-danger:hover {
  background: #fff1f0;
}

/* Front auth UI polish v1: login, registration, and password recovery only. */
body:not(.admin-route) .front-auth-page {
  --front-auth-card-border: color-mix(in srgb, var(--front-primary, #1677ff) 12%, #dfe7ef);
  --front-auth-muted: var(--front-text-muted, #64748b);
  --front-auth-surface: color-mix(in srgb, var(--front-surface, #fff) 96%, #f8fbff);
  min-height: 100svh;
  width: 100%;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--front-primary, #1677ff) 12%, transparent), transparent 30%),
    radial-gradient(circle at 8% 92%, color-mix(in srgb, var(--front-primary, #1677ff) 7%, transparent), transparent 34%),
    var(--front-bg, #f6f9fc);
}

body:not(.admin-route) .front-auth-login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px clamp(18px, 5vw, 28px) 36px;
}

body:not(.admin-route) .front-auth-top-icons {
  top: 18px;
  right: clamp(18px, 5vw, 28px);
  gap: 8px;
}

body:not(.admin-route) .front-auth-top-icons > .front-auth-top-actions,
body:not(.admin-route) .front-auth-register-topbar > .front-auth-top-actions {
  gap: 8px;
}

body:not(.admin-route) .front-auth-top-icons button,
body:not(.admin-route) .front-auth-register-topbar > button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--front-auth-card-border);
  border-radius: 12px;
  color: var(--front-text, #172033);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

body:not(.admin-route) .front-auth-logo.login-brand {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

body:not(.admin-route) .front-auth-welcome {
  margin: 0 0 26px;
  color: var(--front-text, #172033);
  font-size: 24px;
  font-weight: 800;
}

body:not(.admin-route) .front-auth-card,
body:not(.admin-route) .login-card.front-auth-card,
body:not(.admin-route) .front-auth-register-card {
  width: min(100%, 440px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--front-auth-card-border);
  border-radius: 18px;
  color: var(--front-text, #172033);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(12px);
}

body:not(.admin-route) .front-auth-tabs,
body:not(.admin-route) .login-tabs.front-auth-tabs,
body:not(.admin-route) .register-tabs.front-auth-tabs {
  height: 44px;
  margin: 0;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--front-primary, #1677ff) 9%, #e6edf5);
  border-radius: 12px;
  background: var(--front-auth-surface);
}

body:not(.admin-route) .front-auth-tab,
body:not(.admin-route) .login-tabs .front-auth-tab,
body:not(.admin-route) .register-tabs .front-auth-tab {
  height: 34px;
  border-radius: 9px;
  color: var(--front-auth-muted);
  font-size: 14px;
  font-weight: 700;
}

body:not(.admin-route) .front-auth-tab.active,
body:not(.admin-route) .login-tabs .front-auth-tab.active,
body:not(.admin-route) .register-tabs .front-auth-tab.active {
  color: var(--front-primary-strong, var(--front-primary, #1677ff));
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

body:not(.admin-route) .front-auth-field,
body:not(.admin-route) .login-card .front-auth-field,
body:not(.admin-route) .register-field.front-auth-field {
  gap: 8px;
  color: var(--front-text, #172033);
  font-size: 13px;
  font-weight: 700;
}

body:not(.admin-route) .front-auth-input,
body:not(.admin-route) .login-card .front-auth-input,
body:not(.admin-route) .register-field .front-auth-input,
body:not(.admin-route) .front-auth-page .front-auth-country,
body:not(.admin-route) .front-auth-page [data-front-auth-country-trigger],
body:not(.admin-route) .front-auth-page [data-login-phone-code],
body:not(.admin-route) .front-auth-page [data-register-phone-code],
body:not(.admin-route) .front-auth-page [data-forget-phone-code] {
  height: 46px !important;
  min-height: 46px !important;
  border: 1px solid color-mix(in srgb, var(--front-primary, #1677ff) 12%, #dce5ef) !important;
  border-radius: 10px !important;
  color: var(--front-text, #172033) !important;
  background: var(--front-auth-surface) !important;
  box-shadow: none !important;
}

body:not(.admin-route) .front-auth-input::placeholder {
  color: color-mix(in srgb, var(--front-auth-muted) 78%, white);
}

body:not(.admin-route) .front-auth-page .front-auth-input:focus,
body:not(.admin-route) .front-auth-page .front-auth-country:focus,
body:not(.admin-route) .front-auth-page [data-front-auth-country-trigger]:focus {
  border-color: var(--front-primary, #1677ff) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--front-primary, #1677ff) 16%, transparent) !important;
}

body:not(.admin-route) .front-auth-password-wrap button,
body:not(.admin-route) .front-register-password-wrap button {
  z-index: 1;
  color: var(--front-auth-muted);
  background: transparent;
}

body:not(.admin-route) .front-auth-login-card .front-auth-forgot {
  min-height: 30px;
  margin: -8px 0 0;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--front-primary-strong, var(--front-primary, #1677ff));
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

body:not(.admin-route) .front-auth-login-card .front-auth-forgot:hover {
  background: color-mix(in srgb, var(--front-primary, #1677ff) 9%, transparent);
}

body:not(.admin-route) .front-auth-submit,
body:not(.admin-route) .login-card .front-auth-submit,
body:not(.admin-route) .register-submit.front-auth-submit {
  height: 46px;
  margin-top: 0;
  border-radius: 12px;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--front-primary, #1677ff) 24%, transparent);
}

body:not(.admin-route) .front-auth-links.login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: -2px;
}

body:not(.admin-route) .front-auth-links.login-actions .front-auth-register-link,
body:not(.admin-route) .front-auth-links.login-actions .front-auth-service-link {
  width: auto !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body:not(.admin-route) .front-auth-links.login-actions .front-auth-register-link {
  color: var(--front-primary-strong, var(--front-primary, #1677ff)) !important;
}

body:not(.admin-route) .front-auth-links.login-actions .front-auth-service-link {
  color: var(--front-auth-muted) !important;
}

body:not(.admin-route) .front-auth-register-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100svh;
  padding: 16px clamp(18px, 5vw, 28px) 28px;
  background:
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--front-primary, #1677ff) 12%, transparent), transparent 28%),
    radial-gradient(circle at 8% 90%, color-mix(in srgb, var(--front-primary, #1677ff) 7%, transparent), transparent 32%),
    var(--front-bg, #f6f9fc);
}

body:not(.admin-route) .front-auth-register-topbar.register-topbar {
  width: min(100%, 440px);
  min-height: 40px;
  margin: 0 auto !important;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.admin-route) .front-auth-register-card {
  align-self: center;
  margin: 20px auto;
}

body:not(.admin-route) .front-auth-register-card h1 {
  margin: 0 0 2px;
  color: var(--front-text, #172033);
  font-size: 25px;
  line-height: 1.25;
}

body:not(.admin-route) .front-auth-register-card p {
  margin: 0;
  color: var(--front-auth-muted);
  font-size: 14px;
  line-height: 1.5;
}

body:not(.admin-route) .front-auth-policy.register-agreement {
  width: min(100%, 440px);
  margin: 8px auto 0;
  padding: 0 4px;
  color: var(--front-auth-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
}

body:not(.admin-route) .front-auth-policy.register-agreement button {
  color: var(--front-primary-strong, var(--front-primary, #1677ff));
  font-weight: 700;
}

@media (max-width: 420px) {
  body:not(.admin-route) .front-auth-login-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  body:not(.admin-route) .front-auth-card,
  body:not(.admin-route) .login-card.front-auth-card,
  body:not(.admin-route) .front-auth-register-card {
    padding: 20px;
  }
}
/* Backend authentication screen */
body.admin-route .admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.02) 45%),
    #f3f6fb;
  color: #172033;
}

body.admin-route .admin-login-card {
  width: min(100%, 420px);
  padding: 34px;
  border: 1px solid #dce4f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(25, 49, 88, 0.14);
}

body.admin-route .admin-login-brand {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
}

body.admin-route .admin-login-brand svg {
  width: 25px;
  height: 25px;
}

body.admin-route .admin-login-eyebrow {
  margin: 0 0 7px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

body.admin-route .admin-login-card h1 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: 0;
}

body.admin-route .admin-login-subtitle {
  margin: 9px 0 28px;
  color: #64748b;
  font-size: 14px;
}

body.admin-route .admin-login-form {
  display: grid;
  gap: 18px;
}

body.admin-route .admin-login-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

body.admin-route .admin-login-input-wrap {
  height: 46px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.admin-route .admin-login-input-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body.admin-route .admin-login-input-wrap svg {
  width: 18px;
  height: 18px;
  color: #64748b;
}

body.admin-route .admin-login-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
}

body.admin-route .admin-login-input-wrap input::placeholder {
  color: #94a3b8;
}

body.admin-route .admin-login-error {
  margin: -4px 0 0;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 6px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
}

body.admin-route .admin-login-submit {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

body.admin-route .admin-login-submit:hover {
  background: #1d4ed8;
}

body.admin-route .admin-login-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

body.admin-route .admin-login-submit svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 520px) {
  body.admin-route .admin-login-page {
    padding: 20px 14px;
  }

  body.admin-route .admin-login-card {
    padding: 26px 20px;
  }
}

/* Front auth visual polish v2: scoped to login, registration, and recovery. */
body:not(.admin-route):has(.front-auth-page) {
  min-height: 100svh;
  background: #f4f7fb;
}

body:not(.admin-route):has(.front-auth-page) .phone-shell,
body:not(.admin-route):has(.front-auth-page) .route-page,
body:not(.admin-route):has(.front-auth-page) .route-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

body:not(.admin-route):has(.front-auth-page) .route-body {
  min-height: 100svh;
  padding: 0;
}

body:not(.admin-route) .front-auth-page {
  --front-auth-card-width: 448px;
  --front-auth-ink: #172033;
  --front-auth-muted-polish: #65748b;
  --front-auth-line: #dbe7f6;
  --front-auth-control: #f8fafc;
  min-height: 100svh;
  width: 100%;
  overflow-x: hidden;
  color: var(--front-auth-ink);
  background: linear-gradient(135deg, #f3f7fd 0%, #f8fafc 48%, #edf4ff 100%);
}

body:not(.admin-route) .front-auth-login-page {
  padding: clamp(76px, 9vh, 94px) 16px clamp(30px, 6vh, 52px);
}

body:not(.admin-route) .front-auth-top-icons {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 20;
}

body:not(.admin-route) .front-auth-top-icons button,
body:not(.admin-route) .front-auth-register-topbar > button,
body:not(.admin-route) .front-auth-register-topbar .front-auth-top-actions > .front-auth-menu-wrap > button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(203, 216, 234, 0.92);
  border-radius: 12px;
  color: #29364a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(47, 72, 108, 0.10);
  backdrop-filter: blur(12px);
}

body:not(.admin-route) .front-auth-top-icons button:hover,
body:not(.admin-route) .front-auth-register-topbar > button:hover,
body:not(.admin-route) .front-auth-register-topbar .front-auth-top-actions > .front-auth-menu-wrap > button:hover {
  border-color: color-mix(in srgb, var(--front-auth-primary, #2563eb) 34%, #cbd8ea);
  color: var(--front-auth-primary, #2563eb);
  transform: translateY(-1px);
}

body:not(.admin-route) .front-auth-logo.login-brand {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 19px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(41, 58, 85, 0.16);
}

body:not(.admin-route) .front-auth-welcome {
  margin: 0 0 24px;
  color: var(--front-auth-ink);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.admin-route) .front-auth-card,
body:not(.admin-route) .login-card.front-auth-card,
body:not(.admin-route) .front-auth-register-card {
  width: min(var(--front-auth-card-width), calc(100vw - 32px));
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--front-auth-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 58px rgba(50, 76, 112, 0.13);
  backdrop-filter: blur(14px);
}

body:not(.admin-route) .front-auth-tabs,
body:not(.admin-route) .login-tabs.front-auth-tabs,
body:not(.admin-route) .register-tabs.front-auth-tabs {
  height: 48px;
  padding: 4px;
  border: 1px solid #e2e9f3;
  border-radius: 13px;
  background: #f4f7fb;
}

body:not(.admin-route) .front-auth-tab,
body:not(.admin-route) .login-tabs .front-auth-tab,
body:not(.admin-route) .register-tabs .front-auth-tab {
  height: 38px;
  border: 0;
  border-radius: 9px;
  color: var(--front-auth-muted-polish);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body:not(.admin-route) .front-auth-tab.active,
body:not(.admin-route) .login-tabs .front-auth-tab.active,
body:not(.admin-route) .register-tabs .front-auth-tab.active {
  color: var(--front-auth-primary, #2563eb);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(43, 66, 98, 0.10);
}

body:not(.admin-route) .front-auth-field,
body:not(.admin-route) .login-card .front-auth-field,
body:not(.admin-route) .register-field.front-auth-field {
  gap: 8px;
  color: #273449;
  font-size: 13px;
  font-weight: 700;
}

body:not(.admin-route) .front-auth-input,
body:not(.admin-route) .login-card .front-auth-input,
body:not(.admin-route) .register-field .front-auth-input,
body:not(.admin-route) .front-auth-page .front-auth-country {
  height: 50px !important;
  min-height: 50px !important;
  border: 1px solid #d9e3f0 !important;
  border-radius: 12px !important;
  color: var(--front-auth-ink) !important;
  background: var(--front-auth-control) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease !important;
}

body:not(.admin-route) .front-auth-input:hover,
body:not(.admin-route) .front-auth-page .front-auth-country:hover {
  border-color: #bfcee0 !important;
  background: #ffffff !important;
}

body:not(.admin-route) .front-auth-page .front-auth-input:focus,
body:not(.admin-route) .front-auth-page .front-auth-country:focus {
  border-color: var(--front-auth-primary, #2563eb) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--front-auth-primary, #2563eb) 14%, transparent) !important;
}

body:not(.admin-route) .front-auth-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

body:not(.admin-route) .front-auth-phone-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
}

body:not(.admin-route) .front-auth-country-wrap,
body:not(.admin-route) .front-auth-country-wrap select {
  width: 100%;
  min-width: 0;
}

body:not(.admin-route) .front-auth-password-wrap .front-auth-input {
  padding-right: 52px;
}

body:not(.admin-route) .front-auth-password-wrap button,
body:not(.admin-route) .front-register-password-wrap button {
  top: 50%;
  right: 7px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  color: #718096;
  background: transparent;
  transform: translateY(-50%);
}

body:not(.admin-route) .front-auth-password-wrap button:hover,
body:not(.admin-route) .front-register-password-wrap button:hover {
  color: var(--front-auth-primary, #2563eb);
  background: color-mix(in srgb, var(--front-auth-primary, #2563eb) 8%, transparent);
}

body:not(.admin-route) .front-auth-login-card .front-auth-forgot {
  min-height: 28px;
  margin: -7px 0 -2px auto;
  padding: 3px 0 3px 8px;
  justify-self: end;
  border-radius: 6px;
  color: var(--front-auth-primary, #2563eb);
  font-size: 13px;
  font-weight: 700;
}

body:not(.admin-route) .front-auth-submit,
body:not(.admin-route) .login-card .front-auth-submit,
body:not(.admin-route) .register-submit.front-auth-submit {
  height: 50px;
  border-radius: 13px;
  background: var(--front-auth-primary, #2563eb);
  box-shadow: 0 12px 24px var(--front-auth-primary-shadow, rgba(37, 99, 235, 0.24));
  font-size: 15px;
  font-weight: 800;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

body:not(.admin-route) .front-auth-submit:hover,
body:not(.admin-route) .login-card .front-auth-submit:hover,
body:not(.admin-route) .register-submit.front-auth-submit:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

body:not(.admin-route) .front-auth-submit:active,
body:not(.admin-route) .login-card .front-auth-submit:active,
body:not(.admin-route) .register-submit.front-auth-submit:active {
  box-shadow: 0 6px 14px var(--front-auth-primary-shadow, rgba(37, 99, 235, 0.20));
  transform: translateY(0);
}

body:not(.admin-route) .front-auth-links.login-actions {
  min-height: 32px;
  margin: 0;
  padding-top: 2px;
}

body:not(.admin-route) .front-auth-links.login-actions .front-auth-register-link,
body:not(.admin-route) .front-auth-links.login-actions .front-auth-service-link {
  height: 32px !important;
  padding: 0 !important;
  color: var(--front-auth-muted-polish) !important;
  font-size: 13px !important;
}

body:not(.admin-route) .front-auth-links.login-actions .front-auth-register-link {
  color: var(--front-auth-primary, #2563eb) !important;
}

body:not(.admin-route) .front-auth-links.login-actions button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body:not(.admin-route) .front-auth-register-page {
  grid-template-rows: 56px minmax(0, 1fr) auto;
  padding: 18px 24px 26px;
}

body:not(.admin-route) .front-auth-register-topbar.register-topbar {
  width: min(var(--front-auth-card-width), calc(100vw - 32px));
  min-height: 44px;
}

body:not(.admin-route) .front-auth-register-card {
  align-self: center;
  margin: 18px auto;
}

body:not(.admin-route) .front-auth-register-card h1 {
  margin: 0;
  color: var(--front-auth-ink);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.admin-route) .front-auth-register-card p {
  margin: -8px 0 2px;
  color: var(--front-auth-muted-polish);
  font-size: 14px;
  line-height: 1.55;
}

body:not(.admin-route) .front-auth-policy.register-agreement {
  width: min(var(--front-auth-card-width), calc(100vw - 32px));
  margin: 4px auto 0;
  padding: 8px 6px 0;
  color: var(--front-auth-muted-polish);
  font-size: 12px;
  line-height: 1.6;
}

body:not(.admin-route) .front-auth-policy.register-agreement button {
  color: var(--front-auth-primary, #2563eb);
  font-weight: 700;
}

@media (max-width: 520px) {
  body:not(.admin-route) .front-auth-page {
    --front-auth-card-width: 100%;
  }

  body:not(.admin-route) .front-auth-login-page {
    justify-content: flex-start;
    padding: 78px 16px 28px;
  }

  body:not(.admin-route) .front-auth-top-icons {
    top: 14px;
    right: 14px;
  }

  body:not(.admin-route) .front-auth-logo.login-brand {
    width: 64px;
    height: 64px;
    border-radius: 17px;
  }

  body:not(.admin-route) .front-auth-welcome {
    margin-bottom: 20px;
    font-size: 23px;
  }

  body:not(.admin-route) .front-auth-card,
  body:not(.admin-route) .login-card.front-auth-card,
  body:not(.admin-route) .front-auth-register-card {
    width: calc(100vw - 32px);
    gap: 16px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  body:not(.admin-route) .front-auth-phone-row {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 8px;
  }

  body:not(.admin-route) .front-auth-register-page {
    padding: 14px 16px 22px;
  }

  body:not(.admin-route) .front-auth-register-card {
    margin: 12px auto;
  }

  body:not(.admin-route) .front-auth-register-card h1 {
    font-size: 24px;
  }
}

@media (max-height: 700px) and (min-width: 521px) {
  body:not(.admin-route) .front-auth-login-page {
    justify-content: flex-start;
    padding-top: 68px;
  }

  body:not(.admin-route) .front-auth-logo.login-brand {
    width: 60px;
    height: 60px;
  }

  body:not(.admin-route) .front-auth-welcome {
    margin-bottom: 16px;
  }
}
