/* The bottom sponsor bar (A-346 / T-848). Empty slot = nothing on screen. */
.sponsor-bar-slot:empty{display:none}
.sponsor-bar-slot{position:fixed;left:0;right:0;bottom:0;z-index:9990;padding:0 12px 10px;pointer-events:none}
.sponsor-bar{pointer-events:auto;position:relative;max-width:1080px;margin:0 auto;background:#fff;
  border:1px solid #e6dfd4;border-radius:12px;box-shadow:0 -6px 24px rgba(40,32,24,.14);padding:8px 44px 10px 12px;
  font-size:.92rem;line-height:1.35;color:#2b2520}
.sponsor-bar-label{display:block;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#7a7168;margin-bottom:4px}
.sponsor-bar-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sponsor-bar-logo{width:44px;height:44px;object-fit:contain;border-radius:6px;background:#f6f1ea;flex:0 0 auto}
.sponsor-bar-copy{flex:1 1 220px;min-width:0}
.sponsor-bar-actions{display:flex;gap:6px;flex-wrap:wrap}
.sponsor-bar-actions a,.sponsor-bar-actions button,.sponsor-bar-form button{font:inherit;font-size:.85rem;font-weight:700;
  border-radius:999px;padding:6px 12px;border:1px solid #2f5d50;background:#fff;color:#2f5d50;text-decoration:none;cursor:pointer;white-space:nowrap}
.sponsor-bar-actions .sponsor-bar-quote,.sponsor-bar-form button{background:#2f5d50;color:#fff}
.sponsor-bar-x{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;background:transparent;
  font-size:1rem;color:#7a7168;cursor:pointer;border-radius:50%}
.sponsor-bar-x:hover,.sponsor-bar-x:focus-visible{background:#f6f1ea}
.sponsor-bar-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px;margin-top:8px}
.sponsor-bar-form[hidden]{display:none}
.sponsor-bar-form input{font:inherit;font-size:.88rem;padding:6px 8px;border:1px solid #d9d0c3;border-radius:8px;min-width:0}
.sponsor-bar-consent{grid-column:1/-1;font-size:.78rem;color:#5a524a;display:flex;gap:6px;align-items:flex-start}
.sponsor-bar-consent input{margin-top:2px}
.sponsor-bar-msg{grid-column:1/-1;font-size:.82rem;color:#5a524a}
/* Keep the floating things clear of the bar while it shows. */
.has-sponsor-bar body{padding-bottom:96px}
.has-sponsor-bar .ask-dock,.has-sponsor-bar .sponsor-box-slot,.has-sponsor-bar .magnet-float,
.has-sponsor-bar .home-dreamchip,.has-sponsor-bar .home-listchip{bottom:100px}
@media(max-width:600px){
  .sponsor-bar-slot{padding:0 6px 6px}
  .sponsor-bar{font-size:.86rem;padding:6px 40px 8px 8px}
  .has-sponsor-bar body{padding-bottom:130px}
  .has-sponsor-bar .ask-dock,.has-sponsor-bar .sponsor-box-slot,.has-sponsor-bar .magnet-float,
  .has-sponsor-bar .home-dreamchip,.has-sponsor-bar .home-listchip{bottom:136px}
}
@media print{.sponsor-bar-slot{display:none}}
.sponsor-bar-form button{grid-column:1/-1;white-space:normal;justify-self:start}
