/* Jogo dos 7 Erros — PlayKids */

.page-sete {
  --sete-sky: #38bdf8;
  --sete-deep: #0369a1;
  --sete-ok: #16a34a;
}

.game-page--sete {
  max-width: min(1180px, 96vw);
}

.sete-picker {
  margin: 0 0 1rem;
}

.sete-picker h2 {
  margin: 0 0 0.75rem;
  color: #0c4a6e;
  text-align: center;
}

.sete-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sete-pick {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0.7rem;
  border: 3px solid #bae6fd;
  border-radius: 18px;
  background: #fff;
  color: #0c4a6e;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(8, 47, 73, 0.12);
}

.sete-pick:hover,
.sete-pick:focus-visible {
  border-color: #0ea5e9;
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
}

.sete-pick img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.sete-pick-title,
.sete-pick-blurb,
.sete-pick-meta {
  display: block;
}

.sete-pick-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.sete-pick-blurb,
.sete-pick-meta {
  font-size: 0.92rem;
  font-weight: 700;
}

.sete-pick-meta {
  color: #0369a1;
}

.sete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sete-wrap {
  padding: 1rem 0.9rem 1.15rem;
}

.sete-hud {
  align-items: center;
  margin-bottom: 0.7rem;
}

.sete-dots {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sete-dots li {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid #94a3b8;
}

.sete-dots li.is-on {
  background: #4ade80;
  border-color: var(--sete-ok);
}

.sete-feedback {
  margin: 0 0 0.85rem;
  min-height: 2.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: #fff;
  color: #0c4a6e;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.12);
}

.sete-feedback.is-ok {
  background: #dcfce7;
  color: #166534;
}

.sete-feedback.is-miss {
  background: #e0f2fe;
  color: #075985;
}

.sete-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sete-scene {
  margin: 0;
}

.sete-scene figcaption {
  margin-top: 0.4rem;
  text-align: center;
  font-weight: 800;
  color: #0369a1;
}

.sete-scene-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(8, 47, 73, 0.2);
  background: #e0f2fe;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.sete-scene-frame img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.sete-compare[data-fx="off"] .sete-fx,
.sete-compare[data-fx="estrelado"] .sete-fx {
  display: none;
}

.sete-prop {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sete-compare[data-fx="estrelado"] .sete-prop {
  display: block;
}

.sete-sky {
  position: absolute;
  left: 67.2%;
  top: 2.2%;
  width: 7.2%;
  aspect-ratio: 1;
}

.sete-sky--star {
  background: #f6e7b8;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 1px 2px rgba(51, 33, 79, 0.2));
}

.sete-sky--moon {
  border-radius: 50%;
  background: radial-gradient(circle at 72% 38%, transparent 46%, #f6e7b8 48%);
  filter: drop-shadow(0 1px 2px rgba(51, 33, 79, 0.2));
}

.sete-nightstand {
  position: absolute;
  left: 1.4%;
  top: 71.5%;
  width: 12.2%;
  height: 14.8%;
  box-sizing: border-box;
  border-radius: 8px 8px 6px 6px;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.22);
}

.sete-nightstand::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 0;
  height: 24%;
  border-radius: 6px 6px 2px 2px;
}

.sete-nightstand::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 30%;
  height: 8%;
  margin-left: -15%;
  border-radius: 999px;
}

.sete-nightstand--cream {
  background: linear-gradient(#f8f4ee, #e4d8c8);
  border: 2px solid #c4b6a6;
}

.sete-nightstand--cream::before { background: #fffaf3; }
.sete-nightstand--cream::after { background: #b8a898; }

.sete-nightstand--blue {
  background: linear-gradient(#60a5fa, #2563eb);
  border: 2px solid #1d4ed8;
}

.sete-nightstand--blue::before { background: #93c5fd; }
.sete-nightstand--blue::after { background: #dbeafe; }

.sete-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sete-bubble {
  position: absolute;
  box-sizing: border-box;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #fff 0 22%, #d7f3ff 58%, #b9e7fb 100%);
  border: 2px solid #1e4b6b;
}

.sete-bubble::after {
  content: "";
  position: absolute;
  top: 16%;
  left: 20%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: #fff;
}

.sete-bubble--lg { left: 2.6%; top: 2.8%; width: 8.2%; min-width: 30px; }
.sete-bubble--md { left: 10.2%; top: 1.8%; width: 5.6%; min-width: 22px; }
.sete-bubble--sm { left: 7.8%; top: 14.2%; width: 4.8%; min-width: 18px; }
.sete-bubble--xs { left: 1.4%; top: 17.4%; width: 3.4%; min-width: 14px; }

.sete-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sete-hotspot {
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.sete-hotspot:focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 3px;
  background: rgba(56, 189, 248, 0.18);
}

.sete-hotspot.is-found {
  cursor: default;
}

.sete-hotspot.is-found::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.8rem;
  height: 2.8rem;
  margin: -1.4rem 0 0 -1.4rem;
  border: 4px solid #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(22, 163, 74, 0.35);
  animation: sete-pop 0.35s ease;
  pointer-events: none;
}

.sete-hotspot-num {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 1.7rem;
  height: 1.7rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.7rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
  pointer-events: none;
}

.sete-ripple {
  position: absolute;
  z-index: 3;
  width: 3.2rem;
  height: 3.2rem;
  margin: -1.6rem 0 0 -1.6rem;
  border-radius: 50%;
  border: 3px solid #7dd3fc;
  background: rgba(186, 230, 253, 0.35);
  pointer-events: none;
  animation: sete-ripple 0.55s ease-out forwards;
}

.sete-found-list {
  display: grid;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.sete-found-list li {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  background: #f0fdfa;
  color: #115e59;
  font-weight: 700;
  font-size: 0.92rem;
}

.sete-win-card {
  border: 3px solid #38bdf8;
}

@keyframes sete-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes sete-ripple {
  to { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 639px) {
  .sete-compare,
  .sete-picker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 820px) {
  .page-sete .game-hero {
    padding: 0.65rem 1rem 0.75rem;
    margin-bottom: 0.55rem;
  }

  .page-sete .game-hero p:not(.game-age-badge) {
    margin-bottom: 0;
  }
}

@media (pointer: coarse) and (orientation: landscape) {
  .page-sete .game-hero p:not(.game-age-badge) {
    display: none;
  }

  .page-sete .game-hero {
    margin-bottom: 0.4rem;
    padding: 0.55rem 1rem 0.65rem;
  }

  .page-sete .game-hero h1 {
    font-size: 1.15rem;
  }

  .game-page--sete {
    max-width: min(1200px, 98vw);
  }

  .sete-found-list {
    display: none;
  }
}

@media (pointer: coarse) {
  .sete-hotspot {
    min-width: 44px;
    min-height: 44px;
  }

  .page-sete .btn-primary {
    min-height: 48px;
  }
}
