/* [1.5.1083] A janela do cupão aceite e da subscrição ativa (includes/vip/benefits-window.php), com as bolachas e os tons
   das páginas da conta (site-pages.css), em claro e em escuro. No computador fica ao centro; no telemóvel é uma folha de
   baixo. O botão está sempre à vista e só a parte de cima se arrasta. */
@keyframes bw-in{ 0%{ opacity:0; transform:translateY(34px) scale(.95); } 100%{ opacity:1; transform:none; } }
@keyframes bw-rise{ 0%{ opacity:0; transform:translateY(16px) scale(.97); } 100%{ opacity:1; transform:none; } }
@keyframes bw-pop{ 0%{ opacity:0; transform:scale(.3); } 60%{ opacity:1; transform:scale(1.14); } 100%{ opacity:1; transform:none; } }
@keyframes bw-party{ 0%{ opacity:0; transform:translate(0,0) scale(.2) rotate(0); } 55%{ opacity:1; } 100%{ opacity:1; transform:translate(var(--x),var(--y)) scale(1) rotate(160deg); } }

#rmbz-vip .scrim.bw-scrim{ z-index:2147483643; align-items:center; padding:24px 16px; background:rgba(20,18,12,.5); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
html body #rmbz-vip .scrim.bw-scrim > .dialog.bw-sheet{ box-sizing:border-box; display:flex; flex-direction:column; width:620px !important; max-width:100% !important; max-height:calc(100dvh - 48px) !important; margin:0; padding:0 !important; border:0; border-radius:40px !important; overflow:hidden;
  background:var(--surface); color:var(--text); text-align:center; font-family:'Geist',system-ui,sans-serif; box-shadow:0 2px 8px rgba(0,0,0,.08),0 40px 80px -20px rgba(0,0,0,.45); animation:bw-in calc(520ms*var(--k,1)) var(--spring,ease) both; }
#rmbz-vip .bw-sheet :is(h2,h3,p,ul,li){ margin:0; padding:0; }
#rmbz-vip .bw-sheet .ms{ flex:none; line-height:1; font-variation-settings:'FILL' 1; }
#rmbz-vip .bw-body{ flex:1; min-height:0; padding:14px 14px 6px; overflow:hidden auto; overscroll-behavior:contain; }

/* O topo: a bolacha grande, os pedaços de cor à volta e o que entrou, em grande. */
#rmbz-vip .bw-hero{ position:relative; display:flex; flex-direction:column; align-items:center; gap:12px; padding:34px 20px 28px; border-radius:28px; overflow:hidden; background:var(--soft); color:var(--ink); }
#rmbz-vip .bw-hero > *{ position:relative; }
#rmbz-vip .bw-icon{ --s:96px; --spin:18s; animation:bw-pop calc(620ms*var(--k,1)) var(--spring,ease) calc(160ms*var(--k,1)) both; }
#rmbz-vip .bw-hero .bw-party{ position:absolute; left:50%; top:82px; width:0; height:0; }
#rmbz-vip .bw-party i{ position:absolute; width:22px; height:22px; margin:-11px; background:var(--tone); clip-path:var(--cookie); transform:translate(var(--x),var(--y)) rotate(160deg); animation:bw-party calc(900ms*var(--k,1)) cubic-bezier(.2,.9,.3,1) calc(240ms*var(--k,1)) both; }
#rmbz-vip .bw-party i:nth-child(1){ --x:-128px; --y:-34px; }
#rmbz-vip .bw-party i:nth-child(2){ --x:-176px; --y:34px; width:30px; height:30px; }
#rmbz-vip .bw-party i:nth-child(3){ --x:-96px; --y:40px; width:15px; height:15px; }
#rmbz-vip .bw-party i:nth-child(4){ --x:126px; --y:-40px; width:28px; height:28px; }
#rmbz-vip .bw-party i:nth-child(5){ --x:180px; --y:20px; }
#rmbz-vip .bw-party i:nth-child(6){ --x:98px; --y:38px; width:16px; height:16px; background:var(--ink,var(--tone)); }
#rmbz-vip .bw-chip{ display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:4px 16px 4px 10px; border-radius:18px; background:var(--success-soft); color:var(--success-ink); font-size:14.5px; font-weight:700; }
#rmbz-vip .bw-chip .ms{ font-size:21px; color:var(--success); }
#rmbz-vip .bw-sheet h2{ color:var(--text); font:800 30px/1.12 'Bricolage Grotesque',system-ui,sans-serif; letter-spacing:-.6px; text-transform:none; text-wrap:balance; }
#rmbz-vip .bw-sheet .bw-big{ display:flex; flex-direction:column; align-items:center; gap:4px; color:var(--text); font-size:16px; font-weight:600; line-height:1.4; }
#rmbz-vip .bw-big strong{ color:var(--ink); font:800 54px/1 'Bricolage Grotesque',system-ui,sans-serif; letter-spacing:-1.6px; }
#rmbz-vip .bw-big strong.is-long{ font-size:27px; line-height:1.15; letter-spacing:-.5px; }

