/* ==========================================================================
   Affiliate pages: landing, dashboard, terms. Builds on base.css and sections.css.
   ========================================================================== */

[hidden] { display: none !important; }

/* ---------- landing ---------- */
.aff-hero .hero__copy .lead { max-width: 540px; }
.aff-hero .float b span { font: inherit; color: inherit; }

/* the phone shows an example of the affiliate dashboard */
.aff-scr .perf-num { font-size: 13cqw; }
.aff-scr-link { padding: 2.8cqw 3.4cqw; }
.aff-scr-link span { display: block; font-size: 2.55cqw; color: rgba(255, 255, 255, .56); }
.aff-scr-link b { display: block; margin-top: .6cqw; overflow: hidden; font-family: var(--font-mono); font-size: 3.05cqw; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; color: #e9cf96; }
.aff-scr-sales { display: grid; gap: 1.8cqw; }
.aff-scr-sale { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 2.5cqw 3.4cqw; }
.aff-scr-sale b { display: block; font-size: 3.5cqw; line-height: 1.2; }
.aff-scr-sale div span { font-size: 2.5cqw; color: rgba(255, 255, 255, .52); }
.aff-scr .perf-fine { margin-top: auto; }
.aff-scr-sale em { font-style: normal; font-size: 3.9cqw; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #58e4b5; }
.aff-scr-paid em { color: #e9cf96; }

/* the video: a row of its own under the hero on wide screens; in one column it comes right after the headline.
   Never taller than the screen (a phone held sideways). */
.aff-hero .hero__grid { row-gap: 0; }
.vsl { position: relative; grid-column: 1 / -1; width: min(100%, 880px); width: min(100%, 880px, calc((100svh - 110px) * 16 / 9)); aspect-ratio: 16 / 9; margin: 8px auto clamp(30px, 5vw, 60px); border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--hair-2), 0 50px 90px -50px rgba(0, 0, 0, .9); }
.vsl video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vsl__play { position: absolute; inset: 0; cursor: pointer; background: linear-gradient(180deg, rgba(0, 0, 0, .06) 34%, rgba(0, 0, 0, .5)); }
/* the disc sits below the middle, so it does not cover the face in the still image */
.vsl__disc { position: absolute; left: 50%; top: 78%; translate: -50% -50%; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8); transition: transform .4s var(--ease); }
.vsl__play:hover .vsl__disc { transform: scale(1.06); }
.vsl__disc .ico { width: 34px; height: 34px; margin-left: 5px; }
.vsl__len { position: absolute; right: 16px; bottom: 14px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(0, 0, 0, .62); }
.vsl__len:empty { display: none; }
/* the explainer (motion graphics, no sound): its still image is an <img> in the button, so it loads only when the
   visitor gets near it, and "Watch" is a pill where the picture has room, under its headline */
.vsl--explainer { container-type: inline-size; margin: clamp(28px, 4.4vw, 48px) auto 0; }
.vsl--explainer .vsl__play { background: none; }
.vsl--explainer .vsl__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl--explainer .vsl__disc { left: 5.7%; top: 87.5%; translate: 0 -50%; display: flex; align-items: center; gap: .5em; width: auto; height: auto; padding: .6em 1.15em .6em .9em; border-radius: 999px; font-size: clamp(12px, 2.3cqw, 19px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; }
.vsl--explainer .vsl__disc .ico { width: 1.15em; height: 1.15em; margin-left: 0; }
.guide__watch .vsl { margin-top: 0; }
@media (max-width: 560px) {
  /* a phone held upright: edge to edge, like the video in the hero */
  .vsl--explainer { width: 100vw; margin-inline: calc(50% - 50vw); border-radius: 0; box-shadow: none; }
}
@media (max-width: 960px) {
  /* one column: the parts of the copy line up with the video, which goes between the text and the buttons */
  .aff-hero .hero__copy { display: contents; }
  .aff-hero .pill { justify-self: center; }
  .aff-hero .vsl { order: 1; margin: 28px auto 0; }
  .aff-hero .hero__actions, .aff-hero .hero__chips { order: 2; }
  .aff-hero .hero__actions { margin-top: 26px !important; }
  .aff-hero .hero__stage { order: 3; margin-top: 24px; }
}
@media (max-width: 560px) {
  /* a phone held upright: edge to edge, every pixel of width goes to the picture */
  .aff-hero .vsl { width: 100vw; margin-inline: calc(50% - 50vw); border-radius: 0; box-shadow: none; }
}
@media (max-width: 560px), (max-height: 500px) {
  /* a small player (a phone, either way up) gets a smaller disc */
  .vsl__disc { width: 62px; height: 62px; }
  .vsl__disc .ico { width: 26px; height: 26px; margin-left: 4px; }
  .vsl__len { right: 12px; bottom: 10px; }
}

.aff-steps, .aff-earn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 56px); padding: 0; list-style: none; }
.aff-step { padding: 28px; }
.aff-step__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; color: var(--au); background: rgba(220, 184, 106, .1); box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .35); }
.aff-step p { margin-top: 8px; color: var(--ink-2); }

