/* Real Circle referrals share the existing dashboard's card and typography system. */
.crf-page{max-width:1400px;margin:0 auto;padding:4px 0 24px;color:var(--text)}.crf-page *{box-sizing:border-box}.crf-page button,.crf-page input{font:inherit}.crf-page button{cursor:pointer}.crf-page button:disabled{cursor:default;opacity:.55}.crf-page :is(button,input,summary):focus-visible{outline:2px solid var(--accent);outline-offset:4px}.crf-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.crf-kicker{font-size:10px;letter-spacing:1.3px;color:var(--accent);font-weight:550}.crf-header h1{font-size:34px;line-height:1.15;letter-spacing:-1.1px;font-weight:550;margin:12px 0 10px}.crf-header p{color:var(--muted);font-size:14px;line-height:1.65;margin:0}.crf-circle-selector{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:46px;padding:12px 15px;border:1px solid var(--line);border-radius:11px;background:var(--panel,#12171d);color:var(--text);min-width:190px;max-width:320px}.crf-circle-selector>span{display:flex;align-items:center;gap:11px;min-width:0}.crf-circle-selector strong{font-size:13px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crf-circle-selector svg{flex:none;color:var(--muted)}.crf-panel{background:var(--panel,#12171d);border:1px solid var(--line);border-radius:16px;min-width:0;overflow:hidden}.crf-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,1fr);gap:20px;margin-bottom:20px}.crf-reward{padding:27px 30px;background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--accent) 11%,transparent),transparent 65%),var(--panel,#12171d);border-color:color-mix(in srgb,var(--accent) 18%,var(--line))}.crf-reward-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px}.crf-badge{font-size:10px;color:var(--muted);padding:6px 10px;border:1px solid var(--line);border-radius:20px;white-space:nowrap}.crf-earnings{font-size:58px;font-weight:550;letter-spacing:-1.8px;line-height:1.2;margin:25px 0 8px}.crf-earnings>span{font-size:13px;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:14px}.crf-settlement{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.crf-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.crf-stats>div>span{font-size:12px;color:var(--muted)}.crf-stats strong{display:block;font-size:26px;letter-spacing:-.6px;font-weight:550;font-variant-numeric:tabular-nums;margin-top:10px}.crf-stats strong em{font-size:17px;font-style:normal}.crf-stats small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:6px}.crf-share{padding:25px 27px}.crf-section-icon{display:inline-grid;place-items:center;border:1px solid var(--line);color:var(--accent);background:var(--accent-soft);border-radius:11px;width:39px;height:39px}.crf-page h2{font-size:20px;font-weight:550;line-height:1.3;letter-spacing:-.45px;margin:0}.crf-share h2{margin:17px 0 9px}.crf-share>p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 20px}.crf-share-primary{width:100%;justify-content:center;min-height:44px;font-size:13px}.crf-share>.crf-hint{font-size:11px;margin:12px 0 0;line-height:1.6}.crf-link-input{margin-top:17px}.crf-link-input label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.crf-link-input input{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--bg,#0c1219);color:var(--text);min-height:40px;padding:10px 11px;font-size:11px}.crf-link-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-top:9px}.crf-text-button{border:0;background:none;color:var(--accent);padding:8px 0;font-size:11px}.crf-explained{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:36px;padding:27px 30px;margin-bottom:20px}.crf-explained h2{margin:10px 0 13px}.crf-explained p{font-size:13px;line-height:1.75;color:var(--muted);margin:10px 0 0}.crf-formula{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--accent) 3%,transparent)}.crf-formula>span{font-size:11px;color:var(--muted);margin-bottom:18px}.crf-formula strong{font-size:12px;line-height:1.6;font-weight:500}.crf-formula-divider{height:1px;align-self:stretch;background:color-mix(in srgb,var(--accent) 40%,var(--line));margin:10px 0}.crf-formula small{font-size:11px;color:var(--muted);line-height:1.6;margin-top:17px}.crf-activity{margin-bottom:20px}.crf-activity>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 29px}.crf-activity h2{font-size:18px;overflow-wrap:anywhere}.crf-activity header p{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0 0}.crf-activity header .btn{min-height:38px;white-space:nowrap;font-size:12px}.crf-table-wrap{overflow-x:auto}.crf-page table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}.crf-page th{font-size:11px;font-weight:450;color:var(--muted);background:color-mix(in srgb,var(--text) 2%,transparent);padding:14px 29px}.crf-page td{padding:18px 29px;border-top:1px solid var(--line);color:var(--muted);font-variant-numeric:tabular-nums}.crf-page td>strong{font-size:13px;font-weight:500;color:var(--text)}.crf-avatar{display:inline-grid;place-items:center;vertical-align:middle;margin-right:12px;width:30px;height:30px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:12px}.crf-member-status{display:inline-flex;border:1px solid var(--line);border-radius:6px;padding:5px 8px;font-size:11px}.crf-member-status.is-active{color:var(--accent);background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 15%,var(--line))}.crf-activity>footer{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding:14px 29px;font-size:11px;line-height:1.6;color:var(--muted)}.crf-activity>footer svg{flex:none}.crf-empty{text-align:center;padding:35px 25px}.crf-empty>svg{color:var(--muted)}.crf-empty h1{font-size:25px;font-weight:550}.crf-empty h3{font-size:16px;font-weight:500;margin:16px 0 8px}.crf-empty p{font-size:13px;line-height:1.8;color:var(--muted);margin:8px auto;max-width:440px}.crf-settings{margin-bottom:18px}.crf-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;padding:20px 28px;cursor:pointer;list-style:none}.crf-settings>summary::-webkit-details-marker{display:none}.crf-settings>summary>span{display:flex;align-items:center;gap:10px}.crf-settings>summary>span:first-child{font-size:14px}.crf-settings>summary>span:first-child svg{color:var(--accent)}.crf-settings>summary>span:last-child{font-size:11px;color:var(--muted)}.crf-settings[open]>summary{border-bottom:1px solid var(--line)}.crf-settings[open]>summary>span:last-child>svg{transform:rotate(180deg)}.crf-settings>form{padding:24px 28px}.crf-settings fieldset{border:0;padding:0;margin:0;min-width:0}.crf-settings legend{font-size:13px;font-weight:500;margin-bottom:14px}.crf-kind-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.crf-kind-options>label{display:flex;align-items:flex-start;gap:12px;padding:17px 16px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.crf-kind-options>label:has(input:checked){border-color:color-mix(in srgb,var(--accent) 50%,var(--line));background:var(--accent-soft)}.crf-kind-options input{accent-color:var(--accent);margin:2px 0 0;width:16px;height:16px;flex:none}.crf-kind-options strong{display:block;font-size:13px;font-weight:500}.crf-kind-options small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:6px}.crf-pool-label{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:500}.crf-percent-input{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding-right:13px;color:var(--muted);background:var(--bg,#0c1219)}.crf-percent-input input{width:95px;padding:10px 12px;min-height:42px;border:0;background:transparent;color:var(--text);font-size:15px;border-radius:8px}.crf-hint{font-size:12px;color:var(--muted);line-height:1.7;max-width:680px}.crf-settings-bottom{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:24px;padding-top:21px;border-top:1px solid var(--line)}.crf-settings-bottom>p{font-size:11px;line-height:1.7;color:var(--muted);max-width:570px;margin:0}.crf-settings-bottom .btn{min-height:42px;white-space:nowrap;font-size:13px}.crf-feedback{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:13px;line-height:1.65;border:1px solid var(--line);background:var(--accent-soft);color:var(--text);border-radius:10px;padding:13px 16px;margin-bottom:20px}.crf-feedback.is-error{border-color:color-mix(in srgb,var(--red,#e88788) 35%,var(--line));background:color-mix(in srgb,var(--red,#e88788) 6%,transparent)}.crf-feedback .btn{flex:none;min-height:36px;font-size:12px}.crf-footer{font-size:11px;color:var(--muted);line-height:1.7;margin:0 4px}
@media(max-width:1050px){.crf-main{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:16px}.crf-reward,.crf-share{padding:23px}.crf-reward-top{align-items:flex-start;flex-direction:column;gap:9px}.crf-stats{gap:16px}.crf-stats>div>span{font-size:11px}.crf-explained{gap:23px;padding:24px}.crf-explained h2{font-size:19px}}
@media(max-width:760px){.crf-main,.crf-explained{grid-template-columns:1fr}.crf-header{align-items:flex-start}.crf-header h1{font-size:29px}.crf-circle-selector{min-width:150px;max-width:220px}.crf-reward-top{flex-direction:row;align-items:center}.crf-explained{gap:20px}.crf-formula{padding:22px}.crf-kind-options{grid-template-columns:1fr}.crf-settings-bottom{align-items:flex-start}.crf-settings>summary{padding:20px 23px}.crf-settings>form{padding:23px}}
@media(max-width:520px){.crf-page{padding-top:0}.crf-header{display:block;margin-bottom:20px}.crf-header h1{font-size:30px}.crf-header p{font-size:13px}.crf-circle-selector{width:100%;max-width:none;margin-top:18px}.crf-main{gap:15px;margin-bottom:15px}.crf-reward,.crf-share{padding:22px 20px}.crf-reward-top{font-size:12px}.crf-badge{font-size:9px;padding:5px 8px}.crf-earnings{font-size:52px;margin-top:22px}.crf-stats{gap:15px;margin-top:24px;padding-top:21px}.crf-stats strong{font-size:25px}.crf-stats small{font-size:10px}.crf-explained{padding:22px 20px;margin-bottom:15px}.crf-explained p{font-size:12px}.crf-activity{margin-bottom:15px}.crf-activity>header{padding:22px 20px;align-items:flex-start;gap:14px}.crf-activity h2{font-size:16px}.crf-activity header p{font-size:11px}.crf-activity header .btn{min-height:44px;padding:10px;font-size:11px}.crf-page th,.crf-page td{padding:15px 20px}.crf-activity>footer{padding:14px 20px;font-size:10px}.crf-settings>summary{padding:18px 20px}.crf-settings>summary>span:last-child{font-size:0;gap:0}.crf-settings>form{padding:20px}.crf-settings-bottom{flex-direction:column;gap:17px}.crf-settings-bottom .btn{width:100%;justify-content:center;min-height:44px}.crf-pool-label{justify-content:space-between;gap:12px}.crf-kind-options small{font-size:11px}.crf-kind-options>label{padding:17px 14px}.crf-settings input[type=number],.crf-link-input input{font-size:16px;min-height:44px}.crf-link-bottom{font-size:10px}.crf-text-button{min-height:44px}.crf-feedback{font-size:12px;padding:12px}.crf-feedback .btn{min-height:44px}.crf-share-primary{min-height:46px}.crf-footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){.crf-page *{scroll-behavior:auto!important}}
.crf-invitations{margin-top:19px;border-top:1px solid var(--line);padding-top:6px}.crf-invitations>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:12px;color:var(--muted);cursor:pointer;list-style:none}.crf-invitations>summary::-webkit-details-marker{display:none}.crf-invitations>summary strong{font-size:10px;font-weight:500;margin-left:6px;border:1px solid var(--line);border-radius:9px;padding:3px 6px}.crf-invitations[open]>summary>svg{transform:rotate(180deg)}.crf-invitations>p{font-size:11px;color:var(--muted);line-height:1.7;margin:5px 0 10px}.crf-invitation-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:11px 0}.crf-invitation-row>span{min-width:0}.crf-invitation-row strong,.crf-invitation-row small{display:block;font-size:11px;font-weight:450;line-height:1.6}.crf-invitation-row small{font-size:10px;color:var(--muted);margin-top:3px}.crf-invitation-row>button{flex:none;min-height:36px}
@media(max-width:520px){.crf-invitation-row>button{min-height:44px}.crf-invitation-row{gap:10px}}
