/* Autoajuda (auto-ajuda.js; 21/10: flutuante no canto inferior direito). Padrao do painel: azul-marinho + dourado. */
.scaa-fab{--scaa-gold:#e8c66a;--scaa-gold2:#c9972b;position:fixed;z-index:9990;right:24px;bottom:24px;width:58px;height:58px;padding:0;border:0;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#101827;
  background:linear-gradient(140deg,var(--scaa-gold) 0%,var(--scaa-gold2) 100%);
  box-shadow:0 10px 26px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08) inset;transition:transform .18s ease,box-shadow .18s ease}
.scaa-fab[hidden]{display:none}
.scaa-fab:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.5),0 0 0 4px rgba(232,198,106,.16)}
.scaa-fab:focus-visible{outline:3px solid #f7f8fa;outline-offset:3px}
/* icone: balao de conversa com "?" (fechado) / X (aberto) */
.scaa-fab-ic{width:28px;height:28px;background:#101827;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5C6.5 2.5 2 6.4 2 11.2c0 2.4 1.1 4.6 3 6.2l-.8 3.6c-.1.5.4.9.9.6l4.1-2c.9.2 1.8.3 2.8.3 5.5 0 10-3.9 10-8.7S17.5 2.5 12 2.5zm.1 13.9a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zm1.4-5.2c-.6.4-.7.6-.7 1.1v.4h-1.9v-.5c0-1.2.5-1.8 1.3-2.4.6-.4.9-.7.9-1.2 0-.6-.5-1-1.2-1-.8 0-1.3.5-1.4 1.2l-1.9-.2c.2-1.8 1.5-2.8 3.4-2.8 1.9 0 3.1 1 3.1 2.6 0 1.2-.6 1.9-1.6 2.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5C6.5 2.5 2 6.4 2 11.2c0 2.4 1.1 4.6 3 6.2l-.8 3.6c-.1.5.4.9.9.6l4.1-2c.9.2 1.8.3 2.8.3 5.5 0 10-3.9 10-8.7S17.5 2.5 12 2.5zm.1 13.9a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zm1.4-5.2c-.6.4-.7.6-.7 1.1v.4h-1.9v-.5c0-1.2.5-1.8 1.3-2.4.6-.4.9-.7.9-1.2 0-.6-.5-1-1.2-1-.8 0-1.3.5-1.4 1.2l-1.9-.2c.2-1.8 1.5-2.8 3.4-2.8 1.9 0 3.1 1 3.1 2.6 0 1.2-.6 1.9-1.6 2.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .2s ease}
.scaa-fab[aria-expanded="true"] .scaa-fab-ic{width:22px;height:22px;transform:rotate(90deg);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 3.9 12 10.6l6.7-6.7 1.4 1.4-6.7 6.7 6.7 6.7-1.4 1.4-6.7-6.7-6.7 6.7-1.4-1.4 6.7-6.7-6.7-6.7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 3.9 12 10.6l6.7-6.7 1.4 1.4-6.7 6.7 6.7 6.7-1.4 1.4-6.7-6.7-6.7 6.7-1.4-1.4 6.7-6.7-6.7-6.7z'/%3E%3C/svg%3E") center/contain no-repeat}
.scaa-fab-tip{position:absolute;right:calc(100% + 12px);top:50%;transform:translate(6px,-50%);padding:7px 11px;border-radius:8px;background:#0b1628;color:#f7f8fa;
  border:1px solid rgba(201,151,43,.35);font:600 13px Inter,"Segoe UI",Arial,sans-serif;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s ease,transform .15s ease;
  box-shadow:0 8px 20px rgba(0,0,0,.35)}
.scaa-fab:hover .scaa-fab-tip,.scaa-fab:focus-visible .scaa-fab-tip{opacity:1;transform:translate(0,-50%)}
.scaa-fab[aria-expanded="true"] .scaa-fab-tip{display:none}
/* pulso discreto so ao carregar a pagina (3 vezes); some ao abrir */
.scaa-fab.scaa-pulse::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 0 rgba(232,198,106,.55);animation:scaa-pulse 2.2s ease-out 1.2s 3}
@keyframes scaa-pulse{0%{box-shadow:0 0 0 0 rgba(232,198,106,.5)}100%{box-shadow:0 0 0 16px rgba(232,198,106,0)}}
/* avisos de nova venda (canto inferior direito) sobem para nao cobrir o botao */
body.scaa-has-fab #se-sale-notification-stack{bottom:96px}

.scaa-backdrop{position:fixed;inset:0;z-index:9991;background:transparent;display:none}
.scaa-backdrop.open{display:block}
.scaa-panel{position:fixed;z-index:9992;right:24px;bottom:96px;width:392px;max-width:calc(100vw - 32px);height:min(600px,calc(100vh - 120px));
  display:flex;flex-direction:column;overflow:hidden;visibility:hidden;opacity:0;transform:translateY(14px) scale(.98);transform-origin:bottom right;
  transition:opacity .18s ease,transform .2s ease,visibility 0s linear .2s;
  background:#0a1525;color:#f7f8fa;border:1px solid rgba(201,151,43,.3);border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.6);
  font-family:Inter,"Segoe UI",Arial,sans-serif}
.scaa-panel.open{visibility:visible;opacity:1;transform:none;transition:opacity .18s ease,transform .2s ease,visibility 0s}
@media (prefers-reduced-motion:reduce){.scaa-panel,.scaa-panel.open,.scaa-fab,.scaa-fab-ic{transition:none}.scaa-fab.scaa-pulse::after{animation:none}}

.scaa-hero{flex:0 0 auto;padding:16px 18px 16px;background:radial-gradient(120% 140% at 100% 0%,rgba(232,198,106,.16) 0%,rgba(232,198,106,0) 55%),linear-gradient(160deg,#152844 0%,#0b1628 100%);
  border-bottom:1px solid rgba(201,151,43,.22)}
.scaa-hero-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.scaa-brand{display:inline-flex;align-items:center;gap:8px;color:#e8c66a;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.scaa-brand-ic{width:22px;height:22px;border-radius:50%;background:linear-gradient(140deg,#e8c66a,#c9972b);position:relative}
.scaa-brand-ic::after{content:"";position:absolute;inset:4px;background:#101827;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center/contain no-repeat}
.scaa-close{flex:0 0 auto;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.06);cursor:pointer;position:relative}
.scaa-close::after{content:"";position:absolute;inset:9px;background:#c9d2df;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 3.9 12 10.6l6.7-6.7 1.4 1.4-6.7 6.7 6.7 6.7-1.4 1.4-6.7-6.7-6.7 6.7-1.4-1.4 6.7-6.7-6.7-6.7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 3.9 12 10.6l6.7-6.7 1.4 1.4-6.7 6.7 6.7 6.7-1.4 1.4-6.7-6.7-6.7 6.7-1.4-1.4 6.7-6.7-6.7-6.7z'/%3E%3C/svg%3E") center/contain no-repeat}
.scaa-close:hover{background:rgba(232,198,106,.16)}
.scaa-close:hover::after{background:#e8c66a}
.scaa-close:focus-visible{outline:2px solid #e8c66a;outline-offset:2px}
.scaa-title{display:block;font-size:20px;line-height:1.2;font-weight:800;color:#fff}
.scaa-sub{display:block;margin-top:4px;color:#aeb7c5;font-size:13px}
.scaa-search{margin-top:14px}
.scaa-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.scaa-pill{display:flex;align-items:center;gap:8px;height:46px;padding:0 6px 0 14px;border-radius:999px;background:#07111f;border:1px solid rgba(201,151,43,.38);
  transition:border-color .15s ease,box-shadow .15s ease}
.scaa-pill:focus-within{border-color:#e8c66a;box-shadow:0 0 0 3px rgba(232,198,106,.16)}
.scaa-pill-ic{flex:0 0 auto;width:18px;height:18px;background:#e8c66a;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 0 1 5.9 12.1l4.8 4.8-1.4 1.4-4.8-4.8A7.5 7.5 0 1 1 10.5 3zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 0 1 5.9 12.1l4.8 4.8-1.4 1.4-4.8-4.8A7.5 7.5 0 1 1 10.5 3zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z'/%3E%3C/svg%3E") center/contain no-repeat}
.scaa-pill input{flex:1 1 auto;min-width:0;height:100%;border:0;background:transparent;color:#f7f8fa;font:400 15px Inter,"Segoe UI",Arial,sans-serif;outline:none;-webkit-appearance:none;appearance:none}
.scaa-pill input::placeholder{color:#7f8ba0}
.scaa-pill input::-webkit-search-cancel-button{display:none}
.scaa-clear{flex:0 0 auto;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.07);cursor:pointer;position:relative}
.scaa-clear[hidden]{display:none}
.scaa-clear::after{content:"";position:absolute;inset:10px;background:#c9d2df;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 3.9 12 10.6l6.7-6.7 1.4 1.4-6.7 6.7 6.7 6.7-1.4 1.4-6.7-6.7-6.7 6.7-1.4-1.4 6.7-6.7-6.7-6.7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 3.9 12 10.6l6.7-6.7 1.4 1.4-6.7 6.7 6.7 6.7-1.4 1.4-6.7-6.7-6.7 6.7-1.4-1.4 6.7-6.7-6.7-6.7z'/%3E%3C/svg%3E") center/contain no-repeat}
.scaa-clear:hover{background:rgba(232,198,106,.18)}
.scaa-clear:focus-visible{outline:2px solid #e8c66a;outline-offset:1px}

.scaa-status{margin:0;padding:10px 18px 0;min-height:0;font-size:12px;color:#8f9bb0}
.scaa-status:empty{display:none}
.scaa-body{flex:1 1 auto;min-height:0;overflow:auto;padding:6px 12px 14px;scrollbar-width:thin;scrollbar-color:rgba(201,151,43,.35) transparent}
.scaa-results{display:grid;gap:8px}
.scaa-results[hidden]{display:none}
.scaa-sec{margin:12px 6px 2px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8f9bb0}
.scaa-item{display:grid;grid-template-columns:108px minmax(0,1fr);gap:12px;align-items:start;width:100%;text-align:left;padding:8px;border-radius:12px;
  border:1px solid transparent;background:rgba(255,255,255,.035);color:#f7f8fa;font:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.scaa-item:hover,.scaa-item:focus-visible{background:rgba(232,198,106,.08);border-color:rgba(232,198,106,.45);outline:none}
.scaa-thumb{position:relative;display:block;width:108px;height:61px;border-radius:8px;overflow:hidden;background:linear-gradient(150deg,#16294a,#0b1628)}
.scaa-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.scaa-thumb-app img{object-fit:contain;background:#050b14}
.scaa-thumb-play{position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;background:rgba(10,21,37,.78);box-shadow:0 0 0 1px rgba(232,198,106,.6)}
.scaa-thumb-play::after{content:"";position:absolute;inset:7px 6px 7px 9px;background:#e8c66a;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3v18l16-9z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3v18l16-9z'/%3E%3C/svg%3E") center/contain no-repeat}
.scaa-item:hover .scaa-thumb-play,.scaa-item:focus-visible .scaa-thumb-play{background:#e8c66a}
.scaa-item:hover .scaa-thumb-play::after,.scaa-item:focus-visible .scaa-thumb-play::after{background:#101827}
.scaa-item-body{display:grid;gap:2px;min-width:0;padding-top:1px}
.scaa-item-title{font-size:14px;line-height:1.3;font-weight:700;color:#fff}
.scaa-item-meta{font-size:11.5px;color:#8f9bb0}
.scaa-ex{margin:4px 0 0;color:#b9c3d1;font-size:12.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.scaa-ex mark{background:none;color:#f0cf77;font-weight:700;padding:0}
.scaa-chips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 4px}
.scaa-chip{padding:8px 12px;border-radius:999px;border:1px solid rgba(201,151,43,.3);background:rgba(255,255,255,.03);color:#e6ebf2;font:500 13px Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;text-align:left;line-height:1.3;transition:border-color .15s ease,color .15s ease,background .15s ease}
.scaa-chip:hover,.scaa-chip:focus-visible{border-color:#e8c66a;color:#f0cf77;background:rgba(232,198,106,.08);outline:none}
.scaa-empty{display:grid;gap:4px;margin:10px 4px 0;padding:16px;border:1px dashed rgba(201,151,43,.35);border-radius:12px;color:#aeb7c5;font-size:13.5px;line-height:1.45}
.scaa-empty b{color:#f7f8fa}

.scaa-player{display:grid;gap:10px;padding:4px 4px 0}
/* video tocando: o cabecalho encolhe (so marca + titulo) para o video ganhar espaco */
.scaa-panel.playing .scaa-sub,.scaa-panel.playing .scaa-search,.scaa-panel.playing .scaa-status{display:none}
.scaa-panel.playing .scaa-hero{padding-bottom:12px}
.scaa-panel.playing .scaa-hero-top{margin-bottom:6px}
.scaa-panel.playing .scaa-title{font-size:16px}
.scaa-player[hidden]{display:none}
.scaa-back{justify-self:start;background:none;border:0;padding:4px 0;color:#e8c66a;font:700 13.5px Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
.scaa-back:focus-visible{outline:2px solid #e8c66a;outline-offset:2px}
.scaa-player-title{font-size:15px;line-height:1.3;color:#fff}
.scaa-video{background:#000;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px rgba(201,151,43,.25)}
.scaa-video video{display:block;width:100%;aspect-ratio:16/9;background:#000;object-fit:contain}
.scaa-video.scaa-video-app video{aspect-ratio:auto;height:min(46vh,340px)}
.scaa-player-text{margin:0;color:#b9c3d1;font-size:13px;line-height:1.5}

.scaa-foot{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid rgba(201,151,43,.2);background:#0b1628}
.scaa-foot-text{margin:0;display:grid;font-size:12.5px;color:#aeb7c5;line-height:1.35}
.scaa-foot-text b{color:#f7f8fa;font-size:13.5px}
.scaa-ticket{height:40px;padding:0 18px;border:0;border-radius:999px;background:linear-gradient(140deg,#e8c66a,#c9972b);color:#101827;font:700 14px Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 6px 16px rgba(201,151,43,.25)}
.scaa-ticket:hover{filter:brightness(1.05)}
.scaa-ticket:focus-visible{outline:2px solid #f7f8fa;outline-offset:2px}
.scaa-all{display:inline-block;margin:14px 6px 2px;color:#e8c66a;font-size:12.5px;font-weight:700;text-decoration:none}
.scaa-all:hover{color:#e8c66a;text-decoration:underline}
.scaa-ticket[hidden],.scaa-foot-text[hidden]{display:none}

/* celular: painel em tela cheia; o botao fica menor e some enquanto o painel esta aberto */
@media(max-width:600px){
  .scaa-fab{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:52px;height:52px}
  .scaa-fab-ic{width:25px;height:25px}
  .scaa-fab-tip{display:none}
  html.scaa-open .scaa-fab{display:none}
  body.scaa-has-fab #se-sale-notification-stack{bottom:80px}
  .scaa-panel{inset:0;right:0;bottom:0;width:100%;max-width:none;height:100%;border-radius:0;border:0;transform:translateY(24px)}
  .scaa-hero{padding:calc(14px + env(safe-area-inset-top,0px)) 16px 14px}
  .scaa-foot{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .scaa-item{grid-template-columns:96px minmax(0,1fr)}
  .scaa-thumb{width:96px;height:54px}
}
