/* ============================================================
   LiveSofia - video delle modelle in vendita e su misura (aggiunto 2026-10-22)
   Stanza (sotto il video), "I miei video" e area modella (lv-webcam-video.php, js/lv-webcam-video.js).
   ============================================================ */

.lv-vid-stanza{grid-column:1/-1;margin:8px 0 10px;color:#e4e5ea;min-width:0;} /* dentro la griglia della stanza: largo come video e chat */
.lv-vid-stanza h2{margin:0 0 14px;padding-left:10px;border-left:3px solid #ef003b;font-size:16px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#fff;}
.lv-vid-griglia{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:0 0 18px;}
.lv-vid-card{display:flex;flex-direction:column;background:#15151c;border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden;}
.lv-vid-cop{position:relative;aspect-ratio:16/9;background:#0d0d13 center/cover no-repeat;}
.lv-vid-dur{position:absolute;right:8px;bottom:8px;padding:2px 7px;border-radius:6px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:700;}
.lv-vid-lucchetto{position:absolute;left:8px;top:8px;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;}
.lv-vid-lucchetto svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2;}
.lv-vid-testo{flex:1;padding:10px 12px 4px;}
.lv-vid-testo b{display:block;color:#fff;font-size:15px;line-height:20px;}
.lv-vid-testo small{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:#9a9daa;font-size:13px;line-height:18px;}
.lv-vid-compra,.lv-vid-play,.lv-vid-azioni button,.lv-vid-sm-form button,.lv-vid-saldo button,.lv-vid-azioni a{display:inline-block;margin:10px 12px 12px;padding:10px 14px;border:0;border-radius:10px;background:linear-gradient(135deg,#ff4f8b,#ef003b);color:#fff !important;font-weight:800;font-size:14px;line-height:18px;text-align:center;text-decoration:none !important;cursor:pointer;}
.lv-vid-play{background:#2a2a35;}
.lv-vid-azioni{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;}
.lv-vid-azioni button,.lv-vid-azioni a{margin:0;}
.lv-vid-azioni .lv-vid-sec,.lv-vid-sec{background:transparent !important;border:1px solid rgba(255,255,255,.22) !important;color:#e4e5ea !important;}
.lv-vid-azioni button:disabled,.lv-vid-sm-form button:disabled{opacity:.6;cursor:wait;}
.lv-vid-msg{flex-basis:100%;min-height:1em;margin:4px 0 0;color:#ffd23f;font-size:13px;font-weight:700;}

/* richiesta su misura nella stanza (22/10/2026): scheda a due colonne, a sinistra i passi, a destra il modulo */
.lv-vid-sm{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:22px;padding:22px;border-radius:18px;
	background:radial-gradient(120% 140% at 0% 0%,rgba(239,0,59,.16) 0%,rgba(239,0,59,0) 55%),#15151c;border:1px solid rgba(255,77,121,.28);box-shadow:0 18px 50px rgba(0,0,0,.35);}
.lv-vid-sm-kicker{display:inline-block;margin:0 0 8px;padding:4px 10px;border-radius:999px;background:rgba(239,0,59,.16);color:#ff4d79;font-size:11px;font-weight:800;letter-spacing:.12em;}
.lv-vid-sm h3{margin:0 0 14px;color:#fff;font-size:21px;line-height:27px;font-weight:800;}
.lv-vid-sm-passi{margin:0 0 12px;padding:0;list-style:none;counter-reset:passo;}
.lv-vid-sm-passi li{position:relative;margin:0 0 10px;padding-left:36px;color:#d6d8e0;font-size:15px;line-height:22px;counter-increment:passo;}
.lv-vid-sm-passi li::before{content:counter(passo);position:absolute;left:0;top:-1px;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#ff4f8b,#ef003b);color:#fff;font-size:13px;font-weight:800;line-height:24px;text-align:center;}
.lv-vid-sm-info small{display:block;color:#8d90a0;font-size:13px;line-height:18px;}
.lv-vid-sm-form{display:flex;flex-direction:column;justify-content:center;}
.lv-vid-sm-form label{margin:0 0 6px;color:#9a9daa;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.lv-vid-sm-form textarea,.lv-vid-proponi textarea,.lv-vid-nuovo textarea{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:#0d0d13;color:#fff;font-size:15px;line-height:22px;resize:vertical;transition:border-color .15s,box-shadow .15s;}
.lv-vid-sm-form textarea{min-height:130px;}
.lv-vid-sm-form textarea:focus,.lv-vid-proponi textarea:focus,.lv-vid-nuovo textarea:focus{outline:0;border-color:#ff4d79;box-shadow:0 0 0 3px rgba(255,77,121,.18);}
.lv-vid-sm-form textarea::placeholder{color:#6f7280;}
.lv-vid-sm-piede{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;}
.lv-vid-sm-piede button{margin:0;padding:12px 22px;border-radius:999px;box-shadow:0 8px 22px rgba(239,0,59,.35);}
.lv-vid-sm .lv-vid-msg{text-align:right;}
.lv-vid-sm-ospite{justify-content:center;align-items:flex-start;}
.lv-vid-sm-ospite p{margin:0 0 6px;color:#b9bcc7;font-size:15px;line-height:22px;}
.lv-vid-sm-ospite .lv-vid-compra{margin:6px 0 0;}
.lv-vid-miei{display:inline-block;color:#ff4d79;font-weight:700;text-decoration:none;}
.lv-vid-miei:hover{text-decoration:underline;}
@media (max-width:900px){
	.lv-vid-sm{grid-template-columns:1fr;gap:16px;padding:18px;}
	.lv-vid-sm h3{font-size:19px;line-height:25px;}
	.lv-vid-sm-piede{flex-direction:column-reverse;align-items:stretch;}
	.lv-vid-sm-piede .lv-vid-miei{text-align:center;}
	.lv-vid-sm .lv-vid-msg{text-align:center;}
}

/* "I miei video" e area modella: richieste */
.lv-vid-saldo{margin:0 0 20px;border-radius:12px;}
.lv-vid-saldo button{margin:0;}
.lv-vid-req{margin:0 0 12px;padding:14px 16px;border-radius:14px;background:#15151c;border:1px solid rgba(255,255,255,.08);color:#e4e5ea;}
.lv-vid-req-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;}
.lv-vid-req-top a{color:#fff;text-decoration:none;}
.lv-vid-req-top small{color:#7a7a85;}
.lv-vid-stato{margin-left:auto;padding:3px 10px;border-radius:999px;background:#2a2a35;color:#ffd23f;font-size:12px;font-weight:700;}
.lv-vid-st-completata .lv-vid-stato{color:#5fe08c;}
.lv-vid-st-rifiutata .lv-vid-stato,.lv-vid-st-rimborsata .lv-vid-stato,.lv-vid-st-scaduta .lv-vid-stato,.lv-vid-st-decaduta .lv-vid-stato,.lv-vid-st-annullata .lv-vid-stato,.lv-vid-st-declinata .lv-vid-stato{color:#9a9daa;}
.lv-vid-req-txt{margin:8px 0 0;color:#d6d8e0;font-size:14px;line-height:21px;white-space:normal;}
.lv-vid-req-nota{margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#1d0a12;border:1px solid #4a1426;color:#fff;font-size:14px;}
.lv-vid-proponi{margin-top:10px;}
.lv-vid-proponi label{display:inline-flex;align-items:center;gap:8px;margin:0 0 8px;color:#b9bcc7;font-size:14px;}
.lv-vid-proponi input,.lv-vid-nuovo input[type=text],.lv-vid-nuovo input[type=number]{padding:9px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:#0d0d13;color:#fff;font-size:15px;}
.lv-vid-proponi input{width:120px;}
.lv-vid-accetto{display:flex;align-items:center;gap:8px;margin:0 0 6px;color:#e4e5ea;font-weight:700;}
.lv-vid-carica{margin-top:10px;}
.lv-vid-carica input[type=file]{max-width:100%;color:#d6d8e0;}
.lv-vid-barra{height:8px;margin-top:10px;border-radius:999px;background:#2a2a35;overflow:hidden;}
.lv-vid-barra i{display:block;width:0;height:100%;background:linear-gradient(90deg,#ff4f8b,#ef003b);transition:width .2s;}

/* area modella: nuovo video */
.lv-vid-nuovo{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding:16px;border-radius:14px;background:#15151c;border:1px solid rgba(255,255,255,.08);margin:0 0 14px;}
.lv-vid-nuovo label{display:flex;flex-direction:column;gap:5px;color:#9a9daa;font-size:13px;font-weight:700;}
.lv-vid-nuovo label:nth-of-type(2),.lv-vid-nuovo .lv-vid-anteprima,.lv-vid-nuovo .lv-vid-azioni,.lv-vid-nuovo .lv-vid-barra{grid-column:1/-1;}
.lv-vid-anteprima canvas{display:block;max-width:100%;max-height:260px;border-radius:10px;background:#000;}
.lv-vid-anteprima small{display:block;margin:6px 0;color:#7a7a85;}
.lv-vid-anteprima input[type=range]{width:100%;}
.lv-vid-mini{width:96px;height:54px;object-fit:cover;border-radius:6px;display:block;}
@media (max-width:900px){
	.lv-vid-nuovo{grid-template-columns:1fr;}
	.lv-vid-stato{margin-left:0;}
}

/* file oppure registrazione (22/10/2026) */
.lv-vid-campo{display:flex;flex-direction:column;gap:5px;color:#9a9daa;font-size:13px;font-weight:700;}
.lv-vid-file{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;}
.lv-vid-o{color:#7a7a85;font-size:13px;font-weight:600;}
.lv-vid-file .lv-vid-registra{margin:0;padding:8px 14px;border-radius:999px;font-size:13px;}
.lv-vid-registrato{flex-basis:100%;color:#5fe08c;font-size:13px;font-weight:700;}

/* registrazione dalla pagina */
.lv-vid-reg{position:fixed;inset:0;z-index:100003;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(5,5,8,.9);}
.lv-vid-reg-box{position:relative;width:100%;max-width:760px;max-height:calc(100vh - 28px);overflow-y:auto;padding:18px;border-radius:18px;background:#15151c;border:1px solid rgba(255,255,255,.08);color:#e4e5ea;box-sizing:border-box;}
.lv-vid-reg-box h3{margin:0 0 12px;color:#fff;font-size:18px;}
.lv-vid-reg-x{position:absolute;top:10px;right:10px;width:36px;height:36px;padding:0 !important;border:0 !important;border-radius:50% !important;background:rgba(255,255,255,.08) !important;color:#fff !important;font-size:22px !important;line-height:36px !important;cursor:pointer;}
.lv-vid-reg-schermo{position:relative;aspect-ratio:16/9;border-radius:12px;background:#000;overflow:hidden;}
.lv-vid-reg-schermo video{width:100%;height:100%;object-fit:contain;display:block;background:#000;}
.lv-vid-reg-schermo video[hidden]{display:none;}
.lv-vid-specchio{transform:scaleX(-1);}
.lv-vid-reg-conta{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:96px;font-weight:800;text-shadow:0 4px 30px rgba(0,0,0,.6);}
.lv-vid-reg-conta[hidden],.lv-vid-reg-rec[hidden],.lv-vid-reg-stato[hidden]{display:none;}
.lv-vid-reg-rec{position:absolute;top:10px;left:10px;padding:4px 10px;border-radius:999px;background:rgba(239,0,59,.9);color:#fff;font-size:13px;font-weight:800;animation:lv-vid-lampeggia 1.2s infinite;}
@keyframes lv-vid-lampeggia{50%{opacity:.55;}}
.lv-vid-reg-stato{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;padding:20px;color:#d6d8e0;text-align:center;font-size:15px;}
.lv-vid-reg-nota{margin:10px 0 0;color:#8d90a0;font-size:13px;}
.lv-vid-reg-btn{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.lv-vid-reg-btn button{margin:0;padding:11px 18px;border:0;border-radius:999px;background:linear-gradient(135deg,#ff4f8b,#ef003b);color:#fff;font-weight:800;font-size:14px;cursor:pointer;}
.lv-vid-reg-btn button.lv-vid-sec{background:transparent;border:1px solid rgba(255,255,255,.22);}
@media (max-width:600px){
	.lv-vid-reg-schermo{aspect-ratio:3/4;}
	.lv-vid-reg-btn button{flex:1 1 auto;}
}

/* lettore */
.lv-vid-lettore{position:fixed;inset:0;z-index:100002;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(5,5,8,.9);}
.lv-vid-lettore video{max-width:100%;max-height:calc(100vh - 80px);border-radius:12px;background:#000;}
.lv-vid-lettore button{position:absolute;top:12px;right:12px;width:42px;height:42px;padding:0 !important;border:2px solid rgba(255,255,255,.8) !important;border-radius:50% !important;background:#15151c !important;color:#fff !important;font-size:24px !important;line-height:38px !important;cursor:pointer;}
html.lv-vid-aperto,html.lv-vid-aperto body{overflow:hidden !important;}
