

:root {
    --carta: #F4F1EA; --carta-2: #FFFDF8; --inchiostro: #151515; --grigio: #6E6A63; --linea: rgba(21, 21, 21, .08);
    --giallo: #FFE07A; --arancio: #E08A12; --verde: #1FAA62; --rosso: #E5484D;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body.hvi {
    min-height: 100vh; overflow-x: hidden; color: var(--inchiostro); font-family: Figtree, system-ui, sans-serif;
    background:
        radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255, 255, 255, .65), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64' viewBox='0 0 128 64'%3E%3Cpath d='M0 32 64 0 128 32 64 64Z' fill='none' stroke='%23151515' stroke-opacity='.045' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 128px 64px,
        var(--carta);
}

/* scena */
.hvi-scena { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hvi-av { position: absolute; left: 0; top: 0; width: 90px; height: 130px; will-change: transform; }
.hvi-av:not(.pronto) { opacity: 0; }
.hvi-av.pronto { animation: hvi-compare .35s ease-out; }
@keyframes hvi-compare { from { opacity: 0; } }
.hvi-av img { position: absolute; left: 0; top: 0; width: 90px; height: 130px; image-rendering: pixelated; visibility: hidden; }
.hvi-av img.si { visibility: visible; }
.hvi-av .ombra { position: absolute; left: 25px; bottom: 2px; width: 40px; height: 12px; border-radius: 50%; background: rgba(21, 21, 21, .16); }
.hvi-fumetto {
    position: absolute; left: 50%; bottom: 112px; transform: translateX(calc(-50% + var(--sposta, 0px))) translateY(6px) scale(.9); transform-origin: bottom center;
    max-width: 230px; width: max-content; padding: 5px 10px; border: 2px solid var(--inchiostro); border-radius: 10px; background: #fff;
    font-size: 13px; line-height: 17px; white-space: nowrap; opacity: 0; transition: opacity .2s ease, transform .2s ease;
    box-shadow: 2px 3px 0 var(--inchiostro);
}
.hvi-fumetto::after {
    content: ''; position: absolute; left: calc(50% - var(--sposta, 0px)); bottom: -8px; width: 10px; height: 10px; margin-left: -5px; background: #fff;
    border-right: 2px solid var(--inchiostro); border-bottom: 2px solid var(--inchiostro); transform: rotate(45deg);
}
.hvi-fumetto b { margin-right: 4px; }
.hvi-av.parla .hvi-fumetto { opacity: 1; transform: translateX(calc(-50% + var(--sposta, 0px))) translateY(0) scale(1); }
/* velo chiaro al centro: il logo e i pulsanti si leggono sempre */
.hvi-velo { position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 34% 32% at 50% 46%, rgba(244, 241, 234, .92), rgba(244, 241, 234, .55) 55%, transparent 75%); }

/* barra in alto */
.hvi-top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.hvi-online { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 2px solid var(--inchiostro); border-radius: 99px;
    background: var(--carta-2); font-weight: 800; font-size: 13px; box-shadow: 3px 3px 0 var(--inchiostro); }
