/* Una discesa verticale: ogni capitolo è una tappa di profondità, dal cielo all'abisso e ritorno in superficie. */
:root {
    --navy: #042352; /* Blu navy MM, Pantone 295 C */
    --blu: #0067b1; /* Blu MM, Pantone 2386 C */
    --ciano: #00a8e1; /* Ciano MM, Pantone 2995 C */
    --giallo: #fee050; /* Giallo MM, Pantone 113 C */
    --rosso: #dd0031; /* Rosso MM, solo accenti */
    --mare: #9fdcf6;
    --abisso: #020b1f;
    --ink: #06204a;
    --carta: #f3f8fc;
    --font-display:
        "Lilita One", "Poppins", "Arial Black", system-ui, sans-serif;
    --font-body:
        "Montserrat", "Poppins", system-ui, -apple-system, "Segoe UI", Arial,
        sans-serif;
    --r: 18px;
    --gutter: clamp(16px, 4vw, 48px);
    --nav-height: 64px;
    --alert-height: 0px;
    --hero-top-offset: 144px;
    --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
    color-scheme: light;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
[hidden] {
    display: none !important;
}
html:not(.js) .game-only {
    display: none;
}
html:not(.js) .slot .q {
    display: none;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}
html.calm {
    scroll-behavior: auto;
}
body {
    margin: 0;
    background: var(--navy);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.05vw + 11px, 18px);
    line-height: 1.6;
}
img,
video {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
}
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-wrap: balance;
    margin: 0;
}
h2 {
    font-size: clamp(2rem, 4.4vw, 3.6rem);
}
h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
}
p {
    margin: 0;
}
.lead {
    font-size: clamp(1.05rem, 1.3vw + 0.6rem, 1.35rem);
    font-weight: 500;
    max-width: 62ch;
}
.eyebrow {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.head {
    display: grid;
    gap: 1rem;
}
.wrap {
    width: min(1200px, 100% - 2 * var(--gutter));
    margin-inline: auto;
}
.prose {
    max-width: 65ch;
    display: grid;
    gap: 1rem;
}
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #fff;
    border-radius: 6px;
}
@media (forced-colors: active) {
    :focus-visible {
        outline: 3px solid Highlight;
        box-shadow: none;
    }
}
.skip {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--giallo);
    color: var(--navy);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    transition: top 0.2s;
}
.skip:focus {
    top: calc(var(--nav-height) + 12px);
}
.btn {
    --bg: var(--giallo);
    --fg: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 3px solid var(--navy);
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 0 var(--navy);
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 var(--navy);
}
.btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--navy);
}
.btn--ghost {
    --bg: #fff;
}
.btn svg {
    width: 1.1em;
    height: 1.1em;
}
.tool {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    font: 600 0.82rem var(--font-body);
    cursor: pointer;
}
.tool[aria-pressed="true"] {
    background: var(--giallo);
    color: var(--navy);
    border-color: var(--giallo);
}
.site-head {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem var(--gutter);
    background: rgba(4, 35, 83, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.brand-logos {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}
.brand-logos img {
    display: block;
    width: auto;
    height: clamp(27px, 3vw, 38px);
    object-fit: contain;
}
.brand-logos img.mz {
    height: clamp(17px, 2vw, 24px);
    padding-left: 0.8rem;
    border-left: 1px solid rgba(255, 255, 255, 0.55);
}
.site-head .calm-control {
    flex: 0 0 auto;
}
@media (max-width: 560px) {
    .site-head {
        min-height: 56px;
        gap: 0.4rem;
        padding: 0.35rem max(12px, var(--gutter));
    }
    .brand-logos {
        gap: 0.4rem;
    }
    .brand-logos img {
        height: 23px;
    }
    .brand-logos img.mz {
        height: 14px;
        padding-left: 0.4rem;
    }
    .site-head .calm-control svg {
        display: none;
    }
    .site-head .tool {
        min-height: 38px;
        padding: 0.3rem 0.45rem;
        font-size: 0.72rem;
    }
}
@media (max-height: 860px) and (min-width: 700px) {
    #inizio .logo-game-frame {
        width: min(230px, 40vw);
    }
    #inizio h1 {
        font-size: clamp(2rem, 4.4vw, 3.6rem);
    }
    #inizio .hero {
        gap: 0.8rem;
    }
}
.gauge {
    position: fixed;
    right: clamp(10px, 1.6vw, 26px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
}
.gauge ol {
    list-style: none;
    margin: 0;
    padding: 0.7rem 0.45rem;
    display: grid;
    gap: 0.15rem;
    background: var(--navy);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.gauge a {
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    text-decoration: none;
}
.gauge a::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: all 0.3s var(--ease);
}
.gauge a[aria-current="true"]::before {
    width: 14px;
    height: 14px;
    background: var(--giallo);
    box-shadow: 0 0 0 4px rgba(254, 224, 80, 0.25);
}
.gauge a span {
    position: absolute;
    right: 38px;
    white-space: nowrap;
    background: var(--navy);
    color: #fff;
    font: 700 0.78rem var(--font-body);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.25s var(--ease);
    pointer-events: none;
}
.gauge a:hover span,
.gauge a:focus-visible span {
    opacity: 1;
    transform: none;
}
.gauge .depth {
    display: block;
    text-align: center;
    color: #fff;
    font: 700 0.68rem var(--font-body);
    margin-top: 0.4rem;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: absolute;
    min-width: max-content;
    left: 50%;
    transform: translateX(-50%);
    bottom: -18px;
    white-space: pre-line;
}
@media (max-width: 900px) {
    .gauge {
        display: none;
    }
}
#fx {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
main,
footer {
    position: relative;
    z-index: 2;
}
.chapter {
    position: relative;
    padding-block: clamp(48px, 6vw, 88px);
}
.on-light {
    color: var(--ink);
}
.on-dark {
    color: #fff;
}
.on-dark .lead,
.on-dark p {
    color: #eaf4ff;
}
#inizio {
    position: relative;
    min-height: min(100svh, 980px);
    display: grid;
    align-items: end;
    padding: 96px 0 clamp(70px, 8vw, 110px);
    color: #fff;
    overflow: hidden;
    background: #79c8f2;
}
#inizio .bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#inizio .bg video,
#inizio .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#inizio .bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 35, 83, 0.15) 0%,
        rgba(4, 35, 83, 0) 30%,
        rgba(4, 35, 83, 0.35) 60%,
        rgba(4, 35, 83, 0.88) 100%
    );
}
#inizio .hero {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.1rem;
    justify-items: start;
}
#inizio .logo-game-frame {
    width: min(330px, 62vw);
}
#inizio .logo-game {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
    transform: translateY(calc(var(--hp, 0) * -60px))
        scale(calc(1 - var(--hp, 0) * 0.08));
}
#inizio h1 {
    font-size: clamp(2.2rem, 5.6vw, 4.6rem);
    text-shadow:
        0 4px 0 var(--navy),
        0 10px 30px rgba(0, 0, 0, 0.35);
}
#inizio h1 small {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 0.6rem;
}
#inizio .lead {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}
.badge-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font: 800 0.78rem var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(4, 35, 83, 0.75);
    border: 1.5px solid var(--giallo);
    color: var(--giallo);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}
