.aff-console-gate{background:var(--candy-bg);place-items:center;min-height:100dvh;padding:1.5rem;display:grid}.aff-console-gate>.affc-card{width:min(100%,32rem)}.affc-chart__empty{color:var(--affc-muted);z-index:1;place-items:center;margin:0;font-size:.8rem;display:grid;position:absolute;inset:0}.affc-form-error{color:var(--candy-accent);margin:0 0 1rem}.aff-console{--affc-bg:var(--candy-bg);--affc-panel:var(--candy-surface);--affc-panel-2:var(--candy-elevated);--affc-border:var(--candy-border);--affc-text:var(--candy-text);--affc-muted:var(--candy-muted);--affc-accent:var(--candy-accent);--affc-accent-dim:var(--candy-accent-dim);--affc-side-w:248px;--affc-topbar-h:0px;grid-template-columns:var(--affc-side-w) minmax(0,1fr);background:var(--affc-bg);min-height:100dvh;color:var(--affc-text);font-family:var(--font-body);display:grid}.aff-console__backdrop,.aff-console__side-close,.aff-console__topbar{display:none}.aff-console__side{border-right:1px solid var(--affc-border);background:var(--affc-bg);z-index:20;flex-direction:column;align-self:start;gap:1rem;height:100dvh;padding:1.15rem .85rem 1rem;display:flex;position:sticky;top:0;overflow:auto}.aff-console__brand{flex-shrink:0;align-items:center;gap:.7rem;padding:.35rem .45rem .65rem;display:flex}.aff-console__brand-icon{background:color-mix(in srgb,var(--affc-accent) 22%,var(--affc-panel));border-radius:10px;flex-shrink:0;place-items:center;width:2.35rem;height:2.35rem;display:grid}.aff-console__brand-icon--sm{border-radius:9px;width:2rem;height:2rem}.aff-console__brand-icon img{opacity:.95;width:1.15rem;height:1.15rem}.aff-console__brand-icon--sm img{width:.95rem;height:.95rem}.aff-console__brand-title{font-family:var(--font-display);margin:0;font-size:.95rem;font-weight:700;line-height:1.2}.aff-console__brand-sub{color:var(--affc-muted);margin:.15rem 0 0;font-size:.72rem}.aff-console__nav{flex-direction:column;flex:1;gap:.2rem;min-height:0;display:flex}.aff-console__link{color:#c8c8d4;border-radius:10px;align-items:center;gap:.65rem;padding:.62rem .75rem;font-size:.86rem;font-weight:550;text-decoration:none;transition:background .15s,color .15s,transform .15s;display:flex}.aff-console__link:hover{color:#fff;background:#ffffff0a}.aff-console__link.is-active{background:color-mix(in srgb,var(--affc-accent) 14%,transparent);color:#fff;box-shadow:inset 3px 0 0 var(--affc-accent)}.aff-console__link-ico{opacity:.85;flex-shrink:0;place-items:center;width:1.2rem;height:1.2rem;display:grid}.aff-console__link-ico svg{width:1.1rem;height:1.1rem}.aff-console__link-text{min-width:0}.aff-console__user{border-top:1px solid var(--affc-border);flex-shrink:0;align-items:center;gap:.65rem;margin-top:auto;padding:.65rem .55rem;display:flex}.aff-console__avatar{border:1px solid var(--affc-border);background:var(--affc-panel-2);width:2.15rem;height:2.15rem;color:var(--affc-text);border-radius:50%;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.aff-console__avatar svg{width:1.1rem;height:1.1rem}.aff-console__avatar-img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.aff-console__avatar--sm{width:1.9rem;height:1.9rem}.aff-console__avatar--sm svg{width:1rem;height:1rem}.aff-console__username{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:600;overflow:hidden}.aff-console__main{min-width:0;min-height:100dvh;padding:1.35rem 0 2.25rem;overflow:auto}.aff-console__suspend{border:1px solid color-mix(in srgb,#ef4444 45%,var(--candy-border));background:color-mix(in srgb,#ef4444 12%,var(--candy-surface));border-radius:14px;width:90%;margin:0 auto 1rem;padding:.95rem 1.1rem}.aff-console__suspend-title{color:#fecaca;margin:0 0 .35rem;font-size:.95rem;font-weight:750}.aff-console__suspend-body{color:#ffffffc7;margin:0;font-size:.85rem;line-height:1.45}.aff-console__slot.is-locked{pointer-events:none;opacity:.45;filter:grayscale(.25);-webkit-user-select:none;user-select:none}.affc-page{width:90%;max-width:none;margin-inline:auto}.affc-page__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.85rem 1rem;margin-bottom:1.15rem;display:flex}.affc-page__title{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:calc(clamp(1.25rem,2.4vw,1.55rem));font-weight:750}.affc-page__sub{color:var(--affc-muted);max-width:42rem;margin:.35rem 0 0;font-size:.9rem;line-height:1.45}.affc-page__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.affc-btn{border:1px solid var(--affc-border);background:var(--affc-panel);min-height:2.35rem;color:var(--affc-text);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:.4rem;padding:.5rem .9rem;font-size:.85rem;font-weight:600;transition:border-color .15s,background .15s,filter .15s,transform .12s;display:inline-flex}.affc-btn:hover{background:var(--affc-panel-2);border-color:#ffffff2e}.affc-btn:active{transform:translateY(1px)}.affc-btn:focus-visible{outline:2px solid color-mix(in srgb,var(--affc-accent) 70%,#fff);outline-offset:2px}.affc-btn--primary{color:#fff;border-color:#0000}.affc-btn--primary,.affc-btn--primary:hover{background:linear-gradient(135deg,var(--affc-accent),var(--affc-accent-dim))}.affc-btn--primary:hover{filter:brightness(1.06)}.affc-btn--ghost{background:0 0}.affc-btn--block{width:100%}.affc-select{min-width:10.5rem;max-width:100%;display:inline-flex;position:relative}.affc-select__trigger{appearance:none;text-overflow:ellipsis;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;width:100%;min-width:0;padding-right:2.25rem}.affc-select__chev{pointer-events:none;width:1rem;height:1rem;position:absolute;top:50%;right:.7rem;transform:translateY(-50%)}.affc-select__menu{z-index:30;border:1px solid var(--affc-border);background:var(--affc-panel-2);border-radius:12px;width:max-content;min-width:100%;max-width:calc(min(18rem,90vw));margin:0;padding:.35rem;list-style:none;position:absolute;top:calc(100% + .35rem);right:0;box-shadow:0 14px 40px #00000073}.affc-select__option{width:100%;color:var(--affc-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.55rem .75rem;font-size:.85rem;font-weight:550;display:block}.affc-select__option:hover{background:#ffffff0f}.affc-select__option.is-active{background:color-mix(in srgb,var(--affc-accent) 18%,transparent);color:#ffb3cd}.affc-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.affc-stat{border-radius:var(--radius-lg);border:1px solid var(--affc-border);background:var(--affc-panel);box-sizing:border-box;justify-content:space-between;align-items:flex-start;gap:.65rem;min-width:0;min-height:7.25rem;padding:1.25rem 1.15rem 1.35rem;transition:border-color .15s,transform .15s;display:flex}.affc-stat:hover{border-color:#ffffff24}.affc-stat__body{min-width:0}.affc-stat__label{color:var(--affc-muted);margin:0;font-size:.75rem;font-weight:600;line-height:1.35}.affc-stat__value{letter-spacing:-.02em;word-break:break-word;margin:.85rem 0 0;font-size:calc(clamp(1.2rem,1.7vw,1.45rem));font-weight:750}.affc-stat__note{color:var(--affc-muted);margin:.45rem 0 0;font-size:.72rem}.affc-stat__ico{border:1px solid var(--affc-border);background:#0a0a0c;border-radius:9px;flex-shrink:0;place-items:center;width:2.15rem;height:2.15rem;display:grid}.affc-stat__ico-img{-o-object-fit:contain;object-fit:contain;opacity:.92;width:1.05rem;height:1.05rem;display:block}.affc-charts{grid-template-columns:1fr 1fr;gap:.85rem;margin-bottom:.85rem;display:grid}.affc-card{border-radius:var(--radius-lg);border:1px solid var(--affc-border);background:var(--affc-panel);min-height:0;padding:1rem 1.1rem 1.1rem}.affc-card__title{margin:0;font-size:.95rem;font-weight:700}.affc-card__sub{color:var(--affc-muted);margin:.25rem 0 0;font-size:.78rem;line-height:1.4}.affc-card__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.85rem;display:flex}.affc-legend-pills{flex-wrap:wrap;gap:.4rem;display:flex}.affc-legend-pill{letter-spacing:.04em;text-transform:uppercase;color:#fff;border-radius:999px;align-items:center;padding:.22rem .55rem;font-size:.68rem;font-weight:700;line-height:1.2;display:inline-flex}.affc-legend-pill--in{background:color-mix(in srgb,var(--candy-new) 75%,#0b0b0d)}.affc-legend-pill--out{background:#b35261}.affc-chart-card .affc-card__head{margin-bottom:.75rem}.affc-chart{grid-template-columns:2.1rem minmax(0,1fr);gap:.35rem .45rem;min-height:220px;display:grid}.affc-chart__y{font-variant-numeric:tabular-nums;color:var(--affc-muted);text-align:right;-webkit-user-select:none;user-select:none;flex-direction:column;justify-content:space-between;padding:.15rem 0 1.35rem;font-size:.65rem;line-height:1;display:flex}.affc-chart__plot{border-radius:var(--radius-md);border:1px solid var(--affc-border);background:color-mix(in srgb,var(--affc-bg) 70%,var(--affc-panel));min-width:0;padding:.55rem .55rem 1.35rem;position:relative;overflow:hidden}.affc-chart__grid{pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:.55rem .55rem 1.35rem}.affc-chart__grid-line{border-top:1px dashed #ffffff14;width:100%;height:0;display:block}.affc-chart__svg{pointer-events:none;width:calc(100% - 1.1rem);height:calc(100% - 1.9rem);position:absolute;inset:.55rem .55rem 1.35rem;overflow:visible}.affc-chart__series{fill:none;stroke-width:1.6px;vector-effect:non-scaling-stroke}.affc-chart__series.is-income{stroke:var(--candy-new)}.affc-chart__series.is-refunds{stroke:#fb7185}.affc-chart__x{color:var(--affc-muted);-webkit-user-select:none;user-select:none;justify-content:space-between;gap:0;font-size:.58rem;line-height:1;display:flex;position:absolute;bottom:.28rem;left:.55rem;right:.55rem;overflow:hidden}.affc-chart__x-tick{text-align:center;white-space:nowrap;flex:1 1 0;min-width:0}.affc-chart__x-tick:first-child{text-align:left}.affc-chart__x-tick:last-child{text-align:right}.affc-chart__x-tick:not(.is-label){visibility:hidden}.affc-empty{text-align:center;min-height:200px;color:var(--affc-muted);place-items:center;gap:.65rem;padding:2rem 1rem;display:grid}.affc-empty--compact{min-height:140px;padding:1.25rem 1rem}.affc-empty__box{background:linear-gradient(#ffffff0f,#0000 40%),#1c1c24;border:2px solid #ffffff1f;border-radius:8px;width:4.5rem;height:3.6rem;position:relative;box-shadow:inset 0 -10px #00000040}.affc-empty__box:before{content:"";background:#ffffff1a;border-radius:4px 4px 0 0;height:.55rem;position:absolute;top:-.45rem;left:10%;right:10%}.affc-empty__text{margin:0;font-size:.9rem;line-height:1.45}.affc-actions{margin-top:.85rem}.affc-actions__title{margin:0 0 .75rem;font-size:.95rem;font-weight:700}.affc-actions__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.affc-action{border-radius:var(--radius-lg);border:1px solid var(--affc-border);background:var(--affc-panel);min-height:9.5rem;color:var(--affc-text);font:inherit;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:.85rem;padding:1.35rem 1rem;font-size:.88rem;font-weight:650;text-decoration:none;transition:border-color .15s,background .15s,transform .15s;display:flex}.affc-action:hover{background:var(--affc-panel-2);border-color:#ffffff2e;transform:translateY(-1px)}.affc-action:active{transform:translateY(0)}.affc-action__ico{border:1px solid var(--affc-border);background:#0a0a0c;border-radius:12px;place-items:center;width:3rem;height:3rem;display:grid}.affc-action__ico-img{-o-object-fit:contain;object-fit:contain;opacity:.92;width:1.35rem;height:1.35rem;display:block}.affc-info{border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--affc-accent) 35%,var(--affc-border));background:color-mix(in srgb,var(--affc-accent) 12%,transparent);align-items:flex-start;gap:.75rem;margin-bottom:1rem;padding:.95rem 1.05rem;display:flex}.affc-info__ico{flex-shrink:0;font-size:1.1rem;line-height:1.4}.affc-info__title{margin:0;font-size:.9rem;font-weight:700}.affc-info__body{color:color-mix(in srgb,var(--affc-text) 78%,var(--affc-accent));margin:.25rem 0 0;font-size:.82rem;line-height:1.45}.affc-table-wrap{border:1px solid var(--affc-border);background:var(--affc-panel);border-radius:14px;overflow:hidden}.affc-table-scroll{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.affc-table{border-collapse:collapse;width:100%;min-width:560px}.affc-table th{text-align:left;letter-spacing:.06em;text-transform:uppercase;color:var(--affc-muted);border-bottom:1px solid var(--affc-border);white-space:nowrap;padding:.85rem 1rem;font-size:.7rem;font-weight:700}.affc-table td{padding:0}.affc-badge{border-radius:999px;align-items:center;padding:.2rem .55rem;font-size:.75rem;font-weight:700;display:inline-flex}.affc-badge--ok{background:color-mix(in srgb,var(--candy-new) 18%,transparent);color:var(--candy-new)}.affc-grid-2{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:.85rem;display:grid}.affc-stack{flex-direction:column;gap:.85rem;display:flex}.affc-form-grid{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.affc-form-grid--1{grid-template-columns:1fr}.affc-field{flex-direction:column;gap:.35rem;min-width:0;display:flex}.affc-field--full{grid-column:1/-1}.affc-field label{color:var(--affc-muted);font-size:.78rem;font-weight:600}.affc-field input{border-radius:var(--radius-md);border:1px solid var(--affc-border);background:var(--affc-bg);width:100%;min-width:0;color:var(--affc-text);font:inherit;padding:.7rem .85rem;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.affc-field input:hover{border-color:color-mix(in srgb,var(--affc-text) 18%,var(--affc-border))}.affc-field input:focus{border-color:color-mix(in srgb,var(--affc-accent) 55%,var(--affc-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--affc-accent) 22%,transparent);outline:none}.affc-kv{flex-direction:column;gap:.85rem;display:flex}.affc-kv__row{justify-content:space-between;align-items:center;gap:.75rem;font-size:.88rem;display:flex}.affc-kv__row dt{color:var(--affc-muted);margin:0}.affc-kv__row dd{text-align:right;margin:0;font-weight:650}.affc-help-link{color:var(--affc-accent);font:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:.35rem;margin-top:.75rem;padding:0;font-size:.88rem;font-weight:650;text-decoration:none;display:inline-flex}.affc-help-link:hover{text-decoration:underline}.affc-balance{letter-spacing:-.02em;margin:.55rem 0 0;font-size:calc(clamp(1.45rem,3vw,1.85rem));font-weight:750}.affc-warn{border-radius:var(--radius-sm);background:color-mix(in srgb,var(--candy-vip) 16%,transparent);color:var(--candy-vip);align-items:center;gap:.35rem;margin-top:.75rem;padding:.4rem .65rem;font-size:.78rem;font-weight:600;display:inline-flex}.affc-mb{margin-bottom:.85rem}.affc-mt{margin-top:.85rem}@media (width<=1280px){.affc-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1100px){.affc-actions__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.affc-grid-2{grid-template-columns:1fr}}@media (width<=960px){.aff-console{--affc-topbar-h:3.65rem;grid-template-columns:1fr;grid-template-rows:var(--affc-topbar-h) minmax(0,1fr)}.aff-console__topbar{z-index:40;height:var(--affc-topbar-h);border-bottom:1px solid var(--affc-border);background:color-mix(in srgb,var(--affc-bg) 88%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;gap:.75rem;padding:0 .85rem;display:flex;position:sticky;top:0}.aff-console__menu-btn{border:1px solid var(--affc-border);background:var(--affc-panel);width:2.35rem;height:2.35rem;color:var(--affc-text);cursor:pointer;border-radius:10px;flex-shrink:0;place-items:center;display:grid}.aff-console__menu-btn svg{width:1.15rem;height:1.15rem}.aff-console__topbar-brand{flex:1;align-items:center;gap:.55rem;min-width:0;display:flex}.aff-console__topbar-title{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.92rem;font-weight:700;overflow:hidden}.aff-console__topbar-sub{color:var(--affc-muted);margin:.1rem 0 0;font-size:.68rem}.aff-console__topbar-user{flex-shrink:0}.aff-console__backdrop{z-index:45;opacity:0;pointer-events:none;background:#0000008c;border:none;transition:opacity .2s;display:block;position:fixed;inset:0}.aff-console.is-nav-open .aff-console__backdrop{opacity:1;pointer-events:auto}.aff-console__side{width:min(var(--affc-side-w),86vw);z-index:50;border-right:1px solid var(--affc-border);height:100dvh;transition:transform .22s;position:fixed;top:0;bottom:0;left:0;transform:translate(-105%)}.aff-console.is-nav-open .aff-console__side{transform:translate(0)}.aff-console__side-close{width:2rem;height:2rem;color:var(--affc-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;place-items:center;margin-left:auto;display:grid}.aff-console__side-close:hover{color:#fff;background:#ffffff0f}.aff-console__side-close svg{width:1.05rem;height:1.05rem}.aff-console__main{min-height:calc(100dvh - var(--affc-topbar-h));padding:1.1rem 0 1.75rem}.affc-page{width:min(94%,100% - 1.5rem)}.affc-charts,.affc-form-grid{grid-template-columns:1fr}.affc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.affc-page__actions{justify-content:stretch;width:100%}.affc-page__actions>.affc-btn,.affc-page__actions>.affc-select{flex:auto}.affc-page__actions>.affc-select{min-width:0}.affc-page__actions .affc-select__trigger{width:100%;max-width:none}}@media (width<=640px){.affc-actions__grid{grid-template-columns:1fr 1fr}.affc-action{min-height:8.25rem;font-size:.82rem}.affc-stat{min-height:6.5rem;padding:1.1rem 1rem 1.15rem}.affc-page__head{margin-bottom:.95rem}.affc-info{padding:.85rem}}@media (width<=480px){.affc-page{width:100%}.affc-actions__grid,.affc-stats{grid-template-columns:1fr}.affc-chart{grid-template-columns:1.75rem minmax(0,1fr);min-height:200px}.affc-chart__x{font-size:.52rem}}@media (prefers-reduced-motion:reduce){.aff-console__backdrop,.aff-console__link,.aff-console__side,.affc-action,.affc-btn,.affc-select__chev{transition:none!important}}.affc-btn:disabled{opacity:.45;cursor:not-allowed}.affc-table td[colspan]{padding:0}.affc-table-scroll{overscroll-behavior-x:contain;max-width:100%}.affc-badge--warn{color:var(--candy-accent)}@media (width<=600px){.affc-page__actions{width:100%}.affc-page__actions .affc-select{flex:10rem}.affc-card__head{flex-wrap:wrap;gap:.75rem}.affc-form-grid{grid-template-columns:minmax(0,1fr)}.affc-table{min-width:36rem}}.aff-console-gate{--affc-panel:var(--candy-surface);--affc-border:var(--candy-border);--affc-muted:var(--candy-muted);--affc-text:var(--candy-text);--affc-accent:var(--candy-accent);--affc-accent-dim:var(--candy-accent-dim);color:var(--candy-text)}