.hvi-online b { min-width: 1ch; font-variant-numeric: tabular-nums; }
.hvi-online.nuovo { animation: hvi-nuovo .7s ease-out; }
@keyframes hvi-nuovo { 30% { transform: scale(1.12); background: #E7FFF1; } }
.hvi-online i { width: 9px; height: 9px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 3px rgba(31, 170, 98, .25); animation: hvi-pulsa 2s infinite; }
.hvi-top nav { display: flex; gap: 18px; }
.hvi-top nav button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--inchiostro); font: 700 14px Figtree, sans-serif; }
.hvi-top nav button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* lingue (Havoo internazionale): bandiere accanto a Regolamento e Notizie */
.hvi-top nav { align-items: center; }
.hvi-lingue { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(21, 21, 21, .06); }
.hvi-top nav .hvi-lingue button { display: grid; place-items: center; width: 30px; height: 26px; border-radius: 999px; opacity: .55; transition: opacity .15s ease, background .15s ease; }
.hvi-top nav .hvi-lingue button:hover { opacity: 1; text-decoration: none; }
.hvi-top nav .hvi-lingue button.on { opacity: 1; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.hvi-lingue img { width: 20px; height: auto; image-rendering: pixelated; border-radius: 2px; }

/* centro */
.hvi-centro { position: relative; z-index: 4; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 90px 20px 70px; text-align: center; pointer-events: none; }
.hvi-centro > * { pointer-events: auto; }
.hvi-logo { position: relative; width: min(620px, 82vw); }
/* logo nero: arriva dall'alto, rimbalza e si appoggia leggermente storto, come un adesivo */
.hvi-targa { animation: hvi-targa 1.1s cubic-bezier(.3, 1.4, .5, 1) both; }
.hvi-targa svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 0 rgba(21, 21, 21, .08)); }
/* qui le «oo» restano ferme: col mouse si muove solo la pupilla nera dentro l'occhio */
.hvi-targa .hv-logo-vivo .buco { translate: none !important; }
@keyframes hvi-targa {
    0% { opacity: 0; transform: translateY(-70vh) rotate(-10deg); }
    55% { opacity: 1; transform: translateY(0) rotate(1deg) scale(1.04, .94); }
    72% { transform: translateY(-14px) rotate(-1.5deg) scale(.98, 1.03); }
    86% { transform: translateY(0) rotate(.5deg) scale(1.01, .99); }
    100% { transform: none; }
}
/* fumetto del logo: come quelli della chat degli avatar (bianco, bordo nero, codina), con «sta scrivendo» */
.hvi-adesivo { position: absolute; right: -2%; top: -15%; z-index: 2; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 7px 14px;
    border: 2px solid var(--inchiostro); border-radius: 12px; background: #fff; font-size: 15px; line-height: 20px; white-space: nowrap;
    box-shadow: 3px 3px 0 var(--inchiostro); transform-origin: 20% 100%; animation: hvi-adesivo .45s 1.05s cubic-bezier(.3, 1.6, .5, 1) both; }
