@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../fonts/HelveticaNowDisplay-BlackIta.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Myriad Pro";
  src: url("../fonts/MyriadPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Myriad Pro";
  src: url("../fonts/MyriadPro-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glitz";
  src: url("../fonts/Glitz.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 159, 45, 0.9) rgba(255, 255, 255, 0.08);
}

*::-webkit-scrollbar {
  width: 0.7rem;
  height: 0.7rem;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f7b154, #f97316);
  border: 0.12rem solid rgba(28, 27, 24, 0.28);
  border-radius: 999px;
  box-shadow: 0 0.15rem 0.45rem rgba(194, 65, 12, 0.28);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f8ba67, #fa7f2a);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

html {
  height: var(--app-height, 100%);
  overflow: hidden;
  overscroll-behavior: none;
  background: #1c1b18;
}

body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--app-height, 100%);
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: #f8f8fc;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), transparent 36rem), #fff7ed;
}

.viewport {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--app-height, 100%);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  transform: translateY(var(--keyboard-shift, 0px));
  transition: transform 180ms ease;
}

html.is-keyboard-open .viewport {
  transition: none;
}

.viewport__frame {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  background: #1c1b18;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: calc(1180px + 4rem)) and (min-height: calc(820px + 4rem)) and (hover: hover) and (pointer: fine) {
  html {
    height: 100%;
    background: #fff7ed;
  }

  body {
    position: static;
    inset: auto;
    height: auto;
    min-height: 100vh;
  }

  .viewport {
    position: relative;
    inset: auto;
    height: 100vh;
    padding: 2rem;
  }

  .viewport__frame {
    width: min(1180px, calc(100vw - 4rem), calc((100vh - 4rem) * 1180px / 820px));
    aspect-ratio: 1180/820;
    height: auto;
    max-width: 1180px;
    max-height: 820px;
    border-radius: 0.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }
}
@supports (height: 100dvh) {
  @media (min-width: calc(1180px + 4rem)) and (min-height: calc(820px + 4rem)) and (hover: hover) and (pointer: fine) {
    html,
body,
.viewport {
      height: 100dvh;
    }

    .viewport__frame {
      width: min(1180px, calc(100vw - 4rem), calc((100dvh - 4rem) * 1180px / 820px));
      max-height: min(820px, calc(100dvh - 4rem));
    }
  }
}
.site-header {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.home-visual {
  position: absolute;
  z-index: 1;
  top: 54%;
  left: 75%;
  width: 47%;
  height: 84%;
  overflow: visible;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-visual__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: scale(4.5);
  transform-origin: center center;
  animation: home-image-intro 5s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

.partner-logos {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.partner-logo {
  position: absolute;
  height: 3rem;
  width: auto;
  opacity: 0;
  animation: content-fade-in 1s ease 2.6s forwards;
  transition: top 0.5s ease, bottom 0.5s ease, left 0.5s ease, right 0.5s ease;
}

.partner-logo--lilly {
  top: 2.35rem;
  left: 1.35rem;
}

.partner-logo--kisunla {
  top: 1.35rem;
  right: 1.35rem;
  height: 4rem;
}

.site-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(38%, 180px);
  aspect-ratio: 868/593;
  height: auto;
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(2.25);
  transform-origin: center center;
  animation: logo-intro 5s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
  transition: top 0.5s ease, left 0.5s ease, width 0.5s ease, transform 0.5s ease;
}

.site {
  position: relative;
  z-index: 2;
  display: grid;
  width: 55%;
  height: 100%;
  align-items: center;
  justify-items: start;
  padding: 7rem 3.5rem 2rem 3rem;
  overflow: auto;
}

.views {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.view {
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.view--home.is-active .site {
  opacity: 0;
  animation: content-fade-in 1s ease 2.6s forwards;
}

.viewport__frame.is-game-view .home-visual {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.viewport__frame.is-game-view .site-logo {
  top: 1rem;
  left: 1rem;
  width: min(18%, 140px);
  transform: none;
  animation: none;
}
.viewport__frame.is-game-view .partner-logo--lilly {
  top: auto;
  bottom: 1.35rem;
  left: 1.35rem;
}
.viewport__frame.is-game-view .partner-logo--kisunla {
  top: auto;
  bottom: 1.35rem;
  right: 1.35rem;
}
.viewport__frame.is-game-view .game-timer {
  opacity: 1;
  visibility: visible;
}
.viewport__frame.is-game-view .partner-logo {
  opacity: 1;
  animation: none;
}

.map-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.map-page__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-page__layer.is-loading .map-page__image {
  opacity: 0;
}

.map-page__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  background: rgba(28, 27, 24, 0.92);
}
.map-page__loading.is-visible {
  display: grid;
}

.map-page__loading-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f59f2d;
}

.map-page__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: opacity 0.3s ease;
}

.map-page__hitmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.map-page__markers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.room-marker,
.map-room-icon,
.map-room-icon--enter,
.map-room-icon--lock,
.map-room-icon--check {
  pointer-events: none;
}

.room-marker--unvisited {
  filter: drop-shadow(0 0 6px rgba(88, 196, 130, 0.7)) drop-shadow(0 0 14px rgba(88, 196, 130, 0.4));
}

.map-room,
.room-area {
  fill: transparent;
  pointer-events: none;
}

.map-room--enabled {
  pointer-events: all;
  cursor: pointer;
}

.map-room--blocked {
  pointer-events: all;
  cursor: pointer;
}

.map-room-label {
  pointer-events: none;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: #fff;
  paint-order: stroke fill;
  stroke: rgba(28, 27, 24, 0.72);
  stroke-width: 6px;
  stroke-linejoin: round;
}
.map-room-label--locked {
  opacity: 0.42;
}
.map-room-label--active {
  opacity: 1;
}
.map-room-label--completed {
  opacity: 0.82;
}

.map-page__complete-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 220, 51, 0.8) 0%, rgba(245, 159, 45, 0.8) 100%);
  pointer-events: all;
}
.map-page__complete-overlay[hidden] {
  display: none;
}

