/* /affiliates — the affiliate program: premium dark hero (like /schools and /pricing), numbers strip, dashboard for
   affiliates, steps, earnings calculator, join card, FAQ. */
.af { --gold: #fbbf24; --gold-2: #f59e0b; --deep: #120b1f; --deep-2: #1d1235; --edge: rgba(255, 255, 255, .12); }
.af h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.015em; line-height: 1.12; margin: 0; }
.af-btn-gold { background: linear-gradient(180deg, #fcd34d 0%, var(--gold-2) 100%); color: #2a1a03; border: 0; font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 26px rgba(245, 158, 11, .32); }
.af-btn-gold:hover { color: #2a1a03; filter: brightness(1.05); transform: translateY(-1px); }
.af-btn-line { color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; }
.af-btn-line:hover { color: #fff; border-color: #fff; }

/* ---- hero ---- */
.af-hero { position: relative; overflow: hidden; color: #ece6fa; padding: 70px 0 84px; background: linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 55%, #2a1950 100%); }
.af-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); }
.af-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.af-glow-a { width: 560px; height: 560px; right: -120px; top: -180px; background: rgba(139, 92, 246, .45); }
.af-glow-b { width: 420px; height: 420px; left: -160px; bottom: -160px; background: rgba(245, 158, 11, .14); }
.af-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; }
.af-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--edge); color: #d9cff3; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.af-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.af-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; margin: 20px 0 18px; }
.af-grad { background: linear-gradient(92deg, #c4b5fd 0%, #e9d5ff 35%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.af-lead { color: #c9bfe0; font-size: 1.14rem; line-height: 1.65; margin: 0 0 26px; max-width: 540px; }
.af-lead b { color: #fff; font-weight: 600; }
.af-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.af-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #c9bfe0; font-size: .92rem; }
.af-ticks li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 7px; }
.af-ticks-dark { color: var(--ink-soft); }
.af-ticks-dark li::before { color: var(--violet-strong); }

.af-mock { position: relative; padding: 20px 10px; }
.af-mock-card { position: relative; padding: 24px; border-radius: 22px; background: #fff; color: var(--ink); transform: rotate(1.5deg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 90px rgba(139, 92, 246, .25); }
.af-mock-card::before { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(251, 191, 36, .9), rgba(167, 139, 250, .5) 45%, rgba(255, 255, 255, 0) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.af-mock-top { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.af-mock-top em { font-style: normal; color: #b08a1e; }
.af-mock-link { margin: 10px 0 18px; padding: 12px 14px; border-radius: 12px; background: #f6f2fd; border: 1px dashed #c9b8f0; font-size: 1.02rem; color: var(--ink-soft); }
.af-mock-link b { color: var(--violet-strong); }
.af-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.af-mock-stats div { padding: 12px; border-radius: 12px; background: #faf7ff; border: 1px solid var(--line); }
.af-mock-stats b { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.af-mock-stats span { font-size: .78rem; color: var(--ink-soft); }
.af-mock-earn { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, var(--deep-2), #2a1950); color: #d9cff3; }
.af-mock-earn b { color: var(--gold); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.af-mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-top: 14px; }
.af-mock-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.af-mock-bars i:nth-child(1) { height: 18%; } .af-mock-bars i:nth-child(2) { height: 28%; } .af-mock-bars i:nth-child(3) { height: 36%; }
.af-mock-bars i:nth-child(4) { height: 50%; } .af-mock-bars i:nth-child(5) { height: 62%; } .af-mock-bars i:nth-child(6) { height: 78%; }
.af-mock-bars i:nth-child(7) { height: 100%; background: linear-gradient(180deg, #fcd34d, var(--gold-2)); }
.af-chip { position: absolute; padding: 9px 14px; border-radius: 999px; background: rgba(29, 18, 53, .92); border: 1px solid var(--edge); color: #fff; font-size: .86rem; font-weight: 600;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35); white-space: nowrap; }
.af-chip-a { left: -14px; top: 0; }
.af-chip-b { right: -6px; bottom: -4px; color: #fde68a; }

/* ---- numbers strip ---- */
.af-strip { background: #fff; border-bottom: 1px solid var(--line); }
.af-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.af-strip-grid > div { padding: 26px 18px; text-align: center; }
.af-strip-grid > div + div { border-left: 1px solid var(--line); }
.af-strip b { display: block; font-size: 1.7rem; letter-spacing: -.02em; color: var(--ink); }
.af-strip-grid > div > span { color: var(--ink-soft); font-size: .9rem; }

/* ---- sections ---- */
.af-section { padding: 80px 0; }
.af-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.af-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.af-steps li { padding: 28px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(40, 20, 80, .05); }
.af-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--deep-2); color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; }
.af-steps h3 { margin: 0 0 8px; font-size: 1.2rem; }
.af-steps p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.af-calc-wrap { background: linear-gradient(180deg, #f3eefc, #ece4f9); }
.af-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.af-calc .lead { font-size: 1.05rem; margin: 14px 0 22px; }
.af-calc-in label { display: block; font-weight: 600; margin-bottom: 10px; }
.af-calc-in input[type=range] { width: 100%; accent-color: var(--violet-strong); }
.af-seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.af-seg label { position: relative; cursor: pointer; margin: 0; }
.af-seg input { position: absolute; opacity: 0; pointer-events: none; }
.af-seg span { display: block; padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.af-seg input:checked + span { background: var(--deep-2); color: #fff; }
.af-seg input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.af-calc-out { padding: 28px; border-radius: 22px; background: linear-gradient(160deg, var(--deep) 0%, #2a1950 100%); color: #d9cff3; box-shadow: 0 30px 70px rgba(40, 20, 80, .3); }
.af-calc-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.af-calc-row b { color: #fff; font-variant-numeric: tabular-nums; }
.af-calc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; }
.af-calc-total b { color: var(--gold); font-size: 2.2rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.af-bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; margin-top: 10px; }
.af-bars i { flex: 1; min-height: 3px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #c4b5fd, #7c3aed); transition: height .3s; }
.af-bars i:last-child { background: linear-gradient(180deg, #fcd34d, var(--gold-2)); }
.af-calc-note { margin: 14px 0 0; font-size: .82rem; color: #a99cc8; }

.af-who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.af-who > div { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.af-who b { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.af-who p { margin: 0; color: var(--ink-soft); line-height: 1.55; font-size: .95rem; }

.af-join-wrap { background: linear-gradient(160deg, var(--deep) 0%, #2a1950 100%); color: #ece6fa; position: relative; overflow: hidden; }
.af-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.af-join-copy h2 { color: #fff; margin: 0 0 12px; }
.af-join-copy p { color: #c9bfe0; font-size: 1.08rem; line-height: 1.6; }
.af-join-copy .eyebrow { color: var(--gold); }
.af-join-copy .af-ticks { color: #c9bfe0; }
.af-join-copy .af-ticks li::before { color: var(--gold); }
.af-join-card { padding: 30px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.af-join-card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.af-join-card p { color: var(--ink-soft); margin: 0 0 18px; line-height: 1.55; }
.af-gap { margin-top: 10px; }
.af-who-am { font-size: .92rem; }
.af-join-card .field { margin-bottom: 14px; }
.af-join-card .field label { font-size: .9rem; margin-bottom: 6px; }
.af-join-card .field input { padding: 0 13px; height: 46px; border-radius: 12px; }
.af textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border-radius: 12px; border: 1.5px solid #d9d1e6; background: #fff; color: var(--ink); resize: vertical; }
.af textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.af-opt, .af-req { font-weight: 400; color: #9a90ad; font-size: .8rem; margin-left: 4px; }
.af-agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.af-agree input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--violet-strong); flex: none; }
.af-agree.invalid { color: var(--bad); }
.af-agree a { color: var(--violet-strong); }

/* ---- dashboard ---- */
.af-dash-wrap { background: var(--paper); padding-top: 56px; }
.af-dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.af-dash-head .eyebrow { margin-bottom: .4rem; }
.af-status { padding: 6px 14px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 600; font-size: .85rem; }
.af-status.paused { background: #fef3c7; color: #92400e; }
.af-linkbox { padding: 22px 24px; border-radius: 20px; background: linear-gradient(160deg, var(--deep) 0%, #2a1950 100%); color: #d9cff3; margin-bottom: 18px; }
.af-linkbox label { display: block; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; color: #c4b5fd; }
.af-linkrow { display: flex; gap: 10px; flex-wrap: wrap; }
.af-linkrow input { flex: 1 1 280px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08);
  color: #fff; font: inherit; font-size: 1.05rem; }
.af-linkrow .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.af-hint { margin: 12px 0 0; font-size: .86rem; color: #a99cc8; }
.af-hint code { color: #fde68a; background: rgba(255, 255, 255, .06); padding: 1px 6px; border-radius: 6px; }
.af-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.af-card { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.af-card span { display: block; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.af-card b { display: block; font-size: 1.6rem; letter-spacing: -.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.af-card small { color: #9a90ad; font-size: .76rem; line-height: 1.35; display: block; }
.af-card-hi { background: #fffbeb; border-color: #f5d79e; }
.af-card-hi b { color: #92400e; }
.af-dash-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.af-panel { padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.af-panel h3 { margin: 0 0 14px; font-size: 1.15rem; }
.af-table { display: grid; }
.af-tr { display: grid; grid-template-columns: 1.3fr 1fr .8fr .8fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; align-items: center; }
.af-th { font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.af-tr .r { text-align: right; font-variant-numeric: tabular-nums; }
.af-plan { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #f3eefb; color: var(--ink-soft); }
.af-plan.pro { background: #fef3c7; color: #92400e; }
.af-plan.basic { background: #ede9fe; color: #5b21b6; }
.af-empty { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; margin: 6px 0 0; }
.af-paypal { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 8px; }
.af-paypal .field { flex: 1; margin: 0; }
.af-paypal .field input { height: 44px; padding: 0 12px; }
.af-payouts { margin-top: 14px; }
.af-payouts div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }

.af-faq-wrap .faq { margin-top: 0; }
.af-contact { text-align: center; color: var(--ink-soft); margin-top: 20px; }
.af-contact a { color: var(--violet-strong); font-weight: 600; }

@media (max-width: 1000px) {
  .af-cards { grid-template-columns: repeat(3, 1fr); }
  .af-who { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .af-hero { padding: 48px 0 60px; }
  .af-hero-grid, .af-calc, .af-join, .af-dash-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .af-mock { max-width: 440px; }
  .af-steps { grid-template-columns: 1fr; }
  .af-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .af-strip-grid > div:nth-child(3) { border-left: 0; }
  .af-strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .af-section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .af-cards, .af-who { grid-template-columns: repeat(2, 1fr); }
  .af-chip-a { left: 0; }
  .af-tr { grid-template-columns: 1.2fr 1fr .9fr; }
  .af-tr > :nth-child(2) { display: none; }
  .af-join-card { padding: 24px 18px; }
  .af-paypal { flex-direction: column; align-items: stretch; }
}

/* ---- admin ---- */
.af-cards-4 { grid-template-columns: repeat(4, 1fr); }
.af-admin { display: grid; margin-top: 12px; overflow-x: auto; }
.af-ar { display: grid; grid-template-columns: 1.8fr .9fr .7fr .7fr .7fr 1.6fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: .92rem; min-width: 820px; }
.af-ar small { display: block; color: var(--ink-soft); font-size: .8rem; }
.af-mono { overflow-wrap: anywhere; }
.af-due { color: #92400e; }
.af-act { display: flex; gap: 8px; justify-content: flex-end; }
.af-act .btn { padding: 8px 14px; font-size: .88rem; }
@media (max-width: 560px) { .af-cards-4 { grid-template-columns: repeat(2, 1fr); } }

/* ============ /affiliates/dashboard ============ */
.ad { background: var(--paper); }
.ad-top { position: relative; overflow: hidden; color: #ece6fa; padding: 48px 0 110px; background: linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 55%, #2a1950 100%); }
.ad-top::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); }
.ad-top-grid { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.ad-top h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.025em; margin: 16px 0 10px; }
.ad-sub { display: flex; align-items: center; gap: 14px; margin: 0; color: #b9addb; font-size: .95rem; }
.ad-payout { min-width: 280px; padding: 20px 24px; border-radius: 20px; background: linear-gradient(135deg, rgba(251, 191, 36, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(251, 191, 36, .45); display: grid; gap: 2px; }
.ad-payout-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fde68a; }
.ad-payout b { font-size: 2.6rem; letter-spacing: -.02em; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.1; }
.ad-payout > span:not(.ad-payout-label) { color: #fff; font-weight: 600; }
.ad-payout small { color: #b9addb; font-size: .85rem; overflow-wrap: anywhere; }
.ad-payout.low b { color: #fde68a; opacity: .8; }
.ad-body { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 80px; display: grid; gap: 18px; }
.ad-link { margin: 0; box-shadow: 0 30px 70px rgba(20, 8, 50, .35); border: 1px solid rgba(255, 255, 255, .1); }
.ad-kpis { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.ad-kpis .af-card b { font-size: 1.45rem; }
.ad-kpi-hi { background: #f5f0ff; border-color: #d9c9fb; }
.ad-kpi-hi b { color: var(--violet-strong); }
.ad-kpi-gold { background: #fffbeb; border-color: #f5d79e; }
.ad-kpi-gold b { color: #92400e; }
.ad-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.ad-chart-head h3 { margin: 0; }
.ad-tabs { margin-top: 0; }
.ad-tabs span { padding: 7px 12px; font-size: .85rem; }
.ad-chart-total { margin: 14px 0 8px; color: var(--ink-soft); }
.ad-chart-total b { font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; margin-right: 6px; font-variant-numeric: tabular-nums; }
.ad-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; height: 230px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.ad-col { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.ad-barwrap { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: 0; }
.ad-barwrap i { width: 100%; max-width: 46px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, #c4b5fd, #7c3aed); transition: height .35s; }
.ad-col.now .ad-barwrap i { background: linear-gradient(180deg, #fcd34d, var(--gold-2)); }
.ad-val { font-size: .72rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ad-mo { text-align: center; font-size: .78rem; color: var(--ink-soft); padding: 8px 0 6px; }
.ad-col.now .ad-mo { color: var(--ink); font-weight: 700; }
.ad-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.ad-rule { margin: -4px 0 12px; }
.ad-pt { grid-template-columns: 1.3fr .8fr 1fr 1fr; }
.ad-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #f3eefb; color: var(--ink-soft); }
.ad-badge.ok { background: #dcfce7; color: #166534; }
.ad-badge.due { background: #fef3c7; color: #92400e; }
.ad-badge.sched { background: #ede9fe; color: #5b21b6; }
.ad-badge.live { background: #e0f2fe; color: #075985; }
.ad-h3-gap { margin-top: 22px !important; }
.ad-help { margin: 16px 0 0; font-size: .9rem; color: var(--ink-soft); }
.ad-help a { color: var(--violet-strong); font-weight: 600; }
.ad-join { text-align: center; padding: 36px 24px; }
.ad-join .af-empty { max-width: 520px; margin: 0 auto 18px; }
@media (max-width: 1100px) { .ad-kpis { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .ad-grid { grid-template-columns: minmax(0, 1fr); } .ad-payout { width: 100%; } }
@media (max-width: 560px) {
  .ad-kpis { grid-template-columns: repeat(2, 1fr); }
  .ad-chart { gap: 3px; height: 190px; }
  .ad-val { display: none; }
  .ad-mo { font-size: .66rem; }
  .ad-pt { grid-template-columns: 1.2fr .8fr 1fr; }
  .ad-pt > :nth-child(3) { display: none; }
}
.ad-tabs { grid-template-columns: repeat(4, auto); }
@media (max-width: 560px) { .ad-tabs { grid-template-columns: repeat(2, auto); } }

/* tax form banner (dashboard) + admin tax column */
.ad-tax { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; background: #fffbeb; border: 1px solid #f5d79e; }
.ad-tax-icon { font-size: 1.8rem; }
.ad-tax-text { flex: 1; }
.ad-tax-text b { color: #5a3d00; }
.ad-tax-text p { margin: 4px 0 0; color: #6b4a06; font-size: .93rem; line-height: 1.55; }
.ad-tax-text a { color: #92400e; font-weight: 600; }
.ad-tax-alt { font-size: .85rem !important; opacity: .85; }
.ad-taxok { margin: 10px 0 0; color: #166534; font-weight: 600; font-size: .92rem; }
.af-tax { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.af-linkish { border: 0; background: none; padding: 0; font: inherit; font-size: .8rem; color: var(--violet-strong); cursor: pointer; text-decoration: underline; }
.af-rr { grid-template-columns: 1.6fr 1fr 1fr 1fr .8fr; min-width: 600px; }
@media (max-width: 700px) { .ad-tax { flex-direction: column; align-items: flex-start; } }

/* ============ /affiliates/kit ============ */
.kit-top { padding-bottom: 100px; }
.kit-top .ad-sub { margin-top: 4px; }
.kit-light { color: #fde68a; font-weight: 600; }
.kit-intro { margin: -6px 0 14px; }
.kit-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kit-post { padding: 16px 18px; border-radius: 16px; background: #faf7ff; border: 1px solid var(--line); }
.kit-post-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.kit-copy { padding: 6px 14px; font-size: .85rem; }
.kit-text { margin: 0; white-space: pre-wrap; color: #3a3150; font-size: .93rem; line-height: 1.55; }
.kit-list { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: #3a3150; line-height: 1.55; font-size: .95rem; }
.kit-rules { list-style: none; padding: 0; }
.kit-rules li { padding-left: 26px; position: relative; }
.kit-rules li::before { position: absolute; left: 0; font-weight: 700; }
.kit-rules .ok::before { content: "✓"; color: #16a34a; }
.kit-rules .no::before { content: "✕"; color: #dc2626; }
.kit-media { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kit-shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.kit-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #f3eefb; }
.kit-logo img { object-fit: contain; padding: 22px; }
.kit-shot span { display: block; padding: 8px 10px; font-size: .82rem; font-weight: 600; }
.kit-shot:hover { border-color: var(--violet-soft); }
@media (max-width: 900px) { .kit-posts { grid-template-columns: 1fr; } .kit-media { grid-template-columns: repeat(2, 1fr); } }

/* ---- refer a school ---- */
.af-schools { background: #fff; }
.af-sch { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; }
.af-sch-copy h2 { margin: 0 0 14px; }
.af-sch-copy .lead { font-size: 1.05rem; margin: 0 0 18px; }
.af-sch-copy .lead b { color: var(--ink); }
.af-sch-steps { margin: 0 0 24px; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-soft); line-height: 1.55; }
.af-sch-steps b { color: var(--ink); }
.af-sch-card { padding: 26px; border-radius: 22px; background: linear-gradient(160deg, var(--deep) 0%, #2a1950 100%); color: #d9cff3; box-shadow: 0 30px 70px rgba(40, 20, 80, .3); }
.af-sch-title { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fde68a; }
.af-sch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.af-sch-row b { display: block; color: #fff; }
.af-sch-row span { font-size: .85rem; color: #a99cc8; }
.af-sch-row strong { font-size: 1.4rem; color: #fff; font-variant-numeric: tabular-nums; }
.af-sch-big strong { color: var(--gold); font-size: 1.7rem; }
.af-sch-note { margin: 12px 0 0; font-size: .82rem; color: #a99cc8; }
@media (max-width: 900px) { .af-sch { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.ad-mono { font-family: ui-monospace, monospace; color: var(--violet-strong); font-size: .9em; }
.ad-sub2 { color: var(--ink-soft); font-weight: 400; font-size: .82rem; }
.af-sale { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; gap: 10px; align-items: end; margin: 6px 0 10px; }
.af-sale .field { margin: 0; }
.af-sale .field input { height: 44px; padding: 0 12px; }
.af-sr { grid-template-columns: 1.8fr .7fr .8fr 1.2fr .8fr 1fr; min-width: 760px; }
@media (max-width: 700px) { .af-sale { grid-template-columns: 1fr; } }

/* higher rates: the ladder, progress meters and applying */
.ad-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.ad-tier { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #faf8fe; display: flex; flex-direction: column; gap: 2px; }
.ad-tier-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ad-tier-name { font-weight: 600; }
.ad-tier-tag { font-size: .78rem; font-weight: 600; color: #6d28d9; }
.ad-tier-rate { font-size: 2rem; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ad-tier small { color: #6b6280; font-size: .85rem; }
.ad-tier.reached .ad-tier-tag { color: #15803d; }
.ad-tier.current { background: #fffbeb; border-color: #f5d79e; box-shadow: 0 0 0 2px #fcd34d inset; }
.ad-tier.current .ad-tier-tag { color: #92400e; }
.ad-tier.current .ad-tier-rate { color: #92400e; }
.ad-progress { margin-bottom: 18px; }
.ad-progress-title { margin: 0 0 10px; font-weight: 600; }
.ad-meter { margin-bottom: 10px; }
.ad-meter-top { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; margin-bottom: 5px; }
.ad-meter-top b { font-variant-numeric: tabular-nums; }
.ad-meter-bar { height: 10px; border-radius: 99px; background: #eee9f7; overflow: hidden; }
.ad-meter-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, #fbbf24); transition: width .5s ease; }
.ad-meter-note { margin: 4px 0 0; font-size: .85rem; color: #6b6280; }
.ad-meter-note.bad { color: #b91c1c; }
.ad-apply-warn { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #fdba74; margin-bottom: 14px; }
.ad-apply-warn p { margin: 0; line-height: 1.5; }
.ad-apply-warn-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f97316; color: #fff; font-weight: 700; }
.ad-apply textarea { width: 100%; resize: vertical; }
.ad-opt { font-weight: 400; color: #6b6280; }
.ad-apply-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.ad-apply-row .btn { flex: none; }
.ad-apply-how { flex: 1 1 260px; font-size: .88rem; color: #6b6280; }
.ad-apply-status { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; line-height: 1.5; }
.ad-apply-status.ok { background: #f0fdf4; border: 1px solid #86efac; color: #14532d; }
.ad-apply-status.wait { background: #f5f3ff; border: 1px solid #c4b5fd; color: #3b0764; }
.ad-apply-status.no { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; }
.ad-apply .alert { margin-top: 10px; }

/* ============ 2026-11-11 affiliate landing (its own mini-site): sub-nav, video hero, worth table, playbook, levels, tools ============ */
.af .eyebrow { color: var(--violet-strong, #6d28d9); }
.ap-nav { position: sticky; top: 72px; z-index: 15; background: rgba(18, 11, 31, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ap-nav-in { display: flex; align-items: center; gap: 24px; height: 58px; }
.ap-nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.ap-nav-brand b { color: var(--gold); }
.ap-nav-links { display: flex; gap: 22px; margin-left: 14px; overflow-x: auto; scrollbar-width: none; }
.ap-nav-links a { color: #c9bfe0; text-decoration: none; font-size: .92rem; white-space: nowrap; }
.ap-nav-links a:hover, .ap-nav-links a.on { color: #fff; }
.ap-nav-cta { margin-left: auto; padding: 8px 18px; font-size: .9rem; white-space: nowrap; }
html { scroll-padding-top: 140px; }
.ap-hero { padding: 64px 0 80px; }
.ap-video { position: relative; border-radius: 22px; padding: 8px; background: linear-gradient(135deg, rgba(167, 139, 250, .5), rgba(251, 191, 36, .35)); box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 80px rgba(139, 92, 246, .25); }
.ap-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0d0a16; }
.ap-video-tag { position: absolute; left: 22px; top: -14px; padding: 6px 14px; border-radius: 99px; background: var(--gold); color: #2a1a03; font-size: .8rem; font-weight: 700; box-shadow: 0 8px 20px rgba(245, 158, 11, .35); }
.ap-strip b { color: var(--deep-2); }
.ap-sub { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; margin: 14px auto 0; max-width: 640px; }
.ap-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.ap-steps li { padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(40, 20, 80, .05); position: relative; }
.ap-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 38px; color: #c4b5fd; font-weight: 700; z-index: 1; }
.ap-steps h3 { margin: 0 0 8px; font-size: 1.15rem; } .ap-steps p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: .95rem; }
/* worth table */
.ap-worth-wrap { background: #fff; }
.ap-worth { max-width: 900px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(40, 20, 80, .08); }
.ap-worth-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; align-items: center; }
.ap-worth-row > span { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ap-worth-row:last-child > span { border-bottom: 0; }
.ap-worth-row > span:not(:first-child) { text-align: center; }
.ap-worth-row b { display: block; font-size: 1.05rem; } .ap-worth-row small { color: var(--ink-soft); font-size: .82rem; }
.ap-worth-row > span:not(:first-child) b { font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ap-worth-head > span { background: var(--deep); color: #d9cff3; font-weight: 600; font-size: .9rem; padding: 14px 22px; }
.ap-worth-head em { font-style: normal; display: block; color: #fff; font-size: 1.2rem; font-weight: 700; }
.ap-worth-head .ap-elite em { color: var(--gold); }
.ap-worth-row .ap-elite { background: #fffbeb; } .ap-worth-head .ap-elite { background: #2a1950; }
.ap-worth-row .ap-elite b { color: #92400e; }
/* calculator */
.ap-calc-in { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.ap-calc-in label[for] { font-weight: 600; } .ap-calc-in input[type=range] { width: 100%; accent-color: #7c3aed; }
.ap-calc-in .af-seg { margin: 4px 0 8px; }
.ap-level span { white-space: nowrap; }
/* schools: two rate columns */
.ap-sch-head { display: grid; grid-template-columns: 1fr 86px 86px; font-size: .78rem; color: #a99cc8; font-weight: 700; letter-spacing: .06em; }
.ap-sch-head span:not(:first-child) { text-align: right; }
.af-schools .af-sch-row { display: grid; grid-template-columns: 1fr 86px 86px; }
.af-schools .af-sch-row strong { text-align: right; font-size: 1.25rem; }
.af-sch-row strong.ap-g { color: var(--gold); }
/* the job */
.ap-job-wrap { background: linear-gradient(180deg, #faf7ff, #f3eefc); }
.ap-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ap-day { padding: 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(40, 20, 80, .05); }
.ap-day > span { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--deep-2); padding: 4px 10px; border-radius: 8px; }
.ap-day h3 { margin: 12px 0 6px; font-size: 1.05rem; line-height: 1.3; } .ap-day p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.ap-day-g { background: #fffbeb; border-color: #f5d79e; } .ap-day-g > span { background: var(--gold-2); color: #2a1a03; }
.ap-who { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; }
.ap-who div { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px dashed #d8ccf2; }
.ap-who b { display: block; font-size: .95rem; } .ap-who span { color: var(--ink-soft); font-size: .85rem; }
/* levels */
.ap-levels-wrap { background: linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 60%, #2a1950 100%); color: #d9cff3; }
.ap-levels-wrap h2 { color: #fff; } .ap-levels-wrap .ap-sub { color: #b9aed4; } .ap-levels-wrap .eyebrow { color: #fde68a; }
.ap-levels { display: flex; align-items: stretch; justify-content: center; gap: 14px; }
.ap-level-card { flex: 1; max-width: 280px; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.ap-level-card b { display: block; font-size: 3rem; color: #fff; letter-spacing: -.03em; margin: 6px 0; }
.ap-level-card p { margin: 0; font-size: .92rem; } .ap-level-card p b { display: inline; font-size: inherit; margin: 0; letter-spacing: 0; color: #fff; }
.ap-lv-name { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c4b5fd; }
.ap-level-elite { background: linear-gradient(180deg, rgba(251, 191, 36, .16), rgba(251, 191, 36, .05)); border-color: rgba(251, 191, 36, .5); }
.ap-level-elite b, .ap-level-elite .ap-lv-name { color: var(--gold) !important; }
.ap-level-arrow { align-self: center; color: #a78bfa; font-size: 1.6rem; }
.ap-levels-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.ap-levels-how div { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); font-size: .92rem; line-height: 1.55; }
.ap-levels-how b { color: #fff; }
/* tools */
.ap-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ap-tools-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; }
.ap-tools-list li { padding-left: 30px; position: relative; color: var(--ink-soft); line-height: 1.6; }
.ap-tools-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #ede9fe; color: #6d28d9; font-weight: 800; font-size: .8rem; display: grid; place-items: center; margin-top: 3px; }
.ap-tools-list b { color: var(--ink); }
.ap-dash { padding: 24px; border-radius: 22px; background: linear-gradient(160deg, var(--deep) 0%, #2a1950 100%); color: #d9cff3; box-shadow: 0 30px 70px rgba(40, 20, 80, .3); }
.ap-dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .ap-dash-top b { color: #fff; }
.ap-dash-top em { font-style: normal; font-size: .75rem; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.ap-dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ap-dash-kpis div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.ap-dash-kpis span { font-size: .75rem; color: #a99cc8; } .ap-dash-kpis b { display: block; font-size: 1.3rem; color: #fff; }
.ap-dash-kpis .g b { color: var(--gold); }
.ap-dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin: 18px 0 14px; }
.ap-dash-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #a78bfa, #5b21b6); }
.ap-dash-bars i:last-child { background: linear-gradient(180deg, #fde68a, #f59e0b); }
.ap-dash-pay { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); }
.ap-dash-pay b { color: var(--gold); }
/* honest */
.ap-honest { max-width: 780px; margin: 0 auto; padding: 34px 38px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.ap-honest p { color: var(--ink-soft); line-height: 1.7; margin: 12px 0 0; } .ap-fine { font-size: .88rem; }
.af-faq summary > span { flex: 1; }
@media (max-width: 1000px) {
  .ap-steps { grid-template-columns: repeat(2, 1fr); } .ap-steps li::after { display: none; }
  .ap-week, .ap-who { grid-template-columns: repeat(2, 1fr); } .ap-tools { grid-template-columns: minmax(0, 1fr); }
  .ap-levels-how { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ap-nav { top: 72px; } .ap-nav-links { display: none; } .ap-nav-in { height: 52px; }
  .ap-strip-grid { grid-template-columns: repeat(2, 1fr); } .ap-strip-grid > div:nth-child(3) { border-left: 0; }
  .ap-worth-row { grid-template-columns: 1.1fr 1fr 1fr 1fr; } .ap-worth-row > span { padding: 12px 8px; } .ap-worth-row > span:not(:first-child) b { font-size: 1.1rem; }
  .ap-worth-head > span { padding: 10px 8px; font-size: .75rem; }
  .ap-levels { flex-direction: column; align-items: stretch; } .ap-level-card { max-width: none; } .ap-level-arrow { transform: rotate(90deg); }
  .ap-week, .ap-who { grid-template-columns: 1fr; } .ap-steps { grid-template-columns: 1fr; }
  .ap-dash-kpis { grid-template-columns: repeat(2, 1fr); } .ap-honest { padding: 24px 20px; }
  .af-schools .af-sch-row, .ap-sch-head { grid-template-columns: 1fr 64px 70px; }
}
.ap-dash-bars i:nth-child(1) { height: 28%; } .ap-dash-bars i:nth-child(2) { height: 38%; } .ap-dash-bars i:nth-child(3) { height: 45%; } .ap-dash-bars i:nth-child(4) { height: 55%; }
.ap-dash-bars i:nth-child(5) { height: 60%; } .ap-dash-bars i:nth-child(6) { height: 70%; } .ap-dash-bars i:nth-child(7) { height: 76%; } .ap-dash-bars i:nth-child(8) { height: 84%; }
.ap-dash-bars i:nth-child(9) { height: 90%; } .ap-dash-bars i:nth-child(10) { height: 100%; }
.ap-worth-head > span:first-child { background: #fff; }
.ap-level { display: grid !important; grid-template-columns: repeat(3, 1fr); }
.ap-level label span { display: block; text-align: center; }

/* ---- dashboard cleanup (2026-11-11): 4 money cards + funnel, eligible box, referral filters, roomier payout form ---- */
.ad-kpis { grid-template-columns: repeat(4, 1fr); }
.ad-kpis .af-card b { font-size: 1.9rem; letter-spacing: -.02em; }
.ad-kpis .af-card > span { white-space: nowrap; }
.ad-funnel { display: flex; align-items: stretch; gap: 10px; margin-top: 12px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.ad-funnel > div { flex: 1; padding: 6px 12px; }
.ad-funnel > div > span { display: block; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.ad-funnel b { display: block; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ad-funnel small { color: var(--ink-soft); font-size: .8rem; }
.ad-funnel > i { align-self: center; font-style: normal; color: #c4b5fd; font-size: 1.3rem; font-weight: 700; }
.ad-apply-ok { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #f0fdf4; border: 1px solid #86efac; margin-bottom: 14px; }
.ad-apply-ok p { margin: 0; line-height: 1.5; color: #14532d; }
.ad-apply-warn-icon.ok { background: #16a34a; }
.ad-refs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ad-refs-head h3 { margin: 0; }
.ad-ref-tabs { margin: 0 !important; } .ad-ref-tabs em { font-style: normal; opacity: .65; margin-left: 4px; }
.ad-more { margin-top: 12px; }
.af-paypal { flex-direction: column; align-items: stretch !important; }
.ad-pp-row { display: flex; gap: 10px; align-items: flex-end; }
.ad-pp-row .field { flex: 1; margin: 0; }
.ad-pp-row select { height: 44px; }
@media (max-width: 760px) {
  .ad-kpis { grid-template-columns: repeat(2, 1fr); } .ad-kpis .af-card b { font-size: 1.45rem; }
  .ad-funnel { flex-direction: column; } .ad-funnel > i { transform: rotate(90deg); align-self: flex-start; margin-left: 16px; }
}
.ad-ref-tabs { grid-template-columns: repeat(3, auto) !important; }
.ad-lc { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, 1fr); gap: 14px; align-items: end; }
.ad-lc label { display: block; }
.ad-lc-or { padding-bottom: 12px; color: #a99cc8; font-weight: 600; font-size: .9rem; }
.ad-code-in { font-weight: 800; letter-spacing: .12em; text-align: center; font-size: 1.1rem !important; }
@media (max-width: 760px) { .ad-lc { grid-template-columns: minmax(0, 1fr); } .ad-lc-or { padding: 0; text-align: center; } }
@media (min-width: 761px) { .ad-lc .af-linkrow { flex-wrap: nowrap; } .ad-lc .af-linkrow input { min-width: 0; flex: 1; } .ad-lc .af-linkrow .btn { flex: none; } }
.ad-cash-state { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #faf7ff; border: 1px solid var(--line); }
.ad-cash-state b { display: block; font-size: 1.02rem; } .ad-cash-state p { margin: 6px 0 12px; color: var(--ink-soft); line-height: 1.55; font-size: .93rem; }
.ad-cash-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: 1.15rem; }
.ad-cash-icon.ok { background: #dcfce7; color: #15803d; font-weight: 800; border-color: #86efac; }
.ad-cash-form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; } .ad-cash-form .btn { align-self: flex-start; }
.ad-cash-country { max-width: 320px; margin: 0; }
.ad-cash-state .btn + .btn { margin-left: 8px; }
.ad-cash-state p.ad-cash-minor, .ad-cash-minor { display: block; margin: 0 0 12px; font-size: .86rem; color: var(--ink-soft); }
.af-agree .ad-cash-minor { margin: 4px 0 0; }