.hvi-adesivo b { font-weight: 800; }
.hvi-adesivo .testo { min-width: 1px; }
.hvi-adesivo .puntini { display: none; gap: 4px; font-style: normal; }
.hvi-adesivo.scrive .puntini { display: inline-flex; }
.hvi-adesivo.scrive .testo { display: none; }
.hvi-adesivo .puntini i { width: 7px; height: 7px; border-radius: 50%; background: var(--inchiostro); animation: hvi-punto 1s infinite; }
.hvi-adesivo .puntini i:nth-child(2) { animation-delay: .15s; } .hvi-adesivo .puntini i:nth-child(3) { animation-delay: .3s; }
@keyframes hvi-punto { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes hvi-adesivo { from { opacity: 0; transform: scale(0) rotate(-8deg); } to { opacity: 1; transform: none; } }
.hvi-adesivo::after { content: ''; position: absolute; left: 22px; bottom: -8px; width: 10px; height: 10px; background: #fff;
    border-right: 2px solid var(--inchiostro); border-bottom: 2px solid var(--inchiostro); transform: rotate(45deg); }
.hvi-frase { margin: 26px 0 30px; max-width: 520px; font-size: 19px; line-height: 1.45; color: #3C3934; font-weight: 500; animation: hvi-entra .6s .75s both; }
.hvi-azioni { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; animation: hvi-entra .6s .9s both; }
/* pulsanti vivi: ogni tanto ondeggiano per farsi notare (fermi al passaggio del mouse) */
.hvi-azioni .hvi-btn { animation: hvi-ondeggia 7s 3s infinite; }
.hvi-azioni .hvi-btn.arancio { animation-delay: 3.5s; }
.hvi-azioni .hvi-btn:hover, .hvi-azioni .hvi-btn:active { animation: none; }
@keyframes hvi-ondeggia { 0%, 86%, 100% { rotate: 0deg; } 89% { rotate: -4deg; } 92% { rotate: 3.5deg; } 95% { rotate: -2deg; } 98% { rotate: 1deg; } }

/* pulsanti adesivo */
.hvi-btn { height: 56px; min-width: 170px; padding: 0 30px; border: 3px solid var(--inchiostro); border-radius: 99px; cursor: pointer;
    font-family: Jost, Figtree, sans-serif; font-weight: 800; font-size: 18px; letter-spacing: 1.4px; text-transform: uppercase;
    box-shadow: 4px 5px 0 var(--inchiostro); transition: transform .12s ease, box-shadow .12s ease; }
.hvi-btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 var(--inchiostro); }
.hvi-btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--inchiostro); }
.hvi-btn.nero { background: var(--inchiostro); color: #fff; }
.hvi-btn.bianco { background: var(--carta-2); color: var(--inchiostro); }
/* arancio Havoo, lo stesso dei pulsanti della home */
.hvi-btn.arancio { background: #E08A12; color: #fff; }
.hvi-btn.arancio:hover { background: #F09A22; }
/* «Entra»: la pagina si fa sera prima di andare nella home */
body.hvi::after { content: ''; position: fixed; inset: 0; z-index: 30; pointer-events: none; background: #3D3F50; opacity: 0; transition: opacity .6s ease-in; }
body.hvi.hvi-sera::after { opacity: 1; }
.hvi-btn.pieno { width: 100%; margin-top: 6px; }
.hvi-btn:focus-visible { outline: 3px solid var(--arancio); outline-offset: 3px; }

/* riquadro accesso / registrazione */
.hvi-sfondo-riquadro { position: fixed; inset: 0; z-index: 8; background: rgba(244, 241, 234, .55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.con-riquadro .hvi-sfondo-riquadro { opacity: 1; pointer-events: auto; }
body.con-riquadro .hvi-centro { filter: blur(1px); opacity: .5; }
.hvi-riquadro { position: fixed; z-index: 9; left: 50%; top: 50%; width: min(440px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto;
    transform: translate(-50%, -50%); padding: 26px 26px 22px; border: 3px solid var(--inchiostro); border-radius: 26px; background: var(--carta-2);
    box-shadow: 7px 8px 0 var(--inchiostro); animation: hvi-riquadro .28s cubic-bezier(.2, .9, .3, 1.2) both; }
.hvi-riquadro[hidden], .hvi-pannello[hidden] { display: none !important; }
.hvi-riquadro.largo { width: min(680px, calc(100vw - 28px)); display: flex; flex-direction: column; }
.hvi-riquadro.largo .hvi-pannello:not([hidden]) { display: flex; flex-direction: column; min-height: 0; }
.hvi-testa-solo { margin: -4px 40px 14px 0; }
.hvi-scorre { overflow: auto; max-height: calc(100vh - 210px); margin: 0 -8px; padding: 0 8px 4px; }
.hvi-regole { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.hvi-regole li { counter-increment: r; position: relative; padding: 12px 14px 12px 52px; border: 2px solid var(--inchiostro); border-radius: 14px; background: #fff; }
.hvi-regole li::before { content: counter(r); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--c); color: #fff; font: 900 13px Jost, sans-serif; border: 2px solid var(--inchiostro); }
.hvi-regole b { display: block; font: 800 16px Jost, Figtree, sans-serif; }
.hvi-regole p { margin: 3px 0 6px; color: #3C3934; font-size: 14px; line-height: 1.45; }
.hvi-regole span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--c); filter: brightness(.8); }
.hvi-sotto { margin: 18px 0 10px; font: 900 18px Jost, Figtree, sans-serif; }
.hvi-sanzioni { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: #3C3934; }
.hvi-sanzioni li { padding-left: 14px; border-left: 4px solid var(--c); }
.hvi-sanzioni b { color: var(--inchiostro); }
.hvi-notizia { border: 2px solid var(--inchiostro); border-radius: 16px; background: #fff; overflow: hidden; margin-bottom: 10px; }
.hvi-notizia-testa { display: grid; grid-template-columns: 120px 1fr; gap: 14px; width: 100%; padding: 10px; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.hvi-notizia-testa:hover { background: #FFF8E6; }
.hvi-notizia-testa .foto { height: 80px; border-radius: 10px; background: #ddd center / cover; border: 2px solid var(--inchiostro); }
.hvi-notizia-testa .testi { display: grid; align-content: center; gap: 2px; }
.hvi-notizia-testa b { font: 800 17px Jost, Figtree, sans-serif; }
.hvi-notizia-testa small { color: var(--grigio); font-size: 12px; font-weight: 700; }
.hvi-notizia-testa em { font-style: normal; color: #3C3934; font-size: 14px; }
.hvi-notizia-corpo { padding: 4px 16px 14px; font-size: 15px; line-height: 1.55; color: #2A2723; border-top: 2px dashed var(--linea); }
.hvi-notizia-corpo img { max-width: 100%; height: auto; border-radius: 10px; }
.hvi-vuoto { color: var(--grigio); text-align: center; }
@media (max-width: 640px) { .hvi-notizia-testa { grid-template-columns: 84px 1fr; } .hvi-notizia-testa .foto { height: 64px; } }
.hvi-chiudi { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 2px solid var(--inchiostro); border-radius: 50%; background: #fff;
    font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 2px 2px 0 var(--inchiostro); }
.hvi-chiudi:hover { background: var(--giallo); }
.hvi-testa { display: flex; align-items: flex-end; gap: 12px; margin: -6px 0 16px; }
.hvi-testa img { width: 64px; height: 110px; object-fit: cover; object-position: top; image-rendering: pixelated; flex: 0 0 auto; }
.hvi-testa h2 { margin: 0; font-family: Jost, Figtree, sans-serif; font-size: 28px; font-weight: 900; letter-spacing: .2px; }
.hvi-testa p { margin: 2px 0 8px; color: var(--grigio); font-size: 15px; }
.hvi-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hvi-form label { display: grid; gap: 6px; min-width: 0; font-size: 13px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.hvi-form input:not([type=checkbox]) { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 2px solid var(--inchiostro); border-radius: 14px; background: #fff;
    font: 600 16px Figtree, system-ui, sans-serif; color: var(--inchiostro); text-transform: none; letter-spacing: 0; box-shadow: inset 0 2px 0 rgba(21, 21, 21, .06); }
.hvi-form input:not([type=checkbox]):focus { outline: none; border-color: var(--arancio); box-shadow: 0 0 0 3px rgba(224, 138, 18, .25); }
.hvi-due { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.hvi-form .hvi-spunta { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; }
.hvi-spunta input { width: 20px; height: 20px; accent-color: var(--inchiostro); }
.hvi-spunta a { color: var(--inchiostro); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hvi-errori { margin: 0; padding: 10px 14px 10px 30px; border: 2px solid var(--rosso); border-radius: 12px; background: #FFECEC; color: #9E1F24; font-size: 14px; font-weight: 600; }
.hvi-cambia { margin: 4px 0 0; text-align: center; color: var(--grigio); font-size: 14px; }
.hvi-cambia button { border: 0; background: none; padding: 0; color: var(--inchiostro); font: 800 14px Figtree, sans-serif; cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hvi-form .w-full.flex.mt-3 { margin-top: 0 !important; display: flex; justify-content: center; }

.hvi-piede { position: fixed; z-index: 5; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 12px; color: var(--grigio); pointer-events: none; }

@keyframes hvi-entra { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes hvi-riquadro { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes hvi-pulsa { 0%, 100% { box-shadow: 0 0 0 3px rgba(31, 170, 98, .25); } 50% { box-shadow: 0 0 0 6px rgba(31, 170, 98, .05); } }

/* furni che compaiono sul pavimento */
.hvi-furni { position: absolute; left: 0; top: 0; pointer-events: none; transform-origin: 50% 100%; }
.hvi-furni img { display: block; image-rendering: pixelated; filter: drop-shadow(0 4px 0 rgba(21, 21, 21, .12));
    animation: hvi-pop .55s cubic-bezier(.3, 1.7, .5, 1) both; transform-origin: 50% 100%; }
.hvi-furni::after { content: ''; position: absolute; left: var(--ox, 50%); top: var(--oy, 100%); width: 46px; height: 12px; margin: -6px 0 0 -23px; border-radius: 50%; background: rgba(21, 21, 21, .14); z-index: -1; }
/* uscita: salto con schiacciamento (come quando lo raccogli in hotel), anello di polvere e stelline */
.hvi-furni.via img { animation: hvi-via .6s cubic-bezier(.5, -.4, .7, 1) both; }
.hvi-furni::after { transition: opacity .35s .2s, transform .35s .2s; }
.hvi-furni.via::after { opacity: 0; transform: scale(.3); }
.hvi-furni .anello { position: absolute; left: var(--ox, 50%); top: var(--oy, 100%); width: 70px; height: 22px; margin: -11px 0 0 -35px; border-radius: 50%;
    border: 3px solid rgba(21, 21, 21, .35); opacity: 0; }
.hvi-furni.via .anello { animation: hvi-anello .6s .2s ease-out both; }
.hvi-furni .stella { position: absolute; left: var(--ox, 50%); top: calc(var(--oy, 100%) - 30px); width: 16px; height: 16px; margin: -8px 0 0 -8px; opacity: 0;
    background: var(--col, #FFD23F); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    filter: drop-shadow(0 0 1px rgba(21, 21, 21, .5)); }
.hvi-furni.via .stella { animation: hvi-stella .75s .25s cubic-bezier(.2, .7, .4, 1) both; }
@keyframes hvi-via {
    0% { transform: none; opacity: 1; }
    25% { transform: scale(1.12, .82); }
    55% { transform: translateY(-26px) scale(.9, 1.12); opacity: 1; }
    100% { transform: translateY(-8px) scale(0); opacity: 0; }
}
@keyframes hvi-anello { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes hvi-stella {
    0% { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0deg); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(200deg); }
}

/* coriandoli */
.hvi-coriandolo { position: fixed; z-index: 20; left: 0; top: 0; width: 9px; height: 14px; border-radius: 2px; pointer-events: none;
    animation: hvi-cade var(--t, 1.6s) cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes hvi-cade {
    0% { transform: translate(var(--x0), var(--y0)) rotate(0deg); opacity: 1; }
    100% { transform: translate(var(--x1), var(--y1)) rotate(var(--r)); opacity: 0; }
}

@media (max-width: 640px) {
    .hvi-top { padding: 12px 14px; } .hvi-top nav { gap: 12px; } .hvi-top nav a { font-size: 13px; }
    .hvi-frase { font-size: 16px; margin: 20px 0 24px; } .hvi-adesivo { font-size: 12px; top: -30%; right: 0; padding: 5px 10px; min-height: 30px; }
    .hvi-btn { height: 50px; min-width: 140px; font-size: 16px; padding: 0 22px; }
    .hvi-due { grid-template-columns: 1fr; } .hvi-riquadro { padding: 22px 18px 18px; }
    .hvi-piede { font-size: 11px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .hvi-targa, .hvi-adesivo, .hvi-azioni .hvi-btn, .hvi-furni img, .hvi-logo, .hvi-frase, .hvi-azioni, .hvi-riquadro, .hvi-online i { animation: none; } }
/* Havoo · pagina d'ingresso in stile SUNRISE (anteprima 03/11/2026).
   Stessa struttura e animazioni di hv-ingresso; cambia il materiale: cielo all'alba al posto della carta crema,
   vetro sfumato (come inventario, negozio e cambia look del client) al posto degli adesivi neri, solo Figtree. */
:root {
    --sr-ink: #16161C; --sr-ink-2: #4E4E58;
    --sr-vetro: rgba(255, 255, 255, 0.26); --sr-vetro-forte: rgba(255, 255, 255, 0.58); --sr-bordo: rgba(255, 255, 255, 0.72);
    --sr-ombra: 0 14px 34px rgba(20, 20, 30, 0.25);
    --sr-arancio-1: #FFB43D; --sr-arancio-2: #FF6A1A; --sr-viola-1: #3A3A46; --sr-viola-2: #16161C;   /* accenti: nero (scelta utente 03/11) */
}
body.hvi {
    color: var(--sr-ink); font-family: Figtree, system-ui, sans-serif;
    background:
        radial-gradient(ellipse 70% 45% at 50% 105%, rgba(255, 236, 214, 0.6), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64' viewBox='0 0 128 64'%3E%3Cpath d='M0 32 64 0 128 32 64 64Z' fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 128px 64px,
        linear-gradient(180deg, #7FBEE6 0%, #9EC6E6 40%, #D7C9CF 75%, #EBC9AE 100%);
    background-attachment: fixed;
}
/* velo chiaro al centro: ora è una luce morbida */
.hvi-velo { background: radial-gradient(ellipse 36% 34% at 50% 46%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18) 55%, transparent 75%); }

/* avatar: ombra e fumetti come quelli del client (bianchi, morbidi, senza bordo nero) */
.hvi-av .ombra { background: rgba(20, 20, 30, .22); }
.hvi-fumetto { border: 0; border-radius: 12px; background: rgba(255, 255, 255, .96); color: var(--sr-ink); box-shadow: 0 6px 16px rgba(20, 20, 30, .25); }
.hvi-fumetto::after { border: 0; background: rgba(255, 255, 255, .96); }

/* barra in alto: pillole di vetro */
.hvi-online, .hvi-top nav {
    border: 1.5px solid var(--sr-bordo); background: var(--sr-vetro); color: #fff;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 18px rgba(20, 20, 30, .18);
}
.hvi-online { height: 38px; padding: 0 16px; font-weight: 800; text-shadow: 0 1px 2px rgba(20, 20, 30, .35); }
.hvi-online i { background: #3DFF9A; box-shadow: 0 0 0 3px rgba(61, 255, 154, .3); }
.hvi-top nav { padding: 4px 6px 4px 16px; border-radius: 999px; gap: 14px; }
.hvi-top nav button { color: #fff; text-shadow: 0 1px 2px rgba(20, 20, 30, .35); }
.hvi-lingue { background: rgba(255, 255, 255, .22); }
.hvi-top nav .hvi-lingue button { opacity: .7; }
.hvi-top nav .hvi-lingue button.on { background: #fff; }

/* logo bianco con ombra viola, fumetto come quelli della chat SUNRISE */
.hvi-targa svg { color: #fff !important; filter: drop-shadow(0 8px 0 rgba(20, 20, 30, .28)) drop-shadow(0 18px 30px rgba(20, 20, 30, .25)); }
.hvi-targa .hv-logo-vivo .buco { fill: var(--sr-ink); }
.hvi-adesivo { border: 0; border-radius: 16px; background: #fff; color: var(--sr-ink); box-shadow: 0 10px 24px rgba(20, 20, 30, .3); }
.hvi-adesivo::after { border: 0; }
.hvi-adesivo .puntini i { background: var(--sr-viola-2); }
.hvi-frase { color: #fff; font-weight: 600; text-shadow: 0 2px 10px rgba(20, 20, 30, .45); }

/* pulsanti a pillola come quelli del client: vetro bianco e arancio sfumato */
.hvi-btn {
    border: 0; border-radius: 999px; font-family: Figtree, system-ui, sans-serif; font-weight: 900; letter-spacing: 1px;
    box-shadow: 0 10px 24px rgba(20, 20, 30, .3), inset 0 2px 0 rgba(255, 255, 255, .45);
}
.hvi-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20, 20, 30, .35), inset 0 2px 0 rgba(255, 255, 255, .45); }
.hvi-btn:active { transform: translateY(1px) scale(.98); box-shadow: 0 6px 14px rgba(20, 20, 30, .3); }
.hvi-btn.nero { background: rgba(255, 255, 255, .92); color: var(--sr-viola-2); }
.hvi-btn.arancio { background: linear-gradient(180deg, var(--sr-arancio-1), var(--sr-arancio-2)); color: #fff; text-shadow: 0 1px 2px rgba(150, 50, 0, .35); }
.hvi-btn.arancio:hover { background: linear-gradient(180deg, #FFC255, #FF7A2A); }
.hvi-btn:focus-visible { outline: 3px solid #fff; }

/* riquadro di accesso, registrazione, regolamento e notizie: vetro sfumato come le finestre del client */
.hvi-sfondo-riquadro { background: rgba(20, 20, 30, .25); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.hvi-riquadro {
    border: 1.5px solid var(--sr-bordo); border-radius: 28px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .72), rgba(244, 244, 248, .6));
    -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: 0 24px 60px rgba(20, 20, 30, .4);
}
.hvi-chiudi { border: 0; background: rgba(255, 255, 255, .8); color: var(--sr-ink); box-shadow: 0 3px 10px rgba(20, 20, 30, .2); }
.hvi-chiudi:hover { background: #fff; }
.hvi-testa h2, .hvi-sotto, .hvi-regole b, .hvi-notizia-testa b { font-family: Figtree, system-ui, sans-serif; color: var(--sr-ink); }
.hvi-testa p { color: var(--sr-ink-2); }
.hvi-form label { color: var(--sr-viola-2); }
.hvi-form input:not([type=checkbox]) { border: 1.5px solid rgba(22, 22, 28, .18); background: rgba(255, 255, 255, .9); color: var(--sr-ink); box-shadow: none; }
.hvi-form input:not([type=checkbox]):focus { border-color: var(--sr-viola-1); box-shadow: 0 0 0 4px rgba(22, 22, 28, .15); }
.hvi-spunta input { accent-color: var(--sr-viola-2); }
.hvi-spunta a, .hvi-cambia button { color: var(--sr-viola-2); }
.hvi-cambia { color: var(--sr-ink-2); }
.hvi-regole li, .hvi-notizia { border: 1.5px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .7); }
.hvi-regole li::before { border: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.hvi-regole p, .hvi-sanzioni, .hvi-notizia-testa em { color: var(--sr-ink-2); }
.hvi-notizia-testa .foto { border: 0; }
.hvi-notizia-testa:hover { background: rgba(255, 255, 255, .6); }

.hvi-piede { color: rgba(255, 255, 255, .85); text-shadow: 0 1px 3px rgba(20, 20, 30, .45); }
.hvi-furni img { filter: drop-shadow(0 6px 6px rgba(20, 20, 30, .25)); }
.hvi-furni::after { background: rgba(20, 20, 30, .18); }
/* Havoo · pagina d'ingresso: il cielo segue l'ora di chi guarda (04/11/2026).
   html[data-hv-ora] lo mette lo script in testa a hv-ingresso-stile: alba 5-10 e tramonto 18-21 = cielo SUNRISE (sopra),
   giorno 10-18 = azzurro, notte 21-5 = blu notte del marchio. Senza script resta l'alba. */
html[data-hv-ora="giorno"] body.hvi {
    background:
        radial-gradient(ellipse 70% 45% at 50% 105%, rgba(255, 255, 255, .7), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64' viewBox='0 0 128 64'%3E%3Cpath d='M0 32 64 0 128 32 64 64Z' fill='none' stroke='%23ffffff' stroke-opacity='.28' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 128px 64px,
        linear-gradient(180deg, #4FB8F5 0%, #7FCFFA 45%, #C4EAFF 100%);
    background-attachment: fixed;
}
html[data-hv-ora="notte"] body.hvi {
    background:
        radial-gradient(ellipse 60% 45% at 50% 48%, rgba(80, 110, 255, .28), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64' viewBox='0 0 128 64'%3E%3Cpath d='M0 32 64 0 128 32 64 64Z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 128px 64px,
        linear-gradient(180deg, #0B0F2E 0%, #141B4A 60%, #1C2560 100%);
    background-attachment: fixed;
}
html[data-hv-ora="notte"] .hvi-velo { background: none; }
html[data-hv-ora="notte"] .hvi-piede { color: rgba(255, 255, 255, .6); }

/* fumetti (06/11/2026): codina = triangolo pulito, bianco pieno, una sola ombra per fumetto e codina */
.hvi-fumetto, .hvi-adesivo { background: #fff !important; box-shadow: none !important; filter: drop-shadow(0 5px 8px rgba(20, 20, 30, .22)); }
.hvi-fumetto::after, .hvi-adesivo::after {
    width: 16px !important; height: 8px !important; bottom: -7px !important; background: #fff !important; border: 0 !important;
    transform: none !important; clip-path: polygon(0 0, 100% 0, 60% 80%, 50% 100%, 40% 80%);
}
.hvi-fumetto::after { margin-left: -8px !important; }
.hvi-adesivo::after { left: 18px !important; margin-left: 0 !important; }

/* telefono in orizzontale (09/11/2026): schermo basso, il logo enorme copriva tutto e i pulsanti finivano sotto il bordo */
@media (orientation: landscape) and (max-height: 520px) {
    .hvi-top { padding: 8px 14px; }
    .hvi-online { height: 32px; padding: 0 12px; font-size: 13px; }
    .hvi-top nav { padding: 3px 5px 3px 12px; gap: 10px; }
    .hvi-top nav button { font-size: 13px; }
    .hvi-centro { padding: 52px 20px 22px; }
    .hvi-logo { width: min(330px, 44vw); }
    .hvi-adesivo { font-size: 12px; top: -34%; right: -8%; padding: 5px 10px; min-height: 28px; }
    .hvi-frase { max-width: 460px; margin: 6px 0 12px; font-size: 14.5px; line-height: 1.35; }
    .hvi-btn { height: 42px; min-width: 124px; padding: 0 20px; font-size: 15px; }
    .hvi-azioni { gap: 12px; }
    .hvi-piede { font-size: 10px; }
}
/* telefono in verticale stretto: la barra in alto non deve uscire dallo schermo (bandiere tagliate) */
@media (max-width: 420px) {
    .hvi-top { padding: 10px 10px; gap: 8px; }
    .hvi-online { height: 34px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
    .hvi-top nav { padding: 3px 4px 3px 10px; gap: 6px; }
    .hvi-top nav button { font-size: 12px; }
    .hvi-lingue button { width: 24px; height: 24px; }
}

