﻿:root {
  color-scheme: light;
  --ink: #13213a;
  --muted: #49627d;
  --blue: #4e83f1;
  --blue-dark: #2854c7;
  --sun: #ffd76c;
  --coral: #ff8f70;
  --mint: #c8f0d0;
  --paper: #fffaf0;
  --line: rgba(42, 78, 125, 0.18);
  --shadow: 0 22px 70px rgba(41, 72, 118, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: #f7fbff;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: #f7fbff;
}

.success-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 30;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border: 1px solid rgba(36, 184, 99, 0.28);
  border-radius: 8px;
  background: rgba(226, 255, 236, 0.96);
  gap: 10px;
  color: #171717;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(31, 121, 73, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.success-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.success-toast.toast-error {
  border-color: rgba(198, 64, 42, 0.28);
  background: rgba(255, 238, 232, 0.96);
  color: #a43f2b;
  box-shadow: 0 16px 36px rgba(164, 63, 43, 0.14);
}

.field-error-toast {
  position: fixed;
  z-index: 40;
  max-width: 260px;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(198, 64, 42, 0.22);
  border-radius: 8px;
  background: rgba(255, 238, 232, 0.96);
  color: #a43f2b;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(164, 63, 43, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.field-error-toast.show {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shop-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.shop-hero {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 957px) clamp(150px, 14vw, 210px);
  gap: clamp(26px, 3vw, 44px);
  justify-content: center;
  align-items: center;
  padding: 48px max(44px, calc((100vw - 1340px) / 2)) 54px;
  isolation: isolate;
}

.shop-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 58% center;
  z-index: -3;
}

.shop-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(246, 252, 255, 0.94) 0%, rgba(246, 252, 255, 0.80) 36%, rgba(246, 252, 255, 0.24) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.04) 56%, rgba(255, 250, 240, 0.90) 100%);
}

.shop-sticker-layer {
  display: none;
  position: relative;
  inset: auto;
  z-index: 1;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 100%;
  aspect-ratio: 1.42;
  min-width: 0;
  pointer-events: none;
}
.shop-sticker {
  position: absolute;
  display: block;
  width: min(19vw, 240px);
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(47, 79, 126, 0.20));
}

.shop-sticker-cash {
  right: 7vw;
  top: 18vh;
  transform: rotate(4deg);
}

.shop-sticker-wink {
  right: 18vw;
  bottom: 5vh;
  width: min(15vw, 170px);
  transform: rotate(-7deg);
}

.hero-ai-car {
  position: absolute;
  right: 0;
  top: 50%;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 653 / 431;
  transform: translateY(-46%);
  background: url("./assets/hero-ai-feature-orbit-transparent-clean-20260628.png?v=20260628-transparent-clean") center / contain no-repeat;
  filter: drop-shadow(0 18px 24px rgba(33, 71, 116, 0.16));
}

.success-toast-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #20b15a;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.agent-create-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.agent-create-form .agent-note-field,
.agent-create-form .form-message {
  grid-column: span 2;
}

.agent-table td:first-child strong,
.agent-table td:first-child small {
  display: block;
}

.agent-table td:first-child small {
  margin-top: 4px;
  color: #70809c;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.agent-action-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 260px;
}

.agent-table td.agent-list-action-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
}

.agent-list-action-cell .btn + .btn {
  margin-left: 6px;
}

.agent-list-table th:last-child,
.agent-list-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 230px;
  background: #fff;
  box-shadow: -10px 0 18px rgba(31, 64, 104, 0.08);
}

.agent-list-table th:last-child {
  z-index: 3;
  background: #f6f9fd;
}

.agent-request-table {
  min-width: 1180px;
}

.agent-request-table th:last-child,
.agent-request-table td:last-child {
  position: static;
  min-width: 170px;
  box-shadow: none;
}

.agent-request-table .agent-action-cell {
  min-width: 170px;
  flex-wrap: nowrap;
}

.agent-admin-block {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

#agentRows {
  box-sizing: border-box;
  padding: 0 clamp(12px, 1.5vw, 18px) 12px;
}

