/* ── 24 Nov · game icons (Mikky: "all through the tabs, let's use game icons") ──
   Every tile strip (Overview, Directory, Incubator members, Verification, Payouts, Access) and the Overview card heads swap the
   tinted line-icon chip for our 16×16 pixel set in assets/px (credits in assets/px/CREDITS.md), the Referrals pattern exactly:
   16px, 1 image px = 1 CSS px (2 device px on retina), no chip behind it. Loaded last. */
.dt-ic.dt-ic--px, .ovc-i.ovc-i--px { width: 16px; height: 16px; margin-top: 0; border-radius: 0; background: none; }
.gi { display: block; flex: none; width: 16px; height: 16px; image-rendering: pixelated; -webkit-user-drag: none; user-select: none; }
.ovc-h .ovc-i.ovc-i--px { margin-top: 2px; }

/* ── 24 Nov · Settings nav + page head (Mikky: "game icons") ──
   settings-x.js / v2-settings.js put <img class="gi"> in STK.IC for the eleven pages (mapping in assets/px/CREDITS.md).
   Nav: 16px, centred on the label's line, a 20px slot so labels keep the left edge the line icons had. Selected row keeps its
   highlight; the pixel art keeps its colours in every state (no dimming: a dimmed pixel icon reads as disabled).
   Page head: the 36px bordered chip goes; the same art at 32px (exactly 2×, still crisp) sits on the title line.
   Selectors carry :has()/.sx-nav weight because settings.css and settings-x.css are injected after this file. */
.sx-nav .sx-ni > .gi { width: 16px; height: 16px; margin: 0 2px; }
.sxx-ht .sxx-tile:has(> .gi), .sxc-sh .sxx-tile:has(> .gi) { width: 32px; height: 32px; border: 0; border-radius: 0; background: none; }
.sxx-ht .sxx-tile > .gi, .sxc-sh .sxx-tile > .gi { width: 32px; height: 32px; }
@media (max-width: 760px) { .sxx-ht .sxx-tile:has(> .gi), .sxc-sh .sxx-tile:has(> .gi) { width: 32px; height: 32px; } }

/* ── 24 Nov · platform + source icons (Mikky: "use game icons") ──
   Snapchat, Instagram, TikTok, YouTube, X, WhatsApp and Web (globe) come from assets/px (CREDITS.md) through CA.pxPlat()
   as <img class="gi gi--pl">: always 16px, 1 image px = 1 CSS px, never squeezed into the old 12–15px glyph slots.
   The slot loses its chip (the art has its own outline); the preview-viewer badge keeps its tile. */
html body :is(.ap-pl, .vl-pl, .lp2-pl, .aa-gl, .ap-srci):has(> .gi--pl) { width: 16px; height: 16px; border: 0; border-radius: 0; background: none; }
html body .pv-g .ap-pl:has(> .gi--pl) { width: 28px; height: 28px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--color-bg-canvas) 88%, transparent); }
html body .vr__g .ap-pl:has(> .gi--pl) { width: 16px; height: 16px; }
.gi.gi--pl { width: 16px; height: 16px; }
.ap-srci:has(> .gi--pl) { align-items: center; }
.gi-in { display: inline-flex; align-items: center; gap: 4px; vertical-align: bottom; }
.gi-in > .gi { flex: none; }
#dlg.v2-lp .lp2-pl.is-on > .gi { animation: lp2-pop 180ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (prefers-reduced-motion: reduce) { #dlg.v2-lp .lp2-pl.is-on > .gi { animation: none; } }
