.cashout-amount {
  box-sizing: border-box; width: min(100%, 540px); margin-inline: auto;
  color: #fafafa; background: #0c0b1c url('/art/native-account/profile-bg.webp') top center / cover no-repeat;
  padding: 12px 20px max(16px, env(safe-area-inset-bottom)); border-radius: 20px; container-type: inline-size;
}
.ca-header { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.cashout-amount .ca-header h1 { grid-column: 2; margin: 0; text-align: center; font-size: 16px; font-weight: 600; letter-spacing: .025em; }
.ca-back { width: 44px; height: 44px; background: transparent; border: 0; color: #fff; font-size: 32px; line-height: 1; }
.cashout-amount .model-form, .cashout-amount .controls { display: block; margin: 0; max-width: none; width: 100%; }
.cashout-amount .controls {
  min-width: 0; border: 0; padding: 0;
}
.ca-content {
  display: flex; flex-direction: column;
  min-height: clamp(532px, calc(100svh - 245px), 700px);
}
.ca-top { display: grid; justify-items: center; gap: 32px; margin-top: 48px; }
.ca-display {
  display: flex; justify-content: center; align-items: baseline; gap: .06em; max-width: 100%;
  font-size: min(64px, calc(145cqi / (var(--ca-length, 1) + 2)));
  font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.ca-unit { font-size: .72em; color: #dedbea; }
.ca-unit.ca-points { font-size: .36em; margin-inline-start: .2em; }
.cashout-amount .ca-value { display: inline-flex; min-width: 0; }
.cashout-amount .ca-value input {
  display: block; box-sizing: content-box; max-width: 100%; min-width: 1ch; height: 1.2em; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit;
  font-variant-numeric: tabular-nums; outline-offset: 3px; text-align: center;
}
.ca-value input::placeholder { color: #dedbea; opacity: 1; }
.cashout-amount .ca-value input:focus-visible { outline: 0; box-shadow: inset 0 -2px #d5c2ff; }
.ca-available { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 6px 10px;
  background: linear-gradient(118deg, #ffffff0a, #ffffff17); border: 1px solid #ffffff35; border-radius: 6px;
  color: #f0f0f0; font-size: 13px; font-weight: 650; }
.ca-available img { width: 16px; height: 16px; object-fit: contain; }
.ca-feedback { min-height: 18px; margin: 8px 0 0; text-align: center; font-size: 13px; color: #d4c9ed; }
.ca-feedback:empty { display: none; }
.ca-note { margin: auto auto 0; max-width: 440px; padding: 12px 12px 0;
  color: #b4b2c0; text-align: center; font-size: 14px; line-height: 20px; }
.ca-note strong { color: #fff; }
.ca-note a { color: #dfdaee; text-decoration: underline; text-underline-offset: 2px; }
.ca-keypad { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 4px; }
.ca-key { min-height: 48px; border: 0; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: 25px; font-weight: 520; -webkit-tap-highlight-color: transparent; }
.ca-key:active { background: #ffffff18; }
@media (hover:hover) { .ca-key:hover { background: #ffffff0b; } }
.cashout-amount .actions { margin: auto 0 0; padding-top: 12px; display: block; }
.cashout-amount .actions .button { width: 100%; height: 56px; border: 0; border-radius: 99px; background: #fafafa; color: #16151d; }
.cashout-amount .actions .button:disabled { opacity: .4; cursor: default; }
.cashout-amount .form-status:empty { display: none; }
@media (max-width: 760px) {
  main:has(> .cashout-amount) { padding: 0 0 calc(60px + env(safe-area-inset-bottom)); }
  .cashout-amount { width: 100%; border-radius: 0; }
}