.badge-soon i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--giallo);
    box-shadow: 0 0 0 0 rgba(254, 224, 80, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(254, 224, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(254, 224, 80, 0);
    }
}
.media-toggle {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(24px, 4vw, 40px);
    z-index: 3;
}
.scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}
.scroll-hint b {
    display: block;
    width: 22px;
    height: 34px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
}
.scroll-hint b::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 4px;
    height: 7px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: wheel 1.6s infinite;
}
@keyframes wheel {
    to {
        transform: translateY(10px);
        opacity: 0;
    }
}
#isola {
    background: linear-gradient(
        180deg,
        var(--mare) 0,
        var(--mare) 80%,
        #7ccdef 100%
    );
}
#isola .head {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(28px, 4vw, 48px);
}
#isola .eyebrow {
    color: var(--blu);
}
.map-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    gap: clamp(18px, 2.5vw, 32px);
    align-items: start;
}
.map {
    position: relative;
    margin: 0;
    border-radius: var(--r);
    overflow: hidden;
    border: 4px solid var(--navy);
    box-shadow: 0 10px 0 var(--navy);
    background: #3fb7e9;
}
.map img {
    width: 100%;
    height: auto;
}
.map figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(4, 35, 83, 0.82);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
}
.hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--navy);
    background: var(--giallo);
    color: var(--navy);
    font: 400 1.15rem/1 var(--font-display);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 0 var(--navy);
    transition: transform 0.3s var(--ease);
}
.hotspot::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--giallo);
    opacity: 0;
    animation: ring 2.4s infinite;
    animation-delay: var(--d, 0s);
}
@keyframes ring {
    0% {
        transform: scale(0.7);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}
.hotspot:hover,
.hotspot[aria-pressed="true"] {
    transform: translate(-50%, -50%) scale(1.15);
    background: #fff;
}
@media (max-width: 820px) {
    .map-wrap {
        grid-template-columns: 1fr;
    }
    .hotspot {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
}
#base {
    background: linear-gradient(
        180deg,
        #7ccdef 0,
        #5fbfe9 70%,
        var(--blu) 100%
    );
    padding: 0;
}
#base .head {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(26px, 3.5vw, 44px);
}
#base .eyebrow {
    color: var(--navy);
}
.base-carousel {
    display: contents;
    min-width: 0;
}
.base-carousel__arrows,
.base-carousel__pagination {
    display: none;
}
.track {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 2vw, 28px);
    padding-inline: var(--gutter);
}
.gcard {
    position: relative;
    flex: 0 0 clamp(260px, 26vw, 360px);
    background: #fff;
    border: 4px solid var(--navy);
    border-radius: 22px;
    box-shadow: 0 10px 0 var(--navy);
    padding: 16px 16px 20px;
    display: grid;
    gap: 0.7rem;
    align-content: start;
    transform: rotate(var(--rot, 0deg));
    transition:
        transform 0.4s var(--ease),
        box-shadow 0.4s var(--ease);
}
.gcard:nth-child(odd) {
    --rot: -1.4deg;
}
.gcard:nth-child(even) {
    --rot: 1.2deg;
}
.gcard:hover {
    transform: rotate(0) translateY(-8px);
    box-shadow: 0 16px 0 var(--navy);
}
.gcard .art {
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 75%, #d4f1fd 0, #fff 72%);
    display: grid;
    place-items: center;
}
.gcard .art img {
    max-width: 100%;
    max-height: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.gcard .art video,
.gcard .art img.cover {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    object-fit: contain;
}
.gcard .tag {
    justify-self: start;
    font: 800 0.7rem var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--navy);
    color: var(--giallo);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}
