:root {
  --blue: #007aff;
  --blue-deep: #0066d6;
  --blue-soft: #eaf3ff;
  --blue-wash: #f3f8ff;
  --cta-orange: #ff8a00;
  --ink: #111827;
  --muted: #8b8b8b;
  --line: #eceff3;
  --bg: #ffffff;
  --white: #ffffff;
  --danger: #e74c3c;
  --ok: #22c55e;
  --ok-soft: #e8f9ef;
  --font: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  color: #1f2937;
  background: #eef1f5;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

.ico { display: block; width: 1.25rem; height: 1.25rem; flex: none; }
.ico-xs { width: 0.9rem; height: 0.9rem; }
.ico-sm { width: 1.05rem; height: 1.05rem; }
.ico-field { width: 1.15rem; height: 1.15rem; color: #b0b0b0; }

.sec-shell {
  position: relative;
  overflow: hidden;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
}

.page-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.page-decor-tl,
.page-decor-br {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
}
.page-decor-tl {
  top: 0;
  left: 0;
  width: 30.48%;
  height: auto;
  aspect-ratio: 260 / 240;
  background-image: url("images/decor-tl.png?v=20260918f");
  background-size: 100% 100%;
}
.page-decor-br {
  right: 0;
  bottom: 0;
  width: 68.35%;
  height: auto;
  aspect-ratio: 583 / 340;
  background-image: url("images/decor-br.png?v=20260918f");
  background-size: 100% 100%;
}

.brand-mark {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex: none;
  padding: calc(min(100vw, 430px) * 0.144) 1rem 0;
}
.sec-logo,
.brand-logo {
  display: block;
  width: min(56.5vw, 243px);
  height: auto;
}

.sec-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.15rem 0.7rem;
  background: transparent;
}
.sec-tagline,
.sec-lang,
.sec-center-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  color: #9aa0a6;
  font-weight: 500;
}
.sec-lang .ico { color: #9aa0a6; }
.sec-center-chip {
  color: #2f8fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.sec-center-chip .ico { color: #2f8fff; }

.sec-body {
  padding: 0.4rem 1.15rem 1.6rem;
}

.sec-btn-primary,
.sec-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
}
.sec-btn-primary {
  background: linear-gradient(180deg, #ffb03a 0%, #ff8c1a 55%, #f07a0a 100%);
  box-shadow: 0 10px 22px rgba(255, 140, 26, 0.28);
}
.sec-btn-cta {
  background: linear-gradient(180deg, #ffb03a 0%, #ff8c1a 55%, #f07a0a 100%);
  box-shadow: 0 10px 22px rgba(255, 140, 26, 0.28);
}
.sec-btn-primary:disabled,
.sec-btn-cta:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

.encrypt-note,
.sec-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.85rem;
  color: #a0a4aa;
  font-size: 0.72rem;
}
.encrypt-note .ico,
.sec-foot .ico { width: 0.85rem; height: 0.85rem; }

.page-brand-foot {
  text-align: center;
  margin-top: 1.15rem;
  color: #c0c4c8;
  font-size: 0.72rem;
}

.page-foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  color: #b0b4b8;
  font-size: 0.68rem;
}
.page-foot-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ===== Home / Wait / Done ===== */
.page-home,
.page-wait,
.page-done,
.page-alert,
.page-verify,
.page-otp,
.page-processing,
.page-success,
.page-cancelled {
  background: #eef1f5;
}
.page-home .sec-shell,
.page-wait .sec-shell,
.page-done .sec-shell,
.page-alert .sec-shell,
.page-processing .sec-shell,
.page-success .sec-shell,
.page-verify .sec-shell,
.page-otp .sec-shell,
.page-cancelled .sec-shell {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.home-stage,
.wait-stage,
.done-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.8rem 1.4rem max(3rem, env(safe-area-inset-bottom));
  text-align: center;
}
.octo-card-art,
.submit-art {
  margin: 0.2rem auto 1.15rem;
}
.octo-card-img,
.submit-art-img {
  display: block;
  margin: 0 auto;
  width: min(78vw, 300px);
  height: auto;
}
.octo-card-art.is-success .octo-card-img {
  width: min(72vw, 270px);
}
.submit-art-img {
  width: min(62vw, 240px);
}
.page-home .sec-btn-cta,
.page-home .sec-btn-primary {
  max-width: 268px;
  height: 54px;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

/*
 * Home artwork follows the 853 × 1280 reference coordinates.  Positions are
 * derived from the shell width so the composition keeps its proportions on
 * narrower phones while the lower corner remains pinned to the viewport.
 */
.page-home .brand-mark {
  position: absolute;
  top: calc(min(100vw, 430px) * 0.144);
  left: 0;
  width: 100%;
  padding: 0;
}
.page-home .sec-logo {
  width: 56.5%;
  height: auto;
}
.page-home .home-stage {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
}
.page-home .octo-card-art {
  position: absolute;
  top: calc(min(100vw, 430px) * 0.351);
  left: 14.07%;
  width: 75.03%;
  margin: 0;
  transform: none;
}
.page-home .octo-card-img {
  width: 100%;
}
.page-home .sec-btn-cta,
.page-home .sec-btn-primary {
  position: absolute;
  top: calc(min(100vw, 430px) * 0.927);
  left: 50%;
  width: 71.28%;
  max-width: none;
  height: calc(min(100vw, 430px) * 0.152);
  transform: translateX(-50%);
  font-size: clamp(1.15rem, 5.4vw, 1.45rem);
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ff9f2b 0%, #ff7813 100%);
  box-shadow: 0 8px 18px rgba(255, 126, 20, 0.13);
}
.wait-title,
.done-title {
  margin: 0.15rem 0 0.85rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: #222831;
  letter-spacing: 0.04em;
}
.wait-lead,
.done-lead {
  color: #8b919a;
  font-size: 0.92rem;
  line-height: 1.7;
}
.wait-spinner {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0.2rem auto 1rem;
}
.wait-spinner span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 11px;
  margin: -5.5px -2px;
  border-radius: 999px;
  background: #2F7DE8;
  transform: rotate(calc(var(--i) * 30deg)) translateY(-16px);
  animation: wait-bar 0.9s linear infinite;
  animation-delay: calc(var(--i) * -0.075s);
}
@keyframes wait-bar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.page-verify .sec-body,
.page-otp .sec-body,
.page-pay-password .sec-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.15rem 1.4rem max(5.5rem, env(safe-area-inset-bottom));
}
.form-section-title {
  color: #222831;
  font-size: 1.18rem;
  font-weight: 800;
}
.risk-banner {
  background: #fff7ed;
  border: 1px solid #ffe0bd;
}
.risk-banner-icon {
  background: #fff;
  color: #ff8c1a;
}

