
  .fb-modal{
    position:fixed;inset:0;z-index:10000;
    display:flex;align-items:center;justify-content:center;
    padding:24px;
    opacity:0;transition:opacity .3s ease;
    pointer-events:none;
  }
  .fb-modal.is-open{opacity:1;pointer-events:auto}
  /* display:flex above beats the [hidden] UA rule, and iOS Safari paints
     the child's backdrop-filter even at opacity:0, frosting the page. */
  .fb-modal[hidden]{display:none}
  .fb-backdrop{
    position:absolute;inset:0;
    background:rgba(0,0,0,.62);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  [data-theme="light"] .fb-backdrop{background:rgba(0,0,0,.40)}
  .fb-card{
    position:relative;z-index:1;
    width:min(720px,96vw);
    max-height:min(880px,92vh);
    display:flex;flex-direction:column;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 30px 80px rgba(0,0,0,.5);
    transform:scale(.96);
    transition:transform .3s cubic-bezier(.2,.7,.2,1);
  }
  [data-theme="light"] .fb-card{
    background:#fff;
    box-shadow:0 30px 80px rgba(0,0,0,.18);
  }
  .fb-modal.is-open .fb-card{transform:scale(1)}
  .fb-head{
    display:flex;align-items:center;gap:12px;
    padding:14px 18px;
    border-bottom:1px solid var(--border);
  }
  .fb-eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    font-size:.66rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;
    color:var(--accent);
  }
  .fb-eyebrow .dot{
    width:6px;height:6px;border-radius:50%;background:var(--accent);
    box-shadow:0 0 8px var(--accent);
  }
  .fb-title{
    font-family:var(--font-display);
    font-size:1rem;font-weight:600;color:var(--text);
    margin-left:6px;
  }
  .fb-close{
    margin-left:auto;
    background:transparent;border:none;cursor:pointer;
    color:var(--text-dim);font-size:1.4rem;line-height:1;
    width:32px;height:32px;border-radius:999px;
    transition:background .15s,color .15s;
  }
  .fb-close:hover{background:rgba(255,255,255,.06);color:var(--text)}
  [data-theme="light"] .fb-close:hover{background:rgba(0,0,0,.05)}
  .fb-iframe-wrap{
    flex:1 1 auto;
    /* min-height tightened 520 → 460 so the modal doesn't render a
       ~200px white void when the embedded Google Form has only a
       few questions. Form scrolls internally if it grows. */
    min-height:460px;
    background:#fff;
    position:relative;
    overflow:hidden;
  }
  /* Absolute fill (not height:100%) so the iframe actually resolves
     against the wrap's rendered height inside a flex column. With
     height:100% the iframe was collapsing to its 150px intrinsic
     default and only the top of the Google Form was visible — looked
     like a white cutoff right after the "Sign in / Say Anything"
     question header. */
  .fb-direct{
    padding:22px;
    min-height:260px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  }
  .fb-direct p{
    margin:0;
    color:var(--text-dim);
    font-size:.95rem;
    line-height:1.6;
    max-width:560px;
  }
  .fb-direct-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .fb-direct-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 15px;
    border-radius:999px;
    border:1px solid var(--border);
    color:var(--text);
    background:var(--bg-card);
    text-decoration:none;
    font-weight:800;
    font-size:.82rem;
  }
  .fb-direct-actions a:first-child{
    border-color:transparent;
    background:var(--accent);
    color:#fff;
  }
  [data-theme="light"] .fb-direct p{color:rgba(0,0,0,.68)}
  .fb-foot{
    display:flex;justify-content:space-between;align-items:center;
    gap:14px;
    padding:10px 18px;
    border-top:1px solid var(--border);
    font-size:.78rem;color:var(--text-dim);
  }
  .fb-foot a{color:var(--accent);font-weight:700;text-decoration:none}
  .fb-foot a:hover{text-decoration:underline;text-underline-offset:3px}
  @media (max-width:560px){
    .fb-modal{padding:0}
    .fb-card{
      width:100%;height:100%;max-height:none;
      border-radius:0;border:none;
    }
    .fb-direct{min-height:0;padding:18px}
  }
