/*
 * War Blast - design do jogo (modo horda).
 *
 * Extraido do CSS compilado do site original (build/assets/app-91ae8db6.css),
 * com o atributo de escopo do Vue ([data-v-...]) removido. Os valores sao os
 * do site antigo: nao ajustar "a gosto" sem comparar com ele.
 *
 * Classes base importantes:
 *   .hz-page  tela do jogo (z-index 30) - as sobreposicoes vao DENTRO dela
 *   .hz-stage camada das sobreposicoes projetadas do 3D
 *   .hzv      tela de resultado (z-index 20); .hzv-win/.hzv-partial/.hzv-lose
 *             sao modificadores que mudam cores, nao posicionamento
 *
 * Fonte dos numeros: Lilita One (carregada no HTML).
 * Paleta: ceu #a6dcff, texto #2e3650, azul #5ccbff->#1f9cf5, sombra dura #0a4a9e.
 */
/* 168 regras casando /(\.hz|keyframes hz)/ */

/* === PÁGINA === */
.hz-page {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  background: #a6dcff;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  color: #2e3650;
}
.hz-page.hz-noite {
  background: #0e1433;
}
.hz-stage {
  position: absolute;
  inset: 0;
}
.hz-stage .hz-hidden {
  display: none !important;
}
/* === TOPO === */
.hz-hud {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.hz-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hz-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.hz-back {
  pointer-events: auto;
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(#5ccbff, #1f9cf5);
  color: #ffffff;
  box-shadow: 0 3px 0 #0a4a9e, 0 6px 12px rgba(5, 40, 100, 0.25);
  cursor: pointer;
}
.hz-back:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0a4a9e;
}
.hz-pill {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 3px 0 #0a4a9e, 0 6px 14px rgba(5, 40, 100, 0.25);
}
.hz-pill-money {
  gap: 6px;
  padding: 0 12px 0 4px;
  min-width: 0;
}
.hz-pill-money .hz-pill-txt {
  padding-left: 6px;
}
.hz-wallet-ico {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(#5ccbff, #1f9cf5);
  color: #ffffff;
}
.hz-wallet-ico svg {
  width: 17px;
  height: 17px;
}
.hz-pill-txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}
.hz-lbl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7a86a8;
  white-space: nowrap;
}
.hz-val {
  margin-top: 2px;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: #2e3650;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hz-pill-prize {
  pointer-events: auto;
  flex: none;
  gap: 5px;
  padding: 0 4px 0 29px;
  margin-left: 8px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hz-pill-prize.hz-pulse {
  transform: scale(1.08);
}
.hz-pill-coin {
  position: absolute;
  left: -9px;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  filter: drop-shadow(0 2px 2px rgba(120, 60, 0, 0.35));
}
.hz-chip {
  flex: none;
  min-width: 42px;
  padding: 5px 7px 4px;
  border-radius: 999px;
  text-align: center;
  color: #ffffff;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  font-variant-numeric: tabular-nums;
}
.hz-pill-prize.hz-lost .hz-val {
  color: #b5bccb;
  text-decoration: line-through;
}
.hz-pill-prize.hz-lost .hz-lbl {
  color: #e53935;
}
.hz-pill-prize.hz-lost .hz-pill-coin {
  filter: grayscale(1) opacity(0.6);
}
.hz-row2 {
  gap: 8px;
}
.hz-hide {
  visibility: hidden;
}
.hz-power {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 30px;
  padding: 0 10px 0 7px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(#ffb43a, #ff6a2b);
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 2px 0 #b8460f;
}
.hz-power b {
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 16px;
}
.hz-run {
  flex: 1;
  max-width: 270px;
  height: 32px;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 2px 3px rgba(0, 40, 90, 0.28));
}
.hz-run-track {
  position: relative;
  flex: 1;
  height: 15px;
  margin: 0 -8px;
  overflow: hidden;
  background: #475168;
  border: 3px solid #ffffff;
}
.hz-run-fill {
  position: absolute;
  inset: 0;
  display: block;
  background: #16bdfa;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.12s linear;
}
.hz-run-num,
.hz-run-flag {
  position: relative;
  z-index: 1;
  flex: none;
  width: 32px;
  height: 32px;
  border: 3px solid #ffffff;
  border-radius: 50%;
}
.hz-run-num {
  background: #16bdfa;
  color: #ffffff;
  text-align: center;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgba(0, 60, 110, 0.25);
}
.hz-run-num.hz-small {
  font-size: 12.5px;
}
.hz-run-flag {
  background: repeating-conic-gradient(#475168 0 25%, #ffffff 0 50%) 50% 50% / 14px 14px;
  transition: box-shadow 0.25s;
}
.hz-run-flag.hz-done {
  animation: hz-flag 0.55s cubic-bezier(0.3, 1.8, 0.5, 1);
  box-shadow: 0 0 0 3px rgba(22, 189, 250, 0.55), 0 0 14px rgba(22, 189, 250, 0.8);
}
@keyframes hz-flag {
0% { transform: scale(1);
}
40% { transform: scale(1.35) rotate(-8deg);
}
100% { transform: scale(1);
}
}
.hz-sound {
  pointer-events: auto;
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(#5ccbff, #1f9cf5);
  box-shadow: 0 2px 0 #0a4a9e;
  font-size: 14px;
  cursor: pointer;
}
.hz-pop-enter-active {
  transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.25s;
}
.hz-pop-enter-from {
  transform: translateY(-10px) scale(0.85);
  opacity: 0;
}
.hz-hint {
  position: absolute;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  transform: translateX(-50%);
  width: -moz-max-content;
  width: max-content;
  max-width: calc(100% - 28px);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #2e3650;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 0 rgba(10, 74, 158, 0.45), 0 6px 16px rgba(5, 40, 100, 0.2);
  pointer-events: none;
}
.hz-hint svg {
  flex: none;
  color: #1f9cf5;
  animation: hz-swipe 1.6s ease-in-out infinite;
}
@keyframes hz-swipe {
0%, 100% { transform: translateX(-3px);
}
50% { transform: translateX(3px);
}
}
/* === SOBREPOSIÇÕES DA CENA === */
.hz-stage .hz-badge {
  left: 0;
  top: 0;
  z-index: 4;
  min-width: 44px;
  padding: 3px 12px;
  transform: translate(-50%, -100%);
  border: 3px solid #ffffff;
  border-radius: 10px;
  background: linear-gradient(#3d8bff, #1d5fe0);
  color: #ffffff;
  text-align: center;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.1;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.hz-stage .hz-badge::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 11px;
  height: 11px;
  transform: translateX(-50%) rotate(45deg);
  background: #1d5fe0;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
}
.hz-stage .hz-wave {
  left: 0;
  top: 0;
  z-index: 3;
  padding: 2px 10px;
  transform: translate(-50%, -100%);
  border: 3px solid #ffffff;
  border-radius: 10px;
  background: linear-gradient(#ff5a5a, #c8142c);
  color: #ffffff;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.hz-stage .hz-wave::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #c8142c;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
}
.hz-stage .hz-bossbar {
  left: 0;
  top: 0;
  z-index: 4;
  width: 140px;
  transform: translate(-50%, -100%);
  text-align: center;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
}
.hz-stage .hz-bossname {
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 2px 0 #4a0a12, 0 0 8px rgba(0, 0, 0, 0.45);
}
.hz-stage .hz-bossnum {
  color: #ffffff;
  font-size: 27px;
  line-height: 1.05;
  text-shadow: 0 2px 0 #4a0a12, 0 0 8px rgba(0, 0, 0, 0.45);
}
.hz-stage .hz-bossbar-track {
  height: 14px;
  margin-top: 2px;
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 6px;
  background: #3b0a12;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
.hz-stage .hz-bossbar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(#ff6b6b, #c8142c);
}
.hz-stage .hz-popup {
  z-index: 6;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 6px #1673d6;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
  animation: hz-rise 1.15s ease-out forwards;
}
.hz-stage .hz-popup-bad {
  -webkit-text-stroke-color: #d01f35;
}
.hz-stage .hz-popup-fire {
  font-size: 28px;
  -webkit-text-stroke-color: #d0560f;
}
.hz-stage .hz-popup-bonus {
  color: #fff3b0;
  font-size: 38px;
  -webkit-text-stroke-color: #b35f00;
}
@keyframes hz-rise {
0% { opacity: 0; margin-top: 0; scale: 0.5;
}
14% { opacity: 1; scale: 1.18;
}
28% { scale: 1;
}
75% { opacity: 1;
}
100% { opacity: 0; margin-top: -70px;
}
}
.hz-coins {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}
.hz-coins .hz-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(80, 40, 0, 0.4));
  will-change: transform, opacity;
}
/* === LOBBY === */
.hz-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  justify-content: center;
  padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0px));
}
.hz-card {
  width: 100%;
  max-width: 420px;
  padding: 16px 14px 12px;
  border: 4px solid #ffffff;
  border-radius: 26px;
  background: linear-gradient(#ffffff, #eef7ff);
  text-align: center;
  box-shadow: 0 6px 0 #0a4a9e, 0 -6px 30px rgba(10, 25, 60, 0.25);
}
.hz-tag {
  display: inline-block;
  padding: 2px 12px;
  border: 2px solid #ffe08a;
  border-radius: 999px;
  background: #fff8e1;
  color: #b86a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hz-title {
  margin: 6px 0 10px;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  color: #ffffff;
  -webkit-text-stroke: 6px #1673d6;
  paint-order: stroke fill;
  letter-spacing: 0.02em;
}
.hz-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.hz-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 4px 6px;
  border: 2px solid #d6eaff;
  border-radius: 14px;
  background: #eef6ff;
}
.hz-info-ico {
  font-size: 17px;
  line-height: 1.1;
}
.hz-info-box b {
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #2e3650;
  white-space: nowrap;
}
.hz-info-box small {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
  color: #7a86a8;
}
.hz-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.hz-chipbet {
  padding: 7px 12px;
  border: 2px solid #d6eaff;
  border-radius: 999px;
  background: #ffffff;
  color: #2e3650;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
}
.hz-chipbet-on {
  border-color: #125e99;
  background: linear-gradient(#5ccbff, #1f9cf5);
  color: #ffffff;
  box-shadow: 0 2px 0 #0d5fb8;
}
.hz-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 260px;
  margin: 0 auto 4px;
  padding: 7px 12px;
  border: 2px solid #dce5f2;
  border-radius: 12px;
  background: #ffffff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a86a8;
}
.hz-input input {
  width: 110px;
  border: 0;
  outline: none;
  background: transparent;
  text-align: right;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #2e3650;
}
.hz-err {
  margin: 0 0 4px;
  color: #e53935;
  font-size: 12.5px;
  font-weight: 700;
}
.hz-btn {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 8px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.hz-btn:disabled {
  filter: grayscale(0.55);
  opacity: 0.6;
  cursor: not-allowed;
}
.hz-btn-blue {
  color: #ffffff;
  background: linear-gradient(#8fd6ff 0%, #3fb5f3 48%, #1e90d6 52%, #35a9ec 100%);
  box-shadow: 0 5px 0 #0a4a9e, 0 10px 20px rgba(5, 40, 100, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.5);
  text-shadow: 0 2px 0 #125e99;
}
.hz-btn-gold {
  color: #6b3400;
  background: linear-gradient(#ffe14d 0%, #ffc93c 48%, #ffa800 52%, #ffb829 100%);
  box-shadow: 0 5px 0 #c96a00, 0 10px 20px rgba(201, 106, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.65);
}
.hz-btn:active:not(:disabled) {
  transform: translateY(3px);
}
.hz-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: hz-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hz-shine {
0%, 60% { left: -80%;
}
78%, 100% { left: 130%;
}
}
.hz-legal {
  margin: 10px 2px 0;
  color: #7a86a8;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}
.hz-sheet-enter-active,
.hz-sheet-leave-active {
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hz-sheet-enter-from,
.hz-sheet-leave-to {
  transform: translateY(40px);
  opacity: 0;
}
/* === CARREGANDO === */
.hz-loading {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(10, 50, 120, 0.35);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
}
.hz-spin {
  width: 38px;
  height: 38px;
  border: 4px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: hz-rot 0.8s linear infinite;
}
@keyframes hz-rot {
to { transform: rotate(360deg);
}
}
/* === RESULTADO === */
.hzv {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  padding: 68px 16px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  background: radial-gradient(circle at 50% 42%, rgba(24, 100, 200, 0.6) 0%, rgba(4, 22, 64, 0.88) 70%);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: hz-fade 0.25s ease;
}
.hzv-lose {
  background: radial-gradient(circle at 50% 42%, rgba(150, 34, 56, 0.55) 0%, rgba(32, 6, 16, 0.9) 70%);
}
@keyframes hz-fade {
from { opacity: 0;
}
to { opacity: 1;
}
}
.hzv-rays {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 780px;
  height: 780px;
  margin: -390px 0 0 -390px;
  pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 214, 90, 0.22) 0deg 10deg, rgba(255, 214, 90, 0) 10deg 24deg);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.55) 34%, transparent 64%);
  mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.55) 34%, transparent 64%);
  animation: hzv-spin 18s linear infinite;
}
.hzv-partial .hzv-rays {
  background: repeating-conic-gradient(rgba(130, 215, 255, 0.22) 0deg 10deg, rgba(130, 215, 255, 0) 10deg 24deg);
}
@keyframes hzv-spin {
to { transform: rotate(360deg);
}
}
.hzv-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hzv-rain img {
  position: absolute;
  top: -60px;
  height: auto;
  animation-name: hzv-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.3));
}
@keyframes hzv-fall {
0% { transform: translateY(0) rotateY(0deg) rotate(-10deg);
}
100% { transform: translateY(calc(100vh + 120px)) rotateY(720deg) rotate(30deg);
}
}
.hzv-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 330px;
  margin: auto;
  padding: 58px 18px 18px;
  border: 4px solid #ffffff;
  border-radius: 28px;
  background: linear-gradient(#ffffff 0%, #eef7ff 100%);
  color: #2e3650;
  text-align: center;
  box-shadow: 0 8px 0 #0a4a9e, 0 26px 60px rgba(0, 0, 0, 0.45);
  animation: hzv-pop 0.5s cubic-bezier(0.22, 1.5, 0.36, 1);
}
.hzv-lose .hzv-card {
  background: linear-gradient(#ffffff 0%, #fff2f3 100%);
  box-shadow: 0 8px 0 #7e1626, 0 26px 60px rgba(0, 0, 0, 0.5);
}
@keyframes hzv-pop {
from { transform: scale(0.7) translateY(30px); opacity: 0;
}
to { transform: none; opacity: 1;
}
}
.hzv-medal {
  position: absolute;
  left: 50%;
  top: -52px;
  z-index: 2;
  width: 98px;
  height: 98px;
  margin-left: -49px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8fdbff 0%, #2fa8f0 45%, #1565c0 100%);
  box-shadow: 0 5px 0 #0a4a9e, 0 0 0 7px rgba(255, 214, 90, 0.45), 0 12px 26px rgba(0, 0, 0, 0.3);
  animation: hzv-drop 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) 0.1s both;
}
.hzv-medal svg {
  width: 62px;
  height: 62px;
}
.hzv-partial .hzv-medal {
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e3f4ff 55%, #bfe3ff 100%);
  box-shadow: 0 5px 0 #0d4e9e, 0 12px 22px rgba(0, 0, 0, 0.3);
}
.hzv-lose .hzv-medal {
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f3f5fa 55%, #dce2ee 100%);
  box-shadow: 0 5px 0 #7e1626, 0 12px 22px rgba(0, 0, 0, 0.3);
}
@keyframes hzv-drop {
from { transform: translateY(-40px) scale(0.4); opacity: 0;
}
to { transform: none; opacity: 1;
}
}
.hzv-ribbon {
  position: relative;
  z-index: 1;
  height: 50px;
  margin: 0 -28px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hzv-unfurl 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) 0.22s both;
}
.hzv-ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 10px;
  background: linear-gradient(#ffd54a 0%, #ffb300 55%, #ff9800 100%);
  box-shadow: 0 4px 0 #b86a00, inset 0 2px 0 rgba(255, 255, 255, 0.55);
}
.hzv-tail {
  position: absolute;
  top: 13px;
  z-index: -2;
  width: 34px;
  height: 46px;
  background: #e08600;
}
.hzv-tail-l {
  left: -22px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%);
          clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%);
}
.hzv-tail-r {
  right: -22px;
  -webkit-clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%);
}
.hzv-ribbon span {
  padding-top: 3px;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: #ffffff;
  -webkit-text-stroke: 6px #a35200;
  paint-order: stroke fill;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hzv-ribbon span.hzv-long {
  font-size: 24px;
}
.hzv-partial .hzv-ribbon::before {
  background: linear-gradient(#7fd8ff 0%, #2fa8f0 55%, #1e88e5 100%);
  box-shadow: 0 4px 0 #0d4e9e, inset 0 2px 0 rgba(255, 255, 255, 0.5);
}
.hzv-partial .hzv-tail {
  background: #1565c0;
}
.hzv-partial .hzv-ribbon span {
  -webkit-text-stroke-color: #0d4e9e;
}
.hzv-lose .hzv-ribbon::before {
  background: linear-gradient(#ff8080 0%, #f0433a 55%, #d32f2f 100%);
  box-shadow: 0 4px 0 #7e1626, inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.hzv-lose .hzv-tail {
  background: #a31b2b;
}
.hzv-lose .hzv-ribbon span {
  -webkit-text-stroke-color: #7e1626;
}
@keyframes hzv-unfurl {
from { transform: scaleX(0.2); opacity: 0;
}
to { transform: none; opacity: 1;
}
}
.hzv-tag,
.hzv-badge {
  display: inline-block;
  margin-bottom: 2px;
  padding: 2px 12px;
  border: 2px solid;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hzv-tag {
  color: #1673d6;
  background: #e3f2ff;
  border-color: #bfe1ff;
}
.hzv-badge {
  color: #0e7c6b;
  background: #ddf8f2;
  border-color: #a9ebdd;
}
.hzv-prize {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.hzv-prize img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 3px 2px rgba(120, 60, 0, 0.35));
  animation: hzv-coin 1.1s ease-out 0.3s both;
}
.hzv-prize span {
  padding-top: 4px;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffc928;
  -webkit-text-stroke: 7px #a35200;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 rgba(163, 82, 0, 0.3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hzv-partial .hzv-prize span {
  color: #ffffff;
  -webkit-text-stroke-color: #1565c0;
  text-shadow: 0 4px 0 rgba(21, 101, 192, 0.3);
}
@keyframes hzv-coin {
from { transform: rotateY(0) scale(0.4);
}
60% { transform: rotateY(540deg) scale(1.15);
}
to { transform: rotateY(720deg) scale(1);
}
}
.hzv-mult {
  display: inline-block;
  margin-top: 2px;
  padding: 3px 14px;
  border-radius: 999px;
  background: linear-gradient(#5ccbff, #1f9cf5);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 3px 0 #0d5fb8;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.hzv-win .hzv-mult {
  background: linear-gradient(#ffe07a, #ffb300);
  color: #6b3400;
  box-shadow: 0 3px 0 #b86a00;
  text-shadow: none;
}
.hzv-receipt {
  margin: 12px 0 0;
  padding: 8px 12px;
  border: 2px dashed #cfe3f7;
  border-radius: 14px;
  background: #f7fbff;
  text-align: left;
}
.hzv-rline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  font-size: 13px;
  font-weight: 700;
  color: #475168;
}
.hzv-rline b {
  font-weight: 800;
  color: #2e3650;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hzv-reason {
  margin: 2px 4px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #475168;
  text-wrap: balance;
}
.hzv-lostline {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #2e3650;
}
.hzv-lostline strong {
  color: #e53935;
  font-variant-numeric: tabular-nums;
}
.hzv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.hzv-stats.hzv-n1 {
  grid-template-columns: 1fr;
}
.hzv-stats.hzv-n2 {
  grid-template-columns: repeat(2, 1fr);
}
.hzv-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 4px 7px;
  border: 2px solid #d6eaff;
  border-radius: 16px;
  background: #eef6ff;
}
.hzv-lose .hzv-stat {
  background: #f6f7fb;
  border-color: #e4e8f1;
}
.hzv-sico {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hzv-sico svg {
  width: 24px;
  height: 24px;
}
.hzv-sico-soldier {
  color: #1f9cf5;
}
.hzv-sico-horde {
  color: #5c9a35;
}
.hzv-sico-boss {
  color: #7e57c2;
}
.hzv-sico-peak {
  color: #2fb463;
}
.hzv-sico-flag {
  color: #475168;
}
.hzv-stat b {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  color: #2e3650;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hzv-stat small {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
  color: #7a86a8;
}
.hzv-text {
  margin: 12px 2px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #475168;
}
.hzv-text strong {
  color: #1673d6;
  font-weight: 800;
}
.hzv-phrase {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 2px solid #e4e8f1;
  border-radius: 14px;
  background: #f6f7fb;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #475168;
}
.hzv-tip {
  background: #fff8e1;
  border-color: #ffe08a;
}
.hzv-tip strong {
  color: #b86a00;
}
.hzv-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-top: 16px;
}
.hzv-row {
  display: flex;
  gap: 8px;
}
.hzv-btn {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding: 0 12px;
  border: 3px solid;
  border-radius: 999px;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 15.5px;
  white-space: nowrap;
  line-height: 1.1;
  cursor: pointer;
}
.hzv-btn:focus-visible {
  outline: 3px solid #1f9cf5;
  outline-offset: 3px;
}
.hzv-btn-blue {
  flex: 1;
  border-color: #125e99;
  color: #ffffff;
  background: linear-gradient(#8fd6ff 0%, #3fb5f3 48%, #1e90d6 52%, #35a9ec 100%);
  box-shadow: 0 5px 0 #125e99, inset 0 2px 2px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hzv-btn-blue:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #125e99, inset 0 2px 2px rgba(255, 255, 255, 0.5);
}
.hzv-btn-gold {
  border-color: #c96a00;
  color: #6b3400;
  background: linear-gradient(#ffe14d 0%, #ffc93c 48%, #ffa800 52%, #ffb829 100%);
  box-shadow: 0 5px 0 #c96a00, inset 0 2px 2px rgba(255, 255, 255, 0.65);
}
.hzv-btn-gold:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c96a00, inset 0 2px 2px rgba(255, 255, 255, 0.65);
}
.hzv-btn-soft {
  flex: 0 0 84px;
  border-color: #c3cddd;
  color: #475168;
  background: linear-gradient(#ffffff, #e9eef6);
  box-shadow: 0 5px 0 #a9b4cc;
}
.hzv-btn-soft:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #a9b4cc;
}
.hzv-ghost {
  margin-top: 6px;
  padding: 4px;
  border: 0;
  background: none;
  color: #7a86a8;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/*
 * Media queries do CSS original.
 *
 * Elas se perderam quando o CSS foi extraido do bundle: as regras ficaram
 * soltas, com a condicao virando comentario. O efeito pior era o
 * prefers-reduced-motion valer para todo mundo, deixando a tela de vitoria
 * sem nenhuma animacao.
 */

@media (max-width: 360px) {
  .hz-val {
      font-size: 15px;
  }
  .hzv-prize span {
      font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hzv-rays,
    .hzv-card,
    .hzv-medal,
    .hzv-ribbon,
    .hzv-prize img,
    .hz-shine,
    .hz-hint svg,
    .hz-run-flag.hz-done {
      animation: none;
  }
  .hz-run-fill {
      transition: none;
  }
}
