:root,
.theme-sber {
  --bg: #f3faf4;
  --panel: #ffffff;
  --text: #0b3d1e;
  --muted: #5a8a68;
  --accent: #1faa3c;
  --accent-soft: #e8f8ec;
  --line: #cfe8d6;
  --ok: #1faa3c;
  --warn: #d4a017;
  --danger: #e04545;
  --glow-a: #c9f0d3;
  --glow-b: #dff7e6;
  --glow-top: #f7fcf8;
  --shadow: rgba(31, 120, 55, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.theme-vtb {
  --bg: #f2f7fc;
  --panel: #ffffff;
  --text: #0b2a4a;
  --muted: #5a7a9a;
  --accent: #0a54ff;
  --accent-soft: #e8f0ff;
  --line: #c9daf0;
  --ok: #0a54ff;
  --warn: #d4a017;
  --danger: #e04545;
  --glow-a: #c5d9f8;
  --glow-b: #dde9fb;
  --glow-top: #f5f9ff;
  --shadow: rgba(10, 84, 255, 0.1);
}

.theme-alfa {
  --bg: #121214;
  --panel: #1c1c1e;
  --text: #f2f2f7;
  --muted: #8e8e93;
  --accent: #ef3124;
  --accent-soft: #2c2c2e;
  --line: #3a3a3c;
  --ok: #ef3124;
  --warn: #ffd60a;
  --danger: #ff453a;
  --glow-a: transparent;
  --glow-b: transparent;
  --glow-top: #121214;
  --shadow: rgba(0, 0, 0, 0.35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --alfa-field: #2c2c2e;
  --alfa-field-hover: #3a3a3c;
}

* {
  box-sizing: border-box;
}

html,
body {
  overscroll-behavior: none;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 480px at 10% -10%, var(--glow-a) 0%, transparent 55%),
    radial-gradient(700px 420px at 100% 0%, var(--glow-b) 0%, transparent 50%),
    linear-gradient(180deg, var(--glow-top) 0%, var(--bg) 100%);
  transition: color 0.25s ease, background 0.35s ease;
  -webkit-user-select: none;
  user-select: none;
}

.order-value,
.payment-id-value {
  -webkit-user-select: text;
  user-select: text;
}

.shell {
  width: min(440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 40px var(--shadow);
}

.panel-enter {
  animation: panelIn 0.38s ease both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hidden {
  display: none !important;
}

.ttl {
  margin-bottom: 18px;
}

.ttl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.ttl-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ttl-track {
  height: 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}

.ttl-bar {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(1);
  transition: background-color 0.35s ease;
}

.ttl-bar.warn {
  background: var(--warn);
}

.ttl-bar.danger {
  background: var(--danger);
}

.amount-hero {
  text-align: center;
  margin: 4px 0 18px;
  animation: amountIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes amountIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.amount-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.amount-value {
  font-size: clamp(1.85rem, 6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.section-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.methods {
  display: grid;
  gap: 10px;
}

.method {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  animation: methodIn 0.4s ease both;
}

.method:nth-child(1) {
  animation-delay: 0.05s;
}
.method:nth-child(2) {
  animation-delay: 0.12s;
}

@keyframes methodIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.method img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
}

.method:hover {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 6px 18px var(--shadow);
}

.method:active {
  transform: translateY(1px);
}

.qr-wrap {
  position: relative;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  min-height: 280px;
  animation: qrIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.qr-skeleton {
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    var(--accent-soft) 0%,
    #fff 50%,
    var(--accent-soft) 100%
  );
  background-size: 200% 100%;
  animation: qrShimmer 1.1s ease-in-out infinite;
}

.qr-skeleton.hidden {
  display: none;
}

@keyframes qrShimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.qr.hidden {
  display: none;
}

@keyframes qrIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.qr {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.qr-hint {
  margin: 0 0 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

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

.pay-actions.hidden,
.qr-hint.hidden {
  display: none !important;
}

.action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

.action-btn-secondary {
  background: var(--accent-soft);
  color: var(--text);
  border: 1px solid var(--line);
}

.action-btn:active {
  transform: translateY(1px);
}

.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 20, 40, 0.45);
  backdrop-filter: blur(4px);
}

.guide-modal.hidden {
  display: none !important;
}

.guide-dialog {
  width: min(315px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 9px 12px;
  box-shadow: 0 14px 38px var(--shadow);
  animation: panelIn 0.28s ease both;
}

.guide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 6px 9px;
}

.guide-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
}

.guide-close {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 8px;
  background: rgba(224, 69, 69, 0.12);
  color: var(--danger);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.guide-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  background: #fff;
}

.guide-track {
  display: flex;
  transition: transform 0.28s ease;
}

.guide-slide {
  flex: 0 0 100%;
  padding: 0 6px;
  box-sizing: border-box;
}

.guide-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: #fff;
}

.guide-next {
  margin: 10px 6px 0;
  width: calc(100% - 12px);
  padding: 11px 12px;
  font-size: 0.9rem;
}

.status-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.4rem;
  font-weight: 800;
  animation: iconPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.status-icon-warn {
  background: rgba(212, 160, 23, 0.18);
  color: #b8860b;
}

.status-icon-danger {
  background: rgba(224, 69, 69, 0.14);
  color: var(--danger);
}

.status-icon-ok {
  background: rgba(31, 170, 60, 0.14);
  color: var(--ok);
}

@keyframes iconPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.status-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
}

#state-expired .sub,
#state-error .sub,
#state-done .sub {
  margin-bottom: 18px;
}

.order-row {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-bottom: 14px;
}

.order-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.order-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--accent-soft);
}