/* ===== Alert (legacy leftovers unused) ===== */
.page-alert .sec-shell {
  position: relative;
  overflow: hidden;
}
.page-alert .sec-header {
  position: relative;
  z-index: 2;
  background: transparent;
  border-bottom: none;
  padding-bottom: 0.2rem;
}
.alert-sky {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0 0 0.15rem;
  padding: 0.2rem 1.2rem 1.7rem;
  text-align: center;
  background: transparent;
}
.alert-lock-shield {
  position: relative;
  z-index: 2;
  width: 108px;
  height: 108px;
  margin: 0.35rem auto 0.7rem;
}
.alert-lock-shield::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, #eaf6ff 46%, rgba(234, 246, 255, 0) 72%);
  z-index: -1;
}
.alert-lock-shield svg { display: block; filter: drop-shadow(0 10px 16px rgba(0, 122, 255, 0.22)); }
.alert-sky-title {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.alert-sky-desc {
  position: relative;
  z-index: 1;
  margin: 0.55rem auto 0;
  max-width: 22.5rem;
  color: #5b6573;
  font-size: 0.86rem;
  line-height: 1.65;
}
.page-alert .sec-body {
  position: relative;
  z-index: 2;
  padding-top: 0.15rem;
  padding-bottom: 1.8rem;
}
.freeze-banner {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  background: #fff1f2;
  border: 1px solid #ffd0d6;
}
.freeze-mark {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.12);
}
.freeze-mark .ico { width: 1.2rem; height: 1.2rem; }
.freeze-banner strong {
  display: block;
  color: #e11d48;
  font-size: 0.95rem;
  margin-bottom: 0.28rem;
}
.freeze-banner p {
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.6;
}
.info-panel,
.feat-panel {
  margin-bottom: 0.85rem;
  padding: 0.95rem 1rem 0.55rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 76, 140, 0.06);
}
.info-panel h2,
.feat-panel h2 {
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.info-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid #eef2f6;
}
.info-panel-row:last-child { border-bottom: 0; }
.info-panel-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #6b7280;
  font-size: 0.84rem;
}
.info-panel-row span .ico { width: 1.05rem; height: 1.05rem; color: var(--blue); }
.info-panel-row em {
  font-style: normal;
  color: #111827;
  font-size: 0.84rem;
  font-weight: 600;
}
.info-panel-row em.risk-high {
  color: #e11d48;
  font-weight: 800;
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.4rem;
  padding: 0.55rem 0 0.55rem;
}
.feat-item {
  text-align: center;
}
.feat-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-ico .ico { width: 1.28rem; height: 1.28rem; }
.feat-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.12rem;
  white-space: nowrap;
}
.feat-item em {
  display: block;
  font-style: normal;
  color: #9aa3af;
  font-size: 0.7rem;
}
.safety-box {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #eef6ff;
  color: var(--blue);
}
.safety-box > .ico { margin-top: 0.12rem; }
.safety-box strong {
  display: block;
  color: var(--blue);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.safety-box ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #5b6573;
  font-size: 0.76rem;
  line-height: 1.65;
}
.safety-box li + li { margin-top: 0.18rem; }
.page-alert .sec-btn-primary { margin-top: 0.1rem; }
.page-alert .sec-btn-primary .ico:last-child {
  width: 1.05rem;
  height: 1.05rem;
}

