/* ==== JPM KIT v1 — base visual dos jogos (sincronizado; regras do jogo vêm depois do "fim da base") ==== */
.jpm-game[data-game="sniper"] {
  --g-glass: rgba(23, 27, 52, .72);
  --g-accent: var(--primary, #6046FF);
  font-family: inherit;
  color: var(--ink, #172033);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  container-type: size;
  font-size: clamp(11px, 2.1cqw, 17px);
}
.jpm-game[data-game="sniper"] [hidden] { display: none; }
.jpm-game[data-game="sniper"] button { font: inherit; color: inherit; cursor: pointer; }
.jpm-game[data-game="sniper"] button:focus-visible { outline: 3px solid var(--ink, #172033); outline-offset: 2px; }
.jpm-game[data-game="sniper"] .g-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.jpm-game[data-game="sniper"] .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* HUD numa faixa só */
.jpm-game[data-game="sniper"] .g-hud { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; pointer-events: none; }
.jpm-game[data-game="sniper"] .g-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: var(--r-pill, 999px); background: var(--g-glass); color: var(--surface, #fff); font-weight: 900; font-size: clamp(13px, 2.3cqw, 19px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jpm-game[data-game="sniper"] .g-chip--right { margin-left: auto; }
.jpm-game[data-game="sniper"] .g-chip--warn { background: var(--coral, #FF6868); }
.jpm-game[data-game="sniper"] .g-ico { width: 1.2em; height: 1.2em; flex: none; }
.jpm-game[data-game="sniper"] .g-bar { position: relative; width: clamp(70px, 18cqw, 180px); height: .7em; border-radius: var(--r-pill, 999px); background: rgba(255, 255, 255, .25); overflow: hidden; }
.jpm-game[data-game="sniper"] .g-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--yellow, #FFD43B); transition: width .2s linear; }
.jpm-game[data-game="sniper"] .g-hearts { display: flex; gap: 4px; padding: 6px 10px; border-radius: var(--r-pill, 999px); background: var(--g-glass); }
.jpm-game[data-game="sniper"] .g-heart { width: clamp(16px, 3cqw, 26px); height: clamp(16px, 3cqw, 26px); color: var(--coral, #FF6868); transition: transform .2s, opacity .2s; }
.jpm-game[data-game="sniper"] .g-heart.is-lost { color: rgba(255, 255, 255, .35); transform: scale(.85); }

/* telas */
.jpm-game[data-game="sniper"] .g-screen { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 12px; }
.jpm-game[data-game="sniper"] .g-intro, .jpm-game[data-game="sniper"] .g-over, .jpm-game[data-game="sniper"] .g-paused { background: rgba(23, 27, 52, .32); }
.jpm-game[data-game="sniper"] .g-intro { background: linear-gradient(90deg, rgba(23, 27, 52, .38), rgba(23, 27, 52, .05) 70%); justify-items: start; padding-left: 6cqw; }
.jpm-game[data-game="sniper"] .g-card { width: min(92%, 420px); padding: clamp(14px, 3.4cqw, 28px); border-radius: var(--r-card, 16px); background: var(--surface, #fff); color: var(--ink, #172033); text-align: center; box-shadow: var(--shadow2, 0 18px 44px rgba(23, 32, 51, .16)); }
.jpm-game[data-game="sniper"] .g-intro .g-card { width: min(56%, 400px); }
.jpm-game[data-game="sniper"] .g-card--small { width: auto; padding: 16px 22px; }
.jpm-game[data-game="sniper"] .g-kicker { margin: 0; font-size: clamp(10px, 1.8cqw, 13px); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #606B80); }
.jpm-game[data-game="sniper"] .g-title { margin: 4px 0 6px; font-size: clamp(20px, 4.6cqw, 34px); line-height: 1.05; letter-spacing: -.04em; font-weight: 900; }
.jpm-game[data-game="sniper"] .g-text { margin: 0 0 14px; color: var(--muted, #606B80); font-weight: 600; font-size: clamp(12px, 2.2cqw, 16px); }
.jpm-game[data-game="sniper"] .g-btn { min-height: 46px; padding: 0 26px; border: 0; border-radius: var(--r-pill, 999px); background: var(--g-accent); color: var(--surface, #fff); font-weight: 900; font-size: clamp(15px, 2.6cqw, 19px); box-shadow: 0 8px 18px rgba(23, 32, 51, .22); transition: transform .12s; }
.jpm-game[data-game="sniper"] .g-btn:active { transform: scale(.96); }
.jpm-game[data-game="sniper"] .g-btn--ghost { background: var(--bg, #F3F6FA); color: var(--ink, #172033); box-shadow: inset 0 0 0 2px var(--line, #E3E8EF); }
.jpm-game[data-game="sniper"] .g-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jpm-game[data-game="sniper"] .g-results { display: flex; justify-content: center; gap: clamp(12px, 4cqw, 30px); margin: 10px 0; }
.jpm-game[data-game="sniper"] .g-num { display: block; font-size: clamp(20px, 4.4cqw, 32px); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.jpm-game[data-game="sniper"] .g-lbl { font-size: clamp(11px, 1.8cqw, 13px); color: var(--muted, #606B80); font-weight: 700; }
.jpm-game[data-game="sniper"] .g-best { margin: 0 0 14px; font-weight: 800; color: var(--g-accent); min-height: 1.2em; }
.jpm-game[data-game="sniper"] .g-stars { display: flex; justify-content: center; gap: 6px; margin: 4px 0 8px; font-size: clamp(22px, 5cqw, 36px); }
.jpm-game[data-game="sniper"] .g-star { width: 1em; height: 1em; color: var(--line, #E3E8EF); }
.jpm-game[data-game="sniper"] .g-star.is-on { color: var(--yellow, #FFD43B); }

.jpm-game[data-game="sniper"] .g-ready { pointer-events: none; align-content: center; gap: 12px; }
.jpm-game[data-game="sniper"] .g-howto { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jpm-game[data-game="sniper"] .g-howto-item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r-pill, 999px); background: var(--g-glass); color: var(--surface, #fff); font-weight: 700; font-size: clamp(12px, 2.1cqw, 16px); }
.jpm-game[data-game="sniper"] .g-key { padding: 3px 9px; border-radius: 8px; background: var(--surface, #fff); color: var(--ink, #172033); font-weight: 900; }
.jpm-game[data-game="sniper"] .g-touch-only { display: none; }
.jpm-game[data-game="sniper"] .g-count { font-size: clamp(48px, 14cqw, 120px); font-weight: 900; color: var(--surface, #fff); text-shadow: 0 6px 0 rgba(23, 27, 52, .35); line-height: 1; animation: sniper-pop .8s ease-out infinite; }
@keyframes sniper-pop { from { transform: scale(1.25); opacity: .4; } 30% { transform: scale(1); opacity: 1; } }

/* botões de toque */
.jpm-game[data-game="sniper"] .g-touch { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 10px; pointer-events: none; }
.jpm-game[data-game="sniper"] .g-touch-group { display: flex; gap: 10px; align-items: flex-end; }
.jpm-game[data-game="sniper"] .g-tbtn { pointer-events: auto; width: clamp(52px, 13cqw, 80px); height: clamp(52px, 13cqw, 80px); border: 0; border-radius: 50%; background: rgba(23, 27, 52, .45); color: var(--surface, #fff); display: grid; place-items: center; touch-action: none; font-weight: 900; font-size: clamp(11px, 2cqw, 14px); }
.jpm-game[data-game="sniper"] .g-tbtn svg { width: 55%; height: 55%; }
.jpm-game[data-game="sniper"] .g-tbtn--action { background: rgba(96, 70, 255, .78); }
.jpm-game[data-game="sniper"] .g-tbtn.is-on, .jpm-game[data-game="sniper"] .g-tbtn:active { transform: scale(.94); background: rgba(96, 70, 255, .9); }

/* aviso curto no meio da tela (+10, Combo!, Errou) */
.jpm-game[data-game="sniper"] .g-toast { position: absolute; left: 50%; top: 22%; z-index: 3; transform: translateX(-50%); padding: .4em 1em; border-radius: var(--r-pill, 999px); background: var(--surface, #fff); color: var(--ink, #172033); font-weight: 900; font-size: clamp(14px, 3cqw, 24px); white-space: nowrap; box-shadow: var(--shadow2, 0 18px 44px rgba(23, 32, 51, .16)); pointer-events: none; animation: sniper-toast .9s ease-out forwards; }
.jpm-game[data-game="sniper"] .g-toast.is-good { background: var(--green, #46D68C); color: var(--surface, #fff); }
.jpm-game[data-game="sniper"] .g-toast.is-bad { background: var(--coral, #FF6868); color: var(--surface, #fff); }
@keyframes sniper-toast { from { opacity: 0; transform: translate(-50%, 10px) scale(.9); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 80% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -12px) scale(1); } }

@media (pointer: coarse) {
  .jpm-game[data-game="sniper"] .g-touch-only { display: inline-flex; }
}
@container (max-width: 520px) {
  .jpm-game[data-game="sniper"] .g-intro { justify-items: center; padding-left: 12px; background: rgba(23, 27, 52, .3); }
  .jpm-game[data-game="sniper"] .g-intro .g-card { width: min(92%, 400px); }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="sniper"] .g-count, .jpm-game[data-game="sniper"] .g-toast { animation: none; }
}
/* ==== fim da base ==== */

/* jogo */
.jpm-game[data-game="sniper"] { --g-accent: #6046FF; --sn-teal: #2EC4B6; --sn-pink: #FF4F8B; --sn-gold: #FFD23F; --sn-ink: #2B2D5C; --sn-lens: min(88cqh, 70cqw); }
.jpm-game[data-game="sniper"]:focus { outline: none; }
.jpm-game[data-game="sniper"] .g-canvas { cursor: default; }
.jpm-game[data-game="sniper"][data-sn="run"] .g-canvas { cursor: zoom-in; }
.jpm-game[data-game="sniper"][data-sn="run"][data-zoom="1"] .g-canvas { cursor: none; }

/* luneta */
.jpm-game[data-game="sniper"] .sn-scope { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(1.15); transition: opacity .22s ease-out, transform .22s ease-out; }
.jpm-game[data-game="sniper"] .sn-scope.is-on { opacity: 1; transform: scale(1); }
.jpm-game[data-game="sniper"] .sn-lens { position: absolute; left: 50%; top: 50%; width: var(--sn-lens); height: var(--sn-lens); transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 200cqw rgba(30, 32, 74, .94), inset 0 0 0 1.6cqh rgba(46, 196, 182, .95), inset 0 0 5cqh rgba(20, 22, 60, .35); }
.jpm-game[data-game="sniper"] .sn-ret { position: absolute; left: 50%; top: 50%; width: var(--sn-lens); height: var(--sn-lens); transform: translate(-50%, -50%); overflow: visible; }
.jpm-game[data-game="sniper"] .sn-ring { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 2.2; }
.jpm-game[data-game="sniper"] .sn-breath { fill: none; stroke: var(--sn-gold); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50px 50px; transition: stroke .2s; }
.jpm-game[data-game="sniper"] .sn-scope.is-low .sn-breath { stroke: #FF6868; }
.jpm-game[data-game="sniper"] .sn-cross { stroke: #fff; stroke-width: 1.4; stroke-linecap: round; opacity: .95; filter: drop-shadow(0 0 1px rgba(20, 22, 60, .9)); transition: stroke .15s; }
.jpm-game[data-game="sniper"] .sn-tick { stroke: #fff; stroke-width: 1.4; stroke-linecap: round; opacity: .8; }
.jpm-game[data-game="sniper"] .sn-mid { fill: none; stroke: var(--sn-pink); stroke-width: 1.5; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)); transition: stroke .15s, r .15s; }
.jpm-game[data-game="sniper"] .sn-dot { fill: var(--sn-pink); stroke: #fff; stroke-width: .6; transition: fill .15s; }
.jpm-game[data-game="sniper"] .sn-scope.is-steady .sn-cross { stroke: #9CFFB8; }
.jpm-game[data-game="sniper"] .sn-scope.is-over .sn-mid { stroke: var(--sn-gold); }
.jpm-game[data-game="sniper"] .sn-scope.is-over .sn-dot { fill: var(--sn-gold); }
.jpm-game[data-game="sniper"] .sn-scope.is-cool .sn-mid, .jpm-game[data-game="sniper"] .sn-scope.is-cool .sn-dot { opacity: .35; }
.jpm-game[data-game="sniper"] .sn-wdot { position: absolute; left: 0; top: 0; width: 2.6cqh; height: 2.6cqh; min-width: 9px; min-height: 9px; margin: calc(max(2.6cqh, 9px) / -2) 0 0 calc(max(2.6cqh, 9px) / -2); border-radius: 50%; background: #3FA2F5; box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(63, 162, 245, .9); will-change: transform; }

/* mira na visão aberta e dica */
.jpm-game[data-game="sniper"] .sn-aim { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(26px, 5cqw, 44px); height: clamp(26px, 5cqw, 44px); margin: calc(clamp(26px, 5cqw, 44px) / -2) 0 0 calc(clamp(26px, 5cqw, 44px) / -2); pointer-events: none; filter: drop-shadow(0 2px 3px rgba(23, 27, 52, .35)); will-change: transform; }
.jpm-game[data-game="sniper"] .sn-aim svg { display: block; width: 100%; height: 100%; }
.jpm-game[data-game="sniper"] .sn-hint { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: transform; }
.jpm-game[data-game="sniper"] .sn-hint span { position: absolute; left: -5cqh; top: -5cqh; width: 10cqh; height: 10cqh; border: 3px solid var(--sn-gold); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); animation: sniper-hint .8s ease-in-out infinite alternate; }
@keyframes sniper-hint { from { transform: scale(1.35); opacity: .5; } to { transform: scale(.9); opacity: 1; } }

/* pontos que aparecem no alvo */
.jpm-game[data-game="sniper"] .sn-pops { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.jpm-game[data-game="sniper"] .sn-pop { position: absolute; transform: translate(-50%, -50%); padding: .15em .55em; border-radius: var(--r-pill, 999px); background: #fff; color: var(--sn-ink); font-weight: 900; font-size: clamp(11px, 2.4cqw, 20px); white-space: nowrap; box-shadow: 0 3px 0 rgba(23, 27, 52, .18); animation: sniper-rise .85s ease-out forwards; }
.jpm-game[data-game="sniper"] .sn-pop.is-good { background: #46D68C; color: #fff; }
.jpm-game[data-game="sniper"] .sn-pop.is-gold { background: var(--sn-gold); color: #5a3a00; font-size: clamp(12px, 2.8cqw, 24px); }
.jpm-game[data-game="sniper"] .sn-pop.is-bad { background: #FF6868; color: #fff; }
.jpm-game[data-game="sniper"] .sn-pop.is-miss { background: rgba(255, 255, 255, .85); color: #7d86a0; font-size: clamp(10px, 1.8cqw, 15px); }
@keyframes sniper-rise { from { opacity: 0; transform: translate(-50%, -30%) scale(.7); } 18% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); } 75% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -150%) scale(1); } }

/* ícone da missão */
.jpm-game[data-game="sniper"] .sn-ico { flex: none; overflow: visible; }
.jpm-game[data-game="sniper"] .sn-ico .f-body { fill: var(--sn-body, #c9d2ea); }
.jpm-game[data-game="sniper"] .sn-ico .f-hat { fill: var(--sn-hat, #c9d2ea); }
.jpm-game[data-game="sniper"] .sn-ico .k-bot, .jpm-game[data-game="sniper"] .sn-ico .k-drone, .jpm-game[data-game="sniper"] .sn-ico .k-balloon, .jpm-game[data-game="sniper"] .sn-ico .k-num, .jpm-game[data-game="sniper"] .sn-ico .h { display: none; }
.jpm-game[data-game="sniper"] .sn-ico[data-kind="bot"] .k-bot, .jpm-game[data-game="sniper"] .sn-ico[data-kind="drone"] .k-drone, .jpm-game[data-game="sniper"] .sn-ico[data-kind="balloon"] .k-balloon, .jpm-game[data-game="sniper"] .sn-ico[data-kind="num"] .k-num { display: inline; }
.jpm-game[data-game="sniper"] .sn-ico[data-hat="cartola"] .h-cartola, .jpm-game[data-game="sniper"] .sn-ico[data-hat="bone"] .h-bone, .jpm-game[data-game="sniper"] .sn-ico[data-hat="festa"] .h-festa, .jpm-game[data-game="sniper"] .sn-ico[data-hat="coroa"] .h-coroa { display: inline; }
.jpm-game[data-game="sniper"] .sn-ico--hud { width: 1.75em; height: 1.75em; margin: -.3em 0; }
.jpm-game[data-game="sniper"] .sn-ico--big { width: clamp(44px, 11cqh, 76px); height: clamp(44px, 11cqh, 76px); padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 4px 0 rgba(23, 27, 52, .15); }

/* HUD */
.jpm-game[data-game="sniper"] .g-hud { flex-wrap: nowrap; z-index: 3; }
.jpm-game[data-game="sniper"] .sn-clock { min-width: 3.4em; }
.jpm-game[data-game="sniper"] .sn-clock.g-chip--warn { animation: sniper-pulse .5s ease-in-out infinite alternate; }
@keyframes sniper-pulse { from { transform: scale(1); } to { transform: scale(1.08); } }
.jpm-game[data-game="sniper"] .sn-goal { padding-left: 6px; background: rgba(255, 255, 255, .94); color: var(--sn-ink); }
.jpm-game[data-game="sniper"] .sn-goaltxt { font-weight: 800; font-size: .88em; }
.jpm-game[data-game="sniper"] .sn-hits { padding: .05em .45em; border-radius: var(--r-pill, 999px); background: var(--sn-ink); color: #fff; }
.jpm-game[data-game="sniper"] .sn-wind { background: #3FA2F5; }
.jpm-game[data-game="sniper"] .sn-windv { display: inline-block; letter-spacing: -.1em; font-size: 1.15em; line-height: 1; }
.jpm-game[data-game="sniper"] .sn-wind.is-left .sn-windv { transform: scaleX(-1); }
.jpm-game[data-game="sniper"] .sn-lvl { background: rgba(43, 45, 92, .85); }
.jpm-game[data-game="sniper"] .sn-hbtn { pointer-events: auto; display: grid; place-items: center; width: clamp(40px, 6.6cqw, 48px); height: clamp(40px, 6.6cqw, 48px); flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--g-glass); color: var(--surface, #fff); }
.jpm-game[data-game="sniper"] .sn-hbtn svg { width: 54%; height: 54%; }
.jpm-game[data-game="sniper"] .sn-hbtn:active { transform: scale(.92); }
.jpm-game[data-game="sniper"] .g-toast { top: 20%; }
.jpm-game[data-game="sniper"] .g-toast.is-good { background: var(--sn-teal); }

/* botões de baixo */
.jpm-game[data-game="sniper"] .g-touch { z-index: 3; }
.jpm-game[data-game="sniper"] .sn-zbtn { background: rgba(46, 196, 182, .85); }
.jpm-game[data-game="sniper"] .sn-zbtn .sn-zout { display: none; }
.jpm-game[data-game="sniper"][data-zoom="1"] .sn-zbtn .sn-zout { display: block; }
.jpm-game[data-game="sniper"][data-zoom="1"] .sn-zbtn .sn-zin { display: none; }
.jpm-game[data-game="sniper"] .sn-fbtn { display: none; width: clamp(60px, 15cqw, 92px); height: clamp(60px, 15cqw, 92px); background: rgba(255, 79, 139, .88); box-shadow: 0 0 0 3px rgba(255, 255, 255, .7); }
.jpm-game[data-game="sniper"] .sn-fbtn.is-on { background: #FF2E78; transform: scale(.92); }

/* abertura */
.jpm-game[data-game="sniper"] .sn-intro-card { border-bottom: 6px solid var(--sn-teal); }
.jpm-game[data-game="sniper"] .sn-total { display: inline-flex; align-items: center; gap: 5px; margin: 12px 0 0; font-weight: 900; color: var(--muted, #606B80); font-variant-numeric: tabular-nums; }
.jpm-game[data-game="sniper"] .sn-total svg { width: 1.2em; height: 1.2em; color: #F5B700; }

/* tela de fases */
.jpm-game[data-game="sniper"] .sn-levels { z-index: 5; background: rgba(23, 27, 52, .45); padding: 8px; }
.jpm-game[data-game="sniper"] .sn-panel { display: flex; flex-direction: column; width: min(96%, 580px); max-height: calc(100cqh - 16px); padding: clamp(10px, 2.6cqw, 18px); border-radius: var(--r-card, 16px); background: var(--surface, #fff); box-shadow: var(--shadow2, 0 18px 44px rgba(23, 32, 51, .16)); }
.jpm-game[data-game="sniper"] .sn-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.jpm-game[data-game="sniper"] .sn-panel-title { margin: 0; font-size: clamp(18px, 3.6cqw, 28px); }
.jpm-game[data-game="sniper"] .sn-panel-head .sn-total { margin: 0 auto 0 0; }
.jpm-game[data-game="sniper"] .sn-x { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--bg, #F3F6FA); color: var(--ink, #172033); }
.jpm-game[data-game="sniper"] .sn-x svg { width: 50%; height: 50%; }
.jpm-game[data-game="sniper"] .sn-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(5px, 1.4cqw, 9px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 6px; min-height: 0; touch-action: pan-y; }
.jpm-game[data-game="sniper"] .sn-theme { grid-column: 1 / -1; margin: 6px 0 0; font-weight: 900; font-size: clamp(11px, 2cqw, 14px); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #606B80); }
.jpm-game[data-game="sniper"] .sn-card { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: clamp(58px, 12cqw, 82px); padding: 6px 4px; border: 0; border-radius: 14px; color: var(--sn-ink); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); transition: transform .12s; }
.jpm-game[data-game="sniper"] .sn-card:active { transform: scale(.95); }
.jpm-game[data-game="sniper"] .sn-card--cidade { background: linear-gradient(180deg, #E2F3FF, #BFE3FF); }
.jpm-game[data-game="sniper"] .sn-card--parque { background: linear-gradient(180deg, #E4F8D8, #C3EDAA); }
.jpm-game[data-game="sniper"] .sn-card--porto { background: linear-gradient(180deg, #FFE7DA, #FFCDB6); }
.jpm-game[data-game="sniper"] .sn-card.is-cur { outline: 3px solid var(--sn-teal); outline-offset: -1px; }
.jpm-game[data-game="sniper"] .sn-card.is-next { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 0 0 3px var(--sn-gold); }
.jpm-game[data-game="sniper"] .sn-card:disabled { cursor: default; background: #EEF1F5; color: #A3ADBD; box-shadow: none; }
.jpm-game[data-game="sniper"] .sn-cnum { font-size: clamp(16px, 3.6cqw, 24px); font-weight: 900; line-height: 1; }
.jpm-game[data-game="sniper"] .sn-cname { max-width: 100%; overflow: hidden; font-size: clamp(9px, 1.5cqw, 12px); font-weight: 800; line-height: 1.1; white-space: nowrap; text-overflow: ellipsis; opacity: .85; }
.jpm-game[data-game="sniper"] .sn-cstars, .jpm-game[data-game="sniper"] .sn-lockw { display: flex; gap: 1px; }
.jpm-game[data-game="sniper"] .sn-cstars svg { width: clamp(10px, 2.4cqw, 15px); height: clamp(10px, 2.4cqw, 15px); color: rgba(23, 32, 51, .18); }
.jpm-game[data-game="sniper"] .sn-cstars svg.is-on { color: #F5B700; }
.jpm-game[data-game="sniper"] .sn-lock { width: clamp(13px, 3cqw, 18px); height: clamp(13px, 3cqw, 18px); }

/* contagem */
.jpm-game[data-game="sniper"] .sn-ready-info { display: grid; justify-items: center; gap: 8px; }
.jpm-game[data-game="sniper"] .sn-level { margin: 0; padding: .3em 1em; border-radius: var(--r-pill, 999px); background: var(--sn-teal); color: var(--surface, #fff); font-weight: 900; font-size: clamp(14px, 3cqw, 24px); }
.jpm-game[data-game="sniper"] .sn-mission { display: flex; align-items: center; gap: 10px; max-width: 94%; padding: 6px 16px 6px 6px; border-radius: 22px; background: rgba(255, 255, 255, .96); box-shadow: 0 4px 0 rgba(23, 27, 52, .15); }
.jpm-game[data-game="sniper"] .sn-mission .sn-ico--big { box-shadow: none; background: #EEF3FF; }
.jpm-game[data-game="sniper"] .sn-mission p { margin: 0; color: var(--sn-ink); font-weight: 900; font-size: clamp(13px, 2.8cqw, 22px); line-height: 1.15; }
.jpm-game[data-game="sniper"] .sn-tch { display: none; }

/* resultado */
.jpm-game[data-game="sniper"] .sn-card-res { border-bottom: 6px solid var(--sn-teal); }
.jpm-game[data-game="sniper"] .sn-goalres { margin: 0 0 4px; font-weight: 800; font-size: clamp(11px, 2cqw, 14px); color: var(--muted, #606B80); }
.jpm-game[data-game="sniper"] .g-results { gap: clamp(10px, 3cqw, 24px); }
.jpm-game[data-game="sniper"] .g-star.is-on { color: #FFC928; filter: drop-shadow(0 2px 0 rgba(170, 110, 0, .35)); animation: sniper-star .5s ease-out backwards; }
.jpm-game[data-game="sniper"] .g-star:nth-child(2).is-on { animation-delay: .18s; }
.jpm-game[data-game="sniper"] .g-star:nth-child(3).is-on { animation-delay: .36s; }
@keyframes sniper-star { from { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.25) rotate(8deg); } to { transform: scale(1) rotate(0); } }
.jpm-game[data-game="sniper"] .sn-sq { width: 46px; padding: 0; display: inline-grid; place-items: center; }
.jpm-game[data-game="sniper"] .sn-sq svg { width: 20px; height: 20px; }
.jpm-game[data-game="sniper"] .sn-card-res .g-row { flex-wrap: nowrap; }
.jpm-game[data-game="sniper"] .sn-card-res .g-btn { padding: 0 18px; }
.jpm-game[data-game="sniper"] .sn-card-res .sn-sq { padding: 0; }

@media (pointer: coarse) {
  .jpm-game[data-game="sniper"] .sn-desk { display: none; }
  .jpm-game[data-game="sniper"] .sn-tch { display: inline-flex; }
  .jpm-game[data-game="sniper"] .sn-fbtn { display: grid; }
}
/* área pequena (celular em pé): HUD compacto */
@container (max-width: 560px) {
  .jpm-game[data-game="sniper"] .g-hud { gap: 4px; padding: 5px 6px; }
  .jpm-game[data-game="sniper"] .g-chip { padding: 3px 7px 3px 5px; gap: 3px; font-size: 12px; }
  .jpm-game[data-game="sniper"] .sn-clock { min-width: 0; }
  .jpm-game[data-game="sniper"] .sn-goaltxt, .jpm-game[data-game="sniper"] .sn-lvl { display: none; }
  .jpm-game[data-game="sniper"] .g-hud [data-role="retry"] { margin-left: auto; }
  .jpm-game[data-game="sniper"] .sn-hbtn { width: 44px; height: 44px; }
  .jpm-game[data-game="sniper"] .g-toast { font-size: 13px; top: 30%; }
  .jpm-game[data-game="sniper"] .g-touch { padding: 6px; }
}
@container (max-height: 360px) {
  .jpm-game[data-game="sniper"] .g-howto { display: none; }
  .jpm-game[data-game="sniper"] .g-ready { gap: 6px; }
  .jpm-game[data-game="sniper"] .sn-ready-info { gap: 5px; }
  .jpm-game[data-game="sniper"] .g-count { font-size: 50px; }
  .jpm-game[data-game="sniper"] .g-screen { padding: 6px; }
  .jpm-game[data-game="sniper"] .g-card { padding: 8px 12px; }
  .jpm-game[data-game="sniper"] .g-intro .g-card { width: min(84%, 340px); }
  .jpm-game[data-game="sniper"] .g-intro .g-text { font-size: 11px; margin-bottom: 6px; }
  .jpm-game[data-game="sniper"] .g-title { font-size: 18px; margin: 1px 0 3px; }
  .jpm-game[data-game="sniper"] .sn-total { margin-top: 4px; font-size: 11px; }
  .jpm-game[data-game="sniper"] .sn-card-res .g-kicker, .jpm-game[data-game="sniper"] .sn-card-res .g-best { display: none; }
  .jpm-game[data-game="sniper"] .g-stars { font-size: 20px; margin: 0 0 2px; }
  .jpm-game[data-game="sniper"] .g-results { margin: 2px 0 4px; gap: 10px; }
  .jpm-game[data-game="sniper"] .g-num { font-size: 15px; }
  .jpm-game[data-game="sniper"] .g-lbl { font-size: 9px; }
  .jpm-game[data-game="sniper"] .sn-goalres { font-size: 10px; margin-bottom: 4px; }
  .jpm-game[data-game="sniper"] .g-btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
  .jpm-game[data-game="sniper"] .sn-card-res .g-btn { padding: 0 11px; }
  .jpm-game[data-game="sniper"] .sn-sq { width: 44px; }
  .jpm-game[data-game="sniper"] .sn-card-res .g-text { font-size: 11px; margin-bottom: 8px; }
  .jpm-game[data-game="sniper"] .sn-panel { padding: 8px; max-height: calc(100cqh - 12px); }
  .jpm-game[data-game="sniper"] .sn-panel-head { margin-bottom: 4px; }
  .jpm-game[data-game="sniper"] .sn-x { width: 40px; height: 40px; }
  .jpm-game[data-game="sniper"] .sn-card { min-height: 46px; padding: 3px 2px; border-radius: 10px; }
  .jpm-game[data-game="sniper"] .sn-cname { display: none; }
  .jpm-game[data-game="sniper"] .sn-theme { margin-top: 2px; font-size: 10px; }
  .jpm-game[data-game="sniper"] .sn-level { font-size: 13px; }
  .jpm-game[data-game="sniper"] .sn-mission { padding: 4px 10px 4px 4px; gap: 6px; border-radius: 16px; }
  .jpm-game[data-game="sniper"] .sn-mission p { font-size: 12px; }
  .jpm-game[data-game="sniper"] .sn-ico--big { width: 40px; height: 40px; padding: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="sniper"] .sn-pop, .jpm-game[data-game="sniper"] .g-star.is-on, .jpm-game[data-game="sniper"] .sn-clock.g-chip--warn, .jpm-game[data-game="sniper"] .sn-hint span { animation: none; }
  .jpm-game[data-game="sniper"] .sn-scope { transition: none; }
}