.gcard p {
    font-size: 0.95rem;
}
.gcard.big {
    flex-basis: clamp(300px, 40vw, 560px);
}
.gcard.big .art {
    height: 280px;
}
.motion .gcard {
    animation: bob 6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -1.1s);
}
@keyframes bob {
    50% {
        translate: 0 -8px;
    }
}
@media (max-width: 760px) {
    html.fx-soft #fx {
        opacity: 0.24;
    }
    .track {
        width: auto;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .gcard,
    .gcard.big {
        flex-basis: auto;
    }
    html.js #base .base-carousel {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        row-gap: 0.45rem;
        min-width: 0;
    }
    html.js #base .base-carousel__arrows {
        display: contents;
    }
    html.js #base .base-carousel__arrow {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: 2px solid var(--navy);
        border-radius: 50%;
        background: var(--giallo);
        color: var(--navy);
        font: 800 1.4rem/1 var(--font-body);
        cursor: pointer;
    }
    html.js #base #base-cards-prev {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        justify-self: start;
        z-index: 2;
        transform: translateX(8px);
    }
    html.js #base #base-cards-next {
        grid-column: 3;
        grid-row: 2;
        align-self: center;
        justify-self: end;
        z-index: 2;
        transform: translateX(-8px);
    }
    html.js #base .base-carousel__arrow:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }
    html.js #base .base-track-window {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    html.js #base .base-track-window::-webkit-scrollbar {
        display: none;
    }
    html.js #base .base-cards {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        gap: 0;
        padding: 8px 0 12px;
    }
    html.js #base .base-cards .gcard,
    html.js #base .base-cards .gcard.big {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        scroll-snap-align: start;
        transform: none;
        animation: none;
    }
    html.js #base .base-carousel__pagination {
        grid-column: 1 / -1;
        grid-row: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.15rem;
    }
    html.js #base .base-carousel__dot {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    html.js #base .base-carousel__dot span {
        width: 10px;
        height: 10px;
        border: 2px solid var(--navy);
        border-radius: 50%;
        background: #fff;
    }
    html.js #base .base-carousel__dot[aria-current="true"] span {
        width: 16px;
        height: 16px;
        background: var(--giallo);
        box-shadow: 0 0 0 3px #fff;
    }
    html.js #info .know-carousel {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        row-gap: 0.45rem;
        min-width: 0;
        margin-top: 1.2rem;
    }
    html.js #info .know-carousel__arrows {
        display: contents;
    }
    html.js #info .know-carousel__arrow {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: 2px solid var(--navy);
        border-radius: 50%;
        background: var(--giallo);
        color: var(--navy);
        font: 800 1.4rem/1 var(--font-body);
        cursor: pointer;
    }
    html.js #info #know-cards-prev {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        justify-self: start;
        z-index: 2;
        transform: translateX(8px);
    }
    html.js #info #know-cards-next {
        grid-column: 3;
        grid-row: 2;
        align-self: center;
        justify-self: end;
        z-index: 2;
        transform: translateX(-8px);
    }
    html.js #info .know-carousel__arrow:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }
    html.js #info .know-carousel__window {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        gap: 0;
        width: 100%;
        min-width: 0;
        margin-top: 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-block: 8px;
    }
    html.js #info .know-carousel__window::-webkit-scrollbar {
        display: none;
    }
    html.js #info .know-carousel__window .know {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        scroll-snap-align: start;
    }
    html.js #info .know-carousel__pagination {
        grid-column: 1 / -1;
        grid-row: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.15rem;
    }
    html.js #info .know-carousel__dot {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    html.js #info .know-carousel__dot span {
        width: 10px;
        height: 10px;
        border: 2px solid var(--navy);
        border-radius: 50%;
        background: #fff;
    }
    html.js #info .know-carousel__dot[aria-current="true"] span {
        width: 16px;
        height: 16px;
        background: var(--giallo);
        box-shadow: 0 0 0 3px #fff;
    }
}
#rov {
    background: linear-gradient(
        180deg,
        var(--blu) 0,
        #00559a 80%,
        #04406f 100%
    );
    padding: 0;
}
.holo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.holo .text {
    display: grid;
    gap: 1.1rem;
}
.holo .eyebrow {
    color: var(--giallo);
}
.blueprint {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 28px;
    border: 2px solid rgba(0, 168, 225, 0.7);
    background:
        linear-gradient(rgba(0, 168, 225, 0.14) 1px, transparent 1px) 0 0/28px
            28px,
        linear-gradient(90deg, rgba(0, 168, 225, 0.14) 1px, transparent 1px) 0
            0/28px 28px,
        radial-gradient(circle at 50% 50%, #0a3a7a 0, #041d47 70%);
    box-shadow:
        0 0 0 6px rgba(0, 168, 225, 0.12),
        0 0 60px rgba(0, 168, 225, 0.35) inset;
    overflow: hidden;
}
.blueprint img {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 66%;
    transform: translate(-50%, -50%) rotate(calc((1 - var(--p, 1)) * -10deg))
        scale(calc(0.82 + var(--p, 1) * 0.18));
    filter: drop-shadow(0 0 22px rgba(0, 168, 225, 0.55));
}
.blueprint .scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    top: calc(var(--p, 1) * 100%);
    background: linear-gradient(90deg, transparent, var(--ciano), transparent);
    box-shadow: 0 0 18px var(--ciano);
    opacity: 0.8;
}
.chips {
    position: absolute;
    inset: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.chips li {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font: 700 0.76rem var(--font-body);
    letter-spacing: 0.04em;
    color: #dff6ff;
    background: rgba(4, 35, 83, 0.85);
    border: 1.5px solid var(--ciano);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    opacity: clamp(0.55, calc((var(--p, 1) - var(--t)) * 8 + 0.55), 1);
    box-shadow: 0 0 14px rgba(0, 168, 225, 0.35);
    white-space: nowrap;
}
.upg {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.3rem;
}
.upg div {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 0.9rem;
}
.upg ol {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.upg li {
    flex: 1;
    height: 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}
.upg li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--giallo);
    transform-origin: left;
    transform: scaleX(clamp(0, calc((var(--p, 1) - var(--t)) * 10), 1));
}
.realbox {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--r);
    padding: 16px 18px;
    background: rgba(4, 35, 83, 0.35);
    display: grid;
    gap: 0.5rem;
}
.realbox h3 {
    color: var(--giallo);
    font-size: 1.25rem;
}
.realbox dl {
    margin: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.92rem;
}
.realbox dt {
    font-weight: 800;
    display: inline;
}
.realbox dd {
    margin: 0;
    display: inline;
}
@media (max-width: 860px) {
    .holo {
        grid-template-columns: 1fr;
    }
    .chips li {
        font-size: 0.68rem;
    }
}
#fondali {
    background: #04406f;
    padding: 0;
    color: #fff;
}
.layers {
    position: absolute;
    inset: 0;
}
.layers img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.layers .l2 {
    opacity: clamp(0, calc((var(--p, 0) - 0.28) * 8), 1);
}
.layers .l3 {
    opacity: clamp(0, calc((var(--p, 0) - 0.58) * 8), 1);
}
.layers::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 11, 31, 0.7) 0,
            rgba(2, 11, 31, 0.35) 30%,
            rgba(2, 11, 31, 0) 50%
        ),
        radial-gradient(
            ellipse at 50% 40%,
            rgba(2, 11, 31, 0) 0,
            rgba(2, 11, 31, calc(0.35 + var(--p, 0) * 0.45)) 75%
        );
}
.diver {
    position: absolute;
    right: clamp(150px, 14vw, 230px);
    bottom: clamp(40px, 8vh, 90px);
    width: clamp(200px, 24vw, 340px);
    aspect-ratio: 1/1;
    z-index: 2;
}
.diver .cam {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--giallo);
    box-shadow:
        0 0 0 5px var(--navy),
        0 0 40px rgba(0, 168, 225, 0.5);
}
.diver video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.diver .rec {
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
    background: var(--navy);
    color: #fff;
    font: 800 0.7rem var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1.5px solid var(--giallo);
}
.diver .rec::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rosso);
    margin-right: 0.45rem;
    animation: pulse 1.6s infinite;
}
.sonar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    border: 2px solid rgba(0, 168, 225, 0.9);
    animation: ping 2.6s infinite;
    pointer-events: none;
}
.sonar.s2 {
    animation-delay: 1.3s;
}
@keyframes ping {
    from {
        transform: scale(0.4);
        opacity: 0.9;
    }
    to {
        transform: scale(7);
        opacity: 0;
    }
}
@keyframes sway {
    50% {
        translate: 0 14px;
        rotate: 2deg;
    }
}
.steps {
    position: relative;
    z-index: 3;
    display: grid;
    gap: clamp(18px, 3vw, 28px);
    width: min(540px, 100% - 2 * var(--gutter));
    margin-left: var(--gutter);
}
.step {
    background: rgba(2, 11, 31, 0.72);
    border: 1.5px solid rgba(0, 168, 225, 0.55);
    border-radius: var(--r);
    padding: clamp(16px, 2.2vw, 26px);
    display: grid;
    gap: 0.6rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.step .lvl {
    font: 800 0.74rem var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--giallo);
}
.fondali-head {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 1rem;
    width: min(640px, 100% - 2 * var(--gutter));
    margin: 0 0 26px var(--gutter);
}
.fondali-head .eyebrow {
    color: var(--giallo);
}
.depthbar {
    position: absolute;
    z-index: 3;
    right: clamp(60px, 5.5vw, 90px);
    top: 22%;
    bottom: 22%;
    width: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
}
.depthbar::after {
    content: "";
    position: absolute;
    left: -5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: calc(var(--p, 0) * 100% - 8px);
    background: var(--giallo);
    box-shadow: 0 0 14px var(--giallo);
}
.depthbar span {
    position: absolute;
    right: 18px;
    text-align: right;
    white-space: nowrap;
    font: 700 0.72rem var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cfeaff;
    transform: translateY(-50%);
}
@media (max-width: 900px) {
    .depthbar {
        display: none;
    }
    .diver {
        display: none;
    }
}
.ops {
    background: linear-gradient(180deg, #03315a 0, #032a52 100%);
    color: #fff;
}
.ops .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 26px;
}
.op {
    border: 1.5px solid rgba(0, 168, 225, 0.55);
    border-radius: var(--r);
    padding: 18px;
    background: rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 0.5rem;
}
.op svg {
    width: 40px;
    height: 40px;
    color: var(--giallo);
}
#codex {
    background: linear-gradient(
        180deg,
        #032a52 0,
        var(--navy) 40%,
        #03173a 100%
    );
    color: #fff;
}
#codex .head {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(26px, 4vw, 44px);
}
#codex .eyebrow {
    color: var(--giallo);
}
.codex-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(22px, 3.5vw, 48px);
    align-items: start;
}
.porthole {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: clamp(14px, 2.2vw, 24px);
    background: radial-gradient(
        circle at 35% 30%,
        #ffe98a 0,
        #f2c230 45%,
        #c8920c 100%
    );
    box-shadow:
        0 0 0 5px var(--navy),
        0 18px 0 rgba(0, 0, 0, 0.25),
        0 0 60px rgba(254, 224, 80, 0.25);
}
.porthole .bolt {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff7c8, #b37f08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    left: calc(50% + 47% * cos(var(--a)) - 7px);
    top: calc(50% + 47% * sin(var(--a)) - 7px);
}
.glass {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--navy);
    background: url(../img/reef-3-800.webp) center/cover;
}
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 30%,
        rgba(0, 168, 225, 0.15),
        rgba(2, 11, 31, 0.55) 75%
    );
    z-index: 1;
}
.glass::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at 30% 20%,
        rgba(255, 255, 255, 0.28),
        rgba(255, 255, 255, 0) 40%
    );
    z-index: 6;
    pointer-events: none;
}
.claw {
    position: absolute;
    top: -4%;
    left: var(--cx, 50%);
    z-index: 4;
    width: 84px;
    transform: translateX(-50%);
    transition: left 0.45s var(--ease);
}
.claw .cable {
    width: 4px;
    margin: 0 auto;
    height: 60px;
    background: repeating-linear-gradient(180deg, #222 0 6px, #555 6px 9px);
    transition: height 0.7s var(--ease);
}
.claw svg {
    display: block;
    width: 84px;
    height: auto;
    margin-top: -2px;
}
.claw .jaw {
    transition: transform 0.35s var(--ease);
    transform-origin: 42px 30px;
}
.claw.closed .jaw.l {
    transform: rotate(14deg);
}
.claw.closed .jaw.r {
    transform: rotate(-14deg);
}
.crates {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 15%;
    height: 24%;
    z-index: 3;
}
.crate {
    position: absolute;
    bottom: 0;
    left: var(--x);
    width: 16%;
    aspect-ratio: 1/1;
    transform: translateX(-50%);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    animation: bob 4s ease-in-out infinite;
}
.crate:nth-child(2) {
    animation-delay: -1s;
}
.crate:nth-child(3) {
    animation-delay: -2s;
}
.crate:nth-child(4) {
    animation-delay: -3s;
}
.crate:nth-child(5) {
    animation-delay: -1.5s;
}
.crate .box {
    position: absolute;
    inset: 0;
    border-radius: 10%;
    background: linear-gradient(180deg, #0c3a78, var(--navy));
    border: 3px solid #021530;
    box-shadow:
        inset 0 0 0 4px rgba(254, 224, 80, 0.85),
        0 6px 0 rgba(0, 0, 0, 0.35);
}
.crate .box::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 42%;
    height: 16%;
    background: var(--giallo);
}
.crate .box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30%;
    height: 30%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--rosso);
    border: 3px solid #fff;
    border-radius: 4px;
}
.crate[disabled] {
    opacity: 0.25;
    cursor: default;
    animation: none;
}
.crate.lifted {
    transition: bottom 0.7s var(--ease);
    bottom: var(--lift, 230%);
}
.burst {
    position: absolute;
    left: 50%;
    top: 44%;
    z-index: 5;
    width: 44%;
    aspect-ratio: 1/1;
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(254, 224, 80, 0.95) 0,
        rgba(254, 224, 80, 0.4) 35%,
        rgba(254, 224, 80, 0) 70%
    );
}
.burst.on {
    animation: burst 1s var(--ease) forwards;
}
@keyframes burst {
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 22px;
}
.controls .btn {
    font-size: 1rem;
}
.reveal-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: center;
    background: #fff;
    color: var(--ink);
    border: 4px solid var(--navy);
    border-radius: var(--r);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
    padding: 14px;
    min-height: 126px;
}
.on-dark .reveal-card p {
    color: var(--ink);
}
.reveal-card img {
    width: 96px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
}
.reveal-card .rar {
    justify-self: start;
    font: 800 0.7rem var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--rc, #cfd8e3);
    color: var(--navy);
}
.reveal-card.pop {
    animation: pop 0.5s var(--ease);
}
.codex-side {
    display: grid;
    gap: 18px;
}
.codex-slots {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.slot {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 14px;
    border: 3px solid #7fd6ff;
    background: linear-gradient(180deg, #0a4b9b, #063574);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.12);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.slot .q {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: 400 2.4rem var(--font-display);
    color: #bfeaff;
    background: linear-gradient(180deg, #0a4b9b, #063574);
    transition: opacity 0.4s;
}
.slot.found .q {
    opacity: 0;
}
.slot .nm {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font: 700 0.68rem var(--font-body);
    text-align: center;
    background: rgba(4, 35, 83, 0.85);
    color: #fff;
    padding: 0.2rem;
}
.no-game .game-only {
    display: none;
}
@media (max-width: 900px) {
    .codex-grid {
        grid-template-columns: 1fr;
    }
    .porthole {
        max-width: 520px;
        margin-inline: auto;
        width: 100%;
    }
}
#abisso {
    background: var(--abisso);
    color: #fff;
    overflow: hidden;
}
#abisso .head {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(26px, 4vw, 44px);
    position: relative;
    z-index: 2;
}
#abisso .eyebrow {
    color: var(--rosso);
    filter: brightness(1.6);
}
.abyss-stage {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/8;
    min-height: 320px;
    background: #01050f;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    --mx: 50%;
    --my: 50%;
}
.abyss-stage .dark {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.eyes-glow {
    position: absolute;
    left: 46.2%;
    top: 55.3%;
    width: 7%;
    aspect-ratio: 2/1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        rgba(255, 30, 70, 0.55) 0,
        rgba(255, 30, 70, 0) 70%
    );
    animation: glow 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes glow {
    0%,
    100% {
        opacity: 0.35;
    }
    50% {
        opacity: 1;
    }
}
.abyss-stage .lit {
    position: absolute;
    inset: 0;
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4%;
    padding: 4% 6%;
    background: radial-gradient(ellipse at 50% 60%, #0b2b55 0, #020b1f 70%);
}
.js.motion .abyss-stage .lit {
    display: grid;
}
.abyss-stage .lit img {
    width: 100%;
    height: auto;
}
.js.motion .abyss-stage .lit {
    -webkit-mask-image: radial-gradient(
        circle clamp(120px, 16vw, 220px) at var(--mx) var(--my),
        #000 35%,
        transparent 72%
    );
    mask-image: radial-gradient(
        circle clamp(120px, 16vw, 220px) at var(--mx) var(--my),
        #000 35%,
        transparent 72%
    );
}
.abyss-stage .hint {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 3;
    font: 700 0.8rem var(--font-body);
    color: #cfe3ff;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
}
.creatures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.creature {
    border: 1.5px solid rgba(221, 0, 49, 0.5);
    border-radius: var(--r);
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 0.5rem;
}
.creature h3 {
    color: #ffd2dc;
}
.creature img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}
#gioca {
    background: linear-gradient(
        180deg,
        #03173a 0,
        var(--blu) 30%,
        var(--ciano) 100%
    );
    color: #fff;
}
#gioca .eyebrow {
    color: var(--giallo);
}
.gioca-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.loop-wrap {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
}
.loop {
    position: absolute;
    inset: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: s;
}
.loop-wrap::before {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 4px dashed rgba(255, 255, 255, 0.6);
}
.loop-wrap .center {
    position: absolute;
    inset: 32%;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 0 var(--navy);
    border: 4px solid var(--navy);
}
.loop-wrap .center img {
    width: 84%;
    height: auto;
}
.loop li {
    position: absolute;
    left: calc(50% + 38% * cos(var(--a)));
    top: calc(50% + 38% * sin(var(--a)));
    transform: translate(-50%, -50%);
    width: clamp(74px, 19vw, 128px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--navy);
    border: 4px solid #fff;
    display: grid;
    place-items: center;
    text-align: center;
    font: 400 clamp(0.74rem, 1.2vw, 1.05rem) var(--font-display);
    letter-spacing: 0.02em;
    transition: all 0.45s var(--ease);
    counter-increment: s;
}
.loop li::before {
    content: counter(s);
    position: absolute;
    top: -10px;
    right: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--giallo);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    border: 2.5px solid var(--navy);
}
.loop li.on {
    background: var(--giallo);
    color: var(--navy);
    transform: translate(-50%, -50%) scale(1.14);
    border-color: var(--navy);
}
.facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.45rem 1rem;
    margin: 0;
    background: rgba(4, 35, 83, 0.45);
    border-radius: var(--r);
    padding: 18px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.facts dt {
    font-weight: 800;
}
.facts dd {
    margin: 0;
}
.ranks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ranks li {
    font: 700 0.75rem var(--font-body);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
@media (max-width: 860px) {
    .gioca-grid {
        grid-template-columns: 1fr;
    }
}
.cards4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 30px;
}
#info {
    background: linear-gradient(
        180deg,
        var(--ciano) 0,
        #bfeafb 22%,
        #eaf7fd 100%
    );
}
.know {
    background: #fff;
    border-radius: var(--r);
    border: 3px solid var(--navy);
    box-shadow: 0 7px 0 var(--navy);
    padding: 20px;
    display: grid;
    gap: 0.6rem;
    align-content: start;
}
.know .tag {
    font: 800 0.7rem var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blu);
}
.know p {
    font-size: 0.95rem;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 30px;
}
.know-carousel {
    display: contents;
}
.know-carousel__arrows,
.know-carousel__pagination {
    display: none;
}
#faq {
    background: var(--carta);
}
#faq .eyebrow {
    color: var(--blu);
}
.faq {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    max-width: 860px;
}
.faq details {
    background: #fff;
    border: 2px solid #cfe1f0;
    border-radius: 14px;
    padding: 0 18px;
}
.faq details[open] {
    border-color: var(--blu);
}
.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 16px 0;
    font-weight: 700;
    font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: "+";
    font: 400 1.6rem var(--font-display);
    color: var(--blu);
    transition: transform 0.3s;
}
.faq details[open] summary::after {
    transform: rotate(45deg);
}
.faq details p {
    padding: 0 0 16px;
    max-width: 70ch;
}
.stand {
    margin-top: clamp(36px, 5vw, 64px);
    display: grid;
    gap: 18px;
}
.stand-head {
    display: grid;
    gap: 0.6rem;
    max-width: 70ch;
}
.stand-head h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.stand-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
    align-items: start;
}
.stand-stage {
    margin: 0;
    background: radial-gradient(
        ellipse at 50% 40%,
        #16305f 0,
        #0a1a3a 60%,
        #061229 100%
    );
    border-radius: 22px;
    border: 4px solid var(--navy);
    box-shadow: 0 10px 0 rgba(4, 35, 83, 0.35);
    overflow: hidden;
    touch-action: pan-y;
}
.stand-stage svg {
    display: block;
    width: 100%;
    height: auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.stand-stage svg:active {
    cursor: grabbing;
}
.stand-stage figcaption {
    color: #cfe0f5;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    background: rgba(0, 0, 0, 0.25);
}
.stand-visual {
    position: relative;
}
.stand-pin {
    position: absolute;
    z-index: 2;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 3px solid var(--navy);
    border-radius: 50%;
    background: var(--giallo);
    color: var(--navy);
    font: 400 1rem var(--font-display);
    cursor: pointer;
    box-shadow: 0 4px 0 var(--navy);
    touch-action: manipulation;
}
.stand-pin[aria-expanded="true"] {
    background: #fff;
    outline: 3px solid var(--giallo);
    outline-offset: 2px;
    z-index: 3;
}
.stand-pin:focus-visible {
    z-index: 4;
}
.stand-info {
    min-height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.stand-hint {
    color: #cfe0f5;
    text-align: center;
    font-size: 0.92rem;
}
.stand-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    width: min(560px, 100%);
    padding: 1rem;
    background: #fff;
    color: var(--ink);
    border: 3px solid var(--navy);
    border-radius: 16px;
    box-shadow: 0 6px 0 var(--navy);
}
.stand-card > div {
    min-width: 0;
}
.stand-card h4 {
    margin: 0 0 0.4rem;
    font: 400 1.3rem var(--font-display);
}
.stand-card p {
    font-size: 0.92rem;
}
@media (max-width: 680px) {
    .stand-info {
        min-height: 0;
        padding: 0.35rem 0.75rem 0.75rem;
    }
    .stand-hint {
        margin: 0;
    }
    .stand-pin {
        width: 28px;
        height: 28px;
        border-width: 2px;
        font-size: 0.9rem;
    }
    .stand-card {
        padding: 0.7rem;
    }
}
footer {
    background: var(--navy);
    color: #dbe9f7;
    padding: 56px 0 80px;
    font-size: 0.92rem;
}
footer .cols {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
}
footer .logos {
    display: grid;
    gap: 18px;
    justify-items: start;
}
footer img {
    height: 54px;
    width: auto;
}
footer img.mz {
    height: 30px;
}
footer a {
    color: #fff;
}
footer ul {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
}
@media (max-width: 700px) {
    footer .cols {
        grid-template-columns: 1fr;
    }
}
dialog.teaser {
    width: min(1000px, 94vw);
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
dialog.teaser::backdrop {
    background: rgba(2, 11, 31, 0.82);
}
dialog.teaser .bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}
dialog.teaser video {
    width: 100%;
    height: auto;
    background: #000;
}
dialog.teaser details {
    padding: 12px 16px 18px;
    font-size: 0.92rem;
}
.pre {
    opacity: 0;
    translate: 0 18px;
}
.in {
    opacity: 1;
    translate: none;
    transition:
        opacity 0.5s var(--ease),
        translate 0.5s var(--ease);
}
html.calm *,
html.calm *::before,
html.calm *::after {
    animation: none !important;
    transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
@media print {
    .site-head,
    .gauge,
    #fx {
        display: none;
    }
}
:root {
    --content-width: 1200px;
}
main > section {
    scroll-margin-top: calc(var(--nav-height) + var(--alert-height) + 1rem);
}
.chapter {
    padding-block: clamp(36px, 4vw, 64px);
}
#inizio {
    min-height: min(100svh, 900px);
    padding: calc(var(--hero-top-offset) + 1rem) 0 clamp(56px, 7vw, 80px);
}
#inizio .hero {
    gap: 0.8rem;
}
.chapter-content {
    padding-block: clamp(48px, 6vw, 80px);
}
.chapter-content .head {
    margin-bottom: clamp(24px, 3vw, 40px);
}
.launch-alert {
    position: fixed;
    inset: var(--nav-height) 0 auto;
    z-index: 49;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 56px;
    padding: 0.7rem var(--gutter);
    border: 0;
    border-bottom: 2px solid var(--navy);
    border-radius: 0;
    background: var(--giallo);
    color: var(--navy);
    font-size: clamp(0.86rem, 1.25vw, 1.05rem);
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        opacity 0.24s ease,
        transform 0.24s ease;
}
.launch-alert:hover {
    background: #f9d83d;
}
.launch-alert span {
    flex: 0 0 auto;
}
.launch-alert.is-dismissed {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}
.calm-control {
    justify-self: start;
}
#isola .head {
    margin-bottom: 1.25rem;
}
.map-wrap--single {
    display: block;
    position: relative;
}
.map {
    width: 100%;
    aspect-ratio: 16/9;
}
.map > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hotspot {
    width: 44px;
    height: 44px;
}
@media (max-width: 820px) {
    .hotspot {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}
.place-card {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    width: min(560px, calc(100% - 28px));
    max-height: 48%;
    overflow: auto;
    padding: 1rem;
    background: #fff;
    color: var(--ink);
    border: 3px solid var(--navy);
    border-radius: 16px;
    box-shadow: 0 6px 0 var(--navy);
}
.hotspot:focus-visible {
    z-index: 6;
}
.place-card h3 {
    margin: 0 0 0.4rem;
}
.place-card p {
    font-size: 0.92rem;
}
.place-close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 2px solid var(--navy);
    border-radius: 50%;
    background: var(--giallo);
    color: var(--navy);
    font: 700 1.5rem/1 var(--font-body);
    cursor: pointer;
}
.base-scene {
    position: relative;
    width: 100%;
    min-width: 0;
    --p: 0;
    --shift: 0;
    --h: auto;
}
#base .stage {
    position: relative;
    padding: clamp(56px, 6vw, 90px) 0 clamp(48px, 6vw, 80px);
    overflow: hidden;
}
.base-scroll #base .base-scene {
    height: var(--h);
}
.base-scroll #base .stage {
    position: sticky;
    top: calc(var(--nav-height) + var(--alert-height));
    height: calc(100svh - var(--nav-height) - var(--alert-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(18px, 7vh, 70px) clamp(12px, 3vh, 30px);
}
.base-scroll #base .stage > .wrap {
    box-sizing: border-box;
    width: min(1200px, calc(100vw - 2 * var(--gutter)));
    margin: 0 auto clamp(16px, 2vw, 24px);
}
.base-scroll #base .base-cards {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    padding: 22px var(--gutter) 18px;
    will-change: transform;
    transform: translateX(calc(var(--p, 0) * var(--shift, 0) * -1px));
}
.base-scroll #base .base-cards .gcard {
    flex: 0 0 clamp(260px, 26vw, 360px);
    min-width: 0;
    transform: rotate(var(--rot, 0deg));
}
.base-scroll #base .base-cards .gcard:hover {
    transform: rotate(0) translateY(-8px);
}
.base-scroll #base .base-cards .gcard.big {
    flex-basis: clamp(300px, 40vw, 560px);
}
@media (max-height: 900px) and (min-width: 761px) {
    .base-scroll #base .stage {
        padding-block: 8px;
    }
    .base-scroll #base .stage > .wrap {
        margin-bottom: 8px;
    }
}
.base-scroll.base-cards-only #base .stage {
    position: relative;
    top: auto;
    display: block;
    height: 100%;
    overflow: visible;
    padding: 8px 0 0;
}
.base-scroll.base-cards-only #base .base-track-window {
    position: sticky;
    top: calc(var(--nav-height) + var(--alert-height));
    width: 100%;
    overflow: hidden;
}
.rov-annotated {
    min-width: 0;
    max-width: 920px;
    margin-inline: auto;
}
.rov-annotated .blueprint {
    display: flex;
    flex-direction: column;
}
.rov-canvas {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
}
.rov-annotated .rov-canvas img {
    top: 50%;
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 88%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 24px rgba(0, 168, 225, 0.35));
}
.rov-pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border: 3px solid var(--navy);
    border-radius: 50%;
    background: var(--giallo);
    color: var(--navy);
    font: 800 1.5rem/1 var(--font-body);
    cursor: pointer;
    box-shadow: 0 4px 0 var(--navy);
}
html:not(.js) .rov-pin {
    display: none;
}
.rov-pin[aria-expanded="true"] {
    background: #fff;
    outline: 3px solid var(--giallo);
    outline-offset: 3px;
}
.rov-part-panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: min(100%, 620px);
    margin: 1rem auto 0;
    padding: 1rem 1.2rem;
    border: 2px solid var(--ciano);
    border-radius: var(--r);
    background: #03173a;
    color: #fff;
}
.rov-part-panel h3 {
    color: var(--giallo);
    margin-bottom: 0.3rem;
}
.blueprint .rov-part-panel {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    left: 10px;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.35;
}
.blueprint .rov-part-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}
.loop-wrap--rov {
    max-width: 920px;
}
.loop-wrap--rov .blueprint {
    position: absolute;
    inset: 25%;
    aspect-ratio: auto;
}
.loop-wrap--rov::before {
    inset: 9%;
}
.loop-wrap--rov .loop {
    pointer-events: none;
}
.loop-wrap--rov .loop li {
    left: calc(50% + 41% * cos(var(--a)));
    top: calc(50% + 41% * sin(var(--a)));
    width: clamp(86px, 10vw, 120px);
    padding: 0.5rem;
}
.rov-support {
    margin-top: 1rem;
    font-weight: 700;
    text-align: center;
}
.rov-tech {
    margin-top: 1.5rem;
}
.rov-tech dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.rov-tech dl > div {
    display: grid;
    gap: 0.3rem;
}
.layers {
    z-index: 0;
    overflow: hidden;
}
.fondali-content {
    position: relative;
    z-index: 1;
}
#fondali {
    position: relative;
    isolation: isolate;
    overflow: clip;
}
#fondali .layers {
    opacity: 0.22;
    --p: 1;
}
.fondali-scene {
    position: relative;
    --p: 0;
}
.fondali-stage {
    position: relative;
}
#fondali .diver,
#fondali .depthbar {
    display: none;
}
.fondali-follow {
    padding-top: 0;
}
.biome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-block: 1.5rem;
}
.biome {
    padding: 1.2rem;
    border: 1.5px solid rgba(0, 168, 225, 0.55);
    border-radius: var(--r);
    background: rgba(2, 11, 31, 0.82);
    backdrop-filter: blur(4px);
}
.biome .eyebrow {
    color: var(--giallo);
    margin-bottom: 0.35rem;
}
.biome h3 {
    margin-bottom: 0.55rem;
}
.biome p:last-child {
    font-size: 0.94rem;
}
.fondali-scroll #fondali .fondali-scene {
    height: 230svh;
}
.fondali-scroll #fondali .fondali-stage {
    position: sticky;
    top: calc(var(--nav-height) + var(--alert-height));
    height: calc(100svh - var(--nav-height) - var(--alert-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-block: clamp(16px, 3vh, 32px);
}
.fondali-scroll #fondali .layers {
    opacity: 1;
    --p: inherit;
}
.fondali-scroll #fondali .fondali-content {
    padding-block: 0;
}
.fondali-scroll #fondali .fondali-content .head {
    width: min(560px, 56%);
    margin-bottom: clamp(16px, 3vh, 28px);
}
.fondali-scroll #fondali .biome-grid {
    grid-template-columns: 1fr;
    width: min(540px, 56%);
    margin: 0;
}
.fondali-scroll #fondali .biome {
    grid-area: 1/1;
    pointer-events: none;
}
.fondali-scroll #fondali .biome:nth-child(1) {
    opacity: clamp(0, calc(1 - (var(--p, 0) - 0.3) * 10), 1);
}
.fondali-scroll #fondali .biome:nth-child(2) {
    opacity: min(
        clamp(0, calc((var(--p, 0) - 0.3) * 10), 1),
        clamp(0, calc(1 - (var(--p, 0) - 0.6) * 10), 1)
    );
}
.fondali-scroll #fondali .biome:nth-child(3) {
    opacity: clamp(0, calc((var(--p, 0) - 0.6) * 10), 1);
}
.fondali-scroll #fondali .diver,
.fondali-scroll #fondali .depthbar {
    display: block;
}
.fondali-scroll #fondali .depthbar {
    left: clamp(36px, 16vw, 180px);
    right: clamp(80px, 24vw, 250px);
    top: clamp(16px, 3vh, 28px);
    bottom: auto;
    width: auto;
    height: 4px;
    border-radius: 999px;
}
.fondali-scroll #fondali .depthbar::after {
    left: calc(var(--p, 0) * 100%);
    top: 50%;
    transform: translate(-50%, -50%);
}
.fondali-scroll #fondali .depthbar span {
    top: 10px;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
}
.fondali-scroll #fondali .depthbar span:first-child {
    left: 0;
    transform: none;
    text-align: left;
}
.fondali-scroll #fondali .depthbar span:nth-child(2) {
    left: 50%;
}
.fondali-scroll #fondali .depthbar span:last-child {
    left: 100%;
    transform: translateX(-100%);
    text-align: right;
}
.fondali-scroll #fondali .fondali-follow {
    padding-top: clamp(48px, 6vw, 80px);
}
.abyss-intro {
    margin-top: 1.5rem;
}
.abyss-intro h3 {
    color: var(--giallo);
    margin-bottom: 0.4rem;
}
.creatures {
    margin-top: 1rem;
}
.codex-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.8rem;
    padding: 1.1rem 1.3rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--r);
    background: rgba(4, 35, 83, 0.58);
}
.wishlist-section {
    scroll-margin-top: calc(var(--nav-height) + 1rem);
    background: linear-gradient(
        180deg,
        var(--ciano),
        #bfeafb 22%,
        #eaf7fd 100%
    );
}
.wishlist-section .head {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}
.wishlist-section .head .lead {
    margin-inline: auto;
}
.wishlist-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem 1rem;
    align-items: center;
    width: min(100%, 760px);
    margin: 1.25rem auto 0;
    justify-items: flex-start;
    padding: clamp(18px, 3vw, 30px);
    border: 3px solid var(--navy);
    border-radius: var(--r);
    background: #fff;
    box-shadow: 0 8px 0 var(--navy);
}
.wishlist-form label {
    grid-column: 1/-1;
    font-weight: 800;
}
.wishlist-form input {
    width: 100%;
    min-height: 52px;
    padding: 0.7rem 0.9rem;
    border: 2px solid #53677d;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.wishlist-form input:focus-visible {
    outline: 3px solid var(--blu);
    outline-offset: 2px;
}
.wishlist-form .form-note,
.wishlist-form .form-error,
.wishlist-form .form-status,
.privacy-link,
.privacy-placeholder {
    grid-column: 1/-1;
}
.form-note,
.privacy-placeholder {
    font-size: 0.86rem;
}
.privacy-placeholder {
    padding: 0.75rem;
    border-left: 4px solid var(--blu);
    background: #eef6fc;
}
.form-error {
    color: #9e0024;
    font-weight: 700;
}
.form-status {
    font-weight: 700;
}
.wishlist-form [aria-busy="true"] {
    cursor: progress;
    opacity: 0.75;
}
.wishlist-form button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
.privacy-link,
.faq-cta {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.mgw-event {
    padding-block: clamp(28px, 4vw, 48px);
    background: var(--giallo);
    color: var(--navy);
}
.mgw-event-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: center;
}
.mgw-event-copy .eyebrow {
    font-weight: 800;
}
.mgw-event-copy h2 {
    margin-block: 0.45rem 1rem;
}
.event-date {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
}
.event-date time {
    color: var(--giallo);
    font: 400 clamp(2rem, 4vw, 3rem) var(--font-display);
}
.faq {
    max-width: 900px;
}
.faq-cta {
    display: inline-flex;
    margin: 0 0 1rem;
}
@media (max-width: 900px) {
    .gauge {
        display: none;
    }
    .mgw-event-copy {
        grid-template-columns: 1fr;
    }
    .loop-wrap--rov {
        aspect-ratio: auto;
        display: grid;
        gap: 1.25rem;
        max-width: 520px;
    }
    .loop-wrap--rov::before {
        display: none;
    }
    .loop-wrap--rov .blueprint {
        position: relative;
        inset: auto;
        aspect-ratio: auto;
    }
    .loop-wrap--rov .rov-canvas {
        flex: none;
        aspect-ratio: 1/1;
    }
    .loop-wrap--rov .loop {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
    .loop-wrap--rov .loop li,
    .loop-wrap--rov .loop li.on {
        position: static;
        transform: none;
        width: auto;
        min-width: 0;
        min-height: 56px;
        aspect-ratio: auto;
        border-radius: 14px;
        display: flex;
        justify-content: flex-start;
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: 0.9rem;
        text-align: left;
    }
    .loop-wrap--rov .loop li::before {
        position: static;
        flex: 0 0 28px;
    }
}
@media (max-width: 680px) {
    :root {
        --nav-height: 56px;
        --hero-top-offset: 160px;
    }
    #inizio {
        min-height: 100svh;
        padding-top: calc(var(--hero-top-offset) + 0.75rem);
    }
    #inizio .logo-game-frame {
        width: min(250px, 58vw);
    }
    .launch-alert {
        min-height: 64px;
        padding: 0.65rem 14px;
        font-size: 0.86rem;
        line-height: 1.35;
    }
    .hero-ctas {
        width: 100%;
        align-items: stretch;
    }
    .hero-ctas .btn {
        justify-content: center;
        flex: 1 1 100%;
    }
    .media-toggle {
        right: var(--gutter);
        bottom: 14px;
    }
    .map {
        aspect-ratio: 16/9;
    }
    .map > img {
        object-position: center;
    }
    .map figcaption {
        left: auto;
        right: 10px;
    }
    .place-card {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        max-height: none;
        overflow: visible;
        margin-top: 0.9rem;
        padding: 0.7rem;
    }
    .place-card[hidden] {
        display: none;
    }
    .hotspot {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .biome-grid {
        grid-template-columns: 1fr;
    }
    .rov-tech dl {
        grid-template-columns: 1fr;
    }
    .wishlist-form {
        grid-template-columns: 1fr;
    }
    .wishlist-form .btn {
        width: 100%;
        justify-content: center;
    }
    .stand-stage {
        border-width: 2px;
    }
    .rov-pin {
        width: 32px;
        height: 32px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .launch-alert,
    .gauge a::before {
        transition: none !important;
    }
}

/* Regole prima inline e attributi stile estratti in classi dedicate */
.hotspot--hangar {
    --x: 31%;
    --y: 45%;
    --d: 0s;
}
.hotspot--missioni {
    --x: 37%;
    --y: 40%;
    --d: 0.3s;
}
.hotspot--negozio {
    --x: 30%;
    --y: 25%;
    --d: 0.6s;
}
.hotspot--pizzeria {
    --x: 21%;
    --y: 33%;
    --d: 0.9s;
}
.hotspot--decollo {
    --x: 66%;
    --y: 58%;
    --d: 1.2s;
}
.hotspot--dea {
    --x: 57%;
    --y: 22%;
    --d: 1.5s;
}
.hotspot--borgo {
    --x: 46%;
    --y: 64%;
    --d: 1.8s;
}
.hotspot--moli {
    --x: 13%;
    --y: 80%;
    --d: 2.1s;
}
.rov-pin--sonar {
    --x: 49%;
    --y: 56%;
}
.rov-pin--propulsori {
    --x: 50%;
    --y: 73%;
}
.rov-pin--braccio {
    --x: 18%;
    --y: 90%;
}
.rov-pin--stiva {
    --x: 30%;
    --y: 44%;
}
.rov-pin--fari {
    --x: 24%;
    --y: 73%;
}
.rov-pin--cavo {
    --x: 54%;
    --y: 20%;
}
.loop__step--immersione {
    --a: -90deg;
}
.loop__step--esplorazione {
    --a: -18deg;
}
.loop__step--recupero {
    --a: 54deg;
}
.loop__step--base {
    --a: 126deg;
}
.loop__step--potenziamento {
    --a: 198deg;
}
.porthole__bolt--1 {
    --a: 0deg;
}
.porthole__bolt--2 {
    --a: 45deg;
}
.porthole__bolt--3 {
    --a: 90deg;
}
.porthole__bolt--4 {
    --a: 135deg;
}
.porthole__bolt--5 {
    --a: 180deg;
}
.porthole__bolt--6 {
    --a: 225deg;
}
.porthole__bolt--7 {
    --a: 270deg;
}
.porthole__bolt--8 {
    --a: 315deg;
}
.codex__reveal-copy {
    display: grid;
    gap: 0.35rem;
}
.codex__reveal-description {
    font-size: 0.92rem;
}
.codex__heading {
    margin-bottom: 0.8rem;
}
.codex__count {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--giallo);
}
.codex__note {
    font-size: 0.8rem;
    margin-top: 0.7rem;
    color: #bcd3ec;
}
.footer__note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #a9c4e2;
}
.teaser__title {
    font-size: 1.4rem;
}
#stand-svg .lbl {
    font:
        800 13px Montserrat,
        Poppins,
        Arial,
        sans-serif;
    letter-spacing: 0.08em;
}
#stand-svg .lbl--compact {
    letter-spacing: -0.04em;
}
#stand-svg .dim {
    font:
        700 12px Montserrat,
        Poppins,
        Arial,
        sans-serif;
    fill: #9fb7d6;
}
#stand-svg .pin text {
    font:
        400 15px "Lilita One",
        Poppins,
        Arial,
        sans-serif;
    fill: #042352;
}
@media (max-width: 680px) {
    .hotspot--hangar {
        --x: 26%;
        --y: 52%;
    }
    .hotspot--missioni {
        --x: 40%;
        --y: 38%;
    }
}
