/* ============================================================
   HiddenFlirt UI · hf-components-3.css
   Terza ondata (checklist confermata): utilities extra, form
   avanzati, contenuto social, moduli esclusivi, monetizzazione,
   stati, fiducia/sicurezza.
   ============================================================ */

/* ---------- 1 Utilities extra ---------- */
.hf-ar-1 { aspect-ratio: 1; } .hf-ar-45 { aspect-ratio: 4/5; } .hf-ar-169 { aspect-ratio: 16/9; } .hf-ar-916 { aspect-ratio: 9/16; }
.hf-clamp-1, .hf-clamp-2, .hf-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.hf-clamp-1 { -webkit-line-clamp: 1; } .hf-clamp-2 { -webkit-line-clamp: 2; } .hf-clamp-3 { -webkit-line-clamp: 3; }
.hf-safe-b { padding-bottom: env(safe-area-inset-bottom); }
.hf-scroll { scrollbar-width: thin; scrollbar-color: var(--hf-border) transparent; }
.hf-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.hf-scroll::-webkit-scrollbar-thumb { background: var(--hf-border); border-radius: 999px; }
.hf-scroll::-webkit-scrollbar-thumb:hover { background: var(--hf-faint); }

/* ---------- 2 Azioni extra ---------- */
.hf-splitbtn { display: inline-flex; }
.hf-splitbtn .hf-btn:first-child { border-radius: var(--hf-r-md) 0 0 var(--hf-r-md); }
.hf-splitbtn .hf-btn:last-child { border-radius: 0 var(--hf-r-md) var(--hf-r-md) 0; width: 42px; padding: 0; margin-left: 1.5px; }
.hf-toggleicon { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--hf-border); background: var(--hf-bg); color: var(--hf-faint); font-size: 16px; cursor: pointer; display: grid; place-content: center; transition: all var(--hf-t-tap) var(--hf-ease); }
.hf-toggleicon[aria-pressed="true"] { background: var(--hf-primary-tint); border-color: var(--hf-primary); color: var(--hf-primary); animation: hf-pop .4s var(--hf-ease); }

/* ---------- 3 Form avanzati ---------- */
.hf-multiselect { position: relative; }
.hf-phone { display: flex; }
.hf-phone__prefix { display: flex; align-items: center; gap: 7px; padding: 0 13px; white-space: nowrap; border: 1.5px solid var(--hf-border); border-right: 0; border-radius: var(--hf-r-md) 0 0 var(--hf-r-md); background: var(--hf-surface); font: 700 13px/1 var(--hf-font); cursor: pointer; }
.hf-phone__prefix .hf-lang__flag, .hf-phone__prefix > span:first-child { font-size: 16px; line-height: 1; }
.hf-phone__prefix i { color: var(--hf-faint); font-size: 9px; }
.hf-phone .hf-input { border-radius: 0 var(--hf-r-md) var(--hf-r-md) 0; }
.hf-editor { border: 1.5px solid var(--hf-border); border-radius: var(--hf-r-lg); overflow: hidden; }
.hf-editor:focus-within { border-color: var(--hf-primary); box-shadow: 0 0 0 3px var(--hf-glow); }
.hf-editor__bar { display: flex; gap: 2px; padding: 8px 10px; border-bottom: 1px solid var(--hf-canvas); background: var(--hf-surface); flex-wrap: wrap; }
.hf-editor__bar button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; font: 700 13px/1 var(--hf-font); color: var(--hf-muted); cursor: pointer; }
.hf-editor__bar button:hover { background: var(--hf-bg); }
.hf-editor__bar button.is-active { background: var(--hf-primary-tint); color: var(--hf-primary); }
.hf-editor__bar .sep { width: 1px; background: var(--hf-border); margin: 5px 6px; }
.hf-editor__area { min-height: 140px; padding: 16px; font: 400 14px/1.65 var(--hf-font); outline: 0; }
.hf-editor__area:empty::before { content: attr(data-placeholder); color: var(--hf-faint); }
.hf-editor__foot { display: flex; justify-content: space-between; padding: 8px 14px; border-top: 1px solid var(--hf-canvas); font: 600 10.5px/1 var(--hf-font); color: var(--hf-faint); }
.hf-cropper { position: relative; width: 260px; aspect-ratio: 1; border-radius: var(--hf-r-lg); overflow: hidden; background: var(--hf-dark); }
.hf-cropper__mask { position: absolute; inset: 0; background: rgba(10,10,10,.55); -webkit-mask: radial-gradient(circle 100px at 50% 50%, transparent 98%, #000 100%); mask: radial-gradient(circle 100px at 50% 50%, transparent 98%, #000 100%); }
.hf-cropper__ring { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; transform: translate(-50%,-50%); border-radius: 999px; border: 2px dashed rgba(255,255,255,.6); pointer-events: none; }
.hf-mood { display: flex; gap: 7px; flex-wrap: wrap; }
.hf-mood button { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--hf-border); background: var(--hf-bg); font: 600 12px/1 var(--hf-font); cursor: pointer; }
.hf-mood button[aria-pressed="true"] { background: var(--hf-primary); border-color: var(--hf-primary); color: #fff; font-weight: 700; box-shadow: var(--hf-shadow-glow); }

/* ---------- 4 Navigazione extra ---------- */
.hf-usernav { display: flex; align-items: center; gap: 12px; }
.hf-usernav__bell { position: relative; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--hf-border); display: grid; place-content: center; color: var(--hf-muted); cursor: pointer; }
.hf-usernav__bell .hf-counter { position: absolute; top: -4px; right: -4px; }
.hf-filterdrawer__foot { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 14px 0 0; background: var(--hf-bg); border-top: 1px solid var(--hf-canvas); }
.hf-toc { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--hf-canvas); }
.hf-toc a { padding: 7px 14px; font: 600 12px/1.3 var(--hf-font); color: var(--hf-faint); border-left: 2px solid transparent; margin-left: -2px; }
.hf-toc a.is-active { color: var(--hf-primary); border-color: var(--hf-primary); }

