@font-face{font-family:Montserrat;font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/montserrat-reference-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Montserrat;font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/montserrat-reference-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.referrals-page{max-width:1425px;padding:30px 30px 40px;font-family:var(--font-body);--font-body:"Montserrat",system-ui,sans-serif;--font-display:"Tektur","Exo 2",system-ui,sans-serif;font-size:14px;line-height:1.65}.ref-shell{min-width:0;--r-2:6px;--r-3:6px;--r-4:6px;--r-btn:6px;--r-ctl:6px}.referrals-page .btn{font-family:var(--font-body);text-transform:none;letter-spacing:0}.ref-header{margin-bottom:24px}.ref-header h1{display:flex;align-items:center;gap:10px;color:var(--accent);font:700 30px/1.2 var(--font-body);letter-spacing:-.03em}.ref-header h1 .icon{width:27px;height:27px}.ref-affiliate-layout{display:grid;grid-template-columns:420px minmax(0,1fr);align-items:stretch;gap:16px}.ref-account-panel,.ref-workspace{min-width:0;border:1px solid var(--line);background:var(--bg-1);border-radius:6px}.ref-account-panel{padding:24px}.ref-account-head{display:flex;align-items:center;gap:12px;min-height:40px}.ref-account-head h2{font:700 20px/1.35 var(--font-body);color:var(--text);letter-spacing:-.02em}.ref-account-head .btn{flex:none;min-height:44px;height:auto;margin-left:auto;padding:10px 14px;font:700 12px/18px var(--font-body);border-radius:6px;gap:6px}.ref-account-head .icon{width:20px;height:20px}.ref-invite-code{position:relative;display:flex;align-items:center;gap:12px;min-height:94px;margin:20px 0 16px;padding:12px 16px 12px 104px;border:1px solid var(--line);border-radius:6px;background:linear-gradient(223.33deg,var(--bg-3) 9.79%,var(--bg-2) 70.69%,var(--accent-soft) 109.42%)}.ref-invite-logo{position:absolute;left:24px;top:50%;translate:0 -50%;width:56px;height:56px;object-fit:contain;pointer-events:none;user-select:none}.ref-invite-code>div{flex:1;min-width:0;text-align:left}.ref-invite-code div>span{display:block;color:var(--text-2);font:500 12px/18px var(--font-body)}.ref-invite-code strong{display:block;color:var(--accent);font:700 var(--ref-code-font,21px)/1.4 var(--font-body);text-transform:uppercase;overflow-wrap:anywhere;user-select:all}.ref-invite-code .btn-icon{flex:none;width:38px;height:38px;background:transparent;border:1px solid var(--line-strong);border-radius:6px;color:var(--text-3)}.ref-invite-code .btn-icon .icon{width:20px;height:20px}.ref-account-rows{display:flex;flex-direction:column;gap:6px}.ref-account-row{display:grid;grid-template-columns:minmax(0,55fr) minmax(0,52fr);align-items:center;min-height:60px;border-radius:6px;background:var(--bg-2);container-type:inline-size}.ref-account-row>span{min-width:0;padding:0 8px 0 20px;color:var(--text-2);font:500 13px/20px var(--font-body)}.ref-account-row>div,.ref-account-row>strong{min-width:0;padding-right:16px}.ref-account-row strong{font:600 14px/21px var(--font-body);overflow-wrap:anywhere}.ref-account-row small{display:block;margin-top:5px;color:var(--text-2);font:400 11px/17px var(--font-body)}.ref-account-row:has(.ref-tier)>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding-block:8px}.ref-account-row:has(.ref-tier) small{margin-top:0}.ref-account-row .ref-tier{display:flex;align-items:center;gap:5px;color:var(--accent);font-weight:700}.ref-tier .icon{width:16px;height:16px}.ref-tier-label{min-width:0}.ref-tier.is-custom{align-items:flex-start}.ref-tier.is-custom .icon{flex:none;margin-top:2px}.ref-account-row .ref-account-money{font-family:var(--font-display);font-size:clamp(11px,calc((48cqi - 16px) / var(--ref-value-em)),15px)}.ref-account-row .money-amount{max-width:100%}.ref-money-lime{color:var(--money)}.ref-progress-row{align-items:baseline;padding:10px 0}.ref-progress-row strong{display:block;font:600 13px/20px var(--font-display)}.ref-progress-row small{margin-top:1px}.ref-progress-row .ref-level-track{margin-top:6px}.ref-level-track{height:3px;margin-top:8px;overflow:hidden;border-radius:4px;background:var(--bg-0)}.ref-level-track>span{display:block;height:100%;background:var(--accent)}.ref-claim.btn{width:100%;height:46px;margin-top:20px;border-radius:6px;font:700 13px/20px var(--font-body);text-transform:none;gap:6px}.ref-claim.btn:disabled{background:color-mix(in srgb,var(--accent) 65%,var(--bg-1));color:var(--action-ink);opacity:1}.ref-copy-status:empty{display:none}.ref-copy-status{display:block;font-size:11px;line-height:16px;margin-top:8px}.ref-promo{margin:0 0 16px;scroll-margin-top:calc(var(--topbar-h) + 24px)}.ref-buy{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:6px;background:var(--bg-2)}.ref-code-input{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}.ref-code-input label{color:var(--text-2);font-size:12px}.ref-code-input .input{height:44px;font-size:16px}.ref-code-input .caption{font-size:11px}.ref-buy .btn{width:100%;min-height:44px}.referrals-page .form-error:empty{display:none}.referrals-page .form-error{margin-top:12px}.ref-workspace{display:flex;flex-direction:column;padding:24px}#referral-users-body{flex:1;display:flex;flex-direction:column;min-width:0}.ref-users-table-wrap{flex:1;min-width:0;display:flex;flex-direction:column}.ref-users-table{table-layout:auto;border-collapse:separate;border-spacing:0;font-size:13px}.ref-users-table th{height:48px;padding:0 16px;color:var(--text-2);background:var(--bg-2);text-align:left;font-weight:600;line-height:20px}.ref-users-table th:first-child{border-radius:6px 0 0 6px;width:120px}.ref-users-table th:nth-child(2){width:180px}.ref-users-table th:nth-child(3){width:165px}.ref-users-table th:last-child{border-radius:0 6px 6px 0;width:165px}.ref-users-table td{height:52px;padding:12px 16px;vertical-align:middle;color:var(--text);line-height:20px;overflow-wrap:anywhere}.ref-users-table tr+tr td{border-top:1px solid var(--line)}.ref-user-id{display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 12px/17px var(--font-body);user-select:all}.ref-users-table td small{display:block;margin-top:4px;color:var(--text-2);font-size:11px;line-height:17px}.referrals-page :is(.ref-users-table,.ref-levels-table) .money-amount{font-family:var(--font-display);font-weight:600}.ref-users-empty{flex:1;display:flex;justify-content:center;align-items:center;min-height:200px;margin-top:12px;padding:20px;border:1px solid var(--line);border-radius:6px;background:var(--bg-1);text-align:center;color:var(--text-2);font:400 14px/1.65 var(--font-body)}.ref-users-empty .btn{min-height:44px;margin-top:14px;padding:10px 16px;border:1px solid var(--line-strong);background:var(--bg-2);color:var(--text);font:600 13px/20px var(--font-body)}.ref-users-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:16px;color:var(--text-3);font-size:12px}.ref-users-pager>div{display:flex;gap:6px}.ref-users-pager .btn{width:36px;height:36px}.ref-details{margin-top:24px;padding:24px;border:1px solid var(--line);border-radius:6px;background:var(--bg-1)}.ref-details-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.ref-tabs{display:flex;align-items:center;gap:8px}.ref-tabs button{display:flex;align-items:center;gap:6px;min-height:44px;padding:10px 14px;border:1px solid transparent;border-radius:6px;color:var(--text-2);font:600 13px/20px var(--font-body)}.ref-tabs button:hover{color:var(--text)}.ref-tabs button[aria-selected=true]{border-color:var(--accent-20);background:var(--accent-soft);color:var(--accent)}.ref-tabs .icon{width:16px;height:16px}.ref-tab-panel{min-width:0;outline-offset:4px}.ref-content-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.ref-content-head h2{font:700 20px/1.3 var(--font-body)}.ref-content-head p{margin-top:6px;color:var(--text-2);font-size:13px;line-height:1.5}.ref-share-link{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:6px;background:var(--bg-2)}.ref-share-link>div{min-width:0;flex:1}.ref-share-link div>span{display:block;margin-bottom:6px;color:var(--text-2);font-size:12px;line-height:18px}.ref-share-link strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-size:14px;font-weight:500;user-select:all}.ref-share-link .btn{flex:none;width:40px;height:40px;background:transparent}.ref-friend-bonus{margin-top:16px;color:var(--text-2);font-size:13px;line-height:1.5}.ref-friend-bonus b{color:var(--accent)}.ref-levels{margin-top:28px}.ref-levels-table{width:100%;border-collapse:separate;border-spacing:0 4px;text-align:left;font-size:13px}.ref-levels-table thead th{padding:8px 14px;color:var(--text-3);font-size:11px;font-weight:600}.ref-levels-table th:last-child,.ref-levels-table td[data-label=Пополнения]{text-align:left}.ref-levels-table tbody th,.ref-levels-table td{padding:14px;background:var(--bg-2);font-weight:500}.ref-levels-table tbody th{border-radius:6px 0 0 6px}.ref-levels-table td:last-child{border-radius:0 6px 6px 0}.ref-levels-table strong{color:var(--accent);font-weight:700}.ref-levels-table tr.is-current th,.ref-levels-table tr.is-current td{background:var(--accent-soft)}.ref-levels-table .money-amount{white-space:nowrap}.ref-levels-table .ref-custom-label{display:inline-block}.ref-levels-table .ref-custom-terms{color:var(--text-2);font-size:12px}.ref-level-threshold{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}.ref-test-note{margin-top:16px}.ref-faq{display:flex;flex-direction:column;gap:8px}.ref-faq details{padding:0 17px;border:1px solid var(--line);border-radius:8px;background:var(--bg-1)}.ref-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:14px 0;cursor:pointer;font-size:13px;line-height:20px;font-weight:600;list-style:none}.ref-faq summary::-webkit-details-marker{display:none}.ref-faq summary>span:first-child{min-width:0}.ref-faq-chevron{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:none;border-radius:6px;background:var(--accent-soft)}.ref-faq summary .icon{flex:none;width:14px;height:14px;color:var(--accent);transition:transform var(--dur-1)}.ref-faq details[open] summary .icon{transform:rotate(180deg)}.ref-faq details[open] summary{color:var(--accent)}.ref-faq p{max-width:800px;padding-bottom:17px;color:var(--text-2);font-size:13px;line-height:1.75}.referrals-page .state{padding:48px 16px}.referrals-page .state h3{font-family:var(--font-body)}.modal-referral-code-change{width:min(440px,calc(100vw - 24px));border-radius:6px;corner-shape:round}.modal-referral-code-change .modal-head{padding:20px 24px 16px}.modal-referral-code-change .modal-body{padding:8px 24px 24px}.modal-referral-code-change .ref-change-form{gap:16px}.modal-referral-code-change .ref-change-form>p{font:400 13px/1.5 var(--font-body)}.modal-referral-code-change .ref-change-form .input{border-radius:6px}.modal-referral-code-change .ref-change-form .form-error:empty{display:none}.modal-referral-code-change .ref-change-buttons{display:flex;justify-content:flex-end;gap:8px}.modal-referral-code-change .ref-change-buttons .btn{height:40px;border-radius:6px;font:700 13px/1.3 var(--font-body)}@media(max-width:1800px){.ref-users-table{font-size:12px}.ref-users-table th{height:48px}}@media(max-width:1200px){.referrals-page{padding-top:25px}.ref-affiliate-layout{grid-template-columns:minmax(0,1fr);gap:20px}.ref-account-panel{width:100%}.ref-users-empty{min-height:320px}}@media(max-width:900px){.referrals-page{padding:20px 20px 40px}}@media(max-width:599px){.referrals-page .ref-account-row .ref-tier.is-custom{display:block;font-size:13px;line-height:1.45;overflow-wrap:normal}.referrals-page .ref-tier.is-custom .icon{margin:0 4px 0 0;vertical-align:-2px}.ref-levels-table,.ref-levels-table tbody{display:block}.ref-levels-table thead{display:none}.ref-levels-table tr{display:grid;grid-template-columns:1fr 1fr;margin-bottom:8px;overflow:hidden;border-radius:6px;background:var(--bg-2)}.ref-levels-table tr.is-current{background:var(--accent-soft)}.ref-levels-table tbody th,.ref-levels-table td{min-width:0;padding:10px 12px;border-radius:0!important;background:transparent!important;font-size:12px}.ref-levels-table td:nth-child(2){text-align:right}.ref-levels-table td:nth-child(3),.ref-levels-table td:last-child{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:0}.ref-levels-table td:nth-child(3):before,.ref-levels-table td:last-child:before{content:attr(data-label);color:var(--text-3);font-size:11px}.ref-levels-table tr.is-custom .ref-custom-terms{justify-content:flex-start}.ref-levels-table .ref-custom-terms:before{display:none}.referrals-page{padding:15px 15px 40px}.ref-header h1{font-size:26px;line-height:32px}.ref-header h1 .icon{width:24px;height:24px}.ref-account-panel,.ref-workspace{padding:20px}.ref-account-head{gap:8px}.ref-account-head h2{font-size:20px;line-height:27px}.ref-account-head .btn{font-size:11px;padding:0 12px}.ref-account-head .icon{width:16px;height:16px}.ref-invite-code{min-height:70px;padding-left:50px;padding-right:14px}.ref-invite-logo{left:11px;width:28px;height:28px}.ref-invite-code strong{font-size:18px;line-height:22px}.ref-invite-code div>span{font-size:11px;line-height:14px}.ref-invite-code .btn{width:38px;height:38px}.ref-account-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:52px}.ref-account-row>span{padding-left:15px;padding-right:10px;font-size:12px;line-height:18px}.ref-account-row>div,.ref-account-row>strong{padding-right:10px}.ref-account-row strong{font-size:12px;line-height:17px}.ref-account-row .ref-account-money{font-size:clamp(10px,calc((50cqi - 10px) / var(--ref-value-em)),12px)}.ref-progress-row strong{font-size:10px;line-height:14px}.ref-account-row .ref-tier{gap:4px}.ref-tier .icon{width:14px;height:14px}.ref-claim.btn{height:46px;font-size:13px;line-height:20px}.ref-users-table thead{display:none}.ref-users-table tbody{display:flex;flex-direction:column;gap:8px}.ref-users-table tr{display:block;padding:10px 12px;border-radius:6px;background:var(--bg-2)}.ref-users-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;height:auto;padding:8px 0;font-size:12px;border:0}.ref-users-table tr+tr td{border:0}.ref-users-table td:before{content:attr(data-label);color:var(--text-3);font-size:11px;flex:none}.ref-users-table td>.ref-user-id{max-width:58%}.ref-users-table td small{display:none}.ref-binding-cell{text-align:right}.ref-users-table .ref-binding-cell small{display:block}.ref-users-empty{min-height:280px;margin-top:0}.ref-details{padding:20px 16px}.ref-details-head{gap:8px;margin-bottom:18px;flex-wrap:wrap}.ref-tabs{gap:8px}.ref-tabs button{min-width:0;gap:6px;padding-inline:12px;font-size:12px}.ref-tabs .icon{width:14px;height:14px}.ref-content-head h2{font-size:18px}.ref-content-head p{font-size:12px}.ref-share-link{padding:14px;gap:10px}.ref-share-link strong,.ref-friend-bonus{font-size:12px}.ref-faq details{padding:0 14px}.ref-faq summary{min-height:56px;font-size:13px;gap:10px}.ref-faq p{font-size:13px}.modal-referral-code-change .modal-head{padding:16px 18px}.modal-referral-code-change .modal-head h2{font-size:20px}.modal-referral-code-change .modal-body{padding:8px 18px 20px}.modal-referral-code-change .ref-change-buttons .btn{flex:1}}@media(max-width:380px){.ref-account-head h2{font-size:20px}}@media(prefers-reduced-motion:reduce){.ref-tabs button,.ref-faq summary .icon{transition:none}}.ref-metrics{margin:24px 0;padding:24px;border:1px solid var(--line);border-radius:6px;background:var(--bg-2)}.ref-metrics .ref-content-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.ref-metrics-period{flex:none;padding:8px 12px;border-radius:5px;background:var(--bg-3);color:var(--text-2);font-size:12px}.ref-metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ref-metric-group{min-width:0;background:var(--bg-1);padding:18px;border-radius:6px}.ref-metric-group h3{margin:0 0 12px;font-size:16px}.ref-metric-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line)}.ref-metric-row>div{min-width:0}.ref-metric-row span{font-size:13px;line-height:1.45}.ref-metric-row small{display:block;color:var(--text-3);font-size:11px;line-height:1.5;margin-top:3px}.ref-metric-row>strong{flex:none;font-size:14px;font-variant-numeric:tabular-nums}@media(max-width:1400px){.ref-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-metric-group:last-child{grid-column:1/-1}}@media(max-width:700px){.ref-metrics{padding:16px}.ref-metrics-grid{grid-template-columns:minmax(0,1fr)}.ref-metrics-period{display:none}.ref-metric-group{padding:14px}.ref-metric-row{gap:10px}.ref-metric-row>strong{font-size:13px}}
