/* SEMIO MED - a coruja da madrugada (04/12/2026) */
.scj {
  --scj-fundo: #0e2038;
  position: fixed; right: 20px; bottom: 20px; z-index: 2147483000;
  display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 4px;
  width: min(380px, calc(100vw - 24px)); padding: 12px 40px 14px 10px;
  border: 1px solid rgba(243, 210, 122, .28); border-radius: 22px;
  background: linear-gradient(160deg, rgba(20, 42, 72, .94), rgba(10, 24, 44, .94));
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important; backdrop-filter: blur(18px) saturate(150%) !important;
  box-shadow: 0 24px 60px -18px rgba(4, 12, 24, .65), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  color: #eef3fa; font-family: Inter, system-ui, sans-serif;
  animation: scjEntra .5s cubic-bezier(.2, .9, .25, 1.15) both;
}
.scj.is-saindo { animation: scjSai .3s ease both; }
.scj-arte { width: 100px; height: 100px; }
.scj-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.scj-corpo { transform-origin: 60px 104px; animation: scjBalanca 3.2s ease-in-out infinite; }
.scj-olhos { transform-box: fill-box; transform-origin: center; animation: scjPisca 4.6s infinite; }
.scj-tx strong { display: block; font-size: 16px; font-weight: 800; color: #f3d27a; letter-spacing: -0.01em; }
.scj-tx p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: #dbe4f0; }
.scj-acoes { display: flex; gap: 8px; margin-top: 10px; }
html body .scj button { font: 700 13px Inter, system-ui, sans-serif; cursor: pointer; }
html body .scj .scj-ok { padding: 6px 14px; border: 0; border-radius: 999px; background: #f3d27a !important; color: #0e2038 !important; }
html body .scj .scj-ok:hover { background: #ffe39a !important; }
html body .scj .scj-hoje { padding: 6px 10px; border: 0; border-radius: 999px; background: transparent !important; color: #b9c7d9 !important; }
html body .scj .scj-hoje:hover { color: #fff !important; background: rgba(255, 255, 255, .08) !important; }
html body .scj .scj-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent !important; color: #9fb0c6 !important; }
html body .scj .scj-x:hover { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }
.scj-x svg { width: 16px; height: 16px; }
.scj button:focus-visible { outline: 2px solid #f3d27a; outline-offset: 2px; }
@keyframes scjEntra { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .scj { animation-name: scjEntraTopo; } }
@keyframes scjEntraTopo { from { opacity: 0; transform: translateY(-20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes scjSai { to { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes scjBalanca { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes scjPisca { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@media (max-width: 640px) {
  .scj { right: 12px; left: 12px; top: calc(70px + env(safe-area-inset-top)); bottom: auto; width: auto; grid-template-columns: 76px 1fr; }
  .scj-arte { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) { .scj, .scj.is-saindo, .scj-corpo, .scj-olhos { animation: none; } }