/* ---------- 5 Contenuto social ---------- */
.hf-adcard { display: flex; gap: 12px; padding: 14px; }
.hf-adcard__thumb { width: 74px; height: 74px; border-radius: 14px; position: relative; overflow: hidden; background: var(--hf-dark); flex: none; }
.hf-profilecard { border-radius: var(--hf-r-lg); overflow: hidden; background: var(--hf-bg); border: 1px solid var(--hf-border); box-shadow: var(--hf-shadow-card); }
.hf-profilecard__photo { position: relative; height: 150px; background: var(--hf-dark); }
.hf-profilecard__badges { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; }
.hf-profilecard__badges > * { height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; background: var(--hf-dark); color: #fff; font: 700 10.5px/1 var(--hf-font); }
.hf-profilecard__badges .is-sex { width: 22px; padding: 0; justify-content: center; background: var(--hf-primary); font-size: 12px; }
.hf-profilecard__online { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-radius: 999px; background: #fff; display: grid; place-content: center; }
.hf-profilecard__online i { width: 9px; height: 9px; border-radius: 999px; background: var(--hf-online); }
.hf-profilecard__body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.hf-masonry { columns: 3 220px; column-gap: 10px; }
.hf-masonry > * { break-inside: avoid; margin-bottom: 10px; }
.hf-viewer-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--hf-r-md); }
.hf-viewer-row:hover { background: var(--hf-surface); }
.hf-viewer-row__time { font: 600 10.5px/1 var(--hf-font); color: var(--hf-primary); }
.hf-review { padding: 14px 16px; border: 1px solid var(--hf-border); border-radius: var(--hf-r-lg); display: flex; flex-direction: column; gap: 8px; }
.hf-review__verified { display: inline-flex; align-items: center; gap: 5px; font: 700 10px/1 var(--hf-font); color: var(--hf-online-ink); }
.hf-quote { border-left: 3px solid var(--hf-primary); padding: 10px 14px; background: var(--hf-surface); border-radius: 0 var(--hf-r-md) var(--hf-r-md) 0; font: 400 13px/1.55 var(--hf-font-display); font-style: italic; color: var(--hf-muted); }

