html[data-checkout], html[data-checkout] body, #app:fullscreen {
  min-height: 100%;
  margin: 0;
  background: #eef3f7;
  color: #172b40;
  color-scheme: light;
}
html[data-checkout] body::before, html[data-checkout] body::after,
html[data-checkout] #toasts, html[data-checkout] #celebration {
  display: none;
}
#app:fullscreen { overflow: auto; }
.payment-screen {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100% - 32px, 560px);
  min-height: 100svh;
  padding: clamp(20px, 4.5vh, 48px) 0;
  margin-inline: auto;
  color: #172b40;
  background: #eef3f7;
  font: 1rem/1.45 system-ui, sans-serif;
}
.payment-screen *, .payment-screen *::before, .payment-screen *::after { box-sizing: inherit; }
.payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px;
}
.payment-header h1 {
  margin: 0;
  color: #142d44;
  font-size: clamp(1.35rem, 4.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.payment-header select {
  width: auto;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #b6c7d4;
  border-radius: 7px;
  background: #fff;
  color: #20384f;
  font: inherit;
  font-size: .85rem;
}
.payment-body {
  border: 1px solid #ccdbe5;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgb(34 65 95 / 7%);
}
.payment-code {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 14px;
  border-bottom: 1px solid #e1e9ef;
}
.payment-code img { display: block; width: min(236px, 100%); height: auto; }
.payment-amount { display: grid; justify-items: center; color: #4b6175; font-size: .85rem; }
.payment-amount strong { color: #142d44; font-size: clamp(1.7rem, 8vw, 2.5rem); font-weight: 720; }
.payment-timer {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: #edf6ff;
  color: #22547f;
  font-size: .84rem;
}
.payment-timer strong { font-variant-numeric: tabular-nums; }
.payment-details { margin: 0; padding: 4px 18px; }
.payment-details div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 12px 0;
  align-items: start;
}
.payment-details div + div { border-top: 1px solid #e1e9ef; }
.payment-details dt { color: #4b6175; font-size: .9rem; }
.payment-details dd { margin: 0; text-align: right; font-weight: 620; overflow-wrap: anywhere; }
.payment-status { margin: 0; padding: 32px 20px; text-align: center; color: #263b50; }
.payment-screen footer { margin-top: 16px; }
.payment-back {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid #245b88;
  border-radius: 8px;
  background: #245b88;
  color: #fff;
  font-weight: 620;
  text-decoration: none;
}
.payment-back:hover { background: #19466b; color: #fff; }
.payment-screen :focus-visible { outline: 2px solid #2677ae; outline-offset: 3px; }
.payment-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