.map-page__complete-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 36rem;
}

.map-page__complete-text {
  margin: 0;
  font-family: "Glitz", Arial, sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}
.map-page__complete-text--compact {
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: 0.08em;
}

.map-page__complete-subtitle {
  margin: 0;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
}

.timer-expired-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 220, 51, 0.8) 0%, rgba(245, 159, 45, 0.8) 100%);
  pointer-events: all;
}
.timer-expired-overlay[hidden] {
  display: none;
}
.timer-expired-overlay__text {
  margin: 0;
  max-width: 28rem;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.35;
  text-align: center;
  color: #ffffff;
}

.intro-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  pointer-events: all;
}
.intro-video-overlay[hidden] {
  display: none;
}
.intro-video-overlay__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.intro-video-overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}
.intro-video-overlay__close:hover {
  transform: scale(1.06);
  opacity: 0.9;
}
.intro-video-overlay__close img {
  display: block;
  width: 100%;
  height: 100%;
}

.orientation-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(160deg, #bd1625 0%, #f97316 45%, #f9de59 100%);
  color: #fff;
  text-align: center;
  pointer-events: all;
  animation: orientation-overlay-pulse 1.2s ease-in-out infinite;
}
.orientation-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 22rem;
}
.orientation-overlay__icon {
  width: 5.5rem;
  height: 5.5rem;
  color: #fff;
  animation: orientation-overlay-wiggle 1.4s ease-in-out infinite;
}
.orientation-overlay__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.orientation-overlay__title {
  margin: 0;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}
.orientation-overlay__text {
  margin: 0;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

@media (orientation: portrait) {
  .orientation-overlay {
    display: flex;
  }
}
@keyframes orientation-overlay-pulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}
@keyframes orientation-overlay-wiggle {
  0%, 100% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(78deg);
  }
}
.game-timer {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.game-timer__bezel {
  padding: 0.3rem;
  border-radius: 0.7rem;
  background: linear-gradient(160deg, #f0f0f2 0%, #8e8e93 42%, #c8c8cc 100%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -2px 2px rgba(0, 0, 0, 0.25);
}
.game-timer__screen {
  min-width: 7.5rem;
  padding: 0.35rem 0.85rem;
  text-align: center;
  border-radius: 0.4rem;
  background: #050505;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.game-timer__display {
  display: block;
  font-family: "DS-Digital", "Courier New", monospace;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #ff1a1a;
  text-shadow: 0 0 6px rgba(255, 26, 26, 0.95), 0 0 14px rgba(255, 26, 26, 0.55);
}

.game-home-btn {
  position: absolute;
  top: 5.1rem;
  right: 1rem;
  z-index: 5;
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.7rem;
  background: linear-gradient(160deg, #f0f0f2 0%, #8e8e93 42%, #c8c8cc 100%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -2px 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}
.game-home-btn:not([hidden]) {
  display: grid;
}
.game-home-btn:hover {
  transform: scale(1.05);
}
.game-home-btn:active {
  transform: scale(0.97);
}
.game-home-btn[hidden] {
  display: none;
}
.game-home-btn__icon {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  pointer-events: none;
}

.viewport__frame.is-game-view .game-home-btn:not([hidden]) {
  display: grid;
}

.hero {
  width: 100%;
  max-width: 28rem;
  text-align: left;
}
.hero__title {
  margin: 0;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  color: #f8f8fc;
}
.hero__lead {
  margin: 1.25rem 0 0;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.45;
  color: #f8f8fc;
}
.hero__text {
  margin: 1.25rem 0 0;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(248, 248, 252, 0.64);
}
.hero__cta {
  margin: 1.25rem 0 0;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(248, 248, 252, 0.64);
}
.hero__cta strong {
  font-weight: 700;
  color: #f8f8fc;
}
.hero__video-preview {
  display: block;
  width: 75%;
  margin: 1.25rem 0 0;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  appearance: none;
  font: inherit;
  text-align: left;
  transition: opacity 180ms ease, transform 180ms ease;
}
.hero__video-preview:hover {
  opacity: 0.92;
  transform: scale(1.01);
}
.hero__video-preview__video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  pointer-events: none;
}
.hero__start {
  margin: 1.75rem 0 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: opacity 180ms ease, filter 180ms ease;
  padding: 0.5rem 1.6rem;
  color: #ffffff;
  background: #c2410c;
}
.hero__start:hover {
  opacity: 0.8;
}
.hero__start--border-anim {
  position: relative;
  overflow: hidden;
}
.hero__start--border-anim:hover:not(:disabled) {
  opacity: 1;
  filter: brightness(1.06);
}
.hero__start--border-anim span {
  position: absolute;
  pointer-events: none;
}
.hero__start--border-anim span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, rgba(194, 65, 12, 0), #f59f2d);
  animation: hero-start-border-top 2s linear infinite;
}
.hero__start--border-anim span:nth-child(2) {
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to top, rgba(194, 65, 12, 0), #f59f2d);
  animation: hero-start-border-right 2s linear -1s infinite;
}
.hero__start--border-anim span:nth-child(3) {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(194, 65, 12, 0), #f59f2d);
  animation: hero-start-border-bottom 2s linear infinite;
}
.hero__start--border-anim span:nth-child(4) {
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(194, 65, 12, 0), #f59f2d);
  animation: hero-start-border-left 2s linear -1s infinite;
}
.hero__start--border-anim:disabled span {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .hero__start--border-anim span {
    display: none;
  }
}

.hero__step {
  display: none;
}
.hero__step.is-visible, .hero__step.is-entering, .hero__step.is-leaving {
  display: block;
}
.hero__step.is-visible {
  opacity: 1;
}
.hero__step.is-entering {
  animation: hero-step-fade-in 0.5s ease forwards;
}
.hero__step.is-leaving {
  animation: hero-step-fade-out 0.5s ease forwards;
}

.game-intro {
  width: 100%;
  max-width: 28rem;
  text-align: left;
}
.game-intro__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  color: #f8f8fc;
}
.game-intro__text {
  margin: 1.25rem 0 0;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(248, 248, 252, 0.64);
}

@keyframes logo-intro {
  0% {
    top: 50%;
    transform: translate(-50%, -50%) scale(2.25);
  }
  100% {
    top: 1.5rem;
    transform: translate(-50%, 0) scale(1);
  }
}
@keyframes home-image-intro {
  0% {
    transform: scale(4.5);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes game-scroll-hint-bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
.room-area--locked {
  pointer-events: none !important;
  opacity: 0;
}

.game-popup {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  overflow: visible;
}
.game-popup.is-open {
  display: block;
}
.game-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.game-popup__penalty-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 220, 51, 0.8) 0%, rgba(245, 159, 45, 0.8) 100%);
  pointer-events: all;
}
.game-popup__penalty-overlay[hidden] {
  display: none;
}
.game-popup__penalty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 36rem;
}
.game-popup__penalty-title {
  margin: 0;
  font-family: "Glitz", Arial, sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}
