.lv-tempo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-rows: auto 1fr;
  background: #16326B;
  border-radius: 4px 32px 4px 32px;
  overflow: hidden;
  box-shadow: 0 34px 60px -40px rgba(22, 50, 107, .9);
}
@media (max-width: 900px) { .lv-tempo { grid-template-columns: 1fr; border-radius: 4px 24px 4px 24px; } }

.lv-barra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; padding: .7rem 1rem; color: #FFFDF6; }
.lv-barra p { margin: 0; }
.lv-barra__niveis { flex: 0 0 auto !important; }
.lv-barra__nivel { display: flex; align-items: baseline; gap: .5rem; flex: 1 1 14rem; }
.lv-barra__rot { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFD98A; }
.lv-barra__nome { font-family: var(--lv-titulo); font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
.lv-barra__jogadas, .lv-barra__pontos { font-size: .85rem; color: #D5E2FF; font-variant-numeric: tabular-nums; }
.lv-barra__jogadas strong, .lv-barra__pontos strong { color: #FFFFFF; font-size: 1.05rem; }
.lv-barra__par { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .78rem; }
.lv-barra__pontos { padding: .25rem .7rem; border-radius: 12px 3px 12px 3px; background: #F2B632; color: #26221E; font-weight: 700; }
.lv-barra__pontos strong { color: #26221E; }

.lv-vale { position: relative; aspect-ratio: 10 / 7.4; min-height: 0; background: #9CD8F7; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.lv-vale__mapa { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lv-vale__zonas { position: absolute; inset: 0; }
.lv-zona { position: absolute; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 12px; cursor: pointer; }
.lv-zona:hover { background: rgba(255, 255, 255, .14); }
.lv-zona:focus-visible { outline: 4px solid #F2B632; outline-offset: -4px; }
@media (max-width: 599px) { .lv-vale { aspect-ratio: 10 / 9; } }

.lv-bolha {
  position: absolute; z-index: 3; width: 260px; margin: 0; transform: translateY(-100%);
  padding: .6rem .8rem; background: #FFFDF6; color: #26221E; font-weight: 700; font-size: .92rem; line-height: 1.35;
  border: 3px solid #26221E; border-radius: 3px 16px 3px 16px; box-shadow: 4px 4px 0 #F2B632; pointer-events: none;
  animation: lv-sobe .35s var(--lv-ease);
}
.lv-bolha::after { content: ''; position: absolute; left: var(--seta, 50%); bottom: -12px; width: 18px; height: 18px; background: #FFFDF6; border-right: 3px solid #26221E; border-bottom: 3px solid #26221E; transform: translateX(-50%) rotate(45deg); }
.lv-bolha[hidden] { display: none; }
@keyframes lv-sobe { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

.lv-aviso {
  position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; max-width: calc(100% - 24px);
  padding: .5rem 1rem; border-radius: 16px 3px 16px 3px; background: #16326B; color: #FFFDF6; font-weight: 700; font-size: .92rem; text-align: center;
  box-shadow: 0 0 0 3px #F2B632; animation: lv-sobe .3s var(--lv-ease);
}
.lv-aviso--mau { box-shadow: 0 0 0 3px #E86CAA; }
.lv-aviso[hidden] { display: none; }

.lv-caixa-jogo { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 12px; background: rgba(12, 26, 70, .55); overflow-y: auto; }
.lv-caixa-jogo[hidden] { display: none; }
.lv-cartao {
  width: min(100%, 26rem); padding: 1.2rem 1.3rem; color: #26221E; text-align: center;
  background: linear-gradient(160deg, #FFFDF8, #FFF1D6); border: 2px solid #26221E;
  border-radius: 3px 26px 3px 26px; box-shadow: 6px 6px 0 #2A5BC4;
}
.lv-cartao h3 { margin: .3rem 0 .4rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.lv-cartao p { font-size: .95rem; }
.lv-cartao__pontos { font-weight: 700; color: #2A5BC4; }
.lv-cartao__botoes { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.lv-cartao--niveis { width: min(100%, 34rem); }
.lv-cartao__total { font-weight: 700; color: #2A5BC4; margin: 0 0 .8rem; }

.lv-flash {
  position: absolute; left: 50%; top: 10%; z-index: 6; margin: 0; transform: translate(-50%, 0) scale(.6); opacity: 0;
  padding: .5rem 1.2rem; border-radius: 22px 4px 22px 4px; background: #F2B632; color: #26221E; white-space: nowrap;
  font: 400 clamp(1.3rem, 3.6vw, 2.2rem)/1.1 var(--lv-titulo); border: 3px solid #26221E; box-shadow: 0 0 0 6px rgba(255, 255, 255, .6), 0 12px 30px rgba(12, 26, 70, .5);
  pointer-events: none;
}
.lv-flash__pts { font-family: var(--lv-corpo); font-weight: 700; color: #D2452F; }
.lv-flash--on { animation: lv-flash 1.8s var(--lv-ease) forwards; }
@keyframes lv-flash {
  0% { opacity: 0; transform: translate(-50%, 20px) scale(.5) rotate(-6deg); }
  18% { opacity: 1; transform: translate(-50%, 0) scale(1.15) rotate(2deg); }
  30% { transform: translate(-50%, 0) scale(1) rotate(0); }
  80% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -30px) scale(.95); }
}

.lv-estrelas { display: inline-flex; gap: .2rem; }
.lv-estrelas i { display: block; width: 16px; height: 16px; background: rgba(38, 34, 30, .18); clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 35%); }
.lv-estrelas[data-estrelas='1'] i:nth-child(-n+1), .lv-estrelas[data-estrelas='2'] i:nth-child(-n+2), .lv-estrelas[data-estrelas='3'] i { background: #F2B632; }
.lv-estrelas--grandes i { width: 44px; height: 44px; }
.lv-cartao--fim .lv-estrelas i { animation: lv-estrela .5s var(--lv-ease) both; }
.lv-cartao--fim .lv-estrelas i:nth-child(2) { animation-delay: .15s; }
.lv-cartao--fim .lv-estrelas i:nth-child(3) { animation-delay: .3s; }
@keyframes lv-estrela { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }

.lv-niveis { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(7.2rem, 1fr)); gap: .5rem; max-height: 55vh; overflow-y: auto; }
.lv-nivel {
  width: 100%; min-height: 76px; display: grid; justify-items: center; gap: .15rem; padding: .45rem .3rem;
  background: #FFFFFF; color: #26221E; font: inherit; border: 2px solid #26221E; border-radius: 12px 3px 12px 3px; cursor: pointer;
}
.lv-nivel:hover:not(:disabled) { background: #FFF1D6; }
.lv-nivel:disabled { border-style: dashed; color: #6B6157; cursor: not-allowed; background: #F4EFE6; }
.lv-nivel__num { font: 400 1.4rem/1 var(--lv-titulo); }
.lv-nivel__nome { font-size: .72rem; font-weight: 700; line-height: 1.15; }
.lv-nivel__pts { font-size: .68rem; color: #2A5BC4; font-weight: 700; }
.lv-nivel .lv-estrelas i { width: 12px; height: 12px; }

.lv-lado { display: flex; flex-direction: column; gap: .8rem; padding: 12px; background: #F4F1FB; min-height: 0; }
@media (min-width: 901px) { .lv-lado { overflow-y: auto; } }
.lv-quadro { padding: .75rem .85rem; background: #FFFFFF; border-radius: 3px 16px 3px 16px; box-shadow: 0 2px 0 rgba(22, 50, 107, .12); }
.lv-quadro__titulo { margin: 0 0 .5rem; font-size: 1.1rem; }
.lv-tarefas { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.lv-tarefa { position: relative; padding: .45rem .6rem .45rem 2.2rem; border-radius: 10px 3px 10px 3px; background: #EEF3FF; font-weight: 700; font-size: .92rem; }
.lv-tarefa::before { content: ''; position: absolute; left: .6rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #2A5BC4; border-radius: 50%; }
.lv-tarefa--feita { background: #DDF5F2; color: #0F6F69; }
.lv-tarefa--feita::before { background: #18A99F; border-color: #18A99F; box-shadow: inset 0 0 0 3px #DDF5F2; }
.lv-nota-nivel { margin: .6rem 0 0; font-size: .85rem; color: #4D4A6A; }
.lv-nota-nivel[hidden] { display: none; }

.lv-paleta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.lv-tempo-btn {
  position: relative; display: grid; justify-items: center; gap: .1rem; min-height: 72px; padding: .45rem .2rem;
  background: #FFFFFF; color: #26221E; font: 700 .85rem/1.1 var(--lv-corpo); border: 2px solid #26221E; border-radius: 14px 3px 14px 3px; cursor: pointer;
  transition: transform .12s var(--lv-ease), box-shadow .12s var(--lv-ease), background-color .12s;
}
.lv-tempo-btn[hidden] { display: none; }
.lv-tempo-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 3px 0 #26221E; }
.lv-tempo-btn[aria-pressed='true'] { background: #FFE9A8; box-shadow: 0 0 0 3px #2A5BC4; }
.lv-tempo-btn:disabled { opacity: .45; cursor: not-allowed; border-style: dashed; }
.lv-tempo-btn__carga { position: absolute; top: -8px; right: -6px; min-width: 24px; height: 24px; padding: 0 .3rem; display: grid; place-items: center; border-radius: 999px; background: #16326B; color: #FFFFFF; font-size: .8rem; border: 2px solid #FFFFFF; }
.lv-tempo-btn--dica { animation: lv-pisca .7s ease-in-out infinite alternate; }
@keyframes lv-pisca { from { box-shadow: 0 0 0 3px #F2B632; } to { box-shadow: 0 0 0 7px rgba(242, 182, 50, .35); } }
.lv-direcoes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-top: .5rem; }
.lv-direcoes[hidden] { display: none; }
.lv-dir { min-height: 44px; display: grid; place-items: center; background: #FFFFFF; color: #18A99F; border: 2px solid #26221E; border-radius: 999px; cursor: pointer; }
.lv-dir[aria-pressed="true"] { background: #0E7A72; color: #FFFFFF; }

.lv-acoes { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.lv-mini {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 44px; padding: .35rem .8rem; flex: 1 1 auto;
  background: #FFFFFF; color: #26221E; font: 700 .9rem/1.15 var(--lv-corpo);
  border: 2px solid #26221E; border-radius: 14px 3px 14px 3px; cursor: pointer;
  transition: transform .12s var(--lv-ease), box-shadow .12s var(--lv-ease);
}
.lv-mini:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 #26221E; }
.lv-mini:disabled { cursor: not-allowed; border-style: dashed; color: #6B6157; background: #F4EFE6; }
.lv-mini--cheio:not(:disabled) { background: #0E7A72; color: #FFFFFF; border-color: #0A5A54; }
.lv-mini--linha { border-style: dashed; }
.lv-mini__custo { font-weight: 400; font-size: .78rem; }
.lv-icone { width: 44px; height: 44px; display: grid; place-items: center; background: #FFFFFF; color: #26221E; border: 2px solid #26221E; border-radius: 12px 3px 12px 3px; cursor: pointer; }
.lv-icone[aria-pressed='false'] .lv-icone__ondas { opacity: .15; }

.lv-cartao-tempo__titulo { display: flex; align-items: center; gap: .5rem; }
.lv-regrinhas { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.lv-regrinhas li { position: relative; padding-left: 1.3rem; }
.lv-regrinhas li::before { content: ''; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: #2A5BC4; border-radius: 2px; transform: rotate(45deg); }

.lv-tarefas-grelha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lv-tarefa-cartao { padding: .9rem; background: var(--lv-luz); border-radius: 3px 20px 3px 20px; }
.lv-tarefa-cartao svg { width: 100%; height: auto; border-radius: 10px; }
.lv-tarefa-cartao h3 { margin: .6rem 0 .3rem; font-size: 1.2rem; }
.lv-tarefa-cartao p { margin: 0; font-size: .95rem; color: #3B352F; }
@media (max-width: 900px) { .lv-tarefas-grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lv-tarefas-grelha { grid-template-columns: 1fr; } }

.lv-passos { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.lv-passos__item { position: relative; padding: 1rem; background: #322D28; border-radius: 3px 20px 3px 20px; }
.lv-passos__arte--icone { display: grid; place-items: center; height: 96px; background: #CFE8F7; border-radius: 10px; }
.lv-passos__item .lv-regras__num { position: absolute; top: 1.4rem; left: 1.4rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; font-size: 1.15rem; color: #26221E; background: #F2B632; border: 2px solid #26221E; border-radius: 999px; }
.lv-passos__item h3 { margin: .8rem 0 .3rem; font-size: 1.25rem; color: #FFFDF6; }
.lv-passos__item p { margin: 0; color: #DCD4C8; font-size: .95rem; }
@media (max-width: 900px) { .lv-passos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lv-passos { grid-template-columns: 1fr; } }
.lv-sec--pontos .lv-nota { color: #DCD4C8; margin-top: 1.4rem; max-width: 52em; }
.lv-nota--pontos strong { color: #FFE680; }

.lv-arte__flutua { animation: lv-arte-flutua 4s ease-in-out infinite; }
.lv-arte__raio { animation: lv-arte-raio 3.2s steps(1) infinite; }
.lv-arte__gira { animation: lv-arte-gira 4s linear infinite; }
.lv-arte__oscila { animation: lv-arte-oscila 2.4s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.lv-arte__chuva { animation: lv-arte-chuva 1s linear infinite; }
.lv-arte__vento { animation: lv-arte-vento 2s ease-in-out infinite alternate; }
@keyframes lv-arte-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lv-arte-raio { 0%, 86% { opacity: 1; } 88% { opacity: .2; } 91% { opacity: 1; } 94% { opacity: .3; } }
@keyframes lv-arte-gira { to { transform: rotate(360deg); } }
@keyframes lv-arte-oscila { from { transform: skewX(-3deg); } to { transform: skewX(3deg); } }
@keyframes lv-arte-chuva { from { transform: translateY(-6px); opacity: .6; } to { transform: translateY(6px); opacity: 1; } }
@keyframes lv-arte-vento { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
.lv-cena__chuva { animation: lv-arte-chuva 1s linear infinite; }
@media (min-width: 901px) {
  .lv-tempo { height: min(44rem, calc(100svh - 90px)); min-height: 34rem; }
  .lv-vale { aspect-ratio: auto; height: 100%; }
  .lv-lado { height: 100%; }
}
.lv-acoes .lv-mini { flex: 1 1 5.5rem; }
.lv-acoes .lv-icone { flex: 0 0 44px; }