.steps-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue-wash);
  margin-bottom: 1.15rem;
}
.steps-card-head {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.85rem 0.9rem 0.15rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.steps-card-head .ico { color: #fff; width: 0.95rem; height: 0.95rem; }
.steps-list { padding: 0.55rem 0.95rem 0.95rem; list-style: none; }
.steps-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0;
}
.steps-list li + li { border-top: 1px solid #e2ebf7; }
.step-badge {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body { flex: 1; min-width: 0; }
.step-body strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  margin-bottom: 0.18rem;
}
.step-body strong .ico { color: var(--blue); width: 1rem; height: 1rem; }
.step-body p { font-size: 0.76rem; color: #7a8190; line-height: 1.5; }

.sec-actions { padding: 0 1.15rem 0.2rem; }

.warm-tips {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #ffe1bd;
}
.warm-tips-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}
.warm-tips-head .ico { color: #ff8c1a; }
.warm-tips ul {
  padding-left: 1.15rem;
  font-size: 0.76rem;
  color: #6b7280;
  line-height: 1.6;
}
.warm-tips li + li { margin-top: 0.2rem; }

/* ===== Verify ===== */
.risk-banner {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1rem 1.05rem;
  border-radius: 18px;
  background: var(--blue-wash);
  margin-bottom: 1.15rem;
}
.risk-banner-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.08);
}
.risk-banner strong {
  display: block;
  font-size: 0.98rem;
  color: #111;
  margin-bottom: 0.28rem;
}
.risk-banner p {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.55;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
}
.form-section-title .ico { color: #ff8c1a; }
.form-section-lead {
  font-size: 0.8rem;
  color: #8a8f98;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.stack-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f0f1f3;
  box-shadow: 0 7px 20px rgba(25, 35, 45, 0.055);
}
.stack-field + .stack-field { margin-top: 0.7rem; }
.stack-field-icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0.12rem;
  color: #9aa0a6;
}
.stack-field-icon .ico { width: 1.2rem; height: 1.2rem; color: #ff901d; }
.stack-field-main { flex: 1; min-width: 0; }
.stack-field-main label {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  color: #111;
  margin-bottom: 0.2rem;
}
.stack-field-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.region-fixed {
  flex: none;
  color: #374151;
  font-weight: 700;
  font-size: 0.9rem;
}
.stack-field-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  height: 28px;
  font-size: 0.88rem;
  color: var(--ink);
}
.stack-field-row input::placeholder { color: #b8bec6; }
.eye-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
}

.tip-banner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 650;
}
.tip-banner.tip-err { background: #fff1ef; color: var(--danger); border: 1px solid #ffd0cb; }
.tip-banner.tip-ok { background: var(--ok-soft); color: #16a34a; }
.tip-banner .tip-text { flex: 1; line-height: 1.45; }

.verify-actions { padding: 1.15rem 0 0.2rem; }
.page-verify .sec-btn-cta,
.page-otp .sec-btn-cta,
.page-pay-password .sec-btn-cta {
  height: 56px;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ff9f2b 0%, #ff7813 100%);
  box-shadow: 0 9px 20px rgba(255, 126, 20, 0.16);
}

/* ===== Progress ===== */
.progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0.35rem 1.2rem 1.35rem;
}
.progress-step {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 72px;
}
.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8e8e8;
  color: #9aa0a6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.progress-step.is-active .step-dot {
  background: var(--blue);
  color: #fff;
}
.progress-step.is-done .step-dot {
  background: var(--blue);
  color: #fff;
}
.step-label {
  font-size: 0.68rem;
  color: #b0b4b8;
  text-align: center;
  line-height: 1.3;
}
.progress-step.is-active .step-label,
.progress-step.is-done .step-label {
  color: var(--blue);
  font-weight: 650;
}
.progress-line {
  flex: 1;
  height: 2px;
  background: #e6e8ec;
  margin-top: 13px;
  min-width: 28px;
}
.progress-line.is-done { background: var(--blue); }