/* ---------- 6 Player extra ---------- */
.hf-player--theater { border-radius: 0; aspect-ratio: 21/9; }
.hf-upnext { position: absolute; right: 14px; bottom: 70px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--hf-r-md); background: rgba(15,15,15,.92); color: #fff; font: 600 11.5px/1.35 var(--hf-font); }
.hf-upnext .hf-ring { --_size: 38px; background: conic-gradient(var(--hf-primary) calc(var(--_v)*1%), rgba(255,255,255,.2) 0); font-size: 10px; color: #fff; }
.hf-upnext .hf-ring::before { background: rgba(15,15,15,.92); }
.hf-chapters { position: absolute; left: 0; right: 0; top: -3px; height: 10px; pointer-events: none; }
.hf-chapters i { position: absolute; top: 3px; width: 3px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.85); }

/* ---------- 7 Chat extra ---------- */
.hf-reply { border-left: 3px solid var(--hf-primary); background: rgba(0,0,0,.06); border-radius: 8px; padding: 7px 10px; font: 500 11.5px/1.4 var(--hf-font); margin-bottom: 6px; }
.hf-bubble--me .hf-reply { background: rgba(255,255,255,.16); border-color: #fff; color: rgba(255,255,255,.85); }
.hf-reply b { display: block; font-weight: 800; font-size: 10.5px; }
.hf-paywall-msg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px dashed var(--hf-primary); background: var(--hf-primary-tint); max-width: 78%; }
.hf-intesa { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--hf-primary-tint); border-bottom: 1px solid var(--hf-primary-tint-border); }

