/* ==========================================================
   TUTORIAL — modale di benvenuto (primo accesso).
   ================================================---------- */
#view-tutorial {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.72);
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.tut-card {
    width: 100%;
    max-width: 440px;
    background: var(--surface, #120a24);
    border: 1px solid var(--accent, #7038f8);
    box-shadow: 0 0 24px rgba(112, 56, 248, 0.4);
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
    padding: 22px 20px;
    color: var(--testo, #e8e0ff);
}

.tut-head {
    text-align: center;
    font-weight: bold;
    font-size: 1.15rem;
    letter-spacing: 2px;
    color: var(--hud-light, #fff);
    text-shadow: 0 0 10px rgba(255, 150, 0, 0.85);
    margin-bottom: 12px;
}

.tut-intro { font-size: 0.9rem; opacity: 0.9; margin: 0 0 14px; text-align: center; }

.tut-steps {
    margin: 0 0 20px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.35;
}
.tut-steps b { color: #ffb03a; }

.tut-ok {
    display: block;
    width: 100%;
    font-family: inherit;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.95rem;
    cursor: pointer;
    color: #fff;
    background: rgba(112, 56, 248, 0.28);
    border: 1px solid var(--accent, #7038f8);
    padding: 12px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.tut-ok:hover { background: rgba(112, 56, 248, 0.5); transform: translateY(-1px); }
