*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100dvh;
}

body {
  display: flex;
  flex-direction: column;
  background: #070b16;
  color: #e8eefc;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

.iyf-site-nav {
  position: sticky;
  top: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  min-height: 52px;
  padding: max(0.4rem, env(safe-area-inset-top)) 0.85rem 0.4rem;
  background: #fff;
  border-bottom: 1px solid #d8dee8;
}

.iyf-site-nav__home {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  text-decoration: none;
}

.iyf-site-nav__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.iyf-site-nav__percorso {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(0.72rem, 2.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: right;
  text-decoration: none;
  color: #133b7a;
}

.iyf-site-nav__percorso:hover,
.iyf-site-nav__percorso:focus-visible {
  text-decoration: underline;
}

.gioco-embed {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
  background: #070b16;
}

.gioco-embed__fallback {
  margin: 1.25rem;
  color: #9aa8c8;
}

.gioco-embed__fallback a {
  color: #3ee0ff;
}