.aff-plan { padding: 30px 26px; text-align: center; }
.aff-plan__price { margin-top: 6px; color: var(--ink-2); }
.aff-plan__you { margin-top: 24px; font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--au); }
.aff-plan__sum { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
.aff-plan__note { margin-top: 8px; font-size: .92rem; color: var(--ink-2); }
.aff-plan__note b { color: #fff; }
.aff-plan--top { box-shadow: inset 0 0 0 1.5px rgba(220, 184, 106, .6); }
.aff-small { margin-top: 26px; text-align: center; font-size: .9rem; color: var(--ink-3); }

.aff-pay { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(24px, 5vw, 72px); }
.aff-pay .h2 { margin-top: 14px; }
.aff-rules { display: grid; gap: 15px; padding: 0; list-style: none; }
.aff-rules li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-2); }
.aff-rules .ico { flex: none; margin-top: 3px; color: var(--au); }
.aff-rules b { color: #fff; font-weight: 620; }
.aff-faq .faq__list { max-width: 820px; margin: clamp(24px, 4vw, 44px) auto 0; }
.aff-closing__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.aff-closing__btns .btn { margin-top: 0; }

.aff-footer { padding-bottom: 72px; }
.aff-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .92rem; }
.aff-footer__links a { color: var(--ink-2); text-decoration: none; }
.aff-footer__links a:hover { color: #fff; }

/* ---------- terms ---------- */
.aff-doc { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.aff-doc .wrap { max-width: 780px; }
.aff-doc h1 { margin-top: 14px; }
.aff-doc .lead { margin-top: 14px; }
.aff-doc .h3 { margin-top: 38px; }
.aff-doc p:not(.eyebrow):not(.lead), .aff-doc ul { margin-top: 12px; color: var(--ink-2); }
.aff-doc ul { padding-left: 1.25em; list-style: disc; }
.aff-doc li + li { margin-top: .4em; }

/* ---------- portal: sign-up, log-in and what all its screens share ---------- */
.aff-app { --gut: var(--pad); min-height: 72vh; padding: clamp(28px, 5vw, 60px) 0 var(--section); }
.aff-app .wrap { width: min(100% - var(--gut) * 2, var(--wrap)); }
.aff-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: linear-gradient(165deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 100%); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .08); }
.aff-auth { max-width: 470px; margin-inline: auto; }
.aff-sub { margin-top: 8px; color: var(--ink-2); }
.aff-under { margin-top: 16px; font-size: .88rem; text-align: center; color: var(--ink-3); }
.aff-linkbtn { font-size: .88rem; text-align: left; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.aff-note { color: var(--ink-2); }

.aff-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 24px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair); }
.aff-tabs button { height: 42px; border-radius: 999px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: color .2s, background .2s; }
.aff-tabs button[aria-selected="true"] { color: #080a09; background: #fff; }

/* form fields are 17px, so a phone does not zoom in when one gets the cursor */
.field { display: grid; gap: 7px; margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
.field input, .field select { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; outline: none; font: inherit; font-size: 1rem; color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--hair-2); }
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 1.5px var(--au); }
.field input::placeholder { color: rgba(255, 255, 255, .38); }
.field select option { color: #111; }
.field small { font-size: .8rem; line-height: 1.45; color: var(--ink-3); }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: .88rem; color: var(--ink-2); }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: #d8b05a; }
.aff-form > .btn { margin-top: 20px; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--xs { height: 34px; padding: 0 14px; font-size: .82rem; }
/* only the arrow slides on hover; a finger has no hover, so nothing lifts and stays lifted */
.aff-app .btn:hover .ico:not(.ico--arrow) { transform: none; }
@media (hover: none) { .aff-app .btn:hover { transform: none; } }

.aff-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; }
.aff-msg--err { color: #ffd0cf; background: rgba(255, 90, 80, .12); box-shadow: inset 0 0 0 1px rgba(255, 90, 80, .35); }
.aff-msg--ok { color: #cdf5e3; background: rgba(31, 188, 136, .12); box-shadow: inset 0 0 0 1px rgba(31, 188, 136, .35); }

.aff-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.aff-head .h2 { margin-top: 10px; }
.aff-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.aff-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aff-card, .aff-tile { min-width: 0; }

.aff-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aff-tile { padding: 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--hair); }
.aff-tile b { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.aff-tile span { font-size: .84rem; color: var(--ink-2); }

/* tables: the admin screen only */
.aff-table-wrap { margin-top: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.aff-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.aff-table th { padding: 10px 12px; border-bottom: 1px solid var(--hair); font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; text-align: left; white-space: nowrap; color: var(--ink-3); }
.aff-table td { padding: 13px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--ink-2); }
.aff-table td b { font-weight: 620; color: #fff; white-space: nowrap; }
.aff-break { overflow-wrap: anywhere; }
.aff-nowrap { white-space: nowrap; }
.aff-table td:first-child { white-space: nowrap; }
.aff-empty { padding: 26px 0 6px; text-align: center; color: var(--ink-3); }
.aff-empty__btn { display: flex; width: fit-content; margin: 12px auto 4px; }
.aff-row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.aff-addsale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; align-items: end; gap: 12px; }
.aff-addsale .field { margin-top: 0; }
.aff-addsale > .btn { height: 52px; margin-top: 0; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 650; white-space: nowrap; }
.badge--pending { color: #f0d9a0; background: rgba(220, 184, 106, .14); }
.badge--ready { color: #bff0da; background: rgba(31, 188, 136, .16); }
.badge--paid { color: #d6d8dc; background: rgba(255, 255, 255, .1); }
.badge--off { color: #ffc9c7; background: rgba(255, 90, 80, .14); }

/* discount code, how you get paid, bonuses, the Telegram card */
.aff-subhead { margin: 26px 0 0; font-size: 1rem; font-weight: 600; color: var(--ink); }
.aff-code__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
.aff-code__code { font-family: var(--font-mono); font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight: 700; letter-spacing: .12em; color: var(--teal-hi); padding: 8px 16px; border-radius: 12px; border: 1px dashed rgba(229, 207, 152, .45); background: rgba(229, 207, 152, .06); }
.aff-code .aff-sub { margin-top: 14px; }
.aff-ms { display: grid; gap: 10px; margin-top: 14px; }
.aff-ms li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; color: var(--ink-2); }
.aff-ms li b { color: #fff; font-variant-numeric: tabular-nums; }
.aff-ms li.is-done { color: #fff; }
.aff-ms li.is-done .ico { color: var(--violet-hi); }
.aff-ms__dot { width: 12px; height: 12px; margin-left: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--hair-2); }
.aff-how { display: grid; gap: 13px; margin-top: 16px; }
.aff-how li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.aff-how .ico { margin-top: 3px; color: var(--au); }
.aff-how b { font-weight: 620; color: #fff; }
.aff-how__more { margin-top: 18px; }
.aff-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.aff-contact .btn { flex: none; }

/* ---------- portal, signed in: the tabs ---------- */
.ptabs a { text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ptabs--top { display: flex; gap: 2px; }
.ptabs--top a { padding: 9px 16px; border-radius: 999px; font-size: .93rem; font-weight: 560; color: var(--ink-2); transition: color .2s, background .2s; }
.ptabs--top a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ptabs--top a[aria-current] { color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); }
.ptabs--bottom { display: none; }
.aff.is-in .aff-app { padding-top: clamp(14px, 3vw, 36px); padding-bottom: clamp(44px, 6vw, 84px); }
.aff.is-in .aff-footer__links a[href="/affiliate/app/"] { display: none; }   /* "Log in" */

/* a short message at the bottom of the screen: "Link copied" */
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 9px; width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px 12px 14px; border-radius: 18px; font-size: .92rem; font-weight: 620; line-height: 1.3; color: #06140e; background: #58e4b5; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .85); opacity: 0; visibility: hidden; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { width: 19px; height: 19px; stroke-width: 2.3; }

.pcol { max-width: 880px; margin-inline: auto; }
.phead { margin-bottom: clamp(16px, 2.4vw, 26px); }
.phead .h2 { margin-top: 8px; }

/* ---------- Home ---------- */
.home, .home__duo { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.home { grid-template-columns: minmax(0, 1fr); }
.home__duo { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: start; }
.home__todo:empty { display: none; }

.phero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 28px);
  padding: clamp(22px, 4.4vw, 52px); border-radius: var(--r-xl);
  background:
    radial-gradient(70% 95% at 0% 0%, rgba(33, 124, 94, .36), transparent 62%),
    radial-gradient(55% 80% at 100% 8%, rgba(220, 184, 106, .2), transparent 62%),
    linear-gradient(170deg, #0f1814 0%, #080b0a 100%);
  box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .24), inset 0 1px 0 rgba(255, 255, 255, .1), 0 70px 110px -80px rgba(0, 0, 0, .95);
}
.phero__a, .phero__b { min-width: 0; }
.phero__title { margin-top: 12px; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; }
.phero .lead { max-width: 560px; margin-top: 14px; }
.phero__label { margin-top: 16px; font-size: .9rem; color: var(--ink-2); }
.phero__sum { font-family: var(--font-display); font-size: clamp(3rem, 12vw, 5.2rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.02; font-variant-numeric: tabular-nums; }
.phero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.phero__stats li { min-width: 0; padding: 0 12px; border-left: 1px solid var(--hair-2); }
.phero__stats li:first-child { padding-left: 0; border-left: 0; }
.phero__stats b { display: block; font-size: clamp(.95rem, 4.3vw, 1.2rem); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.phero__stats span { display: block; margin-top: 2px; font-size: .76rem; line-height: 1.3; color: var(--ink-2); }
.phero__stats .is-gold b { color: var(--au); }
.phero__note { margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
.phero__per { margin-top: 20px; }
.phero__per p, .phero__cap { font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.phero__per ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 460px; margin-top: 9px; }
.phero__per li { min-width: 0; padding: 11px 10px 10px; border-radius: 14px; background: rgba(4, 5, 5, .5); box-shadow: inset 0 0 0 1px var(--hair); }
.phero__per span { display: block; font-size: .78rem; color: var(--ink-2); }
.phero__per b { display: block; font-family: var(--font-display); font-size: clamp(.95rem, 4.7vw, 1.5rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--au); }
.phero__b { padding-top: clamp(18px, 3vw, 24px); border-top: 1px solid var(--hair); }
.phero__cap { margin-bottom: 9px; }

/* the link: a field that copies on a tap, and two buttons */
.plink__url { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 10px 14px 10px 16px; border-radius: 16px; text-align: left; font-family: var(--font-mono); font-size: .9rem; line-height: 1.35; color: var(--teal-hi); background: rgba(4, 5, 5, .6); box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .42); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: box-shadow .2s; }
.plink__url:hover { box-shadow: inset 0 0 0 1.5px rgba(220, 184, 106, .8); }
.plink__url span { min-width: 0; overflow-wrap: anywhere; }
.plink__url .ico { color: var(--au); }
.plink__btns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.plink__btns .btn { height: 52px; padding: 0 12px; }
.plink__alt { margin-top: 14px; font-size: .88rem; color: var(--ink-3); }
.aff-card > .plink, .aff-card > .plink__url { margin-top: 16px; }

/* three faces and one line: what the top affiliates earn; a tap leads to the board */
.proof { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 10px 12px 10px 10px; border-radius: 16px; text-align: left; font-size: .8rem; line-height: 1.35; color: var(--ink-2); background: rgba(220, 184, 106, .08); box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .24); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s; }
.proof:hover { background: rgba(220, 184, 106, .13); }
.proof b { display: block; font-size: clamp(.86rem, 3.75vw, 1.02rem); font-weight: 650; white-space: nowrap; color: #fff; }
.proof__faces { display: flex; flex: none; }
.proof__faces img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 2px #121710; }
.proof__faces img + img { margin-left: -11px; }
.proof > span:not(.proof__faces) { flex: 1; min-width: 0; }

/* the first steps */
.todo { padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: linear-gradient(165deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 100%); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .08); }
.todo__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.todo__head .h3 { margin-top: 8px; }
.todo__count { flex: none; font-size: .84rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--au); }
.todo__bar { height: 6px; margin-top: 16px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.todo__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1fbc88, #dcb86a); transition: width .7s var(--ease); }
.todo__list { display: grid; gap: 8px; margin-top: 16px; }
.todo__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 13px; width: 100%; padding: 13px 14px 13px 12px; border-radius: 16px; text-align: left; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair); -webkit-tap-highlight-color: transparent; }
button.todo__row { cursor: pointer; transition: background .2s; }
button.todo__row:hover { background: rgba(255, 255, 255, .06); }
.todo__dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: .9rem; font-weight: 700; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--hair-2); }
.todo__dot .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.todo__text { min-width: 0; }
.todo__text b { display: block; font-weight: 640; line-height: 1.25; }
.todo__text em { display: block; margin-top: 3px; font-style: normal; font-size: .86rem; line-height: 1.4; color: var(--ink-2); }
.todo__row > .ico { width: 18px; height: 18px; color: var(--ink-3); }
.todo__row.is-done { background: none; }
.todo__row.is-done b { font-weight: 560; color: var(--ink-2); }
.todo__row.is-done em { display: none; }
.todo__row.is-done .todo__dot { color: #06140e; background: #58e4b5; box-shadow: none; }
.todo__row.is-next { align-items: start; background: rgba(220, 184, 106, .08); box-shadow: inset 0 0 0 1.5px rgba(220, 184, 106, .55); }
button.todo__row.is-next:hover { background: rgba(220, 184, 106, .13); }
.todo__row.is-next .todo__dot { color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); box-shadow: none; }
.todo__cta { display: inline-flex; align-items: center; gap: 7px; height: 38px; margin-top: 11px; padding: 0 16px; border-radius: 999px; font-size: .9rem; font-weight: 650; color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); }
.todo__cta .ico { width: 16px; height: 16px; }

/* top affiliates: three steps of a podium, the first in the middle */
.board { padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: radial-gradient(90% 60% at 50% 0%, rgba(220, 184, 106, .17), transparent 70%), linear-gradient(170deg, #12160f 0%, #080b0a 100%); box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .26), inset 0 1px 0 rgba(255, 255, 255, .08); }
.board > * { max-width: 520px; margin-inline: auto; }
.board .eyebrow { display: flex; }
.board .h2 { margin-top: 10px; }
.board__podium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr); align-items: end; gap: 8px; max-width: 460px; margin-top: 24px; border-bottom: 1px solid rgba(220, 184, 106, .35); }
.board__col { display: grid; justify-items: center; min-width: 0; text-align: center; }
.board__col--1 { order: 2; --ring: #e9c877; }
.board__col--2 { order: 1; --ring: #cfd6da; }
.board__col--3 { order: 3; --ring: #cd9463; }
.board__crown { display: block; height: 24px; margin-bottom: 5px; color: var(--au); }
.board__crown .ico { width: 26px; height: 26px; }
.board__ava { position: relative; display: block; width: 70px; }
.board__col--1 .board__ava { width: 92px; }
.board__ava img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 3px #0d110d, 0 0 0 5px var(--ring), 0 14px 30px -10px rgba(0, 0, 0, .9); }
.board__ava i { position: absolute; left: 50%; bottom: -10px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font-style: normal; font-size: .78rem; font-weight: 800; color: #1a1204; background: var(--ring); box-shadow: 0 0 0 3px #0d110d; transform: translateX(-50%); }
.board__name { margin-top: 16px; font-size: .88rem; font-weight: 620; }
.board__step { width: 100%; margin-top: 20px; padding: 14px 4px 0; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .012)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 1px 0 0 var(--hair), inset -1px 0 0 var(--hair); }
.board__name + .board__step { margin-top: 8px; }
.board__col--1 .board__step { min-height: 128px; background: linear-gradient(180deg, rgba(220, 184, 106, .3), rgba(220, 184, 106, .03)); box-shadow: inset 0 1px 0 rgba(255, 230, 170, .5), inset 1px 0 0 rgba(220, 184, 106, .25), inset -1px 0 0 rgba(220, 184, 106, .25); }
.board__col--2 .board__step { min-height: 100px; }
.board__col--3 .board__step { min-height: 80px; }
.board__step b { display: block; font-family: var(--font-display); font-size: clamp(1.15rem, 5.1vw, 1.5rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.board__col--1 .board__step b { font-size: clamp(1.4rem, 6.3vw, 1.95rem); color: var(--au); }
.board__step span { display: block; margin-top: 3px; font-size: .76rem; color: var(--ink-2); }
.board__cta { margin-top: 20px; }
.board__fine { margin-top: 14px; font-size: .74rem; line-height: 1.5; color: var(--ink-3); }

/* buyer stories: a row of stills that scrolls sideways; a tap plays the video */
.stories { min-width: 0; }
.stories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.stories__head .h2 { margin-top: 10px; }
.stories__arrows { display: flex; flex: none; gap: 8px; }
.stories__arrows button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair-2); cursor: pointer; transition: background .2s; }
.stories__arrows button:hover { background: rgba(255, 255, 255, .13); }
.stories__arrows button:first-child .ico { rotate: 180deg; }
.stories__rail { display: flex; gap: 10px; margin: 16px calc(var(--gut) * -1) 0; padding: 4px var(--gut) 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stories__rail::-webkit-scrollbar { display: none; }
.story { position: relative; flex: none; width: clamp(118px, 31vw, 156px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; scroll-snap-align: start; background: #0c100e; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.story img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover img { transform: scale(1.05); }
.story::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, .74)); box-shadow: inset 0 0 0 1px var(--hair-2); }
.story__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); transform: translate(-50%, -50%); }
.story__play .ico { width: 18px; height: 18px; margin-left: 2px; }
.story__cap { position: absolute; left: 11px; bottom: 9px; z-index: 1; font-size: .76rem; font-weight: 650; }
@media (hover: none) { .stories__arrows { display: none; } }

/* the video that plays */
.pbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(2, 4, 3, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: pbox-in .25s both; }
@keyframes pbox-in { from { opacity: 0; } }
.pbox__player { position: relative; height: min(82vh, 780px); height: min(82dvh, 780px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--hair-2), 0 50px 120px -30px rgba(33, 124, 94, .5); }
.pbox__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pbox__x, .pbox__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(20, 24, 22, .78); box-shadow: inset 0 0 0 1px var(--hair-2); cursor: pointer; }
.pbox__x { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.pbox__nav { top: 50%; margin-top: -23px; }
.pbox__nav--prev { left: max(8px, calc(50% - 300px)); }
.pbox__nav--prev .ico { rotate: 180deg; }
.pbox__nav--next { right: max(8px, calc(50% - 300px)); }

/* ---------- Share ---------- */
.sharegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.sharegrid__it { display: grid; justify-items: center; align-content: start; gap: 8px; min-width: 0; padding: 14px 4px 12px; border-radius: 18px; font-size: .74rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, transform .3s var(--ease); }
.sharegrid__it:hover { background: rgba(255, 255, 255, .09); }
.sharegrid__it:active { transform: scale(.96); }
.sharegrid__it span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--c, rgba(255, 255, 255, .12)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.sharegrid__it .ico { width: 22px; height: 22px; }

.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 18px; }
.post { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: 18px; background: rgba(4, 5, 5, .4); box-shadow: inset 0 0 0 1px var(--hair); }
.post h3 { font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--au); }
.post p { flex: 1; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.post__link { font-family: var(--font-mono); font-size: .86rem; color: var(--teal-hi); }
.post__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.post__btns .btn { height: 44px; padding: 0 8px; gap: .45em; font-size: .9rem; }

/* something that opens on a tap */
.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary b { display: block; }
.fold > summary em { display: block; margin-top: 4px; font-style: normal; font-size: .88rem; color: var(--ink-2); }
.fold > summary > .ico { color: var(--ink-3); rotate: 90deg; transition: rotate .3s var(--ease); }
.fold[open] > summary > .ico { rotate: -90deg; }
.fold[open] > summary { margin-bottom: 8px; }
.aff-card > .guide__list + .guide__list { margin-top: 13px; }

/* ---------- Earnings, Account ---------- */
.bal { padding: clamp(22px, 3.4vw, 36px); border-radius: var(--r-lg); background: radial-gradient(80% 120% at 0% 0%, rgba(220, 184, 106, .2), transparent 62%), linear-gradient(170deg, #12160f 0%, #080b0a 100%); box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .3), inset 0 1px 0 rgba(255, 255, 255, .08); }
.bal .phero__label { margin-top: 0; }
.bal__sum { font-family: var(--font-display); font-size: clamp(2.9rem, 12vw, 4.6rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--au); }
.bal .phero__note { margin-top: 8px; }
.bal .btn { margin-top: 18px; }

/* a list of things with a sum on the right: sales, payouts, visitors per link, the monthly ranking */
.rows { margin-top: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
.row:first-child { border-top: 0; }
.row__main { min-width: 0; }
.row__main b { display: block; font-weight: 620; line-height: 1.3; }
.row__main span { display: block; margin-top: 2px; font-size: .84rem; color: var(--ink-2); overflow-wrap: anywhere; }
.row__main--rank { display: flex; align-items: center; gap: 12px; }
.row__main--rank i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.row.is-you .row__main--rank i { color: #1a1204; background: var(--au); box-shadow: none; }
.row__side { display: grid; flex: none; justify-items: end; gap: 5px; text-align: right; }
.row__side b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.pfacts { margin-top: 10px; }
.pfacts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--hair); }
.pfacts div:first-child { border-top: 0; }
.pfacts dt { flex: none; font-size: .88rem; color: var(--ink-2); }
.pfacts dd { min-width: 0; margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.plist { padding-block: 8px; }
.plist a, .plist button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; border-top: 1px solid var(--hair); font-weight: 560; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.plist > :first-child { border-top: 0; }
.plist span { flex: 1; min-width: 0; }
.plist .ico:first-child { color: var(--au); }
.plist .ico:last-child { width: 18px; height: 18px; color: var(--ink-3); }

/* ---------- how it works: the Guide tab ---------- */
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(44px, 6vw, 84px); }
.guide__hero {
  position: relative; overflow: hidden; padding: clamp(24px, 5.5vw, 68px); border-radius: var(--r-xl);
  background:
    radial-gradient(70% 95% at 0% 0%, rgba(33, 124, 94, .36), transparent 62%),
    radial-gradient(55% 80% at 100% 8%, rgba(220, 184, 106, .2), transparent 62%),
    linear-gradient(170deg, #0f1814 0%, #080b0a 100%);
  box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .24), inset 0 1px 0 rgba(255, 255, 255, .1), 0 70px 110px -80px rgba(0, 0, 0, .95);
}
.guide__hero > * { position: relative; }
/* the rate again, huge and only as an outline, behind the text */
.guide__mark {
  position: absolute; right: -1.5%; bottom: -.22em; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-size: clamp(190px, 31vw, 430px); font-weight: 800; letter-spacing: -.07em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(220, 184, 106, .13);
}
.guide__title { max-width: 13ch; margin-top: 16px; font-family: var(--font-display); font-size: clamp(2.35rem, 6.2vw, 4.4rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
.guide__hero .lead { max-width: 620px; margin-top: 20px; }
.guide__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(26px, 4vw, 42px); }
.guide__fact { padding: 18px 18px 17px; border-radius: var(--r-md); background: rgba(4, 5, 5, .5); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.guide__fact b { display: block; font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; color: var(--au); }
.guide__fact span { display: block; margin-top: 5px; font-size: .86rem; line-height: 1.4; color: var(--ink-2); }
.guide__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vw, 38px); }

.guide__head .h2 { margin-top: 12px; text-wrap: balance; }
.guide__head .lead { max-width: 700px; margin-top: 12px; }
.guide .aff-earn { margin-top: clamp(24px, 3.4vw, 38px); }
.guide .aff-plan { text-align: left; padding: 28px; }
.guide__aside { margin-top: 20px; font-size: .95rem; color: var(--ink-3); }
.guide__aside b { color: var(--ink); font-weight: 620; }

/* from sale to payout: four stops on one line */
.guide__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: clamp(28px, 4vw, 46px); }
.guide__stop { position: relative; }
.guide__stop:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: 60px; right: -26px; height: 2px; background: linear-gradient(90deg, rgba(31, 188, 136, .75), rgba(220, 184, 106, .75)); }
.guide__node { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--au); background: #0a0f0d; box-shadow: inset 0 0 0 1.5px rgba(220, 184, 106, .6), 0 0 0 7px var(--bg), 0 0 44px rgba(220, 184, 106, .2); }
.guide__node .ico { width: 24px; height: 24px; }
.guide__stop:last-child .guide__node { color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); box-shadow: 0 0 0 7px var(--bg), 0 0 50px rgba(220, 184, 106, .45); animation: guide-glow 3.2s ease-in-out infinite; }
@keyframes guide-glow { 50% { box-shadow: 0 0 0 7px var(--bg), 0 0 70px rgba(220, 184, 106, .7); } }
.guide__when { margin-top: 20px; font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--au); }
.guide__stop h3 { margin-top: 7px; font-size: 1.14rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.guide__stop p:not(.guide__when) { margin-top: 9px; font-size: .95rem; color: var(--ink-2); }

.guide__ex { margin-top: clamp(26px, 4vw, 42px); padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair); }
.guide__ex h3 { font-size: 1.02rem; font-weight: 650; }
.guide__ex ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.guide__ex li { padding: 15px 16px 16px; border-radius: 14px; background: rgba(4, 5, 5, .55); box-shadow: inset 0 0 0 1px var(--hair); }
.guide__ex li span { display: block; font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.guide__ex li em { display: block; margin-top: 7px; font-style: normal; font-size: .92rem; color: var(--ink-2); }
.guide__ex li b { display: block; margin-top: 10px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #58e4b5; }
.guide__ex li.is-paid { box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .45); background: rgba(220, 184, 106, .07); }
.guide__ex li.is-paid b { color: var(--au); }

/* bonuses and the contest */
.guide__bonus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 3.4vw, 38px); }
.guide__bonus li { padding: 22px 20px; border-radius: var(--r-md); background: linear-gradient(165deg, rgba(220, 184, 106, .11), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(220, 184, 106, .24); }
.guide__bonus b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; color: var(--au); }
.guide__bonus span { display: block; margin-top: 6px; font-size: .92rem; color: var(--ink-2); }
.guide__bonus i { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-style: normal; font-size: .8rem; font-weight: 650; color: #58e4b5; }
.guide__bonus i .ico { width: 16px; height: 16px; }
.guide__extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 22px; }
.guide__extra:empty { display: none; }
.guide__extra .h3 { margin-top: 2px; }
.guide__prizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.guide__prizes li { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); }
.guide__prizes li span { font-size: .8rem; color: var(--ink-3); }
.guide__prizes li b { font-weight: 700; font-variant-numeric: tabular-nums; }
.guide__prizes li:first-child { box-shadow: inset 0 0 0 1.5px rgba(220, 184, 106, .7); background: rgba(220, 184, 106, .1); }
.guide__prizes li:first-child b { color: var(--au); }

