/* Block-variant library (UNIQUENESS_MATRIX). Each domain tags its blocks with one
   variant per archetype so no block design repeats across domains. Uses aff.css vars
   (--a/--a2/--s/--s2/--ln) so the per-domain accent recolor is inherited automatically.
   Base look (no class) = pilot gamdom.expert. Layout/multi-column overrides are desktop-only. */
#aff{counter-reset:nxfaq}

/* ============ COLOR / BORDER TREATMENTS (all widths) ============ */
/* Tables */
#aff table.tbl--t1 tr:nth-child(even) td{background:rgba(255,255,255,.03)}
#aff table.tbl--t4{border:0;background:none;border-radius:0}
#aff table.tbl--t4 th,#aff table.tbl--t4 td{border-bottom:1px solid var(--ln)}
#aff table.tbl--t5 tr:first-child th,#aff table.tbl--t5 tr:first-child td{background:color-mix(in srgb,var(--a) 14%,transparent);color:#fff;font-weight:600}
#aff table.tbl--t6 th{position:relative;padding-left:28px}
#aff table.tbl--t6 th:before{content:"";position:absolute;left:12px;top:50%;width:8px;height:8px;border-radius:50%;background:var(--a);transform:translateY(-50%)}
#aff table.tbl--t7 td:last-child{color:var(--a);font-weight:600;background:color-mix(in srgb,var(--a) 7%,transparent)}
#aff table.tbl--t8 tr{background:var(--s2)}
#aff table.tbl--t8 tr+tr{border-top:3px solid #0b0f14}
#aff table.tbl--t8 th{border-inline-end:2px solid var(--a)}

/* Lists (standalone) */
#aff ul.lst--l2{list-style:none;padding:0}
#aff ul.lst--l2 li{display:inline-block;background:var(--s2);border:1px solid var(--ln);border-radius:999px;padding:6px 14px;margin:5px 8px 5px 0}
#aff ul.lst--l3{list-style:none;padding:0}
#aff ul.lst--l3 li{padding-inline-start:24px;position:relative}
#aff ul.lst--l3 li:before{content:"\25B8";position:absolute;inset-inline-start:0;color:var(--a)}
#aff ul.lst--l4{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
#aff ul.lst--l4 li{border:1px solid color-mix(in srgb,var(--a) 50%,var(--ln));border-radius:999px;padding:6px 13px;color:#cdd4da}
#aff ul.lst--l5{list-style:none;padding:16px 20px;background:var(--s);border:1px solid var(--ln);border-radius:12px}
#aff ul.lst--l5 li{padding:8px 0 8px 22px;position:relative;border-bottom:1px solid var(--ln)}
#aff ul.lst--l5 li:last-child{border:0}
#aff ul.lst--l5 li:before{content:"\2713";position:absolute;inset-inline-start:0;color:var(--a);font-weight:700}
#aff ul.lst--l6{list-style:none;padding:0}
#aff ul.lst--l6 li{padding:10px 14px 10px 28px;position:relative}
#aff ul.lst--l6 li:nth-child(odd){background:rgba(255,255,255,.03)}
#aff ul.lst--l6 li:before{content:"\2022";position:absolute;inset-inline-start:12px;color:var(--a)}
#aff ul.lst--l7{list-style:none;padding-inline-start:26px;border-inline-start:2px solid var(--ln);margin-inline-start:8px}
#aff ul.lst--l7 li{position:relative;padding:6px 0}
#aff ul.lst--l7 li:before{content:"";position:absolute;inset-inline-start:-33px;top:12px;width:10px;height:10px;border-radius:50%;background:var(--a);box-shadow:0 0 0 3px #0b0f14}
#aff ul.lst--l8{list-style:decimal;list-style-position:inside}
#aff ul.lst--l8 li::marker{color:var(--a);font-weight:700}

/* Quotes */
#aff blockquote.q--q1{text-align:start;border-inline-start:3px solid var(--a);padding:10px 20px;font-size:1.05rem;max-width:none;background:rgba(255,255,255,.02)}
#aff blockquote.q--q3{text-align:start;background:var(--s);border:1px solid var(--ln);border-radius:14px;padding:20px 24px;font-size:1.05rem;max-width:none}
#aff blockquote.q--q4{position:relative;padding-top:34px}
#aff blockquote.q--q4:before{content:"\201C";position:absolute;top:-8px;left:50%;transform:translateX(-50%);font-size:4rem;color:color-mix(in srgb,var(--a) 40%,transparent);font-family:Georgia,serif}
#aff blockquote.q--q5{border:1px dashed var(--ln);border-radius:14px;padding:22px 42px;position:relative}
#aff blockquote.q--q5:before{content:"\2039";position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--a);font-size:1.6rem}
#aff blockquote.q--q5:after{content:"\203A";position:absolute;inset-inline-end:14px;top:50%;transform:translateY(-50%);color:var(--a);font-size:1.6rem}
#aff blockquote.q--q6{text-align:start;padding-inline-start:30px;position:relative;max-width:none}
#aff blockquote.q--q6:before{content:"\275D";position:absolute;inset-inline-start:0;top:0;color:var(--a);font-size:1.4rem}
#aff blockquote.q--q7{background:linear-gradient(120deg,color-mix(in srgb,var(--a) 10%,var(--s)),var(--s));border:1px solid color-mix(in srgb,var(--a) 30%,var(--ln));border-radius:16px;padding:24px;text-align:start;max-width:none}
#aff blockquote.q--q8{font-size:1.05rem;color:#cdd4da;font-style:italic;border:0;background:none;text-align:start;max-width:none;padding:6px 0;font-family:'Inter',sans-serif}

