/* Recado do Kikãozinho (vídeo de boas-vindas da página inicial) */
.kzr-dest { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.kzr-dest__txt h2 { font-size: clamp(30px, 4.4vw, 46px); color: var(--azul); }
.kzr-dest__txt p { font-size: 18px; line-height: 1.45; margin: 12px 0 0; max-width: 34ch; }
.kzr-dest__txt .kz-acoes { margin-top: 18px; }
.kzr-moldura { position: relative; padding: 12px; background: #fff; border: 5px solid var(--azul); border-radius: 30px; box-shadow: 0 9px 0 var(--azul); rotate: -1.2deg; }
.kzr-moldura::before, .kzr-moldura::after { content: ""; position: absolute; width: 46px; height: 46px; background: no-repeat center / contain; pointer-events: none; }
.kzr-moldura::before { left: -20px; top: -24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M15 30V8l18-4v22' fill='none' stroke='%231b2a6b' stroke-width='4' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='30' r='6' fill='%23e3262f' stroke='%231b2a6b' stroke-width='3'/%3E%3Ccircle cx='28' cy='26' r='6' fill='%23e3262f' stroke='%231b2a6b' stroke-width='3'/%3E%3C/svg%3E"); rotate: -12deg; }
.kzr-moldura::after { right: -16px; bottom: -20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 3l5 11 12 1-9 8 3 12-11-6-11 6 3-12-9-8 12-1z' fill='%23ffd21e' stroke='%231b2a6b' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kzr-selo { position: absolute; z-index: 3; left: 22px; top: -18px; padding: 4px 14px; border-radius: 99px; background: var(--verm); color: #fff; font: 800 15px var(--f-t); box-shadow: 0 4px 0 var(--verm2); rotate: -3deg; }

.kzr-caixa { position: relative; }
.kzr-tela { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 20px; overflow: hidden; background: #2a1d3d; border: 4px solid var(--azul); }
.kzr-tela video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.kzr-leg { position: absolute; left: 50%; bottom: 8px; translate: -50% 6px; width: max-content; max-width: calc(100% - 24px); margin: 0; padding: 6px 14px; border-radius: 14px; background: #fff; border: 3px solid var(--azul); color: var(--azul); font: 800 clamp(13px, 2.2vw, 21px)/1.15 var(--f-t); text-align: center; opacity: 0; transition: opacity .18s, translate .18s; pointer-events: none; }
.kzr-leg.on { opacity: 1; translate: -50% 0; }
.kzr-som { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%; margin: 12px auto 2px; padding: 10px 22px 10px 16px; border-radius: 99px; border: 4px solid var(--azul); background: var(--sol); color: var(--azul); font: 800 19px/1.1 var(--f-t); box-shadow: 0 6px 0 var(--azul); cursor: pointer; animation: kzr-pisca 1.4s ease-in-out infinite; }
.kzr-som svg { width: 26px; height: 26px; flex: none; }
.kzr-som:active { translate: 0 4px; box-shadow: 0 1px 0 var(--azul); }
.kzr-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; border: 5px solid var(--azul); background: var(--verm); color: #fff; box-shadow: 0 7px 0 var(--azul); cursor: pointer; }
.kzr-play svg { width: 40px; height: 40px; margin-left: 5px; }
.kzr-play:hover { scale: 1.06; }
.kzr--tocando:not(.kzr--mudo) .kzr-play, .kzr--mudo .kzr-play { display: none; }
.kzr-fim { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 12px; padding: 16px; background: rgba(27, 42, 107, .55); backdrop-filter: blur(2px); }
.kzr-fim[hidden] { display: none; }
.kzr-som[hidden], .kzr-play[hidden] { display: none; }
@keyframes kzr-pisca { 50% { scale: 1.06; } }

/* balão de boas-vindas */
html.kzr-preso { overflow: hidden; }
.kzr-balao { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
.kzr-balao__fundo { position: absolute; inset: 0; background: rgba(27, 42, 107, .62); opacity: 0; transition: opacity .25s; }
.kzr-balao__cx { position: relative; width: min(680px, 100%); max-height: 100%; overflow: auto; padding: 22px 20px 18px; background: var(--creme); border: 5px solid var(--azul); border-radius: 32px; box-shadow: 0 12px 0 var(--azul); text-align: center; scale: .7; opacity: 0; transition: scale .32s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; }
.kzr-balao.on .kzr-balao__fundo { opacity: 1; }
.kzr-balao.on .kzr-balao__cx { scale: 1; opacity: 1; }
.kzr-balao__cx h2 { font-size: clamp(30px, 6vw, 44px); color: var(--verm); margin: 2px 0 14px; }
.kzr-balao__olho { margin: 0; padding: 0 44px; font: 800 18px var(--f-t); color: var(--azul); }
.kzr-balao__nota { margin: 12px 0 0; font-weight: 700; color: var(--azul); opacity: .8; }
.kzr-balao__x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--azul); background: #fff; color: var(--azul); cursor: pointer; }
.kzr-balao__x svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .kzr-dest { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kzr-dest__txt { text-align: center; } .kzr-dest__txt p { margin-inline: auto; } .kzr-dest__txt .kz-acoes { justify-content: center; }
  .kzr-moldura { rotate: 0deg; padding: 8px; border-radius: 24px; }
  .kzr-som { padding: 9px 16px 9px 12px; font-size: 17px; }
  .kzr-play { width: 68px; height: 68px; }
  .kzr-balao__cx { padding: 18px 12px 14px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) { .kzr-som { animation: none; } .kzr-balao__cx { transition: opacity .2s; scale: 1; } }
