/* Ad slots for the online build, in the app's own language: a white sheet
   with a hairline, clearly separate from the results and never louder than
   them. No colour, no shadow. Slots stay hidden until filled, so there is
   no empty box and no layout jump when ads are switched off. */

.pf-slot{display:flex;align-items:center;gap:12px;margin:0 0 14px;
         padding:10px 16px;border:1px solid var(--hairline);
         border-radius:var(--r-panel);background:var(--sheet);
         font-size:14px;line-height:1.4;min-width:0}
.pf-slot[hidden]{display:none}
.pf-slot-bottom{margin:12px 0 0;flex-direction:column;align-items:stretch;
                gap:8px;padding:14px 16px}

.pf-label{flex:none;font-size:12px;font-weight:500;color:var(--steel)}

.pf-promo{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1;
          color:var(--ink);text-decoration:none;border-radius:var(--r-control)}
.pf-promo .pf-name{flex:none;font-weight:600}
.pf-promo .pf-text{min-width:0;overflow:hidden;text-overflow:ellipsis;
                   white-space:nowrap;color:var(--steel)}
.pf-promo .pf-cta{flex:none;margin-left:auto;font-weight:500;
                  text-decoration:underline;text-underline-offset:3px;
                  text-decoration-thickness:1px;text-decoration-color:var(--control);
                  display:inline-flex;align-items:center;gap:4px}
.pf-promo .pf-cta svg{transition:transform .15s cubic-bezier(.16,1,.3,1)}
.pf-promo .pf-cta{transition:text-decoration-color .1s ease-out}
@media (hover:hover) and (pointer:fine){
  .pf-promo:hover .pf-cta{text-decoration-color:currentColor}
  .pf-promo:hover .pf-cta svg{transform:translateX(3px)}
}
.pf-slot{transition:border-color .1s ease-out}
.pf-slot:has(.pf-promo:hover){border-color:var(--control)}

/* image banner: 728x90 at most, scales down on phones */
.pf-promo-img{display:block;line-height:0}
.pf-promo-img img{display:block;width:100%;max-width:728px;height:auto;
                  max-height:90px;object-fit:contain;margin:0 auto;
                  border-radius:var(--r-control)}

/* AdSense: keep it to one short banner */
.pf-adsense .adsbygoogle{min-height:90px;max-height:120px;overflow:hidden}

@media (max-width:640px){
  .pf-slot-top{padding:10px 14px}
  .pf-promo .pf-text{display:none}
}
