/* sd-consent.css */
/* ============================================================
   Classroom Showdown — the analytics consent banner (sd-consent.js),
   2026-10-12. A small card at the bottom of the page, in the site's own
   look (Fredoka heading, Nunito text, the orange Accept pill), above
   everything else; self-contained so it reads the same on the light home
   page and the dark host screen.
   ============================================================ */
.sdc-card{
  position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:9999;
  width:min(560px,calc(100vw - 32px));box-sizing:border-box;
  display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;
  padding:16px 18px;background:#fff;border:3px solid #9DEEFF;border-radius:20px;
  box-shadow:0 14px 40px rgba(23,24,78,.28);
  color:#171B55;font-family:'Nunito','Segoe UI',Arial,sans-serif;
}
.sdc-card[hidden]{display:none}
.sdc-text{flex:1 1 300px;min-width:0}
.sdc-h{font-family:'Fredoka','Arial Rounded MT Bold','Trebuchet MS',sans-serif;font-size:18px;font-weight:700;margin-bottom:4px}
.sdc-p{margin:0;font-size:14px;line-height:1.45;font-weight:600;color:#3F4A6B}
.sdc-link{color:#2F63D8;font-weight:800;text-decoration:underline}
.sdc-row{display:flex;gap:10px;flex:0 0 auto;margin-left:auto}
.sdc-btn{
  padding:11px 18px;border-radius:999px;cursor:pointer;
  font-family:'Fredoka','Arial Rounded MT Bold','Trebuchet MS',sans-serif;font-size:16px;font-weight:600;
}
.sdc-no{border:2px solid #7FD0FF;background:#fff;color:#2F63D8}
.sdc-yes{
  border:0;color:#fff;background:linear-gradient(180deg,#FF9A2E,#F0441F);font-weight:700;
  box-shadow:0 4px 0 #8f1f00,0 8px 16px rgba(0,0,0,.18);
}
.sdc-yes:active{transform:translateY(2px);box-shadow:0 2px 0 #8f1f00}
.sdc-btn:focus-visible{outline:3px solid #50E8FF;outline-offset:2px}
@media (max-width:520px){
  .sdc-row{width:100%;margin-left:0}
  .sdc-btn{flex:1}
}
