.gifts-dialog { width:min(440px,calc(100% - 28px)); max-height:calc(100dvh - 32px); position:fixed; margin:auto; padding:28px; overflow:auto; border:1px solid #ffffff15; border-radius:var(--r-xl); background:var(--surface); color:var(--text); box-shadow:0 24px 90px #0009; }
.gifts-dialog::backdrop { background:#000b; backdrop-filter:blur(5px); }
.gifts-close { position:absolute; top:12px; right:12px; width:36px; height:36px; font-size:27px; color:var(--muted); }
.gifts-label { display:block; margin-bottom:12px; color:var(--green); font-size:10px; letter-spacing:1.8px; }
.gifts-dialog h2 { padding-right:14px; font-size:24px; line-height:1.2; letter-spacing:-.5px; }
.gifts-description { margin:16px 0; font-size:13px; color:var(--muted); }
.gifts-note { padding:14px; background:var(--green-soft); border:1px solid #b2f0ce20; border-radius:14px; color:var(--muted); font-size:12px; }
.gifts-balance { margin:18px 0 12px; font-size:13px; }
.gifts-plans { display:grid; gap:8px; }.gifts-plans button,.gifts-history-row { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:52px; padding:14px; background:var(--bg); border:1px solid var(--line); border-radius:14px; font-size:14px; text-align:left; }
.gifts-plans span { color:var(--green); }.gifts-plans b { font-weight:500; }
.gifts-primary { width:100%; min-height:48px; justify-content:center; margin-top:18px; font-size:13px; }
.gifts-secondary { display:block; width:100%; min-height:44px; margin-top:6px; color:var(--muted); font-size:12px; text-align:center; }
.gifts-price { font-size:42px; color:var(--green); font-weight:600; margin:18px 0; }
.gifts-link { width:100%; min-height:48px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--bg); color:var(--text); font-size:12px; margin-bottom:14px; }
.gifts-error { margin-top:10px; color:#ffb8b8; font-size:12px; }.gifts-error:empty { display:none; }
.gifts-history-row { display:grid; gap:5px; margin-top:8px; }.gifts-history-row span { font-size:12px; color:var(--muted); }
.gifts-dialog[aria-busy="true"] .gifts-content { opacity:.65; }.gifts-dialog button:disabled { cursor:wait; }
@media (max-width:360px) { .gifts-dialog { padding:24px 20px; }.gifts-dialog h2 { font-size:22px; } }
