/* Sadie Village · MIS-GRATIS (20/11/2026) — ecrã do modo gratuito: parabéns + o que abriu + convite para a licença Família. Prefixo gr-. Mobile first. */
.gr{max-width:480px;margin:0 auto;text-align:center;padding-top:14px;overflow-x:hidden}
.gr .xbtn{z-index:3}
.gr-top{display:flex;align-items:center;gap:12px;justify-content:center;padding:0 52px 0 6px}
.gr-sadie{position:relative;flex:none}.gr-sadie .avatar{width:64px;height:64px;animation:grhop .9s ease-in-out infinite}
.gr-sadie .avatar img{width:100%;height:100%;object-fit:contain;display:block}
.gr-hop{position:absolute;right:-14px;top:-10px;font-size:26px;animation:grspin 1.6s linear infinite}
.gr-head{text-align:left;min-width:0}.gr-head small{display:block;opacity:.7;font-weight:700}
.gr-head h2{margin:0;font-size:22px;line-height:1.15;overflow-wrap:anywhere}
.gr-say{position:relative;margin:12px 4px 4px;padding:9px 12px;background:#fff;border-radius:16px;border:2px solid #EFE8FA;color:#2B1B3D;font-size:15.5px;font-weight:800;line-height:1.35;box-shadow:0 3px 0 #EFE8FA}
.gr-say:before{content:"";position:absolute;left:50%;top:-8px;width:12px;height:12px;background:#fff;border-left:2px solid #EFE8FA;border-top:2px solid #EFE8FA;transform:translateX(-50%) rotate(45deg)}
.gr-sub{margin:12px 0 6px;font:600 15px var(--f1);color:#7C6C97}
.gr-two{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.gr-card{background:#F3ECFF;border-radius:14px;padding:8px 6px;min-width:0}
.gr-card i{display:block;font-style:normal;font-size:26px}.gr-card b{display:block;font-size:14px;color:#2B1B3D;overflow-wrap:anywhere}.gr-card small{display:block;font-size:11.5px;opacity:.75;line-height:1.25;color:#2B1B3D;overflow-wrap:anywhere}
.gr-invite{background:linear-gradient(180deg,#FFF3F8,#FFF8E6);border:2px solid #FFD7E8;border-radius:18px;padding:10px 12px;text-align:left}
.gr-invite h3{margin:0 0 4px;font:600 19px var(--f1);color:var(--pink)}
.gr-invite p{margin:0 0 6px;font-size:14px;font-weight:700;color:#4A3A63;line-height:1.35}
.gr-vant{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.gr-vant li{display:flex;gap:8px;align-items:flex-start;font-size:14px;font-weight:800;color:#2B1B3D;line-height:1.3}
.gr-vant li i{flex:none;font-style:normal;font-size:18px;line-height:1.1}
.gr-btns{flex-direction:column;gap:0;margin-top:10px}
.gr-btns .btn{width:100%;flex:none;margin-top:8px;font-size:19px;padding:13px 10px}
.gr-btns .btn:first-child{margin-top:0}
.gr-note{margin:8px 0 0;font-size:12.5px;font-weight:700;color:#7C6C97}
/* cartão pequeno (lembrete suave) */
.gr-mini{max-width:420px;margin:0 auto;text-align:center;padding-top:14px}
.gr-mini .gr-top{padding:0 52px 0 6px}.gr-mini .gr-head h2{font-size:19px}
.gr-mini .gr-sadie .avatar{width:52px;height:52px}
.gr-mini p.gr-body{margin:8px 4px 0;font-size:15px;font-weight:800;color:#2B1B3D;line-height:1.35}
@keyframes grhop{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes grspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gr *{animation-duration:.01s!important;animation-delay:0s!important}}
/* o «Compartilhar» flutuante não tapa os botões */
body:has(.gr,.gr-mini) #a90share{display:none!important}
/* deitado (altura baixa): duas colunas (cabeçalho + palavras · convite + botões), tudo à vista; rolagem se preciso */
.gr-c1,.gr-c2{display:contents}
@media (max-height:430px){
  .gr{max-width:760px;padding:8px 10px;display:grid;grid-template-columns:1fr 1fr;column-gap:12px;align-items:start;align-content:start;text-align:left}
  .gr-c1,.gr-c2{display:block;min-width:0}
  .gr-top{padding:0 40px 0 0;justify-content:flex-start}.gr-sadie .avatar{width:44px;height:44px}.gr-head h2{font-size:17px}
  .gr-say{font-size:13px;margin:8px 0 2px;padding:6px 9px}.gr-say:before{display:none}
  .gr-sub{margin:8px 0 4px;font-size:13px}
  .gr-card{padding:5px 4px}.gr-card i{font-size:20px}.gr-card b{font-size:12.5px}.gr-card small{font-size:10.5px}
  .gr-two{margin-bottom:0}
  .gr-invite{padding:7px 9px}.gr-invite h3{font-size:16px;padding-right:50px}.gr-invite p{font-size:12.5px;margin-bottom:4px}.gr-vant{gap:3px}.gr-vant li{font-size:12.5px}
  .gr-btns{margin-top:6px}.gr-btns .btn{font-size:15px;padding:8px 8px;margin-top:5px;min-height:0}
  .gr-note{font-size:11.5px;margin-top:5px}
  .gr-mini{padding:8px 10px}
}
/* Galaxy Fold fechado (≈280 px): tudo numa coluna estreita */
@media (max-width:320px){
  .gr{padding-left:2px;padding-right:2px}
  .gr-top{gap:8px;padding-right:50px}.gr-sadie .avatar{width:48px;height:48px}.gr-head h2{font-size:18px}
  .gr-say{font-size:14px}.gr-two{gap:6px}.gr-card b{font-size:13px}.gr-card small{font-size:10.5px}
  .gr-invite h3{font-size:17px}.gr-vant li{font-size:13px}
  .gr-btns .btn{font-size:17px}
}
/* RC2: no Fold fechado (≤480 px) o ui89.css põe os h2 dos painéis em nowrap/max-content → o cartão ficava com 414 px num ecrã de 280. Os cartões do grátis/pausa quebram linha e cabem sempre. */
.gr-mini .gr-head h2{white-space:normal!important;min-width:0!important;width:auto!important}
.gr-mini{box-sizing:border-box;max-width:min(420px,100%)}
.gr-pausa .gr-kid{color:#B0306A}
.gr-mini .gr-top{max-width:100%;box-sizing:border-box}.gr-mini .gr-head{flex:1 1 0;min-width:0!important;max-width:100%}.gr-mini .gr-head h2{max-width:100%}
@media (max-width:330px){.gr-mini .gr-top{padding-right:44px;gap:8px}.gr-mini .gr-sadie .avatar{width:42px;height:42px}.gr-mini .gr-head h2{font-size:17px}}
/* RC2: o mesmo para o cartão grande do fim do A1.1 (.gr): cabe sempre no ecrã (393 e 280 px) */
.gr .gr-head h2,.gr h3{white-space:normal!important;min-width:0!important;width:auto!important}
.gr{box-sizing:border-box;max-width:min(480px,100%)}
.gr .gr-top{max-width:100%;box-sizing:border-box}.gr .gr-head{flex:1 1 0;min-width:0!important;max-width:100%}
.gr .gr-invite,.gr .gr-c2,.gr .gr-two{max-width:100%;box-sizing:border-box;min-width:0}
