.checkout { position: fixed; inset: 0 0 0 auto; width: min(100%, 480px); max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: -16px 0 56px #0008; } .checkout[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; } .checkout::backdrop { background: #060c14b3; } .checkout-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); } .checkout-head h2 { margin: 0; font-size: 24px; } .checkout-close { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #1a2530; font-size: 24px; line-height: 1; } .checkout-close:hover:not(:disabled) { background: var(--surface-raised); } .checkout-body { overflow: auto; } .checkout-empty { margin: 18px 20px; color: var(--muted); } .checkout-list { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); } .checkout-item { display: grid; grid-template-columns: min(85px, 20%) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 20px; background: var(--surface); } .checkout-art { display: grid; place-items: center; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 4px; background: #304553; } .checkout-art img { width: 100%; height: 100%; object-fit: cover; } .checkout-item-copy { display: grid; gap: 3px; overflow-wrap: anywhere; } .checkout-item-status { color: #ffc5b5; font-size: 13px; } .checkout-item-actions { display: grid; gap: 4px; justify-items: end; color: var(--gold); white-space: nowrap; } .checkout-remove { padding: 1px 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; } .checkout-remove:hover:not(:disabled) { color: var(--text); text-decoration: underline; } .checkout-footer { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #16242d; } .checkout-footer .notice { margin: 0 0 12px; } .checkout-total, .checkout-balance { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; } .checkout-total strong { color: var(--gold); font-size: 25px; } .checkout-balance { margin: 4px 0 13px; color: var(--muted); font-size: 13px; } .checkout-hint { margin: 6px 0 12px; color: #ffd5b3; font-size: 13px; } .checkout-footer button { display: block; width: 100%; } .checkout-footer #payFree { margin-top: 8px; }