:root {
  color-scheme: dark;
  --aff-bg: #050505;
  --aff-panel: #0b0c0d;
  --aff-panel-soft: #121416;
  --aff-border: rgba(255,255,255,.085);
  --aff-text: #f5f5f7;
  --aff-muted: #a2a5aa;
  --aff-dim: #74777b;
  --aff-accent: #adadad;
  --aff-accent-bright: #c0c0c0;
  --aff-green: #73dfb4;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--aff-text);
  background: var(--aff-bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--aff-bg); color: var(--aff-text); }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.aff-public-page { background: #050505; }
.aff-public-shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.aff-site-header { position: sticky; top: 0; z-index: 100; min-height: 78px; border-bottom: 1px solid rgba(255,255,255,.16); background: rgba(5,5,5,.92); backdrop-filter: blur(18px); }
.aff-site-nav { width: min(1380px,100%); min-height: 77px; margin-inline: auto; padding-inline: clamp(24px,3vw,46px); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.aff-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 14px; color: #fff; font: 700 16px/1 'Space Grotesk', sans-serif; letter-spacing: .09em; white-space: nowrap; }
.aff-brand > span:last-child > span { color: #fff; text-shadow: 0 0 16px rgba(255,255,255,.72); }
.aff-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 12px; background: #000; box-shadow: 0 0 15px rgba(255,255,255,.36),0 0 36px rgba(255,255,255,.17); }
.aff-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.aff-site-links { display: flex; align-items: center; gap: clamp(18px,2vw,30px); }
.aff-site-links a { position: relative; color: var(--aff-muted); font-size: 12px; font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.aff-site-links a:hover,.aff-site-links a[aria-current="page"] { color: #fff; }
.aff-site-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -16px; height: 2px; background: #fff; transition: right .25s ease; }
.aff-site-links a:hover::after,.aff-site-links a[aria-current="page"]::after { right: 0; }
.aff-site-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.aff-site-login,.aff-site-profile,.aff-site-cart { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.045); }
.aff-site-login { padding: 0 14px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.aff-site-profile { gap: 9px; padding: 4px 11px 4px 5px; font-size: 12px; font-weight: 700; }
.aff-site-avatar { display: block; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; overflow: hidden; }
.aff-site-avatar img { width: 100%; height: 100%; object-fit: cover; }
.aff-site-username { max-width: 95px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aff-site-dashboard { padding: 5px 8px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; color: #aaa; background: rgba(255,255,255,.06); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.aff-site-order { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px; border-radius: 10px; color: #090a0b; background: linear-gradient(110deg,#fff,#eceef3 58%,#fff); box-shadow: 0 8px 30px rgba(255,255,255,.22); font-size: 12px; font-weight: 700; white-space: nowrap; }
.aff-site-cart { position: relative; justify-content: center; width: 42px; }
.aff-site-cart-count { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 3px; border: 2px solid #050505; border-radius: 50%; color: #050505; background: #fff; font-size: 10px; font-weight: 700; }
.aff-site-menu-toggle { display: none; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.045); cursor: pointer; }
.aff-site-mobile { display: none; gap: 2px; padding: 12px 24px 20px; border-top: 1px solid rgba(255,255,255,.09); background: #090a0b; }
.aff-site-mobile a { padding: 10px 7px; color: var(--aff-muted); font-size: 13px; font-weight: 600; }
.aff-site-mobile a[aria-current="page"] { color: #fff; }
.aff-site-login:hover,.aff-site-profile:hover,.aff-site-cart:hover,.aff-site-menu-toggle:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.09); }
.aff-site-order:hover { background: #fff; box-shadow: 0 12px 36px rgba(255,255,255,.34); }
.aff-site-header :is(a,button):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.aff-app-header { width: min(1220px,calc(100% - 48px)); min-height: 64px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.09); }
.aff-app-header nav { display: flex; align-items: center; gap: clamp(14px,2.8vw,34px); color: var(--aff-muted); font-size: 12px; }
.aff-app-header nav a { transition: color .18s ease; }
.aff-app-header nav a:hover,.aff-app-header nav a[aria-current="page"] { color: #fff; }
.aff-workspace-label { color: #aaaeb2; font-size: 10px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }

.aff-hero { position: relative; min-height: 610px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 45px; padding-block: 100px 94px; isolation: isolate; }
.aff-hero::before { content: ''; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); pointer-events: none; background: radial-gradient(ellipse at 80% 20%,rgba(255,255,255,.13),transparent 31%),radial-gradient(ellipse at 48% 55%,rgba(255,255,255,.07),transparent 40%),linear-gradient(rgba(255,255,255,.038) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.038) 1px,transparent 1px); background-size: auto,auto,56px 56px,56px 56px; mask-image: linear-gradient(to bottom,transparent,#000 28%,#000 82%,transparent); }
.aff-hero-copy { max-width: 610px; }
.aff-eyebrow { color: #f1f2f5; font-size: 10px; font-weight: 700; letter-spacing: .21em; text-shadow: 0 0 12px rgba(255,255,255,.3); text-transform: uppercase; }
.aff-eyebrow > span:first-child, .aff-eyebrow:has(> span:first-child) { display: flex; align-items: center; gap: 8px; }
.aff-eyebrow > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: #c7f36b; box-shadow: 0 0 13px rgba(199,243,107,.75); }
.aff-hero h1 { margin: 20px 0 30px; font: 600 clamp(57px,5.4vw,86px)/.99 'Space Grotesk',sans-serif; letter-spacing: -.07em; }
.aff-hero h1 span { color: #e9ebf0; text-shadow: 0 0 18px rgba(255,255,255,.16); }
.aff-lead { max-width: 565px; margin: 0; color: var(--aff-muted); font-size: clamp(14px,1.16vw,17px); line-height: 1.75; }
.aff-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 30px; }
.aff-hero-actions .aff-button { min-height: 50px; }
.aff-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.aff-button:hover { transform: translateY(-2px); }
.aff-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.aff-button-primary { color: #090a0b; border-color: rgba(255,255,255,.9); background: linear-gradient(110deg,#fff,#eceef3 58%,#fff); box-shadow: 0 8px 30px rgba(255,255,255,.22),0 0 38px rgba(255,255,255,.1); }
.aff-button-primary:hover { background: #fff; box-shadow: 0 12px 36px rgba(255,255,255,.34); }
.aff-button-quiet { color: #d3d3d8; border-color: var(--aff-border); background: rgba(255,255,255,.035); }
.aff-small-note { margin-top: 16px; color: #85888d; font-size: 11px; }
.aff-hero-visual { position: relative; display: grid; place-items: center; min-height: 350px; }
.aff-visual-glow { position: absolute; inset: 10% 5%; background: radial-gradient(ellipse,rgba(110,110,110,.28),transparent 68%); filter: blur(24px); }
.aff-visual-card { position: relative; width: min(100%,390px); padding: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: linear-gradient(145deg,rgba(28,28,34,.96),rgba(13,14,17,.97)); box-shadow: 0 34px 100px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.055); transform: rotate(2deg); animation: aff-float 6s ease-in-out infinite; }
@keyframes aff-float { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
.aff-visual-top,.aff-visual-bottom { display: flex; align-items: center; justify-content: space-between; }
.aff-visual-top { color: #81828b; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.aff-live-dot { display: inline-flex; align-items: center; gap: 5px; color: #8ce7bf; font-size: 8px; }
.aff-live-dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #67dca8; box-shadow: 0 0 8px #67dca8; }
.aff-visual-amount { margin-top: 30px; font: 700 38px 'Space Grotesk',sans-serif; letter-spacing: -.04em; }
.aff-visual-caption { margin-top: 3px; color: #83848c; font-size: 11px; }
.aff-visual-chart { height: 106px; display: flex; align-items: end; gap: 9px; margin-top: 21px; padding: 0 1px 10px; border-bottom: 1px solid rgba(255,255,255,.09); }
.aff-visual-chart i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(0deg,rgba(134,134,134,.32),#9d9d9d); animation: aff-bar-in .8s both; transform-origin: bottom; }
@keyframes aff-bar-in { from { transform: scaleY(.25); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }
.aff-visual-bottom { margin-top: 17px; color: #888991; font-size: 10px; }
.aff-visual-bottom b { color: #fff; font-size: 14px; }
.aff-level-tag { padding: 6px 8px; border: 1px solid rgba(174,174,174,.19); border-radius: 6px; color: #bfbfbf; background: rgba(145,145,145,.08); font-size: 8px; font-weight: 700; letter-spacing: .1em; }

.aff-benefits-section,.aff-levels-section { padding-block: 62px 76px; border-top: 1px solid rgba(255,255,255,.055); }
.aff-section-heading { max-width: 620px; margin: 0 auto 34px; text-align: center; }
.aff-section-heading .aff-eyebrow { margin-bottom: 13px; }
.aff-section-heading h2,.aff-cta-band h2 { margin: 0 0 11px; font: 700 clamp(26px,3.4vw,38px)/1.2 'Space Grotesk',sans-serif; letter-spacing: -.035em; }
.aff-section-heading > p:last-child,.aff-cta-band > div > p:last-child { color: #898a92; font-size: 13px; line-height: 1.7; }
.aff-benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.aff-benefit-card { min-height: 176px; padding: 23px; border: 1px solid var(--aff-border); border-radius: 13px; background: linear-gradient(150deg,#17181b,#0d0e10 75%); transition: transform .22s ease,border-color .22s ease; }
.aff-benefit-card:hover { transform: translateY(-3px); border-color: rgba(173,173,173,.25); }
.aff-benefit-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(168,168,168,.16); border-radius: 9px; color: #bbbbbb; background: rgba(137,137,137,.08); font-size: 16px; }
.aff-benefit-card h3 { margin: 17px 0 8px; font: 650 14px 'Space Grotesk',sans-serif; }
.aff-benefit-card p { margin: 0; color: #888a93; font-size: 12px; line-height: 1.65; }
.aff-level-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.aff-level-card { padding: 19px 16px; border: 1px solid var(--aff-border); border-radius: 12px; background: linear-gradient(145deg,#15161a,#0f1012); }
.aff-level-card.is-current { border-color: rgba(166,166,166,.48); box-shadow: 0 0 24px rgba(121,121,121,.1),inset 0 0 18px rgba(145,145,145,.035); }
.aff-level-card small { display: block; color: #777983; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.aff-level-card h3 { margin: 13px 0 8px; font: 700 15px 'Space Grotesk',sans-serif; }
.aff-level-rate { color: #bcbcbc; font: 700 23px 'Space Grotesk',sans-serif; }
.aff-level-req { display: block; margin-top: 10px; color: #83848d; font-size: 10px; }
.aff-loading-card { min-height: 121px; animation: aff-pulse 1.2s ease-in-out infinite alternate; }
@keyframes aff-pulse { to { opacity: .45; } }
.aff-program-state { margin-top: 20px; color: #f0c77e; font-size: 12px; text-align: center; }
.aff-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-block: 20px 70px; padding: 30px 34px; border: 1px solid rgba(175,175,175,.16); border-radius: 15px; background: radial-gradient(ellipse at 10% 50%,rgba(130,130,130,.12),transparent 47%),linear-gradient(130deg,#151419,#101114); }
.aff-cta-band .aff-eyebrow { margin: 0 0 11px; }
.aff-cta-band h2 { margin-bottom: 6px; font-size: 24px; }
.aff-cta-band > div > p:last-child { margin: 0; }
.aff-public-footer { position: relative; z-index: 1; padding: 72px 0 35px; border-top: 1px solid rgba(255,255,255,.18); color: var(--aff-muted); background: radial-gradient(ellipse at 85% 0%,rgba(255,255,255,.08),transparent 42%),#08090b; }
.aff-footer-inner { width: min(1220px,calc(100% - 48px)); margin-inline: auto; }
.aff-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 55px; }
.aff-footer-about p { max-width: 320px; margin: 18px 0 22px; font-size: 13px; line-height: 1.7; }
.aff-footer-grid h2 { margin: 0 0 20px; color: #fff; font: 700 14px 'Space Grotesk',sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.aff-footer-grid nav,.aff-footer-contact { display: flex; flex-direction: column; align-items: start; gap: 13px; }
.aff-footer-grid nav h2,.aff-footer-contact h2 { margin-bottom: 7px; }
.aff-footer-grid nav a,.aff-footer-contact a { font-size: 13px; line-height: 1.4; }
.aff-footer-grid a:hover,.aff-footer-bottom a:hover { color: #fff; }
.aff-footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.aff-footer-social a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #d7d8db; background: rgba(255,255,255,.04); font-size: 11px; }
.aff-footer-social a:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.aff-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); color: #74777b; font-size: 11px; }

.aff-legal-shell { width: min(850px,calc(100% - 40px)); margin: 0 auto; padding: 72px 0 90px; }
.aff-legal-shell > .aff-eyebrow { display: flex; align-items: center; gap: 8px; }
.aff-legal-shell h1 { margin: 15px 0 9px; font: 800 clamp(34px,5vw,54px)/1.1 'Space Grotesk',sans-serif; letter-spacing: -.05em; }
.aff-legal-updated { color: #82838c; font-size: 12px; }
.aff-legal-review { display: flex; gap: 12px; margin: 27px 0 35px; padding: 15px 17px; border: 1px solid rgba(240,190,106,.24); border-radius: 9px; color: #c6b58f; background: rgba(184,136,52,.065); font-size: 12px; line-height: 1.6; }
.aff-legal-review strong { flex: 0 0 auto; color: #f0cd8b; }
.aff-legal-content { display: grid; gap: 11px; }
.aff-legal-content section { padding: 21px 23px; border: 1px solid var(--aff-border); border-radius: 10px; background: rgba(18,19,22,.72); }
.aff-legal-content h2 { margin: 0 0 11px; font: 650 15px 'Space Grotesk',sans-serif; }
.aff-legal-content p { margin: 0 0 9px; color: #a1a2aa; font-size: 12px; line-height: 1.8; }
.aff-legal-content p:last-child { margin-bottom: 0; }
.aff-legal-content a { color: #bcbcbc; text-decoration: underline; text-underline-offset: 3px; }

.aff-app-page { min-height: 100vh; background: radial-gradient(ellipse at 68% -22%,rgba(98,98,98,.11),transparent 48%),#090a0c; }
.aff-app-header { width: min(1280px,calc(100% - 44px)); min-height: 72px; }
.aff-user-chip { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #898a93; font-size: 11px; }
.aff-app-shell { width: min(1160px,calc(100% - 44px)); min-height: calc(100vh - 142px); margin: auto; padding: 44px 0 74px; }
.aff-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.aff-page-heading .aff-eyebrow { margin: 0 0 9px; }
.aff-page-heading h1 { margin: 0; font: 750 clamp(27px,4vw,38px)/1.16 'Space Grotesk',sans-serif; letter-spacing: -.045em; }
.aff-page-heading p:last-child { margin: 8px 0 0; color: var(--aff-muted); font-size: 12px; }
.aff-inline-link { color: #bababa; font-size: 12px; }
.aff-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 14px; }
.aff-stat-card,.aff-panel,.aff-code-card,.aff-progress-card { border: 1px solid var(--aff-border); border-radius: 12px; background: linear-gradient(145deg,rgba(23,24,28,.95),rgba(15,16,18,.98)); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.aff-stat-card { min-height: 121px; padding: 18px; }
.aff-stat-label { color: #85868e; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.aff-stat-value { display: block; margin-top: 17px; font: 700 25px 'Space Grotesk',sans-serif; letter-spacing: -.035em; }
.aff-stat-note { display: block; margin-top: 5px; color: #777982; font-size: 10px; }
.aff-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); gap: 14px; }
.aff-panel { padding: 21px; }
.aff-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 19px; }
.aff-panel-heading h2,.aff-panel > h2 { margin: 0; font: 650 14px 'Space Grotesk',sans-serif; }
.aff-panel-heading p { margin: 5px 0 0; color: #7f8088; font-size: 10px; }
.aff-range-tabs { display: flex; padding: 3px; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; background: rgba(0,0,0,.22); }
.aff-range-tabs button { padding: 6px 8px; border: 0; border-radius: 5px; color: #85868d; background: transparent; font-size: 9px; cursor: pointer; }
.aff-range-tabs button[aria-pressed="true"] { color: #e0e0e0; background: rgba(158,158,158,.16); }
.aff-chart-wrap { min-height: 190px; }
.aff-chart { display: block; width: 100%; height: 164px; overflow: visible; }
.aff-chart-grid line { stroke: rgba(255,255,255,.065); stroke-dasharray: 3 5; }
.aff-chart-area { fill: url(#affChartFill); opacity: .5; }
.aff-chart-line { fill: none; stroke: #b0b0b0; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(159,159,159,.38)); stroke-dasharray: 800; stroke-dashoffset: 800; animation: aff-draw 1.15s ease forwards; }
@keyframes aff-draw { to { stroke-dashoffset: 0; } }
.aff-chart-point { fill: #d0d0d0; stroke: #17141f; stroke-width: 3; }
.aff-chart-labels { display: flex; justify-content: space-between; color: #656770; font-size: 9px; }
.aff-chart-totals { display: flex; gap: 19px; margin-top: 12px; color: #81828a; font-size: 10px; }
.aff-chart-totals strong { color: #e9e7ef; font-size: 12px; }
.aff-code-card { padding: 21px; background: radial-gradient(ellipse at 100% 0%,rgba(125,125,125,.12),transparent 58%),linear-gradient(145deg,#19181e,#101114); }
.aff-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 17px 0 6px; }
.aff-code-value { color: #e4e4e4; font: 750 24px 'Space Grotesk',sans-serif; letter-spacing: .08em; }
.aff-copy-button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; color: #cecece; background: rgba(255,255,255,.045); font-size: 9px; font-weight: 700; cursor: pointer; }
.aff-copy-button:hover { border-color: rgba(184,184,184,.35); background: rgba(147,147,147,.1); }
.aff-url-row { display: flex; align-items: center; gap: 8px; margin-top: 17px; padding: 8px; border: 1px solid rgba(255,255,255,.065); border-radius: 8px; background: rgba(0,0,0,.2); }
.aff-url-row span { min-width: 0; flex: 1; overflow: hidden; color: #999aa2; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.aff-progress-card { grid-column: 1 / -1; margin-top: 14px; padding: 21px; }
.aff-progress-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.aff-progress-name { display: flex; align-items: center; gap: 12px; }
.aff-level-icon { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(175,175,175,.2); border-radius: 11px; color: #cacaca; background: rgba(140,140,140,.09); font-size: 17px; }
.aff-progress-name strong { display: block; font: 700 15px 'Space Grotesk',sans-serif; }
.aff-progress-name span:last-child { display: block; margin-top: 4px; color: #929292; font-size: 10px; }
.aff-progress-count { color: #e1e0e5; font: 650 12px 'Space Grotesk',sans-serif; }
.aff-progress-track { height: 8px; margin-top: 20px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.aff-progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#707070,#bdbdbd); box-shadow: 0 0 14px rgba(142,142,142,.45); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.aff-progress-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; color: #85868f; font-size: 10px; }
.aff-progress-bottom strong { color: #cfcfcf; font-weight: 600; }
.aff-table-wrap { overflow-x: auto; }
.aff-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.aff-table th { padding: 0 12px 12px; color: #777982; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.aff-table td { padding: 13px 12px; border-top: 1px solid rgba(255,255,255,.055); color: #c4c4ca; font-size: 11px; }
.aff-table td:first-child,.aff-table th:first-child { padding-left: 0; }
.aff-table td:last-child,.aff-table th:last-child { padding-right: 0; }
.aff-table .aff-table-muted { color: #81828a; }
.aff-status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; color: #c2c3ca; background: rgba(255,255,255,.035); font-size: 9px; }
.aff-status.approved,.aff-status.paid,.aff-status.active { color: #86deb6; border-color: rgba(115,223,180,.16); background: rgba(50,160,113,.08); }
.aff-status.refunded,.aff-status.rejected,.aff-status.failed,.aff-status.suspended { color: #ed9b9b; border-color: rgba(230,118,118,.15); background: rgba(160,50,50,.08); }
.aff-status.pending,.aff-status.processing { color: #e3c98b; border-color: rgba(228,196,126,.16); background: rgba(173,132,43,.07); }
.aff-empty { padding: 26px 16px; color: #85868e; text-align: center; }
.aff-empty strong { display: block; margin-bottom: 6px; color: #d9d9df; font: 600 12px 'Space Grotesk',sans-serif; }
.aff-empty p { margin: 0; font-size: 10px; line-height: 1.6; }
.aff-section-gap { margin-top: 14px; }
.aff-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.aff-field { display: grid; gap: 7px; }
.aff-field-wide { grid-column: 1 / -1; }
.aff-field label,.aff-field-label { color: #c9c9d0; font-size: 11px; font-weight: 600; }
.aff-field small { color: #777982; font-size: 10px; line-height: 1.55; }
.aff-field input,.aff-field select,.aff-field textarea { width: 100%; min-height: 42px; padding: 10px 12px; outline: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #eeeef1; background: #0c0d10; font-size: 12px; }
.aff-field textarea { min-height: 104px; resize: vertical; }
.aff-field input:focus,.aff-field select:focus,.aff-field textarea:focus { border-color: rgba(173,173,173,.55); box-shadow: 0 0 0 3px rgba(140,140,140,.09); }
.aff-checkbox { display: flex; align-items: start; gap: 10px; color: #aaaab1; font-size: 11px; line-height: 1.65; }
.aff-checkbox input { margin-top: 3px; accent-color: #9d9d9d; }
.aff-checkbox a { color: #bbbbbb; text-decoration: underline; text-underline-offset: 2px; }
.aff-form-status { min-height: 19px; color: #8fdfb5; font-size: 11px; }
.aff-form-status.error { color: #f19c9c; }
.aff-apply-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: 15px; }
.aff-info-list { display: grid; gap: 13px; margin: 17px 0 0; padding: 0; list-style: none; }
.aff-info-list li { display: flex; gap: 10px; color: #a2a3ab; font-size: 11px; line-height: 1.6; }
.aff-info-list li::before { content: '✓'; color: #a0a0a0; font-weight: 700; }
.aff-notice { margin-bottom: 18px; padding: 14px 16px; border: 1px solid rgba(173,173,173,.18); border-radius: 9px; color: #b5b5b5; background: rgba(139,139,139,.07); font-size: 11px; line-height: 1.65; }
.aff-skeleton { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.aff-skeleton span,.aff-skeleton div { min-height: 98px; border: 1px solid var(--aff-border); border-radius: 12px; background: linear-gradient(100deg,#101114,#18191d,#101114); background-size: 200% 100%; animation: aff-skeleton 1.5s ease infinite; }
.aff-skeleton div { grid-column: 1 / -1; min-height: 260px; }
@keyframes aff-skeleton { to { background-position-x: -200%; } }
.aff-toast { position: fixed; right: 20px; bottom: 20px; z-index: 20; max-width: calc(100% - 40px); padding: 12px 16px; border: 1px solid rgba(115,223,180,.2); border-radius: 9px; color: #bdebd5; background: #15191a; box-shadow: 0 15px 40px rgba(0,0,0,.4); font-size: 11px; opacity: 0; transform: translateY(9px); pointer-events: none; transition: .22s ease; }
.aff-toast.show { opacity: 1; transform: translateY(0); }
.aff-footer-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px; color: #777982; font-size: 10px; }
.aff-footer-links a:hover { color: #fff; }
.aff-program-disabled { opacity: .5 !important; pointer-events: none; }
.aff-gate-card { max-width: 700px; margin: 55px auto; padding: clamp(24px,5vw,46px); }
.aff-gate-card > .aff-level-icon { margin-bottom: 23px; }
.aff-gate-card .aff-eyebrow { margin: 0 0 11px; }
.aff-gate-title { margin: 0; font: 750 clamp(28px,5vw,40px)/1.16 'Space Grotesk',sans-serif; letter-spacing: -.045em; }
.aff-gate-copy { max-width: 580px; margin: 12px 0 22px; color: #90919a; font-size: 13px; line-height: 1.75; }
.aff-status-panel { max-width: 720px; margin: 10px auto; }
.aff-status-panel h2 { margin: 17px 0 8px; font: 700 20px 'Space Grotesk',sans-serif; }
.aff-status-panel > p { max-width: 580px; margin: 0 0 19px; color: #91929a; font-size: 12px; line-height: 1.7; }
.aff-detail-line { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.06); color: #85868e; font-size: 11px; }
.aff-detail-line strong { color: #e4e4e8; text-align: right; }
.aff-apply-side h2 { margin: 10px 0; font: 650 16px 'Space Grotesk',sans-serif; }
.aff-apply-side > p { color: #93949c; font-size: 11px; line-height: 1.75; }
.aff-apply-side > p strong { color: #e5e4e9; }
.aff-apply-side .aff-inline-link { display: inline-block; margin-top: 8px; }
.aff-side-divider { height: 1px; margin: 18px 0; background: rgba(255,255,255,.07); }
.aff-account-row { display: flex; align-items: center; gap: 11px; margin: 19px 0 8px; }
.aff-account-avatar { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(174,174,174,.2); border-radius: 50%; color: #d2d2d2; background: rgba(139,139,139,.12); font-weight: 700; }
.aff-account-row strong,.aff-account-row small { display: block; }
.aff-account-row strong { font-size: 12px; }
.aff-account-row small { margin-top: 4px; color: #7c7d86; font-size: 10px; }
.aff-code-discount { margin-top: 13px; color: #83848c; font-size: 10px; }
.aff-code-discount strong { color: #bfbfbf; }
.aff-discord-note { display: flex; align-items: start; gap: 8px; color: #868790; font-size: 10px; line-height: 1.55; }
.aff-discord-note a { color: #bcbcbc; text-decoration: underline; text-underline-offset: 2px; }
.aff-discord-dot { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: #77ddad; box-shadow: 0 0 9px rgba(119,221,173,.5); }
.aff-payout-list { display: grid; gap: 8px; }
.aff-payout-item { padding: 0 13px; border: 1px solid rgba(255,255,255,.06); border-radius: 9px; background: rgba(0,0,0,.13); }
.aff-payout-item summary { display: flex; align-items: center; gap: 14px; min-height: 56px; cursor: pointer; list-style: none; }
.aff-payout-item summary::-webkit-details-marker { display: none; }
.aff-payout-item summary > span:first-child { flex: 1; }
.aff-payout-item summary > span:first-child strong,.aff-payout-item summary > span:first-child small { display: block; }
.aff-payout-item summary > span:first-child strong { color: #dddde2; font-size: 11px; }
.aff-payout-item summary > span:first-child small { margin-top: 4px; color: #787982; font-size: 9px; }
.aff-payout-item summary > strong { font-size: 12px; }
.aff-payout-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.055); color: #7d7e87; font-size: 10px; }
.aff-payout-detail strong { color: #c2c2c9; font-weight: 500; text-align: right; }
.aff-method-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 4px; }
.aff-method-option { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; min-height: 90px; padding: 12px; border: 1px solid rgba(255,255,255,.085); border-radius: 9px; background: rgba(0,0,0,.16); cursor: pointer; }
.aff-method-option:has(input:checked) { border-color: rgba(175,175,175,.45); background: rgba(141,141,141,.075); }
.aff-method-option input[type="radio"] { flex: 0 0 16px; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; accent-color: #9e9e9e; }
.aff-method-logo { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; object-fit: contain; }
.aff-method-option > span { flex: 1 1 75px; min-width: 0; }
.aff-method-option:focus-within { outline: 2px solid #bdbdbd; outline-offset: 3px; }
.aff-method-option strong,.aff-method-option small { display: block; }
.aff-method-option strong { color: #dedee4; font-size: 10px; }
.aff-method-option small { margin-top: 5px; color: #82838b; font-size: 9px; line-height: 1.4; }
.aff-method-option.is-disabled { opacity: .48; cursor: not-allowed; }
.aff-settings-grid { margin-top: 4px; }
.aff-settings-form { display: grid; gap: 18px; }

.aff-user-chip { display: inline-flex; align-items: center; gap: 8px; }
.aff-user-avatar { flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #f2f2f2; background: #202124; font: 700 12px/1 'Inter',ui-sans-serif,system-ui,sans-serif; }
.aff-user-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aff-user-avatar-small { width: 27px; height: 27px; font-size: 10px; }
.aff-user-avatar-large { width: 54px; height: 54px; font-size: 17px; }
.aff-account-row .aff-user-avatar { width: 36px; height: 36px; }
.aff-heading-with-avatar { display: flex; align-items: center; gap: 15px; }
.aff-heading-with-avatar > div:last-child { min-width: 0; }
.aff-heading-with-avatar h1 { overflow-wrap: anywhere; }
.aff-code-availability { min-height: 17px; margin: 1px 0 0; color: #8c8d94; font-size: 11px; }
.aff-code-availability.is-checking { color: #b8b8bd; }
.aff-code-availability.is-available { color: #b9e4ce; }
.aff-code-availability.is-unavailable { color: #efaaaa; }
.aff-directory-section { padding-block: 62px 72px; border-top: 1px solid rgba(255,255,255,.055); }
.aff-affiliate-directory { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; }
.aff-directory-card { min-width: 0; padding: 18px; border: 1px solid var(--aff-border); border-radius: 12px; background: linear-gradient(145deg,#17181b,#101113); }
.aff-directory-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.aff-directory-rank { color: #aeb0b5; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.aff-directory-avatar { width: 42px; height: 42px; font-size: 14px; }
.aff-directory-card h3 { margin: 14px 0 4px; font: 700 15px/1.3 'Space Grotesk',sans-serif; overflow-wrap: anywhere; }
.aff-directory-card > p { margin: 0; color: #85868d; font-size: 10px; }
.aff-directory-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 15px 0 13px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: rgba(0,0,0,.18); }
.aff-directory-code span { color: #808188; font-size: 9px; letter-spacing: .08em; }
.aff-directory-code strong { color: #f4f4f5; font: 700 12px 'Space Grotesk',sans-serif; letter-spacing: .1em; }
.aff-directory-card .aff-button { width: 100%; min-height: 39px; font-size: 11px; }
.aff-directory-empty { grid-column: 1 / -1; padding: 25px; border: 1px solid var(--aff-border); border-radius: 11px; color: #999aa0; background: rgba(255,255,255,.025); font-size: 12px; text-align: center; }

@media (max-width: 1180px) {
  .aff-site-links { display: none; }
  .aff-site-menu-toggle { display: grid; }
  .aff-site-mobile:not([hidden]) { display: grid; }
}
@media (max-width: 900px) {
  .aff-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px; }
  .aff-hero { min-height: 0; grid-template-columns: 1fr .8fr; gap: 24px; padding-block: 65px; }
  .aff-level-grid { grid-template-columns: repeat(3,1fr); }
  .aff-stats-grid { grid-template-columns: repeat(2,1fr); }
  .aff-dashboard-grid { grid-template-columns: 1fr; }
  .aff-progress-card { grid-column: auto; }
}
@media (max-width: 650px) {
  .aff-public-shell { width: calc(100% - 34px); }
  .aff-site-header { min-height: 66px; }
  .aff-site-nav { min-height: 65px; gap: 8px; padding-inline: 17px; }
  .aff-brand { gap: 9px; font-size: 13px; }
  .aff-brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .aff-site-actions { gap: 7px; }
  .aff-site-order,.aff-site-login,.aff-site-dashboard,.aff-site-username { display: none; }
  .aff-site-profile { padding: 3px; }
  .aff-site-cart,.aff-site-menu-toggle { width: 36px; height: 36px; }
  .aff-site-avatar { width: 28px; height: 28px; }
  .aff-site-mobile { padding-inline: 17px; }
  .aff-app-header { min-height: 66px; }
  .aff-hero { grid-template-columns: 1fr; padding-block: 57px 45px; }
  .aff-hero h1 { font-size: clamp(42px,12vw,60px); }
  .aff-lead { font-size: 14px; }
  .aff-hero-visual { min-height: 290px; }
  .aff-visual-card { width: min(100%,360px); }
  .aff-benefits-section,.aff-levels-section { padding-block: 45px 52px; }
  .aff-benefit-grid { grid-template-columns: repeat(2,1fr); gap: 9px; }
  .aff-benefit-card { min-height: 166px; padding: 16px; }
  .aff-benefit-card h3 { font-size: 12px; }
  .aff-benefit-card p { font-size: 10px; }
  .aff-level-grid { grid-template-columns: repeat(2,1fr); }
  .aff-cta-band { align-items: start; flex-direction: column; margin-bottom: 45px; padding: 23px; }
  .aff-public-footer { padding-block: 48px 26px; }
  .aff-footer-inner { width: calc(100% - 34px); }
  .aff-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; margin-bottom: 38px; }
  .aff-footer-about { grid-column: 1 / -1; }
  .aff-footer-contact { grid-column: 1 / -1; }
  .aff-legal-shell { padding-top: 46px; }
  .aff-legal-content section { padding: 18px; }
  .aff-legal-review { flex-direction: column; gap: 3px; }
  .aff-app-header { width: calc(100% - 30px); flex-wrap: wrap; padding-block: 13px; gap: 10px; }
  .aff-app-header nav { order: 3; width: 100%; overflow-x: auto; padding: 7px 0 3px; gap: 19px; white-space: nowrap; font-size: 11px; }
  .aff-user-chip { margin-left: auto; font-size: 10px; }
  .aff-app-shell { width: calc(100% - 30px); padding-top: 31px; }
  .aff-page-heading { align-items: start; flex-direction: column; }
  .aff-stats-grid { gap: 8px; }
  .aff-stat-card { min-height: 105px; padding: 14px; }
  .aff-stat-label { font-size: 8px; }
  .aff-stat-value { margin-top: 13px; font-size: 21px; }
  .aff-panel,.aff-code-card,.aff-progress-card { padding: 16px; }
  .aff-panel-heading { flex-direction: column; }
  .aff-range-tabs { align-self: stretch; justify-content: space-between; }
  .aff-range-tabs button { flex: 1; }
  .aff-progress-top { align-items: start; flex-direction: column; }
  .aff-progress-bottom { align-items: start; flex-direction: column; }
  .aff-form-grid,.aff-apply-layout { grid-template-columns: 1fr; }
  .aff-field-wide { grid-column: auto; }
  .aff-skeleton { grid-template-columns: repeat(2,1fr); }
  .aff-directory-section { padding-block: 45px 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Shared studio finish for the public program and affiliate workspace. */
.aff-public-page { background: radial-gradient(ellipse at 82% 8%,rgba(255,255,255,.045),transparent 34%),#050505; }
.aff-site-header { box-shadow: inset 0 1px rgba(255,255,255,.05),0 18px 46px rgba(0,0,0,.2); }
.aff-hero h1,.aff-page-heading h1 { font-weight: 600; letter-spacing: -.068em; text-wrap: balance; }
.aff-hero-copy { position: relative; }
.aff-hero-copy::before { content: ''; display: block; width: 28px; height: 1px; margin-bottom: 24px; background: #f2dfb4; box-shadow: 0 0 12px rgba(242,223,180,.4); }
.aff-hero-visual { filter: drop-shadow(0 35px 60px rgba(0,0,0,.35)); }
.aff-visual-card { box-shadow: inset 0 1px rgba(255,255,255,.15),0 34px 100px rgba(0,0,0,.58),0 0 45px rgba(255,255,255,.06); }
.aff-visual-chart i { background: linear-gradient(0deg,rgba(255,255,255,.18),#f4f4f4); }
.aff-benefit-card,.aff-level-card,.aff-directory-card,.aff-stat-card,.aff-panel,.aff-code-card,.aff-progress-card,.aff-legal-content section {
  box-shadow: inset 0 1px rgba(255,255,255,.09),0 20px 54px rgba(0,0,0,.19);
  transition: transform .32s cubic-bezier(.22,1,.36,1),border-color .32s ease,box-shadow .32s ease;
}
.aff-benefit-card:hover,.aff-level-card:hover,.aff-directory-card:hover,.aff-stat-card:hover,.aff-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.3);
  box-shadow: inset 0 1px rgba(255,255,255,.15),0 27px 64px rgba(0,0,0,.31),0 0 24px rgba(255,255,255,.045);
}
.aff-benefit-card h3,.aff-level-card h3,.aff-directory-card h3,.aff-panel-heading h2 { letter-spacing: -.045em; }
.aff-public-footer { border-top: 1px solid rgba(255,255,255,.13); }
.aff-app-shell { position: relative; }
.aff-app-shell::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 83% 3%,rgba(255,255,255,.065),transparent 39%),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size: auto,64px 64px,64px 64px; mask-image: linear-gradient(#000,transparent 85%); }
.aff-stat-card { background: radial-gradient(circle at 85% 0%,rgba(255,255,255,.075),transparent 42%),linear-gradient(145deg,#191a1d,#101113); }
.aff-stat-value { font-variant-numeric: tabular-nums; }
.aff-directory-code { border-color: rgba(255,255,255,.16); }
@media (prefers-reduced-motion: reduce) {
  .aff-benefit-card:hover,.aff-level-card:hover,.aff-directory-card:hover,.aff-stat-card:hover,.aff-panel:hover { transform: none; }
}

/* Motion and line icons shared by the program, terms and affiliate workspace. */
.aff-hero::before {
  background: radial-gradient(ellipse at var(--aff-pointer-x,80%) var(--aff-pointer-y,20%),rgba(255,255,255,.15),transparent 32%),
    radial-gradient(ellipse at 48% 55%,rgba(255,255,255,.07),transparent 40%),
    linear-gradient(rgba(255,255,255,.038) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.038) 1px,transparent 1px);
  background-size: auto,auto,56px 56px,56px 56px;
}
.aff-app-shell::before {
  background: radial-gradient(ellipse at var(--aff-pointer-x,83%) var(--aff-pointer-y,3%),rgba(255,255,255,.09),transparent 39%),
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size: auto,64px 64px,64px 64px;
}
.aff-hero-visual::before,.aff-hero-visual::after {
  content: '';
  position: absolute;
  width: min(110%,450px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.aff-hero-visual::before {
  background: repeating-conic-gradient(from 0deg,transparent 0deg 22deg,rgba(255,255,255,.055) 23deg 23.5deg,transparent 24deg 45deg);
  box-shadow: 0 0 90px rgba(255,255,255,.035),inset 0 0 60px rgba(255,255,255,.025);
  animation: aff-orbit 40s linear infinite;
}
.aff-hero-visual::after { width: min(90%,360px); border-color: rgba(255,255,255,.055); }
.aff-visual-glow { animation: aff-breathe 7s ease-in-out infinite; }
.aff-visual-card { z-index: 1; }
.aff-visual-chart i:nth-child(2n) { animation-delay: .1s; }
.aff-visual-chart i:nth-child(3n) { animation-delay: .2s; }
.aff-live-dot::before { animation: aff-live-pulse 2.6s ease-in-out infinite; }
@keyframes aff-orbit { to { transform: rotate(360deg); } }
@keyframes aff-breathe { 50% { opacity: .55; transform: scale(1.08); } }
@keyframes aff-live-pulse { 50% { box-shadow: 0 0 14px 3px rgba(103,220,168,.42); } }

.aff-benefit-icon,.aff-level-icon,.aff-level-card-icon,.aff-stat-icon {
  color: #e5e5e8;
  background: linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.025));
  border-color: rgba(255,255,255,.18);
}
.aff-benefit-icon svg,.aff-level-icon svg { width: 19px; height: 19px; }
.aff-benefit-card:hover .aff-benefit-icon svg { transform: translateY(-2px) scale(1.08); }
.aff-benefit-icon svg { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.aff-level-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.aff-level-card-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; }
.aff-level-card-icon svg { width: 16px; height: 16px; }
.aff-level-card:hover .aff-level-card-icon { border-color: rgba(255,255,255,.3); box-shadow: 0 0 20px rgba(255,255,255,.07); }
.aff-directory-rank { display: inline-flex; align-items: center; gap: 5px; }
.aff-directory-rank [data-aff-icon] { display: inline-flex; width: 14px; height: 14px; }
.aff-directory-rank svg { width: 14px; height: 14px; }
.aff-stat-card { position: relative; overflow: hidden; }
.aff-stat-label { display: block; max-width: calc(100% - 43px); }
.aff-stat-icon { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; }
.aff-stat-icon svg { width: 16px; height: 16px; }
.aff-stat-card:hover .aff-stat-icon { border-color: rgba(255,255,255,.3); box-shadow: 0 0 20px rgba(255,255,255,.06); }
.aff-footer-social a { gap: 7px; }
.aff-footer-social [data-aff-icon-ready] { display: inline-flex; width: 15px; height: 15px; }
.aff-footer-social svg { width: 15px; height: 15px; }
.aff-footer-social [data-aff-icon]:not([data-aff-icon-ready]) { display: none; }

.aff-motion-ready .aff-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--aff-reveal-delay,0ms);
}
.aff-motion-ready .aff-reveal.is-visible { opacity: 1; transform: translateY(0); }
.aff-motion-ready .aff-reveal.is-visible:is(.aff-benefit-card,.aff-level-card,.aff-directory-card,.aff-stat-card,.aff-panel,.aff-code-card,.aff-progress-card):hover { transform: translateY(-3px); }

@media (max-width: 650px) {
  .aff-hero-visual::before { width: min(105%,355px); }
  .aff-hero-visual::after { width: min(82%,280px); }
  .aff-stat-icon { top: 12px; right: 12px; width: 26px; height: 26px; }
  .aff-stat-icon svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .aff-motion-ready .aff-reveal { opacity: 1 !important; transform: none !important; }
  .aff-hero-visual::before,.aff-visual-glow,.aff-live-dot::before { animation: none !important; }
}

/* Warm gold highlights for affiliate rates and headings. */
.aff-hero h1 span,
.aff-section-heading h2,
.aff-cta-band h2,
.aff-benefit-card h3,
.aff-level-card h3,
.aff-directory-card h3,
.aff-page-heading h1,
.aff-panel-heading h2,
.aff-legal-shell h1 {
  color: #f2d18d;
  text-shadow: 0 0 16px rgba(239,188,86,.3),0 0 38px rgba(216,153,45,.13);
}
.aff-level-rate,
.aff-visual-amount,
.aff-visual-bottom b,
.aff-stat-value,
.aff-progress-count,
.aff-chart-totals strong,
.aff-threshold-number {
  color: #ffe4a3;
  text-shadow: 0 0 12px rgba(255,202,99,.5),0 0 30px rgba(237,171,53,.26);
}
.aff-level-card small,.aff-directory-rank { color: #d9b879; }
.aff-level-req strong { font-weight: 700; }
.aff-benefit-card:hover,.aff-level-card:hover {
  border-color: rgba(239,190,101,.43);
  box-shadow: inset 0 1px rgba(255,236,191,.14),0 27px 64px rgba(0,0,0,.31),0 0 26px rgba(231,165,56,.11);
}
.aff-level-card.is-current { border-color: rgba(239,190,101,.55); box-shadow: 0 0 27px rgba(229,169,66,.11),inset 0 0 20px rgba(239,190,101,.04); }
:root .aff-submitted-check{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;color:#64d994;background:rgba(100,217,148,.12);border:1px solid rgba(100,217,148,.4);font-size:34px;margin-bottom:24px}
