:root {
  --ink: #121d3e;
  --muted: #5d6c96;
  --line: #dbe3f4;
  --paper: #ffffff;
  --soft: #f4f7fc;
  --accent: #212e69;
  --violet: #7258ea;
  --green: #11a77b;
  --green-soft: #d9f8ef;
  --rose: #d94a5a;
  --rose-soft: #fff0f2;
  --shadow: 0 18px 40px rgba(30, 47, 100, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(225, 233, 253, 0.95), rgba(248, 250, 254, 1) 38%),
    var(--soft);
  font-family:
    Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 32px;
}

.legacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.legacy-main {
  min-width: 0;
}

.legacy-side {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 24px;
}

.hero,
.metrics,
.panel,
.history {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 526px);
  gap: 34px;
  align-items: center;
  min-height: 202px;
  padding: 32px 32px 30px;
  border-radius: 0 0 10px 10px;
}

.eyebrow {
  color: #2456e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 8px;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.legacy-recommended {
  margin-top: 12px;
  color: #d60000;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1.35;
}

.support-highlight {
  margin-top: 12px;
  color: #d60000;
  font-size: 26px;
  font-weight: 1000;
  line-height: 1.3;
}

.support-highlight strong {
  font-size: 32px;
}

.headline p {
  width: min(640px, 100%);
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid #cdd7ed;
  border-radius: 8px;
  color: var(--accent);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.redeem label,
.metrics span,
.field span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.redeem-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 10px;
  margin-top: 8px;
}

.redeem input {
  width: 100%;
  height: 45px;
  border: 1px solid #cdd7ed;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.redeem input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(33, 46, 105, 0.12);
}

