/* ==== JPM KIT v1 — base visual dos jogos (sincronizado; regras do jogo vêm depois do "fim da base") ==== */
.jpm-game[data-game="boliche"] {
  --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="boliche"] [hidden] { display: none; }
.jpm-game[data-game="boliche"] button { font: inherit; color: inherit; cursor: pointer; }
.jpm-game[data-game="boliche"] button:focus-visible { outline: 3px solid var(--ink, #172033); outline-offset: 2px; }
.jpm-game[data-game="boliche"] .g-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.jpm-game[data-game="boliche"] .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="boliche"] .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="boliche"] .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="boliche"] .g-chip--right { margin-left: auto; }
.jpm-game[data-game="boliche"] .g-chip--warn { background: var(--coral, #FF6868); }
.jpm-game[data-game="boliche"] .g-ico { width: 1.2em; height: 1.2em; flex: none; }
.jpm-game[data-game="boliche"] .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="boliche"] .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="boliche"] .g-hearts { display: flex; gap: 4px; padding: 6px 10px; border-radius: var(--r-pill, 999px); background: var(--g-glass); }
.jpm-game[data-game="boliche"] .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="boliche"] .g-heart.is-lost { color: rgba(255, 255, 255, .35); transform: scale(.85); }

/* telas */
.jpm-game[data-game="boliche"] .g-screen { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 12px; }
.jpm-game[data-game="boliche"] .g-intro, .jpm-game[data-game="boliche"] .g-over, .jpm-game[data-game="boliche"] .g-paused { background: rgba(23, 27, 52, .32); }
.jpm-game[data-game="boliche"] .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="boliche"] .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="boliche"] .g-intro .g-card { width: min(56%, 400px); }
.jpm-game[data-game="boliche"] .g-card--small { width: auto; padding: 16px 22px; }
.jpm-game[data-game="boliche"] .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="boliche"] .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="boliche"] .g-text { margin: 0 0 14px; color: var(--muted, #606B80); font-weight: 600; font-size: clamp(12px, 2.2cqw, 16px); }
.jpm-game[data-game="boliche"] .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="boliche"] .g-btn:active { transform: scale(.96); }
.jpm-game[data-game="boliche"] .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="boliche"] .g-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jpm-game[data-game="boliche"] .g-results { display: flex; justify-content: center; gap: clamp(12px, 4cqw, 30px); margin: 10px 0; }
.jpm-game[data-game="boliche"] .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="boliche"] .g-lbl { font-size: clamp(11px, 1.8cqw, 13px); color: var(--muted, #606B80); font-weight: 700; }
.jpm-game[data-game="boliche"] .g-best { margin: 0 0 14px; font-weight: 800; color: var(--g-accent); min-height: 1.2em; }
.jpm-game[data-game="boliche"] .g-stars { display: flex; justify-content: center; gap: 6px; margin: 4px 0 8px; font-size: clamp(22px, 5cqw, 36px); }
.jpm-game[data-game="boliche"] .g-star { width: 1em; height: 1em; color: var(--line, #E3E8EF); }
.jpm-game[data-game="boliche"] .g-star.is-on { color: var(--yellow, #FFD43B); }

.jpm-game[data-game="boliche"] .g-ready { pointer-events: none; align-content: center; gap: 12px; }
.jpm-game[data-game="boliche"] .g-howto { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jpm-game[data-game="boliche"] .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="boliche"] .g-key { padding: 3px 9px; border-radius: 8px; background: var(--surface, #fff); color: var(--ink, #172033); font-weight: 900; }
.jpm-game[data-game="boliche"] .g-touch-only { display: none; }
.jpm-game[data-game="boliche"] .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: boliche-pop .8s ease-out infinite; }
@keyframes boliche-pop { from { transform: scale(1.25); opacity: .4; } 30% { transform: scale(1); opacity: 1; } }

/* botões de toque */
.jpm-game[data-game="boliche"] .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="boliche"] .g-touch-group { display: flex; gap: 10px; align-items: flex-end; }
.jpm-game[data-game="boliche"] .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="boliche"] .g-tbtn svg { width: 55%; height: 55%; }
.jpm-game[data-game="boliche"] .g-tbtn--action { background: rgba(96, 70, 255, .78); }
.jpm-game[data-game="boliche"] .g-tbtn.is-on, .jpm-game[data-game="boliche"] .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="boliche"] .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: boliche-toast .9s ease-out forwards; }
.jpm-game[data-game="boliche"] .g-toast.is-good { background: var(--green, #46D68C); color: var(--surface, #fff); }
.jpm-game[data-game="boliche"] .g-toast.is-bad { background: var(--coral, #FF6868); color: var(--surface, #fff); }
@keyframes boliche-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="boliche"] .g-touch-only { display: inline-flex; }
}
@container (max-width: 520px) {
  .jpm-game[data-game="boliche"] .g-intro { justify-items: center; padding-left: 12px; background: rgba(23, 27, 52, .3); }
  .jpm-game[data-game="boliche"] .g-intro .g-card { width: min(92%, 400px); }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="boliche"] .g-count, .jpm-game[data-game="boliche"] .g-toast { animation: none; }
}
/* ==== fim da base ==== */

/* jogo */

/* Jogo de Boliche */
.jpm-game[data-game="boliche"] { --g-accent: #ff5d73; --bo-gold: #ffc928; --bo-ink: #2b2350; }
.jpm-game[data-game="boliche"] .bo-hud { gap: 6px; flex-wrap: nowrap; align-items: flex-start; }
.jpm-game[data-game="boliche"] .bo-lv, .jpm-game[data-game="boliche"] .bo-icon-btn { pointer-events: auto; border: 0; }
.jpm-game[data-game="boliche"] .bo-icon-btn { padding: 6px 8px; margin-left: auto; }
.jpm-game[data-game="boliche"] .bo-goal { min-width: 4.2em; justify-content: center; }

/* placar */
.jpm-game[data-game="boliche"] .bo-board { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--g-glass); }
.jpm-game[data-game="boliche"] .bo-fr { position: relative; display: grid; grid-template-rows: auto auto; width: clamp(30px, 6.4cqw, 54px); border-radius: 6px; background: #fff; color: var(--bo-ink); overflow: hidden; }
.jpm-game[data-game="boliche"] .bo-fr.is-last { width: clamp(42px, 8.6cqw, 72px); }
.jpm-game[data-game="boliche"] .bo-fr.is-cur { box-shadow: inset 0 0 0 2px var(--g-accent); }
.jpm-game[data-game="boliche"] .bo-frn { position: absolute; left: 3px; top: 1px; font-size: clamp(7px, 1.2cqw, 10px); font-weight: 800; color: #8a90a6; }
.jpm-game[data-game="boliche"] .bo-rolls { display: flex; justify-content: flex-end; }
.jpm-game[data-game="boliche"] .bo-r { display: grid; place-items: center; width: clamp(12px, 2.4cqw, 20px); height: clamp(12px, 2.4cqw, 20px); border-left: 1px solid #e3e8ef; border-bottom: 1px solid #e3e8ef; font-weight: 900; font-size: clamp(8px, 1.6cqw, 13px); }
.jpm-game[data-game="boliche"] .bo-r.is-x { background: #ff5d73; color: #fff; }
.jpm-game[data-game="boliche"] .bo-r.is-s { background: #3ab0ff; color: #fff; }
.jpm-game[data-game="boliche"] .bo-tot { min-height: 1.2em; text-align: center; font-weight: 900; font-size: clamp(10px, 1.9cqw, 16px); font-variant-numeric: tabular-nums; line-height: 1.25; }
.jpm-game[data-game="boliche"] .bo-board--big { justify-content: center; margin: 4px auto 6px; width: max-content; max-width: 100%; background: #efeaff; }
.jpm-game[data-game="boliche"] .bo-board--big .bo-fr { width: clamp(34px, 7cqw, 56px); box-shadow: none; }
.jpm-game[data-game="boliche"] .bo-board--big .bo-fr.is-last { width: clamp(48px, 9.6cqw, 76px); }

/* pinos em pé (triângulo visto de cima) */
.jpm-game[data-game="boliche"] .bo-pins-chip { padding: 5px 8px; }
.jpm-game[data-game="boliche"] .bo-pins { position: relative; display: block; width: clamp(30px, 5.6cqw, 46px); height: clamp(24px, 4.6cqw, 38px); }
.jpm-game[data-game="boliche"] .bo-pd { position: absolute; width: 18%; aspect-ratio: 1; margin: -9% 0 0 -9%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); transition: background .2s, transform .2s; }
.jpm-game[data-game="boliche"] .bo-pd.is-down { background: rgba(255, 255, 255, .18); transform: scale(.7); }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(1) { left: 50%; top: 88%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(2) { left: 37%; top: 63%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(3) { left: 63%; top: 63%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(4) { left: 24%; top: 38%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(5) { left: 50%; top: 38%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(6) { left: 76%; top: 38%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(7) { left: 11%; top: 13%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(8) { left: 37%; top: 13%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(9) { left: 63%; top: 13%; }
.jpm-game[data-game="boliche"] .bo-pd:nth-child(10) { left: 89%; top: 13%; }

/* dica da etapa */
.jpm-game[data-game="boliche"] .bo-hint { position: absolute; left: 50%; top: clamp(44px, 11cqh, 80px); z-index: 3; transform: translateX(-50%); max-width: 70%; margin: 0; padding: .4em 1em; white-space: nowrap; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--bo-ink); font-weight: 900; font-size: clamp(11px, 2cqw, 16px); text-align: center; box-shadow: 0 6px 14px rgba(23, 27, 52, .18); pointer-events: none; }

/* barra de força */
.jpm-game[data-game="boliche"] .bo-power { position: absolute; right: clamp(14px, 4cqw, 40px); bottom: calc(clamp(52px, 13cqw, 80px) + 26px); z-index: 3; display: grid; justify-items: center; gap: 4px; pointer-events: none; }
.jpm-game[data-game="boliche"] .bo-power-lbl { padding: 2px 8px; border-radius: 999px; background: var(--g-glass); color: #fff; font-weight: 900; font-size: clamp(10px, 1.8cqw, 14px); }
.jpm-game[data-game="boliche"] .bo-power-bar { position: relative; display: block; width: clamp(18px, 3.4cqw, 30px); height: clamp(70px, 30cqh, 220px); border-radius: 999px; background: rgba(23, 27, 52, .55); box-shadow: inset 0 0 0 3px #fff; overflow: hidden; }
.jpm-game[data-game="boliche"] .bo-power-fill { position: absolute; left: 3px; right: 3px; bottom: 3px; height: 0; border-radius: 999px; background: linear-gradient(0deg, #46d68c, #ffd43b 60%, #ff5d73); }

/* aviso grande de strike/spare */
.jpm-game[data-game="boliche"] .bo-banner { position: absolute; left: 50%; top: 24%; z-index: 3; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; width: min(90%, 560px); pointer-events: none; text-align: center; }
.jpm-game[data-game="boliche"] .bo-banner-title { margin: 0; color: #fff; font-weight: 900; font-size: clamp(30px, 9cqw, 84px); letter-spacing: -.02em; line-height: 1; text-shadow: 0 5px 0 #ff5d73, 0 9px 18px rgba(23, 27, 52, .35); }
.jpm-game[data-game="boliche"] .bo-banner.is-spare .bo-banner-title { text-shadow: 0 5px 0 #3ab0ff, 0 9px 18px rgba(23, 27, 52, .35); }
.jpm-game[data-game="boliche"] .bo-banner-sub { margin: 0; padding: .35em .9em; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--bo-ink); font-weight: 800; font-size: clamp(10px, 1.9cqw, 15px); }
.jpm-game[data-game="boliche"] .bo-banner-sub:empty { display: none; }
.jpm-game[data-game="boliche"] .bo-banner.is-on .bo-banner-title { animation: boliche-bang .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.jpm-game[data-game="boliche"] .bo-banner.is-on .bo-banner-sub { animation: boliche-drop .4s .25s ease-out both; }
@keyframes boliche-bang { from { transform: scale(.2) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes boliche-drop { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* botões de toque */
.jpm-game[data-game="boliche"] .bo-touch { align-items: flex-end; }
.jpm-game[data-game="boliche"] .bo-side.is-spin { background: rgba(58, 176, 255, .7); }
.jpm-game[data-game="boliche"] .bo-act { width: clamp(60px, 15cqw, 92px); height: clamp(60px, 15cqw, 92px); margin-left: auto; background: rgba(255, 93, 115, .86); font-size: clamp(13px, 2.6cqw, 19px); }
.jpm-game[data-game="boliche"] .bo-act.is-go { background: rgba(70, 214, 140, .92); }
.jpm-game[data-game="boliche"] .bo-act.is-on, .jpm-game[data-game="boliche"] .bo-act:active { background: rgba(255, 93, 115, 1); }
.jpm-game[data-game="boliche"] .g-tbtn.is-on { background: rgba(58, 176, 255, .95); }

/* pronto */
.jpm-game[data-game="boliche"] .bo-ready { gap: 8px; background: rgba(23, 27, 52, .18); }
.jpm-game[data-game="boliche"] .bo-ready-world { margin: 0; padding: .25em .9em; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #e2405a; font-weight: 900; font-size: clamp(11px, 2cqw, 15px); letter-spacing: .06em; text-transform: uppercase; }
.jpm-game[data-game="boliche"] .bo-ready-title { margin: 0; color: #fff; font-weight: 900; font-size: clamp(18px, 4.4cqw, 34px); text-shadow: 0 3px 0 rgba(23, 27, 52, .35); text-align: center; animation: boliche-drop .5s ease-out; }
.jpm-game[data-game="boliche"] .bo-ready-goal { margin: 0; color: #fff; font-weight: 800; font-size: clamp(12px, 2.3cqw, 18px); text-shadow: 0 2px 0 rgba(23, 27, 52, .35); text-align: center; }
.jpm-game[data-game="boliche"] .bo-ready-tip { margin: 0; padding: .4em 1em; border-radius: 999px; background: #ffd43b; color: #3b2a00; font-weight: 900; font-size: clamp(12px, 2.3cqw, 17px); box-shadow: 0 6px 14px rgba(23, 27, 52, .2); text-align: center; }

/* resultado */
.jpm-game[data-game="boliche"] .bo-over-card { width: min(94%, 470px); }
.jpm-game[data-game="boliche"] .bo-rstar { animation: boliche-star .45s ease-out both; }
@keyframes boliche-star { from { transform: scale(.2) rotate(-40deg); opacity: 0; } 70% { transform: scale(1.25); opacity: 1; } to { transform: none; } }
.jpm-game[data-game="boliche"] .bo-tips { margin: 0 0 6px; color: var(--muted, #606B80); font-weight: 700; font-size: clamp(11px, 1.9cqw, 14px); }

/* escolha de fases */
.jpm-game[data-game="boliche"] .bo-levels { background: rgba(23, 27, 52, .38); }
.jpm-game[data-game="boliche"] .bo-lv-card { width: min(96%, 860px); max-height: calc(100cqh - 20px); display: flex; flex-direction: column; padding: clamp(10px, 2.2cqw, 20px); }
.jpm-game[data-game="boliche"] .bo-lv-head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.jpm-game[data-game="boliche"] .bo-lv-head .g-title { margin: 0; }
.jpm-game[data-game="boliche"] .bo-lv-total { display: inline-flex; align-items: center; gap: 4px; padding: .2em .7em; border-radius: 999px; background: #fff4e0; color: #b87800; font-weight: 900; }
.jpm-game[data-game="boliche"] .bo-lv-total svg { width: 1.1em; height: 1.1em; color: var(--bo-gold); }
.jpm-game[data-game="boliche"] .bo-lv-scroll { flex: 1; min-height: 0; overflow-y: auto; margin: 8px 0; padding: 2px 4px; overscroll-behavior: contain; text-align: left; }
.jpm-game[data-game="boliche"] .bo-world { margin-bottom: 10px; padding: 8px; border-radius: 14px; background: color-mix(in srgb, var(--world) 16%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--world) 45%, #fff); }
.jpm-game[data-game="boliche"] .bo-world-name { display: flex; align-items: center; gap: 6px; margin: 0 0 6px 2px; font-weight: 900; font-size: clamp(12px, 2.2cqw, 16px); }
.jpm-game[data-game="boliche"] .bo-world-dot { width: .8em; height: .8em; border-radius: 50%; background: var(--world); }
.jpm-game[data-game="boliche"] .bo-world-stars { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; color: #b87800; font-size: .85em; }
.jpm-game[data-game="boliche"] .bo-world-stars svg { width: 1.1em; height: 1.1em; color: var(--bo-gold); }
.jpm-game[data-game="boliche"] .bo-lv-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.jpm-game[data-game="boliche"] .bo-lvb { position: relative; display: grid; gap: 3px; justify-items: center; padding: 7px 4px 6px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 0 rgba(23, 27, 52, .12), inset 0 0 0 2px var(--line, #E3E8EF); }
.jpm-game[data-game="boliche"] .bo-lvb.is-next { box-shadow: inset 0 0 0 3px var(--g-accent); background: #fff0f2; }
.jpm-game[data-game="boliche"] .bo-lvb.is-locked { opacity: .55; }
.jpm-game[data-game="boliche"] .bo-lvb.is-shake { animation: boliche-shake .35s; }
@keyframes boliche-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.jpm-game[data-game="boliche"] .bo-lvn { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--world, var(--g-accent)); color: #fff; font-weight: 900; }
.jpm-game[data-game="boliche"] .bo-lvb.is-locked .bo-lvn { background: #9aa3b5; }
.jpm-game[data-game="boliche"] .bo-lock { width: 1em; height: 1em; }
.jpm-game[data-game="boliche"] .bo-lvname { font-size: clamp(9px, 1.6cqw, 12px); font-weight: 800; line-height: 1.15; min-height: 2.3em; display: grid; place-items: center; text-align: center; }
.jpm-game[data-game="boliche"] .bo-lvkind { font-size: clamp(8px, 1.3cqw, 10px); font-weight: 800; color: var(--muted, #606B80); text-transform: uppercase; letter-spacing: .05em; }
.jpm-game[data-game="boliche"] .bo-lvstars { display: flex; gap: 1px; }
.jpm-game[data-game="boliche"] .bo-lvstar { display: inline-flex; width: clamp(11px, 2cqw, 16px); height: clamp(11px, 2cqw, 16px); color: #d5dbe5; }
.jpm-game[data-game="boliche"] .bo-lvstar svg { width: 100%; height: 100%; }
.jpm-game[data-game="boliche"] .bo-lvstar.is-on { color: var(--bo-gold); }

@container (max-width: 620px) {
  .jpm-game[data-game="boliche"] .bo-lv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-height: 460px) {
  .jpm-game[data-game="boliche"] .bo-hud { padding: 5px 6px; gap: 4px; }
  .jpm-game[data-game="boliche"] .g-chip { padding: 3px 8px 3px 6px; font-size: 12px; }
  .jpm-game[data-game="boliche"] .g-card { padding: 10px 14px; }
  .jpm-game[data-game="boliche"] .g-title { font-size: 18px; margin: 2px 0 4px; }
  .jpm-game[data-game="boliche"] .g-text { font-size: 11px; margin-bottom: 8px; }
  .jpm-game[data-game="boliche"] .g-btn { min-height: 34px; padding: 0 14px; font-size: 13px; }
  .jpm-game[data-game="boliche"] .g-results { margin: 4px 0; }
  .jpm-game[data-game="boliche"] .g-num { font-size: 17px; }
  .jpm-game[data-game="boliche"] .g-stars { font-size: 20px; margin: 0 0 2px; }
  .jpm-game[data-game="boliche"] .g-best { margin: 0 0 6px; font-size: 11px; }
  .jpm-game[data-game="boliche"] .bo-tips { font-size: 10px; margin-bottom: 2px; }
  .jpm-game[data-game="boliche"] .bo-world { padding: 5px; margin-bottom: 6px; }
  .jpm-game[data-game="boliche"] .bo-lvb { padding: 4px 2px; gap: 1px; }
  .jpm-game[data-game="boliche"] .bo-lvname { font-size: 9px; min-height: 2.2em; }
  .jpm-game[data-game="boliche"] .bo-board--big { margin: 2px auto 3px; }
}
@container (max-height: 300px) {
  .jpm-game[data-game="boliche"] .bo-hud { padding: 3px 4px; gap: 3px; }
  .jpm-game[data-game="boliche"] .g-chip { padding: 2px 6px 2px 4px; font-size: 10px; gap: 3px; }
  .jpm-game[data-game="boliche"] .g-ico { width: 1em; height: 1em; }
  .jpm-game[data-game="boliche"] .bo-goal { min-width: 0; }
  .jpm-game[data-game="boliche"] .bo-pins-chip { padding: 2px 4px; }
  .jpm-game[data-game="boliche"] .bo-pins { width: 24px; height: 19px; }
  .jpm-game[data-game="boliche"] .bo-board { padding: 2px; gap: 1px; border-radius: 6px; }
  .jpm-game[data-game="boliche"] .bo-fr { width: 24px; border-radius: 4px; }
  .jpm-game[data-game="boliche"] .bo-fr.is-last { width: 33px; }
  .jpm-game[data-game="boliche"] .bo-frn { display: none; }
  .jpm-game[data-game="boliche"] .bo-r { width: 11px; height: 10px; font-size: 7.5px; }
  .jpm-game[data-game="boliche"] .bo-tot { font-size: 9px; }
  .jpm-game[data-game="boliche"] .bo-board--big .bo-fr { width: 30px; }
  .jpm-game[data-game="boliche"] .bo-board--big .bo-fr.is-last { width: 40px; }
  .jpm-game[data-game="boliche"] .g-card { padding: 6px 10px; }
  .jpm-game[data-game="boliche"] .g-kicker { font-size: 8px; }
  .jpm-game[data-game="boliche"] .g-title { font-size: 14px; margin: 0 0 2px; }
  .jpm-game[data-game="boliche"] .g-text { font-size: 9.5px; margin-bottom: 5px; }
  .jpm-game[data-game="boliche"] .g-btn { min-height: 28px; padding: 0 10px; font-size: 11px; }
  .jpm-game[data-game="boliche"] .g-row { gap: 4px; }
  .jpm-game[data-game="boliche"] .g-num { font-size: 13px; }
  .jpm-game[data-game="boliche"] .g-lbl { font-size: 9px; }
  .jpm-game[data-game="boliche"] .g-stars { font-size: 15px; margin: 0; }
  .jpm-game[data-game="boliche"] .g-results { gap: 12px; margin: 2px 0; }
  .jpm-game[data-game="boliche"] .g-best { font-size: 9px; margin: 0 0 3px; }
  .jpm-game[data-game="boliche"] .bo-tips { display: none; }
  .jpm-game[data-game="boliche"] .bo-hint { top: 30px; font-size: 9.5px; padding: .3em .8em; }
  .jpm-game[data-game="boliche"] .bo-power { bottom: 70px; right: 12px; }
  .jpm-game[data-game="boliche"] .bo-power-bar { height: 62px; width: 16px; }
  .jpm-game[data-game="boliche"] .bo-power-lbl { font-size: 8px; }
  .jpm-game[data-game="boliche"] .bo-banner { top: 22%; }
  .jpm-game[data-game="boliche"] .bo-banner-title { font-size: 30px; }
  .jpm-game[data-game="boliche"] .bo-banner-sub { font-size: 8.5px; }
  .jpm-game[data-game="boliche"] .bo-ready { gap: 4px; }
  .jpm-game[data-game="boliche"] .bo-ready-title { font-size: 15px; }
  .jpm-game[data-game="boliche"] .bo-ready-goal { font-size: 10px; }
  .jpm-game[data-game="boliche"] .bo-ready-world, .jpm-game[data-game="boliche"] .bo-ready-tip { font-size: 9.5px; }
  .jpm-game[data-game="boliche"] .bo-ready .g-howto-item { font-size: 9.5px; padding: 2px 6px 2px 2px; }
  .jpm-game[data-game="boliche"] .bo-lv-card { padding: 6px 8px; max-height: calc(100cqh - 8px); }
  .jpm-game[data-game="boliche"] .bo-lv-head .g-title { font-size: 13px; }
  .jpm-game[data-game="boliche"] .bo-lv-total { font-size: 10px; }
  .jpm-game[data-game="boliche"] .bo-lv-scroll { margin: 4px 0; }
  .jpm-game[data-game="boliche"] .bo-world-name { font-size: 10px; margin-bottom: 3px; }
  .jpm-game[data-game="boliche"] .bo-lv-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
  .jpm-game[data-game="boliche"] .bo-lvn { width: 1.6em; height: 1.6em; font-size: 10px; }
  .jpm-game[data-game="boliche"] .bo-lvname, .jpm-game[data-game="boliche"] .bo-lvkind { display: none; }
  .jpm-game[data-game="boliche"] .g-toast { font-size: 11px; top: 30%; }
  .jpm-game[data-game="boliche"] .bo-touch { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="boliche"] .bo-rstar, .jpm-game[data-game="boliche"] .bo-ready-title, .jpm-game[data-game="boliche"] .bo-lvb.is-shake,
  .jpm-game[data-game="boliche"] .bo-banner.is-on .bo-banner-title, .jpm-game[data-game="boliche"] .bo-banner.is-on .bo-banner-sub { animation: none; }
}