/* first steps */
.guide__todo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(24px, 3.4vw, 38px); counter-reset: todo; }
.guide__todo > li { counter-increment: todo; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(165deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 100%); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .08); }
.guide__todo > li::before { content: counter(todo); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; font-weight: 700; color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); }
.guide__todo .btn { margin-top: auto; }
.guide__todo .aff-sub:last-of-type { margin-bottom: 20px; }
.guide__link { align-self: stretch; margin: 14px 0 14px; padding: 12px 14px; border-radius: 12px; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: .86rem; color: var(--teal-hi); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair-2); }
.guide__ok { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: .92rem; font-weight: 600; color: #58e4b5; }

/* rules */
.guide__rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(24px, 3.4vw, 38px); }
.guide__list { display: grid; gap: 13px; margin-top: 16px; }
.guide__list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.guide__list .ico { margin-top: 3px; }
.guide__list--do .ico { color: #58e4b5; }
.guide__list--dont .ico { color: #ff8f88; }
.guide__end .aff-closing__btns { margin-top: 26px; }

/* ---------- portal on smaller screens ---------- */
@media (min-width: 1000px) {
  /* the link gets a panel of its own beside the text */
  .phero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 56px; }
  .phero__b { padding: 26px; border: 0; border-radius: var(--r-lg); background: rgba(4, 5, 5, .5); box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .06); }
}
@media (max-width: 999px) {
  /* the tabs become a bar at the bottom, as in an app; Log out moves to the Account tab */
  .ptabs--top { display: none; }
  .ptabs--bottom {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 7px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    background: rgba(8, 12, 10, .9); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
    box-shadow: 0 -1px 0 var(--hair), 0 -24px 44px -26px rgba(0, 0, 0, .9);
  }
  .ptabs--bottom a { display: grid; justify-items: center; gap: 3px; padding: 1px 0; font-size: .68rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-3); }
  .ptabs--bottom a span { display: grid; place-items: center; width: 58px; height: 31px; border-radius: 999px; transition: background .25s, color .25s; }
  .ptabs--bottom .ico { width: 23px; height: 23px; }
  .ptabs--bottom a[aria-current] { color: var(--ink); }
  .ptabs--bottom a[aria-current] span { color: #1a1204; background: linear-gradient(180deg, #f3dc9c, #d8b05a); }
  .aff.is-in .nav [data-logout] { display: none; }
  .aff.is-in .aff-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .aff.is-in .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 980px) {
  .guide__facts, .guide__bonus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide__todo { grid-template-columns: minmax(0, 1fr); }
  .guide__todo .btn { margin-top: 4px; }
  .guide__ok { margin-top: 4px; }
}
@media (max-width: 900px) {
  .aff-steps, .aff-earn, .aff-pay, .aff-two { grid-template-columns: minmax(0, 1fr); }
  .aff-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aff-addsale { grid-template-columns: 1fr 1fr; }
  .aff-addsale > .btn { grid-column: 1 / -1; }
  /* the line turns: stops under each other, the line runs down the left */
  .guide__rail { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .guide__stop { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; }
  .guide__stop:not(:last-child)::after { top: 60px; bottom: -30px; left: 29px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(31, 188, 136, .75), rgba(220, 184, 106, .75)); }
  .guide__when { margin-top: 6px; }
  .guide__ex ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide__rules { grid-template-columns: minmax(0, 1fr); }
  .guide__mark { display: none; }
}
@media (max-width: 640px) {
  .aff-login { display: none; }
  .aff-hero .hero__actions .btn { width: 100%; }
  .aff-closing__btns .btn { width: 100%; }
  /* a phone: 16px at the sides, softer corners, buttons as wide as the thumb reaches */
  .aff-app { --gut: 16px; }
  .phero, .guide__hero { border-radius: 28px; }
  .guide { gap: 48px; }
  .guide .aff-plan, .guide__todo > li { padding: 22px; }
  .guide__cta .btn, .guide__end .btn, .guide__todo .btn { width: 100%; }
  .aff-contact .btn, .bal .btn { width: 100%; }
  .aff .nav__side { gap: 6px; }
  .aff .nav__side .btn--sm { height: 38px; padding: 0 13px; font-size: .86rem; }
  .stories__head .aff-sub { font-size: .95rem; }
}
/* a phone whose keyboard pushes the page up: the bar would sit on top of the keyboard, so it steps aside */
@media (max-width: 640px) and (hover: none) {
  .aff:has(.aff-app input:focus, .aff-app select:focus) .ptabs--bottom { display: none; }
}
/* the smallest phones (320px wide) */
@media (max-width: 359px) {
  .plink__btns .btn { padding: 0 6px; gap: .4em; font-size: .92rem; }
  .post__btns .btn { padding: 0 4px; font-size: .84rem; }
  .proof b { white-space: normal; }
  .sharegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .guide__stop:last-child .guide__node, .pbox { animation: none; }
  .story img, .todo__bar i { transition: none; }
}