.agent-admin-block h4 {
  margin: 0;
  color: #10264f;
  font-size: 15px;
  font-weight: 800;
}
.agent-wallet-price-row { display:grid; grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(100px,1fr)); gap:10px; align-items:end; margin:12px 0; }
.agent-wallet-admin-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.agent-wallet-admin-head h4 { font-size:18px; }
.agent-wallet-admin-head p { margin:5px 0 0; color:#64748b; font-size:13px; }
.agent-wallet-admin-head > span { padding:6px 10px; border-radius:999px; background:#eef6ff; color:#1267d8; font-size:12px; white-space:nowrap; }
.agent-wallet-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:8px 0; }
.agent-wallet-overview article { display:grid; gap:4px; padding:14px 16px; border:1px solid #dbe5ef; border-radius:12px; background:#f8fafc; }
.agent-wallet-overview span,.agent-wallet-overview small { color:#64748b; font-size:12px; }
.agent-wallet-overview strong { color:#10264f; font-size:20px; }
.agent-wallet-overview article.is-warning { border-color:#f5d991; background:#fff9eb; }
.agent-wallet-overview article.is-warning strong { color:#9a6700; }
.agent-wallet-overview article.is-ready { border-color:#a7e4c3; background:#f2fbf6; }
.agent-wallet-missing { padding:10px 12px; border:1px solid #f5d991; border-radius:10px; background:#fffaf0; color:#805b13; font-size:12px; }
.agent-wallet-missing summary { cursor:pointer; font-weight:700; }
.agent-wallet-missing p { margin:8px 0 0; line-height:1.7; }
.agent-wallet-config-card { margin-top:8px; padding:20px; border:1px solid #dbe5ef; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(30,64,110,.04); }
.agent-wallet-config-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.agent-wallet-config-title strong { color:#10264f; font-size:17px; }
.agent-wallet-config-title > span { align-self:flex-start; padding:5px 9px; border-radius:999px; background:#f1f5f9; color:#64748b; font-size:11px; white-space:nowrap; }
.agent-wallet-config-title p { margin:4px 0 0; color:#64748b; font-size:12px; }
.agent-wallet-tier-form { display:grid; gap:14px; }
.agent-wallet-link-panel,.agent-wallet-price-panel { padding:16px; border:1px solid #e1e8f1; border-radius:12px; background:#f8fbff; }
.agent-wallet-field-intro { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.agent-wallet-field-intro > div { display:grid; gap:2px; }
.agent-wallet-field-intro strong { color:#172b4d; font-size:14px; }
.agent-wallet-field-intro small { color:#70809c; font-size:11px; }
.agent-wallet-step { padding:5px 8px; border-radius:7px; background:#e7f1ff; color:#1267d8; font-size:11px; font-weight:800; white-space:nowrap; }
.agent-wallet-url-field { display:grid; grid-template-columns:100px minmax(0,1fr); align-items:center; gap:12px; max-width:none; margin:0; }
.agent-wallet-url-field > span { color:#475569; font-weight:700; }
.agent-wallet-url-field input { min-height:42px; background:#fff; }
.agent-wallet-price-panel { padding-bottom:10px; background:#fff; }
.agent-wallet-price-head,.agent-wallet-price-row { display:grid; grid-template-columns:minmax(190px,1.35fr) repeat(4,minmax(112px,1fr)); gap:12px; align-items:center; }
.agent-wallet-price-head { padding:8px 12px; border-radius:8px; background:#eef5ff; color:#52657e; font-size:11px; font-weight:800; text-align:center; }
.agent-wallet-price-head span:first-child { text-align:left; }
.agent-wallet-tier-fields { display:grid; }
.agent-wallet-price-row { margin:0; padding:12px; border-bottom:1px solid #edf1f6; }
.agent-wallet-price-row:last-child { border-bottom:0; }
.agent-wallet-plan-name { display:grid; gap:3px; }
.agent-wallet-plan-name strong { color:#172b4d; font-size:13px; }
.agent-wallet-plan-name small { color:#94a3b8; font-size:10px; }
.agent-wallet-price-row .form-group { margin:0; }
.agent-wallet-price-row .form-group > span { display:none; }
.agent-wallet-price-row input { min-height:40px; text-align:center; font-weight:700; background:#fbfdff; }
.agent-wallet-price-row input:focus { background:#fff; }
.agent-wallet-tier-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-top:2px; }
.agent-wallet-tier-actions small { color:#718096; font-size:11px; }
.agent-wallet-save-button { min-width:250px; }
.agent-wallet-recharge-form { display:grid; grid-template-columns:minmax(240px,.78fr) 42px minmax(360px,1.35fr); gap:14px; align-items:stretch; }
.agent-recharge-method { display:grid; align-content:start; gap:14px; padding:16px; border:1px solid #dbe5ef; border-radius:12px; background:#f8fafc; }
.agent-recharge-method-head { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:3px 9px; }
.agent-recharge-method-head > span { grid-row:1/3; align-self:start; padding:4px 7px; border-radius:6px; background:#e8f2ff; color:#1267d8; font-size:11px; font-weight:700; }
.agent-recharge-method-head strong { color:#10264f; font-size:14px; }
.agent-recharge-method-head small { color:#64748b; font-size:11px; }
.agent-recharge-method .btn { width:100%; margin-top:auto; }
.agent-recharge-generate input { font-size:18px; font-weight:700; }
.agent-recharge-import { background:#fbfdff; }
.agent-wallet-code-field textarea { min-height:102px; resize:vertical; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.agent-recharge-or { display:flex; align-items:center; justify-content:center; position:relative; }
.agent-recharge-or::before { content:""; position:absolute; inset:10px 50%; width:1px; background:#e1e7ef; }
.agent-recharge-or span { position:relative; z-index:1; display:grid; place-items:center; width:30px; height:30px; border:1px solid #dbe5ef; border-radius:50%; background:#fff; color:#94a3b8; font-size:12px; }
.agent-wallet-admin-tables { display:grid; gap:18px; margin-top:20px; overflow:visible; }
.agent-wallet-admin-tables h5 { margin:0 0 8px; font-size:15px; }
.agent-wallet-order-section { box-sizing:border-box; width:1084px; max-width:100%; overflow:hidden; padding:14px; border:1px solid #dbe5ef; border-radius:12px; background:#fff; }
.agent-wallet-order-help { margin:-2px 0 12px; color:#64748b; font-size:12px; line-height:1.6; }
.agent-wallet-order-section table { width:100%; min-width:0; border:1px solid #e4eaf2; table-layout:fixed; }
.agent-wallet-order-table td { box-sizing:border-box; padding-left:8px; padding-right:8px; white-space:normal; overflow-wrap:anywhere; }
.agent-wallet-order-table :is(th,td):nth-child(1) { width:15%; }
.agent-wallet-order-table :is(th,td):nth-child(2) { width:16%; }
.agent-wallet-order-table :is(th,td):nth-child(3) { width:15%; }
.agent-wallet-order-table :is(th,td):nth-child(4) { width:15%; }
.agent-wallet-order-table :is(th,td):nth-child(5) { width:15%; }
.agent-wallet-order-table :is(th,td):nth-child(6) { width:11%; }
.agent-wallet-order-table :is(th,td):nth-child(7) { width:13%; }
#agentRows .agent-wallet-order-section .agent-wallet-order-table { width:100%; min-width:0; max-width:100%; }
.agent-recharge-detail-section > .admin-data-pager,.agent-wallet-order-section > .admin-data-pager { width:100%; box-sizing:border-box; margin-top:10px; padding:10px 0 0; border-top:1px solid #edf1f6; }
.agent-recharge-table-tools { box-sizing:border-box; display:flex; align-items:center; flex-wrap:wrap; gap:8px; width:1084px; max-width:100%; padding:12px 14px; border:1px solid #dbe5ef; border-radius:12px; background:#f8fafc; }
.agent-recharge-table-tools > strong { margin-right:auto; color:#10264f; font-size:15px; }
.agent-recharge-history-note { flex-basis:100%; order:2; color:#9a6700; font-size:11px; }
.agent-recharge-table-tools .btn { order:1; }
.agent-recharge-table-tools .agent-recharge-delete-selected { background:#b42318; color:#fff; }
.agent-recharge-table-tools .agent-recharge-delete-selected:hover { background:#8f1d14; }
.agent-wallet-admin-tables td:nth-child(2) { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; }
.agent-recharge-detail-section { box-sizing:border-box; width:1084px; max-width:100%; overflow:hidden; padding:14px; border:1px solid #dbe5ef; border-radius:12px; background:#fff; }
#agentRows .agent-recharge-detail-table { width:100%; min-width:0; max-width:100%; table-layout:fixed; }
.agent-recharge-detail-table td { box-sizing:border-box; overflow:hidden; text-overflow:ellipsis; }
.agent-recharge-detail-table td:nth-child(1) { width:5%; text-align:center; }
.agent-recharge-detail-table td:nth-child(2) { width:38%; white-space:normal; overflow-wrap:anywhere; }
.agent-recharge-detail-table td:nth-child(3) { width:15%; }
.agent-recharge-detail-table td:nth-child(4) { width:26%; }
.agent-recharge-detail-table td:nth-child(5) { width:16%; }
.agent-recharge-detail-table input[type="checkbox"] { width:16px; height:16px; accent-color:#1677ff; cursor:pointer; }
.agent-recharge-detail-table .agent-recharge-void-button { min-height:0; padding:4px 8px; border-radius:6px; background:#fff2ee; color:#a43f2b; font-size:12px; line-height:1.2; box-shadow:none; }
.agent-recharge-detail-table .agent-recharge-void-button:hover { background:#ffe4dc; color:#8f2f1e; }
.agent-recharge-table-tools .btn:disabled { opacity:.45; cursor:not-allowed; box-shadow:none; }
.agent-wallet-config-status { display:grid; gap:4px; padding:12px 14px; margin:12px 0 18px; border-radius:12px; border:1px solid #86efac; background:#f0fdf4; color:#166534; }
.agent-wallet-config-status.is-warning { border-color:#f5d991; background:#fff8e6; color:#805b13; }
.agent-wallet-config-status span,.agent-wallet-config-status small { font-size:12px; line-height:1.6; }
.agent-application-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.agent-application-title > span { padding:4px 9px; border-radius:999px; background:#eef4ff; color:#2563eb; font-size:12px; }
.agent-application-list { display:grid; gap:12px; }
.agent-application-card { overflow:hidden; border:1px solid #dbe5ef; border-radius:12px; background:#fff; box-shadow:0 8px 22px rgba(31,64,104,.04); }
.agent-application-card-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; border-bottom:1px solid #e8edf4; background:linear-gradient(135deg,#f8fbff,#fff); }
.agent-application-card-head > div { display:grid; gap:4px; }
.agent-application-card-head strong { color:#10264f; font-size:16px; }
.agent-application-card-head small { color:#70809c; font-size:12px; }
.agent-application-info { display:grid; grid-template-columns:minmax(220px,1fr) minmax(150px,.6fr) minmax(260px,1.4fr); gap:0; }
.agent-application-detail { display:grid; gap:5px; min-width:0; padding:14px 16px; border-right:1px solid #edf1f6; }
.agent-application-detail:last-child { border-right:0; }
.agent-application-detail span,.agent-application-card-footer span { color:#70809c; font-size:12px; }
.agent-application-detail strong { overflow-wrap:anywhere; color:#26364f; font-size:13px; font-weight:600; }
.agent-application-card-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 16px; border-top:1px solid #edf1f6; background:#fbfcfe; }
.agent-application-card-footer > div:first-child { display:flex; align-items:center; gap:9px; }
.agent-application-card-footer .agent-action-cell { justify-content:flex-end; min-width:0; }
.agent-application-card-footer .mail-send-failed { display:flex; align-items:center; gap:10px; padding:7px 8px 7px 12px; border:1px solid #fecaca; border-radius:9px; background:#fff7f7; }
.mail-failed-label { color:#c24130; font-size:12px; font-weight:700; }
.agent-application-card-footer .mail-send-failed .btn { min-height:30px; box-shadow:none; }
.agent-application-link a { display:inline-flex; padding:4px 9px; border-radius:6px; background:#eef6ff; color:#1267d8; font-size:12px; font-weight:700; text-decoration:none; }
.agent-application-status.pending { background:#fff7df; color:#9a6700; }
.voucher-pool-label { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border-radius:10px; background:#f5f8fc; color:#475569; }
.voucher-pool-label strong { color:#10264f; }
.voucher-pool-label span { font-size:12px; }
.agent-stock-divider { height:1px; margin:22px 0; background:#dbe4f0; }
.agent-prestock-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:12px 0; }
.agent-prestock-summary article { display:grid; gap:4px; padding:14px 16px; border:1px solid #cfe0f5; border-radius:12px; background:linear-gradient(135deg,#f8fbff,#f0f7ff); }
.agent-prestock-summary span,.agent-prestock-summary small { color:#64748b; font-size:12px; }
.agent-prestock-summary strong { color:#1267d8; font-size:26px; }
.agent-prestock-form { margin-bottom:16px; padding:14px; border:1px solid #dbe7f5; border-radius:12px; background:#fbfdff; }
@media (max-width:720px) { .agent-prestock-summary { grid-template-columns:1fr; } .voucher-pool-label { align-items:flex-start; flex-direction:column; } }
@media (max-width:900px) { .agent-wallet-overview { grid-template-columns:1fr; } .agent-wallet-price-head { display:none; } .agent-wallet-price-row { grid-template-columns:1fr 1fr; } .agent-wallet-plan-name { grid-column:1/-1; padding-bottom:2px; } .agent-wallet-price-row .form-group > span { display:block; } .agent-wallet-url-field { grid-template-columns:1fr; gap:6px; } .agent-wallet-tier-actions { align-items:stretch; flex-direction:column; } .agent-wallet-save-button { width:100%; min-width:0; } .agent-wallet-recharge-form { grid-template-columns:1fr; } .agent-recharge-or { height:24px; } .agent-recharge-or::before { inset:50% 10px auto; width:auto; height:1px; } }
@media (max-width:900px) { .agent-application-info { grid-template-columns:1fr 1fr; } .agent-application-detail.is-wide { grid-column:1/-1; border-top:1px solid #edf1f6; } .agent-application-card-footer { align-items:flex-start; flex-direction:column; } }

.voucher-form #voucherAgentUnitPriceInput:disabled {
  background: #f3f5f8;
  color: #9aa5b5;
}

.admin-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 27, 52, 0.36);
}

.admin-dialog {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(19, 33, 58, 0.25);
}

.admin-dialog h3 {
  margin: 0;
  color: #10264f;
  font-size: 18px;
  font-weight: 900;
}

.admin-dialog-fields {
  display: grid;
  gap: 12px;
}

.admin-dialog textarea.form-input {
  min-height: 88px;
  resize: vertical;
}

.admin-dialog-validation {
  min-height: 20px;
  margin: -4px 0 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
}

.admin-dialog-field-counter {
  display: block;
  margin-top: 5px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

.admin-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 900px) {
  .agent-create-form {
    grid-template-columns: 1fr;
  }
  .agent-create-form .agent-note-field,
  .agent-create-form .form-message {
    grid-column: auto;
  }
}

.mail-settings-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hero-ai-car > * {
  display: none;
}

.hero-car-road-shadow {
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 0;
  height: 9%;
  border-radius: 8px;
  background: radial-gradient(ellipse, rgba(52, 84, 112, 0.22) 0%, rgba(52, 84, 112, 0.12) 46%, rgba(52, 84, 112, 0) 72%);
}

.hero-car-speed {
  position: absolute;
  left: 0;
  height: 4px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(79, 190, 210, 0), rgba(79, 190, 210, 0.62));
}

.hero-car-speed-one {
  top: 58%;
  width: 22%;
}

.hero-car-speed-two {
  top: 69%;
  width: 15%;
  left: 5%;
}

.hero-car-body {
  position: absolute;
  left: 10%;
  right: 3%;
  bottom: 14%;
  height: 43%;
  border-radius: 46% 48% 36% 38% / 72% 74% 46% 48%;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.52) 0 14%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(155deg, #65efe0 0%, #21c6cf 42%, #0b7f9d 100%);
  box-shadow:
    inset 0 12px 0 rgba(255, 255, 255, 0.28),
    inset 18px 0 24px rgba(255, 255, 255, 0.10),
    inset -20px -18px 24px rgba(6, 66, 91, 0.24),
    0 12px 0 rgba(12, 102, 119, 0.12);
  overflow: visible;
}

.hero-car-body::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 15%;
  top: -52%;
  height: 78%;
  border-radius: 58% 50% 18% 18% / 100% 100% 34% 34%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.40) 0 16%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(155deg, #72ecdf 0%, #25bdc8 68%, #118da8 100%);
  box-shadow:
    inset 0 10px 0 rgba(255, 255, 255, 0.26),
    inset -12px -10px 18px rgba(7, 69, 96, 0.18);
}

.hero-car-body::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 7%;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.hero-car-window {
  position: absolute;
  z-index: 1;
  left: 43%;
  top: -34%;
  width: 20%;
  height: 36%;
  border-radius: 45% 40% 18% 18%;
  background: linear-gradient(150deg, rgba(18, 75, 104, 0.82), rgba(18, 75, 104, 0.48));
  box-shadow: 42px 4px 0 rgba(18, 75, 104, 0.5);
}

.hero-car-door {
  position: absolute;
  right: 25%;
  top: 14%;
  width: 1px;
  height: 46%;
  background: rgba(7, 80, 96, 0.22);
  box-shadow: 15px 16px 0 -5px rgba(255, 255, 255, 0.26);
}

.hero-car-bumper {
  position: absolute;
  left: 9%;
  bottom: 13%;
  width: 30%;
  height: 9%;
  border-radius: 8px;
  background: rgba(11, 44, 59, 0.84);
  box-shadow: 0 -14px 0 -2px rgba(11, 44, 59, 0.84);
}

.hero-car-light {
  position: absolute;
  top: 36%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: radial-gradient(circle at 38% 34%, #fffedf 0 30%, #ffdf6f 62%, #efbd45 100%);
  box-shadow: 0 0 16px rgba(255, 217, 96, 0.56), inset 0 0 0 2px rgba(255,255,255,0.36);
}

.hero-car-light-left {
  left: 7%;
}

.hero-car-light-right {
  right: 14%;
}

.hero-car-grille {
  position: absolute;
  left: 25%;
  top: 39%;
  width: 27%;
  height: 8%;
  border-radius: 8px;
  background: #153b50;
  box-shadow: 0 16px 0 #153b50;
  opacity: 0.86;
}

.hero-car-body .shop-notice-contact {
  position: absolute;
  z-index: 4;
  right: 13%;
  top: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  pointer-events: none;
}

.hero-car-body .shop-notice-group {
  min-width: 258px;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border: 2px solid rgba(47, 100, 214, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: #174bb6 !important;
  box-shadow: 0 10px 20px rgba(47, 100, 214, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  font-size: clamp(0.70rem, 0.88vw, 0.84rem);
  font-weight: 950;
  line-height: 1;
  font-size: 0.88rem;
  white-space: nowrap;
  animation: qqPillPulse 1.8s ease-in-out infinite;
}

@keyframes qqPillPulse {
  0%, 100% {
    box-shadow: 0 10px 20px rgba(47, 100, 214, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.82);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 26px rgba(47, 100, 214, 0.36), 0 0 0 3px rgba(255, 213, 79, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.92);
    transform: scale(1.035);
  }
}

.hero-car-body .shop-notice-group strong {
  font-weight: 950;
}

.hero-car-wheel {
  position: absolute;
  z-index: 2;
  bottom: -17%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, #f4fbff 0 20%, #9cc7e6 21% 34%, #37516a 35% 52%, #13263a 54% 100%);
  box-shadow:
    inset 7px 7px 12px rgba(255, 255, 255, 0.14),
    inset -8px -9px 14px rgba(2, 20, 36, 0.36),
    0 7px 0 rgba(5, 38, 55, 0.12);
}

.hero-car-wheel::after {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #eff9ff 0 28%, #7ca4c4 30% 100%);
  box-shadow: inset -3px -4px 6px rgba(23, 48, 73, 0.22);
}

.hero-car-wheel-left {
  left: 26%;
}

.hero-car-wheel-right {
  right: 16%;
}

.hero-car-rider {
  position: absolute;
  z-index: 2;
  top: 13%;
  width: 29%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 44% 56% / 48% 48% 52% 52%;
}

.hero-car-rider::before,
.hero-car-rider::after {
  content: "";
  position: absolute;
  width: 13%;
  height: 34%;
  top: 49%;
  border-radius: 8px;
  background: inherit;
}

.hero-car-rider::before {
  left: -9%;
  transform: rotate(-38deg);
}

.hero-car-rider::after {
  right: -9%;
  transform: rotate(38deg);
}

.hero-car-rider img {
  width: 67%;
  height: 67%;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.08));
}

.hero-car-rider-chatgpt {
  left: 27%;
  background: linear-gradient(145deg, #29d7b3 0%, #0b9990 100%);
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, 0.18);
}

.hero-car-rider-chatgpt img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.08));
}

.hero-car-rider-codex {
  right: 19%;
  background: linear-gradient(145deg, #1e3c51 0%, #132638 100%);
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, 0.06);
}

.hero-car-rider-codex img {
  width: 58%;
  height: 58%;
}

.hero-car-pin {
  position: absolute;
  z-index: 3;
  left: 49%;
  top: 0;
  width: 10%;
  aspect-ratio: 0.78;
  border-radius: 999px 999px 999px 0;
  background: linear-gradient(145deg, #ff8c35, #ff681d);
  transform: rotate(-45deg);
  box-shadow: 0 8px 14px rgba(209, 97, 32, 0.2);
}

.hero-car-pin::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 8px;
  background: #fff8e8;
}

.hero-car-spark {
  position: absolute;
  width: 4%;
  aspect-ratio: 1;
  background: #fbd25b;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}

.hero-car-spark-left {
  left: 5%;
  top: 28%;
}

.hero-car-spark-right {
  right: 3%;
  top: 23%;
  transform: scale(0.8);
}
.shop-hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: min(100%, 957px);
  max-width: 957px;
  min-height: 258px;
  min-width: 0;
}

.shop-kicker {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
}

.shop-hero h1 {
  width: fit-content;
  margin: 0;
  color: #123b86;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  font-weight: 950;
  background: linear-gradient(95deg, #102a55 0%, #1f5dd9 48%, #5f7df3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 36px rgba(31, 93, 217, 0.12);
}

.shop-brand-combo {
  display: grid;
  gap: 8px;
  width: min(62vw, 720px);
  max-width: 100%;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.shop-brand-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.shop-brand-main h1 {
  width: fit-content;
  margin: 0;
  color: #3152d9;
  font-size: clamp(3.45rem, 6.4vw, 6.15rem);
  line-height: 0.96;
  letter-spacing: 0;
  white-space: nowrap;
  font-weight: 950;
  background: linear-gradient(92deg, #6b55f2 0%, #3152d9 54%, #1744b5 100%);
  text-shadow: none;
  -webkit-text-stroke: 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shop-hero .shop-brand-main h1 {
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.shop-brand-main h1 span {
  margin-right: 0.08em;
  font-style: italic;
}

.shop-brand-subline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, 86%);
  margin-left: 0;
  justify-content: center;
}

.shop-brand-subline-logo {
  width: clamp(46px, 4vw, 58px);
  height: clamp(46px, 4vw, 58px);
  flex: 0 0 auto;
  object-fit: contain;
  filter: none;
}

.shop-brand-subline-chatgpt {
  transform: scale(0.92);
}

.shop-brand-subline-codex {
  transform: scale(1.06);
}

.shop-brand-subline::before,
.shop-brand-subline::after {
  content: "";
  height: 2px;
  flex: 1 1 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(93, 80, 230, 0), rgba(93, 80, 230, 0.56));
}

.shop-brand-subline::after {
  background: linear-gradient(90deg, rgba(93, 80, 230, 0.56), rgba(93, 80, 230, 0));
}

.shop-brand-pill {
  min-width: 216px;
  padding: 8px 22px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 10px 20px rgba(71, 63, 205, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  background: linear-gradient(90deg, #6756f0 0%, #344ed1 100%);
}

.shop-brand-tagline {
  margin: 0;
  width: fit-content;
  color: #384fd0;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0;
}
.shop-subtitle {
  max-width: 760px;
  margin: 14px 0 0;
  color: #263c5d;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 750;
  white-space: nowrap;
}

.shop-spots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.shop-spot-badge {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(69, 108, 165, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: #2854c7;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(36, 69, 112, 0.12);
  backdrop-filter: blur(12px);
}

.shop-spot-badge svg,
.shop-button svg,
.btn svg,
.top-tab svg,
.panel-meta-pill svg,
.field-icon,
.info-box svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.shop-spot-badge strong {
  font-size: 1.05rem;
}

.shop-spot-normal {
  border-color: rgba(51, 192, 111, 0.30);
  background: rgba(226, 255, 236, 0.74);
  color: #177546;
}

.shop-spot-welfare {
  border-color: rgba(78, 131, 241, 0.28);
  background: rgba(220, 232, 255, 0.76);
  color: #2854c7;
}

.shop-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  width: 100%;
  justify-content: space-between;
  margin-top: 22px;
  white-space: nowrap;
}

.shop-button,
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.shop-button {
  min-width: 126px;
}

.shop-button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.shop-button-primary,
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #7b60ce);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(61, 98, 210, 0.30);
}

.shop-button-secondary,
.btn-secondary {
  background: var(--sun);
  color: #664320;
  box-shadow: 0 16px 34px rgba(234, 161, 61, 0.24);
}

.shop-button-light {
  background: rgba(255, 255, 255, 0.82);
  color: #2854c7;
  border: 1px solid rgba(78, 131, 241, 0.24);
  box-shadow: 0 14px 30px rgba(44, 80, 126, 0.14);
}

.shop-account-entry {
  background: rgba(230, 241, 255, 0.92);
}

.shop-account-entry.is-logged-in {
  background: #e7fff1;
  color: #177546;
  border-color: rgba(51, 192, 111, 0.34);
}

.shop-signup-entry {
  background: rgba(255, 248, 225, 0.92);
  color: #9a5b00;
  border: 1px solid rgba(255, 187, 64, 0.46);
  box-shadow: 0 14px 30px rgba(234, 161, 61, 0.16);
}

.shop-signup-entry:hover {
  box-shadow: 0 18px 34px rgba(234, 161, 61, 0.22);
}

.shop-actions > .shop-button:nth-child(1) {
  background: #f5c84c;
  color: #5f3b00;
  border-color: rgba(185, 121, 0, 0.22);
  box-shadow: 0 14px 28px rgba(234, 161, 61, 0.28);
}

.shop-actions > .shop-button:nth-child(2) {
  background: #d8f2ff;
  color: #075985;
  border-color: rgba(14, 116, 144, 0.24);
  box-shadow: 0 14px 28px rgba(14, 116, 144, 0.16);
}

.shop-actions > .shop-button:nth-child(3) {
  background: #dff8ea;
  color: #166534;
  border-color: rgba(22, 101, 52, 0.22);
  box-shadow: 0 14px 28px rgba(22, 101, 52, 0.14);
}

.shop-actions > .shop-button:nth-child(4) {
  background: #ffe5b7;
  color: #92400e;
  border-color: rgba(180, 83, 9, 0.24);
  box-shadow: 0 14px 28px rgba(180, 83, 9, 0.16);
}

.shop-actions > .shop-button:nth-child(5) {
  background: #dce8ff;
  color: #174bb6;
  border-color: rgba(47, 100, 214, 0.28);
  box-shadow: 0 14px 28px rgba(47, 100, 214, 0.18);
}

.shop-actions .shop-notice-contact {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.shop-actions .shop-notice-group {
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(78, 131, 241, 0.24);
  background: rgba(220, 232, 255, 0.92);
  box-shadow: 0 14px 30px rgba(44, 80, 126, 0.12);
  font-weight: 900;
}

.compact-btn {
  min-height: 46px;
  padding: 0 18px;
}

.shop-notice {
  position: relative;
  width: min(92vw, 1780px);
  max-width: none;
  min-height: 0;
  display: block;
  margin: -22px auto 0;
  padding: 0;
  border: 0;
  border-radius: 34px;
  background: transparent;
  box-shadow: none;
  z-index: 3;
}

.shop-notice-copy {
  min-width: 0;
  width: 100%;
}

.shop-notice h2,
.shop-section-heading h2 {
  margin: 0;
  color: #15233d;
  font-size: 2rem;
  line-height: 1.34;
  letter-spacing: 0;
}

.shop-notice p,
.shop-section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.7;
}

.shop-notice .shop-kicker,
.shop-section-heading .shop-kicker {
  margin-bottom: 10px;
}

.shop-notice-group {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0 16px;
  border-radius: 8px;
  background: #dce8ff;
  color: #2854c7 !important;
  white-space: nowrap;
}

.shop-notice-contact {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: none;
}

.shop-notice-sticker-link {
  position: absolute;
  left: 10px;
  bottom: 22px;
  z-index: 6;
  display: block;
  width: 92px;
  line-height: 0;
}

.shop-notice-sticker-link:hover .shop-notice-sticker {
  transform: translateY(-2px) rotate(-2deg);
}

.shop-notice-sticker {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(78, 99, 133, 0.22));
  transition: transform 0.2s ease;
}

.shop-notice-sticker-link.shop-hero-admin-link {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  z-index: 5;
  justify-self: center;
  align-self: center;
  width: clamp(128px, 12vw, 170px);
  transform: translateY(25px);
}

.shop-notice-sticker-link.shop-hero-admin-link .shop-notice-sticker {
  filter: drop-shadow(0 22px 28px rgba(47, 79, 126, 0.18));
}

@media (min-width: 901px) {
  .shop-hero-copy {
    transform: scale(1.045);
    transform-origin: left center;
  }

  .shop-notice-sticker-link.shop-hero-admin-link {
    transform: translate(22px, 25px);
  }
}

.shop-notice-carousel {
  position: relative;
  display: block;
  width: min(88vw, 1688px);
  margin: 32px auto 0;
}

.notice-slide-viewport {
  overflow: hidden;
  aspect-ratio: 31 / 10;
  min-height: 300px;
  max-height: 560px;
  border-radius: 34px;
  background: #edf4ff;
  box-shadow: 0 24px 52px rgba(28, 52, 86, 0.12), inset 0 0 0 1px rgba(42, 78, 125, 0.06);
}

.notice-slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.42s ease;
}

.notice-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 34px;
  background: #edf4ff;
}

.notice-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.notice-slide.is-disabled {
  cursor: default;
}

.notice-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #2f64d6;
  box-shadow: 0 14px 28px rgba(44, 80, 126, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.notice-prev {
  left: 24px;
}

.notice-next {
  right: 24px;
}

.notice-nav:hover {
  border-color: rgba(46, 94, 199, 0.36);
  transform: translateY(-52%);
  box-shadow: 0 18px 32px rgba(44, 80, 126, 0.22);
}

.shop-notice-carousel.single-slide .notice-nav,
.shop-notice-carousel.single-slide .notice-dots {
  visibility: hidden;
}

.notice-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 14px;
  transform: translateX(-50%);
}

.notice-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(42, 78, 125, 0.24);
  cursor: pointer;
}

.notice-dot.active {
  width: 18px;
  border-radius: 8px;
  background: #2f64d6;
}

.leaderboard-band {
  padding: 0 24px 36px;
}

.leaderboard-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.leaderboard-shell {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 48px rgba(41, 72, 118, 0.08);
}

.leaderboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.leaderboard-header h2 {
  margin: 6px 0 0;
  color: #15233d;
  font-size: 1.6rem;
}

.leaderboard-header p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.leaderboard-header-side {
  min-width: 216px;
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.leaderboard-month {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(78, 131, 241, 0.12);
  color: #2457c7;
  font-weight: 900;
}

.leaderboard-countdown {
  color: #15233d;
  font-size: 1.06rem;
}

.leaderboard-current-user {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.92);
  border: 1px solid rgba(42, 78, 125, 0.12);
}

.leaderboard-current-user-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: #50657f;
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.25;
  white-space: nowrap;
}

.leaderboard-current-name {
  color: #15233d;
  font-size: 1rem;
  font-weight: 950;
}

.leaderboard-inline-number {
  color: #1f5dd9;
  font-size: 1.9rem;
  line-height: 1;
  font-size: 0.88rem;
  font-weight: 950;
}

.leaderboard-current-user-guest {
  background: rgba(255, 247, 225, 0.88);
  border-color: rgba(233, 182, 66, 0.26);
}

.leaderboard-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.leaderboard-top-card {
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 22px 20px;
  border-radius: 8px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.96));
}

.leaderboard-top-card strong {
  color: #14233c;
  font-size: 1.12rem;
}

.leaderboard-top-card span {
  display: none;
}

.leaderboard-top-card b {
  color: #174bb6;
  font-size: 1rem;
}

.leaderboard-top-rank {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(25, 43, 70, 0.08);
  color: #214578;
  font-size: 0.84rem;
  font-weight: 900;
}

.leaderboard-top-card.rank-1 {
  background: linear-gradient(180deg, rgba(255, 247, 225, 0.98), rgba(255, 239, 196, 0.94));
  border-color: rgba(228, 179, 55, 0.28);
  box-shadow: 0 18px 42px rgba(228, 179, 55, 0.18);
}

.leaderboard-top-card.rank-2 {
  background: linear-gradient(180deg, rgba(246, 248, 252, 0.98), rgba(233, 238, 247, 0.94));
  border-color: rgba(130, 147, 170, 0.22);
}

.leaderboard-top-card.rank-3 {
  background: linear-gradient(180deg, rgba(255, 242, 232, 0.98), rgba(248, 225, 204, 0.94));
  border-color: rgba(204, 135, 82, 0.24);
}

.leaderboard-double-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.leaderboard-panel-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.9);
}

.leaderboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.leaderboard-panel-head h3 {
  margin: 0;
  color: #15233d;
  font-size: 1.05rem;
}

.leaderboard-panel-head span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: right;
}

.leaderboard-period-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.leaderboard-period-toggle button {
  min-width: 58px;
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #58708c;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.leaderboard-period-toggle button.active {
  background: #174bb6;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 75, 182, 0.18);
}

.leaderboard-list {
  display: grid;
  gap: 10px;
}

.leaderboard-list-row {
  display: grid;
  grid-template-columns: 52px minmax(180px, 1.15fr) minmax(160px, 0.95fr) minmax(150px, 0.9fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(42, 78, 125, 0.08);
}

.leaderboard-list-row.top-1 {
  border-color: rgba(228, 179, 55, 0.26);
  background: rgba(255, 247, 225, 0.82);
}

.leaderboard-list-row.top-2 {
  border-color: rgba(130, 147, 170, 0.20);
  background: rgba(242, 245, 251, 0.9);
}

.leaderboard-list-row.top-3 {
  border-color: rgba(204, 135, 82, 0.22);
  background: rgba(255, 243, 235, 0.88);
}

.leaderboard-list-rank {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(78, 131, 241, 0.12);
  color: #2457c7;
  font-weight: 900;
}

.leaderboard-list-user {
  min-width: 0;
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
}

.leaderboard-list-user strong,
.leaderboard-list-value {
  color: #15233d;
  font-weight: 900;
}

.leaderboard-list-user span {
  color: #58708c;
  font-size: 0.86rem;
  font-weight: 760;
}

.leaderboard-list-value {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(160px, 1fr) minmax(150px, 1fr);
  align-items: center;
  justify-items: center;
  gap: 16px;
  white-space: nowrap;
  text-align: center;
}

.leaderboard-list-value span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.leaderboard-cta-row {
  display: flex;
  justify-content: center;
}

.shop-redeem {
  position: relative;
  padding: 56px 8vw 76px;
  background: #f7fbff;
}

.shop-section-heading {
  max-width: 1160px;
  margin: 0 auto 22px;
}

.compact-heading {
  margin-bottom: 16px;
}

.shop-redeem-shell {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
}

.shop-redeem-sticker-link {
  position: absolute;
  right: -44px;
  top: -92px;
  z-index: 2;
  display: block;
  width: 150px;
  line-height: 0;
}

.shop-redeem-sticker {
  display: block;
  width: 150px;
  height: auto;
  transform: rotate(8deg);
  filter: drop-shadow(0 20px 26px rgba(78, 99, 133, 0.22));
}

.shop-redeem-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.86)),
    #ffffff;
  box-shadow: var(--shadow);
  padding: 28px;
}

.top-nav-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.78);
}

.top-tab {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #526a86;
  font-weight: 900;
  cursor: pointer;
}

.top-tab.active {
  background: #ffffff;
  color: #2854c7;
  box-shadow: 0 10px 30px rgba(44, 80, 126, 0.12);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.leaderboard-view .leaderboard-inner {
  max-width: none;
  width: 100%;
}

.leaderboard-view .leaderboard-shell {
  box-shadow: none;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.account-hero {
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 24px;
}

.account-hero .shop-sticker-cash {
  top: 10vh;
  right: 10vw;
  width: min(18vw, 210px);
}

.account-back-row {
  max-width: 1160px;
  margin: 0 auto 14px;
}

.account-back-button {
  min-width: 126px;
}

.account-page-panel {
  display: block;
}

.account-page,
.account-page input,
.account-page select,
.account-page textarea,
.account-page button {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.account-page .customer-account-panel {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.account-page .customer-account-panel.hidden {
  display: none;
}

.account-page .customer-auth-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-page .customer-auth-form > .compact-btn {
  grid-column: 1 / -1;
  width: min(100%, 320px);
}

.account-page-center {
  min-width: 0;
}

.account-dashboard-host {
  min-height: 0;
}

.account-dashboard {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.92rem;
}

.account-dashboard div,
.account-dashboard section {
  border-bottom: 0;
  padding-bottom: 0;
}

.account-dashboard-sidebar,
.account-dashboard-main {
  min-width: 0;
  border: 1px solid rgba(42, 78, 125, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 50px rgba(41, 72, 118, 0.10);
}

.account-dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px 20px;
}

.account-sidebar-profile {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 8px !important;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

.account-avatar,
.account-profile-avatar {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border-radius: 8px;
  background: #e9edf4;
  color: #1f5dd9;
  font-weight: 950;
  line-height: 1;
  font-size: 0.88rem;
  text-align: center;
  overflow: hidden;
}

.account-avatar span,
.account-profile-avatar span {
  display: block;
  width: 100%;
  line-height: 1;
  font-size: 0.88rem;
  text-align: center;
}

.account-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.account-avatar.default-avatar,
.account-profile-avatar.default-avatar {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(42, 78, 125, 0.08);
}

.account-avatar.default-avatar .account-avatar-image,
.account-profile-avatar.default-avatar .account-avatar-image {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.account-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.08rem;
}

.account-sidebar-profile strong {
  width: 100%;
  color: #13243d;
  font-size: 0.92rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.account-sidebar-profile span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.account-menu {
  display: grid;
  gap: 8px;
}

.account-menu-button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #213652;
  font-size: 0.9rem;
  font-weight: 850;
  text-align: left;
}

.account-menu-button svg {
  width: 20px;
  height: 20px;
}

.account-menu-button:hover,
.account-menu-button.active {
  background: rgba(78, 131, 241, 0.13);
  color: #1f5dd9;
}

.logout-button {
  margin-top: 20px;
  background: rgba(255, 226, 216, 0.70);
  color: #c94c32;
}

.account-dashboard-main {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 28px;
}

.account-dashboard-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px !important;
}

.account-dashboard-head h3 {
  margin: 0;
  color: #13243d;
  font-size: 1.18rem;
}

.account-dashboard-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-align: right;
}

.account-dashboard-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px !important;
  width: 100%;
  justify-items: stretch;
}

.account-dashboard-content > .account-section,
.account-dashboard-content > .account-profile-card,
.account-dashboard-content > .account-wallet-grid,
.account-dashboard-content > form {
  width: 100%;
  justify-self: stretch;
}

.account-profile-card {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 20px;
}

.account-profile-top {
  display: flex !important;
  align-items: center;
  gap: 16px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.account-profile-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.08rem;
}

.avatar-upload-form {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0;
}

.avatar-click-form {
  width: max-content;
}

.avatar-click-target {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar-click-target:hover .account-profile-avatar {
  box-shadow: 0 0 0 4px rgba(78, 131, 241, 0.14);
}

.account-profile-fields {
  width: min(100%, 680px);
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  align-items: center;
}

.account-profile-fields > div {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px !important;
}

.account-profile-fields span {
  color: #13243d;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: left;
}

.account-profile-fields strong,
.account-profile-fields input {
  min-width: 0;
  font-size: 0.9rem;
}

.password-section {
  width: min(100%, 680px);
  margin-top: 4px;
}

.profile-edit-section {
  width: min(100%, 680px);
  margin-top: 4px;
}

.profile-edit-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.profile-edit-form .form-message {
  grid-column: 1 / -1;
}

.password-change-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.password-change-form .btn,
.password-change-form .form-message {
  grid-column: 1 / -1;
}

.password-change-form .btn {
  width: min(100%, 220px);
}

.password-change-form .account-password-field {
  min-width: 0;
}

.renewal-order-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  background: #f7faff;
}

.renewal-order-link-row span,
.renewal-order-link-row b {
  color: #29415f;
}

.renewal-order-link-row a {
  flex: 0 0 auto;
  color: #1677e8;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.renewal-order-link-row a.disabled-link {
  color: #9aa5b3;
  pointer-events: none;
  text-decoration: none;
}

@media (max-width: 620px) {
  .renewal-order-link-row { align-items: flex-start; flex-direction: column; }
}

.account-tool-form,
.account-center-form {
  width: 100%;
  margin: 0;
  box-shadow: none;
}

.account-support-row {
  margin-top: 0;
}

.signup-main-column,
.signup-pane,
.mine-pane,
.admin-login,
.admin-board {
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.panel-head h3 {
  margin: 0;
  color: #15233d;
  font-size: 1.5rem;
  line-height: 1.25;
}

.mine-title {
  display: inline-block;
  white-space: nowrap;
}

.panel-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.single-line-note {
  white-space: nowrap;
}

.row-head {
  align-items: center;
}

.panel-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.panel-meta-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.80);
  color: #2854c7;
  font-weight: 850;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(78, 131, 241, 0.20);
  background: rgba(220, 232, 255, 0.58);
  color: #2b4a70;
  font-weight: 700;
  line-height: 1.65;
}

.info-box p {
  margin: 0;
}

.stack-form {
  display: grid;
  gap: 18px;
}

.match-prediction-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(39, 112, 241, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(242, 248, 255, 0.96), rgba(249, 247, 255, 0.96));
}

.match-prediction-panel.hidden {
  display: none;
}

.match-prediction-heading,
.match-prediction-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.match-prediction-heading > div {
  display: grid;
  gap: 3px;
}

.match-prediction-heading strong {
  color: #12284c;
  font-size: 1rem;
}

.match-prediction-heading span,
.match-prediction-heading small,
.match-prediction-message {
  color: #71809a;
  font-size: 0.76rem;
  font-weight: 700;
}

.match-prediction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.match-prediction-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "kicker check"
    "heading heading"
    "result result"
    "sample sample";
  gap: 10px 16px;
  min-width: 0;
  min-height: 0;
  padding: 18px 20px 16px;
  border: 1px solid #d7e1ef;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(47, 105, 225, 0.10), transparent 38%),
    #ffffff;
  color: #243854;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.match-prediction-card:hover {
  transform: translateY(-3px);
  border-color: #8ab6ff;
  box-shadow: 0 16px 34px rgba(39, 112, 241, 0.18);
}

.match-prediction-card.selected {
  border-color: #2879ef;
  box-shadow: 0 0 0 3px rgba(40, 121, 239, 0.13), 0 16px 36px rgba(39, 112, 241, 0.20);
}

.match-prediction-check {
  grid-area: check;
  position: relative;
  z-index: 3;
  justify-self: end;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(40, 121, 239, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: transparent;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.match-prediction-check svg {
  width: 17px;
  height: 17px;
  stroke-width: 3;
}

.match-prediction-card.selected .match-prediction-check {
  border-color: #2879ef;
  background: #2879ef;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(40, 121, 239, 0.28);
}

.match-prediction-kicker {
  grid-area: kicker;
  position: relative;
  z-index: 1;
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.10);
  color: #4f46e5;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.match-prediction-card-head strong {
  overflow: hidden;
  color: #12284c;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-prediction-card-head {
  grid-area: heading;
  align-items: flex-end;
  padding-bottom: 11px;
  border-bottom: 1px solid #e7edf6;
}

.match-prediction-card-head b {
  flex: 0 0 auto;
  margin-right: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #1769d2;
  font-size: 25px;
  line-height: 1;
}

.match-prediction-result {
  grid-area: result;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.match-prediction-rate {
  position: relative;
  z-index: 1;
  color: #315fe9;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.match-prediction-card.channel-standard {
  border-color: #c8d9f3;
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.16), transparent 42%),
    linear-gradient(145deg, #ffffff 18%, #f1f6ff 100%);
  box-shadow: inset 4px 0 0 #2563eb;
}

.match-prediction-card.channel-standard .match-prediction-kicker {
  background: #e5efff;
  color: #1558bd;
}

.match-prediction-card.channel-standard .match-prediction-card-head strong {
  color: #102f61;
}

.match-prediction-card.channel-standard .match-prediction-card-head b,
.match-prediction-card.channel-standard .match-prediction-rate {
  color: #1d5fd1;
}

.match-prediction-card.channel-trial {
  border-color: #ddd2f7;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.17), transparent 42%),
    linear-gradient(145deg, #ffffff 18%, #f8f4ff 100%);
  box-shadow: inset 4px 0 0 #8b5cf6;
}

.match-prediction-card.channel-trial .match-prediction-kicker {
  background: #efe7ff;
  color: #7242c7;
}

.match-prediction-card.channel-trial .match-prediction-card-head {
  border-bottom-color: #e9e0f8;
}

.match-prediction-card.channel-trial .match-prediction-card-head strong {
  color: #42256f;
}

.match-prediction-card.channel-trial .match-prediction-card-head b,
.match-prediction-card.channel-trial .match-prediction-rate {
  color: #7c3fc2;
}

.match-prediction-card.channel-standard.selected {
  border-color: #2563eb;
  box-shadow: inset 4px 0 0 #2563eb, 0 0 0 3px rgba(37, 99, 235, 0.13), 0 16px 36px rgba(37, 99, 235, 0.18);
}

.match-prediction-card.channel-trial.selected {
  border-color: #8b5cf6;
  box-shadow: inset 4px 0 0 #8b5cf6, 0 0 0 3px rgba(139, 92, 246, 0.13), 0 16px 36px rgba(109, 40, 217, 0.16);
}

.match-prediction-card.channel-trial.selected .match-prediction-check {
  border-color: #8b5cf6;
  background: #8b5cf6;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.26);
}

.match-prediction-card.status-instant {
  border-color: rgba(5, 171, 111, 0.40);
  background:
    radial-gradient(circle at 100% 0, rgba(16, 185, 129, 0.22), transparent 44%),
    linear-gradient(145deg, #ecfff7, #ffffff 68%);
}

.match-prediction-card.status-instant .match-prediction-kicker {
  background: linear-gradient(135deg, #0bb978, #16a36f);
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(5, 171, 111, 0.22);
}

.match-prediction-card.status-instant .match-prediction-rate {
  color: #078452;
}

.match-prediction-card.status-insufficient .match-prediction-rate {
  color: #64748b;
}

.match-prediction-eta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 6px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(40, 121, 239, 0.12);
  border-radius: 8px;
  background: #f5f8fe;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 900;
}

.match-prediction-eta svg {
  width: 14px;
  height: 14px;
  color: #2879ef;
}

.match-prediction-card small {
  grid-area: sample;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7a879b;
  font-size: 0.72rem;
  line-height: 1.45;
}

.match-prediction-card small svg {
  width: 13px;
  height: 13px;
}

.match-prediction-message {
  margin: 0;
  line-height: 1.5;
}

.match-prediction-loading {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed #c8d6ea;
  border-radius: 8px;
  color: #71809a;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 750;
}

@media (max-width: 720px) {
  .match-prediction-panel {
    padding: 13px;
  }

  .match-prediction-heading {
    display: grid;
    align-items: flex-start;
    justify-content: stretch;
    gap: 4px;
  }

  .match-prediction-heading small {
    line-height: 1.45;
    white-space: normal;
  }

  .match-prediction-grid {
    grid-template-columns: 1fr;
  }

  .match-prediction-card-head b {
    font-size: 24px;
  }

  .match-prediction-card-head strong {
    font-size: 1.85rem;
  }

  .match-prediction-result {
    display: grid;
    justify-items: start;
    gap: 9px;
  }
}

/* Rich channel recommendation cards. */
.match-prediction-card.channel-standard,
.match-prediction-card.channel-trial {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.78fr);
  grid-template-rows: auto auto auto minmax(68px, 1fr) auto;
  grid-template-areas:
    "kicker check"
    "heading heading"
    "tagline tagline"
    "result illustration"
    "benefits price";
  min-height: 250px;
  padding: 16px 18px 14px;
  gap: 6px 12px;
  isolation: isolate;
}

.match-prediction-card.channel-standard::after,
.match-prediction-card.channel-trial::after {
  content: "";
  position: absolute;
  inset: auto -8% -22% 32%;
  z-index: -1;
  height: 52%;
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.match-prediction-card.channel-standard::after {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.16), rgba(37, 99, 235, 0.04));
}

.match-prediction-card.channel-trial::after {
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.22), rgba(139, 92, 246, 0.05));
}

.match-prediction-card.channel-standard .match-prediction-card-head,
.match-prediction-card.channel-trial .match-prediction-card-head {
  grid-area: unset;
  position: absolute;
  top: 48px;
  left: 18px;
  right: 18px;
  z-index: 2;
  align-self: end;
  padding: 2px 0 0;
  border-bottom: 0;
}

.match-prediction-card.channel-standard .match-prediction-card-head strong,
.match-prediction-card.channel-trial .match-prediction-card-head strong {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(2.25rem, 3.25vw, 3rem);
  overflow: visible;
  padding: 3px 0 5px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-overflow: clip;
}

.channel-title-accent {
  position: relative;
  display: inline-block;
  padding-right: 0.04em;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 5px 12px rgba(37, 99, 235, 0.18));
}

.channel-standard .channel-title-accent {
  background-image: linear-gradient(105deg, #174fbe 3%, #3485f4 58%, #d39b27 100%);
}

.channel-trial .channel-title-accent {
  background-image: linear-gradient(105deg, #6528b8 2%, #9d4edd 56%, #ec4899 100%);
  filter: drop-shadow(0 5px 12px rgba(139, 92, 246, 0.20));
}

.channel-title-rest {
  color: #102f61;
}

.channel-trial .channel-title-rest {
  color: #42256f;
}

.channel-title-icon,
.channel-title-sparkle {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}

.channel-title-icon {
  top: -12px;
  right: -7px;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 4px 7px rgba(15, 23, 42, 0.15));
  animation: channel-title-float 4s ease-in-out infinite;
}

.channel-standard .channel-title-icon {
  color: #d49a1e;
  stroke-width: 2.4;
}

.channel-trial .channel-title-icon {
  color: #9b4fdf;
  stroke-width: 2.3;
}

.channel-title-sparkle {
  top: -13px;
  right: -24px;
  width: 15px;
  height: 15px;
  color: #f0b63d;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px currentColor);
  animation: channel-title-twinkle 2.8s ease-in-out infinite;
}

.channel-trial .channel-title-sparkle {
  color: #df72ed;
  animation-delay: -1.2s;
}

@keyframes channel-title-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-2px) rotate(3deg); }
}

@keyframes channel-title-twinkle {
  0%, 100% { opacity: 0.48; transform: scale(0.82) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.12) rotate(12deg); }
}

.match-prediction-tagline {
  grid-area: unset;
  position: absolute;
  top: 99px;
  left: 18px;
  z-index: 2;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.channel-standard .match-prediction-tagline {
  color: #35629d;
}

.channel-trial .match-prediction-tagline {
  color: #754bb2;
}

.match-prediction-illustration {
  grid-area: unset;
  position: absolute;
  top: 78px;
  right: 18px;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: 220px;
  max-height: 168px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(1.06) contrast(1.02);
  pointer-events: none;
  user-select: none;
}

.match-prediction-card.channel-standard .match-prediction-result,
.match-prediction-card.channel-trial .match-prediction-result {
  grid-area: unset;
  position: absolute;
  top: 116px;
  left: 18px;
  right: 18px;
  z-index: 2;
  width: auto;
  height: 78px;
  min-width: 0;
  padding: 10px 15px 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.match-prediction-card.channel-standard .match-prediction-result::after,
.match-prediction-card.channel-trial .match-prediction-result::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--prediction-rate);
  height: 5px;
  border-radius: 0 999px 999px 0;
}

.match-prediction-card.channel-standard .match-prediction-result::after {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.match-prediction-card.channel-trial .match-prediction-result::after {
  background: linear-gradient(90deg, #7c3fc2, #b794f6);
}

.match-prediction-card .match-prediction-rate {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  letter-spacing: 0;
}

.match-prediction-card .match-prediction-rate em {
  color: #36506f;
  padding-bottom: 7px;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 850;
}

.match-prediction-card .match-prediction-rate strong {
  font-size: 3.65rem;
  line-height: 1;
  letter-spacing: -0.055em;
}

.match-prediction-benefits {
  grid-area: unset;
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 400px;
  height: 32px;
  font-size: 32px;
  min-width: 0;
}

.match-prediction-benefits > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #29425f;
  font-size: 0.48em;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.match-prediction-benefits svg {
  width: 20px;
  height: 20px;
}

.channel-standard .match-prediction-benefits svg {
  color: #2364c7;
}

.channel-trial .match-prediction-benefits svg {
  color: #7c3fc2;
}

.match-prediction-price {
  grid-area: unset;
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 2;
  align-self: end;
  justify-self: end;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.match-prediction-price b {
  font-size: 2.45rem;
  line-height: 0.9;
}

.match-prediction-price em {
  color: #71809a;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 750;
}

.channel-standard .match-prediction-price b {
  color: #2563d7;
}

.channel-trial .match-prediction-price b {
  color: #7c3fc2;
}

.match-prediction-card.channel-standard > small,
.match-prediction-card.channel-trial > small {
  display: none;
}

@media (max-width: 980px) {
  .match-prediction-card.channel-standard,
  .match-prediction-card.channel-trial {
    grid-template-columns: minmax(0, 1fr) 150px;
    min-height: 250px;
    padding: 16px;
  }

  .match-prediction-benefits {
    gap: 8px;
  }

  .match-prediction-benefits > span {
    font-size: 0.66rem;
  }
}

@media (max-width: 720px) {
  .match-prediction-card.channel-standard,
  .match-prediction-card.channel-trial {
    grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-rows: auto auto auto minmax(90px, 1fr) auto auto;
    grid-template-areas:
      "kicker check"
      "heading heading"
      "tagline tagline"
      "result illustration"
      "benefits benefits"
      ". price";
    min-height: 320px;
    padding: 18px;
  }

  .match-prediction-card.channel-standard .match-prediction-card-head strong,
  .match-prediction-card.channel-trial .match-prediction-card-head strong {
    font-size: 1.85rem;
  }

  .channel-title-icon {
    top: -9px;
    right: -5px;
    width: 18px;
    height: 18px;
    padding: 2px;
    border-radius: 6px;
  }

  .channel-title-sparkle {
    top: -9px;
    right: -19px;
    width: 12px;
    height: 12px;
  }

  .match-prediction-card.channel-standard .match-prediction-card-head,
  .match-prediction-card.channel-trial .match-prediction-card-head {
    top: 50px;
    left: 14px;
    right: 14px;
  }

  .match-prediction-tagline {
    top: 87px;
    left: 14px;
    font-size: 0.72rem;
  }

  .match-prediction-illustration {
    top: 108px;
    right: 4px;
    width: 150px;
    max-height: 125px;
  }

  .match-prediction-card.channel-standard .match-prediction-result,
  .match-prediction-card.channel-trial .match-prediction-result {
    top: 112px;
    left: 14px;
    right: 14px;
    width: auto;
    height: 84px;
    min-width: 0;
    padding: 12px;
  }

  .match-prediction-card .match-prediction-rate strong {
    font-size: 3.1rem;
  }

  .match-prediction-benefits {
    left: 14px;
    right: 14px;
    bottom: 52px;
    width: auto;
    height: auto;
    font-size: 20px;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .match-prediction-price {
    right: 14px;
    bottom: 14px;
  }

  .match-prediction-price b {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .channel-title-icon,
  .channel-title-sparkle {
    animation: none;
  }
}

/* Match credential typography to the compact order-meta row. */
.dujiao-theme .market-account .account-order-field > span,
.dujiao-theme .market-account .account-order-field > strong,
.dujiao-theme .market-account .account-order-field .account-order-empty-code,
.dujiao-theme .market-account .account-order-field .copyOrderCredential {
  font-size: 12px;
  font-weight: 400;
}

.form-group {
  display: grid;
  gap: 9px;
}

.form-group span {
  color: #243854;
  font-weight: 850;
}

.form-group em {
  color: #ff6b6b;
  font-style: normal;
}

.field-wrap {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #7d95b4;
  pointer-events: none;
  z-index: 1;
}

.feature-logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 0;
  flex: 0 0 28px;
}

.feature-logo-icon.is-placeholder {
  opacity: 0.72;
}

.feature-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.feature-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 18px;
  text-align: left;
  cursor: pointer;
}

.feature-picker-wrap .field-icon {
  display: none;
}

.feature-select-button.open {
  border-color: rgba(78, 131, 241, 0.72);
  box-shadow: 0 0 0 4px rgba(78, 131, 241, 0.14);
}

.feature-option-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.feature-option-content span {
  color: var(--ink);
  font-weight: 850;
  line-height: 1;
}

.feature-option-placeholder {
}

.feature-select-chevron {
  width: 18px;
  height: 18px;
  color: #6f86a6;
  flex: 0 0 18px;
}

.feature-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  padding: 6px;
  border: 1px solid rgba(42, 78, 125, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(30, 55, 92, 0.16);
}

.feature-select-option {
  min-height: 42px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.feature-select-option:hover,
.feature-select-option.selected {
  background: rgba(78, 131, 241, 0.12);
}

.form-input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 52px;
  border: 1px solid rgba(42, 78, 125, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 750;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.feature-picker-wrap .feature-select-button {
  padding-left: 18px;
}

.field-wrap .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6a86a8;
  transform: translateY(-50%);
}

.field-wrap .password-toggle:hover,
.field-wrap .password-toggle:focus-visible {
  background: rgba(78, 131, 241, 0.12);
  color: #2854c7;
  outline: none;
}

.field-wrap .password-toggle svg {
  width: 18px;
  height: 18px;
}

.password-field .form-input {
  padding-right: 56px;
}

select.form-input {
  appearance: none;
}

.plain-input {
  padding-left: 18px;
}

.form-input:focus {
  border-color: rgba(78, 131, 241, 0.72);
  box-shadow: 0 0 0 4px rgba(78, 131, 241, 0.14);
}

.form-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #2854c7;
  font-weight: 850;
}

.signup-deposit {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.deposit-title {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.deposit-title strong {
  color: #177546;
  font-size: 1.02rem;
}

.deposit-title a {
  color: #1f5dd9;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
}

.compact-info {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.customer-account-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(41, 72, 118, 0.08);
}

.customer-auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.customer-auth-form .form-message,
.customer-auth-form .auth-tabs,
.customer-auth-form .auth-invite-field,
.customer-auth-form .customer-remember-login,
.customer-auth-form .customer-auth-actions {
  grid-column: 1 / -1;
}

.customer-remember-login {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: fit-content;
  color: #20334f;
  cursor: pointer;
  user-select: none;
}

.customer-remember-login > input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1f7be8;
}

.customer-remember-login > span {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-remember-login strong {
  font-size: 13px;
  font-weight: 600;
}

.customer-remember-login small {
  color: #7d8797;
  font-size: 11px;
}

.customer-remember-login.hidden {
  display: none;
}

.customer-auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.customer-auth-actions .compact-btn {
  width: 100%;
  min-height: 54px;
}

.account-page .customer-auth-actions {
  justify-items: center;
}

.account-page .customer-auth-actions .compact-btn {
  grid-column: 1 / -1;
  width: min(100%, 520px);
}

.auth-tabs {
  display: inline-flex;
  width: fit-content;
  padding: 3px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.9);
}

.auth-tabs button {
  min-width: 86px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.active {
  background: #ffffff;
  color: #1f5dd9;
  box-shadow: 0 8px 20px rgba(41, 72, 118, 0.12);
}

.customer-session-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.customer-session-card > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.86);
}

.customer-session-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.customer-session-card strong {
  color: #13243d;
  overflow-wrap: anywhere;
}

.mine-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.78);
}

.mine-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(42, 78, 125, 0.14);
  padding-bottom: 10px;
}

.mine-box span {
  color: var(--muted);
  font-weight: 800;
}

.mine-box strong {
  overflow-wrap: anywhere;
}

.mine-list {
  padding: 12px;
}

.mine-record {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.mine-record + .mine-record {
  margin-top: 2px;
}

.mine-field {
  align-items: center;
}

.mine-edit-control {
  max-width: 64%;
  min-height: 42px;
  padding-left: 12px;
  font-weight: 850;
}

.mine-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  flex-wrap: wrap;
}

.mine-delete-note {
  flex: 1 1 100%;
  color: #8a3c0b !important;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: right;
}

.delivery-info-field {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px !important;
}

.delivery-info-text {
  margin: 0;
  color: #13243d;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: left;
}

.support-results {
  display: grid !important;
  grid-column: 1 / -1;
  gap: 8px !important;
  padding: 10px;
  border: 1px solid rgba(78, 131, 241, 0.18);
  border-bottom: 1px solid rgba(78, 131, 241, 0.18) !important;
  border-radius: 8px;
  background: rgba(239, 246, 255, 0.72);
}

.support-results-title {
  color: #243854;
  font-weight: 950;
}

.support-result-item {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border-bottom: 0 !important;
  border-radius: 8px;
  background: #ffffff;
}

.support-result-item > div {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.support-result-item span,
.support-result-item small {
  color: var(--muted);
  font-weight: 800;
}

.support-result-item strong {
  color: #2854c7;
}

.support-result-item p {
  margin: 0;
  color: #13243d;
  font-weight: 850;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.card-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.order-lookup-panel {
  grid-column: 1 / -1;
  width: min(100%, 920px);
  margin: 18px auto 0;
  grid-template-columns: minmax(0, 1fr) 118px;
  padding: 16px;
  border-color: rgba(78, 131, 241, 0.20);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(41, 72, 118, 0.10);
}

.order-lookup-panel .form-group span {
  color: #142c4c;
  font-size: 1.02rem;
  font-weight: 950;
}

.order-lookup-panel .form-input {
  min-height: 54px;
  font-size: 1rem;
}

.order-lookup-panel .btn {
  min-width: 118px;
  min-height: 54px;
}

.card-lookup .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.lookup-result {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 14px;
  background: rgba(244, 249, 255, 0.92);
}

.lookup-record {
  gap: 12px;
}

.account-center {
  align-content: start;
}

.account-center div,
.account-center section {
  border-bottom: 0;
}

.account-wallet-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px !important;
}

.account-wallet-grid > div {
  display: grid !important;
  gap: 4px !important;
  padding: 12px !important;
  border: 1px solid rgba(78, 131, 241, 0.18) !important;
  border-radius: 8px;
  background: #ffffff;
}

.account-wallet-grid strong {
  color: #1f5dd9;
  font-size: 1.22rem;
}

.account-section {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.12) !important;
  border-radius: 8px;
  background: #ffffff;
}

.account-section h4 {
  margin: 0;
  color: #13243d;
  font-size: 1rem;
}

.account-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-order-notice-button {
  position: relative;
  overflow: hidden;
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  isolation: isolate;
  transform-origin: center;
  animation: account-notice-pulse 1.05s ease-in-out infinite;
}

.account-order-notice-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 42%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-180%) skewX(-18deg);
  animation: account-notice-shine 1.35s ease-in-out infinite;
}

.account-order-notice-button svg {
  width: 15px;
  height: 15px;
  animation: account-notice-icon .78s ease-in-out infinite;
}

.account-order-notice-button:hover,
.account-order-notice-button:focus-visible,
.account-order-notice-button:hover::after,
.account-order-notice-button:focus-visible::after,
.account-order-notice-button:hover svg,
.account-order-notice-button:focus-visible svg {
  animation-play-state: paused;
}

@keyframes account-notice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,122,229,.18); transform: translateY(0) scale(1); }
  38% { box-shadow: 0 0 0 7px rgba(31,122,229,.13), 0 12px 24px rgba(31,122,229,.24); transform: translateY(-7px) scale(1.075); }
  68% { box-shadow: 0 0 0 3px rgba(255,202,64,.18), 0 8px 18px rgba(255,185,0,.18); transform: translateY(-3px) scale(1.035); }
}

@keyframes account-notice-shine {
  0%, 22% { transform: translateX(-190%) skewX(-18deg); }
  58%, 100% { transform: translateX(360%) skewX(-18deg); }
}

@keyframes account-notice-icon {
  0%, 100% { transform: rotate(0deg) scale(1); }
  28% { transform: rotate(-15deg) scale(1.2); }
  58% { transform: rotate(13deg) scale(1.14); }
}

@media (prefers-reduced-motion: reduce) {
  .account-order-notice-button,
  .account-order-notice-button::after,
  .account-order-notice-button svg { animation: none; }
}

.account-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.55;
}

.invite-copy-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px !important;
  padding-bottom: 0 !important;
}

.account-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px !important;
  width: 100%;
  padding-bottom: 0 !important;
}

.account-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid rgba(42, 78, 125, 0.10);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.72);
}

.account-list-item strong,
.account-list-item span {
  overflow-wrap: anywhere;
}

.account-list-item span,
.empty-account-row {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
}

.account-order-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(74, 111, 160, 0.16);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(34, 67, 112, 0.07);
}

.account-order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(74, 111, 160, 0.11);
  background: linear-gradient(90deg, rgba(244, 249, 255, 0.96), #ffffff 68%);
}

.account-order-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.account-order-card-title > strong {
  min-width: 0;
  overflow: hidden;
  color: #1f334f;
  font-size: 12px;
  font-weight: 600 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.account-order-view-toggle {
  padding: 6px 10px;
  border: 1px solid rgba(36, 104, 201, 0.2);
  border-radius: 7px;
  background: #fff;
  color: #2468c9;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.account-order-view-toggle:hover,
.account-order-view-toggle[aria-pressed="true"] {
  background: #eaf3ff;
}

.account-order-kind,
.account-order-status {
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1;
  white-space: nowrap;
}

.account-order-kind {
  padding: 5px 8px;
  background: #eaf3ff;
  color: #2468c9 !important;
}

.account-order-status {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  padding: 8px 12px;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

.account-order-status.active {
  padding: 6px 10px;
  background: #e8f8ef;
  color: #147548 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.account-order-status-number {
  color: inherit !important;
  font-size: 48px !important;
  font-weight: 800 !important;
  line-height: 1;
}

.account-order-status.expired {
  background: #f2f4f7;
  color: #718096 !important;
}

.account-order-notice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 2px 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 93, 217, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.96), rgba(255, 255, 255, 0.94));
  color: #294866;
}

.account-order-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31, 93, 217, 0.12);
  color: #1f5dd9;
}

.account-order-notice-icon svg {
  width: 18px;
  height: 18px;
}

.account-order-notice strong {
  display: block;
  margin-bottom: 4px;
  color: #13243d;
  font-size: 0.9rem;
}

.account-order-notice p {
  margin: 2px 0;
  color: #294866;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.account-order-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0 !important;
  border-bottom: 0 !important;
  padding: 12px 14px !important;
}

.account-order-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(74, 111, 160, 0.14);
  border-radius: 10px;
  background: #f8fbff;
}

.account-order-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(20px, auto);
  grid-template-areas:
    "label copy"
    "value copy";
  align-items: center;
  min-width: 0;
  width: 100%;
  min-height: 70px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  column-gap: 10px;
  row-gap: 3px;
}

.account-order-field + .account-order-field {
  border-left: 1px solid rgba(74, 111, 160, 0.13);
}

.account-order-field > span {
  grid-area: label;
  color: #7588a1;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2;
  white-space: nowrap;
}

.account-order-field > strong,
.account-order-field .account-order-empty-code {
  grid-area: value;
  min-width: 0;
  color: #13243d;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-field > strong.account-order-placeholder {
  color: #8a98aa;
  font-weight: 400 !important;
}

.account-order-field .copyOrderCredential {
  grid-area: copy;
  align-self: center;
  justify-self: end;
  padding: 6px 8px;
  border-radius: 6px;
  background: #eaf3ff;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1;
  white-space: nowrap;
}

.account-order-field .copyOrderCredential:hover {
  background: #dbeaff;
}

.account-order-link-open {
  grid-area: value;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  color: #1768d5;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-link-open:hover {
  color: #0e51b4;
  text-decoration: underline;
}

.account-order-link-open > span {
  flex: 0 0 auto;
  color: inherit;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.account-order-code-field .totp-code-result {
  grid-area: value;
  justify-self: start;
  max-width: 100%;
  min-height: 32px;
  padding: 3px 9px;
  background: #e8f2ff;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-order-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.account-order-secret {
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #13243d;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.account-order-raw-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 12px 14px;
  padding: 13px 14px 14px;
  border: 1px solid rgba(74, 111, 160, 0.14);
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff, #f4f8fd);
}

.account-order-raw-view.hidden,
.account-order-structured-view.hidden {
  display: none !important;
}

.account-order-raw-text {
  margin: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #13243d;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.account-order-meta {
  display: grid !important;
  grid-template-columns: minmax(0, 1.6fr) minmax(90px, 0.7fr) minmax(120px, 1fr);
  gap: 0 !important;
  align-items: center;
  padding: 10px 14px !important;
  border-top: 1px solid rgba(74, 111, 160, 0.10);
  border-bottom: 0 !important;
  background: #f8fafc;
}

.account-order-meta span {
  display: grid;
  gap: 2px;
  min-width: 0;
  height: auto;
  padding: 0 12px;
  border-radius: 0;
  background: transparent;
  color: #49627d;
  font-size: 12px;
  font-weight: 400 !important;
  line-height: 1.35;
  overflow: hidden;
}

.account-order-meta span:first-child {
  padding-left: 0;
}

.account-order-meta span + span {
  border-left: 1px solid rgba(74, 111, 160, 0.11);
}

.account-order-meta small {
  color: #8a98aa;
  font-size: 10px;
  font-weight: 500;
}

.account-order-meta strong {
  min-width: 0;
  overflow: hidden;
  color: #50647e;
  font-size: 12px;
  font-weight: 500 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-partner {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.account-order-partner strong {
  color: #13243d;
  font-size: 0.88rem;
}

.account-order-partner span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.renewal-form .delete-signup-select-field,
.renewal-order-link-row,
.renewal-form .withdrawal-tip,
.renewal-form .btn,
.renewal-form .form-message,
.renewal-form .checkbox-inline {
  grid-column: 1 / -1;
}

.renewal-partner-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
  color: #294866;
  font-size: 0.86rem;
  font-weight: 850;
}

.renewal-partner-summary:empty {
  display: none;
}

.renewal-partner-summary strong {
  color: #13243d;
}

.renewal-partner-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(78, 131, 241, 0.10);
}

.renewal-partner-summary .renewal-partner-renewal {
  color: #1f5dd9;
  background: rgba(31, 93, 217, 0.10);
}

.renewal-partner-summary .renewal-partner-credit {
  color: #16815f;
  background: rgba(40, 190, 137, 0.12);
}

.renewal-voucher-invite-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 399px auto;
  align-items: center;
  justify-content: start;
  gap: 10px;
}

.renewal-voucher-invite-row .renewal-invite-voucher {
  width: 399px;
  max-width: 100%;
}

.renewal-voucher-invite-row .checkbox-inline {
  grid-column: auto;
  white-space: nowrap;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.renewal-invite-card {
  display: grid;
  gap: 8px;
}

.renewal-invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.renewal-partner-checkbox {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #263a55;
  font-size: 0.9rem;
  font-weight: 850;
}


.renewal-invite-response-card {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.renewal-invite-response-card + .renewal-invite-response-card {
  padding-top: 10px;
  border-top: 1px solid rgba(42, 78, 125, 0.10);
}

.renewal-invite-response-card > strong,
.renewal-invite-response-card > span {
  display: block;
  width: 100%;
}
.renewal-invite-response-row,
.mine-box .renewal-invite-response-row {
  display: grid;
  grid-template-columns: 399px 96px 84px;
  gap: 8px;
  align-items: center;
  justify-content: start;
  padding-bottom: 0;
  border-bottom: 0;
}

.renewal-invite-response-row .renewal-invite-voucher {
  width: 399px;
  height: 58px;
  font-size: 0.88rem;
  padding-left: 14px;
}

.renewal-invite-response-row .form-input {
  min-width: 0;
}

.renewal-invite-response-row .compact-btn {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
  border-radius: 8px;
  line-height: 1;
  font-size: 0.88rem;
}

.renewal-invite-response-card .form-message {
  margin: 0;
}

@media (max-width: 720px) {
  .renewal-invite-response-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .renewal-invite-response-row .renewal-invite-voucher {
    grid-column: 1 / -1;
    width: 100%;
  }
}


.withdrawal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.delete-signup-form .delete-signup-select-field {
  grid-column: 1 / -1;
}

.payout-qr-field,
.withdrawal-tip,
.withdrawal-form .btn,
.withdrawal-form .form-message {
  grid-column: 1 / -1;
}

.payout-qr-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.payout-qr-preview {
  min-height: 78px;
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  padding: 10px;
  border: 1px dashed rgba(42, 78, 125, 0.24);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.82);
}

.payout-qr-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.payout-qr-preview span,
.withdrawal-tip {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.5;
}

.payout-qr-field .payout-qr-upload-button {
  grid-column: auto;
  width: auto;
  white-space: nowrap;
}

.withdrawal-tip {
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 215, 108, 0.18);
}

.sr-only-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.withdrawal-qr-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f5dd9;
  font-size: 0.82rem;
  font-weight: 900;
}

.withdrawal-qr-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 7px;
  background: #ffffff;
}

.support-form {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.support-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  width: 100%;
}

.support-form h4 {
  margin: 0;
  color: #142c4c;
  font-size: 0.92rem;
  font-weight: 950;
}

.support-textarea {
  min-height: 68px;
  padding: 16px 18px;
  font-size: 1rem;
  line-height: 1.45;
  text-align: left;
  resize: vertical;
}

.support-textarea::placeholder {
  font-size: 1rem;
  font-weight: 750;
  text-align: left;
}

.support-textarea.centered-placeholder::placeholder {
  text-align: center;
}

.support-file-field {
  display: grid !important;
  justify-items: center;
  gap: 6px !important;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
}

.support-file-button {
  width: min(100%, 220px) !important;
}

.support-file-field span {
  min-height: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.support-file-field span:empty {
  display: none;
}

.support-form .btn {
  width: 100%;
}

.mine-warning {
  grid-column: 1 / -1;
  padding: 8px 10px;
  border: 1px solid rgba(255, 197, 76, 0.34);
  border-radius: 8px;
  background: rgba(255, 248, 225, 0.78);
  color: #7a5700;
  font-weight: 900;
}

.mine-warning.danger-warning {
  border-color: rgba(198, 64, 42, 0.26);
  background: rgba(255, 238, 232, 0.82);
  color: #a43f2b;
}

.mine-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.55;
}

.deposit-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(78, 131, 241, 0.18);
  border-radius: 8px;
  background: rgba(220, 232, 255, 0.46);
}

.deposit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deposit-head span {
  color: #243854;
  font-weight: 900;
}

.deposit-head em {
  border-radius: 8px;
  padding: 4px 10px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 900;
}

.deposit-head em.unpaid {
  background: rgba(255, 226, 216, 0.86);
  color: #9f432c;
}

.deposit-head em.pending {
  background: rgba(255, 215, 108, 0.48);
  color: #7a571f;
}

.deposit-head em.paid {
  background: rgba(200, 240, 208, 0.78);
  color: #177546;
}

.deposit-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.55;
}

.card-verify {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.danger {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 226, 216, 0.86);
  color: #9f432c;
  font-weight: 900;
  padding: 0 16px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.tiny {
  min-height: 34px;
  padding: 0 12px;
}

.confirm,
.neutral {
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.confirm {
  background: rgba(200, 240, 208, 0.78);
  color: #177546;
}

.neutral {
  background: rgba(220, 232, 255, 0.82);
  color: #2854c7;
}

.empty-box,
.empty-cell {
  color: var(--muted);
  text-align: center;
}

.pre-signup-tip {
  display: grid !important;
  gap: 12px !important;
  justify-content: stretch !important;
  border: 1px solid rgba(211, 113, 24, 0.32) !important;
  border-left: 5px solid #d37118 !important;
  border-radius: 8px;
  padding: 16px 18px !important;
  background: #fff5e6;
  box-shadow: 0 16px 34px rgba(120, 72, 18, 0.12);
  text-align: left;
}

.pre-signup-tip strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a3c0b;
  font-size: 1.08rem;
  font-weight: 950;
}

.pre-signup-tip strong::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #d37118;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1;
  font-size: 0.88rem;
}

.pre-signup-tip p {
  margin: 0;
  color: #5d3617;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.75;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
  padding: 12px;
  border: 1px solid rgba(78, 131, 241, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(234, 246, 255, 0.66), rgba(249, 252, 255, 0.9));
}

.summary-card,
.summary-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.summary-card {
  min-height: 118px;
  padding: 18px 20px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.summary-card span {
  color: var(--muted);
  font-weight: 850;
}

.summary-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.summary-card-label b {
  min-width: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.summary-card-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
  border-radius: 8px;
}

.summary-card strong {
  color: #15233d;
  font-size: 2rem;
}
.summary-card-total {
  border-color: rgba(31, 93, 217, 0.26);
  background: linear-gradient(135deg, rgba(218, 239, 255, 0.96), rgba(246, 251, 255, 0.98));
  box-shadow: 0 16px 32px rgba(43, 91, 160, 0.14);
}

.summary-card-total span {
  color: #234d83;
  font-size: 1.06rem;
}

.summary-card-total strong {
  color: #0f2b55;
  font-size: 3.18rem;
  line-height: 1;
}


.summary-note {
  grid-column: 1 / -1;
  padding: 14px 16px;
  background: rgba(255, 250, 240, 0.86);
  color: #664320;
  font-weight: 900;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

.admin-board table {
  min-width: 1320px;
}

.admin-board .table-wrap table {
  min-width: 980px;
}

.admin-board .table-wrap th {
  background: #f1f3f6;
  color: #263246;
  font-size: 0.84rem;
  font-weight: 850;
}

.admin-board .table-wrap td {
  height: 40px;
  padding: 8px 10px;
  background: #ffffff !important;
  color: #263246;
  font-size: 0.84rem;
  font-weight: 650;
}

.admin-page {
  background: #f7fbff;
}

.admin-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(42, 78, 125, 0.16);
}


.admin-return-link {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}
.admin-topbar h1 {
  margin: 0;
  color: #15233d;
  font-size: 2rem;
  letter-spacing: 0;
}

.admin-page .admin-login,
.admin-page .admin-board {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(41, 72, 118, 0.12);
}

.admin-page .admin-board .table-wrap table {
  min-width: 920px;
}

.admin-board .table-wrap tr:nth-child(even) td {
  background: #fafbfc !important;
}

.admin-board .table-wrap .matched {
  color: #9f432c;
  font-weight: 850;
}

.admin-board .table-wrap .waiting {
  color: #7a571f;
  font-weight: 850;
}

.has-looping-body {
  table-layout: fixed;
}

.has-looping-body thead,
.has-looping-body tbody {
  display: block;
}

.has-looping-body thead tr,
.has-looping-body tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.has-looping-body th:nth-child(1),
.has-looping-body td:nth-child(1) {
  width: 6%;
}

.has-looping-body th:nth-child(2),
.has-looping-body td:nth-child(2) {
  width: 13%;
}

.has-looping-body th:nth-child(3),
.has-looping-body td:nth-child(3) {
  width: 10%;
}

.has-looping-body th:nth-child(4),
.has-looping-body td:nth-child(4) {
  width: 14%;
}

.has-looping-body th:nth-child(5),
.has-looping-body td:nth-child(5) {
  width: 9%;
}

.has-looping-body th:nth-child(6),
.has-looping-body td:nth-child(6) {
  width: 38%;
}

.has-looping-body th:nth-child(7),
.has-looping-body td:nth-child(7) {
  width: 10%;
}

#publicRows.is-looping {
  overflow: hidden;
  scroll-behavior: smooth;
}

table:has(#publicRows) {
  min-width: 760px;
  table-layout: fixed;
}

table:has(#publicRows) th,
table:has(#publicRows) td {
  height: 38px;
  padding: 6px 7px;
  font-size: 0.82rem;
  line-height: 1.25;
}

table:has(#publicRows) th:nth-child(1),
table:has(#publicRows) td:nth-child(1) {
  width: 7%;
}

table:has(#publicRows) th:nth-child(2),
table:has(#publicRows) td:nth-child(2) {
  width: 24%;
}

table:has(#publicRows) th:nth-child(3),
table:has(#publicRows) td:nth-child(3) {
  width: 17%;
}

table:has(#publicRows) th:nth-child(4),
table:has(#publicRows) td:nth-child(4) {
  width: 16%;
}

table:has(#publicRows) th:nth-child(5),
table:has(#publicRows) td:nth-child(5) {
  width: 23%;
}

table:has(#publicRows) th:nth-child(6),
table:has(#publicRows) td:nth-child(6) {
  width: 13%;
}

.public-user-cell {
  text-align: left;
  white-space: normal;
}

.public-user-name {
  color: #13243d;
  font-weight: 900;
}

.public-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
  font-size: 0.72rem;
  line-height: 1.25;
}

.public-user-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.public-user-renewal {
  color: #1f5dd9;
  background: rgba(31, 93, 217, 0.10);
}

.public-user-credit {
  color: #16815f;
  background: rgba(40, 190, 137, 0.12);
}

.public-user-blacklist {
  color: #c94c32;
  background: rgba(255, 118, 92, 0.14);
}

.blacklisted-row .public-user-name {
  color: #c94c32;
}

table:has(#publicRows) td {
  overflow: hidden;
  text-overflow: ellipsis;
}

table:has(#publicRows) th:nth-child(5),
table:has(#publicRows) td:nth-child(5) {
  overflow: visible;
  text-overflow: clip;
}

td,
th {
  border: 1px solid rgba(42, 78, 125, 0.14);
  padding: 10px 12px;
  height: 46px;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
}

th {
  background: #dce8ff;
  color: #213652;
  font-size: 0.95rem;
  font-weight: 950;
}

td {
  color: #263c5d;
  font-size: 0.95rem;
  font-weight: 700;
}

td:nth-child(5) {
  background: rgba(200, 240, 208, 0.46);
}

td:nth-child(6) {
  min-width: 0;
  background: rgba(255, 226, 216, 0.50);
}

td:nth-child(7) {
  background: rgba(220, 232, 255, 0.58);
}

.matched {
  color: #9f432c;
  font-weight: 950;
}

.waiting {
  color: #81561f;
  font-weight: 950;
}

.admin-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.admin-settings {
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(42, 78, 125, 0.16);
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.referral-settings-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.72);
}

.referral-settings-grid .form-group {
  margin: 0;
}

.referral-settings-grid .form-input {
  min-height: 52px;
}
.mail-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.72);
}

.mail-settings-grid .form-group {
  margin: 0;
}

.mail-provider-tip {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.80rem;
  font-weight: 760;
  line-height: 1.5;
}

.mail-toggle-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 10px;
  margin: 12px 0 4px;
  color: #243854;
  font-weight: 850;
}

.mail-toggle-row label,
.mail-settings-grid .checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mail-log-table td:nth-child(4),
.mail-log-table td:nth-child(6) {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.settle-controls {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.referral-ledger-table caption {
  caption-side: top;
  padding: 0 0 10px;
  color: #243854;
  font-weight: 900;
  text-align: left;
}

.master-site-label {
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
  padding: 1px 8px 2px;
  border-radius: 8px;
  background: rgba(81, 108, 226, 0.12);
  color: #4357d7;
  font-size: 0.82em;
  font-weight: 950;
  vertical-align: middle;
}

.agent-site-label {
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
  padding: 1px 8px 2px;
  border-radius: 8px;
  background: rgba(255, 197, 76, 0.24);
  color: #9d6900;
  font-size: 0.82em;
  font-weight: 950;
  vertical-align: middle;
}

.subsection-title {
  margin: 24px 0 10px;
  color: #10284a;
  font-size: 1.1rem;
  font-weight: 950;
}

.agent-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(180px, 260px) auto auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.agent-form .form-group,
.agent-card-form .form-group {
  margin: 0;
}

.agent-form .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.agent-card-form {
  grid-template-columns: minmax(180px, 240px) minmax(210px, 280px) minmax(110px, 140px) minmax(128px, 150px);
  margin-top: 0;
  margin-bottom: 16px;
}

.agent-card-form.voucher-form .form-group {
  grid-column: auto;
}

.agent-card-form.voucher-form .card-textarea {
  grid-column: 1 / -1;
  min-height: 112px;
}

.agent-card-form.voucher-form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(240px, 100%);
}

#depositCardForm {
  grid-template-columns: 374px minmax(170px, 220px) minmax(0, 1fr);
  align-items: center;
}

#depositCardForm > .btn {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: stretch;
  width: 100%;
}

.agent-profile-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.agent-profile-form .form-group {
  margin: 0;
}

.agent-plan-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.agent-plan-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(110px, 140px) minmax(240px, 2fr) auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.agent-plan-name {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 950;
  color: #203b61;
  text-align: center;
  line-height: 1.45;
}

.agent-profile-form .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.notice-settings-block {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.74);
}


.notice-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.notice-head-actions .compact-btn {
  min-width: 126px;
}
.notice-slide-editor {
  display: grid;
  gap: 12px;
}

.notice-editor-row {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.notice-banner-preview {
  aspect-ratio: 5 / 1;
  min-height: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: #edf4ff;
  box-shadow: inset 0 0 0 1px rgba(42, 78, 125, 0.10);
}

.notice-banner-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.notice-banner-fields {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr) minmax(160px, 0.8fr);
  gap: 8px;
  align-items: end;
}

.notice-banner-file-group {
  margin: 0;
}

.notice-banner-file {
  width: 100%;
  font-size: 0.82rem;
}

.notice-editor-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
}

.settings-form .form-message,
.card-form .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.action-cell {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-items: center;
  white-space: nowrap;
}

.tiny-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 900;
}

.agent-table .action-cell,
.agent-table td:last-child {
  min-width: 116px;
  white-space: nowrap;
}

.agent-status-select {
  min-height: 32px;
  width: 92px;
  padding: 0 28px 0 10px;
  border-radius: 7px;
  font-size: 0.80rem;
  font-weight: 850;
}

.agent-sales-summary {
  border-top: 1px solid rgba(42, 78, 125, 0.12);
  padding: 12px 0 0;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.9), #ffffff 42%);
}

.agent-sales-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 12px 12px;
}

.agent-sales-head-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.agent-sales-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.agent-sales-select {
  min-height: 32px;
  width: 132px;
  padding: 0 30px 0 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 850;
}

.agent-sales-periods {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.agent-sales-periods .filter-pill {
  min-height: 26px;
  padding: 0 9px;
  font-size: 0.74rem;
}

.agent-sales-copy h4 {
  margin: 0;
  color: #203554;
  font-size: 0.95rem;
  font-weight: 900;
}

.agent-sales-copy p {
  margin: 4px 0 0;
  color: #61728a;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.5;
}

.agent-sales-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(81, 108, 226, 0.18);
  border-radius: 8px;
  background: rgba(81, 108, 226, 0.08);
  color: #3d54bf;
  font-size: 0.76rem;
  font-weight: 900;
}

.agent-sales-table th,
.agent-sales-table td {
  font-size: 0.80rem;
  padding-top: 8px;
  padding-bottom: 8px;
}

.agent-sales-table th:nth-child(1),
.agent-sales-table td:nth-child(1) {
  width: 118px;
}

.agent-sales-table th:nth-child(2),
.agent-sales-table td:nth-child(2) {
  width: 128px;
}

.agent-sales-table th:nth-child(4),
.agent-sales-table td:nth-child(4) {
  width: 92px;
  text-align: center;
}

.agent-sales-table th:nth-child(5),
.agent-sales-table td:nth-child(5) {
  width: 108px;
  text-align: right;
}

.agent-sales-example-row td {
  color: #6b7890;
  background: rgba(255, 248, 225, 0.42);
}

.agent-sales-example-row td:last-child::after {
  content: " 绀轰緥";
  margin-left: 4px;
  color: #9b7d2f;
  font-size: 0.72rem;
  font-weight: 850;
}

.card-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.voucher-form {
  grid-template-columns: minmax(240px, 360px) minmax(170px, 220px) minmax(0, 1fr);
  align-items: end;
}

.account-stock-form {
  grid-template-columns: minmax(220px, 300px) minmax(106px, 136px) minmax(116px, 144px) repeat(3, minmax(104px, 126px)) minmax(0, 1fr);
  align-items: end;
}

.account-stock-form > .form-group:first-child {
  grid-column: 1;
}

.account-stock-form .account-stock-cost-field {
  grid-column: 2;
}

.account-stock-form .account-stock-warranty-field {
  grid-column: 3;
}

.voucher-form .form-group {
  grid-column: 1;
  margin: 0;
}

#depositCardForm > .form-group {
  display: grid;
  grid-template-columns: auto 300px;
  align-items: center;
  gap: 10px;
}

#depositCardForm > .form-group span {
  white-space: nowrap;
}

.feature-select-option .feature-logo-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}
#voucherPackageInput {
  width: 300px;
  min-width: 300px;
  height: 40px;
  min-height: 40px;
}

.account-stock-form.voucher-form > .form-group:first-child {
  grid-column: 1;
}

.account-stock-form.voucher-form > .account-stock-cost-field {
  grid-column: 2;
}

.account-stock-form.voucher-form > .account-stock-warranty-field {
  grid-column: 3;
}

.account-stock-form.voucher-form > .account-stock-import-actions {
  grid-column: 4 / 7;
}

.account-order-notice-editor {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.54);
}

.account-order-notice-editor .form-group {
  margin: 0;
}

.account-order-notice-input {
  min-height: 92px;
}

.account-order-notice-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.account-order-notice-actions .form-message {
  margin: 0;
}

.voucher-form .form-group .form-input {
  min-height: 40px;
  font-size: 0.92rem;
}

.voucher-form .card-textarea {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 132px;
  font-size: 0.94rem;
}

.voucher-form .btn {
  grid-column: 2;
  width: 100%;
  min-height: 40px;
  align-self: end;
}

.account-stock-import-actions {
  grid-column: 4 / 7;
  display: grid;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  gap: 8px;
  align-self: end;
}

.voucher-form .account-stock-import-actions .btn {
  grid-column: auto;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

.stock-import-help {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: #637086;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.55;
}

.card-textarea {
  min-height: 76px;
  padding: 12px 14px;
  line-height: 1.45;
  resize: vertical;
}

.card-table-wrap {
  max-height: none;
  overflow: auto;
  margin-top: 12px;
  border: 1px solid rgba(42, 78, 125, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.card-tools {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(110px, 150px) minmax(160px, 220px) auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(42, 78, 125, 0.12);
  background: #ffffff;
}

.card-search {
  min-height: 38px;
}

.admin-user-tools {
  grid-template-columns: minmax(220px, 320px) auto minmax(160px, 1fr);
}

.admin-user-search-hint {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 760;
}

.admin-user-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.admin-user-sort-button:hover,
.admin-user-sort-button:focus-visible {
  color: #1467d8;
}

.card-source-select,
.card-package-select {
  min-height: 38px;
}

.trace-form {
  display: grid;
  grid-template-columns: minmax(260px, 420px) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.trace-form .form-message {
  margin: 0;
}

.trace-result {
  margin-top: 12px;
}

.trace-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 8px;
}

.trace-grid div,

.trace-remaining.ok {
  color: #0f64d8;
}

.trace-remaining.soon,
.trace-remaining.today {
  color: #d97706;
}

.trace-remaining.expired {
  color: #c2410c;
}

.trace-remaining.pending,
.trace-remaining.unknown {
  color: #64748b;
}

.trace-account,
.trace-history {
  padding: 10px 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.trace-grid span,
.trace-account span {
  display: block;
  color: #61728a;
  font-size: 0.76rem;
  font-weight: 850;
}

.trace-grid strong {
  display: block;
  margin-top: 4px;
  color: #13243d;
  font-size: 0.88rem;
}

.trace-account,
.trace-history {
  margin-top: 10px;
}

.trace-account pre {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-weight: 850;
  line-height: 1.6;
}

.trace-history p {
  margin: 6px 0 0;
  color: #49627d;
  font-size: 0.84rem;
  font-weight: 780;
}

.support-admin-table th,
.support-admin-table td {
  font-size: 0.80rem;
  text-align: center;
  vertical-align: middle;
}

.support-admin-table .support-reason-cell {
  text-align: center;
}

.card-table.support-admin-table th,
.card-table.support-admin-table td {
  text-align: center;
  vertical-align: middle;
}

.support-reason-cell {
  width: 20em;
  min-width: 20em;
  max-width: 20em;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.review-action-cell {
  min-width: 216px;
}

.review-note-input {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 760;
}

.review-action-buttons {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  white-space: nowrap;
}

.card-filter-tabs,
.card-bulk-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}


.account-stock-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  white-space: nowrap;
}

.account-stock-head-actions .btn {
  min-width: 118px;
}

.account-stock-tools {
  grid-template-columns: minmax(220px, 280px) 300px minmax(150px, auto) auto;
  justify-content: start;
}

.account-stock-search {
  width: 300px;
  max-width: 100%;
}

.account-stock-status-filter {
  min-width: 150px;
}

.account-stock-filter-export {
  min-width: 132px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .account-stock-tools {
    grid-template-columns: 1fr;
  }

  .account-stock-search,
  .account-stock-status-filter,
  .account-stock-filter-export {
    width: 100%;
    min-width: 0;
  }
}

.account-stock-table {
  min-width: 1940px;
  table-layout: fixed;
}

.account-stock-table th {
  font-size: 0.78rem;
}

.account-stock-table td {
  font-size: 0.80rem;
  font-weight: 760;
  padding-top: 7px;
  padding-bottom: 7px;
}

.account-stock-table th:nth-child(1),
.account-stock-table td:nth-child(1) {
  width: 68px;
}

.account-stock-table th:nth-child(2),
.account-stock-table td:nth-child(2) {
  width: 100px;
}

.account-stock-table th:nth-child(3),
.account-stock-table td:nth-child(3) {
  width: 400px;
  max-width: 400px;
}

.account-stock-table th:nth-child(4),
.account-stock-table td:nth-child(4) {
  width: 154px;
}

.account-stock-table th:nth-child(5),
.account-stock-table td:nth-child(5) {
  width: 168px;
}

.account-stock-table td:nth-child(4) {
  background: rgba(220, 232, 255, 0.58);
}

.account-stock-table th:nth-child(6),
.account-stock-table td:nth-child(6) {
  width: 120px;
}

.account-stock-table td:nth-child(6) {
  background: rgba(200, 240, 208, 0.46);
}

.account-stock-table th:nth-child(7),
.account-stock-table td:nth-child(7) {
  width: 400px;
  max-width: 400px;
}

.account-stock-table td:nth-child(7) {
  background: rgba(255, 243, 206, 0.62);
}

.account-stock-table th:nth-child(8),
.account-stock-table td:nth-child(8) {
  width: 340px;
  max-width: 340px;
}

.account-stock-table td:nth-child(8) {
  background: rgba(255, 226, 216, 0.50);
}


.account-stock-warranty {
  line-height: 1.35;
  white-space: nowrap;
}

.account-stock-warranty strong,
.account-stock-warranty span {
  display: block;
}

.account-stock-warranty strong {
  color: #17345f;
  font-weight: 800;
}

.stock-warranty-remaining {
  margin-top: 3px;
  font-size: 0.76rem;
  font-weight: 850;
}

.stock-warranty-remaining.ok {
  color: #0f64d8;
}

.stock-warranty-remaining.soon,
.stock-warranty-remaining.today {
  color: #d97706;
}

.stock-warranty-remaining.expired {
  color: #c2410c;
}

.stock-warranty-remaining.pending,
.stock-warranty-remaining.unknown {
  color: #64748b;
}

.account-stock-table .account-card-code {
  overflow: hidden;
  white-space: nowrap;
}

.account-card-code-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.account-card-code-text {
  flex: 1 1 0;
  display: block;
  min-width: 0;
  max-width: none;
  padding: 4px 0;
  border-radius: 0;
  background: transparent;
  color: #17243a;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.34;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-card-copy,
.account-card-edit {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
}

.totp-code-result {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 7px;
  background: #eef5ff;
  color: #1463d6;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  white-space: nowrap;
}

.totp-code-result:empty {
  display: none;
}

.account-stock-totp-cell {
  text-align: center;
}

.account-stock-totp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.admin-totp-code {
  min-width: 76px;
  justify-content: center;
}

.account-totp-copy {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.account-card-totp {
  color: #1463d6;
}

.account-order-main .getOrderTotp {
  white-space: nowrap;
}

.account-card-edit {
  color: #e11d48;
}

.account-card-edit:hover {
  color: #be123c;
}

.deposit-card-tools {
  grid-template-columns: minmax(220px, 300px) minmax(300px, max-content) minmax(170px, max-content) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 8px;
}

.deposit-card-tools .card-filter-tabs,
.deposit-card-tools .card-bulk-actions {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.deposit-card-tools .card-bulk-actions {
  justify-self: start;
}

.card-package-select {
  min-height: 38px;
  font-size: 0.82rem;
  font-weight: 820;
}

.deposit-card-table th {
  font-size: 0.74rem;
}

.deposit-card-table td {
  height: 34px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 720;
}

.deposit-card-table .card-code {
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0;
}

.deposit-card-table .status-badge {
  min-height: 20px;
  padding: 0 7px;
  font-size: 0.70rem;
}

.deposit-card-table .link-action {
  font-size: 0.74rem;
}

.package-stock-tabs,
.package-card-tabs {
  justify-content: flex-start;
}

.package-stock-tabs button,
.package-card-tabs button {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-filter-tabs button {
  min-height: 30px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 4px;
  background: #ffffff;
  color: #5a6980;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0 10px;
}

.card-filter-tabs button.active {
  border-color: rgba(31, 93, 217, 0.36);
  background: #eaf1ff;
  color: #1f5dd9;
}

.card-inventory-summary {
  color: #2854c7;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: right;
}

.card-table {
  min-width: 900px;
  border-collapse: collapse;
}

.admin-board .card-table {
  min-width: 900px;
}

.card-table th {
  background: #f1f3f6;
  color: #263246;
  font-size: 0.86rem;
  font-weight: 850;
}

.card-table td,
.card-table th {
  height: 42px;
  padding: 8px 16px;
  border: 0;
  border-bottom: 1px solid rgba(42, 78, 125, 0.12);
  text-align: left;
  white-space: nowrap;
}

.card-table td.support-reason-cell {
  white-space: normal;
}

.card-table .card-code {
  max-width: 520px;
  overflow: hidden;
  color: #17243a;
  text-overflow: ellipsis;
}

.admin-reset-password-form {
  display: grid;
  grid-template-columns: 100px auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.admin-reset-password-form .form-input {
  width: 100px;
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.admin-reset-password-form .compact-btn {
  min-height: 34px;
  padding: 0 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 850;
}

.status-badge.unsold {
  background: #edf0f4;
  color: #6a7484;
}

.status-badge.sold {
  background: #e8f7ed;
  color: #177546;
}

.status-badge.deleted {
  background: #ffe8df;
  color: #9f432c;
}

.link-action {
  border: 0;
  background: transparent;
  color: #1f5dd9;
  font-weight: 850;
  padding: 0;
}

.danger-link {
  color: #a43f2b;
}

.link-action.account-card-edit {
  color: #e11d48;
}

.link-action.account-card-edit:hover {
  color: #be123c;
}

.link-action:disabled {
  color: #9aa7b7;
}

.card-checkbox,
.cardSelectAll {
  width: 16px;
  height: 16px;
}

.card-pager {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 12px;
  border-top: 1px solid rgba(42, 78, 125, 0.12);
  background: #ffffff;
  color: #5a6980;
  font-size: 0.84rem;
  font-weight: 850;
}


.account-stock-edit-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.46);
}

.account-stock-edit-backdrop.show {
  display: flex;
}

.account-stock-edit-card {
  width: min(760px, 100%);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
  padding: 18px;
}

.account-stock-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.account-stock-edit-head h3 {
  margin: 0;
  color: #13243d;
  font-size: 1.08rem;
}

.account-stock-edit-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.6;
}

.account-stock-edit-close {
  border: 0;
  background: #f1f5f9;
  color: #334155;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  font-size: 0.88rem;
  cursor: pointer;
}

.account-stock-edit-textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid rgba(42, 78, 125, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: #13243d;
  font: 800 0.9rem/1.6 inherit;
  outline: none;
}

.account-stock-edit-textarea:focus {
  border-color: rgba(31, 93, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 93, 217, 0.12);
}

.account-stock-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

body.modal-open {
  overflow: hidden;
}

.price-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 24, 40, 0.58);
  backdrop-filter: blur(8px);
}

.signup-success-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 24, 40, 0.56);
  backdrop-filter: blur(8px);
}

.signup-success-backdrop.show {
  display: flex;
}

.deposit-card-pager {
  justify-content: flex-start;
  gap: 10px;
  min-height: 58px;
  padding: 8px 14px;
  color: #172033;
  font-size: 14px;
}

.deposit-card-pager-total {
  margin-right: 4px;
  color: #172033;
  font-size: 14px;
  font-weight: 700;
}

.card-pager-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  background: #fff;
  color: #1768d5;
  font: inherit;
  cursor: pointer;
}

.card-pager-button:disabled {
  background: #f6f8fb;
  color: #a7b1c1;
  cursor: not-allowed;
}

.deposit-card-page-number {
  min-width: 62px;
  color: #111827;
  font-weight: 700;
  text-align: center;
}

.deposit-card-page-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #253047;
  font-weight: 600;
}

.deposit-card-page-size select {
  width: 82px;
  min-height: 40px;
  padding: 0 30px 0 12px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font: inherit;
}

.admin-page .card-pager {
  width: 100%;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.account-order-notice-dialog {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 24, 40, 0.56);
  backdrop-filter: blur(8px);
}

.account-order-notice-dialog.show {
  display: flex;
}

.account-order-notice-card {
  position: relative;
  width: min(1120px, 94vw);
  max-height: min(82vh, 760px);
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 58%, #fff9ed 100%);
  box-shadow: 0 30px 90px rgba(18, 35, 62, 0.34);
  overflow: auto;
}

.account-order-notice-dialog-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 34px;
}

.account-order-notice-dialog-head svg {
  width: 22px;
  height: 22px;
  color: #1f5dd9;
}

.account-order-notice-dialog-head h3 {
  margin: 0;
  color: #15233d;
  font-size: 1.18rem;
  line-height: 1.35;
}

.account-order-notice-dialog-body {
  display: grid;
  gap: 8px;
  color: #294866;
}

.account-order-notice-dialog-text {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(78, 131, 241, 0.08);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.signup-success-card {
  width: min(420px, 92vw);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 58%, #fff9ed 100%);
  box-shadow: 0 30px 90px rgba(18, 35, 62, 0.34);
  text-align: center;
}

.signup-success-card h3 {
  margin: 0;
  color: #15233d;
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.signup-success-card p {
  margin: 0;
  color: #49627d;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.75;
}

.signup-dialog-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.customer-login-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 24, 40, 0.58);
  backdrop-filter: blur(8px);
}

.customer-login-card {
  position: relative;
  width: min(920px, 94vw);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 55%, #fff9ed 100%);
  box-shadow: 0 30px 90px rgba(18, 35, 62, 0.34);
}

.customer-login-card .customer-account-panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.customer-login-card .customer-auth-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-login-card .single-line-note,
.customer-login-card .auth-tabs button,
.customer-login-card .form-group > span,
.customer-login-card .auth-code-row .compact-btn,
.customer-login-card .customer-auth-actions .compact-btn {
  white-space: nowrap;
}

.customer-login-card .auth-login-method {
  display: flex;
  flex-wrap: nowrap;
}

.customer-login-close {
  top: 18px;
  right: 18px;
}

.price-modal-backdrop.show {
  display: flex;
}

.price-modal-card {
  position: relative;
  width: min(980px, 96vw);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 215, 108, 0.34), transparent 28%),
    linear-gradient(135deg, #f1f8ff 0%, #ffffff 46%, #f7fbff 100%);
  box-shadow: 0 30px 90px rgba(18, 35, 62, 0.34);
}

.price-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #15233d;
  font-weight: 950;
  padding: 0 16px;
  box-shadow: 0 12px 28px rgba(41, 72, 118, 0.16);
}

.price-modal-close svg {
  width: 20px;
  height: 20px;
}

.price-modal-hero {
  padding-right: 0;
  margin-bottom: 24px;
}

.price-modal-hero p {
  margin: 0 0 8px;
  color: rgba(31, 93, 217, 0.28);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.36em;
}

.price-modal-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-modal-hero h2 {
  margin: 0;
  color: #1f5dd9;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.price-modal-clock {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  padding: 0 12px;
  border: 1px solid rgba(31, 93, 217, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #2854c7;
  font-size: 0.94rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(41, 72, 118, 0.10);
}

.price-modal-hero span {
  display: block;
  margin-top: 12px;
  color: #2d67d8;
  font-size: 1.12rem;
  font-weight: 950;
}

.price-plan-list {
  display: grid;
  gap: 14px;
}

.price-plan-card {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  align-items: center;
  gap: 22px;
  padding: 20px 24px 20px 104px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 12px 30px rgba(41, 72, 118, 0.10);
  overflow: hidden;
}

.price-plan-ribbon {
  position: absolute;
  top: 18px;
  left: -38px;
  width: 142px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-42deg);
  background: #55d4be;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
}

.plan-1 .price-plan-ribbon {
  background: #ffb43d;
}

.plan-2 .price-plan-ribbon {
  background: #4e83f1;
}

.price-plan-main strong {
  color: #15233d;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 950;
}

.price-plan-main p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.price-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  color: #1f5dd9;
  white-space: nowrap;
}

.price-plan-price b {
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  line-height: 0.95;
}

.price-plan-price span {
  margin-left: 8px;
  color: #15233d;
  font-size: 1.24rem;
  font-weight: 950;
}

.price-plan-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.price-plan-buy-link {
  min-width: 118px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.92rem;
}
.price-modal-footer {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(220, 232, 255, 0.56);
  color: #2854c7;
  text-align: center;
  font-weight: 900;
}

.mine-waiting-tip {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid rgba(255, 183, 61, 0.34);
  border-radius: 8px;
  background: rgba(255, 246, 219, 0.94);
  color: #7a571f;
  font-size: 0.92rem;
  font-weight: 950;
}

.maintenance-banner {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(198, 64, 42, 0.22);
  border-radius: 8px;
  background: rgba(255, 238, 232, 0.96);
  color: #a43f2b;
  font-weight: 950;
  line-height: 1.55;
}

.settings-subhead {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 78, 125, 0.12);
}

.settings-subhead h4,
.settings-subhead p {
  margin: 0;
}

.settings-subhead h4 {
  color: #15233d;
  font-size: 1rem;
}

.settings-subhead p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.price-plan-editor,
.faq-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.admin-price-plan-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(130px, 210px) minmax(112px, 136px);
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.plan-delete-btn {
  min-height: 40px;
  align-self: end;
  justify-self: stretch;
  border: 1px solid rgba(164, 63, 43, 0.22);
  border-radius: 8px;
  background: #fff7f5;
  color: #a43f2b;
  font-weight: 900;
  box-shadow: none;
}

.plan-delete-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(164, 63, 43, 0.34);
  background: #ffece7;
  color: #8f2f22;
}

.admin-price-plan-row.package-editor-row {
  grid-template-columns:
    minmax(220px, 1.2fr)
    minmax(86px, 0.4fr)
    minmax(94px, 0.42fr)
    minmax(220px, 1.2fr)
    auto
    auto;
}

.package-active-line {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #263246;
  font-size: 0.86rem;
  font-weight: 850;
}

.package-active-line input {
  width: 18px;
  height: 18px;
}

.package-row-actions {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.58;
}

.finance-panel {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.finance-controls {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(126px, 0.62fr) minmax(118px, 0.48fr) minmax(118px, 0.48fr);
  gap: 10px;
  align-items: center;
}

.finance-controls .form-input {
  min-width: 0;
  font-size: 0.82rem;
}

.finance-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
}

.finance-card {
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.finance-card.sales-card {
  border-color: rgba(38, 104, 176, 0.18);
  background: #eef6ff;
}

.finance-card.cost-card {
  border-color: rgba(201, 82, 82, 0.18);
  background: #fff1f1;
}

.finance-card.cost-card.subtle {
  background: #fff7f7;
}

.finance-card.profit-card {
  border-color: rgba(69, 151, 99, 0.2);
  background: #effaf2;
}

.finance-card.profit-card.negative {
  border-color: rgba(201, 82, 82, 0.24);
  background: #fff1f1;
}

.finance-card span {
  color: #5a6980;
  font-size: 0.8rem;
  font-weight: 850;
}

.finance-card strong {
  color: #15233d;
  font-size: 1.06rem;
  font-weight: 950;
}

.admin-board .finance-panel table.finance-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.finance-table th,
.finance-table td {
  height: 36px;
  padding: 7px 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.finance-table th:first-child,
.finance-table td:first-child {
  width: 24%;
}

.finance-table th:not(:first-child),
.finance-table td:not(:first-child) {
  text-align: center;
}

.ledger-filter-tabs {
  display: inline-flex;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.ledger-filter-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5a6980;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0 12px;
}

.ledger-filter-tabs button.active {
  background: #eaf1ff;
  color: #1f5dd9;
}

.ledger-filter-tabs strong {
  margin-left: 4px;
}

.admin-ledger-search {
  display: grid;
  grid-template-columns: minmax(260px, 420px) auto auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
}

.admin-ledger-search .form-input {
  min-height: 38px;
}

.admin-ledger-search-hint {
  min-height: 20px;
  margin: -2px 0 12px;
  color: #315fbe;
  font-size: 0.78rem;
  font-weight: 760;
}

.admin-ledger-search-hint.empty {
  color: #b04d4d;
}

.ledger-row-hit {
  background: #f3f7ff;
  box-shadow: inset 3px 0 0 #3e73db;
}

.admin-ledger-wrap {
  max-height: 856px;
}

.admin-ledger-wrap th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.faq-admin-section {
  margin-top: 26px;
}

.faq-admin-form {
  display: grid;
  gap: 12px;
}

.faq-editor-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(280px, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.faq-answer {
  min-height: 76px;
  resize: vertical;
}

.discussion-panel {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(42, 78, 125, 0.16);
}

.discussion-head {
  margin-bottom: 16px;
}

.comment-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.64);
}

.comment-sync-note {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.82);
  color: #664320;
  font-weight: 850;
  line-height: 1.55;
}

.comment-textarea {
  min-height: 98px;
  padding-top: 16px;
  resize: vertical;
  line-height: 1.6;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.comment-actions .btn {
  width: auto;
}

.comment-actions .form-message {
  margin: 0;
}

.comment-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.comment-list.is-looping {
  overflow: hidden;
  scroll-behavior: smooth;
}

.comment-card,
.empty-comment {
  border: 1px solid rgba(42, 78, 125, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 8px 10px;
}

.comment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
}

.comment-card-top {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
}

.comment-card-top span {
  color: #6b7f99;
  font-size: 0.78rem;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}

.comment-card p {
  margin: 0;
  color: #263c5d;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.comment-body {
  color: #15233d !important;
  font-size: 0.86rem;
  font-weight: 850 !important;
}

.reply-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  margin-top: 0;
  padding-left: 10px;
  border-left: 3px solid rgba(78, 131, 241, 0.24);
}

.reply-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 8px;
  padding: 6px 8px;
  border: 1px solid rgba(42, 78, 125, 0.12);
  border-radius: 8px;
  background: rgba(244, 249, 255, 0.74);
}

.reply-card span {
  color: #6b7f99;
  font-size: 0.74rem;
  font-weight: 750;
  white-space: nowrap;
}

.reply-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  margin-top: 2px;
}

.reply-textarea {
  min-height: 30px;
  padding: 6px 10px;
  resize: vertical;
  line-height: 1.35;
  font-size: 0.78rem;
}

.reply-form .btn {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.reply-tip {
  grid-column: 1 / -1;
  min-height: 14px;
  color: #9f432c !important;
  font-size: 0.74rem;
  font-weight: 850 !important;
}

.empty-comment {
  color: var(--muted);
  font-weight: 750;
  text-align: center;
}

.admin-comments {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(42, 78, 125, 0.16);
}

.admin-comment-list .comment-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.admin-comment-list .comment-card .comment-body,
.admin-comment-list .comment-card .comment-card-top,
.admin-comment-list .comment-card .reply-list {
  grid-column: 1 / -1;
}

.admin-comment-list .comment-card > .danger {
  justify-self: end;
}

.hidden {
  display: none;
}

.shop-band {
  background: #f7fbff;
  padding: 34px 8vw 52px;
}

.shop-band-inner,
.faq-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.shop-band-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-note {
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.shop-note-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--mint);
  color: #246847;
  font-weight: 900;
}

.shop-note:nth-child(2) .shop-note-label {
  background: #dce8ff;
  color: #2854c7;
}

.shop-note:nth-child(3) .shop-note-label {
  background: #ffe2d8;
  color: #9f432c;
}

.shop-note strong {
  display: block;
  color: #15233d;
  font-size: 1.18rem;
  line-height: 1.35;
}

.shop-note p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.faq-section {
  background: #f7fbff;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(41, 72, 118, 0.10);
  overflow: hidden;
}

.faq-list summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #15233d;
  font-weight: 950;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
}

.faq-list a {
  color: #1f5dd9;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1180px) {
  .shop-hero {
    grid-template-columns: minmax(0, 760px) 150px;
    justify-content: center;
    gap: 18px;
    padding-left: 34px;
    padding-right: 34px;
  }

  .shop-brand-combo {
    width: min(100%, 700px);
  }

  .shop-brand-main h1 {
    font-size: clamp(3.65rem, 7.2vw, 5.4rem);
  }

  .shop-brand-subline {
    width: min(430px, 92%);
  }

  .shop-brand-pill {
    min-width: 180px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 1rem;
  }

  .shop-actions {
    gap: 14px;
    width: min(100%, 700px);
  }

  .shop-button {
    min-width: 104px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .shop-notice-sticker-link.shop-hero-admin-link {
    width: 116px;
  }

  .hero-ai-car {
    max-width: 292px;
  }
}
@media (max-width: 1040px) {
  .shop-hero {
    grid-template-columns: minmax(0, 720px) 128px;
    justify-content: center;
    gap: 14px;
  }

  .shop-actions {
    gap: 6px;
  }

  .shop-button {
    min-width: 92px;
    padding-left: 8px;
    padding-right: 8px;
    gap: 6px;
    font-size: 0.9rem;
  }

  .shop-button svg {
    width: 16px;
    height: 16px;
  }

  .shop-notice-sticker-link.shop-hero-admin-link {
    width: 104px;
  }

  .hero-ai-car {
    right: 0;
    width: 100%;
    max-width: 258px;
  }

  .account-wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leaderboard-top-grid,
  .leaderboard-double-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .shop-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding: 44px 24px 38px;
  }

  .shop-hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
  }

  .shop-sticker-layer {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(320px, 80vw);
  }

  .shop-hero-shade {
    background:
      linear-gradient(180deg, rgba(246, 252, 255, 0.96) 0%, rgba(246, 252, 255, 0.72) 48%, rgba(255, 250, 240, 0.88) 100%);
  }

  .hero-ai-car {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 320px;
    transform: none;
    opacity: 0.9;
  }

  .shop-subtitle {
    font-size: 1rem;
    white-space: normal;
  }

  .shop-notice {
    width: calc(100vw - 48px);
    min-height: 0;
    margin: 0 auto;
    padding: 0;
  }

  .shop-notice-contact {
    justify-content: center;
  }

  .shop-notice-carousel {
    display: block;
  }

  .notice-slide-viewport {
    aspect-ratio: 31 / 10;
    min-height: 180px;
    max-height: 280px;
    border-radius: 24px;
  }

  .notice-slide {
    height: 100%;
  }

  .notice-nav {
    display: none;
  }

  .notice-dots {
    grid-column: 1;
    justify-content: flex-start;
  }
  /* notice-shop-fix-marker */

  .shop-notice-sticker-link {
    left: 8px;
    bottom: 18px;
    width: 80px;
  }

  .shop-redeem,
  .shop-band,
  .leaderboard-band {
    padding-left: 24px;
    padding-right: 24px;
  }

  .shop-redeem-sticker-link {
    right: -6px;
    top: -62px;
    width: 98px;
  }

  .shop-redeem-sticker {
    width: 98px;
  }

  .signup-layout,
  .account-page-panel,
  .support-row,
  .panel-head,
  .row-head,
  .admin-form,
  .agent-form,
  .agent-profile-form,
  .settings-form,
  .customer-auth-form,
  .customer-auth-actions,
  .customer-session-card,
  .referral-settings-grid,
  .mail-settings-grid,
  .mail-toggle-row,
  .settle-controls,
  .withdrawal-form,
  .profile-edit-form,
  .password-change-form,
  .card-form,
  .card-verify,
  .mine-edit-form,
  .card-lookup,
  .card-tools,
  .finance-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-wallet-grid {
    grid-template-columns: 1fr;
  }

  .account-order-main,
  .account-order-meta,
  .payout-qr-field {
    grid-template-columns: 1fr;
  }

  .account-order-credentials {
    grid-template-columns: 1fr;
  }

  .account-order-field + .account-order-field {
    border-top: 1px solid rgba(74, 111, 160, 0.13);
    border-left: 0;
  }

  .account-order-meta span {
    padding: 7px 0;
  }

  .account-order-meta span + span {
    border-top: 1px solid rgba(74, 111, 160, 0.11);
    border-left: 0;
  }

  .invite-copy-row {
    grid-template-columns: 1fr;
  }

  .account-dashboard {
    grid-template-columns: 1fr;
  }

  .account-dashboard-sidebar {
    padding: 20px;
  }

  .account-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-menu-button {
    justify-content: center;
    min-height: 46px;
    padding: 0 12px;
  }

  .logout-button {
    margin-top: 4px;
  }

  .account-dashboard-main {
    padding: 22px 18px;
  }

  .account-dashboard-head {
    display: grid !important;
    align-items: start;
  }

  .account-dashboard-head span {
    text-align: left;
  }

  .account-profile-fields {
    grid-template-columns: 1fr;
  }

  .account-profile-fields > div {
    grid-template-columns: 1fr;
    gap: 7px !important;
  }

  .account-profile-fields span {
    text-align: left;
  }

  .agent-plan-row {
    grid-template-columns: 1fr;
  }

  .card-inventory-summary {
    text-align: left;
  }

  .voucher-form .form-group,
  .voucher-form .card-textarea,
  .account-stock-import-actions,
  .voucher-form .btn {
    grid-column: 1;
  }

  .account-stock-form .account-stock-cost-field,
  .account-stock-form .account-stock-warranty-field,
  .account-stock-form > .form-group:first-child {
    grid-column: 1;
  }

  .account-stock-import-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .single-line-note {
    white-space: normal;
  }

  .panel-meta-row {
    justify-content: flex-start;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leaderboard-header,
  .leaderboard-panel-head {
    display: grid;
    gap: 10px;
  }

  .leaderboard-header-side {
    justify-items: start;
    text-align: left;
    min-width: 0;
  }

  .leaderboard-cta-row {
    justify-content: stretch;
  }
}

@media (max-width: 620px) {
  .top-nav-tabs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .leaderboard-current-user-line {
    flex-wrap: wrap;
    white-space: normal;
  }

  .leaderboard-inline-number {
    font-size: 1.46rem;
  }

  .success-toast {
    left: 14px;
    right: 14px;
    justify-content: center;
  }

  .shop-brand-combo {
    width: 100%;
    gap: 8px;
  }

  .shop-brand-main h1 {
    font-size: clamp(2.25rem, 10.8vw, 3.35rem);
  }

  .shop-brand-subline {
    width: min(92vw, 350px);
    margin-left: 0;
  }

  .shop-brand-subline-logo {
    width: 42px;
    height: 42px;
  }

  .shop-brand-subline::before,
  .shop-brand-subline::after {
    display: none;
  }

  .shop-brand-pill {
    min-width: 190px;
    padding: 7px 16px;
  }

  .shop-brand-tagline {
    margin-left: 0;
    font-size: 1rem;
  }

  .shop-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-button,
  .btn {
    width: 100%;
  }

  .shop-spots {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shop-spot-badge {
    justify-content: center;
  }

  .shop-sticker-cash {
    width: 118px;
    bottom: 18px;
  }

  .shop-notice {
    width: calc(100vw - 28px);
    padding: 0;
    display: block;
  }

  .notice-slide-viewport {
    aspect-ratio: 31 / 10;
    min-height: 150px;
    max-height: 220px;
    border-radius: 20px;
  }

  .shop-notice-sticker-link {
    display: none;
  }

  .shop-notice-sticker-link.shop-hero-admin-link {
    display: block;
  }

  .shop-notice-contact {
    position: static;
    width: 100%;
    justify-content: center;
    transform: none;
  }

  .leaderboard-shell {
    padding: 20px;
  }

  .leaderboard-list-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .leaderboard-list-user {
    justify-items: start;
    text-align: left;
  }

  .leaderboard-list-value {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: flex-start;
    gap: 6px 12px;
    text-align: left;
  }

  .leaderboard-list-value span {
    justify-content: flex-start;
  }

  .shop-notice-sticker-link {
    top: -12px;
    left: 18px;
    bottom: auto;
    width: 116px;
  }

  .shop-notice h2,
  .shop-section-heading h2 {
    font-size: 1.52rem;
  }

  .shop-notice-contact {
    justify-content: flex-start;
    margin-left: 0;
  }

  .shop-redeem {
    padding-left: 14px;
    padding-right: 14px;
  }

  .shop-redeem-panel {
    padding: 18px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .finance-summary-grid {
    grid-template-columns: 1fr;
  }

  .comment-card-top {
    display: grid;
  }

  .comment-card-top span {
    text-align: left;
  }

  .comment-actions .btn {
    width: 100%;
  }

  .admin-topbar {
    display: grid;
  }

  .deposit-title {
    flex-wrap: wrap;
  }

  .deposit-title a {
    margin-left: 0;
  }

  .reply-form {
    grid-template-columns: 1fr;
  }

  .shop-band {
    padding: 20px 12px 28px;
  }

  .shop-band-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-modal-backdrop {
    padding: 10px;
  }

  .price-modal-card {
    padding: 18px 12px;
    border-radius: 14px;
  }

  .price-modal-card::after {
    display: none;
  }

  .price-modal-close {
    top: 12px;
    right: 12px;
  }

  .account-order-notice-dialog {
    padding: 10px;
  }

  .account-order-notice-card {
    max-height: 84vh;
    padding: 22px 14px 16px;
  }

  .account-section-title-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .renewal-voucher-invite-row {
    grid-template-columns: 1fr;
  }

  .renewal-voucher-invite-row .renewal-invite-voucher {
    width: 100%;
  }

  .renewal-voucher-invite-row .checkbox-inline {
    justify-self: start;
  }

  .price-modal-hero {
    padding-right: 96px;
  }

  .price-modal-hero p {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .price-modal-clock {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .price-plan-card {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 118px;
    padding: 18px 14px 16px 72px;
  }

  .price-plan-price {
    justify-content: flex-start;
  }

  .price-plan-side {
    justify-items: start;
  }

  .price-plan-price b {
    font-size: 2.8rem;
  }

  .admin-price-plan-row,
  .faq-editor-row {
    grid-template-columns: 1fr;
  }

  .ledger-filter-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-ledger-search {
    grid-template-columns: 1fr;
  }

  .shop-note {
    min-height: 126px;
    padding: 10px 8px;
  }

  .shop-note-label {
    min-width: 36px;
    min-height: 22px;
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  .shop-note strong {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .shop-note p {
    margin-top: 6px;
    font-size: 0.66rem;
    line-height: 1.45;
  }
}




























.auth-login-method,
.customer-auth-form .auth-mail-tip {
  grid-column: 1 / -1;
}

.auth-mail-tip {
  margin: -4px 0 2px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 93, 217, 0.16);
  border-radius: 8px;
  background: #f3f8ff;
  color: #35506f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 8px;
}

.auth-code-row .compact-btn {
  min-height: 54px;
  padding-inline: 10px;
}

.customer-auth-form:has(#customerPasswordField.hidden):has(#customerEmailCodeField:not(.hidden)) label:has(#customerEmailInput) {
  grid-column: 1;
  order: 10;
}

.customer-auth-form:has(#customerPasswordField.hidden):has(#customerEmailCodeField:not(.hidden)) #customerEmailCodeField {
  grid-column: 2;
  order: 11;
}

.customer-auth-form:has(#customerPasswordField.hidden):has(#customerEmailCodeField:not(.hidden)) .auth-mail-tip {
  order: 12;
}

.customer-auth-form:has(#customerPasswordField.hidden):has(#customerEmailCodeField:not(.hidden)) .customer-remember-login {
  order: 13;
}

.customer-auth-form:has(#customerPasswordField.hidden):has(#customerEmailCodeField:not(.hidden)) .customer-auth-actions {
  order: 14;
}

.auth-login-method.hidden,
.auth-code-field.hidden,
.auth-mail-tip.hidden {
  display: none;
}

@media (max-width: 720px) {
  .customer-login-card {
    width: min(560px, 94vw);
    padding: 22px;
  }

  .customer-login-card .customer-auth-form {
    grid-template-columns: 1fr;
  }

  .customer-login-card .single-line-note,
  .customer-login-card .form-group > span {
    white-space: normal;
  }

  .customer-login-card .customer-auth-form:has(#customerPasswordField.hidden):has(#customerEmailCodeField:not(.hidden)) label:has(#customerEmailInput),
  .customer-login-card .customer-auth-form:has(#customerPasswordField.hidden):has(#customerEmailCodeField:not(.hidden)) #customerEmailCodeField {
    grid-column: 1 / -1;
  }
}
.agent-account-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.agent-account-form .form-group{display:flex;flex-direction:column;gap:7px}.agent-account-wide{grid-column:1/-1}.agent-application-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.agent-application-summary>div{padding:14px;border:1px solid #e1e8f3;border-radius:10px;background:#f8fbff;display:flex;flex-direction:column;gap:5px}.agent-application-summary span{font-size:12px;color:#66758d}.agent-application-status{padding:5px 10px;border-radius:999px;background:#eef4ff;color:#2563eb;font-weight:700;font-size:12px}.agent-application-status.approved{background:#e9f9ef;color:#078348}.agent-application-status.rejected{background:#fff0ed;color:#c24130}.agent-review-note{padding:12px;border-radius:9px;background:#fff7ed;color:#9a3412}@media(max-width:680px){.agent-account-form,.agent-application-summary{grid-template-columns:1fr}.agent-account-wide{grid-column:auto}}
.mail-send-failed{color:#c24130;font-weight:700}
