.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.profile-library-body{background:#080b11}.profile-library{width:min(1240px,88%);margin:0 auto;padding:58px 0 90px}
.profile-library-header{position:relative;display:grid;grid-template-columns:minmax(0,720px) auto;justify-content:space-between;align-items:end;gap:40px;padding:24px 0 46px;border-bottom:1px solid rgba(255,255,255,.12)}
.profile-library-header:before{content:"";position:absolute;left:0;bottom:-1px;width:170px;height:2px;background:linear-gradient(90deg,#22d3ee,#a855f7,#f59e0b)}
.profile-library-header h1{max-width:760px;margin:9px 0 15px;color:#fff;font-size:clamp(2.7rem,6vw,5.8rem);line-height:.96;letter-spacing:0}.profile-library-header p{max-width:650px;margin:0;color:#aeb7c8;font-size:1.02rem;line-height:1.7}
.profile-library-mark{display:flex;align-items:center;gap:14px;padding:12px 0}.profile-library-mark img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(34,211,238,.18))}.profile-library-mark span{color:#dce8f7;font-size:.68rem;font-weight:950;line-height:1.35}
.profile-library-controls{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:28px 0 20px}.profile-category-tabs{display:flex;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#10151e}.profile-category-tabs button{min-height:39px;padding:0 15px;border:0;border-radius:4px;color:#99a5b7;background:transparent;font-weight:850;cursor:pointer}.profile-category-tabs button:hover{color:#fff;background:rgba(255,255,255,.06)}.profile-category-tabs button.is-active{color:#071016;background:#67e8f9;box-shadow:0 8px 24px rgba(34,211,238,.14)}
.profile-library-search{display:flex;align-items:center;gap:9px;width:min(310px,100%);height:47px;padding:0 13px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#10151e}.profile-library-search:focus-within{border-color:rgba(34,211,238,.62);box-shadow:0 0 0 3px rgba(34,211,238,.08)}.profile-library-search svg{width:19px;height:19px;fill:none;stroke:#8f9bad;stroke-width:2}.profile-library-search input{min-width:0;width:100%;border:0;outline:0;color:#fff;background:transparent;font:inherit}
.profile-library-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#7f8a9c;font-size:.75rem}.profile-library-meta strong{color:#f1f5f9;font-size:.82rem;text-transform:uppercase}.profile-assets-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;min-height:320px}
.profile-asset-card{grid-column:span 4;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#0e131c;transition:transform .2s ease,border-color .2s ease;cursor:pointer}.profile-asset-card:hover,.profile-asset-card:focus-visible{transform:translateY(-3px);border-color:rgba(103,232,249,.46);outline:0}.profile-asset-art{position:relative;aspect-ratio:16/10;overflow:hidden;background:#080b11}.profile-asset-art>img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.profile-asset-card:hover .profile-asset-art>img{transform:scale(1.025)}
.profile-asset-art>span{position:absolute;left:10px;top:10px;padding:6px 8px;border:1px solid rgba(255,255,255,.18);border-radius:4px;color:#fff;background:rgba(3,7,12,.76);backdrop-filter:blur(10px);font-size:.62rem;font-weight:950;text-transform:uppercase}.profile-asset-art>button{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:#fff;background:rgba(3,7,12,.76);cursor:pointer}.profile-asset-art>button svg,.profile-asset-card-foot a svg,.profile-dialog-copy>a svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-asset-card-copy{display:grid;gap:18px;padding:15px}.profile-asset-card-copy h2{margin:0 0 5px;color:#fff;font-size:1rem}.profile-asset-card-copy p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:36px;margin:0;color:#919dae;font-size:.76rem;line-height:1.5}.profile-asset-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}.profile-asset-card-foot>span{color:#768296;font-size:.68rem;font-weight:800}.profile-asset-card-foot a{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid rgba(34,211,238,.32);border-radius:5px;color:#a5f3fc;background:rgba(34,211,238,.08);font-size:.72rem;font-weight:900;text-decoration:none}
.profile-library-loading,.profile-library-empty{grid-column:1/-1;display:grid;place-items:center;align-content:center;min-height:320px;padding:40px;text-align:center;border:1px dashed rgba(255,255,255,.13);border-radius:7px;color:#8e99aa}.profile-library-loading span{width:28px;height:28px;border:2px solid rgba(255,255,255,.12);border-top-color:#67e8f9;border-radius:50%;animation:profile-spin .7s linear infinite}.profile-library-loading p,.profile-library-empty p{margin:10px 0 0}.profile-library-empty strong{color:#fff;font-size:1.08rem}@keyframes profile-spin{to{transform:rotate(360deg)}}
.profile-asset-dialog{width:min(1040px,92vw);max-height:88vh;padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:8px;color:#e5e7eb;background:#0c1119;box-shadow:0 35px 90px rgba(0,0,0,.65)}.profile-asset-dialog::backdrop{background:rgba(0,3,8,.8);backdrop-filter:blur(8px)}.profile-asset-dialog[open]{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr)}.profile-dialog-media{display:grid;place-items:center;min-height:520px;padding:24px;background:#05080d}.profile-dialog-media img{display:block;max-width:100%;max-height:76vh;object-fit:contain}.profile-dialog-copy{display:flex;flex-direction:column;justify-content:center;padding:40px;border-left:1px solid rgba(255,255,255,.1)}.profile-dialog-copy>span{color:#67e8f9;font-size:.67rem;font-weight:950;text-transform:uppercase}.profile-dialog-copy h2{margin:8px 0 12px;color:#fff;font-size:1.8rem}.profile-dialog-copy p{margin:0 0 20px;color:#9aa6b8;line-height:1.65}.profile-dialog-copy>div{margin-bottom:24px;color:#778397;font-size:.72rem;font-weight:800}.profile-dialog-copy>a{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:46px;border:1px solid #67e8f9;border-radius:6px;color:#071016;background:#67e8f9;font-weight:950;text-decoration:none}.profile-dialog-close{position:absolute;right:12px;top:12px;z-index:2;width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:#fff;background:rgba(0,0,0,.58);font-size:1.5rem;cursor:pointer}
.profile-assets-admin{padding:28px;border:1px solid rgba(34,211,238,.2);border-radius:8px;background:linear-gradient(145deg,rgba(10,18,27,.92),rgba(14,16,28,.88))}.profile-assets-admin>header{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px}.profile-assets-admin>header h2{margin:5px 0 7px;color:#fff;font-size:1.7rem}.profile-assets-admin>header p{max-width:680px;margin:0;color:#99a5b7;line-height:1.55}.profile-assets-admin>header>a{padding:9px 12px;border:1px solid rgba(34,211,238,.3);border-radius:6px;color:#a5f3fc;text-decoration:none;font-size:.75rem;font-weight:900}.profile-assets-admin-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:20px}.profile-assets-admin form{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:18px;padding:17px;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:rgba(255,255,255,.025)}
.profile-asset-drop{position:relative;display:flex;min-height:310px;flex-direction:column;justify-content:center;align-items:center;gap:7px;overflow:hidden;border:1px dashed rgba(103,232,249,.42);border-radius:6px;color:#fff;background:rgba(34,211,238,.035);cursor:pointer;text-align:center}.profile-asset-drop input{position:absolute;width:1px;height:1px;opacity:0}.profile-asset-drop-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(103,232,249,.35);border-radius:50%;color:#67e8f9;font-size:1.5rem}.profile-asset-drop small{max-width:190px;color:#8290a3;font-size:.7rem}.profile-asset-drop img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#070a10}.profile-asset-drop.has-preview:after{content:"Cambia immagine";position:absolute;right:8px;bottom:8px;padding:6px 8px;border-radius:4px;color:#fff;background:rgba(0,0,0,.75);font-size:.65rem;font-weight:900}
.profile-asset-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:start}.profile-asset-fields label{display:grid;gap:6px;color:#b8c3d2;font-size:.68rem;font-weight:900;text-transform:uppercase}.profile-asset-fields .is-wide{grid-column:1/-1}.profile-asset-fields input,.profile-asset-fields select,.profile-asset-fields textarea{width:100%;min-height:42px;padding:10px 11px;border:1px solid rgba(255,255,255,.12);border-radius:6px;outline:0;color:#fff;background:#111722;font:inherit;text-transform:none;resize:vertical}.profile-asset-fields input:focus,.profile-asset-fields select:focus,.profile-asset-fields textarea:focus{border-color:#67e8f9}.profile-asset-fields button{min-height:44px;border:1px solid #67e8f9;border-radius:6px;color:#071016;background:#67e8f9;font-weight:950;cursor:pointer}.profile-asset-fields button:disabled{opacity:.55;cursor:wait}.profile-asset-fields>[data-profile-asset-status]{align-self:center;color:#9ca3af;font-size:.72rem}.profile-asset-fields>[data-type=success]{color:#86efac}.profile-asset-fields>[data-type=error]{color:#fca5a5}
.profile-assets-admin-list{display:grid;gap:8px;align-content:start;max-height:520px;overflow:auto}.profile-assets-admin-list>p{margin:0;padding:20px;border:1px dashed rgba(255,255,255,.12);border-radius:6px;color:#8995a6;text-align:center}.profile-assets-admin-list article{display:grid;grid-template-columns:18px 92px minmax(0,1fr) 68px;gap:10px;align-items:center;min-height:78px;padding:8px;border:1px solid rgba(255,255,255,.09);border-radius:6px;background:rgba(255,255,255,.035);transition:border-color .18s ease,background .18s ease,opacity .18s ease}.profile-assets-admin-list article:hover{border-color:rgba(103,232,249,.24);background:rgba(103,232,249,.045)}.profile-assets-admin-list article.is-dragging{opacity:.48;border-color:rgba(103,232,249,.65)}.profile-asset-order-handle{display:grid!important;gap:3px;align-content:center;cursor:grab}.profile-asset-order-handle:active{cursor:grabbing}.profile-asset-order-handle i{display:block;width:14px;height:2px;border-radius:2px;background:#64748b}.profile-assets-admin-list img{width:92px;height:62px;border-radius:4px;object-fit:cover;background:#070a10}.profile-assets-admin-list article>div:not(.profile-asset-order-actions){min-width:0}.profile-assets-admin-list article>div>span,.profile-assets-admin-list article small{display:block;color:#7f8b9e;font-size:.63rem}.profile-assets-admin-list article>div>span{color:#67e8f9;font-weight:950;text-transform:uppercase}.profile-assets-admin-list article strong{display:block;overflow:hidden;margin:3px 0;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:.82rem}.profile-asset-order-actions{display:grid;grid-template-columns:repeat(2,30px);gap:4px}.profile-asset-order-actions button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid rgba(103,232,249,.2);border-radius:5px;color:#a5f3fc;background:rgba(8,145,178,.08);cursor:pointer}.profile-asset-order-actions button:hover:not(:disabled){border-color:rgba(103,232,249,.48);background:rgba(8,145,178,.18)}.profile-asset-order-actions button:disabled{opacity:.25;cursor:default}.profile-asset-order-actions button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}.profile-asset-order-actions .is-delete{grid-column:2;width:30px;height:30px;border-color:rgba(248,113,113,.26);color:#fca5a5;background:rgba(127,29,29,.12);font-size:1.15rem}
.profile-asset-editor{width:min(900px,92vw);max-height:88vh;padding:0;overflow:hidden;border:1px solid rgba(103,232,249,.26);border-radius:8px;color:#e5e7eb;background:#0c1119;box-shadow:0 32px 90px rgba(0,0,0,.7)}.profile-asset-editor::backdrop{background:rgba(0,3,8,.82);backdrop-filter:blur(8px)}.profile-assets-admin .profile-asset-editor form{display:block;padding:0;border:0;border-radius:0;background:transparent}.profile-asset-editor header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.09)}.profile-asset-editor header h3{margin:4px 0 0;color:#fff;font-size:1.25rem}.profile-asset-editor header button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:50%;color:#dbeafe;background:rgba(255,255,255,.04);font-size:1.35rem;cursor:pointer}.profile-asset-editor-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:20px;padding:22px}.profile-asset-edit-image{position:relative;display:grid;place-items:center;min-height:310px;overflow:hidden;border:1px dashed rgba(103,232,249,.34);border-radius:6px;background:#070a10;cursor:pointer}.profile-asset-edit-image input{position:absolute;width:1px;height:1px;opacity:0}.profile-asset-edit-image img{width:100%;height:100%;max-height:360px;object-fit:contain}.profile-asset-edit-image span{position:absolute;right:9px;bottom:9px;padding:7px 9px;border:1px solid rgba(255,255,255,.12);border-radius:5px;color:#fff;background:rgba(0,0,0,.78);font-size:.68rem;font-weight:900}.profile-asset-edit-footer{display:flex;justify-content:flex-end;align-items:center;gap:14px}.profile-asset-edit-footer span{flex:1;color:#9ca3af;font-size:.72rem;text-transform:none}.profile-asset-edit-footer span[data-type=error]{color:#fca5a5}.profile-asset-edit-footer button{min-width:160px;padding:0 16px}
@media(max-width:980px){.profile-asset-card{grid-column:span 6}.profile-assets-admin-layout,.profile-assets-admin form{grid-template-columns:1fr}.profile-asset-drop{min-height:260px}}@media(max-width:720px){.profile-library{width:min(92%,1240px);padding-top:34px}.profile-library-header{grid-template-columns:1fr;padding-bottom:32px}.profile-library-header h1{font-size:2.75rem}.profile-library-mark{display:none}.profile-library-controls{display:grid}.profile-category-tabs{overflow-x:auto}.profile-category-tabs button{flex:0 0 auto}.profile-library-search{width:100%}.profile-library-meta span{display:none}.profile-asset-card{grid-column:1/-1}.profile-asset-dialog[open]{grid-template-columns:1fr;overflow:auto}.profile-dialog-media{min-height:260px}.profile-dialog-copy{padding:24px;border-top:1px solid rgba(255,255,255,.1);border-left:0}.profile-assets-admin{padding:18px}.profile-assets-admin>header{display:grid}.profile-asset-fields{grid-template-columns:1fr}.profile-asset-fields label,.profile-asset-fields .is-wide{grid-column:1}.profile-assets-admin-list article{grid-template-columns:14px 64px minmax(0,1fr) 68px;gap:7px}.profile-assets-admin-list img{width:64px;height:50px}.profile-asset-editor{overflow:auto}.profile-asset-editor-layout{grid-template-columns:1fr;padding:16px}.profile-asset-edit-image{min-height:210px}.profile-asset-edit-image img{max-height:260px}.profile-asset-edit-footer{display:grid}.profile-asset-edit-footer button{width:100%}}
