.hg-referral{color:#1f2120;gap:16px;min-width:0;max-width:720px;margin:0 auto;display:grid}.hg-referral,.hg-referral *{box-sizing:border-box}.hg-referral h1,.hg-referral h2,.hg-referral p{margin:0}.hg-promoter{min-width:0;max-width:1100px;padding:16px}.hg-promoter fieldset{border:0;gap:12px;width:100%;padding:0;display:grid}.hg-promoter__scroll{max-width:100%;overflow-x:auto}.hg-promoter table{border-collapse:collapse;width:100%;min-width:660px}.hg-promoter th,.hg-promoter td{text-align:left;border-bottom:1px solid #1f21201f;padding:12px}.hg-promoter td{font-variant-numeric:tabular-nums}.hg-referral__head h1{letter-spacing:-.02em;font-size:28px;font-weight:700;line-height:1.25}.hg-referral__head p,.hg-referral__label,.hg-referral__rules,.hg-referral__muted,.hg-referral__meta,.hg-referral__codeline{color:#6e656d}.hg-referral__rules,.hg-referral__meta,.hg-referral__codeline{font-size:13px;line-height:1.6}.hg-referral__rules,.hg-referral__meta{text-align:center}.hg-referral__card{background:#ffffffb8;border:1px solid #1f212014;border-radius:20px;padding:20px 22px;box-shadow:inset 0 1px #ffffffb3,0 18px 40px -24px #36393859}.hg-referral__invite{gap:16px;display:grid}.hg-referral__record-head,.hg-referral__linkrow,.hg-referral__task-main{align-items:center;gap:12px;display:flex}.hg-referral__record-head,.hg-referral__linkrow{justify-content:space-between}.hg-referral__stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.hg-referral__stats div{text-align:center;background:#efe9ed;border-radius:16px;min-width:0;padding:14px 8px}.hg-referral__stats strong{color:#e0664a;letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:700;display:block}.hg-referral__stats span,.hg-referral__ledger span{color:#6e656d;font-size:13px}.hg-referral__stats span{margin-top:4px;display:block}.hg-referral__well{background:#1f21200a;border-radius:16px;padding:14px 16px}.hg-referral__linkrow{margin-top:8px}.hg-referral__linkrow a,.hg-referral__linkrow>span{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:15px;font-weight:600;text-decoration:none;overflow:hidden}.hg-referral__codeline span{color:#1f2120;letter-spacing:.06em;font-weight:650}.hg-referral h2{font-size:16px;font-weight:650}.hg-referral__actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.hg-referral__actions>.hg-referral__btn{flex:8rem;justify-content:center}.hg-referral button.hg-referral__textbtn{color:#6e656d;height:auto;font:inherit;text-underline-offset:3px;cursor:pointer;background-color:#0000;border:0;padding:0;font-size:13px;text-decoration:underline}.hg-referral__form{justify-items:start;gap:12px;display:grid}.hg-referral__form label,.hg-referral__form input{width:100%}.hg-referral label{color:#6e656d;gap:6px;font-size:13px;display:grid}.hg-referral input,.hg-referral select{color:#1f2120;width:100%;height:44px;font:inherit;background:#ffffffdb;border:1px solid #1f21201f;border-radius:12px;padding:0 14px}.hg-referral button.hg-referral__btn{color:#f5f2f4;height:40px;font:inherit;white-space:nowrap;cursor:pointer;background-color:#1f2120;border:0;border-radius:20px;align-items:center;gap:8px;padding:0 16px;font-weight:600;display:inline-flex}.hg-referral button.hg-referral__btn svg{color:currentColor;stroke:currentColor;flex:none}.hg-referral button.hg-referral__btn--ghost{color:#1f2120;background-color:#efe9ed}.hg-referral button.hg-referral__btn:disabled{opacity:.45;cursor:not-allowed}.hg-referral__task{border-top:1px solid #1f212014;gap:8px;margin-top:14px;padding-top:14px;display:grid}.hg-referral__task-main>span:first-child{font-variant-numeric:tabular-nums;font-weight:650}.hg-referral__task-main>span:nth-child(2){color:#e0664a;font-weight:650}.hg-referral__task-main .hg-referral__btn{height:32px;margin-left:auto;padding:0 14px;font-size:13px}.hg-referral__bar{background:#efe9ed;border-radius:999px;height:6px;display:block;overflow:hidden}.hg-referral__bar span{border-radius:inherit;background:#e0664a;height:100%;display:block}.hg-referral__record-head{margin-bottom:4px}.hg-referral__record-head select{background:#efe9ed;border:0;border-radius:18px;width:auto;min-width:9rem;height:36px}.hg-referral__ledger{gap:8px;display:grid}.hg-referral__ledger li{overflow-wrap:anywhere;border-top:1px solid #1f21200f;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding-top:8px;display:grid}body:has(.hg-referral__dialog[open]){overflow:hidden}.hg-referral__dialog{width:min(28rem,100% - 1.5rem);max-height:calc(100dvh - 2rem - var(--top-safe-area-inset,env(safe-area-inset-top,0px)) - env(safe-area-inset-bottom,0px));color:#1f2120;background:#f5f2f4;border:1px solid #1f212014;border-radius:20px;margin:auto;padding:20px;overflow:auto;box-shadow:0 24px 60px -24px #16181773}.hg-referral__dialog::backdrop{background:#16181773}.hg-referral__dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.hg-referral__dialog-head h2:focus{outline:none}.hg-referral button.hg-referral__dialog-close{width:36px;height:36px;padding:0;font-size:20px;line-height:1}.hg-referral__dialog .hg-referral__form>.hg-referral__btn{justify-content:center;width:100%}.hg-referral__dialog .hg-referral__rules{text-align:start}.hg-referral__alert{color:#9a3412;background:#e0664a1f;border-radius:12px;padding:12px 14px;font-weight:600}@media (max-width:768px){.w1-header--titled~.w1-main .hg-referral__head h1{display:none}.hg-referral{box-sizing:border-box;gap:12px;padding-left:16px;padding-right:16px}.hg-referral__head p{font-size:14px;line-height:1.5}.hg-referral__card{border-radius:16px;padding:16px}.hg-referral__stats{gap:6px}.hg-referral__stats div{border-radius:12px;padding:10px 4px}.hg-referral__stats strong{font-size:clamp(16px,5.2vw,22px)}.hg-referral__stats span{overflow-wrap:anywhere;font-size:11px;line-height:1.3}.hg-referral__meta,.hg-referral__rules,.hg-referral__codeline{text-align:start;overflow-wrap:anywhere}.hg-referral__linkrow{flex-direction:column;align-items:stretch}.hg-referral__linkrow a,.hg-referral__linkrow>span{white-space:normal;overflow-wrap:anywhere;font-size:14px}.hg-referral__linkrow>.hg-referral__btn,.hg-referral__form>.hg-referral__btn,.hg-referral__card>.hg-referral__btn{justify-content:center;width:100%}.hg-referral__task-main{flex-wrap:wrap}.hg-referral__task-main .hg-referral__btn{height:40px}.hg-referral__record-head{flex-wrap:wrap}.hg-referral__record-head select{max-width:100%}.hg-referral input,.hg-referral select{font-size:16px}.hg-referral__ledger li{grid-template-columns:1fr auto}.hg-referral__ledger li span:first-child{grid-column:1/-1}.hg-referral__dialog{width:100%;max-height:calc(100dvh - 12px - var(--top-safe-area-inset,env(safe-area-inset-top,0px)));padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;margin:auto 0 0}}html[data-theme=dark] .hg-referral,html[data-theme=dark] .hg-referral input,html[data-theme=dark] .hg-referral select{color:#f4eff2}html[data-theme=dark] .hg-referral__head p,html[data-theme=dark] .hg-referral__label,html[data-theme=dark] .hg-referral__rules,html[data-theme=dark] .hg-referral__muted,html[data-theme=dark] .hg-referral__status,html[data-theme=dark] .hg-referral__meta,html[data-theme=dark] .hg-referral__codeline,html[data-theme=dark] .hg-referral__stats span,html[data-theme=dark] .hg-referral__ledger span,html[data-theme=dark] .hg-referral label{color:#a59aa3}html[data-theme=dark] .hg-referral__card{background:#14161585;border-color:#ffffff1a;box-shadow:inset 0 1px #ffffff24,0 18px 40px -24px #00000073}html[data-theme=dark] .hg-referral input,html[data-theme=dark] .hg-referral select{background:#161817cc;border-color:#ffffff1f}html[data-theme=dark] .hg-referral button.hg-referral__btn{color:#161817;background-color:#f4eff2}html[data-theme=dark] .hg-referral button.hg-referral__btn--ghost{color:#f4eff2;background-color:#2e3130}html[data-theme=dark] .hg-referral__stats div,html[data-theme=dark] .hg-referral__well,html[data-theme=dark] .hg-referral__bar{background:#2e3130}html[data-theme=dark] .hg-referral__codeline span{color:#f4eff2}html[data-theme=dark] .hg-referral__task,html[data-theme=dark] .hg-referral__ledger li{border-top-color:#ffffff14}html[data-theme=dark] .hg-referral__record-head select{background:#2e3130}html[data-theme=dark] .hg-referral__dialog{color:#f4eff2;background:#161817;border-color:#ffffff1a}html[data-theme=dark] .hg-referral button.hg-referral__textbtn{color:#a59aa3}html[data-theme=dark] .hg-referral__alert{color:#ffd0c2}