button {
  min-height: 45px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.inline-status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.country-picker {
  position: relative;
  margin-bottom: 14px;
}

.legacy-region-button {
  width: 100%;
  margin-top: 8px;
  text-align: left;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.metrics div {
  min-height: 98px;
  padding: 26px;
  background: #fff;
}

.metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

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

.panel {
  min-height: 390px;
  border-radius: 10px;
  padding: 26px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-title h2,
.history h2 {
  font-size: 22px;
}

.icon {
  font-size: 22px;
  line-height: 1;
}

.pill {
  margin-left: auto;
  border: 1px solid #9ce8d0;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 900;
}

.pill.live {
  color: var(--green);
}

.phone {
  margin-top: 36px;
  font-size: clamp(32px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: 5px;
  word-break: break-all;
}

.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 136px;
  margin-top: 18px;
  padding: 0 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid #d8e0f1;
}

.copy:not(:disabled):hover,
.secondary:not(:disabled):hover {
  border-color: var(--accent);
  color: var(--accent);
}

.panel-note {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.split {
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}

.field strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.swap-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.danger {
  min-width: 112px;
  min-height: 48px;
  padding: 0 22px;
  color: var(--rose);
  background: var(--rose-soft);
  border: 1px solid #ffd4da;
}

.danger:not(:disabled):hover {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(217, 74, 90, 0.1);
}

.swap-row span,
.message {
  color: var(--muted);
}

.code {
  min-height: 70px;
  margin-top: 48px;
  color: var(--violet);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 13px;
  word-break: break-word;
}

.secondary {
  margin-top: 24px;
}

.message {
  margin-top: 18px;
  min-height: 28px;
  font-weight: 700;
}

.history {
  margin-top: 20px;
  border-radius: 10px;
  padding: 24px 26px 28px;
}

.generator-shell {
  padding-top: 0;
}

.generator-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.generator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.generator-form label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.generator-form input {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  border: 1px solid #cdd7ed;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  outline: none;
}

.generator-form button {
  grid-column: 1 / -1;
}

.generator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.generator-output textarea {
  width: 100%;
  min-height: 360px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  line-height: 1.7;
  resize: vertical;
}

.table-action {
  min-height: 36px;
  padding: 0 12px;
  color: var(--rose);
  background: var(--rose-soft);
  border: 1px solid #ffd4da;
}

.destroy-action:not(:disabled):hover {
  border-color: var(--rose);
}

.table-muted {
  color: #8a96b6;
}

.code-cell {
  font-family: Consolas, "Courier New", monospace;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.filter-label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.filter-label select,
.filter-label input {
  min-width: 160px;
  min-height: 42px;
  border: 1px solid #c8d2e4;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.card-search-label {
  flex: 1;
  min-width: 260px;
}

.card-search-label input {
  width: 100%;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-actions span {
  color: var(--muted);
  font-weight: 900;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.country-admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.price-cap-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.price-cap-toolbar .filter-label {
  min-width: 220px;
}

.price-cap-toolbar .table-muted {
  align-self: center;
}

.country-admin-form input,
.country-admin-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.country-admin-form textarea {
  grid-column: span 2;
  min-height: 42px;
  padding-top: 10px;
  resize: vertical;
}

.country-enabled-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--ink);
  font-weight: 900;
}

.country-admin-form button {
  min-height: 42px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tool-card,
.card-detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.tool-card {
  display: grid;
  gap: 6px;
}

.tool-card.ok {
  border-color: #bfe5d9;
}

.tool-card.warn {
  border-color: #ffd0d0;
}

.detail-head,
.detail-item {
  display: grid;
  gap: 6px;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.detail-item {
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.price-card.disabled {
  opacity: 0.58;
}

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

.price-card-head strong {
  font-size: 18px;
}

.price-card-head span,
.price-meta {
  color: var(--muted);
  font-weight: 800;
}

.country-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.mini-action {
  min-height: 30px;
  padding: 0 10px;
  color: var(--green);
  background: #fff;
  border: 1px solid #bfe5d9;
  font-size: 13px;
}

.mini-action.danger {
  color: #c12828;
  border-color: #ffd0d0;
}

.price-meta {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  font-size: 14px;
}

.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.price-policy-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: stretch;
}

.price-market-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.price-subtitle {
  margin-top: 16px;
  color: var(--ink);
  font-size: 14px;
}

.market-list {
  max-height: 188px;
  overflow: auto;
  padding-right: 4px;
}

.price-chip {
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cdd7ed;
}

.price-chip span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.price-chip.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.price-chip.active span {
  color: #d9f8ef;
}

.price-chip.market {
  border-style: dashed;
}

.price-chip.in-policy {
  border-style: solid;
}

.price-chip.over-cap {
  opacity: 0.5;
}

.price-remove {
  min-height: 44px;
  padding: 0 10px;
  color: #c12828;
  background: #fff3f3;
  border: 1px solid #ffd0d0;
  font-size: 13px;
}

.price-remove:disabled {
  color: var(--muted);
  background: #f7f9fc;
  border-color: var(--line);
}

.select-col {
  width: 46px;
  text-align: center;
}

.select-col input {
  width: 18px;
  height: 18px;
  accent-color: #188568;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.status-unused {
  color: #2456e8;
  background: #eaf0ff;
  border: 1px solid #c8d6ff;
}

.status-active {
  color: #8b5a00;
  background: #fff5d8;
  border: 1px solid #ffe19a;
}

.status-used {
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #9ce8d0;
}

.status-destroyed {
  color: var(--rose);
  background: var(--rose-soft);
  border: 1px solid #ffd4da;
}

.destroy-title {
  padding: 54px 0 18px;
}

.notice-box,
.destroy-form-card,
.destroy-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.notice-box {
  padding: 22px 28px;
}

.notice-box h2 {
  font-size: 24px;
}

.notice-box p {
  margin-top: 14px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

.destroy-form-card {
  margin-top: 0;
  padding: 24px 28px;
}

.destroy-form-card label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.destroy-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  margin-top: 8px;
}

.destroy-input-row input {
  width: 100%;
  min-height: 56px;
  border: 1px solid #cdd7ed;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  font-size: 18px;
  outline: none;
}

.destroy-input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(33, 46, 105, 0.12);
}

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

.destroy-submit {
  width: 100%;
}

.destroy-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.destroy-card {
  min-height: 134px;
  padding: 20px;
}

.destroy-card span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.destroy-card strong {
  display: block;
  margin-top: 34px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  word-break: break-all;
}

.destroy-card.highlight {
  background: #eaf1ff;
  border-color: #c8d6ff;
}

.verify-shell {
  --verify-blue: #2456e8;
  --verify-blue-dark: #163dba;
  --verify-blue-soft: #eaf1ff;
  --verify-blue-line: #c8d6ff;
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) 320px;
  gap: 24px;
  width: min(1760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 36px;
}

.verify-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: center;
}

.verify-top h1 {
  margin: 0;
  font-size: clamp(48px, 4.6vw, 72px);
}

.wechat-alert {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 16px;
  border: 2px solid #ffb6b6;
  border-radius: 8px;
  color: #d60000;
  background: #fff3f3;
  font-size: 24px;
  font-weight: 1000;
}

.recommended-country {
  margin-top: 12px;
  color: #d60000;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1.35;
}

.selector-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.select-wrap {
  position: relative;
}

.select-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #bfc9dc;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: left;
}

.select-card.active {
  border-color: var(--verify-blue-dark);
  box-shadow: 0 0 0 3px rgba(36, 86, 232, 0.18), var(--shadow);
}

.select-card small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.select-card strong {
  display: block;
  margin-top: 2px;
  font-size: 24px;
  line-height: 1.08;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--verify-blue);
  background: var(--verify-blue-soft);
  font-size: 30px;
  line-height: 1;
}

.chevron {
  color: #68748a;
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 26px;
  border-radius: 3px;
  border: 1px solid rgba(18, 29, 62, 0.15);
  box-shadow: 0 1px 2px rgba(18, 29, 62, 0.12);
  overflow: hidden;
}

.flag-generic {
  color: #fff;
  background: var(--verify-blue);
  font-size: 12px;
  font-weight: 900;
}

.flag-br {
  background: linear-gradient(#009b3a 0 100%);
  position: relative;
}

.flag-br::before {
  content: "";
  position: absolute;
  inset: 5px 8px;
  background: #ffdf00;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.flag-br::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 13px;
  top: 7px;
  border-radius: 50%;
  background: #002776;
}

.flag-co { background: linear-gradient(#fcd116 0 50%, #003893 50% 75%, #ce1126 75%); }
.flag-mx { background: linear-gradient(90deg, #006847 0 33.33%, #fff 33.33% 66.66%, #ce1126 66.66%); }
.flag-cl {
  background:
    linear-gradient(90deg, #0039a6 0 34%, transparent 34%),
    linear-gradient(#fff 0 50%, #d52b1e 50%);
  position: relative;
}
.flag-cl::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}
.flag-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-fr { background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%); }
.flag-se { background: linear-gradient(90deg, transparent 0 30%, #fecc00 30% 42%, transparent 42%), linear-gradient(transparent 0 38%, #fecc00 38% 54%, transparent 54%), #006aa7; }
.flag-za { background: linear-gradient(#de3831 0 33%, #fff 33% 40%, #007a4d 40% 60%, #fff 60% 67%, #002395 67%); }
.flag-gb {
  background:
    linear-gradient(33deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 52%, #fff 52% 58%, transparent 58%),
    linear-gradient(147deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 52%, #fff 52% 58%, transparent 58%),
    linear-gradient(90deg, transparent 0 38%, #fff 38% 44%, #c8102e 44% 56%, #fff 56% 62%, transparent 62%),
    linear-gradient(0deg, transparent 0 32%, #fff 32% 40%, #c8102e 40% 60%, #fff 60% 68%, transparent 68%),
    #012169;
}
.flag-th { background: linear-gradient(#a51931 0 16%, #fff 16% 32%, #2d2a4a 32% 68%, #fff 68% 84%, #a51931 84%); }

.region-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 100%;
  max-height: 420px;
  padding: 12px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.region-option {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  text-align: left;
}

.region-option.selected {
  color: var(--verify-blue-dark);
  background: var(--verify-blue-soft);
}

.region-option.disabled {
  opacity: 0.48;
}

.verify-notice,
.verify-form-card,
.verify-metrics article,
.pass-card,
.help-button {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.verify-notice {
  margin-top: 28px;
  padding: 24px 28px;
}

.verify-notice h2,
.pass-card h2 {
  font-size: 26px;
}

.verify-notice p {
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.62;
}

.verify-notice-list {
  margin: 12px 0 0;
  padding-left: 32px;
  font-size: 20px;
  line-height: 1.62;
}

.verify-notice-list li + li {
  margin-top: 8px;
}

.verify-notice-subtitle {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.notice-danger {
  color: #d60000;
}

.verify-notice a {
  color: var(--verify-blue-dark);
  font-weight: 900;
}

.plus-price {
  color: #d60000;
  font-size: 1.1em;
  font-weight: 1000;
}

.verify-form-card {
  margin-top: 18px;
  padding: 24px 28px;
}

.verify-form-card label {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.verify-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  margin-top: 10px;
}

.verify-input-row input {
  width: 100%;
  min-height: 64px;
  border: 1px solid #c8d2e4;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 22px;
  outline: none;
}

.verify-input-row input:focus {
  border-color: var(--verify-blue);
  box-shadow: 0 0 0 4px rgba(36, 86, 232, 0.14);
}

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

.step-button {
  min-height: 58px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8d2e4;
}

.step-button.primary {
  color: #fff;
  background: var(--verify-blue);
  border-color: var(--verify-blue);
}

.step-button.primary:not(:disabled):hover {
  background: var(--verify-blue-dark);
  border-color: var(--verify-blue-dark);
}

.danger-step {
  color: #c9251a;
  background: #fff1f0;
  border-color: #ffc7bf;
}

.verify-alert {
  margin-top: 18px;
  min-height: 58px;
  padding: 16px 22px;
  color: #c9251a;
  background: #fff1f0;
  border: 1px solid #ffb8b0;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.verify-alert[hidden] {
  display: none;
}

.verify-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.verify-metrics article {
  position: relative;
  min-height: 162px;
  padding: 24px;
}

.verify-metrics .phone-metric {
  grid-column: span 2;
  min-height: 178px;
  padding-bottom: 66px;
}

.verify-metrics article.highlight {
  background: #eaf1ff;
  border-color: #c8d6ff;
}

.verify-metrics span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.verify-metrics strong {
  display: block;
  margin-top: 54px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.phone-metric strong {
  margin-top: 34px;
  padding-right: 0;
  font-size: clamp(22px, 2.4vw, 28px);
}

.metric-copy {
  position: absolute;
  right: 16px;
  bottom: 14px;
  min-height: 34px;
  padding: 0 14px;
  color: var(--accent);
  background: #fff;
  border: 1px solid #cdd7ed;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.verify-side {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 32px;
}

.verify-contact-panel {
  align-self: start;
  position: sticky;
  top: 24px;
  padding-top: 128px;
}

.help-button {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: var(--verify-blue-dark);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.pass-card {
  padding: 24px;
}

.pass-card > strong {
  display: block;
  margin-top: 6px;
  color: var(--verify-blue-dark);
  font-size: 42px;
}

.support-card {
  text-align: center;
}

.support-card h2 {
  text-align: left;
}

.support-wechat {
  color: #d60000 !important;
  font-size: 40px !important;
}

.support-qr {
  display: block;
  width: min(100%, 238px);
  aspect-ratio: 1;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.support-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.stats-card {
  padding-bottom: 18px;
}

.stats-summary {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.contact-card p {
  margin: 10px 0 14px;
  color: #d60000;
  font-size: 19px;
  font-weight: 1000;
}

.contact-card img {
  display: block;
  width: min(100%, 220px);
  margin: 0 auto;
  border-radius: 8px;
}

.product-page-link {
  display: block;
  margin: 16px auto 0;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--verify-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.product-page-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.stat-row {
  margin-top: 14px;
}

.stat-row div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.stat-row i {
  display: block;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--verify-blue) calc(var(--value) * 1%), #e8edf2 0);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 16px;
}

.card-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
}

.card-pagination label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-pagination select {
  width: auto;
  min-width: 72px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  height: 54px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: #edf2fc;
  font-weight: 900;
}

td {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .metrics,
  .legacy-layout,
  .destroy-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 26px 18px;
  }

  .redeem-row {
    grid-template-columns: 1fr;
  }

  .panel,
  .history {
    padding: 22px 18px;
  }

  .phone {
    letter-spacing: 2px;
  }

  .legacy-side {
    padding-top: 0;
  }

  .code {
    letter-spacing: 8px;
  }

  .destroy-title {
    padding: 34px 18px 12px;
  }

  .notice-box,
  .destroy-form-card {
    margin-right: 0;
    margin-left: 0;
    padding: 20px 18px;
  }

  .destroy-input-row,
  .destroy-actions,
  .verify-shell,
  .verify-top,
  .selector-row,
  .verify-input-row,
  .step-actions,
  .verify-metrics {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .verify-shell {
    width: min(100% - 28px, 760px);
    padding-top: 30px;
  }

  .verify-side {
    padding-top: 0;
  }

  .verify-main {
    order: 1;
  }

  .verify-contact-panel {
    order: 2;
    position: static;
    padding-top: 0;
  }

  .verify-side {
    order: 3;
  }

  .verify-top h1 {
    font-size: 48px;
  }

  .verify-notice p {
    font-size: 17px;
  }

  .verify-notice-list {
    padding-left: 24px;
    font-size: 17px;
  }

  .verify-metrics strong {
    margin-top: 24px;
  }

  .verify-metrics .phone-metric {
    grid-column: auto;
  }
}
