/* Add credit: page layout only. Components come from felt.css. */

.till {
  position: relative; isolation: isolate; overflow: clip;
  padding: 30px clamp(18px, 4vw, 56px) 90px;
  background: radial-gradient(55% 50% at 80% 30%, rgba(246, 181, 68, .12), transparent 70%), radial-gradient(70% 55% at 22% 8%, #3a2654 0%, transparent 70%), var(--night);
  min-height: calc(100svh - 120px);
}
.till::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: var(--grain); background-size: 180px; mix-blend-mode: overlay; opacity: .2; }
.scenery { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hang-star { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; }
.hang-star .thread-line { height: var(--len); background: rgba(251, 241, 225, .3); }
.hang-star svg { width: 30px; height: 30px; margin-top: -2px; }
.hang-star.s1 { left: 4%; } .hang-star.s2 { right: 5%; }

.till-wrap { position: relative; z-index: 2; max-width: 760px; }
.till .title { font-size: clamp(56px, 6vw, 92px); margin-bottom: 8px; }
.till .title:focus { outline: none; }
.balance { min-height: 1.5em; margin: 0 0 18px; font-weight: 700; }
.balance b { font: 400 34px/1 var(--display); color: var(--amber); margin-right: 2px; }
#mode-banner:not(:empty) { margin: 0 0 20px; }

.step { margin-top: 10px; padding: 26px 28px 24px; }
.step-title { margin: 0 0 14px; font: 400 40px/1 var(--display); color: var(--cream); }
.step-title:focus { outline: none; }
.step p { margin: 0 0 14px; }
.step .ts-box:empty { display: none; }
.step .ts-box { margin: 10px 0 0; }
#key-made b { color: var(--amber); }
#key-made .copy-status, #need-key .copy-status { margin: 10px 0 0; }
.step .choices { margin-bottom: 16px; }
.amounts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice.amount b { font: 400 30px/1 var(--display); color: var(--amber); }
.other-input { display: block; margin-top: 6px; }
.other-input input { width: 100%; }
.choice[hidden] { display: none; }

.send-amount { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.send-amount code { font: 700 clamp(30px, 4vw, 42px)/1.1 var(--mono); color: #fff3d6; }
.send-amount > span { font: 400 30px/1 var(--display); color: var(--amber); }
.step .copy-line { margin: 0 0 16px; }
.step .copy-line code { font-size: 15px; word-break: break-all; }
.step .banner { margin: 0 0 14px; }

.keyline { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 14px 12px 18px; border-radius: 14px 16px 12px 15px; background: var(--night-deep); }
.keyval { font: 700 16px/1.5 var(--mono); color: #fff3d6; min-width: 0; flex: 1 1 260px; background: transparent; border: 0; }
.keyval:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 6px; }
.paste-form, .claim { margin-top: 18px; }
.paste-form .field-label, .claim .field-label { display: block; margin-bottom: 8px; font-weight: 800; }

.key-status { min-height: 1.5em; margin: 16px 0 0; font-weight: 800; color: var(--amber); }
#pay-banner:not(:empty) { margin-top: 10px; }
.page-topup .footbar { margin-top: 0; }

@media (max-width: 899px) {
  .till { padding-top: 20px; }
  .till .title { font-size: 50px; }
  .step { padding: 22px 18px 20px; }
  .step-title { font-size: 34px; }
}