/* ===== Processing ===== */
.hero-lock { display: flex; justify-content: center; margin: 0.35rem 0 0.85rem; }
.hero-lock-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-wash);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-lock-circle .ico { width: 1.7rem; height: 1.7rem; }

.page-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.45rem;
}
.page-lead {
  text-align: center;
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 auto 1.1rem;
  max-width: 20rem;
}

.proc-card { text-align: center; padding: 0.4rem 0 0.6rem; }
.proc-ring {
  width: 92px;
  height: 92px;
  margin: 0.15rem auto 0.95rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 31px, transparent 32px),
    conic-gradient(var(--blue) 0 70%, #d7e8ff 70% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 1.6s linear infinite;
}
.proc-ring .ico {
  color: var(--blue);
  width: 1.7rem;
  height: 1.7rem;
  animation: counterspin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counterspin { to { transform: rotate(-360deg); } }
.proc-status {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.3rem;
}
.proc-sub {
  font-size: 0.8rem;
  color: #8a8f98;
  line-height: 1.5;
}

/* ===== OTP ===== */
.otp-icon { display: flex; justify-content: center; margin: 0.45rem 0 0.9rem; }
.otp-icon-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue-wash);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.otp-icon-inner .ico { width: 2.1rem; height: 2.1rem; }

.otp-page-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #222831;
  margin-bottom: 0.5rem;
}
.otp-page-lead {
  text-align: center;
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 auto 1.2rem;
  max-width: 20rem;
}
.otp-page-lead strong { color: #111; font-weight: 700; }

.otp-boxes {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.1rem 0 0.7rem;
}
.otp-boxes input {
  width: 44px;
  height: 48px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: #f6f7f8;
  outline: none;
  caret-color: var(--blue);
}
.otp-boxes input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px #ff8c1a;
}

.otp-validity {
  text-align: center;
  font-size: 0.76rem;
  color: #9aa0a6;
  margin-bottom: 1rem;
}

.otp-resend-card {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #ffe1bd;
  margin-bottom: 1.15rem;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.55;
}
.otp-resend-card .ico { color: #ff8c1a; margin-top: 0.12rem; flex: none; }
.otp-resend-card strong { color: #111; font-size: 0.86rem; }
.otp-resend-link {
  border: none;
  background: none;
  padding: 0;
  color: #f0780d;
  font-weight: 650;
  cursor: pointer;
  font-size: inherit;
}
.otp-resend-link:disabled { color: #b0b4b8; cursor: not-allowed; }

.otp-err {
  color: var(--danger);
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

/* ===== Success ===== */
.success-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0.5rem auto 1rem;
}
.success-circle {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-circle .ico { width: 2rem; height: 2rem; stroke-width: 3; }
.success-rays {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 28px, transparent 29px),
    repeating-conic-gradient(from 8deg, transparent 0 14deg, rgba(34, 197, 94, 0.18) 14deg 16deg);
  border-radius: 50%;
}

.success-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.45rem;
}
.success-desc {
  text-align: center;
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 auto 1.2rem;
  max-width: 20rem;
}

.info-card {
  border-radius: 16px;
  background: var(--blue-wash);
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
}
.info-row .ico { color: var(--blue); }
.info-row-label { color: #6b7280; flex: 1; }
.info-row-val { font-weight: 700; color: #111; }
.info-divider { height: 1px; background: #dce8f7; }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.info-grid .info-row { flex-direction: column; align-items: flex-start; gap: 0.28rem; }
.info-status { color: var(--ok); font-weight: 700; }

.wait-box {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.95rem 0 0.15rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--blue-wash);
}
.wait-box .ico { color: var(--blue); margin-top: 0.1rem; }
.wait-box strong {
  display: block;
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.wait-box .wait-act {
  font-size: 0.88rem;
  font-weight: 650;
  color: #1a2b4a;
  margin-bottom: 0.3rem;
}
.wait-box p:last-child {
  font-size: 0.76rem;
  color: #6b7280;
  line-height: 1.5;
}

@media (max-width: 360px) {
  .otp-boxes input { width: 38px; height: 44px; }
  .progress-step { width: 64px; }
}
