/* ============================================================
   FULLY — Stili delle schermate
   ============================================================ */

.page { padding: 26px 0 90px; }

/* ---------- MAPPA GIREVOLE (anello 3D di pianeti) ---------- */
.ring-wrap { position: relative; max-width: 760px; margin: 0 auto; }
.ring-stage {
  position: relative; height: 360px; margin: 6px auto 0; border-radius: 22px; overflow: hidden;
  perspective: 1200px; perspective-origin: 50% 45%;
  touch-action: pan-y; cursor: grab; user-select: none;
  background:
    radial-gradient(60% 70% at 50% 40%, color-mix(in srgb, var(--glow, #4dabf7) 30%, transparent), transparent 68%),
    radial-gradient(40% 50% at 18% 80%, rgba(120,70,220,.20), transparent 70%),
    radial-gradient(45% 55% at 85% 22%, rgba(40,120,200,.18), transparent 70%),
    radial-gradient(120% 120% at 50% 35%, #0b1230 0%, #070b1c 55%, #04060f 100%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: background .6s ease;
}
.ring-stage:active { cursor: grabbing; }
.ring-galaxy { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.galaxy-canvas { position: absolute; inset: 0; display: block; }
.ring { z-index: 2; }
/* cielo stellato dietro l'anello */
.ring-stars { position: absolute; inset: 0; overflow: hidden; border-radius: 24px; pointer-events: none; }
.ring-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .8;
  animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .25; } 50% { opacity: .9; } }
.ring { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.planet {
  position: absolute; top: 50%; left: 50%; width: 156px; height: 200px;
  margin: -100px 0 0 -78px; padding: 0; border: 0; background: transparent;
  transform-style: preserve-3d; cursor: pointer; transition: opacity .15s linear;
}
.planet__img {
  position: relative; display: block; width: 132px; height: 132px; margin: 0 auto; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid var(--wc, #4dabf7);
  box-shadow: 0 16px 36px rgba(0,0,0,.55), 0 0 24px var(--wc, #4dabf7); /* fallback */
  box-shadow:
    0 16px 36px rgba(0,0,0,.55),
    0 0 0 2px color-mix(in srgb, var(--wc, #4dabf7) 70%, #fff 0%),
    0 0 26px color-mix(in srgb, var(--wc, #4dabf7) 60%, transparent);
  animation: planet-float 5s ease-in-out infinite;
}
/* ombreggiatura sferica + riflesso lucido */
.planet__img::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 52%, rgba(0,0,0,.55) 100%),
    radial-gradient(circle at 72% 80%, rgba(0,0,0,.5), rgba(0,0,0,0) 60%);
}
@keyframes planet-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.planet__p { animation: planet-float 5s ease-in-out infinite; }
.ring-stage:active .planet__p { animation-play-state: paused; }
.reduce-motion .planet__p, .reduce-motion .ring-stars i,
.reduce-motion .pp-tex, .reduce-motion .pp-halo, .reduce-motion .pp-sparkles i { animation: none; }
.planet.is-front .pp-sphere { filter: brightness(1.06) saturate(1.06); }

/* --- Animazione viva: solo sul pianeta al centro (leggera, niente spreco) --- */
@keyframes planet-drift { from { transform: rotate(var(--texrot, 0deg)); } to { transform: rotate(calc(var(--texrot, 0deg) + 360deg)); } }
@keyframes planet-breath { 0%,100% { opacity: .75; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06); } }
.planet.is-front .pp-tex { animation: planet-drift 46s linear infinite; }
.planet.is-front .pp-halo { animation: planet-breath 4.2s ease-in-out infinite; }

/* --- Scintille (tocco child-friendly): brillano solo intorno al pianeta attivo --- */
.pp-sparkles i { display: block; opacity: 0; }
.planet.is-front .pp-sparkles i { animation: twinkle 2.4s ease-in-out infinite; }
.planet.is-locked .pp-sphere { filter: grayscale(.85) brightness(.5); }
.planet.is-locked .pp-halo, .planet.is-locked .pp-ringback, .planet.is-locked .pp-ringfront { opacity: .3; }

/* ===================== VISTA SISTEMA SOLARE ===================== */
.solar-wrap { position: relative; max-width: 980px; margin: 0 auto; }
.solar-stage {
  position: relative; height: 460px; border-radius: 22px; overflow: hidden;
  cursor: grab; touch-action: none; user-select: none;
  background:
    radial-gradient(50% 55% at 50% 46%, color-mix(in srgb, var(--glow, #ffb02e) 22%, transparent), transparent 70%),
    radial-gradient(120% 120% at 50% 38%, #0c1330 0%, #070b1c 55%, #04060f 100%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
}
.solar-stage:active { cursor: grabbing; }
.solar-space { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.solar-links { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.solar-path { fill: none; stroke: rgba(255,255,255,.42); stroke-width: 7; stroke-dasharray: 2 18; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,255,255,.25)); }
.solar-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.10); pointer-events: none; }
.solar-earth {
  position: absolute; width: 184px; height: 184px;
  transform: translate(-50%,-50%); pointer-events: none;
  animation: earth-breath 6s ease-in-out infinite;
}
.solar-earth img { filter: drop-shadow(0 0 16px rgba(90,170,255,.4)); }
@keyframes earth-breath { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.04); } }
.reduce-motion .solar-earth { animation: none; }
.solar-planet {
  position: absolute; transform: translate(-50%,-50%); width: 96px;
  border: 0; background: transparent; padding: 0; cursor: pointer;
}
.solar-planet .planet__badge {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 6;
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
  background: #0b1230; border: 2px solid var(--wc, #4dabf7); color: #fff;
  font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.solar-planet .planet__lock, .solar-planet .planet__done {
  position: absolute; bottom: 16px; right: 12px; z-index: 6; font-size: 15px;
}
.solar-planet__name {
  display: block; margin-top: 6px; text-align: center; font-weight: 800; font-size: 12px;
  color: #fff; line-height: 1.12; text-shadow: 0 2px 8px rgba(0,0,0,.8);
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.solar-planet.is-active { z-index: 50; }
.solar-planet.is-active .solar-planet__name { opacity: 1; }
.solar-planet.is-active .pp-sphere { filter: brightness(1.08) saturate(1.08); }
.solar-planet.is-active .pp-tex { animation: planet-drift 46s linear infinite; }
.solar-planet.is-active .pp-halo { animation: planet-breath 4.2s ease-in-out infinite; }
.solar-planet.is-active .pp-sparkles i { animation: twinkle 2.4s ease-in-out infinite; }
.solar-planet.is-locked .pp-sphere { filter: grayscale(.85) brightness(.5); }
.solar-planet.is-locked .pp-halo, .solar-planet.is-locked .pp-ringback, .solar-planet.is-locked .pp-ringfront { opacity: .3; }
/* Avatar del bambino sulla mappa ("sei qui") */
.solar-avatar { position: absolute; transform: translate(-50%,-50%); z-index: 60; pointer-events: none; animation: avatar-bob 2.2s ease-in-out infinite; }
.solar-avatar__face {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 24px; background: rgba(12,18,40,.88); border: 2px solid #fff;
  box-shadow: 0 5px 14px rgba(0,0,0,.55), 0 0 16px rgba(255,255,255,.45);
}
.solar-avatar__pin {
  display: block; width: 0; height: 0; margin: -1px auto 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid #fff;
}
@keyframes avatar-bob { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-7px); } }
.reduce-motion .solar-avatar { animation: none; }

.solar-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 8; }
.solar-zoom button {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,16,40,.72); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.solar-zoom button:hover { background: rgba(247,213,72,.2); border-color: var(--gold); }

/* ===================== ABBONAMENTO (Premium) ===================== */
.benefits { display: grid; gap: 10px; margin: 18px 0; }
.benefit { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; }
.benefit__e { font-size: 24px; line-height: 1; }
.benefit b { display: block; font-size: 15px; }
.benefit span { color: rgba(255,255,255,.65); font-size: 13px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 2px solid rgba(255,255,255,.12); border-radius: 18px; padding: 20px 14px; color: #fff; }
.plan:hover { border-color: var(--gold); transform: translateY(-2px); transition: .15s; }
.plan--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(247,213,72,.12), rgba(255,255,255,.04)); }
.plan__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(135deg,#ffd34d,#ff9d2e); color: #3a2600; font-weight: 800; font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.plan__name { font-weight: 800; font-size: 14px; color: rgba(255,255,255,.8); }
.plan__price { font-size: 26px; font-weight: 900; }
.plan__price small { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); }
.plan__cta { margin-top: 6px; background: var(--gold, #f7d548); color: #1a1300; font-weight: 800; font-size: 14px; padding: 9px 18px; border-radius: 999px; }
.plan[disabled] { opacity: .7; pointer-events: none; }

/* Logo nella schermata di login/registrazione */
.auth__logoimg { display: block; width: 120px; height: auto; margin: 0 auto 6px; border-radius: 18px; }


/* ===================== Collezione figurine + selettore avatar ===================== */
.sticker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px; }
.sticker { background: var(--card-2); border: 1px solid var(--border); border-radius: 16px; padding: 12px 6px; text-align: center; transition: transform var(--t); }
.sticker:not(.is-locked):hover { transform: translateY(-3px); }
.sticker__em { font-size: 30px; line-height: 1; }
.sticker__name { margin-top: 6px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.82); }
.sticker.is-locked { opacity: .45; filter: grayscale(.6); }

.profile-avatar--edit { position: relative; border: 0; cursor: pointer; padding: 0; }
.profile-avatar__pen { position: absolute; right: -4px; bottom: -4px; font-size: 15px; background: var(--card); border: 1px solid var(--border); border-radius: 50%; padding: 3px; line-height: 1; }
.av-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-height: 58vh; overflow-y: auto; padding: 4px; margin: 0 -4px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch; }

/* Avatar illustrato (immagine) reso al posto dell'emoji */
.av-img { width: 1.3em; height: 1.3em; object-fit: contain; display: inline-block;
  vertical-align: middle; border-radius: 8px; }
.av-img--inline { width: 1.1em; height: 1.1em; border-radius: 5px; }
/* Nei contenitori tondi dedicati riempie tutto lo spazio */
.app-header__avatar .av-img,
.profile-avatar .av-img { width: 100%; height: 100%; border-radius: 50%; }
/* Thumbnail nel selettore avatar (profilo e registrazione) */
.av-thumb { width: 88px; height: 88px; object-fit: contain; display: block; margin: 0 auto; }
.av-pick--img { padding: 10px 0; }
.avatar-pick .is-img { padding: 8px; }
.av-pick { font-size: 44px; padding: 14px 0; border-radius: 14px; border: 1px solid var(--border); background: var(--card-2); cursor: pointer; transition: transform var(--t-fast), border-color var(--t); }
.av-pick:not(.is-locked):hover { border-color: var(--gold); transform: translateY(-2px); }
.av-pick.is-locked { opacity: .5; cursor: not-allowed; }
.planet__ring {
  position: absolute; top: 22px; left: 50%; width: 184px; height: 184px; margin-left: -92px;
  border-radius: 50%; border: 3px solid color-mix(in srgb, var(--wc, #4dabf7) 80%, #fff 10%);
  border-bottom-color: transparent; border-top-color: color-mix(in srgb, var(--wc, #4dabf7) 50%, transparent);
  opacity: .5; transform: rotateX(76deg); pointer-events: none;
  box-shadow: 0 0 18px color-mix(in srgb, var(--wc, #4dabf7) 50%, transparent);
}
.planet__badge {
  position: absolute; top: 4px; left: 50%; margin-left: 30px; min-width: 26px; height: 26px;
  display: grid; place-items: center; padding: 0 6px; border-radius: 13px;
  background: var(--wc, #4dabf7); color: #06101f; font-weight: 900; font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.planet__lock, .planet__done {
  position: absolute; top: 6px; left: 50%; margin-left: -64px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%; font-size: 15px;
  background: rgba(8,12,24,.85);
}
.planet__done { background: #2fbf57; color: #fff; }
.planet.is-locked .planet__img { filter: grayscale(.85) brightness(.6); }
.planet__name {
  display: block; margin-top: 10px; text-align: center; font-weight: 800; font-size: 13px;
  color: rgba(255,255,255,.92); line-height: 1.15; text-shadow: 0 2px 8px rgba(0,0,0,.7);
  opacity: 0; transition: opacity .2s ease; pointer-events: none; /* solo il pianeta a fuoco mostra il nome */
}
.planet.is-front .planet__img {
  box-shadow:
    0 22px 50px rgba(0,0,0,.6),
    0 0 0 2px color-mix(in srgb, var(--wc, #4dabf7) 90%, #fff 0%),
    0 0 40px color-mix(in srgb, var(--wc, #4dabf7) 85%, transparent);
}
.planet.is-front { z-index: 1200; }
.planet.is-front .planet__name { color: #fff; font-size: 14px; opacity: 1; }
.ring-nav {
  position: absolute; top: 130px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-soft); background: rgba(14,20,38,.85); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; z-index: 5;
}
.ring-nav--prev { left: 4px; }
.ring-nav--next { right: 4px; }
.ring-nav:hover { background: rgba(247,213,72,.2); border-color: var(--gold); }
.ring-hint { text-align: center; color: rgba(255,255,255,.55); font-size: 13px; margin: 8px 0 16px; }

.ring-preview {
  display: flex; gap: 18px; align-items: stretch; max-width: 620px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 20px;
  padding: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.4);
  border-top: 3px solid var(--wc, #4dabf7);
}
.rp__cover {
  position: relative; flex: 0 0 150px; min-height: 150px; border-radius: 14px;
  background-size: cover; background-position: center; overflow: hidden;
  box-shadow: inset 0 -50px 50px -30px rgba(0,0,0,.7), 0 0 0 1px color-mix(in srgb, var(--wc, #4dabf7) 60%, transparent);
}
.rp__cover::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 10%, color-mix(in srgb, var(--wc, #4dabf7) 30%, transparent), transparent 60%);
}
.rp__locktag {
  position: absolute; top: 8px; left: 8px; padding: 4px 10px; border-radius: 12px;
  background: rgba(8,12,24,.85); font-size: 12px; font-weight: 700;
}
.rp__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rp__body small { color: rgba(255,255,255,.6); font-weight: 700; }
.rp__body h3 { margin: 4px 0 6px; font-size: 22px; font-weight: 900; }
.rp__body p { margin: 0 0 12px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.5; }
.rp__meter { display: flex; align-items: center; gap: 10px; margin: auto 0 12px; }
.rp__meter .progress { flex: 1; }
.rp__meter span { font-size: 13px; font-weight: 700; white-space: nowrap; }
.rp__lockmsg { margin-top: auto; color: rgba(255,255,255,.6); font-size: 13px; }
@media (max-width: 560px) {
  .ring-preview { flex-direction: column; }
  .rp__cover { flex-basis: 140px; }
}

.page__head { max-width: 920px; margin: 0 auto 28px; text-align: center; }
.page__head h1 { margin: 12px 0 0; font-size: clamp(34px,5vw,56px); font-weight: 900; letter-spacing: -1.6px; line-height: 1; }
.page__head p { margin: 14px auto 0; max-width: 680px; color: rgba(255,255,255,0.82); line-height: 1.7; font-size: 17px; }

/* ---------- HOME ---------- */
/* (Le vecchie regole .home-hero / .home-hero__* del landing precedente sono
   state rimosse: interferivano col nuovo hero a tutto schermo .home-hero--full.) */

/* ---- HERO FULL-SCREEN (app, non "sito") ---- */
.app-header--over { position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  background: transparent; border-bottom: none; box-shadow: none; backdrop-filter: none;
  padding-top: calc(env(safe-area-inset-top, 0px) + 8px); }
.home-hero--full { position: relative; height: 100vh; height: 100svh; min-height: 600px;
  padding: 0; margin: 0; overflow: hidden; background: #01030d; }
.hf__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hf__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
/* Desktop/schermi larghi: due colonne — testo a sinistra, poster grande a destra.
   Niente taglio dei musi, niente striscia stretta, titolo mai sul viso. */
@media (min-width: 900px) {
  .home-hero--full .hf__bg { left: 46%; width: 54%; }
  .home-hero--full .hf__grad { background: linear-gradient(90deg, #01030d 0%, #01030d 38%, rgba(1,3,13,0) 64%); }
  .home-hero--full .hf__content { width: 52%; justify-content: center; gap: 22px; padding: 0 clamp(30px, 5vw, 96px); }
  .home-hero--full .hf__top { padding: 0; text-align: left; }
  .home-hero--full .hf__bottom { padding: 0; align-items: flex-start; text-align: left; }
  .home-hero--full .hf__title { font-size: clamp(44px, 4.4vw, 72px); }
  .home-hero--full .hf__cta-main, .home-hero--full .hf__scroll { align-self: flex-start; }
}
.hf__grad { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,20,.82) 0%, rgba(4,7,20,.22) 22%,
              rgba(4,7,20,0) 42%, rgba(4,7,20,0) 52%, rgba(4,7,20,.70) 74%, rgba(4,7,20,.97) 100%); }
.hf__top { position: relative; z-index: 2; text-align: center;
  padding: calc(env(safe-area-inset-top, 0px) + 92px) 22px 0; }
.hf__title { margin: 0; font-weight: 900; line-height: .98; letter-spacing: -1.5px;
  font-size: clamp(34px, 10vw, 60px);
  background: linear-gradient(180deg, #fff 0%, #ffe7a8 42%, #f4b528 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.55)); }
.hf__title span { display: inline-block;
  background: linear-gradient(180deg, #ffd76a 0%, #f5a814 60%, #e0870a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hf__lead { margin: 10px 0 0; font-size: clamp(15px, 4vw, 19px); font-weight: 600;
  color: rgba(255,255,255,.92); text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.hf__bottom { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center;
  padding: 0 22px calc(env(safe-area-inset-bottom, 0px) + 24px); }
.hf__names { font-size: clamp(26px, 7.4vw, 38px); font-weight: 900; letter-spacing: -.5px; color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,.8); }
.hf__names-sub { margin-top: 3px; font-size: clamp(13px, 3.6vw, 16px); color: rgba(255,255,255,.85);
  text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.hf__stars { margin: 12px 0 18px; font-size: clamp(24px, 6.6vw, 32px); letter-spacing: 5px;
  color: #ffcf33; text-shadow: 0 0 16px rgba(255,190,40,.65), 0 2px 6px rgba(0,0,0,.6); }
.hf__cta-main { width: 100%; max-width: 400px; }
.hf__scroll { margin-top: 14px; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.85); font-weight: 700; font-size: 14px; padding: 8px; }

/* Vetrina carte a ventaglio (sezione "Colleziona le carte") */
.card-fan { display: flex; justify-content: center; align-items: center; margin: 6px auto 34px; padding: 10px 8px 0; }
.card-fan img { width: clamp(84px, 13vw, 150px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px;
  border: 2px solid rgba(255,255,255,.16); box-shadow: 0 16px 32px rgba(0,0,0,.5);
  transform: rotate(var(--r, 0deg)); margin: 0 -12px; transition: transform .25s ease, box-shadow .25s ease; }
.card-fan img:hover { transform: rotate(0deg) translateY(-12px) scale(1.06); box-shadow: 0 24px 48px rgba(0,0,0,.62); position: relative; z-index: 5; }
.card-fan img.is-hero { width: clamp(98px, 15vw, 178px); z-index: 3; border-color: rgba(255,140,120,.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.58), 0 0 30px rgba(255,90,70,.42); }

.home-section { padding: 54px 0; }
.section-title { max-width: 820px; margin: 0 auto 32px; text-align: center; }
.section-title h2 { margin: 10px 0 0; font-size: clamp(30px,4.6vw,52px); font-weight: 900; letter-spacing: -1.4px; line-height: 1.04; }
.section-title h2 span { color: var(--gold); }
.section-title p { margin: 14px auto 0; max-width: 640px; color: rgba(255,255,255,0.8); line-height: 1.7; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: var(--card-2); border: 1px solid var(--border); }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; background: rgba(247,213,72,0.12); margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; color: var(--gold); font-size: 20px; }
.feature p { margin: 0; color: rgba(255,255,255,0.82); line-height: 1.65; }

.map-box { padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(12,20,45,0.94), rgba(9,14,34,0.96)); border: 1px solid var(--border); }
.map-box img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--border-soft); }

/* ---------- AUTH (login / registrazione) ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 40px 18px; }
.auth__card { width: min(94vw, 440px); padding: 32px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(13,21,52,0.94), rgba(8,14,38,0.96));
  border: 1px solid var(--border); box-shadow: var(--shadow-strong); backdrop-filter: blur(16px); }
.auth__logo { text-align: center; font-size: 40px; font-weight: 900; letter-spacing: -1.5px;
  background: linear-gradient(180deg,#fff,#a9ddff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auth__sub { text-align: center; color: rgba(255,255,255,0.72); margin: 6px 0 24px; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: rgba(255,255,255,0.86); }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: #fff; font-size: 15px; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--gold); }
.auth__switch { text-align: center; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.7); }
.auth__switch a { color: var(--gold); font-weight: 700; }
.auth__error { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm);
  background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.4); color: #ffd5d5; font-size: 14px; }
.auth__ok { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm);
  background: rgba(107,217,104,0.12); border: 1px solid rgba(107,217,104,0.4); color: #d7ffd9; font-size: 14px; line-height: 1.5; }
.avatar-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.avatar-pick button { width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 18px; border: 2px solid transparent;
  background: var(--card-2); font-size: 48px; display: grid; place-items: center; overflow: hidden; }
.avatar-pick .av-thumb { width: 100%; height: 100%; }
.avatar-pick button.is-on { border-color: var(--gold); background: rgba(247,213,72,0.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.84); }
.check-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--gold); flex: 0 0 auto; }
.check-row a { color: var(--gold); }
.auth__step { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--gold); text-transform: uppercase; margin: 18px 0 10px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- DASHBOARD ---------- */
.dash-hero { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,0.96fr); gap: 26px; align-items: start; }
.dash-hero h1 { margin: 0; font-size: clamp(40px,6vw,74px); font-weight: 900; line-height: 0.94; letter-spacing: -2.4px; }
.dash-hero h1 span { color: var(--blue-soft); }
.dash-lead { margin: 18px 0 0; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.84); max-width: 620px; }
.dash-next { margin-top: 22px; padding: 20px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--border); }
.dash-next__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dash-next__top span { font-size: 13px; font-weight: 700; }
.dash-next__top b { color: var(--gold); font-size: 17px; }
.dash-next p { margin: 10px 0 16px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.8); }

.dash-panel { padding: 26px; border-radius: var(--r-xl); border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13,21,52,0.94), rgba(8,14,38,0.95)); box-shadow: var(--shadow-strong); }
.dash-panel h3 { margin: 14px 0 0; font-size: 30px; font-weight: 900; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.stat { padding: 18px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--border-soft); }
.stat b { display: block; font-size: 30px; line-height: 1; color: var(--gold); font-weight: 900; }
.stat span { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.82); }

.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.guide { padding: 16px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)), linear-gradient(180deg, rgba(12,21,48,0.97), rgba(9,15,34,0.97));
  border: 1px solid var(--border); }
.guide--featured { border-color: rgba(108,200,255,0.4); box-shadow: 0 24px 48px rgba(47,143,255,0.14); }
.guide__top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.guide__name { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.guide__name h3 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -1px; }
.guide__art { margin-top: 12px; aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-soft); }
.guide__art img { width: 100%; height: 100%; object-fit: cover; }
.guide__quote { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-soft); font-size: 13px; line-height: 1.55; font-style: italic; color: rgba(255,255,255,0.86); }

/* ---------- MAPPA MONDI ---------- */
.worlds { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.world {
  --wc: var(--gold);
  position: relative; padding: 22px 22px 22px 26px; border-radius: var(--r-xl);
  border: 1px solid var(--border); overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--wc) 16%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(13,21,52,0.92), rgba(8,14,38,0.95));
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.world::before { /* barra accento colore mondo */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--wc); opacity: 0.9;
}
.world:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--wc) 45%, var(--border)); }
.world.is-locked { opacity: 0.6; }
.world__body { position: relative; z-index: 1; }
.world__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.world__title { font-size: 26px; font-weight: 900; letter-spacing: -1px; color: #fff; }
.world__title small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; color: var(--wc); text-transform: uppercase; }
.world__desc { margin: 12px 0 18px; color: rgba(255,255,255,0.8); line-height: 1.6; max-width: 640px; }
.world__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.world__stat { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 200px; }
.world__stat span { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.78); }
.missions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.mcard {
  display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-md);
  background: var(--card-2); border: 1px solid var(--border-soft); transition: transform var(--t), border-color var(--t);
  color: #fff; text-align: left;
}
.mcard:hover { transform: translateY(-2px); border-color: var(--gold); }
.mcard.is-locked { opacity: 0.5; pointer-events: none; }
.mcard.is-done { border-color: rgba(54,211,153,0.45); }
.mcard__n { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--gold); }
.mcard__title { font-size: 16px; font-weight: 800; line-height: 1.2; color: #fff; }
.mcard__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.mcard__stars { font-size: 15px; color: var(--gold); }
.mcard__lock { font-size: 18px; }
.world__lockmsg { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- MISSIONE ---------- */
.mission { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.mission__hud {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; background: rgba(3,6,17,0.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-soft);
}
.mission__hud-left { display: flex; align-items: center; gap: 12px; }
.mission__hud-avatar { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); }
.mission__hud-copy span { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: var(--gold); }
.mission__hud-copy strong { font-size: 16px; font-weight: 900; }
.mission__hud-right { display: flex; gap: 8px; }
.mission__stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 22px 16px; }
.mission__inner { width: 100%; max-width: 680px; }

/* schermata di gate "chiamata" */
.call-gate { text-align: center; }
.call-gate__phone { width: min(60vw, 260px); margin: 0 auto 18px; animation: charPulse 1.2s ease-in-out infinite; }
.call-gate__q { font-size: 26px; font-weight: 900; margin-bottom: 22px; }
.call-actions { display: flex; gap: 14px; justify-content: center; }

/* riepilogo missione */
.summary { text-align: center; max-width: 520px; margin: 0 auto; }
.summary__art { width: 130px; height: 130px; border-radius: 28px; object-fit: cover; margin: 0 auto 18px; border: 2px solid var(--gold); box-shadow: var(--shadow-gold); }
.summary h2 { margin: 0; font-size: 34px; font-weight: 900; }
.summary__stars { margin: 18px 0; }
.summary__stats { display: flex; gap: 12px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.summary__stat { padding: 14px 18px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--border-soft); min-width: 100px; }
.summary__stat b { display: block; font-size: 26px; color: var(--gold); font-weight: 900; }
.summary__stat span { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.78); }
.summary__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- HUB PREMIUM: percorso della missione ---------- */
.mhub { max-width: 560px; margin: 0 auto; }
.mhub__head { text-align: center; margin-bottom: 16px; }
.mhub__bar { display: flex; align-items: center; gap: 12px; margin: 0 auto 20px; max-width: 480px; }
.mhub__bar .progress { flex: 1; }
.mhub__bar b { font-size: 13px; font-weight: 800; color: var(--gold); white-space: nowrap; }

.mpath { display: flex; flex-direction: column; }
.mnode { position: relative; display: flex; align-items: stretch; gap: 14px; width: 100%;
  background: none; border: none; color: #fff; padding: 6px 0; text-align: left; }
.mnode__rail { position: relative; width: 50px; flex: 0 0 auto; display: flex; justify-content: center; }
.mnode__rail::before { content: ''; position: absolute; top: 0; bottom: 0; width: 3px; background: var(--border); }
.mnode:first-child .mnode__rail::before { top: 50%; }
.mnode:last-child .mnode__rail::before { bottom: 50%; }
.mnode__dot { position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 50%; align-self: center;
  display: grid; place-items: center; font-size: 22px; background: #0b1430; border: 2px solid var(--border); }
.mnode__card { flex: 1; margin: 6px 0; padding: 13px 16px; border-radius: var(--r-md);
  background: var(--card-2); border: 1px solid var(--border); transition: transform var(--t-fast), border-color var(--t-fast); }
.mnode:hover .mnode__card { transform: translateX(3px); border-color: var(--gold); }
.mnode__card b { font-size: 15px; font-weight: 800; }
.mnode__card span { display: block; font-size: 12.5px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.mnode__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.mnode__stars { font-size: 14px; color: var(--gold); letter-spacing: 1px; }
.mnode__tag { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; padding: 3px 9px; border-radius: var(--r-pill); }
.mnode.is-done .mnode__dot { background: rgba(54,211,153,0.18); border-color: var(--ok); }
.mnode.is-done .mnode__card { border-color: rgba(54,211,153,0.4); }
.mnode.is-next .mnode__dot { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(247,213,72,0.16); animation: nodePulse 1.6s ease-in-out infinite; }
.mnode.is-next .mnode__tag { background: rgba(247,213,72,0.16); color: var(--gold); }
.mnode.is-done .mnode__tag { background: rgba(54,211,153,0.16); color: var(--ok); }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 0 5px rgba(247,213,72,0.16); } 50% { box-shadow: 0 0 0 9px rgba(247,213,72,0.05); } }

/* ---------- PROFILO ---------- */
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile-avatar { width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; font-size: 40px;
  background: var(--grad-gold); color: var(--ink); font-weight: 900; }

/* Avatar incorniciato dal medaglione d'oro (cornice su fondo nero -> blend screen) */
.avatar-medallion { position: relative; width: 120px; height: 120px; flex: 0 0 auto; display: grid; place-items: center; }
.avatar-medallion .profile-avatar { width: 82px; height: 82px; border-radius: 50%; font-size: 38px;
  background: radial-gradient(circle at 50% 36%, #1b3f86 0%, #0b1f4d 60%, #071127 100%);
  color: #fff; box-shadow: inset 0 2px 6px rgba(255,255,255,.15), inset 0 -6px 12px rgba(0,0,0,.4); z-index: 2; }
.avatar-medallion .profile-avatar__pen { z-index: 3; }
.avatar-frame { position: absolute; left: 50%; top: 50%; width: 124px; height: 124px; transform: translate(-50%,-50%);
  mix-blend-mode: screen; pointer-events: none; z-index: 1; }

/* Medaglie illustrate (Maestria) */
.medal-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.medal { text-align: center; padding: 10px 6px 12px; border-radius: 18px;
  background: var(--card-2); border: 1px solid var(--border-soft); }
.medal__disc { width: 92px; height: 92px; margin: 0 auto 6px; display: grid; place-items: center; }
.medal__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,.45)); }
.medal.is-earned { border-color: rgba(247,213,72,.4); background: rgba(247,213,72,.07); }
.medal.is-earned .medal__img { animation: medal-pop .45s cubic-bezier(.2,1.4,.5,1) both; }
.medal.is-locked .medal__img { opacity: .85; }
.medal__name { font-weight: 800; font-size: 13px; color: #fff; }
.medal__meta { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 4px; }
.medal__meta--done { color: var(--gold, #f7d548); font-weight: 800; }
.medal__bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; margin: 8px 10px 0; }
.medal__bar span { display: block; height: 100%; background: var(--grad-gold, linear-gradient(135deg,#f7d548,#ffbf00)); border-radius: 4px; }
@keyframes medal-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.reduce-motion .medal.is-earned .medal__img { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .medal.is-earned .medal__img { animation: none !important; } }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 14px; }
.badge { padding: 18px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--border-soft); text-align: center; }
.badge.is-locked { opacity: 0.4; }
.badge__icon { font-size: 36px; }
.badge__name { margin-top: 8px; font-weight: 800; font-size: 14px; }
.badge__desc { margin-top: 4px; font-size: 12px; color: rgba(255,255,255,0.7); }
/* Badge in stile medaglia metallica */
.badge__icon { width: 66px; height: 66px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 32px;
  background: radial-gradient(circle at 38% 30%, #ffe38a 0%, #f2b526 42%, #b9791a 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,.6), inset 0 -5px 10px rgba(120,70,10,.5), 0 6px 16px rgba(0,0,0,.35), 0 0 20px rgba(245,178,26,.35);
  border: 2px solid rgba(255,240,200,.5); }
.badge:nth-child(3n+2) .badge__icon { background: radial-gradient(circle at 38% 30%, #bfe0ff 0%, #4d90d8 45%, #235d97 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,.6), inset 0 -5px 10px rgba(15,50,90,.5), 0 6px 16px rgba(0,0,0,.35), 0 0 20px rgba(77,144,216,.35); border-color: rgba(210,235,255,.5); }
.badge:nth-child(3n) .badge__icon { background: radial-gradient(circle at 38% 30%, #b6f0d2 0%, #37c08a 45%, #1a7a54 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,.6), inset 0 -5px 10px rgba(10,70,45,.5), 0 6px 16px rgba(0,0,0,.35), 0 0 20px rgba(55,192,138,.35); border-color: rgba(200,255,225,.5); }
.badge.is-locked .badge__icon { background: radial-gradient(circle at 38% 30%, #6a6f7d, #33373f); box-shadow: inset 0 2px 4px rgba(255,255,255,.15), 0 4px 10px rgba(0,0,0,.3); border-color: rgba(255,255,255,.12); }
/* Badge illustrati (PNG): niente disco/gradiente, l'immagine ha già cornice e glow */
.badge__icon--img { width: 96px; height: 96px; background: none !important; box-shadow: none !important; border: 0 !important; }
.badge__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.badge.is-locked .badge__icon--img { background: none !important; box-shadow: none !important; }
.badge.is-locked .badge__img { filter: grayscale(1) brightness(.65); }

/* Anello circolare del livello (schermata premi) */
.level-ring { position: relative; width: 150px; height: 150px; margin: 20px auto 8px; }
.level-ring svg { display: block; filter: drop-shadow(0 0 12px rgba(245,178,26,.4)); }
.level-ring__prog { transition: stroke-dashoffset 1s cubic-bezier(.22,1,.36,1); }
.level-ring__c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.level-ring__c span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.6); }
.level-ring__c b { font-size: 48px; font-weight: 900; line-height: 1;
  background: linear-gradient(180deg, #ffe7a8, #f4b528); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.xp-bar { display: flex; align-items: center; gap: 12px; margin: 6px 0 2px; }
.xp-bar__badge { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #3a2600;
  background: linear-gradient(135deg, #ffd76a, #f0a013); box-shadow: 0 3px 8px rgba(240,160,20,.4), inset 0 1px 0 rgba(255,255,255,.5);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%); }
.xp-bar__meta { flex: none; font-size: 12px; font-weight: 800; color: #37d39b; }

/* ---------- MAPPA GALATTICA VERTICALE (pianeti 3D) ---------- */
.gmap-wrap { position: relative; margin-top: 10px; overflow-x: hidden; }
.gmap-stars { position: absolute; inset: -20px 0; z-index: 0; pointer-events: none; border-radius: 20px;
  background:
    radial-gradient(1px 1px at 20% 8%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 70% 16%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 30%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 85% 42%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 15% 54%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 60% 66%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 80% 92%, rgba(255,255,255,.5), transparent);
  background-repeat: repeat; }
.gmap { position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 0 auto; }
.gmap-links { position: absolute; inset: 0; z-index: 1; overflow: visible; }
.gmap-links polyline { stroke: rgba(120,180,255,.55); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; stroke-dasharray: 2 12; filter: drop-shadow(0 0 5px rgba(90,160,255,.7)); }
.gmap-node { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.gmap-planet { position: relative; width: 118px; height: 118px; border: none; background: none; padding: 0; cursor: pointer; }
/* Float solo sul pianeta corrente e sul prossimo: meno lavoro GPU = meno calore */
.gmap-node.is-here .gmap-planet, .gmap-node.is-next .gmap-planet { animation: gfloat 5.5s ease-in-out infinite; }
.gmap-planet img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform var(--t); }
.gmap-planet:hover img { transform: scale(1.06); }
.gmap-planet:active img { transform: scale(.96); }
@keyframes gfloat { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
.gmap-node.is-locked .gmap-planet img { opacity: .4; }
.gmap-node.is-next .gmap-planet::after { content: ''; position: absolute; inset: 6px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--wc), 0 0 26px var(--wc); animation: gpulse 1.6s ease-in-out infinite; }
@keyframes gpulse { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.gmap-badge { position: absolute; bottom: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; font-weight: 900; border: 2px solid rgba(255,255,255,.85); }
.gmap-badge--done { background: #36d399; color: #05321f; }
.gmap-badge--lock { background: rgba(10,14,30,.85); }
.gmap-here { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-size: 26px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); animation: gfloat 3s ease-in-out infinite; }
.gmap-label { position: absolute; top: 50%; transform: translateY(-50%); white-space: normal;
  max-width: 38vw; line-height: 1.15; pointer-events: none; }
.gmap-label--right { left: calc(100% + 8px); text-align: left; }
.gmap-label--left { right: calc(100% + 8px); text-align: right; }
.gmap-label b { display: block; font-size: 15px; font-weight: 800; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.7); }
.gmap-label span { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.72); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.gmap-node.is-locked .gmap-label b { color: rgba(255,255,255,.55); }
.gmap-hint { position: sticky; bottom: 8px; z-index: 3; text-align: center; }

/* ---------- VIAGGIO VIRTUALE (ingresso mondo) ---------- */
.wjourney {
  --wc: var(--gold);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 78vh; display: grid; place-items: center; text-align: center;
  margin: 16px auto 0; max-width: 1100px; padding: 60px 22px 80px; border-radius: var(--r-xl);
  border: 1px solid var(--border);
}
.wjourney__bg { position: absolute; inset: 0; z-index: 0; }
.wjourney__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.35;
  transform: scale(1.06); }
.wjourney__bg::after { content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--wc) 26%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(3,6,17,0.55), rgba(3,6,17,0.92)); }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }

/* alone colorato che "respira" attorno alla scena del mondo */
.wjourney::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 48% at 50% 40%, color-mix(in srgb, var(--wc) 32%, transparent), transparent 72%);
  animation: wglow 4.5s ease-in-out infinite; }
@keyframes wglow { 0%,100% { opacity: .45; } 50% { opacity: .95; } }
.reduce-motion .wjourney::before { animation: none; }
/* pianeta del mondo nella scena */
.wjourney__planet { position: relative; z-index: 2; margin: 0 auto 4px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); }

.wjourney__inner { position: relative; z-index: 2; max-width: 680px; animation: screenIn 0.6s ease; }
.wjourney__title { margin: 16px 0 0; font-size: clamp(38px,7vw,76px); font-weight: 900; letter-spacing: -2px; line-height: 1;
  color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.5); animation: titleUp 0.8s cubic-bezier(.22,1,.36,1) both; }
@keyframes titleUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.wjourney__guide { display: flex; align-items: center; gap: 16px; justify-content: center; margin: 26px auto 0; max-width: 560px; text-align: left; }
.wjourney__avatar { width: 76px; height: 76px; border-radius: 20px; object-fit: cover; flex: 0 0 auto;
  border: 2px solid var(--wc); box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: charPulse 2.6s ease-in-out infinite; }
.wjourney__lines { flex: 1; }
.wjourney__line { margin: 0 0 8px; font-size: 17px; line-height: 1.5; color: #fff;
  opacity: 0; animation: lineIn 0.7s ease forwards; animation-delay: var(--d, 0.5s); }
@keyframes lineIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

.wjourney__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px;
  opacity: 0; animation: lineIn 0.7s ease forwards 2.6s; }
.wjourney__scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 26px; color: rgba(255,255,255,.7); animation: bobArrow 1.6s ease-in-out infinite; }
@keyframes bobArrow { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* --- FX a tema --- */
.wfx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
/* onde sonore (Mondo 1) */
.wfx-waves span { position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; transform: translate(-50%,-50%);
  border: 2px solid color-mix(in srgb, var(--wc) 60%, transparent); border-radius: 50%; animation: ripple 4s ease-out infinite; }
.wfx-waves span:nth-child(2) { animation-delay: 1s; }
.wfx-waves span:nth-child(3) { animation-delay: 2s; }
.wfx-waves span:nth-child(4) { animation-delay: 3s; }
@keyframes ripple { from { width: 40px; height: 40px; opacity: .7; } to { width: 90vw; height: 90vw; opacity: 0; } }
/* battiti (Mondo 2) */
.wfx-beat span { position: absolute; bottom: 0; width: 12px; border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--wc) 70%, transparent); animation: beatBar 0.9s ease-in-out infinite; }
.wfx-beat span:nth-child(1){ left: 18%; height: 40px; animation-delay: 0s; }
.wfx-beat span:nth-child(2){ left: 34%; height: 70px; animation-delay: .15s; }
.wfx-beat span:nth-child(3){ left: 50%; height: 100px; animation-delay: .3s; }
.wfx-beat span:nth-child(4){ left: 66%; height: 70px; animation-delay: .45s; }
.wfx-beat span:nth-child(5){ left: 82%; height: 40px; animation-delay: .6s; }
@keyframes beatBar { 0%,100% { transform: scaleY(.5); opacity: .5; } 50% { transform: scaleY(1.2); opacity: .9; } }
/* pentagramma (Mondo 3) */
.wfx-staff i { position: absolute; left: 0; right: 0; height: 2px; background: color-mix(in srgb, var(--wc) 45%, transparent); }
.wfx-staff i:nth-child(1){ top: 30%; } .wfx-staff i:nth-child(2){ top: 40%; } .wfx-staff i:nth-child(3){ top: 50%; }
.wfx-staff i:nth-child(4){ top: 60%; } .wfx-staff i:nth-child(5){ top: 70%; }
.wfx-staff b { position: absolute; top: 30%; font-size: 30px; color: color-mix(in srgb, var(--wc) 80%, white 20%);
  animation: noteFly 6s linear infinite; animation-delay: var(--d, 0s); }
@keyframes noteFly { from { left: -6%; top: 64%; } 50% { top: 34%; } to { left: 104%; top: 56%; } }

@media (max-width: 640px) {
  .wjourney { min-height: 70vh; }
  .wjourney__guide { flex-direction: column; text-align: center; }
}

/* ---------- AREA GENITORI: barre competenze ---------- */
.skill { padding: 14px 16px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--border-soft); margin-bottom: 12px; }
.skill__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.skill__label { font-weight: 800; font-size: 15px; }
.skill__val { font-size: 13px; font-weight: 800; color: var(--gold); }
.skill__meta { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,0.6); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .dash-hero { grid-template-columns: 1fr; }
  .cards-3, .guides-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .cards-3, .guides-grid, .missions, .stats-grid { grid-template-columns: 1fr; }
  .home-hero__cta, .summary__actions, .call-actions { flex-direction: column; }
  .home-hero__cta .btn, .summary__actions .btn { width: 100%; }
}

/* ============================================================
   BRAWL SKIN — card "I mondi di Fully" (lista mondi)
   ============================================================ */
.worlds { display: flex; flex-direction: column; gap: 20px; }
.world {
  position: relative; overflow: hidden; border: 4px solid #160a2e; border-radius: 22px; padding: 0;
  background: linear-gradient(180deg, #1b2352, #131a45);
  box-shadow: 0 6px 0 #160a2e, 0 12px 26px rgba(0,0,0,.45);
}
.world:not(.is-locked) { box-shadow: 0 6px 0 #160a2e, 0 0 0 3px color-mix(in srgb, var(--wc, #5aa9ff) 70%, transparent), 0 14px 30px rgba(0,0,0,.5); }
.world.is-locked { filter: saturate(.7); }

/* HERO: arte grande + titolo sovrapposto + guida + numero */
.world__hero { position: relative; height: 176px; overflow: hidden; }
.world__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.world.is-locked .world__art { filter: grayscale(.5) brightness(.5); }
.world__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(9,7,28,.15) 52%, rgba(9,7,28,.92) 100%); }
.world__guide { position: absolute; left: 12px; top: 12px; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; z-index: 2;
  border: 3px solid #fff; box-shadow: 0 0 0 3px #160a2e, 0 4px 10px rgba(0,0,0,.55); background: #1b2352; }
.world__num { position: absolute; right: 12px; top: 12px; z-index: 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-family: 'Lilita One', system-ui; font-weight: 400; font-size: 23px; color: #3a2600; border: 3px solid #160a2e;
  background: linear-gradient(180deg, color-mix(in srgb, var(--wc, #ffd21e) 82%, #fff), var(--wc, #ffd21e)); box-shadow: 0 4px 0 #160a2e; }
.world__lockbig { position: absolute; right: 16px; top: 60px; z-index: 2; font-size: 36px; filter: drop-shadow(0 2px 5px rgba(0,0,0,.7)); }
.world__titlebox { position: absolute; left: 16px; right: 16px; bottom: 11px; z-index: 2; }
.world__titlebox small { display: block; font-family: 'Baloo 2', system-ui; font-weight: 800; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--wc, #ffd76a); text-shadow: 0 1px 3px rgba(0,0,0,.9); margin-bottom: 2px; }
.world__titlebox b { font-family: 'Lilita One', system-ui; font-weight: 400; font-size: 25px; line-height: 1.02; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,.9); }

/* FOOT: barra + azione */
.world__foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px 14px; flex-wrap: wrap; }
.world__stat { flex: 1; min-width: 150px; }
.world .progress { height: 12px; border: 3px solid #160a2e; border-radius: 999px; background: #0c1440; overflow: hidden; box-shadow: inset 0 2px 3px rgba(0,0,0,.5); }
.world .progress__fill { background: linear-gradient(180deg, color-mix(in srgb, var(--wc, #5aa9ff) 80%, #fff), var(--wc, #5aa9ff)); box-shadow: inset 0 2px 0 rgba(255,255,255,.4); }
.world__stat span { display: block; margin-top: 5px; font-family: 'Baloo 2', system-ui; font-weight: 800; font-size: 12px; color: #c9d4ef; }
.world .btn--primary { flex: 0 0 auto; font-family: 'Lilita One', system-ui; font-weight: 400; border: 3px solid #196b17; border-radius: 14px;
  background: linear-gradient(180deg, #7dee5a, #3fc13a); color: #fff; box-shadow: 0 5px 0 #2ea22b; -webkit-text-stroke: .5px #196b17; paint-order: stroke fill; }
.world .btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #2ea22b; }
.world.is-locked .btn--primary { background: linear-gradient(180deg, #ffe27a, #f0a713); border-color: #b9740a; box-shadow: 0 5px 0 #b9740a; color: #3a2600; }
.world__lockmsg { font-family: 'Baloo 2', system-ui; font-weight: 800; font-size: 12px; color: #9fb0e6; }
/* "Prossimamente" (mondi in arrivo) */
.world__soonbadge { position: absolute; right: 12px; top: 14px; z-index: 3; font-family: 'Lilita One', system-ui; font-weight: 400; font-size: 12px; letter-spacing: .4px; color: #fff;
  background: linear-gradient(180deg, #c56bff, #7b2ff0); border: 2.5px solid #160a2e; box-shadow: 0 3px 0 #160a2e; border-radius: 999px; padding: 5px 12px; }
.world__soon { flex: 0 0 auto; font-family: 'Lilita One', system-ui; font-weight: 400; font-size: 14px; letter-spacing: .3px; color: #d9c2ff;
  background: rgba(123,47,240,.18); border: 2.5px solid rgba(140,90,240,.55); box-shadow: 0 4px 0 rgba(74,26,158,.6); border-radius: 14px; padding: 9px 16px; }
.gmap-badge--soon { background: linear-gradient(180deg, #c56bff, #7b2ff0); color: #fff; }
.gmap-node.is-soon .gmap-label span { color: #c9a7ff; }

/* ============================================================
   DASHBOARD v2 + MAPPA — rifinitura Brawl
   ============================================================ */

/* Saluto + streak più vivaci */
.streak-chip {
  background: linear-gradient(180deg, #ff9d5c, #ff5b2e) !important;
  border: 2.5px solid #160a2e !important; box-shadow: 0 3px 0 #160a2e; color: #fff !important; font-weight: 900 !important;
}

/* Card "Prossima missione": più grande, con arte del mondo dietro */
.dash-next {
  position: relative; overflow: hidden; padding: 22px;
  border: 3px solid #160a2e; box-shadow: 0 6px 0 #160a2e, 0 12px 26px rgba(0,0,0,.4);
  background: linear-gradient(160deg, #1b2450, #0e1436);
}
.dash-next::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--art, none); background-size: cover; background-position: center;
  opacity: .3; -webkit-mask: linear-gradient(90deg, transparent 8%, #000 95%); mask: linear-gradient(90deg, transparent 8%, #000 95%);
}
.dash-next > * { position: relative; z-index: 1; }
.dash-next__top b { font-family: 'Lilita One', system-ui; font-weight: 900; }
.dash-next .btn--primary { font-family: 'Lilita One', system-ui; font-weight: 900; font-size: 18px; }

/* Azioni dashboard: bottoni ciccioni colorati (uno per funzione) */
.dash-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.dash-actions .btn {
  flex: 1 1 46%; min-width: 150px; justify-content: center; gap: 8px;
  border: 3px solid #160a2e; border-radius: 16px; font-family: 'Lilita One', system-ui; font-weight: 900;
  font-size: 16px; padding: 14px 12px; color: #fff; -webkit-text-stroke: .6px #160a2e; paint-order: stroke fill;
  box-shadow: 0 5px 0 #160a2e; transition: transform .08s ease, box-shadow .12s ease;
}
.dash-actions .btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #160a2e; }
.dash-actions .btn svg, .dash-actions .btn img { width: 20px; height: 20px; }
.dash-actions .btn[data-go="/mappa"]      { background: linear-gradient(180deg, #4fd483, #23a55a); }
.dash-actions .btn[data-go="/sfida"]       { background: linear-gradient(180deg, #ffb04d, #f5872a); }
.dash-actions .btn[data-go="/studio"]      { background: linear-gradient(180deg, #b07bff, #7c3ff0); }
.dash-actions .btn[data-go="/profilo"]     { background: linear-gradient(180deg, #ff7bb0, #e84d8a); }
.dash-actions .btn[data-go="/genitori"]    { background: linear-gradient(180deg, #54b6ff, #2f7fe0); }
.dash-actions .btn[data-go="/abbonamento"] { background: linear-gradient(180deg, #ffe27a, #f0a713); color: #3a2600; -webkit-text-stroke: 0; }

/* Pannello stato + statistiche più ciccioni */
.dash-panel { border: 3px solid #160a2e; box-shadow: 0 6px 0 #160a2e, 0 12px 26px rgba(0,0,0,.35); }
.dash-panel h3 { font-family: 'Lilita One', system-ui; font-weight: 900; }
.stat { border: 2.5px solid #160a2e; box-shadow: 0 4px 0 #160a2e; }
.stat b { font-family: 'Lilita One', system-ui; font-weight: 900; }
.dash-panel .progress { height: 14px; border: 3px solid #160a2e; box-shadow: inset 0 2px 3px rgba(0,0,0,.5); }

/* Mappa: badge lucchetto/spunta/soon in stile Brawl */
.gmap-badge { border: 2.5px solid #160a2e; box-shadow: 0 3px 0 rgba(0,0,0,.55); }
.gmap-badge--done { background: linear-gradient(180deg, #5cf08e, #23a55a); color: #05321f; }
.gmap-badge--lock { background: linear-gradient(180deg, #2b3454, #141c3c); }
.gmap-label b { font-family: 'Lilita One', system-ui; font-weight: 900; letter-spacing: .3px; }

/* Missione non superata (fallita) */
.pill--warn { background: linear-gradient(180deg, #ff9d5c, #f5602e); color: #fff; }
.summary--fail .summary__art { filter: grayscale(.25) brightness(.92); }
.summary--fail h2 { color: #ffd0b8; }
/* rimuove la vecchia striscia colorata (dead block) sopra l'hero */
.world::before { display: none !important; }
/* fallback per browser senza color-mix (WebView datati): colore pieno del mondo */
@supports not (color: color-mix(in srgb, #000, #fff)) {
  .world__num { background: var(--wc, #ffd21e) !important; }
  .world .progress__fill { background: var(--wc, #5aa9ff) !important; }
  .world:not(.is-locked) { box-shadow: 0 6px 0 #160a2e, 0 0 0 3px var(--wc, #5aa9ff), 0 14px 30px rgba(0,0,0,.5) !important; }
}
.world:not(.is-locked):first-of-type .world__hero::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--wc, #ffd21e); border-radius: 0; opacity: 0; animation: worldPulse 1.8s ease-in-out infinite; pointer-events: none; }
@keyframes worldPulse { 0%,100% { opacity: 0; } 50% { opacity: .5; } }

/* ============================================================
   BRAWL SKIN — schermata di vittoria (MISSIONE COMPLETATA)
   ============================================================ */
.summary h2 {
  font-family: 'Lilita One', system-ui; font-weight: 400; letter-spacing: .5px;
  background: linear-gradient(180deg, #fff2c0, #ffd45e 45%, #e8931a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px #5a3a05; paint-order: stroke fill; text-shadow: 0 3px 0 rgba(0,0,0,.25);
}
.summary__art { border: 4px solid #ffd21e; box-shadow: 0 0 0 4px #160a2e, 0 12px 28px rgba(0,0,0,.55); border-radius: 24px; }
.summary__stars { filter: drop-shadow(0 0 10px rgba(255,210,30,.65)); transform: scale(1.15); margin: 22px 0; }
.summary__stat {
  border: 3px solid #160a2e; border-radius: 16px;
  background: linear-gradient(180deg, #1b2352, #131a45); box-shadow: 0 5px 0 #160a2e, 0 9px 18px rgba(0,0,0,.4);
}
.summary__stat b { font-family: 'Lilita One', system-ui; font-weight: 400; }
/* stelle che "slammano" una a una (momento Supercell) */
.summary__stars .stars__item.is-on { animation: starSlam .55s cubic-bezier(.2,1.6,.4,1) both; }
.summary__stars .stars__item:nth-child(1) { animation-delay: .18s; }
.summary__stars .stars__item:nth-child(2) { animation-delay: .42s; }
.summary__stars .stars__item:nth-child(3) { animation-delay: .66s; }
@keyframes starSlam { 0% { transform: scale(3) rotate(-22deg); opacity: 0; } 60% { transform: scale(.82) rotate(4deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
.reduce-motion .summary__stars .stars__item.is-on { animation: none; }

/* schermata "chiamata" (intro missione) */
.call-gate__q { font-family: 'Lilita One', system-ui; font-weight: 400; letter-spacing: .3px; }

/* ============================================================
   BRAWL SKIN — hub missione (lista dei giochi)
   ============================================================ */
.mhub__head h2, .mhub__head .h2 { font-family: 'Lilita One', system-ui; font-weight: 400; }
.mnode__card {
  border: 4px solid #160a2e; border-radius: 16px;
  background: linear-gradient(180deg, #1b2352, #131a45);
  box-shadow: 0 5px 0 #160a2e, 0 9px 18px rgba(0,0,0,.4);
}
.mnode.is-next .mnode__card { border-color: #ffd21e; box-shadow: 0 5px 0 #b9740a, 0 9px 18px rgba(0,0,0,.4); }
.mnode.is-done .mnode__card { border-color: #2ea22b; box-shadow: 0 5px 0 #196b17, 0 9px 18px rgba(0,0,0,.4); }
.mnode__dot {
  border: 4px solid #160a2e; box-shadow: 0 4px 0 #160a2e, inset 0 3px 0 rgba(255,255,255,.32);
  background: linear-gradient(180deg, #3a4bb0, #212a6b);
}
.mnode.is-next .mnode__dot { background: linear-gradient(180deg, #ffe27a, #f0a713); color: #3a2600;
  animation: mnodePulse 1.4s ease-in-out infinite; }
.mnode.is-done .mnode__dot { background: linear-gradient(180deg, #54d69a, #2ea86f); }
@keyframes mnodePulse { 0%,100% { box-shadow: 0 4px 0 #160a2e, 0 0 0 0 rgba(255,210,30,.55); }
  50% { box-shadow: 0 4px 0 #160a2e, 0 0 0 10px rgba(255,210,30,0); } }
.mnode__tag { font-family: 'Lilita One', system-ui; font-weight: 400; }
.mnode.is-next .mnode__tag {
  color: #fff; background: linear-gradient(180deg, #7dee5a, #3fc13a); border: 3px solid #196b17;
  border-radius: 11px; box-shadow: 0 4px 0 #2ea22b; padding: 5px 14px; -webkit-text-stroke: .5px #196b17; paint-order: stroke fill;
}
.screen.mhub .progress { height: 13px; border: 3px solid #160a2e; border-radius: 999px; background: #0c1440; overflow: hidden; }
.screen.mhub .progress__fill { background: linear-gradient(180deg, #ffe27a, #ffb800); }
.screen.mhub .btn--big {
  border: 4px solid #160a2e; border-radius: 16px; font-family: 'Lilita One', system-ui; font-weight: 400;
  box-shadow: 0 6px 0 rgba(0,0,0,.45); -webkit-text-stroke: .5px #160a2e; paint-order: stroke fill;
}
