/* Artista da Parada — identidade sobre a camada W.Games UI (wg-ui.css). Só o que é próprio do jogo fica aqui. */
body.wg { --cor: #7c3aed; --cor-hover: #6d28d9; --texto: #fff; --texto-hover: #fff; }
body.wg.dark a.logoDesafio { background-image: url('/artistadaparada/logo-branca.png'); }
body.wg.light a.logoDesafio { background-image: url('/artistadaparada/logo-preta.png'); }
body.wg a.logoDesafio { margin-bottom: 0; width: auto; }

body.wg .wg-chamada { text-align: center; font-size: 20px; font-weight: 800; margin: 4px 0 8px; }
body.wg .wg-aviso-data { text-align: center; margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: var(--cor); color: #fff; font-size: 14px; }
body.wg #love { padding-right: 96px; text-overflow: ellipsis; }

/* lista de sugestões da busca */
body.wg div#res { margin-top: 6px; }
body.wg div#res:empty { display: none !important; }
body.wg .opcao { display: flex; align-items: center; gap: 10px; min-height: 44px; }
body.wg .opcao img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #ddd; flex: none; }
body.wg .opcao .indisponivel { color: #555; }

/* cartão de cada palpite */
body.wg #tentativas { margin-top: 12px; }
body.wg .wg-tent { background: var(--wg-tile); border: 1px solid var(--wg-tile-line); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
body.wg .wg-tent.wg-novo { animation: wgEntra .35s ease-out; }
@keyframes wgEntra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.wg .wg-tent-topo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
body.wg .wg-tent-foto { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; background: var(--wg-tile-line); flex: none; }
body.wg .wg-tent-nome { font-weight: 800; font-size: 20px; line-height: 1.15; word-break: break-word; }
body.wg .wg-tent-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
body.wg .wg-chip { border-radius: 6px; padding: 12px 4px; min-height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 0; cursor: help; }
body.wg .wg-chip span { font-size: 14px; line-height: 1.1; }
body.wg .wg-chip strong { font-size: 18px; font-weight: 800; line-height: 1.15; display: block; text-align: center; word-break: break-word; margin-top: 6px; }
body.wg .wg-chip strong img { display: block; width: 50px; height: auto; margin: 0 auto 6px; border-radius: 2px; }
/* seta mais grossa: o chevron do Bootstrap Icons é fino, então engrossamos o traço do glifo */
body.wg .wg-chip strong i { font-size: 18px; -webkit-text-stroke: 1.2px currentColor; line-height: 1; }
@media (max-width: 481px) {
  body.wg .wg-chip { min-height: 22vw; padding: 8px 1px; }
  body.wg .wg-chip span { font-size: 3vw; }
  body.wg .wg-chip strong { font-size: 4vw; }
  body.wg .wg-chip strong i { font-size: 4.4vw; -webkit-text-stroke-width: 1.2px; }
  body.wg .wg-chip strong img { width: 12vw; margin-bottom: 4px; }
}

body.wg .wg-resp-tit { text-align: center; font-weight: 800; margin: 12px 0 6px; }
body.wg .wg-endgame { text-align: center; margin-top: 12px; }
body.wg .wg-endgame p { font-weight: 700; font-size: 17px; margin: 0; }

/* "Como jogar" (igual ao jogo antigo: imagem de exemplo + texto) */
body.wg #instrucoesJogo { width: 80%; margin: 12px auto 0; }
body.wg.dark #instrucoesJogo .imagemInstrucoesJogo { background-image: url("/assets/imagens/instrucoesJogo.png"); }
body.wg.light #instrucoesJogo .imagemInstrucoesJogo { background-image: url("/assets/imagens/instrucoesJogo-light.png"); }
body.wg #instrucoesJogo .imagemInstrucoesJogo { width: 100%; height: 60px; background-size: contain; background-position: center; background-repeat: no-repeat; }
body.wg #instrucoesJogo p { margin-top: 10px; text-align: center; }
body.wg .wg-vazio { text-align: center; padding: 30px 10px; }
body.wg .wg-vazio > i { display: block; font-size: 44px; color: var(--wg-muted); margin-bottom: 6px; }
body.wg .wg-vazio .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
body.wg .wg-vazio .btn i { font-size: 18px; color: inherit; }

/* modal de resultado */
/* a grade de emojis ocupa a largura toda; copiar + Compartilhe ficam embaixo, centralizados */
body.wg .wg-resultado-barra { flex-wrap: wrap; justify-content: center; padding: 10px; }
body.wg .wg-resultado-barra #resultado { flex: 1 1 100%; white-space: pre; text-align: center; font-size: 20px; line-height: 1.3; letter-spacing: 2px; word-break: normal; overflow-wrap: normal; }
body.wg .wg-capa-artista { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 6px; }
body.wg .wg-capa-artista img { width: 120px; height: 120px; max-height: none; border-radius: 50%; object-fit: cover; background: var(--wg-tile-line); }
body.wg .wg-capa-nome { font-weight: 800; font-size: 20px; text-align: center; }
body.wg .wg-pos-fim { max-width: 320px; margin: 12px auto 0; }
body.wg .wg-final #share-novo.show, body.wg .wg-final #share-novo.collapsing { display: block; }
body.wg canvas[style*="z-index: 1000"] { z-index: 2000 !important; }

/* anúncios laterais 170x600 (modelo do TentaCena): só >= 861px, e só onde sobra espaço ao lado de jogo + painel */

/* "Conheça mais jogos" */
body.wg #lista-jogos-unico { gap: 12px; align-items: center; margin-bottom: 14px; }
body.wg #lista-jogos-unico p { margin: 0; font-size: 14px; }

/* botão de contorno em modal: o `.modal a { color: var(--cor) }` do núcleo pintava o texto da cor do contorno */
body.wg .modal a.btn-wg-sec { color: var(--wg-text); }
body.wg .modal a.btn-wg-sec:hover { color: var(--texto-hover); }

/* cartão do jogo e barra lateral começam na mesma altura, qualquer que seja a altura de cada um:
   o respiro de 10px vem do layout (os dois são "sticky top:10px", então nunca se deslocam em relação um ao outro) */
@media (min-width: 1024px) {
  body.wg .wg-layout { padding-top: 10px; }
  body.wg .wg-layout > .wg-main > :first-child { margin-top: 0; }
  body.wg .wg-painel > .wg-card:first-child { margin-top: 0; }
}

/* descritivo de cada indicador (mouse, toque ou foco) */
#wg-dica { position: absolute; z-index: 2500; max-width: min(280px, calc(100vw - 16px)); padding: 8px 12px; border-radius: 8px; background: #111; color: #fff; font-size: 14px; line-height: 1.3; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.25); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .12s; }
#wg-dica.on { opacity: 1; visibility: visible; }
body.wg .wg-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