#rmbz-vip .bw-heading{ display:flex; flex-direction:column; gap:3px; padding:20px 8px 12px; }
#rmbz-vip .bw-sheet h3{ color:var(--text); font:750 20px/1.2 'Bricolage Grotesque',system-ui,sans-serif; text-transform:none; }
#rmbz-vip .bw-sheet .bw-heading p{ color:var(--text2); font-size:14.5px; line-height:1.45; }
#rmbz-vip .bw-sheet .bw-list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; list-style:none; text-align:left; }
#rmbz-vip .bw-hero + .bw-list{ margin-top:10px; }
#rmbz-vip .bw-sheet .bw-list li{ display:flex; align-items:center; gap:13px; min-width:0; padding:14px; border-radius:24px; background:var(--soft); color:var(--text); animation:bw-rise calc(460ms*var(--k,1)) var(--spring,ease) calc((320ms + var(--i,0)*70ms)*var(--k,1)) both; transition:border-radius calc(350ms*var(--k,1)) var(--spring,ease); }
#rmbz-vip .bw-sheet .bw-list li:hover{ border-radius:14px; }
/* Com um número ímpar, o último ocupa a linha toda. */
#rmbz-vip .bw-list li:last-child:nth-child(odd){ grid-column:1 / -1; }
#rmbz-vip .bw-item-icon{ --s:46px; --spin:20s; }
#rmbz-vip .bw-list li > span:last-child{ display:flex; flex-direction:column; gap:2px; min-width:0; }
#rmbz-vip .bw-list strong{ font-size:15.5px; font-weight:750; line-height:1.25; }
#rmbz-vip .bw-list small{ color:var(--text2); font-size:13.5px; line-height:1.4; }
#rmbz-vip .bw-sheet .bw-note{ display:flex; align-items:center; gap:12px; margin-top:10px; padding:14px 16px; border-radius:22px; background:var(--elev); color:var(--text2); font-size:14px; line-height:1.5; text-align:left; }
#rmbz-vip .bw-note .ms{ font-size:24px; color:var(--info); }

#rmbz-vip .bw-foot{ flex:none; display:flex; flex-direction:column; align-items:center; gap:10px; padding:12px 14px 16px; background:var(--surface); }
#rmbz-vip .bw-sheet .bw-go{ -webkit-appearance:none; appearance:none; display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:62px; margin:0; padding:0 24px; border:0; border-radius:31px; background:var(--brand); color:var(--on-brand); box-shadow:none; font:750 18px/1.2 'Geist',system-ui,sans-serif; letter-spacing:0; text-transform:none; cursor:pointer; transition:border-radius calc(350ms*var(--k,1)) var(--spring,ease),transform .2s; }
#rmbz-vip .bw-sheet .bw-go:hover{ border-radius:18px; }
#rmbz-vip .bw-sheet .bw-go:active{ transform:scale(.97); }
#rmbz-vip .bw-sheet .bw-go:focus-visible{ outline:3px solid var(--info); outline-offset:3px; }
#rmbz-vip .bw-go .ms{ font-size:24px; transition:transform calc(350ms*var(--k,1)) var(--spring,ease); }
#rmbz-vip .bw-go:hover .ms{ transform:translateX(5px); }
#rmbz-vip .bw-foot p{ display:inline-flex; align-items:center; gap:8px; color:var(--text2); font-size:14px; line-height:1.4; }
#rmbz-vip .bw-foot p .ms{ font-size:19px; color:var(--success); }

@media (max-width:599px){
  #rmbz-vip .scrim.bw-scrim{ align-items:flex-end; padding:0; }
  html body #rmbz-vip .scrim.bw-scrim > .dialog.bw-sheet{ width:100% !important; max-height:94dvh !important; border-radius:36px 36px 0 0 !important; }
  #rmbz-vip .bw-sheet .bw-list{ grid-template-columns:minmax(0,1fr); }
  #rmbz-vip .bw-hero{ padding:26px 16px 24px; }
  #rmbz-vip .bw-icon{ --s:84px; }
  #rmbz-vip .bw-hero .bw-party{ top:68px; transform:scale(.82); }
  #rmbz-vip .bw-sheet h2{ font-size:26px; }
  #rmbz-vip .bw-big strong{ font-size:46px; }
  #rmbz-vip .bw-big strong.is-long{ font-size:23px; }
  #rmbz-vip .bw-foot{ padding-bottom:calc(14px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce){
  #rmbz-vip .bw-sheet, #rmbz-vip .bw-sheet *, #rmbz-vip .bw-sheet *::before{ animation:none !important; transition:none !important; }
}
