/* Hộp thoại tài khoản & mua gói — card trắng radius 12, border nhẹ, theo mẫu modal Donut. */
#checkout { width: min(480px, calc(100vw - 32px)); margin: auto; border: 1px solid #e1e1e5; border-radius: 12px;
  max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 24px; color: var(--text); font: 14px/1.55 "Geist", sans-serif; box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); }
#checkout::backdrop { background: rgba(9,9,11,.45); backdrop-filter: blur(2px); }
.co-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 16px; }
.co-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.co-x:hover { background: var(--soft); }
.co-full { width: 100%; margin-top: 14px; height: 42px; }
.co-account { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px;
  padding: 10px 12px; background: var(--soft); border-radius: 8px; color: var(--muted); }
.co-account b { color: var(--text); font-weight: 500; word-break: break-all; }
.co-offers { display: grid; gap: 8px; margin-top: 14px; max-height: 300px; overflow: auto; }
.co-offer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-offer:hover { background: #fafafa; }
.co-offer:has(input:checked) { border-color: var(--black); background: #fafafa; }
.co-offer input { accent-color: var(--black); }
.co-offer-text { display: grid; flex: 1; } .co-offer-text small { font-size: 12px; }
.co-offer-price { font-weight: 600; }
.co-result { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 8px; }
.co-result .ok { color: var(--accent); }
.co-qr { width: 220px; height: 220px; margin: 4px auto 0; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 8px; }
.co-qr-note { text-align: center; }
.co-result p { font-size: 13px; }
.co-sub { margin-top: 18px; font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.co-order { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-order > div { flex: 1; display: grid; } .co-order small { font-size: 12px; }
.co-msg { margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 1em; }
.co-msg:empty { display: none; }
.co-msg[data-kind="error"] { color: #dc2626; }