.order-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}

.order-copy {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.order-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.order-copy.copied {
  border-color: var(--ok);
  color: var(--ok);
  background: var(--accent-soft);
}

.payment-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--accent-soft);
  margin-bottom: 14px;
}

.payment-id-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.payment-id-value {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  text-align: right;
}

.return-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.return-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  padding: 14px 16px;
  position: relative;
  z-index: 1;
}

.return-progress {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 2;
}

.return-progress.is-running {
  animation: returnSweep 3s linear forwards;
}

@keyframes returnSweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.bank-chip-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.bank-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

.bank-chip img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 6px;
}

.bank-btn {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  min-height: 56px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  font: inherit;
}

.bank-btn-bg {
  position: absolute;
  inset: 0;
  transition: filter 0.2s ease;
}

.bank-btn:hover .bank-btn-bg {
  filter: brightness(0.92);
}

.bank-btn-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 1rem;
}

.bank-btn-content img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 5px;
}

.oneclick-block {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.oneclick-block.hidden,
#qrBlock.hidden,
.requisites-block.hidden {
  display: none !important;
}

.requisites-block {
  display: grid;
  gap: 12px;
  margin-bottom: 4px;
}

.requisites-lead {
  margin: 0 0 8px;
}

.requisites-destination {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.requisites-destination-flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.requisites-destination-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.requisites-warn {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(212, 160, 23, 0.12);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
}

.requisites-warn strong {
  color: #b8860b;
}

.requisite-rows {
  display: grid;
  gap: 10px;
}

.requisite-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.requisite-row:hover {
  border-color: var(--accent);
  background: #fff;
}

.requisite-row.copied {
  border-color: var(--ok);
}

.requisite-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.requisite-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.requisite-value {
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.requisite-copy-hint {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.requisite-row.copied .requisite-copy-hint {
  color: var(--ok);
}

.oneclick-lead {
  margin: 0;
}

.oneclick-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  padding: 0;
  background: rgba(8, 20, 40, 0.45);
  backdrop-filter: blur(4px);
}

.oneclick-modal.hidden {
  display: none !important;
}

.oneclick-dialog {
  width: 100%;
  background: var(--panel);
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px var(--shadow);
  animation: oneclickSheetIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes oneclickSheetIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

.oneclick-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.oneclick-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(224, 69, 69, 0.12);
  color: var(--danger);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.oneclick-kind {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.oneclick-field {
  margin-bottom: 12px;
}

.oneclick-label {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.oneclick-amount {
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.oneclick-requisite {
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.oneclick-auto {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.oneclick-auto-text {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.oneclick-auto-track {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--accent-soft);
}

.oneclick-auto-bar {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
}

.oneclick-auto-bar.is-running {
  animation: oneclickSweep 7s linear forwards;
}

@keyframes oneclickSweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Alfa Bank app-style layout */
body.theme-alfa {
  background: var(--bg);
}

.theme-alfa .shell {
  width: min(440px, 100%);
  justify-content: center;
  padding: 24px 18px;
  min-height: 100vh;
}

.theme-alfa .loading-state {
  min-height: 240px;
}

.theme-alfa .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 40px var(--shadow);
  padding: 20px;
  min-height: auto;
}

.theme-alfa .alfa-only-hide {
  display: none !important;
}

.theme-alfa #state-pay .amount-hero,
.theme-alfa #state-pay .bank-chip-wrap {
  display: none !important;
}

.theme-alfa .ttl-row {
  font-size: 0.82rem;
}

.theme-alfa .ttl-track {
  background: #2c2c2e;
}

.theme-alfa .alfa-pay-header {
  margin-bottom: 20px;
}

.theme-alfa .alfa-pay-title {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 1.085rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.theme-alfa .alfa-pay-title-text {
  flex: 0 1 auto;
  min-width: 0;
}

.theme-alfa .alfa-pay-title-flag {
  flex-shrink: 0;
  width: 20px;
  height: 14px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.theme-alfa .alfa-pay-title-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.theme-alfa .alfa-pay-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.theme-alfa .requisites-block {
  gap: 0;
  margin-bottom: 0;
}

.theme-alfa .alfa-requisites {
  gap: 0;
}

.theme-alfa .alfa-section-title {
  margin: 22px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.theme-alfa .alfa-field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.theme-alfa .requisite-row.alfa-field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--alfa-field);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.theme-alfa .requisite-row.alfa-field:first-child {
  margin-top: 0;
}

.theme-alfa .requisite-row.alfa-field:hover {
  background: var(--alfa-field-hover);
}

.theme-alfa .requisite-row.alfa-field.copied {
  outline: 1px solid rgba(239, 49, 36, 0.55);
}

.theme-alfa .requisite-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.theme-alfa .requisite-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.theme-alfa .requisite-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.theme-alfa .requisite-copy-hint {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.theme-alfa .requisite-row.copied .requisite-copy-hint {
  color: #ff6b61;
}

.theme-alfa .oneclick-block {
  margin-top: 0;
  margin-bottom: 16px;
}

.theme-alfa .alfa-return-wrap {
  margin-top: 20px;
}

.theme-alfa .oneclick-lead {
  display: none;
}

.theme-alfa .bank-btn {
  border-radius: 16px;
  min-height: 52px;
}

.theme-alfa .bank-btn-content {
  min-height: 52px;
  font-size: 1rem;
  font-weight: 600;
}

.theme-alfa .action-btn,
.theme-alfa .action-btn-secondary {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: var(--alfa-field);
  color: var(--text);
  font-weight: 600;
}

.theme-alfa .action-btn:hover,
.theme-alfa .action-btn-secondary:hover {
  background: var(--alfa-field-hover);
}

.theme-alfa .oneclick-modal {
  background: rgba(0, 0, 0, 0.62);
}

.theme-alfa .oneclick-dialog {
  background: #1c1c1e;
  border-top-color: #3a3a3c;
}

.theme-alfa .oneclick-field {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--alfa-field);
}

.theme-alfa .oneclick-close {
  background: rgba(255, 69, 58, 0.16);
  color: #ff453a;
}

.theme-alfa .status-icon {
  background: var(--alfa-field);
  color: var(--text);
}

.theme-alfa .status-icon-ok {
  color: #30d158;
}

.theme-alfa .status-icon-danger,
.theme-alfa .status-icon-warn {
  color: var(--accent);
}

.theme-alfa .return-btn {
  border-radius: 16px;
  background: var(--accent);
}

.theme-alfa .order-field {
  background: var(--alfa-field);
  border-color: transparent;
}

.theme-alfa #state-expired {
  text-align: center;
}

.theme-alfa #state-expired .status-icon-warn {
  background: rgba(239, 49, 36, 0.16);
  color: var(--accent);
}

.theme-alfa #state-expired .status-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.theme-alfa #state-expired .sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.theme-alfa #state-expired .order-row {
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--alfa-field);
  gap: 4px;
  text-align: left;
}

.theme-alfa #state-expired .order-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.theme-alfa #state-expired .order-field {
  padding: 0;
  border: 0;
  background: transparent;
  gap: 10px;
}

.theme-alfa #state-expired .order-value {
  font-size: 1rem;
  font-weight: 600;
}

.theme-alfa #state-expired .order-copy {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.theme-alfa #state-expired .order-copy:hover {
  color: var(--text);
  background: var(--alfa-field-hover);
}

.theme-alfa #state-expired .order-copy.copied {
  color: #ff6b61;
  background: transparent;
  border: 0;
}

body.theme-alfa .spinner {
  border-color: #3a3a3c;
  border-top-color: var(--accent);
}

body.theme-alfa .guide-modal {
  background: rgba(0, 0, 0, 0.62);
}

body.theme-alfa .guide-dialog {
  background: #1c1c1e;
  border-color: #3a3a3c;
}
