:root{--navy:#101c32;--blue:#3268bb;--blue2:#245398;--ink:#172438;--muted:#6a7586;--bg:#f3f5f9;--line:#e3e9f2;--white:#fff;--shadow:0 8px 24px rgba(23,43,71,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}a{color:#275ca6;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.topbar-inner{max-width:1400px;min-height:70px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:10px 24px}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:750;color:var(--navy);letter-spacing:-.4px;white-space:nowrap}.brand:hover{text-decoration:none}.brand strong{color:var(--blue)}.brand-mark{background:linear-gradient(145deg,#3268bb,#183e78);color:#fff;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-weight:800;letter-spacing:0}.topnav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.topnav a{color:#3c4b5f;font-weight:600;font-size:14px}.topnav a:hover{color:var(--blue)}.layout{max-width:1400px;margin:28px auto;padding:0 24px;display:grid;grid-template-columns:235px minmax(0,1fr) 255px;gap:22px;align-items:start}.sidebar,.rightbar{position:sticky;top:98px}.content{min-width:0}.panel{background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);margin-bottom:16px;padding:20px}.side-heading{font-size:13px;color:#63738a;font-weight:800;text-transform:uppercase;letter-spacing:.65px;margin:0 0 12px}.side-link{display:block;padding:11px 8px;border-radius:8px;color:#35465f;font-weight:600}.side-link:hover{background:#eef4ff;text-decoration:none;color:var(--blue)}.tiny p,.muted{color:var(--muted)}.tiny p{font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;border:1px solid transparent;padding:9px 14px;font-size:13px;font-weight:700;text-decoration:none;transition:background .15s}.button:hover{text-decoration:none}.button-primary{color:#fff;background:var(--blue)}.button-primary:hover{color:#fff;background:var(--blue2)}.button-muted{background:#f0f4f9;border-color:#e0e7f2;color:#40556f}.button-muted:hover{background:#e7edf6}.button-danger{background:#fff0f0;color:#a32f3a;border-color:#f8d9dd}.button-danger:hover{background:#ffe1e5}.tiny .button{margin:5px 5px 0 0}.welcome{border-radius:17px;background:linear-gradient(113deg,#213e6b,#285faa 70%,#3a78cc);color:white;padding:32px 30px;margin-bottom:16px;min-height:195px;display:flex;align-items:center;position:relative;overflow:hidden}.welcome:after{content:"";width:220px;height:220px;position:absolute;right:-60px;top:-120px;background:rgba(255,255,255,.08);border-radius:50%}.welcome h1{font-size:26px;line-height:1.2;max-width:490px;letter-spacing:-.55px;margin:8px 0}.welcome p{opacity:.87;margin-bottom:0;max-width:500px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-weight:750;font-size:11px;opacity:.8}.composer label,.profile-edit label,.report-form label{display:block;font-weight:750;margin:0 0 12px}.composer textarea,.profile-edit textarea,.report-form input{width:100%;resize:vertical;border-radius:10px;border:1px solid #dce4ef;background:#fafcff;padding:14px;color:var(--ink);outline:none}.composer textarea:focus,.profile-edit textarea:focus,.report-form input:focus{border-color:#74a5ee;box-shadow:0 0 0 3px #daeaff}.composer-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:10px}.composer select{padding:9px 12px;border-radius:8px;background:#f5f7fb;border:1px solid #e1e7f0;color:#35465f}.section-label{color:#758195;text-transform:uppercase;letter-spacing:1.2px;font-weight:800;font-size:12px;margin:24px 2px 10px}.post{padding:20px 22px}.post-header{display:flex;align-items:center;gap:11px}.avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;color:#2b5a97;font-size:18px;font-weight:800;background:#e9f0fb;flex-shrink:0}.post-author{font-weight:750;color:#203857}.post-author a{color:#1c344e}.muted{font-size:12px}.post-body{white-space:normal;overflow-wrap:anywhere;padding:20px 0;color:#25364a;font-size:15px}.post-footer{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:13px;color:#6d7a8d;font-size:13px;flex-wrap:wrap}.post-footer>a{margin-left:auto;font-weight:700}.post-footer form{display:inline-block}.comment p{white-space:normal;overflow-wrap:anywhere}.comment strong a{color:#274b79}.comment small{margin-left:6px}.text-button{border:0;background:transparent;font-size:12px;color:#ad4552;padding:0}.empty{text-align:center;color:#778399;padding:34px}.flash{background:#eff6ff;color:#235a9e;border:1px solid #d4e7ff;padding:13px 17px;border-radius:10px;margin:0 0 16px}.pager{display:flex;gap:10px;margin:20px 0 40px}.profile-cover{height:130px;background:linear-gradient(110deg,#24456e,#3f78c8);border-radius:14px 14px 0 0;position:relative;margin-bottom:0}.profile-avatar{width:80px;height:80px;position:absolute;bottom:-36px;left:22px;border-radius:22px;background:#e4ecfa;border:5px solid white;display:grid;place-items:center;color:#315f98;font-size:35px;font-weight:800}.profile-info{border-radius:0 0 14px 14px;padding-top:42px}.profile-info h1{font-size:26px;margin:0 0 8px}.profile-edit{padding:20px 0 0}.profile-edit button{margin-top:10px}.profile-info form:not(.profile-edit){margin-top:15px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-title h1{font-size:24px;margin:0}.notification{font-size:14px}.notification.unread{border-left:4px solid var(--blue)}.report-form{margin:18px 0 30px;padding:12px 6px;display:flex;flex-wrap:wrap;align-items:end;gap:12px}.report-form label{width:100%;margin:0}.report-form input{max-width:480px}.rule{height:1px;background:var(--line);margin:14px 0}footer{text-align:center;padding:20px 15px 40px;color:#9098a6;font-size:12px}
@media(max-width:1150px){.layout{grid-template-columns:200px minmax(0,1fr)}.rightbar{display:none}}@media(max-width:800px){.layout{grid-template-columns:1fr;margin-top:15px;padding:0 12px}.sidebar{display:none}.topbar-inner{padding:12px;align-items:flex-start;flex-direction:column;gap:8px}.topnav{gap:13px}.topnav a{font-size:12px}.welcome{padding:26px 20px}.welcome h1{font-size:22px}.panel{border-radius:11px}.post{padding:15px}.profile-cover{height:100px}.section-title h1{font-size:19px}}

/* V0.1.2: accesso e disconnessione sempre visibili, anche su smartphone. */
.topnav-user{font-size:12px;color:#5e6d81;padding:4px 0;white-space:nowrap}
.topnav-user strong{color:#1b375b}
.topnav a.topnav-auth{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:7px 12px;border:1px solid #dbe4f0;white-space:nowrap;font-weight:750}
.topnav a.topnav-login{background:#3268bb;border-color:#3268bb;color:#fff}
.topnav a.topnav-register{background:#eaf1fc;color:#28599a}
.topnav a.topnav-logout{background:#f4f6fa;color:#485873}
.topnav a.topnav-auth:hover{filter:brightness(.96);text-decoration:none}
@media(max-width:800px){.topnav{width:100%;gap:8px}.topnav a.topnav-auth{padding:7px 10px}.topnav-user{flex-basis:100%;white-space:normal}}

/* MagicoLotto Social 0.2 - foto nelle pubblicazioni e profili */
.profile-cover{height:206px;background:linear-gradient(115deg,#1e4676 0%,#3b77bd 65%,#84a6d7 100%);overflow:visible;position:relative}
.profile-cover-image{width:100%;height:100%;object-fit:cover;display:block;border-radius:14px 14px 0 0}
.profile-avatar{width:100px;height:100px;bottom:-44px;border-radius:50%;left:26px;overflow:hidden;box-shadow:0 5px 18px rgba(15,35,61,.12)}
.profile-avatar img,.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar.has-photo,.profile-avatar.has-photo{background:#fff;padding:0}
.avatar.has-photo img{border-radius:50%}
.profile-avatar.has-photo{border:5px solid white}
.profile-info{padding-top:56px}
.post-media{margin:0 -22px 14px;background:#f0f3f8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:center}
.post-media img{display:block;width:auto;max-width:100%;max-height:650px;object-fit:contain}
.post-media+.post-footer{border-top:0}
.upload-line{display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;background:#f8fafe;border:1px dashed #ccd8e9;padding:14px;margin-top:12px;border-radius:10px}
.upload-line>label{margin:0;color:#315b8f}
.upload-line input{max-width:100%;font-size:13px}
.profile-media-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:17px 0}
.profile-media-inputs>div{padding:16px;background:#f8fafe;border:1px solid #e0e8f2;border-radius:10px;min-width:0}
.profile-media-inputs input[type=file]{display:block;max-width:100%;font-size:12px}
.profile-media-inputs .check-label{display:flex;align-items:center;font-weight:500;gap:7px;font-size:12px;color:var(--muted);margin:12px 0 0}
.profile-media-inputs .check-label input{width:16px;height:16px;margin:0}
.profile-edit .button{margin-top:16px}
.post-header .avatar{overflow:hidden}
.topnav a:focus-visible,.button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #92b8ef;outline-offset:2px}
@media(max-width:800px){.post-media{margin:0 -15px 14px}.profile-cover{height:148px}.profile-avatar{width:86px;height:86px;bottom:-40px}.profile-info{padding-top:49px}}
@media(max-width:600px){.profile-media-inputs{grid-template-columns:1fr}.upload-line{flex-direction:column;align-items:flex-start}.composer-bottom{flex-wrap:wrap}.composer-bottom select{min-width:55%}}

/* V0.2.1: avvisi espliciti per profili temporaneamente non disponibili */
.profile-error{border-left:4px solid #c8792d;background:#fffaf4}.profile-error h2{margin:0 0 10px;font-size:21px;color:#69451e}.profile-error p{margin:8px 0}.profile-error .button{margin:8px 0}


/* MagicoLotto Social V0.3 — restyling ispirato ai social moderni (senza dipendenze esterne). */
:root{--navy:#142b49;--blue:#1766d3;--blue2:#0d55b9;--ink:#172637;--muted:#6b7a8d;--bg:#f0f2f6;--line:#e4e8f0;--white:#fff;--shadow:0 3px 14px rgba(25,41,67,.065)}
body{background:var(--bg);color:var(--ink);line-height:1.47}
a{color:#185fb5}.ui-icon{width:19px;height:19px;display:inline-block;vertical-align:middle;flex:none;stroke-width:1.9}.topbar{box-shadow:0 1px 3px rgba(20,40,72,.035)}.topbar-inner{max-width:1560px;min-height:66px;padding:8px 22px;gap:15px}.brand{font-size:19px;gap:10px}.brand-mark{border-radius:50%;background:linear-gradient(135deg,#1252b2,#3a82de);width:41px;height:41px;font-size:23px;box-shadow:0 2px 10px #d4e3fa}.topnav{display:flex;flex-wrap:nowrap;gap:4px;align-items:stretch;height:54px}.topnav a.nav-item{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 17px;border-radius:9px 9px 0 0;color:#5b687a;font-weight:650;position:relative;white-space:nowrap;font-size:13px}.topnav a.nav-item:hover{background:#f0f5fd;text-decoration:none;color:var(--blue)}.topnav a.nav-item.is-active{color:var(--blue)}.topnav a.nav-item.is-active:after{content:"";position:absolute;bottom:-8px;height:3px;left:10px;right:10px;background:var(--blue);border-radius:4px}.notify-badge{position:absolute;top:3px;right:1px;background:#df2e46;color:white;border-radius:20px;min-width:19px;text-align:center;font-size:10px;padding:1px 4px;line-height:18px}.account-tools{display:flex;align-items:center;gap:8px;flex:none}.account-person{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#1f324c;max-width:155px}.account-person span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-person:hover{text-decoration:none}.account-mini-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e3edfc;color:#1d5db0;flex:none}.account-logout{display:inline-flex;gap:6px;align-items:center;color:#47607c;background:#f0f3f8;padding:8px 10px;border-radius:9px;font-size:13px;font-weight:650}.account-logout:hover{background:#e8effa;text-decoration:none}.layout{max-width:1490px;margin:22px auto;padding:0 24px;grid-template-columns:240px minmax(0,1fr) 270px;gap:22px}.layout.page-profile{grid-template-columns:240px minmax(0,1fr)}.layout.page-profile .rightbar{display:none}.sidebar,.rightbar{top:88px}.panel{border:1px solid #e5e9ef;border-radius:14px;box-shadow:var(--shadow)}.sidebar-nav{padding:16px 12px}.side-heading{margin:5px 10px 12px;color:#6c7890;font-size:12px;letter-spacing:.6px}.side-link{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:2px 0;color:#435269;border-radius:10px;font-weight:650;font-size:14px}.side-link:hover,.side-link.is-active{background:#e8f1ff;color:#185fb9;text-decoration:none}.side-count{margin-left:auto;background:#dce9fc;border-radius:16px;font-size:11px;line-height:19px;min-width:22px;text-align:center}.sidebar-info{padding:20px}.sidebar-info strong{color:#243955}.sidebar-info p{line-height:1.6}.button{border-radius:9px;font-size:13px;gap:8px;min-height:39px}.button .ui-icon{width:16px;height:16px}.button-primary{background:var(--blue)}.button-primary:hover{background:var(--blue2)}.button-muted{background:#e9edf4;color:#304860;border-color:#dce3ee}.button-muted:hover{background:#dfe9f6}.welcome{min-height:176px;border-radius:16px;padding:29px 34px;background:linear-gradient(115deg,#143966,#1857a5 57%,#387ecd)}.welcome h1{font-size:27px;letter-spacing:-.7px;max-width:560px}.welcome p{max-width:540px;font-size:14px}.welcome-emblem{position:absolute;right:30px;top:0;height:100%;display:grid;align-items:center;font-size:170px;line-height:1;font-weight:850;color:rgba(255,255,255,.095);pointer-events:none}.welcome:after{display:none}.guest-invite{display:flex;align-items:center;gap:16px}.guest-invite .ui-icon{width:34px;height:34px;color:var(--blue)}.guest-invite>div{flex:1}.guest-invite p{margin:3px 0 0;font-size:13px;color:var(--muted)}
/* Profilo: copertina a tutta larghezza, avatar tondo e centrato */
.profile-hero{margin-bottom:16px}.profile-cover{height:clamp(240px,28vw,350px);margin:0;border-radius:15px 15px 0 0;background:radial-gradient(circle at 20% 50%,#5797e0,transparent 39%),linear-gradient(110deg,#143657 10%,#1c5eaa 62%,#3d8fd4);overflow:hidden}.profile-cover:after{content:"";position:absolute;inset:auto 0 0;height:90px;background:linear-gradient(0deg,rgba(11,34,60,.18),transparent);pointer-events:none}.profile-cover-image{height:100%;width:100%;object-fit:cover;border-radius:15px 15px 0 0}.cover-watermark{position:absolute;left:50%;top:39%;transform:translate(-50%,-50%);white-space:nowrap;letter-spacing:clamp(1px,.35vw,5px);font-weight:750;font-size:clamp(19px,3vw,38px);color:rgba(255,255,255,.78);text-shadow:0 3px 14px rgba(9,40,80,.18)}.cover-watermark strong{font-weight:400;color:#e7f2ff}.cover-edit-button{position:absolute;z-index:2;right:17px;bottom:16px;display:flex;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.4);background:#fff;color:#24374d;padding:10px 14px;border-radius:9px;font-weight:750;box-shadow:0 2px 12px rgba(1,20,43,.14);font-size:13px}.cover-edit-button:hover{background:#eaf3ff}.cover-edit-button .ui-icon{width:17px;height:17px}.profile-info{position:relative;padding:0 20px 0!important;text-align:center;border-radius:0 0 15px 15px!important;margin:0!important;min-height:235px}.profile-avatar-stage{display:flex;align-items:center;justify-content:center;position:relative;z-index:3;margin-top:-79px;margin-bottom:6px}.profile-avatar-stage .profile-avatar{position:static;width:156px;height:156px;border-radius:50%;border:6px solid white;background:#dcecff;box-shadow:0 3px 13px rgba(12,39,81,.18);font-size:64px;display:grid;place-items:center;color:#1e5a9c;overflow:hidden}.profile-avatar-stage .profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-info h1{margin:8px 0 5px;font-size:clamp(25px,3vw,35px);letter-spacing:-.8px;color:#1c2b43;line-height:1.25}.profile-stats{display:flex;gap:9px;justify-content:center;color:#5d6980;font-size:14px;margin-top:4px}.profile-stats strong{font-weight:800;color:#253c56}.stat-dot{opacity:.5}.profile-bio{margin:14px auto 15px;max-width:720px;color:#657189;font-size:14px;overflow-wrap:anywhere}.profile-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:13px 0 20px}.profile-actions form{margin:0!important}.profile-tabs{display:flex;justify-content:center;gap:7px;border-top:1px solid #e8edf4;max-width:730px;margin:0 auto;padding-top:2px}.profile-tabs a{display:inline-flex;align-items:center;gap:7px;padding:15px 22px;color:#667891;font-weight:700;font-size:14px;position:relative}.profile-tabs a.is-active{color:var(--blue)}.profile-tabs a.is-active:after{content:"";position:absolute;bottom:0;left:14px;right:14px;height:3px;border-radius:3px;background:var(--blue)}.profile-tabs a:hover{color:var(--blue);text-decoration:none}.profile-tabs .ui-icon{width:17px;height:17px}.profile-editor{padding:14px 20px}.profile-editor summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;font-weight:800;padding:8px 4px;color:#2e4865}.profile-editor summary::-webkit-details-marker{display:none}.profile-editor summary .muted{margin-left:auto;font-weight:450}.profile-editor[open] summary{border-bottom:1px solid var(--line);padding-bottom:15px}.profile-edit{padding:20px 4px 6px}.profile-media-inputs{margin:17px 0 10px}
/* Compositore in stile social, apribile senza javascript */
.composer-card{padding:14px 18px}.composer-trigger{list-style:none;display:flex;align-items:center;gap:11px;cursor:pointer}.composer-trigger::-webkit-details-marker{display:none}.composer-trigger .avatar{width:45px;height:45px;font-size:17px}.composer-trigger-label{display:flex;align-items:center;flex:1;background:#f2f4f8;border-radius:50px;min-height:44px;padding:0 18px;color:#738096;font-weight:550;font-size:14px}.composer-trigger:hover .composer-trigger-label{background:#e9eef7}.composer-photo-cta{display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:750;color:#3274b6}.composer-photo-cta .ui-icon{color:#27a45c}.composer-expanded{margin-top:16px;border-top:1px solid var(--line);padding-top:18px}.composer-expanded textarea{display:block;min-height:125px}.composer-card[open] .composer-trigger-label{background:#eaf1fa}.composer-card .upload-line{background:#f8fbff}.composer-card .upload-line>label{display:flex;align-items:center;gap:8px}.feed-heading{font-size:13px;letter-spacing:.3px;text-transform:none;color:#31455e;margin:23px 3px 13px;font-weight:800}
/* Feed cards */
.social-post{padding:17px 19px 4px;border-radius:14px}.post-header{gap:11px;align-items:center}.post-header .avatar{width:44px;height:44px}.post-header-text{min-width:0}.post-author{font-size:15px;font-weight:800}.post-author a{color:#233e63}.post-header .muted{display:flex;align-items:center;gap:5px;margin-top:3px;flex-wrap:wrap}.post-header .muted .ui-icon{width:13px;height:13px}.dot-separator{opacity:.5}.post-body{padding:17px 2px 14px;font-size:15px;line-height:1.65;overflow-wrap:anywhere}.social-post .post-media{margin:3px -19px 12px;background:#f8fafc}.post-media img{max-height:680px}.post-metrics{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#6c788a;font-size:13px;padding:10px 0 11px}.post-metrics span{display:inline-flex;align-items:center;gap:5px}.post-metrics .ui-icon{width:15px;height:15px;color:#276cbd}.post-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;border-top:1px solid var(--line);padding:4px 0;gap:4px}.post-actions form{display:block;margin:0}.post-actions button,.post-actions a{color:#5c6b80;font-size:13px;font-weight:750;border:0;border-radius:7px;background:transparent;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 5px;min-width:0}.post-actions button:hover,.post-actions a:hover{color:var(--blue);background:#edf4ff;text-decoration:none}.post-actions .ui-icon{width:18px;height:18px}.social-post .post-footer{gap:8px}.social-post .post-footer .ui-icon{width:16px;height:16px}.post-footer .button{min-height:34px}.rightbar .about-card p{color:#64758a;font-size:13px;line-height:1.75}.rightbar .about-card small{font-size:12px;color:#73839b}.about-brand{display:flex;align-items:center;gap:11px}.about-brand-icon{display:grid;place-items:center;border-radius:12px;background:linear-gradient(130deg,#124b9c,#5392e7);color:#fff;font-size:21px;font-weight:800;width:45px;height:45px}.about-brand>div{display:flex;flex-direction:column;gap:1px}.about-brand strong{font-size:14px;color:#233a58}.about-brand small{font-size:11px!important}.rightbar .side-link{padding-left:0}.rightbar .side-link:hover{background:transparent}.notification{padding:17px 19px}
@media(max-width:1260px){.layout{grid-template-columns:205px minmax(0,1fr) 225px;gap:15px;padding:0 15px}.layout.page-profile{grid-template-columns:205px minmax(0,1fr)}.topnav a.nav-item{padding:0 10px}.topbar-inner{padding:8px 12px}.account-person span:last-child{display:none}}
@media(max-width:1080px){.layout{grid-template-columns:190px minmax(0,1fr)}.layout.page-profile{grid-template-columns:190px minmax(0,1fr)}.rightbar{display:none}.topnav a.nav-item span:not(.notify-badge){display:none}.topnav a.nav-item{min-width:49px}.brand{font-size:17px}}
@media(max-width:760px){.topbar-inner{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px}.topnav{order:3;width:100%;justify-content:space-around;height:44px}.topnav a.nav-item{flex:1;min-width:40px}.topnav a.nav-item .ui-icon{width:23px;height:23px}.topnav a.nav-item.is-active:after{bottom:-8px}.account-tools{margin-left:auto}.layout,.layout.page-profile{display:block;margin:15px auto;padding:0 10px}.sidebar{display:none}.profile-cover{height:210px}.profile-avatar-stage{margin-top:-65px}.profile-avatar-stage .profile-avatar{width:126px;height:126px;font-size:49px}.profile-info h1{font-size:25px}.cover-edit-button{font-size:12px;right:9px;bottom:9px;padding:9px 10px}.cover-watermark{font-size:20px}.profile-info{padding:0 10px!important}.profile-tabs a{font-size:13px;padding:14px}.welcome{min-height:142px;padding:24px 19px}.welcome h1{font-size:21px}.welcome p{font-size:13px}.welcome-emblem{font-size:100px;right:8px}.profile-editor summary .muted{display:none}.guest-invite{align-items:flex-start;flex-wrap:wrap}.guest-invite .button{margin-left:50px}.social-post .post-media{margin:3px -19px 12px}}
@media(max-width:460px){.brand{font-size:16px}.brand-mark{width:34px;height:34px;font-size:20px}.account-logout span{display:none}.account-person{display:none}.topnav a.nav-item{padding:0 6px}.profile-cover{height:165px}.profile-avatar-stage .profile-avatar{width:110px;height:110px}.profile-avatar-stage{margin-top:-57px}.profile-info h1{font-size:23px}.cover-edit-button{font-size:0;gap:0;padding:9px}.cover-edit-button .ui-icon{width:19px;height:19px}.composer-photo-cta{font-size:0}.composer-photo-cta .ui-icon{width:22px;height:22px}.composer-trigger-label{font-size:12px;padding:0 12px}.social-post{padding:15px 13px 2px}.social-post .post-media{margin:3px -13px 10px}.post-actions button,.post-actions a{font-size:11px;gap:4px}.post-actions .ui-icon{width:16px;height:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* V0.4 – Pulsanti e menu copertina/avatar */
.account-exit-form{margin:0}.account-exit-form .account-logout{font:inherit;cursor:pointer;border:0}.account-logout .ui-icon{width:17px;height:17px}
.profile-hero{position:relative}.media-menu{z-index:20}.media-menu summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:750;background:#fff;color:#27384e;border:1px solid #d5deea;border-radius:9px;padding:9px 13px;box-shadow:0 2px 12px rgba(20,44,71,.16);list-style:none}.media-menu summary::-webkit-details-marker{display:none}.media-menu summary .ui-icon{width:17px;height:17px}.media-menu summary:hover{background:#f1f6fd}.cover-menu{position:absolute;top:clamp(188px,calc(28vw - 61px),296px);right:18px}.avatar-menu{position:absolute;bottom:7px;left:calc(50% + 43px)}.avatar-menu summary{border-radius:100px;padding:8px}.media-dropdown{position:absolute;top:calc(100% + 5px);right:0;background:#fff;min-width:245px;border-radius:10px;box-shadow:0 6px 25px rgba(26,51,89,.22);padding:7px;border:1px solid #e1e7f0;text-align:left}.media-dropdown a,.media-dropdown button{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#2b3e56;padding:11px 10px;width:100%;border-radius:7px;text-align:left;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}.media-dropdown a:hover,.media-dropdown button:hover{background:#f0f4f9;text-decoration:none}.media-dropdown .ui-icon{width:19px;height:19px}.media-dropdown form{margin:0!important}.position-editor{margin:12px 0;padding:17px 22px}.position-editor summary{font-size:15px;font-weight:750;cursor:pointer}.position-editor form{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.position-editor label{width:100%}.position-editor input[type=range]{width:min(420px,100%);accent-color:#1766d3}
/* V0.4 – Persone, amicizie e richieste */
.people-search{padding:19px 20px}.people-search label{font-weight:750;font-size:13px;display:block;margin-bottom:9px}.search-row{display:flex;gap:10px}.search-row input{flex:1;min-width:0}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:13px;margin:16px 0 26px}.person-card{text-align:center;padding:20px 12px}.person-card .profile-avatar{position:static;width:88px;height:88px;border:4px solid #fff;border-radius:50%;margin:0 auto;background:#eaf2fc;color:#1c65b4;font-size:35px;display:grid;place-items:center;overflow:hidden}.person-card .profile-avatar img{width:100%;height:100%;object-fit:cover}.person-card h2{font-size:15px;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}.person-actions{display:flex;flex-direction:column;gap:8px}.person-actions form{margin:0}.person-actions button,.person-actions>.button{width:100%;justify-content:center}.friend-row{display:flex;align-items:center;gap:14px;padding:14px 17px}.friend-row .avatar{flex:none}.friend-name{flex:1;min-width:0;font-weight:700}.friend-actions,.friend-pending{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.friend-action-form{margin:0!important}.friend-actions .button,.friend-pending .button{white-space:normal}.profile-actions .friend-action-form{display:inline-flex}
/* V0.4 – Clipboard immagini */
.clipboard-hint{font-size:12px;color:#667d98;margin:10px 0 0}.paste-preview:empty{display:none}.paste-preview{flex:1 1 100%;padding:8px 2px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#345f97}.paste-preview img{max-width:155px;max-height:125px;object-fit:contain;border-radius:8px;border:1px solid #d8e2f0;background:#fff}
@media(max-width:760px){.cover-menu{top:159px;right:10px}.avatar-menu{left:calc(50% + 32px)}.media-menu.cover-menu summary{font-size:12px;padding:8px}.media-dropdown{min-width:220px}.friend-row{flex-wrap:wrap}.friend-actions{width:100%}.search-row{flex-wrap:wrap}}
@media(max-width:460px){.cover-menu{top:120px;right:8px}.cover-menu summary span{display:none}.avatar-menu{left:calc(50% + 20px)}.person-card .profile-avatar{width:76px;height:76px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.person-card{padding:16px 8px}.person-card .button{font-size:12px;padding:9px 6px}}

/* MagicoLotto Social V0.4.2 - Ultime pubblicazioni del profilo */
.profile-updates-heading{scroll-margin-top:100px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 15px;padding:18px 21px;background:#fff;border:1px solid #e0e7f1;border-left:4px solid #2a6dd5;border-radius:13px;box-shadow:0 3px 14px rgba(26,52,86,.04)}
.profile-updates-heading h2{font-size:clamp(18px,2.2vw,23px);line-height:1.3;color:#20334e;margin:5px 0 6px;overflow-wrap:anywhere}
.profile-updates-heading p{font-size:13px;color:#687c95;margin:0}
.profile-updates-eyebrow{font-size:11px;letter-spacing:1.2px;color:#3870b7;font-weight:800}
.profile-updates-count{font-weight:700;color:#71829a;font-size:12px;white-space:nowrap;background:#eff4fb;padding:6px 10px;border-radius:20px}
@media(max-width:620px){.profile-updates-heading{padding:14px 15px;align-items:start}.profile-updates-count{display:none}}

/* ===== MagicoLotto Social 0.4.3 – anteprime fotografiche ===== */
.social-post .post-media.mlps-photo-grid{overflow:hidden;background:#f0f2f5;border-radius:9px;max-width:100%;}
.mlps-photo-grid .mlps-photo-button{appearance:none;cursor:zoom-in;padding:0;margin:0;border:0;min-width:0;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;background:#eef1f6;overflow:hidden;color:inherit;}
.mlps-photo-grid .mlps-photo-button:focus-visible{outline:3px solid #3178dd;outline-offset:-3px;z-index:2;}
.social-post .mlps-photo-grid .mlps-photo-button img{display:block;object-fit:contain;max-height:none;}
.mlps-photo-single{display:flex;justify-content:center;align-items:center;max-height:420px;}
.mlps-photo-single .mlps-photo-button{width:100%;max-height:420px;}
.social-post .mlps-photo-single .mlps-photo-button img{width:auto;max-width:100%;height:auto;max-height:420px;object-fit:contain;margin:0 auto;}
.mlps-photo-multiple{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;max-height:500px;}
.mlps-photo-multiple .mlps-photo-button{width:100%;height:210px;}
.social-post .mlps-photo-multiple .mlps-photo-button img{width:100%;height:100%;object-fit:cover;}
.mlps-photo-multiple.count-2 .mlps-photo-button{height:285px;}
.mlps-photo-multiple.count-3 .mlps-photo-button:nth-child(3){grid-column:span 2;height:225px;}
.mlps-photo-multiple.count-3 .mlps-photo-button:nth-child(-n+2){height:190px;}
.mlps-photo-count{position:absolute;bottom:8px;right:8px;border-radius:5px;background:rgba(0,0,0,.62);color:#fff;font-size:12px;font-weight:700;padding:4px 7px;pointer-events:none;}
.mlps-selected-photo{position:relative;display:inline-flex;align-items:center;justify-content:center;}
.paste-preview .mlps-selected-photo img{max-height:94px;max-width:110px;width:94px;height:94px;object-fit:cover;}
.mlps-photo-remove{position:absolute;top:-7px;right:-7px;border:0;border-radius:50%;background:#243247;color:#fff;font-size:17px;width:24px;height:24px;cursor:pointer;line-height:24px;}
.mlps-selected-count{font-weight:700;color:#476388;}.mlps-photo-warning{color:#9b271b;font-size:12px;font-weight:650;}
/* ===== Visualizzatore fotografie a schermo intero ===== */
body.mlps-lightbox-open{overflow:hidden;}
.mlps-lightbox[hidden],.mlps-lightbox [hidden]{display:none!important;}
.mlps-lightbox{position:fixed;inset:0;z-index:2147483000;color:#f5f6f8;background:rgba(0,0,0,.98);font-family:inherit;}
.mlps-lightbox-backdrop{position:absolute;inset:0;cursor:pointer;}
.mlps-lightbox-toolbar{position:absolute;top:0;left:0;right:0;height:62px;padding:10px 16px;display:flex;gap:15px;align-items:center;z-index:4;pointer-events:none;}
.mlps-lightbox-toolbar>*,.mlps-lightbox-toolbar button{pointer-events:auto;}
.mlps-lightbox-counter{color:#f2f2f2;font-size:15px;font-weight:650;margin-left:4px;}
.mlps-lightbox-round{border:0;width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:50%;background:#353535;color:white;cursor:pointer;font-size:27px;line-height:1;}
.mlps-lightbox-round:hover,.mlps-lightbox-nav:hover{background:#606060;}
.mlps-lightbox-toolbar #mlps-lightbox-zoom{margin-left:auto;margin-right:clamp(0px,26vw,360px);font-size:23px;}
.mlps-lightbox-layout{position:relative;height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);}
.mlps-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:100%;padding:65px 62px 25px;overflow:auto;overscroll-behavior:contain;}
.mlps-lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:auto;box-shadow:0 2px 10px rgba(0,0,0,.12);}
.mlps-lightbox.is-zoomed .mlps-lightbox-stage{display:block;text-align:center;}
.mlps-lightbox.is-zoomed .mlps-lightbox-stage img{max-width:none;max-height:none;cursor:zoom-out;}
.mlps-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;display:grid;place-items:center;border:0;border-radius:50%;background:#404040;color:#fff;font-size:37px;line-height:1;cursor:pointer;z-index:2;}
#mlps-lightbox-prev{left:10px;}#mlps-lightbox-next{right:10px;}
.mlps-lightbox-details{position:relative;z-index:3;min-height:0;overflow-y:auto;padding:74px 23px 25px;background:#fff;color:#252d3a;box-shadow:-2px 0 10px rgba(0,0,0,.12);}
.mlps-lightbox-details-heading{font-weight:800;font-size:13px;color:#64748b;margin:0 0 22px;padding-bottom:14px;border-bottom:1px solid #e6ebf3;}
.mlps-lightbox-author{font-size:17px;font-weight:800;overflow-wrap:anywhere;}
.mlps-lightbox-date{font-size:12px;margin:6px 0 22px;color:#6d7786;}
.mlps-lightbox-caption{font-size:14px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere;}
.mlps-lightbox-post-link{display:block;margin-top:25px;background:#216bd4;border-radius:7px;color:#fff!important;text-decoration:none!important;font-weight:700;text-align:center;padding:12px 10px;}
.mlps-lightbox-post-link:hover{background:#1555aa;}
.mlps-lightbox button:focus-visible,.mlps-lightbox a:focus-visible{outline:3px solid #73bbff;outline-offset:2px;}
@media(max-width:780px){
 .mlps-lightbox-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;}
 .mlps-lightbox-stage{height:100%;padding:66px 45px 10px;}
 .mlps-lightbox-toolbar #mlps-lightbox-zoom{margin-right:0;}
 .mlps-lightbox-details{max-height:31dvh;min-height:120px;padding:14px 18px 20px;}
 .mlps-lightbox-details-heading{display:none;}
 .mlps-lightbox-date{margin:2px 0 5px;}
 .mlps-lightbox-caption{max-height:7em;overflow:auto;}
 .mlps-lightbox-post-link{margin-top:8px;}
 .mlps-photo-multiple .mlps-photo-button{height:150px;}
 .mlps-photo-multiple.count-2 .mlps-photo-button{height:210px;}
 .mlps-photo-multiple.count-3 .mlps-photo-button:nth-child(-n+2){height:125px;}
 .mlps-photo-multiple.count-3 .mlps-photo-button:nth-child(3){height:170px;}
}
@media(max-width:460px){
 .mlps-photo-single,.mlps-photo-single .mlps-photo-button,.social-post .mlps-photo-single .mlps-photo-button img{max-height:340px;}
 .mlps-lightbox-nav{width:34px;height:34px;font-size:30px;}
 #mlps-lightbox-prev{left:4px;}#mlps-lightbox-next{right:4px;}
 .mlps-lightbox-stage{padding-left:40px;padding-right:40px;}
}


/* ===== MagicoLotto Social V0.4.4 - avatar autore e Mi piace personale ===== */
.mlps-lightbox-identity{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 17px;}
.mlps-lightbox-avatar-link{display:inline-flex;align-items:center;justify-content:center;flex:none;text-decoration:none!important;border-radius:50%;}
.mlps-lightbox-avatar-link .avatar{width:52px;height:52px;font-size:20px;border-radius:50%;box-shadow:0 0 0 2px #e8effa;overflow:hidden;}
.mlps-lightbox-avatar-link .avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;}
.mlps-lightbox-identity-text{min-width:0;}
.mlps-lightbox-author{font-size:16px;line-height:1.3;font-weight:800;color:#27384e;text-decoration:none;display:block;}
.mlps-lightbox-author:hover{color:#0866ff;text-decoration:underline;}
.mlps-lightbox-date{font-size:12px;color:#64748b;margin:4px 0 0;}
.mlps-lightbox-likes{margin:14px 0 12px;padding-top:13px;border-top:1px solid #e7ebf1;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.mlps-lightbox-likes-count{font-size:13px;color:#697789;}
.mlps-lightbox-likes .mlps-like-button{border:1px solid #e2e8f0;background:#f3f5f9;color:#4d5d74;border-radius:8px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;font-weight:750;}
.mlps-lightbox-likes .mlps-like-button:hover{background:#ebf2ff;color:#0866ff;}
.mlps-lightbox-likes .mlps-like-button.is-liked{background:#e9f1ff;border-color:#c4d8ff;color:#0866ff;}
.mlps-lightbox-likes .mlps-like-button .ui-icon{width:19px;height:19px;}
.mlps-lightbox-login{font-weight:700;font-size:12px;}
/* I cuori degli altri restano vuoti: la colorazione dipende soltanto dalla presenza del Mi piace del visitatore. */
.post-metrics .mlps-like-stat .ui-icon{color:#7d8ca1;fill:none;}
.mlps-like-stat{display:inline-flex;align-items:center;gap:5px;}
.mlps-like-stat strong{font-weight:700;}
.mlps-like-stat.is-liked{color:#0866ff;}
.post-metrics .mlps-like-stat.is-liked .ui-icon,.mlps-like-stat.is-liked .ui-icon{color:#0866ff;fill:currentColor;}
.social-post .post-actions .mlps-like-button.is-liked{color:#0866ff;background:#e9f1ff;}
.social-post .post-actions .mlps-like-button.is-liked:hover{color:#0055cc;background:#dbe9ff;}
.social-post .post-footer .mlps-like-button.is-liked{color:#0866ff;background:#e9f1ff;border-color:#c4d8ff;}
.mlps-like-button.is-liked .ui-icon{color:#0866ff;fill:currentColor;stroke:currentColor;}
.mlps-like-button:disabled{opacity:.55;cursor:wait;}
@media(max-width:780px){
 .mlps-lightbox-identity{margin-bottom:10px;gap:9px;}
 .mlps-lightbox-avatar-link .avatar{width:40px;height:40px;font-size:16px;}
 .mlps-lightbox-author{font-size:14px;}
 .mlps-lightbox-likes{margin:10px 0 8px;padding-top:9px;}
}

/* ===== MagicoLotto Social V0.4.5 - Commenti e risposta nel visualizzatore ===== */
.mlps-lightbox-details{display:flex;flex-direction:column;overflow:hidden;padding:74px 20px 0;}
.mlps-lightbox-details-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 7px 15px 2px;scrollbar-width:thin;}
.mlps-lightbox-caption{max-height:8em;overflow-y:auto;margin:0 0 8px;}
.mlps-lightbox-post-link{font-size:12px;margin-top:12px;padding:8px 10px;}
.mlps-lightbox-comments-section{margin-top:19px;padding-top:13px;border-top:1px solid #e8edf3;}
.mlps-lightbox-comments-heading{display:flex;align-items:center;gap:7px;font-size:14px;color:#29364a;margin:0 0 16px;}
#mlps-lightbox-comments-count{font-size:12px;color:#79869a;}
.mlps-lightbox-comments-list{display:flex;flex-direction:column;gap:15px;}
.mlps-lightbox-comments-status{margin:4px 0 15px;color:#7b879b;font-size:13px;}
.mlps-lightbox-comments-more{font-size:12px;color:#718096;margin:12px 0;}
.mlps-lightbox-comment{display:flex;align-items:flex-start;gap:9px;min-width:0;}
.mlps-lightbox-comment-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#e5effc;color:#285d9a;font-weight:800;font-size:13px;text-decoration:none;overflow:hidden;}
.mlps-lightbox-comment-avatar img{display:block;width:100%;height:100%;object-fit:cover;}
.mlps-lightbox-comment-content{flex:1;min-width:0;}
.mlps-lightbox-comment-bubble{background:#f0f2f5;color:#27364a;border-radius:15px;padding:8px 11px;overflow-wrap:anywhere;}
.mlps-lightbox-comment-author{display:block;font-size:13px;font-weight:800;color:#26384f;line-height:1.35;}
.mlps-lightbox-comment-bubble p{margin:3px 0 0;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;}
.mlps-lightbox-comment-date{display:block;font-size:11px;color:#7a8798;margin:3px 8px;}
.mlps-lightbox-comment-form{position:relative;flex:0 0 auto;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:8px;padding:12px 5px 13px;margin:0;border-top:1px solid #e0e6ef;background:#fff;}
.mlps-lightbox-comment-form>.avatar{width:36px;height:36px;border-radius:50%;font-size:14px;}
.mlps-lightbox-comment-form>.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
.mlps-lightbox-comment-field{min-width:0;display:block;background:#f0f2f5;border:1px solid #e9edf4;border-radius:18px;padding:6px 10px 4px;}
.mlps-lightbox-comment-field textarea{border:0!important;outline:0!important;display:block;resize:vertical;width:100%;min-height:30px;max-height:115px;line-height:1.35;font-size:13px;color:#253346;background:transparent;box-shadow:none!important;}
.mlps-lightbox-comment-field textarea::placeholder{color:#748296;opacity:1;}
.mlps-lightbox-comment-hint{display:block;color:#8591a1;font-size:10px;line-height:1.3;margin:0 0 2px;}
.mlps-lightbox-comment-send{display:grid;place-items:center;border:0;border-radius:50%;background:#0866ff;color:#fff;width:36px;height:36px;font-size:21px;cursor:pointer;transition:background .15s;}
.mlps-lightbox-comment-send:hover{background:#0054d4;}
.mlps-lightbox-comment-send:disabled{background:#c8d3e5;cursor:wait;}
.mlps-lightbox-comment-feedback{grid-column:2 / 4;color:#315c96;font-size:12px;min-height:0;}
.mlps-lightbox-comment-feedback:empty{display:none;}
.mlps-lightbox-comment-guest{padding:13px 7px 17px;border-top:1px solid #e3e8f0;color:#6d7b8d;font-size:13px;}
.mlps-lightbox-comment-guest a{font-weight:800;}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
@media(max-width:780px){
 .mlps-lightbox-layout{grid-template-rows:minmax(0,1fr) minmax(265px,42dvh);}
 .mlps-lightbox-details{max-height:none;min-height:0;padding:12px 16px 0;}
 .mlps-lightbox-details-scroll{padding-bottom:8px;}
 .mlps-lightbox-comment-form{padding:8px 1px 9px;}
 .mlps-lightbox-comments-section{margin-top:12px;}
 .mlps-lightbox-identity{margin-bottom:9px;}
 .mlps-lightbox-caption{max-height:4em;font-size:12px;}
 .mlps-lightbox-post-link{margin-top:7px;}
 .mlps-lightbox-comment-hint{display:none;}
 .mlps-lightbox-comment-field textarea{resize:none;min-height:32px;max-height:85px;}
}

/* MagicoLotto Social V0.4.6 - identita nel menu, opzioni pubblicazioni, cestino */
.sidebar-self{display:flex;align-items:center;gap:11px;padding:13px 12px;text-decoration:none!important;min-width:0;color:#263e5e;border-radius:12px;transition:background .15s}
.sidebar-self:hover{background:#f4f8ff;color:#145ba9}.sidebar-self .avatar{width:43px;height:43px;overflow:hidden;border-radius:50%;flex:none}
.sidebar-self .avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.sidebar-self-info{display:flex;min-width:0;flex:1;flex-direction:column;line-height:1.3;gap:3px}
.sidebar-self-info strong{font-size:13px;overflow-wrap:anywhere}.sidebar-self-info small{font-size:11px;color:#667991}
.social-post .post-header{position:relative;z-index:2}.post-header-text{flex:1;min-width:0}
.mlps-post-more{margin-left:auto;align-self:flex-start;position:relative;flex:none;z-index:25}
.mlps-post-more>summary{list-style:none;display:grid;place-items:center;border-radius:50%;height:36px;width:36px;border:0;color:#687788;cursor:pointer;font-size:27px;line-height:1;font-weight:750}
.mlps-post-more>summary::-webkit-details-marker{display:none}.mlps-post-more>summary:hover,.mlps-post-more[open]>summary{background:#edf3fb;color:#1b5799}
.mlps-post-more>summary:focus-visible{outline:3px solid #86b7ff;outline-offset:2px}
.mlps-post-dropdown{position:absolute;right:0;top:39px;z-index:50;min-width:245px;max-width:min(92vw,300px);background:#fff;border:1px solid #dbe4f0;border-radius:12px;padding:7px;box-shadow:0 12px 35px rgba(23,41,68,.22)}
.mlps-post-dropdown button,.mlps-post-dropdown a{display:block;width:100%;text-align:left;padding:11px 12px;color:#293c56;background:transparent;border:0;border-radius:7px;cursor:pointer;font-size:13px;font-weight:650;text-decoration:none}
.mlps-post-dropdown button:hover,.mlps-post-dropdown a:hover{background:#eef4fc;text-decoration:none;color:#185eaa}
.mlps-post-dropdown form{margin:0!important;display:block}.mlps-post-dropdown .mlps-menu-danger{color:#b53642}
.mlps-post-dropdown .mlps-menu-danger:hover{background:#fff0f0;color:#ac2735}
.post-pinned{margin:12px 0 0;display:inline-flex;align-items:center;gap:5px;color:#275a9e;background:#eaf2fe;border-radius:30px;padding:5px 11px;font-size:12px;font-weight:750}
.mlps-edit-post textarea{min-height:150px}.mlps-edit-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
.trash-item{display:flex;align-items:center;justify-content:space-between;gap:20px}.trash-item>div:first-child{min-width:0;flex:1;overflow-wrap:anywhere}
.trash-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.trash-actions form{margin:0}
@media(max-width:760px){.mlps-post-dropdown{right:0;min-width:225px}.trash-item{flex-direction:column;align-items:stretch}.trash-actions{justify-content:flex-start}}
/* Il menu aperto resta sopra le card successive e non viene tagliato. */
.social-post{position:relative}
.social-post:has(.mlps-post-more[open]){z-index:45}


/* V0.5 - Album Foto personale: anteprime quadrate, visualizzatore condiviso */
.layout.page-photos{grid-template-columns:240px minmax(0,1fr)}
.layout.page-photos .rightbar{display:none}
.mlps-gallery-panel{padding:20px 22px 22px;margin:16px 0 22px}
.mlps-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;flex-wrap:wrap}
.mlps-gallery-heading h2{font-size:20px;margin:3px 0 0;color:#223952}
.mlps-gallery-heading .button{white-space:nowrap}
.mlps-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mlps-gallery-preview{grid-template-columns:repeat(3,minmax(0,1fr))}
.mlps-gallery-tile{aspect-ratio:1 / 1;display:block;position:relative;overflow:hidden;border-radius:10px;background:#e7edf6;isolation:isolate;outline-offset:3px}
.mlps-gallery-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.mlps-gallery-tile:hover img,.mlps-gallery-tile:focus-visible img{transform:scale(1.045)}
.mlps-gallery-tile-overlay{position:absolute;inset:auto 0 0;color:#fff;padding:22px 10px 10px;display:flex;align-items:center;gap:5px;font-weight:750;font-size:12px;background:linear-gradient(transparent,rgba(0,0,0,.65));opacity:0;transition:opacity .18s}
.mlps-gallery-tile-overlay .ui-icon{width:17px;height:17px}
.mlps-gallery-tile:hover .mlps-gallery-tile-overlay,.mlps-gallery-tile:focus-visible .mlps-gallery-tile-overlay{opacity:1}
.mlps-gallery-empty{color:#738097;padding:25px 12px;text-align:center;background:#f7f9fc;border-radius:10px;margin:0}
.mlps-gallery-page{padding:22px 24px}
.mlps-gallery-person{display:flex;align-items:center;gap:15px;margin-bottom:14px}
.mlps-gallery-person .avatar{width:66px;height:66px;font-size:25px}
.mlps-gallery-person h1{font-size:24px;margin:3px 0 1px}
.mlps-gallery-person p{font-size:13px;color:#68788e;margin:0}
.mlps-gallery-nav{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e2e8f1}
.mlps-gallery-page .pager{margin:18px 0 0}
@media(max-width:1080px){.layout.page-photos{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:760px){.layout.page-photos{display:block;padding:0 10px}.mlps-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mlps-gallery-panel,.mlps-gallery-page{padding:13px}.mlps-gallery-person h1{font-size:21px}.mlps-gallery-tile-overlay{opacity:1;font-size:11px}}
@media(max-width:460px){.mlps-gallery-grid{gap:5px}.mlps-gallery-panel{padding:12px}.mlps-gallery-heading h2{font-size:18px}.mlps-gallery-heading .button{font-size:11px}.profile-tabs a{padding:12px 9px;font-size:12px}.profile-tabs .ui-icon{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){.mlps-gallery-tile img{transition:none}.mlps-gallery-tile-overlay{transition:none}}

/* MagicoLotto Social 0.6 – video nelle pubblicazioni e nei profili */
.mlps-post-video{background:#10151f;border-radius:12px;overflow:hidden;margin:10px 0 14px;position:relative;}
.mlps-post-video video{display:block;width:100%;max-width:100%;max-height:480px;aspect-ratio:16/9;object-fit:contain;background:#090e19;}
.mlps-video-download{display:inline-flex;gap:5px;font-size:12px;font-weight:700;color:#e7efff!important;background:#1e2a40;padding:8px 13px;text-decoration:none;}
.mlps-video-download:hover{text-decoration:underline;background:#293b56;}
.mlps-video-upload{border:1px dashed #c5d4e8;border-radius:9px;padding:13px;background:#f7faff;margin-top:10px;}
.mlps-video-upload input[type=file]{max-width:100%;display:block;margin:8px 0 7px;}
#mlps-video-feedback{font-size:12px;color:#44658a;margin-top:7px;overflow-wrap:anywhere;}
#mlps-video-feedback.is-error{color:#ad2626;font-weight:750;}
.mlps-video-page{padding:24px;}
.mlps-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px;}
.mlps-video-tile{min-width:0;border:1px solid #e0e8f3;border-radius:12px;padding:14px;background:#fff;}
.mlps-video-tile-meta{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;color:#687c92;font-size:13px;}
.mlps-video-tile p{overflow-wrap:anywhere;font-size:13px;line-height:1.5;}
.mlps-video-tile .mlps-post-video video{max-height:280px;}
@media(max-width:790px){.mlps-video-grid{grid-template-columns:1fr;}.mlps-post-video video{max-height:360px;}.mlps-video-page{padding:15px;}}


/* MagicoLotto Social V0.6.1 – anteprima YouTube responsive */
.mlps-youtube-card{margin:12px 0 15px;border:1px solid #e0e5ef;background:#fff;border-radius:13px;overflow:hidden;max-width:100%}
.mlps-youtube-stage{position:relative;width:100%;aspect-ratio:16/9;background:#111827;overflow:hidden}
.mlps-youtube-stage iframe{display:block;width:100%;height:100%;border:0;position:absolute;inset:0}
.mlps-youtube-launch{display:block;position:relative;cursor:pointer;width:100%;height:100%;padding:0;border:0;background:#111827;color:white}
.mlps-youtube-launch img{display:block;width:100%;height:100%;object-fit:cover}
.mlps-youtube-play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:72px;height:50px;background:#e52122;color:#fff;border-radius:15px;box-shadow:0 2px 14px #0008;font-size:27px;transition:background-color .15s,transform .15s}
.mlps-youtube-launch:hover .mlps-youtube-play-icon,.mlps-youtube-launch:focus-visible .mlps-youtube-play-icon{background:#ff1616;transform:translate(-50%,-50%) scale(1.08)}
.mlps-youtube-launch:focus-visible{outline:3px solid #2d6cdf;outline-offset:-3px}
.mlps-youtube-meta{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap;padding:10px 13px;font-size:13px}
.mlps-youtube-meta a{font-weight:650;color:#2460b5;overflow-wrap:anywhere}
@media(max-width:600px){.mlps-youtube-play-icon{width:62px;height:44px;font-size:24px}.mlps-youtube-meta{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mlps-youtube-play-icon{transition:none}}

.mlps-youtube-draft{margin:12px 0}
.mlps-youtube-draft[hidden]{display:none!important}
.mlps-youtube-draft>p{font-size:12px;color:#47617e;margin:0 0 7px;font-weight:650}
.mlps-youtube-draft .mlps-youtube-card{margin:0;max-width:440px}

/* V0.6.2: commenti visibili direttamente sotto ogni post della bacheca e del profilo. */
.mlps-comment-metric{font:inherit;color:#66758a;text-decoration:none;border:0;background:transparent;cursor:pointer;}
.mlps-comment-metric:hover,.mlps-comment-metric:focus-visible{color:#0866ff;text-decoration:underline;}
.mlps-feed-comments{border-top:1px solid #e9edf3;padding:11px 2px 13px;scroll-margin-top:90px;}
.mlps-feed-comments[hidden],.mlps-feed-comments-more[hidden]{display:none!important;}
.mlps-feed-comments-list{display:flex;flex-direction:column;gap:12px;}
.mlps-feed-comment{display:flex;align-items:flex-start;gap:9px;min-width:0;}
.mlps-feed-comment-avatar{display:block;flex:0 0 34px;width:34px;height:34px;text-decoration:none;}
.mlps-feed-comment-avatar .avatar{display:grid;place-items:center;width:34px;height:34px;font-size:13px;border-radius:50%;}
.mlps-feed-comment-avatar .avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;}
.mlps-feed-comment-content{min-width:0;flex:1;}
.mlps-feed-comment-bubble{display:inline-block;max-width:100%;padding:8px 12px;background:#f0f2f5;border-radius:15px;color:#24364d;overflow-wrap:anywhere;}
.mlps-feed-comment-author{display:block;font-size:13px;font-weight:800;color:#233b58;text-decoration:none;}
.mlps-feed-comment-bubble p{font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0;}
.mlps-feed-comment-content small{display:block;padding:3px 10px;color:#7c8798;font-size:11px;}
.mlps-feed-comments-more{display:inline-block;margin:10px 0 0 44px;font-size:12px;font-weight:750;color:#286ac5;text-decoration:none;}
.mlps-feed-comments-more:hover{text-decoration:underline;}
.mlps-lightbox-comments-heading a{color:inherit;text-decoration:none;cursor:pointer;}
.mlps-lightbox-comments-heading a:hover,.mlps-lightbox-comments-heading a:focus-visible{color:#0866ff;text-decoration:underline;}
#mlps-lightbox-comments-list{scroll-margin-top:16px;}
@media(max-width:600px){.mlps-feed-comments{padding:10px 0 12px;}.mlps-feed-comments-more{margin-left:43px;}}

/* MagicoLotto Social V0.7: share cards, share menu, improved notifications. */
.mlps-reshare-card{border:1px solid #dbe4f0;background:#f8fbff;border-radius:12px;padding:16px 18px;margin:8px 0 14px;overflow-wrap:anywhere}
.mlps-reshare-label{font-size:11px;color:#607c9e;font-weight:800;text-transform:uppercase;letter-spacing:.7px;margin-bottom:6px}
.mlps-reshare-card strong{display:block}.mlps-reshare-card small{display:block;margin:2px 0 8px;color:#74839a}.mlps-reshare-card p{margin:8px 0 12px;line-height:1.55;white-space:normal}
.mlps-reshare-open{display:inline-block;font-weight:750}.mlps-reshare-unavailable{color:#7a8798}
.mlps-share-controls{position:relative;min-width:0;z-index:1}.mlps-share-controls[open]{z-index:20}
.mlps-share-controls>summary{cursor:pointer;list-style:none;display:flex;gap:8px;justify-content:center;align-items:center;font-weight:750;color:#5c6b80;padding:11px 8px;border-radius:7px}
.mlps-share-controls>summary::-webkit-details-marker{display:none}.mlps-share-controls>summary:hover,.mlps-share-controls[open]>summary{background:#edf4ff;color:#1766cc}
.mlps-share-controls .ui-icon{width:18px;height:18px}.mlps-share-popup{position:absolute;right:0;top:100%;background:white;z-index:80;min-width:min(320px,84vw);box-shadow:0 12px 32px rgba(28,54,90,.2);border:1px solid #dae4ef;border-radius:12px;padding:12px;text-align:left}
.mlps-share-popup>button,.mlps-share-popup>a{width:100%;display:block;text-align:left;padding:9px 10px;border-radius:8px;text-decoration:none;color:#2f527c;font-size:13px;background:#eef4fb;border:0}
.mlps-reshare-form{display:flex!important;flex-direction:column;gap:9px;margin-top:9px!important}
.mlps-reshare-form label{font-size:12px;font-weight:700;color:#485f7c;display:flex;flex-direction:column;gap:5px}
.mlps-reshare-form textarea{resize:vertical;min-height:60px;padding:9px;border:1px solid #d3deeb;border-radius:8px;font-size:13px;line-height:1.5;width:100%}
.mlps-reshare-form select{width:100%;border:1px solid #d3deeb;border-radius:8px;padding:8px;background:#fff}
.mlps-reshare-form button.mlps-reshare-publish{display:block;background:#1766d5!important;color:#fff!important;padding:10px 12px;border-radius:9px;text-align:center;font-size:13px}
.post-actions .mlps-share-controls>summary{font-size:13px}
.post-footer .mlps-share-controls>summary{padding:8px 12px;border:1px solid #dce4ee;border-radius:8px}
.mlps-notify-filters{display:flex;gap:8px;margin:10px 0 18px}.mlps-notify-filters a{font-weight:700;padding:8px 14px;border:1px solid #dce5f0;border-radius:100px;background:white;color:#546a86}
.mlps-notify-filters a.is-active{background:#1766d5;color:white;border-color:#1766d5}
.mlps-notification-card{display:flex;align-items:center;gap:13px;padding:14px 17px}.mlps-notification-card.unread{background:#f0f6ff;border-left:4px solid #1766d5}
.mlps-notify-avatar{flex:none}.mlps-notify-content{flex:1;min-width:0;overflow-wrap:anywhere}.mlps-notify-content time{display:block;margin-top:3px;font-size:12px;color:#7b8aa0}
.mlps-notify-actions{display:flex;gap:7px;flex-wrap:wrap}.mlps-notify-actions form{margin:0}.mlps-notify-actions button{font-size:12px;padding:7px 11px}
@media(max-width:650px){.mlps-notification-card{flex-wrap:wrap}.mlps-notify-content{flex-basis:calc(100% - 62px)}.mlps-notify-actions{width:100%;justify-content:flex-end}.mlps-share-popup{right:-2px}.post-actions .mlps-share-controls>summary{font-size:12px;gap:3px}}

/* V0.7.1 - Commenti inline senza ricaricamento della pagina */
.mlps-feed-comment-form{margin:12px 0 2px 43px;padding:11px 12px;background:#f8faff;border:1px solid #e1eaf5;border-radius:12px}
.mlps-feed-comment-form[hidden],.mlps-feed-comment-guest[hidden]{display:none!important}
.mlps-feed-comment-form>label{display:block;font-weight:750;font-size:12px;color:#354e71;margin-bottom:8px}
.mlps-feed-comment-entry{display:flex;align-items:flex-end;gap:9px}
.mlps-feed-comment-entry textarea{flex:1;min-width:0;max-width:100%;padding:10px 12px;min-height:46px;border:1px solid #cfddeb;border-radius:10px;resize:vertical;font:inherit;font-size:13px;line-height:1.5;background:white}
.mlps-feed-comment-entry button{flex:0 0 auto;white-space:nowrap;min-height:42px}
.mlps-feed-comment-feedback{margin:5px 0 0;color:#627c9c;font-size:12px;min-height:0}
.mlps-feed-comment-feedback:empty{display:none}
.mlps-feed-comment-guest{margin:12px 0 0 43px;font-size:13px}
.mlps-feed-comments{overflow-anchor:auto}
@media(max-width:600px){.mlps-feed-comment-form{margin-left:0;padding:10px}.mlps-feed-comment-guest{margin-left:0}.mlps-feed-comment-entry{align-items:stretch}.mlps-feed-comment-entry button{padding:7px 12px}}

/* V0.7.2 - Accesso in finestra nel Social, con autentico login SMF. */
.mlps-auth-modal[hidden]{display:none!important}
.mlps-auth-modal{position:fixed;inset:0;z-index:850;display:flex;align-items:center;justify-content:center;padding:20px}
.mlps-auth-backdrop{position:absolute;inset:0;background:rgba(14,24,42,.66)}
.mlps-auth-panel{position:relative;display:flex;flex-direction:column;width:min(100%,490px);max-height:min(90vh,720px);overflow:hidden;background:#fff;border:1px solid #cddbee;border-radius:18px;box-shadow:0 20px 80px rgba(7,24,52,.33)}
.mlps-auth-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 22px 15px;border-bottom:1px solid #e9eef6}
.mlps-auth-heading-brand{display:flex;align-items:center;gap:12px;min-width:0}.mlps-auth-heading-brand .brand-mark{flex:none}
.mlps-auth-heading-brand strong{display:block;color:#192b43;font-size:16px}.mlps-auth-heading-brand small{display:block;color:#78889e;font-size:12px;margin-top:2px}
.mlps-auth-close{border:0;background:#edf1f7;border-radius:50%;width:34px;height:34px;font-size:24px;color:#51647e;display:grid;place-items:center;line-height:1}
.mlps-auth-close:hover{background:#dce7f6;color:#164c8b}
.mlps-auth-modal iframe{width:100%;height:min(410px,62vh);border:0;background:#fff;display:block}
.mlps-auth-footer{display:flex;justify-content:space-between;gap:8px 12px;align-items:center;flex-wrap:wrap;border-top:1px solid #edf0f6;padding:13px 22px;color:#7a8899;font-size:11px}
.mlps-auth-fallback{color:#195eae;font-weight:650;text-decoration:none}.mlps-auth-fallback:hover{text-decoration:underline}
body.mlps-auth-open{overflow:hidden}
@media(max-width:520px){.mlps-auth-modal{padding:8px}.mlps-auth-panel{border-radius:13px;max-height:96vh}.mlps-auth-heading{padding:13px 15px}.mlps-auth-modal iframe{height:min(435px,73vh)}.mlps-auth-footer{padding:11px 15px}}

/* V0.8.1 - segnalazioni, blocchi reciproci e filtro seguiti */
.mlps-feed-filters {display:flex; gap:8px; margin:0 0 14px;}
.mlps-feed-filters a {padding:9px 16px; border:1px solid var(--border,#dce1e8); border-radius:22px; color:var(--text,#242a32);text-decoration:none;font-weight:650;background:#fff;}
.mlps-feed-filters a.is-active {background:#e8f0ff; color:#0866ff; border-color:#aacbff;}
.mlps-report-controls {position:relative;}
.mlps-report-controls>summary {list-style:none; cursor:pointer; font-size:14px; padding:10px 14px; white-space:nowrap;}
.mlps-report-controls>summary::-webkit-details-marker {display:none;}
.mlps-report-controls>summary:hover {background:#f3f6fa;}
.mlps-report-form {display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #dce1e8;border-radius:12px;padding:14px;min-width:245px;max-width:350px;box-shadow:0 8px 18px #0002;}
.mlps-report-form label {font-weight:600;font-size:13px;display:flex;flex-direction:column;gap:6px;white-space:normal;}
.mlps-report-form select,.mlps-report-form textarea {width:100%;box-sizing:border-box;max-width:100%;padding:9px;border:1px solid #cdd4df;border-radius:8px;font:inherit;font-size:14px;background:#fff;color:#222;}
.mlps-post-dropdown .mlps-report-controls[open] {min-width:290px;}
.profile-actions>.mlps-report-controls {align-self:center;}
.profile-actions>.mlps-report-controls summary {background:#edf1f7;border-radius:8px;font-weight:600;}
.mlps-block-action {margin:0;}
.mlps-blocked-view {display:flex; flex-direction:column; align-items:flex-start; gap:12px;padding:22px;}
.mlps-blocked-row {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;}
@media(max-width:650px){.mlps-report-form{min-width:220px;max-width:calc(100vw - 70px)}.mlps-blocked-row{flex-wrap:wrap}}

/* V0.8.2 - profilo: tab di navigazione visibili, menu moderazione e post prima delle foto */
.mlps-profile-tabs-082{max-width:none;display:flex;justify-content:flex-start;gap:2px;align-items:stretch;flex-wrap:wrap;padding:0 8px;border-top:1px solid #e5e7eb;position:relative;min-height:60px}
.mlps-profile-tabs-082>a{padding:17px 14px;white-space:nowrap;font-weight:680;font-size:14px}
.mlps-profile-tabs-082 .mlps-profile-extra{position:relative;align-self:center}
.mlps-profile-extra>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:13px 12px;color:#687587;font-weight:650;border-radius:8px;font-size:13px}
.mlps-profile-extra>summary::-webkit-details-marker{display:none}
.mlps-profile-extra>summary:hover{background:#edf2f9;color:#185ba7}
.mlps-profile-extra-menu{position:absolute;top:100%;left:0;width:205px;z-index:40;background:#fff;border:1px solid #dbe3ef;border-radius:10px;box-shadow:0 9px 24px #1c2e4a27;padding:7px}
.mlps-profile-extra-menu a{display:block;padding:10px;border-radius:7px;color:#263e59;font-weight:600;font-size:13px;text-decoration:none}
.mlps-profile-extra-menu a:hover{background:#eff5ff}
.mlps-profile-tabs-082>.mlps-profile-more{margin:auto 0 auto auto;z-index:70;position:relative}
.mlps-profile-tabs-082>.mlps-profile-more>summary{background:#e7ebf0;border-radius:9px;width:48px;height:39px;font-size:25px}
.mlps-profile-tabs-082>.mlps-profile-more>summary:hover{background:#dbe5f4}
.mlps-profile-dropdown{min-width:248px;max-width:min(90vw,330px)}
.mlps-profile-dropdown>.mlps-report-controls>summary{display:block;font-size:13px;font-weight:650;padding:11px 12px;white-space:normal}
.mlps-profile-dropdown .mlps-report-form{max-width:290px;min-width:215px;box-shadow:none;border:none;padding:10px 5px 12px}
.mlps-profile-dropdown .mlps-report-controls[open]{min-width:0}
.mlps-profile-dropdown .mlps-block-action button{width:100%}
.mlps-follow-context{color:#657387;font-size:13px;margin:0 0 15px;padding:10px 12px;background:#f7faff;border-radius:9px;border:1px solid #e3eaf3}
.profile-updates-heading{scroll-margin-top:105px}
@media(max-width:760px){.mlps-profile-tabs-082{flex-wrap:nowrap;overflow:visible;gap:0;padding:0 3px}.mlps-profile-tabs-082>a{font-size:12px;padding:14px 8px}.mlps-profile-extra>summary{padding:11px 6px;font-size:12px}.mlps-profile-tabs-082>.mlps-profile-more>summary{width:36px;height:35px}.mlps-profile-tabs-082 .mlps-post-dropdown{right:0}}
@media(max-width:440px){.mlps-profile-tabs-082>a{font-size:11px;padding:12px 5px}.mlps-profile-tabs-082>a:nth-of-type(5){display:none}.mlps-profile-extra>summary{font-size:11px;padding:10px 4px}}


/* V0.8.3 - le schede cambiano contenuto sotto la stessa intestazione. */
.mlps-profile-tabs-content{min-width:0;position:relative;scroll-margin-top:95px}
.mlps-profile-tabs-content [hidden],.mlps-profile-tab-error[hidden]{display:none!important}
.mlps-profile-tab-loading{font-size:13px;color:#527396;background:#f3f7fd;border:1px solid #e0eaf6;border-radius:10px;padding:13px 16px;margin:12px 0}
.mlps-profile-info-panel h2{margin:0 0 13px;font-size:20px}
.mlps-profile-info-panel p{overflow-wrap:anywhere}
.mlps-profile-tab-error{padding:12px 16px;border:1px solid #f2c6c6;border-radius:9px;background:#fff5f5;color:#a12727}
.mlps-profile-tabs-082>a.is-active{color:#1469c8;border-bottom:3px solid #156bd5;text-decoration:none}
.mlps-profile-tabs-content [data-mlps-profile-panel="remote"]>.mlps-gallery-page,
.mlps-profile-tabs-content [data-mlps-profile-panel="remote"]>.mlps-video-page{max-width:100%}
@media(max-width:760px){.mlps-profile-tabs-content{width:100%}}

/* V0.8.5 — foto dell'account e reazioni alle pubblicazioni. */
.account-mini-avatar{overflow:hidden}
.account-mini-avatar img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:460px){.account-person{display:flex}}

.post-actions .mlps-reaction-form,.post-footer .mlps-reaction-form,.mlps-reaction-form{
  display:flex;align-items:center;gap:2px;margin:0;min-width:0;
}
.mlps-reaction-form[hidden],.mlps-reaction-form [hidden]{display:none!important}
.mlps-reaction-form[aria-busy="true"]{opacity:.65;cursor:wait}
.mlps-reaction-form .mlps-like-button>span:first-child{display:inline-flex}
.post-footer .mlps-reaction-form .mlps-like-button{
  display:inline-flex;align-items:center;gap:6px;padding:8px 10px;
  border:1px solid #dce4ee;border-radius:8px;background:#f5f8fc;color:#40556f;font-weight:750;
}
.post-footer .mlps-reaction-form .mlps-like-button.is-liked{color:#0866ff;background:#e9f1ff}
button.mlps-like-stat{
  padding:4px 6px;border:0;border-radius:7px;background:transparent;
  color:inherit;font:inherit;justify-content:flex-start;
}
button.mlps-like-stat.is-liked{color:#0866ff}
button.mlps-like-stat:hover:not(:disabled){background:#edf4ff;color:var(--blue)}
button.mlps-like-stat:disabled{cursor:default}
.mlps-reaction-icons{font-size:14px;line-height:1.1;white-space:nowrap}
.mlps-reaction-icons:empty{display:none}
.mlps-reaction-emoji{font-size:17px;line-height:1}
.mlps-lightbox-likes .mlps-like-stat{font-size:13px}
[data-mlps-reaction-trigger]{touch-action:manipulation;user-select:none;-webkit-touch-callout:none}
.mlps-reaction-more,.post-actions .mlps-reaction-more{display:none}
.mlps-reactions-ready .mlps-reaction-form .mlps-reaction-more{
  display:inline-grid;place-items:center;flex:0 0 31px;width:31px;min-height:34px;padding:0;
  background:#f1f5fc;color:#496985;border:0;border-radius:7px;
}
.mlps-reactions-ready .mlps-reaction-more:hover{background:#e5effe;color:#185ba7}
.mlps-reaction-more .ui-icon{transform:rotate(-90deg);width:15px;height:15px}

#mlps-reaction-picker{
  position:fixed;z-index:75;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;
  width:max-content;max-width:calc(100vw - 16px);padding:5px;
  border:1px solid #ccd9eb;border-radius:12px;background:#fbfdff;box-shadow:0 6px 22px #1c2e4a38;
}
#mlps-reaction-picker[hidden],#mlps-reaction-feedback[hidden]{display:none}
#mlps-reaction-picker button{
  display:grid;place-items:center;width:clamp(30px,10vw,40px);height:42px;padding:0;
  border:0;border-radius:8px;background:transparent;font-size:25px;line-height:1;
}
#mlps-reaction-picker button:hover,#mlps-reaction-picker button:focus-visible{background:#e8f1fd}
#mlps-reaction-picker button:focus-visible,[data-mlps-reaction-trigger]:focus-visible,
.mlps-reaction-more:focus-visible{outline:2px solid #2477c9;outline-offset:-2px}
#mlps-reaction-feedback{
  position:fixed;z-index:76;left:50%;bottom:18px;transform:translateX(-50%);margin:0;
  max-width:calc(100vw - 24px);padding:10px 14px;color:#94282b;background:#fff5f5;
  border:1px solid #efc1c2;border-radius:8px;font-size:14px;white-space:nowrap;
}