/* ---------- 8 Moduli esclusivi ---------- */
.hf-trust2 { display: flex; flex-direction: column; gap: 8px; }
.hf-trust2__track { display: flex; gap: 5px; }
.hf-trust2__seg { flex: 1; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.hf-trust2__seg i { height: 7px; border-radius: 999px; background: var(--hf-border); }
.hf-trust2__seg.is-on i { background: var(--hf-primary); }
.hf-trust2__seg span { font: 600 9px/1.2 var(--hf-font); color: var(--hf-faint); text-align: center; }
.hf-trust2__seg.is-on span { color: var(--hf-primary); font-weight: 800; }
.hf-hiddenself { border-radius: var(--hf-r-lg); border: 1.5px solid var(--hf-primary); background: var(--hf-bg); padding: 15px; display: flex; flex-direction: column; gap: 11px; box-shadow: 0 1px 3px rgba(188,38,39,.12); }
.hf-hiddenself__grid { display: flex; gap: 6px; }
.hf-hiddenself__slot { flex: 1; height: 54px; border-radius: 10px; position: relative; overflow: hidden; background: var(--hf-dark); }
.hf-hiddenself__slot--add { background: var(--hf-surface); border: 1px dashed var(--hf-border); display: grid; place-content: center; color: var(--hf-primary); font: 300 18px/1 var(--hf-font); cursor: pointer; }
.hf-matchorb { position: relative; width: 230px; height: 150px; margin: 0 auto; }
.hf-matchorb__a, .hf-matchorb__b { position: absolute; top: 50%; transform: translateY(-50%); width: 130px; height: 130px; border-radius: 999px; padding: 3px; background: linear-gradient(135deg, var(--hf-primary), var(--hf-primary-soft)); transition: all var(--hf-t-ritual) var(--hf-ease); }
.hf-matchorb__a { left: 0; } .hf-matchorb__b { right: 0; }
.hf-matchorb.is-merging .hf-matchorb__a { left: 22px; } .hf-matchorb.is-merging .hf-matchorb__b { right: 22px; }
.hf-matchorb__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 999px; background: #fff; display: grid; place-content: center; box-shadow: 0 0 0 8px rgba(255,255,255,.25); z-index: 2; }
.hf-matchorb.is-merged::after { content: ""; position: absolute; inset: -20px; border-radius: 999px; background: radial-gradient(circle, rgba(255,255,255,.9), transparent 65%); animation: hf-fadeout var(--hf-t-ritual) both; }
.hf-couplesync { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--hf-canvas); }
.hf-couplesync__vote { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 12px; background: var(--hf-surface); border: 1px solid var(--hf-border); font: 600 11.5px/1 var(--hf-font); color: var(--hf-faint); cursor: pointer; }
.hf-couplesync__vote.is-on { background: var(--hf-primary-tint); border: 1.5px solid var(--hf-primary); color: var(--hf-primary); font-weight: 700; }
.hf-couplesync__veto { padding: 10px 13px; border-radius: 12px; background: var(--hf-surface); border: 1px solid var(--hf-border); font: 700 11.5px/1 var(--hf-font); color: var(--hf-danger); cursor: pointer; }
.hf-pulsemap { position: relative; border-radius: var(--hf-r-lg); overflow: hidden; background: var(--hf-dark); }
.hf-pulsemap__grid { position: absolute; inset: 0; opacity: .22; background: repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,.35) 34px 35px), repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.35) 34px 35px); }
.hf-pulsemap__blob { position: absolute; border-radius: 999px; filter: blur(8px); background: radial-gradient(circle, rgba(188,38,39,.8), transparent 65%); }
.hf-pulsemap__you { position: absolute; width: 14px; height: 14px; border-radius: 999px; background: #fff; border: 3px solid var(--hf-primary); }
.hf-pulsemap__label { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 10px; background: rgba(0,0,0,.55); color: #fff; font: 600 10.5px/1.4 var(--hf-font); }

/* ---------- 9 Monetizzazione extra ---------- */
.hf-paywall { position: relative; border-radius: var(--hf-r-lg); overflow: hidden; background: var(--hf-dark); }
.hf-paywall__scrim { position: absolute; inset: 0; background: rgba(10,10,10,.6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; font: 600 12.5px/1.4 var(--hf-font); z-index: 2; }
.hf-txrow { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--hf-canvas); font: 600 12.5px/1.3 var(--hf-font); }
.hf-txrow__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-content: center; background: var(--hf-surface); border: 1px solid var(--hf-border-soft); }
.hf-txrow__amt { margin-left: auto; font: 800 13px/1 var(--hf-font); font-variant-numeric: tabular-nums; }
.hf-txrow__amt.is-plus { color: var(--hf-online-ink); }
.hf-txrow__amt.is-minus { color: var(--hf-danger); }
.hf-boost { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--hf-r-lg); background: linear-gradient(135deg, var(--hf-primary), var(--hf-primary-soft)); color: #fff; }

/* ---------- 10 Stati extra ---------- */
.hf-confirm { text-align: center; padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hf-confirm__icon { width: 56px; height: 56px; border-radius: 999px; background: var(--hf-primary-tint); display: grid; place-content: center; color: var(--hf-danger); font-size: 20px; }
.hf-ratelimit { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--hf-r-md); background: var(--hf-warning-tint); color: var(--hf-warning); font: 600 12px/1.5 var(--hf-font); }
.hf-noresults { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---------- 11 Fiducia e sicurezza ---------- */
.hf-verifyflow__doc { border: 2px dashed var(--hf-border); border-radius: var(--hf-r-lg); aspect-ratio: 16/10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--hf-faint); font: 600 12px/1.4 var(--hf-font); cursor: pointer; }
.hf-verifyflow__doc.is-ok { border-color: var(--hf-online); color: var(--hf-online-ink); background: var(--hf-online-tint); border-style: solid; }
.hf-reportmodal__reason { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--hf-border); border-radius: var(--hf-r-md); font: 600 12.5px/1.3 var(--hf-font); cursor: pointer; }
.hf-reportmodal__reason[aria-pressed="true"] { border-color: var(--hf-danger); background: var(--hf-primary-tint); color: var(--hf-danger); }
.hf-blockrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hf-canvas); }
.hf-consent { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--hf-canvas); }
.hf-consent__text { flex: 1; font: 500 12px/1.5 var(--hf-font); color: var(--hf-muted); }
.hf-consent__text b { display: block; color: var(--hf-ink); font: 700 13px/1.4 var(--hf-font); }
.hf-discreet { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--hf-r-lg); background: var(--hf-dark); color: #fff; }