.game-popup__penalty-countdown {
  margin: 0;
  font-family: "DS-Digital", "Courier New", monospace;
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #ff1a1a;
  text-shadow: 0 0 6px rgba(255, 26, 26, 0.95), 0 0 14px rgba(255, 26, 26, 0.55);
  text-align: center;
}
.game-popup__penalty-subtitle {
  margin: 0;
  font-family: "Helvetica Now Display", Arial, Helvetica, sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
}
.game-popup__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80%, 60rem);
  max-height: calc(100% - 2rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.game-popup__result-badge {
  position: absolute;
  top: 50%;
  left: -5.5rem;
  z-index: 4;
  transform: translateY(-50%);
  width: 5rem;
  height: 5rem;
  pointer-events: none;
}
.game-popup.game-popup--penalty-active .game-popup__result-badge {
  opacity: 0;
}
.game-popup__result-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 180ms ease, transform 180ms ease;
}
.game-popup.game-popup--result-correct .game-popup__result-icon--ok, .game-popup.game-popup--result-incorrect .game-popup__result-icon--error {
  opacity: 1;
  transform: scale(1);
}
.game-popup__sun {
  position: absolute;
  left: 50%;
  z-index: 3;
  width: 20%;
  pointer-events: none;
  transform: translate(-50%, -100%);
}
.game-popup__sun-logo {
  display: block;
  width: 100%;
  height: auto;
}
.game-popup__dialog {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-height: 100%;
  overflow: visible;
  padding: 3.75rem 5rem 2.5rem;
  border: 2px solid #fff;
  border-radius: 2rem;
  background: rgba(245, 159, 45, 0.92);
  color: #fff;
}
.game-popup--pregunta .game-popup__dialog {
  padding-bottom: 3.75rem;
}
.game-popup__submit {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translate(50%, 50%);
  z-index: 4;
  min-width: 6.5rem;
  padding: 0.55rem 1.15rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #f59f2d;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.game-popup__submit.is-continue {
  background: #fff;
  color: #f59f2d;
}
.game-popup--locked-interaction .game-popup__interaction,
.game-popup--locked-interaction .game-popup__option,
.game-popup--locked-interaction .game-popup__tf-btn,
.game-popup--locked-interaction .game-popup__drag-item,
.game-popup--locked-interaction .game-popup__chip,
.game-popup--locked-interaction .game-popup__blank {
  pointer-events: none;
}
.game-popup__option.is-answer-incorrect.is-selected .game-popup__option-text {
  background: #ce0019;
  color: #fff;
}
.game-popup__blank.is-answer-incorrect .game-popup__blank-value {
  background: #bd1625;
  color: #fff;
  border-radius: 0.45rem;
  padding: 0.1rem 0.45rem;
}
.game-popup__blank.is-answer-incorrect .game-popup__blank-line {
  background: #bd1625;
  height: 3px;
}
.game-popup__drag-item.is-answer-incorrect {
  background: #bd1625;
  color: #fff;
}
.game-popup__option.is-answer-correct.is-selected .game-popup__option-text {
  background: #ffdc33;
}
.game-popup__blank.is-answer-correct .game-popup__blank-value {
  background: #f9de59;
  color: #fff;
  border-radius: 0.45rem;
  padding: 0.1rem 0.45rem;
}
.game-popup__drag-item.is-answer-correct {
  background: #f9de59;
  color: #fff;
}
.game-popup__scroll-area {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.game-popup__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.game-popup__scroll-hint {
  position: absolute;
  right: -2.35rem;
  bottom: 0.85rem;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.game-popup__scroll-hint[hidden] {
  display: none !important;
}

.game-popup__scroll-hint__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  animation: game-scroll-hint-bounce 1.1s ease-in-out infinite;
}

.game-popup__scroll-hint__icon::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: translateY(-2px) rotate(45deg);
}
.game-popup__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.game-popup__close-icon {
  display: block;
  width: 100%;
  height: auto;
}
.game-popup__panel--question {
  border: 2px solid #fff;
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}
.game-popup--pista .game-popup__panel--question {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}
.game-popup--intro .game-popup__panel--question {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}
.game-popup--pista .game-popup__text {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}
.game-popup--pista .game-popup__text .pista h3,
.game-popup--pista .game-popup__text .pista__hint {
  font-weight: 700;
}
.game-popup--pista .game-popup__text .pista p {
  margin: 0 0 0.75rem;
}
.game-popup--pista .game-popup__text .pista p:last-child {
  margin-bottom: 0;
}
.game-popup--intro .game-popup__text {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}
.game-popup--intro .game-popup__text p {
  margin: 0 0 0.75rem;
}
.game-popup--intro .game-popup__text p:last-child {
  margin-bottom: 0;
}
.game-popup__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.game-popup__title:empty, .game-popup__title[hidden] {
  display: none;
}
.game-popup__text {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
}
.game-popup__question-text {
  margin: 0;
}
.game-popup__subtitle {
  margin: 0.75rem 0 0;
  padding: 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.85;
}
.game-popup--true-false .game-popup__subtitle {
  padding: 0 1.5rem;
}
.game-popup--fill-blanks .game-popup__title {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
}
.game-popup--true-false .game-popup__panel--question {
  margin-bottom: 0;
}
.game-popup--true-false .game-popup__dialog {
  padding-bottom: 5.25rem;
}
.game-popup--true-false .game-popup__interaction {
  gap: 0;
  padding: 2rem 1.5rem 0;
}
.game-popup--fill-blanks .game-popup__text {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.65;
}
.game-popup--fill-blanks .game-popup__panel--question {
  margin-bottom: 1rem;
}
.game-popup--fill-blanks .game-popup__ref {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.85;
}
.game-popup__interaction {
  display: grid;
  gap: 0.5rem;
}
.game-popup__option {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  padding: 0.5rem 0 0 1.25rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  position: relative;
}
.game-popup__option.is-selected .game-popup__option-text {
  background: rgba(255, 255, 255, 0.18);
}
.game-popup__option-letter {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  color: #8a8a8a;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  transform: translate(-50%, -50%);
}
.game-popup__option-text {
  border: 2px solid #fff;
  border-radius: 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.game-popup__hint {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
}
.game-popup__drag-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.game-popup__drag-item {
  position: relative;
  padding: 0.85rem 1rem;
  border: 2px solid #fff;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.game-popup__drag-item.is-dragging {
  z-index: 2;
  opacity: 0.9;
  cursor: grabbing;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.game-popup__classify {
  display: grid;
  gap: 1rem;
  width: 100%;
}
.game-popup__classify-pool {
  display: grid;
  gap: 0.5rem;
}
.game-popup__classify-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  overflow-x: visible;
}
@media (max-width: 36rem) {
  .game-popup__classify-columns {
    grid-template-columns: 1fr;
  }
}
.game-popup__classify-column {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}
.game-popup__classify-heading {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}
.game-popup__classify-list {
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-height: 8rem;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.12);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.game-popup__classify-list--pool {
  min-height: 4.5rem;
  grid-template-columns: repeat(auto-fill, minmax(0, calc(25% - 0.45rem)));
}
.game-popup__classify-list--pool .game-popup__drag-item {
  max-width: 100%;
}
.game-popup__classify-list.is-drop-target {
  border-color: #fff;
  border-style: solid;
  background: rgba(255, 255, 255, 0.12);
}
.game-popup__classify-list .game-popup__drag-item {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.game-popup__tf-list {
  display: grid;
}
.game-popup__tf-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}
@media (max-width: 36rem) {
  .game-popup__tf-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.game-popup__tf-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.game-popup__tf-row:first-child {
  padding-top: 0.35rem;
}
.game-popup__tf-text {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
}
.game-popup__tf-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.game-popup__tf-btn {
  min-width: 5.5rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #f59f2d;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.game-popup__tf-btn.is-selected {
  background: #f9de59;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
.game-popup__tf-btn.is-answer-incorrect, .game-popup__tf-btn.is-answer-incorrect.is-selected {
  background: #bd1625;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
.game-popup__tf-btn.is-answer-correct, .game-popup__tf-btn.is-answer-correct.is-selected {
  background: #f9de59;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
.game-popup__fill-blanks {
  display: inline;
  line-height: 1.65;
}
.game-popup__fill-text {
  font-size: 1.1rem;
  font-weight: 800;
  white-space: normal;
}
.game-popup__blank {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 5.5rem;
  min-height: 2.1rem;
  margin: 0 0.2rem;
  padding: 0.2rem 0.35rem 0.15rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  color: inherit;
  font: inherit;
  vertical-align: baseline;
  cursor: pointer;
}
.game-popup__blank:not(.is-filled) {
  transform: translateY(0.12rem);
}
.game-popup__blank.is-filled {
  background: none;
  box-shadow: none;
  padding: 0.35rem 0.45rem 0.25rem;
}
.game-popup__blank.is-drop-target {
  background: rgba(249, 222, 89, 0.22);
  box-shadow: inset 0 0 0 2px #f9de59;
}
.game-popup__blank.is-drop-target .game-popup__blank-line {
  background: #f9de59;
  height: 3px;
}
.game-popup__blank-line {
  display: block;
  width: 100%;
  min-width: 0;
  height: 3px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 1px;
}
.game-popup__blank-value {
  display: block;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.game-popup__blank-value:not([hidden]) {
  margin-bottom: 0.2rem;
}
.game-popup__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  padding-top: 0.35rem;
  max-width: 85%;
  margin: auto;
  margin-bottom: 2rem;
}
.game-popup__chip {
  position: relative;
  display: inline-block;
  padding: 0.65rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #f59f2d;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: grab;
  white-space: nowrap;
  touch-action: none;
  user-select: none;
}
.game-popup__chip.is-dragging {
  z-index: 5;
  opacity: 0.95;
  cursor: grabbing;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.game-popup__chip.is-used {
  display: none;
}

@keyframes content-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hero-start-border-top {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes hero-start-border-right {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}
@keyframes hero-start-border-bottom {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes hero-start-border-left {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
@keyframes hero-step-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hero-step-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.mod-refresh-note {
  margin-top: 0.75rem !important;
  font-size: 0.85rem !important;
  font-style: italic;
  opacity: 0.7;
}

/* Moderator page */
.mod-page {
  color: #222;
  background: #f1f1f1;
}

.mod-page .viewport {
  padding: 0;
}

.mod-page .viewport__frame,
.mod-page .mod-frame {
  width: 100vw;
  max-width: none;
  aspect-ratio: auto;
  min-height: 100%;
  max-height: none;
  overflow: auto;
  background: #f1f1f1;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: calc(1180px + 3rem)) and (min-height: calc(820px + 3rem)) {
  .mod-page .viewport {
    padding: 1.5rem;
  }

  .mod-page .viewport__frame,
.mod-page .mod-frame {
    width: min(1180px, calc(100vw - 3rem));
    max-width: 1180px;
    min-height: calc(100vh - 3rem);
  }
}
.mod-page .mod-site {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: calc(100vh - 3rem);
  align-items: start;
  justify-items: stretch;
  padding: 6.5rem 2rem 2rem;
}

.mod-page:not(.mod-page--session) .mod-site {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11rem 2rem 2rem;
}

.mod-page .site-logo {
  top: 1.5rem;
  left: 50%;
  width: min(22%, 180px);
  transform: translate(-50%, 0) scale(1);
  animation: none;
}

.mod-page .hero__title,
.mod-page .hero__lead,
.mod-page .mod-dashboard__title,
.mod-page .mod-teams__title,
.mod-page .hero__text,
.mod-page .mod-session-meta,
.mod-page .mod-empty,
.mod-page .mod-message,
.mod-page .hero__text strong,
.mod-page .mod-session-meta strong {
  color: #222;
}

.mod-page a {
  color: #c2410c;
}

.mod-page .mod-btn {
  margin: 1.75rem 0 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  color: #f59f2d;
  background: transparent;
}
.mod-page .mod-btn:hover {
  opacity: 0.88;
}

.mod-btn--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.35rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6a840 0%, #f59f2d 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(245, 159, 45, 0.28);
}
.mod-btn--primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(245, 159, 45, 0.34);
}

.mod-page a:hover {
  color: #9a3412;
}

.mod-hero {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.mod-page:not(.mod-page--session) .hero__title,
.mod-page:not(.mod-page--session) .hero__lead,
.mod-page:not(.mod-page--session) .mod-message {
  text-align: center;
}

.mod-forms {
  margin-top: 1.75rem;
}

.mod-form--create {
  padding: 1.5rem;
  border: 1px solid rgba(194, 65, 12, 0.14);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(194, 65, 12, 0.16);
}

.mod-form--recover {
  margin-top: 1.25rem;
  padding-top: 0.25rem;
  margin-top: auto;
  max-width: 28rem;
  width: 100%;
}
.mod-form--recover .mod-btn--recover {
  margin: 0;
}

.mod-recover__hint {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(34, 34, 34, 0.55);
}

.mod-recover__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mod-recover__input {
  width: min(100%, 16rem);
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.78);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(34, 34, 34, 0.14);
  border-radius: 999px;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.mod-recover__input::placeholder {
  color: rgba(34, 34, 34, 0.38);
  text-transform: none;
  letter-spacing: normal;
}
.mod-recover__input:focus {
  outline: none;
  border-color: rgba(245, 159, 45, 0.45);
  background: #fff;
}

.mod-btn--recover {
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(34, 34, 34, 0.58);
  background: transparent;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 999px;
}
.mod-btn--recover:hover {
  color: rgba(34, 34, 34, 0.82);
  border-color: rgba(245, 159, 45, 0.35);
  background: rgba(255, 255, 255, 0.65);
  opacity: 1;
}

.mod-caso {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.mod-caso__legend {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.72);
}

.mod-caso__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.mod-caso__card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}
.mod-caso__card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mod-caso__card-inner {
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1rem 0.9rem;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  background: #fafafa;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mod-caso__card:hover .mod-caso__card-inner {
  border-color: rgba(245, 159, 45, 0.55);
  transform: translateY(-1px);
}

.mod-caso__card input:focus-visible + .mod-caso__card-inner {
  outline: 2px solid rgba(245, 159, 45, 0.65);
  outline-offset: 2px;
}

.mod-caso__card input:checked + .mod-caso__card-inner {
  border-color: #f59f2d;
  background: linear-gradient(180deg, rgba(245, 159, 45, 0.14) 0%, rgba(245, 159, 45, 0.05) 100%);
  box-shadow: 0 10px 24px rgba(245, 159, 45, 0.18);
}

.mod-caso__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(245, 159, 45, 0.16);
  color: #c2410c;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.mod-caso__card input:checked + .mod-caso__card-inner .mod-caso__badge {
  background: #f59f2d;
  color: #fff;
}

.mod-caso__name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: #222;
}

.mod-caso__meta {
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(34, 34, 34, 0.68);
}

.mod-caso__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-size: 0.95rem;
  color: #222;
  cursor: pointer;
}
.mod-caso__option input {
  margin: 0;
  accent-color: #c2410c;
}

.mod-form + .mod-form {
  margin-top: 1.75rem;
}

.mod-forms__divider {
  margin: 2rem 0;
  max-width: 280px;
  border: 0;
  border-top: 1px solid #ccc;
}

.mod-label {
  display: block;
  margin: 0.75rem 0;
  font-size: 0.95rem;
  color: #222;
}

.mod-input {
  display: block;
  width: 100%;
  max-width: 280px;
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #222;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

.mod-dashboard {
  width: 100%;
}

.mod-dashboard__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.2;
}

.mod-session-meta {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.mod-session-meta p {
  margin: 0;
}

.mod-back {
  margin: 2rem 0 0;
  font-size: 0.9rem;
}

.mod-presentation {
  margin-top: 1.75rem;
}
.mod-presentation .hero__start {
  margin-top: 0;
  padding: 0.65rem 2rem;
  font-size: 1.05rem;
}

.mod-page a.hero__start {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
}
.mod-page a.hero__start:hover {
  color: #ffffff;
}

.mod-page--presentation {
  background: #fff7ed;
}
.mod-page--presentation .viewport {
  padding: 0;
}
.mod-page--presentation .viewport__frame,
.mod-page--presentation .mod-frame--presentation {
  width: min(100vw, calc(100vh * 2743px / 1541px));
  height: auto;
  max-width: 100vw;
  max-height: 100%;
  min-height: 0;
  aspect-ratio: 2743px/1541px;
  overflow: hidden;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.mod-page--presentation .mod-site {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-items: stretch;
  padding: 3.25rem 1.75rem 1rem;
  overflow: hidden;
}
.mod-page--presentation .site-logo {
  width: min(18%, 150px);
}

.mod-page--presentation-charts-only .viewport__frame,
.mod-page--presentation-charts-only .mod-frame--presentation {
  width: min(100vw, calc(100vh * 1180px / 820px));
  aspect-ratio: 1180px/820px;
}

@media (min-width: calc(1180px + 4rem)) and (min-height: calc(820px + 4rem)) and (hover: hover) and (pointer: fine) {
  .mod-page--presentation-charts-only .viewport__frame,
.mod-page--presentation-charts-only .mod-frame--presentation {
    width: min(1180px, calc(100vw - 4rem), calc((100vh - 4rem) * 1180px / 820px));
    max-width: 1180px;
    max-height: 820px;
  }
}
@supports (height: 100dvh) {
  @media (min-width: calc(1180px + 4rem)) and (min-height: calc(820px + 4rem)) and (hover: hover) and (pointer: fine) {
    .mod-page--presentation-charts-only .viewport__frame,
.mod-page--presentation-charts-only .mod-frame--presentation {
      width: min(1180px, calc(100vw - 4rem), calc((100dvh - 4rem) * 1180px / 820px));
      max-height: min(820px, calc(100dvh - 4rem));
    }
  }
}
@media (min-width: calc(2743px / 4)) and (min-height: calc(1541px / 4)) and (hover: hover) and (pointer: fine) {
  .mod-page--presentation:not(.mod-page--presentation-charts-only) {
    background: #fff7ed;
  }
  .mod-page--presentation:not(.mod-page--presentation-charts-only) .viewport {
    position: relative;
    inset: auto;
    height: 100vh;
    padding: 2rem;
  }
  .mod-page--presentation:not(.mod-page--presentation-charts-only) .viewport__frame,
.mod-page--presentation:not(.mod-page--presentation-charts-only) .mod-frame--presentation {
    width: min(calc(100vw - 4rem), calc((100vh - 4rem) * 2743px / 1541px));
    max-height: calc(100vh - 4rem);
    border-radius: 0.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  .mod-page--presentation-charts-only .viewport {
    position: relative;
    inset: auto;
    height: 100vh;
    padding: 2rem;
  }
  .mod-page--presentation-charts-only .viewport__frame,
.mod-page--presentation-charts-only .mod-frame--presentation {
    border-radius: 0.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }
}
@supports (height: 100dvh) {
  @media (min-width: calc(2743px / 4)) and (min-height: calc(1541px / 4)) and (hover: hover) and (pointer: fine) {
    .mod-page--presentation:not(.mod-page--presentation-charts-only) .viewport {
      height: 100dvh;
    }

    .mod-page--presentation:not(.mod-page--presentation-charts-only) .viewport__frame,
.mod-page--presentation:not(.mod-page--presentation-charts-only) .mod-frame--presentation {
      width: min(calc(100vw - 4rem), calc((100dvh - 4rem) * 2743px / 1541px));
      max-height: calc(100dvh - 4rem);
    }
  }
}
.mod-page--presentation .mod-site {
  padding-top: 3.25rem;
}

.mod-frame--presentation {
  min-height: 0;
}

.mod-dashboard--presentation {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  overflow: hidden;
}

.mod-dashboard--presentation .mod-dashboard__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  flex-shrink: 0;
}

.mod-dashboard--presentation .mod-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 0.4rem;
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  line-height: 1.35;
  flex-shrink: 0;
}

.mod-dashboard--presentation .mod-back {
  flex-shrink: 0;
  margin: 0.35rem 0 0;
  padding-top: 0;
  font-size: 0.82rem;
}

.pres-flow {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 0.5rem;
  overflow: hidden;
}

.pres-panel[hidden] {
  display: none !important;
}

.pres-panel--chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.pres-chart-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  min-height: 0;
  align-items: stretch;
}

.pres-chart-layout__answers {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.pres-chart-layout__chart {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.pres-panel__badge {
  margin: 0;
  flex-shrink: 0;
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c2410c;
}

.pres-panel__question {
  margin: 0.35rem 0 0;
  flex-shrink: 0;
  font-weight: 700;
  font-size: clamp(0.92rem, 1.45vw, 1.12rem);
  line-height: 1.3;
  color: #222;
}

.pres-filled {
  margin: 0.85rem 0 0;
  flex-shrink: 0;
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
  line-height: 1.55;
  color: rgba(34, 34, 34, 0.9);
}

.pres-filled[hidden] {
  display: none !important;
}

.pres-filled__blank {
  display: inline;
  padding: 0.05em 0.28em;
  margin: 0 0.05em;
  border-radius: 0.25rem;
  background: rgba(22, 163, 74, 0.1);
  border-bottom: 2px solid rgba(22, 163, 74, 0.45);
  color: rgba(20, 83, 45, 0.95);
  font-weight: 700;
}

.pres-columns {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0.85rem 0 0;
  overflow-y: auto;
}

.pres-columns[hidden] {
  display: none !important;
}

.pres-columns__col {
  min-width: 0;
}

.pres-columns__title {
  margin: 0 0 0.4rem;
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.72);
}

.pres-columns__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pres-answers {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0.85rem 0 0;
  padding: 0 0.15rem 0 0;
  list-style: none;
  overflow-y: auto;
}

.pres-answers[hidden] {
  display: none !important;
}

.pres-answer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem 0.65rem;
  align-items: start;
  padding: 0.55rem 0.65rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  border-left-width: 3px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pres-answer__label {
  flex-shrink: 0;
  min-width: 1.15rem;
  font-weight: 700;
  font-size: clamp(0.78rem, 1.05vw, 0.9rem);
  line-height: 1.35;
  color: inherit;
}

.pres-answer__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.pres-answer__text {
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  line-height: 1.35;
  color: inherit;
}

.pres-answer__meta {
  font-size: clamp(0.68rem, 0.95vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}

.pres-answer__mark {
  flex-shrink: 0;
  min-width: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
  opacity: 0.55;
}

.pres-answer--correct {
  background: rgba(22, 163, 74, 0.06);
  border-color: rgba(22, 163, 74, 0.12);
  border-left-color: rgba(22, 163, 74, 0.55);
  color: rgba(20, 83, 45, 0.92);
}
.pres-answer--correct .pres-answer__meta,
.pres-answer--correct .pres-answer__mark {
  color: rgba(22, 163, 74, 0.85);
}

.pres-answer--incorrect {
  background: rgba(220, 38, 38, 0.05);
  border-color: rgba(220, 38, 38, 0.12);
  border-left-color: rgba(220, 38, 38, 0.55);
  color: rgba(127, 29, 29, 0.82);
}
.pres-answer--incorrect .pres-answer__text {
  opacity: 0.9;
}
.pres-answer--incorrect .pres-answer__meta,
.pres-answer--incorrect .pres-answer__mark {
  color: rgba(220, 38, 38, 0.8);
}

.pres-panel__chart-wrap {
  position: relative;
  flex: 1 1 0;
  min-height: 8rem;
  margin-top: 0;
}

.pres-panel__legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.65rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  color: rgba(34, 34, 34, 0.82);
}
.pres-panel__legend strong {
  color: #222;
}

.pres-legend__dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.3rem;
  border-radius: 999px;
  vertical-align: middle;
}

.pres-panel__btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.65rem 1.6rem;
  min-height: 2.75rem;
  line-height: 1.2;
  color: #ffffff;
  cursor: pointer;
}
.pres-panel__btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.pres-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-shrink: 0;
  margin: 0.75rem 0 0.25rem;
}

.pres-nav__btn {
  width: 3.1rem;
  min-width: 3.1rem;
  padding: 0.55rem 0.7rem;
}

.pres-nav__arrow {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
}

.mod-page a.pres-panel__btn,
.mod-page button.pres-panel__btn {
  color: #ffffff;
}

.pres-panel--slide {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.pres-panel__slide-view {
  position: relative;
  flex: 1;
  height: 100%;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pres-panel__slide {
  border: 0;
}
.pres-panel__slide--image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.pres-panel__slide--canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.pres-panel__slide--pdf {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}
.pres-panel__slide--pptx {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pres-panel__slide--pptx > * {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
}

.pres-slide-actions {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 30;
  width: 100%;
  padding: 0 1rem;
}
.pres-slide-actions .pres-nav {
  margin: 0;
}
.pres-slide-actions .pres-nav__btn {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pres-slide-actions[hidden] {
  display: none !important;
}

.mod-page--pres-slide .viewport {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.mod-page--pres-slide .viewport__frame,
.mod-page--pres-slide .mod-frame--presentation {
  flex: 0 1 auto;
  width: min(100vw, calc((100vh - 5rem) * 2743px / 1541px));
  height: min(calc(100vw * 1541px / 2743px), calc(100vh - 5rem));
  max-height: calc(100vh - 5rem);
}
.mod-page--pres-slide .site-header {
  display: none !important;
}
.mod-page--pres-slide .mod-site {
  padding: 0 !important;
  overflow: hidden;
}
.mod-page--pres-slide .mod-dashboard--presentation {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.mod-page--pres-slide .mod-dashboard--presentation > :not(.pres-flow) {
  display: none !important;
}
.mod-page--pres-slide .pres-flow {
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: 0;
  height: 100%;
  overflow: visible;
}

@supports (height: 100dvh) {
  .mod-page--pres-slide .viewport__frame,
.mod-page--pres-slide .mod-frame--presentation {
    width: min(100vw, calc((100dvh - 5rem) * 2743px / 1541px));
    height: min(calc(100vw * 1541px / 2743px), calc(100dvh - 5rem));
    max-height: calc(100dvh - 5rem);
  }
}
@media (min-width: calc(2743px / 4)) and (min-height: calc(1541px / 4)) and (hover: hover) and (pointer: fine) {
  .mod-page--presentation.mod-page--pres-slide:not(.mod-page--presentation-charts-only) .viewport__frame,
.mod-page--presentation.mod-page--pres-slide:not(.mod-page--presentation-charts-only) .mod-frame--presentation {
    width: min(calc(100vw - 4rem), calc((100vh - 9rem) * 2743px / 1541px));
    height: min(calc((100vw - 4rem) * 1541px / 2743px), calc(100vh - 9rem));
    max-height: calc(100vh - 9rem);
  }
}
@supports (height: 100dvh) {
  @media (min-width: calc(2743px / 4)) and (min-height: calc(1541px / 4)) and (hover: hover) and (pointer: fine) {
    .mod-page--presentation.mod-page--pres-slide:not(.mod-page--presentation-charts-only) .viewport__frame,
.mod-page--presentation.mod-page--pres-slide:not(.mod-page--presentation-charts-only) .mod-frame--presentation {
      width: min(calc(100vw - 4rem), calc((100dvh - 9rem) * 2743px / 1541px));
      height: min(calc((100vw - 4rem) * 1541px / 2743px), calc(100dvh - 9rem));
      max-height: calc(100dvh - 9rem);
    }
  }
}
.mod-dashboard--presentation:has([data-pres-flow]:not([hidden])) .mod-back {
  display: none;
}

.mod-empty--presentation {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .pres-chart-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pres-chart-layout__answers {
    max-height: 42%;
  }

  .pres-panel__legend {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .mod-page--presentation:not(.mod-page--pres-slide) .mod-site {
    padding: 2.75rem 1rem 0.75rem;
  }

  .mod-page--pres-slide .viewport {
    gap: 0.75rem;
  }
  .mod-page--pres-slide .viewport__frame,
.mod-page--pres-slide .mod-frame--presentation {
    width: min(100vw, calc((100vh - 4.5rem) * 2743px / 1541px));
    height: min(calc(100vw * 1541px / 2743px), calc(100vh - 4.5rem));
    max-height: calc(100vh - 4.5rem);
  }
}
@supports (height: 100dvh) {
  @media (max-width: 640px) {
    .mod-page--pres-slide .viewport__frame,
.mod-page--pres-slide .mod-frame--presentation {
      width: min(100vw, calc((100dvh - 4.5rem) * 2743px / 1541px));
      height: min(calc(100vw * 1541px / 2743px), calc(100dvh - 4.5rem));
      max-height: calc(100dvh - 4.5rem);
    }
  }
}
.mod-teams {
  margin-top: 1.5rem;
}

.mod-teams__title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.mod-teams__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.mod-teams__subtitle {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(34, 34, 34, 0.78);
}

.mod-percent-chart__wrap {
  position: relative;
  height: min(36vh, 280px);
  min-height: 11rem;
}

.mod-percent-chart__legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: rgba(34, 34, 34, 0.82);
}
.mod-percent-chart__legend strong {
  color: #c2410c;
  margin-right: 0.25rem;
}

.mod-percent-chart__stat {
  margin-right: 0.55rem;
  white-space: nowrap;
}
.mod-percent-chart__stat--ok {
  color: #15803d;
}
.mod-percent-chart__stat--fail {
  color: #b91c1c;
}
.mod-percent-chart__stat--pending {
  color: #6b7280;
}

@media (max-width: 900px) {
  .mod-percent-chart__wrap {
    height: min(40vh, 260px);
  }
}
@media (max-width: 720px) {
  .mod-percent-chart__legend {
    grid-template-columns: 1fr;
  }
}
.mod-teams__table-wrap {
  overflow-x: auto;
}

.mod-teams__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.mod-teams__table th,
.mod-teams__table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  text-align: center;
  color: #222;
}

.mod-teams__table thead th {
  font-weight: 700;
  color: #222;
  background: #e5e5e5;
}

.mod-teams__table tbody th[scope=row] {
  text-align: left;
  font-weight: 600;
  color: #222;
  background: #fff;
}

.mod-teams__table tbody td {
  background: #fff;
}

.mod-teams__score {
  font-weight: 700;
  color: #c2410c;
}

.mod-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.mod-result--ok {
  color: #16a34a;
}

.mod-result--fail {
  color: #dc2626;
}

.mod-result--pending {
  color: #999;
  font-weight: 400;
}

.pista h3 {
  margin: 0;
  margin-bottom: 0.5rem;
  text-decoration: underline;
}
.pista ul {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.pista__images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
  justify-content: center;
  max-width: 50%;
  margin: 15px auto;
}
.pista__image-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1 1 calc(50% - 0.375rem);
  max-width: calc(50% - 0.375rem);
  min-width: 0;
  position: relative;
}
.pista__image-item:nth-child(1) .pista__image-label {
  position: absolute;
  bottom: 0;
  left: -10px;
  transform: translate(-100%);
}
.pista__image-item:nth-child(2) {
  flex-direction: row-reverse;
}
.pista__image-item:nth-child(2) .pista__image-label {
  position: absolute;
  bottom: 0;
  right: -10px;
  transform: translate(100%);
}
.pista__image-label {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  padding-top: 0.15rem;
}
.pista__images img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  height: 100%;
}
.pista__caption {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}
.pista__ref {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.85;
}
.pista__hint {
  margin: 1rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
}
.pista__quiz {
  margin: 0.75rem 0 0;
  text-align: center;
}
.pista__quiz[hidden] {
  display: none !important;
}
.pista__quiz:not([hidden]) ~ .pista__results {
  display: none !important;
}
.pista__quiz-question {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}
.pista__quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 1rem;
}
.pista__quiz-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.7rem 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}
.pista__quiz-option img {
  display: none !important;
}
.pista__quiz-option:hover {
  transform: scale(1.03);
}
.pista__quiz-option.is-selected {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.pista__quiz-submit {
  min-width: 6.5rem;
  padding: 0.55rem 1.15rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #f59f2d;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.pista__quiz-submit[hidden] {
  display: none !important;
}
.pista__quiz-feedback {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.pista__quiz-feedback[hidden] {
  display: none !important;
}
.pista__results[hidden] {
  display: none !important;
}
.pista__hotspots {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0.75rem 0 1rem;
}
.pista__hotspot {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}
.pista__hotspot:hover {
  transform: scale(1.04);
  opacity: 0.92;
}
.pista__hotspot.is-active {
  border-color: #0cc244;
}
.pista__hotspot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 6.75rem;
  min-height: 7.5rem;
  padding: 0.8rem 0.7rem 0.6rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.pista__hotspot-icon {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
}
.pista__hotspot-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #e8e8eb;
  color: #f59f2d;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.pista__detail-modal {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.pista__detail-modal[hidden] {
  display: none;
}
.pista__detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.pista__detail-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  max-height: min(100%, 34rem);
  padding: 2.75rem 1rem 1rem;
  border: 2px solid #fff;
  border-radius: 1rem;
  background: rgba(245, 159, 45, 0.96);
  overflow: auto;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}
.pista__detail-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.pista__detail-content {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}
.pista__detail-content p {
  margin: 0 0 0.5rem;
}
.pista__detail-content p:last-child {
  margin-bottom: 0;
}
.pista__detail-content .pista__table {
  width: 100%;
  margin: 0.75rem 0 0;
  border-collapse: collapse;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
}
.pista__detail-content .pista__table th,
.pista__detail-content .pista__table td {
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  vertical-align: top;
  text-align: left;
}
.pista__detail-content .pista__table th {
  font-weight: 700;
}
.pista__detail-content .pista__table + .pista__table {
  margin-top: 0.5rem;
}
.pista__detail-content .pista__detail-img {
  display: block;
  width: 50%;
  max-width: 28rem;
  height: auto;
  margin: 0.75rem auto 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.pista__detail-content .pista__detail-img.detail-big {
  width: 80%;
  max-width: 35rem;
}
.pista__detail {
  margin: 0.5rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  overflow-x: auto;
}
.pista__detail[hidden] {
  display: none;
}
.pista__detail p {
  margin: 0 0 0.5rem;
}
.pista__detail p:last-child {
  margin-bottom: 0;
}
.pista__table {
  width: 100%;
  margin: 0.75rem 0 0;
  border-collapse: collapse;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
}
.pista__table th,
.pista__table td {
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  vertical-align: top;
  text-align: left;
}
.pista__table th {
  font-weight: 700;
}
.pista__table + .pista__table {
  margin-top: 0.5rem;
}
.pista__detail-img {
  display: block;
  width: 50%;
  max-width: 28rem;
  height: auto;
  margin: 0.75rem auto 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}