.credit-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 36px);margin:auto;overflow:auto;background:#101615;color:#f1f2e9;border:1px solid #d7ede142;border-radius:24px;padding:28px;font:14px DRKN,Arial,sans-serif;box-shadow:0 30px 120px #0008}.credit-dialog::backdrop{background:#030805bb;backdrop-filter:blur(7px)}
.credit-dialog *{box-sizing:border-box}.credit-heading,.credit-task-top,.credit-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.credit-heading h2{font-size:20px;font-weight:600;margin:0}.credit-close{border:1px solid #d7ede133;border-radius:100px;background:transparent;color:#f1f2e9;padding:8px 13px;cursor:pointer;font:12px DRKN,Arial,sans-serif}.credit-balance{display:flex;align-items:baseline;gap:12px;margin:30px 0 20px}.credit-balance strong{font-size:62px;font-weight:600;line-height:1;letter-spacing:-.04em;color:#adf6cb}.credit-balance span,.credit-caption{color:#929c96;font-size:12px;line-height:1.9}.credit-prices{display:flex;gap:10px;flex-wrap:wrap}.credit-prices span{border:1px solid #d7ede121;border-radius:100px;padding:7px 12px;font-size:12px}.credit-tasks h3,.credit-history h3{font-size:14px;font-weight:600;margin:28px 0 14px}.credit-task{padding:16px 0;border-top:1px solid #d7ede121}.credit-task-top strong{font-size:13px;font-weight:600}.credit-task-top span{color:#adf6cb;font-size:12px;white-space:nowrap}.credit-task p{font-size:12px;color:#929c96;line-height:1.9;margin:8px 0 0}.credit-copy{display:block;background:#adf6cb;color:#092416;border:0;border-radius:100px;min-height:42px;padding:10px 17px;font:600 12px DRKN,Arial,sans-serif;margin-top:15px;cursor:pointer}.credit-invite-url{width:100%;font:12px monospace;direction:ltr;background:#090c0c;border:1px solid #d7ede133;border-radius:10px;color:#f1f2e9;padding:13px;margin-top:12px}.credit-history-row{font-size:12px;padding:11px 0;border-bottom:1px solid #d7ede114}.credit-history-row strong{font-weight:400}.credit-history-row .positive{color:#adf6cb}.credit-notice{padding:14px;background:#e1c6910d;border:1px solid #e1c69144;border-radius:12px;font-size:13px;line-height:1.8}.credit-dialog :focus-visible{outline:2px solid #adf6cb;outline-offset:3px}
html:has(.credit-trigger:not([hidden])) .cht-top-header::after{display:none}
@media(max-width:600px){.credit-dialog{padding:23px;max-height:calc(100dvh - 28px);border-radius:20px}.credit-balance strong{font-size:54px}}
.credit-reward-toast{box-sizing:border-box;position:fixed;bottom:24px;left:245px;z-index:120;width:350px;max-width:calc(100vw - 32px);display:flex;align-items:flex-start;gap:15px;background:#111a16f7;color:#f1f2e9;border:1px solid #d7ede12c;border-radius:20px;padding:22px;box-shadow:0 15px 65px #0005;font:13px DRKN,Arial,sans-serif;animation:credit-reward-enter .35s ease-out}.credit-reward-icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:50%;border:1px solid #adf6cb44;background:#adf6cb08;color:#adf6cb}.credit-reward-icon svg{width:22px;height:22px}.credit-reward-copy{min-width:0;padding-top:3px}.credit-reward-copy strong{font-size:15px;font-weight:600;display:block;line-height:1.7}.credit-reward-copy p{font-size:12px;color:#929c96;margin:8px 0;line-height:1.8}.credit-reward-copy>span{font-size:11px;color:#adf6cb}.credit-reward-close{position:absolute;top:9px;right:9px;display:grid;place-items:center;min-width:28px;min-height:28px;border:0;border-radius:50%;background:#d7ede108;color:#929c96;cursor:pointer}.credit-reward-close svg{width:16px;height:16px}@keyframes credit-reward-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.credit-reward-toast{left:16px;right:16px;width:auto;bottom:max(18px,env(safe-area-inset-bottom));padding:20px 18px;gap:12px}}@media(prefers-reduced-motion:reduce){.credit-reward-toast{animation:none}.user-credit-ring-fill{transition:none}}
@media(min-width:701px){.credit-reward-toast{left:min(360px,calc(100vw - 370px))}}
.credit-reward-toast{align-items:center;padding:19px 21px;border-radius:16px;animation:none;transition:none}.credit-reward-copy strong{font-size:14px}.credit-reward-copy p{margin:6px 0 0;font-size:12px}.credit-reward-icon{width:36px;height:36px}.credit-reward-close{top:7px;right:7px;min-height:26px;min-width:26px}
.credit-reward-close{right:auto;inset-inline-end:7px;width:30px;height:30px}.credit-reward-copy{padding-inline-end:15px}@media(max-width:700px){.credit-reward-close{width:40px;height:40px;top:2px;inset-inline-end:2px}}
