/*
 * Componentes da loja (página da loja, cartões, popup do produto, promoções,
 * carrinho, popups das campanhas, galeria do topo, voo para o carrinho…).
 *
 * Carregado no <head> do layouts.app (antes do CSS dos templates, que lhe
 * ganha quando está ligado). Antes estava num <style> no fim do
 * common/layouts/script.blade.php e a página aparecia uns instantes sem
 * estilos ao atualizar (26/11/2026). Ganchos nas views: sqv-*.
 */
  /* Limites por tamanho: grupo à espera da escolha do tamanho (sqvApplyGroupLimits). */
  ul.sqv-group-blocked { cursor: pointer; }
  ul.sqv-group-blocked label { opacity: .45; pointer-events: none; }
  ul.sqv-group-blocked .sqv-group-required { opacity: .45; }

  /* ── Popup do produto (desenho "cartões") ────────────────────────────────
     Ganchos sqv-pm-* / sqv-step / sqv-option-* no checkout/item/modal.blade.php.
     Cores neutras em claro; em escuro seguem os tokens --dk-* do Estilo.
     --sqv-primary vem do theme.blade (cor principal da loja). */

  /* Cabeçalho: nome, preço e descrição. */
  .sqv-pm-head { margin: 4px 0 18px; }
  .sqv-pm-name { font-size: 1.375rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin: 0; }
  .sqv-pm-price { margin-top: 6px; font-size: 1.125rem; font-weight: 700; }
  .sqv-pm-price-old { font-weight: 500; font-size: .95rem; text-decoration: line-through; opacity: .55; margin-right: 6px; color: #71717a; }
  .sqv-pm-desc { margin-top: 8px; font-size: .9rem; line-height: 1.5; }

  /* Grupos em cartões. */
  .sqv-product-modal ul.sqv-step { border: 1px solid #ececef; border-radius: 16px; padding: 12px 14px 4px; margin: 0 0 12px; background: #fff; transition: border-color .25s ease, box-shadow .25s ease; }
  .sqv-product-modal ul.sqv-step-current { border-color: var(--sqv-primary, #2563eb); box-shadow: 0 0 0 3px rgba(0, 0, 0, .04), 0 6px 18px rgba(0, 0, 0, .06); }
  .sqv-product-modal ul.sqv-step-done { border-color: rgba(22, 163, 74, .35); }
  .sqv-group-head { margin-bottom: 6px; }
  .sqv-product-modal .sqv-step .group-title { font-size: 1rem; line-height: 1.3; }
  .sqv-product-modal .sqv-step .sqv-group-limits-text { font-size: .78rem; margin-top: 1px; }
  .sqv-product-modal .sqv-step .group-input { display: block; height: 0; padding: 0; border: 0; }

  /* Pastilha "Obrigatório" neutra (o vermelho fica para o erro); "Feito" a verde. */
  .sqv-product-modal .sqv-group-required > div { background: #f4f4f5; color: #52525b; font-weight: 600; }

  /* Número do passo. */
  .sqv-step-badge { flex: 0 0 auto; width: 24px; height: 24px; margin: 0 10px 0 0; border-radius: 9999px; border: 1.5px solid #d4d4d8; color: #71717a; font-size: 12px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; }
  .sqv-step-badge .sqv-step-check { display: none; font-size: 14px; }
  ul.sqv-step-current .sqv-step-badge { border-color: var(--sqv-primary, #2563eb); background: var(--sqv-primary, #2563eb); color: var(--sqv-on-primary, #fff); }
  ul.sqv-step-done .sqv-step-badge { border-color: #16a34a; background: #16a34a; color: #fff; }
  ul.sqv-step-done .sqv-step-badge .sqv-step-number { display: none; }
  ul.sqv-step-done .sqv-step-badge .sqv-step-check { display: inline; }
  .sqv-group-summary { color: #15803d; margin-top: 2px; font-weight: 500; }

  /* Linhas das opções. */
  .sqv-product-modal label.sqv-option-row { min-height: 52px; border-bottom: 1px solid #f1f1f3; border-radius: 10px; margin: 0 -8px; padding: 8px; width: calc(100% + 16px); transition: background-color .2s ease; }
  .sqv-product-modal .sqv-step li > label.sqv-option-row:last-of-type { border-bottom-color: transparent; }
  .sqv-product-modal label.sqv-option-row .text-sm { font-size: .95rem; line-height: 1.35; }
  .sqv-product-modal label.sqv-option-row .sqv-option-price { font-weight: 500; }
  .sqv-product-modal label.sqv-option-row.sqv-option-selected { background-color: rgba(0, 0, 0, .035); background-color: color-mix(in srgb, var(--sqv-primary, #16a34a) 8%, transparent); border-bottom-color: transparent; }
  .sqv-product-modal label.sqv-option-row.sqv-option-selected .text-sm { font-weight: 600; }
  @keyframes sqvOptionFlash { 0% { transform: scale(.985); } 100% { transform: scale(1); } }
  .sqv-product-modal label.sqv-option-row.sqv-option-flash { animation: sqvOptionFlash .25s ease-out; }

  /* Escolha única (Máx 1): o quadrado passa a círculo, como um rádio. */
  .sqv-product-modal ul[data-group-max="1"] .sqv-option-checkbox i.icon-checkbox { border-radius: 9999px; }

  /* Stepper das opções a zero: só o "+". */
  .sqv-product-modal .sqv-option-stepper.sqv-stepper-zero .stepper-button-minus,
  .sqv-product-modal .sqv-option-stepper.sqv-stepper-zero .stepper-input-wrap { display: none; }

  /* Observações. */
  .sqv-pm-note { margin: 4px 0 0; padding-bottom: 8rem; }
  .sqv-pm-note-label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
  .sqv-pm-note-label i { margin-right: 4px; opacity: .6; }
  .sqv-pm-note textarea { font-size: .9rem; }

  /* Barra do fundo: quantidade + Adicionar com o total. */
  .sqv-pm-bar { border-top-color: #ececef !important; box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); }
  .sqv-pm-actions { gap: 12px; }
  .sqv-pm-actions .sqv-pm-qty { flex: 0 0 auto; }
  .sqv-pm-actions .add-to-cart { flex: 1 1 auto; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* "Falta escolher…" / "Tudo escolhido" por cima do botão Adicionar. */
  .sqv-steps-hint { color: #b45309; font-weight: 500; }
  .sqv-steps-hint.sqv-steps-ok { color: #15803d; }

  /* Modo escuro (tokens do Estilo). */
  html.dark .sqv-product-modal ul.sqv-step { background: var(--dk-modal-bg, transparent); border-color: var(--dk-border, rgba(255, 255, 255, .12)); }
  html.dark .sqv-product-modal ul.sqv-step-current { border-color: var(--sqv-primary, #60a5fa); box-shadow: 0 0 0 3px rgba(255, 255, 255, .05); }
  html.dark .sqv-product-modal ul.sqv-step-done { border-color: rgba(134, 239, 172, .35); }
  html.dark .sqv-product-modal label.sqv-option-row { border-bottom-color: var(--dk-border, rgba(255, 255, 255, .08)); }
  html.dark .sqv-product-modal label.sqv-option-row.sqv-option-selected { background-color: rgba(255, 255, 255, .06); background-color: color-mix(in srgb, var(--sqv-primary, #86efac) 14%, transparent); }
  html.dark .sqv-product-modal .sqv-group-required > div { background: var(--dk-surface-2, rgba(255, 255, 255, .08)); color: var(--dk-text-2, #d4d4d8); }
  html.dark .sqv-step-badge { border-color: var(--dk-border, #52525b); color: var(--dk-text-2, #a1a1aa); }
  html.dark .sqv-group-summary { color: #86efac; }
  html.dark .sqv-pm-price-old { color: var(--dk-text-2, #a1a1aa); }
  html.dark .sqv-pm-bar { border-top-color: var(--dk-border, #3f3f46) !important; box-shadow: 0 -8px 24px rgba(0, 0, 0, .35); }
  html.dark .sqv-steps-hint { color: #fcd34d; }
  html.dark .sqv-steps-hint.sqv-steps-ok { color: #86efac; }

  /* ── "Voar para o carrinho" (sqvFlyToCart) e pastilha (sqvAddedNotice) ── */
  .sqv-fly { position: fixed; z-index: 13500; pointer-events: none; border-radius: 16px; background-size: cover; background-position: center; background-color: #f4f4f5; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); will-change: transform, opacity, filter; }
  .sqv-fly.sqv-fly-empty { display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: var(--sqv-primary, #16a34a); color: var(--sqv-on-primary, #fff); font-size: 28px; }
  @keyframes sqvCartBump { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 65% { transform: scale(.94); } 100% { transform: scale(1); } }
  .sqv-cart-bump { animation: sqvCartBump .6s cubic-bezier(.3, 1.4, .5, 1); transform-origin: center; }
  #sqv-added-notice { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 13000; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 9999px; background: rgba(24, 24, 27, .92); color: #fff; font-size: .875rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); pointer-events: none; opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .25s ease; }
  #sqv-added-notice span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #sqv-added-notice i { color: #4ade80; font-size: 1rem; }
  #sqv-added-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }
  @media (min-width: 1024px) { #sqv-added-notice { bottom: 28px; } }
  html.dark #sqv-added-notice { background: rgba(250, 250, 250, .95); color: #18181b; }
  html.dark #sqv-added-notice i { color: #16a34a; }
  @media (prefers-reduced-motion: reduce) { .sqv-cart-bump { animation: none; } #sqv-added-notice { transition: none; } }

  /* ── Promoções (MenuCampaignDisplay): vermelho das promoções ───────────── */
  .sqv-promo-badge-wrap { position: absolute; top: 6px; left: 6px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; pointer-events: none; max-width: calc(100% - 12px); }
  .sqv-promo-badge { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 8px; border-radius: 9999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .01em; box-shadow: 0 2px 6px rgba(220, 38, 38, .35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sqv-promo-badge i { font-size: 10px; }
  .sqv-promo-more { opacity: .85; font-weight: 600; }
  .sqv-promo-until { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 9999px; background: rgba(255, 255, 255, .92); color: #b91c1c; font-size: 10px; font-weight: 600; }
  .sqv-product-card .sqv-product-price.sqv-promo-price, .sqv-pm-price.sqv-promo-price { color: #dc2626; }
  html.dark body .sqv-product-card .sqv-product-price.sqv-promo-price, html.dark .sqv-pm-price.sqv-promo-price { color: #f87171; }
  @keyframes sqvPromoPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); } 30% { box-shadow: 0 0 0 4px rgba(220, 38, 38, .45); } }
  .sqv-product-card.sqv-promo-pulse { animation: sqvPromoPulse .8s ease-in-out 2; }

  /* Explicação no popup do produto. */
  .sqv-promo-explain { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
  .sqv-promo-explain p { margin: 6px 0 0; font-size: .85rem; line-height: 1.45; }
  html.dark .sqv-promo-explain { background: rgba(220, 38, 38, .14); border-color: rgba(248, 113, 113, .35); color: #fecaca; }

  /* Faixa "Promoções" no topo da loja. */
  .sqv-promo-strip { margin: 8px 0 12px; }
  .sqv-promo-strip-title { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; font-size: .9rem; font-weight: 700; color: #dc2626; }
  html.dark .sqv-promo-strip-title { color: #f87171; }
  .sqv-promo-scroll { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sqv-promo-scroll::-webkit-scrollbar { display: none; }
  .sqv-promo-card { flex: 0 0 auto; width: min(64vw, 230px); scroll-snap-align: start; display: flex; align-items: center; gap: 8px; padding: 8px 10px; text-align: left; border-radius: 12px; background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; box-shadow: 0 3px 10px rgba(220, 38, 38, .22); cursor: default; }
  .sqv-promo-card[data-promo-id] { cursor: pointer; }
  .sqv-promo-card:only-child { width: 100%; }
  .sqv-promo-card-icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9999px; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
  .sqv-promo-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
  .sqv-promo-card-title { font-size: .82rem; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .sqv-promo-card-cond { margin-top: 2px; font-size: .68rem; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sqv-promo-card-go { flex: 0 0 auto; opacity: .75; font-size: .75rem; }

  /* Lembretes das campanhas no carrinho (sqvRefreshPromoNudges). */
  /* :not(.hidden) — senão este display ganhava ao .hidden/.lg:hidden do Tailwind (CSS carregado antes). */
  .sqv-promo-nudges:not(.hidden) { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
  .sqv-nudge { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: .8rem; line-height: 1.35; }
  .sqv-nudge > i { flex: 0 0 auto; color: #dc2626; }
  .sqv-nudge-text { flex: 1 1 auto; min-width: 0; }
  .sqv-nudge .sqv-promo-go { flex: 0 0 auto; padding: 4px 10px; border-radius: 9999px; background: #dc2626; color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap; }
  .sqv-nudge.is-done { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
  .sqv-nudge.is-done > i { color: #16a34a; }
  html.dark .sqv-nudge { background: rgba(220, 38, 38, .14); border-color: rgba(248, 113, 113, .35); color: #fecaca; }
  html.dark .sqv-nudge > i { color: #f87171; }
  html.dark .sqv-nudge.is-done { background: rgba(22, 163, 74, .14); border-color: rgba(134, 239, 172, .3); color: #bbf7d0; }
  html.dark .sqv-nudge.is-done > i { color: #86efac; }

  /* Galeria do topo da loja. */
  .sqv-hero-layer { opacity: 0; transition: opacity 1s ease; pointer-events: none; }
  .sqv-hero-layer.is-active { opacity: 1; }
  .top-slide .sqv-top-pagination { bottom: 8px; z-index: 10; }
  .top-slide .sqv-top-pagination .swiper-pagination-bullet { width: 7px; height: 7px; background: #fff; opacity: .6; box-shadow: 0 0 2px rgba(0, 0, 0, .5); }
  .top-slide .sqv-top-pagination .swiper-pagination-bullet-active { opacity: 1; width: 18px; border-radius: 9999px; }
  @media (prefers-reduced-motion: reduce) { .sqv-hero-layer { transition: none; } }

  /* Lembrete colado ao botão flutuante "Continuar checkout" (telemóvel). */
  .sqv-nudge-bar:not(.hidden) { margin: 0; text-align: left; }
  /* Só no telemóvel: no computador o lembrete fica no painel do carrinho. */
  @media (min-width: 1024px) { .sqv-promo-nudges.sqv-nudge-bar { display: none !important; } }
  .sqv-nudge-bar .sqv-nudge { border-radius: 0; border-width: 0 0 1px; padding: 7px 14px; font-size: .78rem; font-weight: 500; }

  /* ── Cartão do produto "premium" (ficha da loja → Cartão do produto) ──────
     Só CSS sobre os ganchos do checkout/item/item.blade.php; o padrão não muda.
     Imagem em destaque numa moldura arredondada, texto alinhado à esquerda,
     preço forte e o "+" ao lado (só "+" enquanto o produto não está no carrinho). */
  .sqv-product-list:has(> .sqv-card-premium) { gap: 14px !important; background: transparent !important; }
  .sqv-product-card.sqv-card-premium { border: 0 !important; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
  html:not(.dark) .sqv-product-card.sqv-card-premium { background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .08); }
  html.dark .sqv-product-card.sqv-card-premium { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
  .sqv-product-card.sqv-card-premium:hover { box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 16px 36px rgba(16, 24, 40, .14); }
  @media (hover: hover) { .sqv-product-card.sqv-card-premium:hover { transform: translateY(-3px); } }
  .sqv-product-card.sqv-card-premium:active { transform: scale(.98); }
  .sqv-card-premium .sqv-product-image { margin: 7px 7px 0; border-radius: 17px; overflow: hidden; }
  .sqv-card-premium .sqv-product-image img { object-fit: cover !important; border-radius: 0 !important; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  @media (hover: hover) { .sqv-card-premium:hover .sqv-product-image img { transform: scale(1.06); } }
  .sqv-card-premium .sqv-product-body { padding: 10px 13px 13px !important; display: flex; flex-direction: column; flex: 1 1 auto; }
  .sqv-card-premium .sqv-product-name { text-align: left !important; font-size: .95rem !important; font-weight: 650; line-height: 1.3; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
  .sqv-card-premium .sqv-product-footer { flex-direction: row !important; align-items: center !important; justify-content: flex-start; flex-wrap: nowrap; gap: 6px; margin-top: auto !important; padding-top: 8px; }
  .sqv-card-premium .sqv-product-footer .sqv-product-price { opacity: 1 !important; margin: 0 !important; font-size: 1.02rem; font-weight: 750; white-space: nowrap; }
  .sqv-card-premium .sqv-product-footer .sqv-product-price-old { margin: 0 !important; font-size: .78rem; white-space: nowrap; }
  .sqv-card-premium .sqv-product-footer > .my-1 { margin: 0 !important; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
  .sqv-card-premium .sqv-product-cta { width: auto !important; margin: 0 0 0 auto !important; flex: 0 0 auto; overflow: visible !important; }
  .sqv-card-premium .sqv-product-stepper { border-radius: 9999px; }
  .sqv-card-premium .sqv-product-stepper.sqv-qty-zero .stepper-button-minus,
  .sqv-card-premium .sqv-product-stepper.sqv-qty-zero .stepper-input-wrap { display: none !important; }
  .sqv-card-premium .sqv-product-stepper.sqv-qty-zero .stepper-button-plus { width: 34px !important; min-width: 34px !important; height: 34px !important; border-radius: 9999px !important; }
  /* Premium, produtos com opções: "desde" por cima do preço e "Escolher"
     (em vez do "+" dos produtos simples). */
  .sqv-card-premium .sqv-card-price-group { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
  .sqv-card-premium .sqv-card-from { font-size: .68rem; font-weight: 500; opacity: .6; text-transform: lowercase; }
  .sqv-card-premium .sqv-card-price-line { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
  .sqv-card-choose { display: none; }
  .sqv-card-premium .sqv-card-choose { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; flex: 0 0 auto; height: 34px; padding: 0 12px; border-radius: 9999px; border: 1.5px solid var(--dk-card-button, #111); color: var(--dk-card-button, #111); background: transparent; font-size: .75rem; font-weight: 700; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
  .sqv-card-premium .sqv-card-choose i { font-size: 13px; }
  @media (hover: hover) { .sqv-card-premium:hover .sqv-card-choose { background: var(--dk-card-button, #111); color: var(--dk-card-button-text, #fff); } }
  .sqv-card-premium:active .sqv-card-choose { transform: scale(.94); }
  /* Cartões estreitos (2 colunas em telemóveis pequenos): só o ícone. */
  @media (max-width: 374px) { .sqv-card-premium .sqv-card-choose { width: 34px; padding: 0; justify-content: center; } .sqv-card-premium .sqv-card-choose span { display: none; } }
  .sqv-card-premium .sqv-promo-badge-wrap { top: 9px; left: 9px; }

  /* ── Popup das campanhas (sqvShowPromoPopup) ─────────────────────────────── */
  .sqv-pp { position: fixed; inset: 0; z-index: 12500; display: flex; align-items: center; justify-content: center; padding: 16px; }
  .sqv-pp-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s ease; }
  .sqv-pp-card { position: relative; width: 100%; max-width: 340px; padding: 26px 22px 20px; border-radius: 24px; background: #fff; color: #18181b; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); overflow: hidden; opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .3, 1.2); }
  .sqv-pp.is-open .sqv-pp-backdrop { opacity: 1; }
  .sqv-pp.is-open .sqv-pp-card { opacity: 1; transform: none; }
  .sqv-pp-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; color: #71717a; background: rgba(0, 0, 0, .04); }
  .sqv-pp-icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: #fef2f2; color: #dc2626; font-size: 24px; }
  .sqv-pp-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #dc2626; }
  .sqv-pp-title { margin: 4px 0 0; font-size: 1.2rem; font-weight: 800; line-height: 1.25; color: #dc2626; }
  .sqv-pp-text { margin: 8px 0 0; font-size: .9rem; line-height: 1.45; color: #52525b; }
  .sqv-pp-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
  .sqv-pp-cta { width: 100%; padding: 11px 16px; border-radius: 9999px; background: var(--sqv-primary, #dc2626); color: var(--sqv-on-primary, #fff); font-weight: 700; font-size: .95rem; }
  .sqv-pp-later { padding: 6px; font-size: .82rem; color: #71717a; }
  .sqv-pp-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(220, 38, 38, .12); }
  .sqv-pp-progress span { display: block; height: 100%; width: 100%; background: #dc2626; transform-origin: left; animation-name: sqvPpProgress; animation-timing-function: linear; animation-fill-mode: forwards; }
  @keyframes sqvPpProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
  html.dark .sqv-pp-card { background: var(--dk-modal-bg, #18181b); color: #f4f4f5; }
  html.dark .sqv-pp-text { color: #d4d4d8; }
  html.dark .sqv-pp-close { color: #a1a1aa; background: rgba(255, 255, 255, .06); }
  html.dark .sqv-pp-icon { background: rgba(220, 38, 38, .16); color: #f87171; }
  html.dark .sqv-pp-title, html.dark .sqv-pp-kicker { color: #f87171; }
  @media (prefers-reduced-motion: reduce) { .sqv-pp-card { transform: none; transition: opacity .2s ease; } }