/* Steps (color-only variants) */
#aff .steps.stp--n4 .n{border-radius:999px;width:auto;min-width:34px;padding:0 12px}
#aff .steps.stp--n7 .step{border-radius:0;border-inline-start:3px solid var(--a);background:var(--s2)}

/* Byline */
#aff .byline.byl--a2{background:none;border:0;padding:8px 0}
#aff .byline.byl--a2 img{width:40px;height:40px}
#aff .byline.byl--a3{flex-direction:column;align-items:flex-start;border:1px solid color-mix(in srgb,var(--a) 30%,var(--ln))}
#aff .byline.byl--a4{background:none;border:0;padding:6px 0}
#aff .byline.byl--a4 img{width:38px;height:38px}
#aff .byline.byl--a5{border-inline-start:3px solid var(--a);border-radius:0 12px 12px 0}
#aff .byline.byl--a6 img{border:2px solid var(--a);box-shadow:0 0 0 3px color-mix(in srgb,var(--a) 20%,transparent)}
#aff .byline.byl--a7{border-inline-start:3px solid var(--a)}
#aff .byline.byl--a7 span{font-style:italic}
#aff .byline.byl--a8{padding:10px 14px}

/* FAQ */
#aff details.faq--f1{border-inline-start:3px solid var(--a)}
#aff details.faq--f3{border:1px solid color-mix(in srgb,var(--a) 30%,var(--ln));background:none}
#aff details.faq--f4{background:var(--s2);border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.2)}
#aff details.faq--f5{counter-increment:nxfaq}
#aff details.faq--f5 summary:before{content:"Q" counter(nxfaq) ". ";color:var(--a);font-weight:700}
#aff details.faq--f6{border-top:2px solid var(--a);border-radius:0}
#aff details.faq--f7{border:0;border-bottom:1px solid var(--ln);border-radius:0;background:none}
#aff details.faq--f7 summary{color:var(--a)}
#aff details.faq--f8{background:none;border:0;border-bottom:1px solid var(--ln);border-radius:0}

/* Heroes (color/accent treatments, all widths) */
#aff .hero.hero--h5{border:0;border-inline-start:4px solid var(--a);border-radius:0;background:none;padding:10px 0 10px 24px}
#aff .hero.hero--h5 .ringbox{background:none;border:0;padding:0}
#aff .hero.hero--h7{border-top:3px solid var(--a)}
#aff .hero.hero--h2{background:radial-gradient(120% 140% at 50% -20%,color-mix(in srgb,var(--a) 14%,transparent),transparent 60%),linear-gradient(160deg,var(--s),#0d1217)}

/* ============ LAYOUT / MULTI-COLUMN (desktop only) ============ */
@media(min-width:801px){
 /* Heroes */
 #aff .hero.hero--h2{grid-template-columns:1fr;text-align:center;padding:40px 26px}
 #aff .hero.hero--h2 .cta,#aff .hero.hero--h2 .chips{justify-content:center}
 #aff .hero.hero--h2 .ringbox{margin:6px auto 0;max-width:260px}
 #aff .hero.hero--h3{grid-template-columns:1fr 1fr}
 #aff .hero.hero--h4{grid-template-columns:.75fr 1.25fr}
 #aff .hero.hero--h4 .ringbox{order:-1}
 #aff .hero.hero--h4 .ring{width:128px;height:128px}
 #aff .hero.hero--h4 .ring span{width:104px;height:104px;font-size:1.9rem}
 #aff .hero.hero--h6 .chips{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
 #aff .hero.hero--h6 .chip{scroll-snap-align:start;flex:none}
 #aff .hero.hero--h7{grid-template-columns:1fr;text-align:center}
 #aff .hero.hero--h7 .cta,#aff .hero.hero--h7 .chips{justify-content:center}
 #aff .hero.hero--h7 .ringbox{display:none}
 #aff .hero.hero--h8{grid-template-columns:1fr;text-align:center;place-items:center}
 #aff .hero.hero--h8 .ringbox{display:none}
 #aff .hero.hero--h8 .cta .btn{padding:13px 26px;font-size:1rem}
 /* Tables as cards */
 #aff table.tbl--t2,#aff table.tbl--t2 tbody{display:block}
 #aff table.tbl--t2 tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--ln);border-radius:10px;margin:8px 0;background:var(--s2)}
 #aff table.tbl--t2 th,#aff table.tbl--t2 td{border:0}
 #aff table.tbl--t2 tr+tr{border-top:1px solid var(--ln)}
 /* Lists multi-column */
 #aff ul.lst--l1{columns:2;column-gap:28px;list-style-position:inside}
 #aff ul.lst--l3{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
 /* Steps layouts */
 #aff .steps.stp--n1{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
 #aff .steps.stp--n1 .step{flex-direction:column;text-align:center}
 #aff .steps.stp--n1 .n{margin:0 auto}
 #aff .steps.stp--n2{grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);overflow-x:auto}
 #aff .steps.stp--n2 .step{flex-direction:column}
 #aff .steps.stp--n5 .step:nth-child(even){flex-direction:row-reverse;text-align:end}
 #aff .steps.stp--n8{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
 #aff .steps.stp--n8 .step{flex-direction:column;text-align:center;background:var(--s2)}
 #aff .steps.stp--n8 .n{margin:0 auto}
 /* FAQ 2-col */
 #aff details.faq--f2{display:inline-block;width:calc(50% - 8px);vertical-align:top;margin:4px}
}
