/*
Theme Name: Musicollab Italia
Theme URI: https://example.com/musicollab
Author: Musicollab Italia
Description: Tema WordPress a blocchi per la community Musicollab Italia.
Version: 1.5.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: musicollab
*/

:root{--mc-ink:#07111c;--mc-panel:#0d1d2b;--mc-blue:#0879ed;--mc-teal:#00b9b7;--mc-muted:#9cb0c1;--mc-line:rgba(150,190,220,.18)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--mc-ink);color:#f4f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:#52d8db}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,.wp-element-button{cursor:pointer}.wp-site-blocks{overflow:hidden}.mc-shell{width:min(1160px,calc(100% - 40px));margin-inline:auto}.mc-topbar{position:relative;z-index:5;border-bottom:1px solid var(--mc-line);background:rgba(5,15,24,.92);backdrop-filter:blur(16px)}.mc-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.mc-brand{display:flex;align-items:center;max-width:245px}.mc-brand img{width:232px;height:auto;display:block}.mc-nav{display:flex;align-items:center;gap:24px;color:#d5e2ec;font-size:14px}.mc-nav a:hover{color:white}.mc-nav-cta,.mc-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border-radius:999px;background:linear-gradient(110deg,#0879ed,#00aaa9);font-weight:700;color:#fff;border:0;box-shadow:0 8px 30px rgba(0,144,210,.2)}.mc-button.secondary{background:rgba(255,255,255,.05);border:1px solid var(--mc-line);box-shadow:none}.mc-menu-toggle{display:none;background:none;border:1px solid var(--mc-line);color:white;border-radius:12px;padding:9px 12px}.mc-hero{position:relative;padding:94px 0 82px;background:radial-gradient(ellipse at 74% 10%,rgba(0,173,180,.17),transparent 38%),radial-gradient(ellipse at 16% 45%,rgba(0,104,222,.20),transparent 44%),linear-gradient(180deg,#07111c,#081522)}.mc-hero:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,#0879ed 45%,#00b9b7,transparent)}.mc-hero-grid{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:52px}.mc-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid rgba(0,190,198,.28);background:rgba(0,190,198,.08);color:#6de0dc;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.mc-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#00cac3;box-shadow:0 0 12px #00cac3}.mc-hero h1{font-size:clamp(42px,6.4vw,76px);line-height:1.02;letter-spacing:-.055em;margin:20px 0 22px;max-width:740px}.mc-gradient-text{background:linear-gradient(100deg,#38a4ff,#04c4ba);-webkit-background-clip:text;background-clip:text;color:transparent}.mc-hero p{font-size:18px;color:#afc2d0;max-width:590px;margin:0 0 28px}.mc-actions{display:flex;gap:12px;flex-wrap:wrap}.mc-hero-art{position:relative;min-height:390px;display:grid;place-items:center}.mc-logo-orbit{position:absolute;width:min(390px,92%);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(0,165,200,.13),rgba(0,91,170,.04) 50%,transparent 70%);border:1px solid rgba(0,178,197,.18);box-shadow:0 0 90px rgba(0,130,210,.1),inset 0 0 70px rgba(0,130,210,.07)}.mc-logo-orbit:before,.mc-logo-orbit:after{content:"";position:absolute;border:1px solid rgba(48,155,255,.24);border-radius:50%;inset:10%;transform:rotate(-28deg) scaleX(1.42)}.mc-logo-orbit:after{inset:22%;transform:rotate(52deg) scaleX(1.25);border-color:rgba(0,209,193,.22)}.mc-wave{position:absolute;width:92%;height:180px;opacity:.45;background:repeating-linear-gradient(90deg,transparent 0 10px,rgba(19,166,219,.45) 11px 12px,transparent 13px 19px);mask-image:radial-gradient(ellipse,black 5%,transparent 72%);clip-path:polygon(0 48%,5% 44%,9% 56%,13% 26%,17% 68%,21% 38%,25% 55%,29% 15%,33% 84%,37% 39%,41% 62%,45% 32%,49% 57%,53% 16%,57% 76%,61% 40%,65% 58%,69% 27%,73% 68%,77% 39%,81% 55%,85% 20%,89% 75%,93% 43%,100% 50%,100% 53%,93% 56%,89% 83%,85% 26%,81% 60%,77% 45%,73% 74%,69% 33%,65% 64%,61% 46%,57% 82%,53% 22%,49% 63%,45% 38%,41% 67%,37% 45%,33% 91%,29% 22%,25% 62%,21% 45%,17% 75%,13% 33%,9% 62%,5% 50%,0 52%)}.mc-orbit-logo{width:82%;position:relative;z-index:2;filter:drop-shadow(0 18px 45px rgba(0,0,0,.55));border-radius:12px;mix-blend-mode:screen}.mc-section{padding:82px 0}.mc-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.mc-section-head h2{font-size:clamp(28px,4vw,42px);letter-spacing:-.04em;margin:8px 0 0}.mc-section-head p{color:var(--mc-muted);margin:0;max-width:460px}.mc-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.mc-feature{min-height:260px;padding:27px;border-radius:22px;border:1px solid var(--mc-line);background:linear-gradient(145deg,rgba(17,39,57,.92),rgba(9,23,35,.9));position:relative;overflow:hidden;transition:transform .25s,border-color .25s}.mc-feature:hover{transform:translateY(-4px);border-color:rgba(0,188,205,.55)}.mc-feature:after{content:"";position:absolute;width:190px;height:190px;right:-60px;top:-90px;border-radius:50%;background:radial-gradient(circle,rgba(0,190,210,.16),transparent 70%)}.mc-icon{width:49px;height:49px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(140deg,rgba(14,127,240,.25),rgba(0,183,180,.16));border:1px solid rgba(55,178,219,.22);font-size:23px;color:#6fe0dd}.mc-feature h3{font-size:22px;margin:22px 0 9px}.mc-feature p{color:#aabecb;margin:0 0 22px;max-width:350px}.mc-text-link{display:inline-flex;gap:9px;align-items:center;color:#62d8dc;font-weight:700;font-size:14px}.mc-band{background:linear-gradient(100deg,#0b3970,#07567a 56%,#067974);padding:42px;border-radius:26px;display:flex;align-items:center;justify-content:space-between;gap:25px;box-shadow:0 25px 80px rgba(0,92,153,.18)}.mc-band h2{font-size:clamp(24px,3.5vw,36px);margin:0 0 8px}.mc-band p{margin:0;color:#d5edf0}.mc-listing-section{padding:76px 0;background:linear-gradient(180deg,transparent,rgba(11,29,43,.78),transparent)}.mc-listing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mc-mini-card{padding:21px;border:1px solid var(--mc-line);border-radius:18px;background:#0c1a27}.mc-mini-card small,.mc-meta{color:var(--mc-muted)}.mc-mini-card h3{margin:10px 0;font-size:18px}.mc-footer{margin-top:70px;padding:52px 0 26px;border-top:1px solid var(--mc-line);background:#060e16}.mc-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px}.mc-footer p,.mc-footer a{font-size:14px;color:#9cafbf}.mc-footer h3{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#dceaf2}.mc-footer-logo{width:210px;border-radius:8px;mix-blend-mode:screen}.mc-footer-bottom{border-top:1px solid var(--mc-line);margin-top:34px;padding-top:18px;color:#718495;font-size:12px}.mc-content{max-width:1160px;margin:50px auto;padding-inline:20px}.mc-content h1{font-size:42px}.mc-content a{color:#61d8dc}

/* Community plugin components */
.mc-community{color:#f4f8fb}.mc-community h1,.mc-community h2,.mc-community h3{color:#f4f8fb}.mc-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.mc-toolbar input,.mc-toolbar select,.mc-form input,.mc-form select,.mc-form textarea{background:#0c1d2b;color:#f4f8fb;border:1px solid var(--mc-line);border-radius:11px;padding:12px 14px;min-width:0}.mc-toolbar input{flex:1 1 220px}.mc-toolbar select{flex:0 1 190px}.mc-form{display:grid;gap:14px;max-width:760px}.mc-form label{display:grid;gap:6px;color:#bfd0dc;font-weight:600;font-size:14px}.mc-form input,.mc-form textarea,.mc-form select{width:100%}.mc-form textarea{min-height:120px}.mc-form input[type=file]{padding:9px}.mc-form .mc-button{justify-self:start}.mc-results{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mc-listing{overflow:hidden;border:1px solid var(--mc-line);border-radius:18px;background:#0b1b28}.mc-listing-image{aspect-ratio:16/10;background:linear-gradient(135deg,#102d45,#0b6a77);display:grid;place-items:center;overflow:hidden}.mc-listing-image img{width:100%;height:100%;object-fit:cover}.mc-listing-body{padding:18px}.mc-listing-body h3{margin:4px 0 9px;font-size:19px}.mc-pills{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.mc-pill{padding:4px 9px;border-radius:999px;background:rgba(0,169,188,.1);color:#6de0dc;border:1px solid rgba(0,169,188,.2);font-size:11px}.mc-upload-status{min-height:1.2em;color:#6de0dc;font-size:13px}.mc-existing-photos{display:flex;gap:12px;flex-wrap:wrap;padding:12px;border:1px solid var(--mc-line);border-radius:12px}.mc-existing-photos>strong{width:100%}.mc-existing-photos label{display:flex;align-items:center;gap:8px}.mc-existing-photos img{width:64px;height:64px;object-fit:cover;border-radius:8px}.mc-alert{padding:13px 16px;border:1px solid var(--mc-line);border-radius:12px;background:#102434;margin:14px 0}.mc-alert.error{border-color:#a94c5c;color:#ffc5c8}.mc-alert.success{border-color:#1b866e;color:#a8f4de}.mc-empty{padding:40px;text-align:center;border:1px dashed var(--mc-line);border-radius:18px;color:var(--mc-muted)}.mc-auth-wrap{max-width:560px;margin:0 auto;padding:32px;border:1px solid var(--mc-line);border-radius:22px;background:#0b1b28}.mc-profile-head{display:flex;align-items:center;gap:20px;padding:24px;border:1px solid var(--mc-line);border-radius:20px;background:linear-gradient(120deg,#0a2740,#0b3137)}.mc-avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;background:#13344b}.mc-profile-actions{display:flex;gap:9px;flex-wrap:wrap}.mc-single{max-width:870px;margin:0 auto}.mc-single-hero{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;align-items:start}.mc-single-hero>img{width:100%;border-radius:18px;aspect-ratio:1;object-fit:cover}.mc-single h1{font-size:clamp(32px,5vw,48px);line-height:1.1;margin:0 0 12px}.mc-single p{color:#bfd0dc}.mc-notice{font-size:12px;color:#8096a7}
@media(max-width:850px){.mc-nav{gap:14px;font-size:13px}.mc-hero-grid{grid-template-columns:1fr;gap:12px}.mc-hero{padding:68px 0 52px}.mc-hero-art{min-height:280px}.mc-logo-orbit{width:280px}.mc-cards,.mc-listing-grid,.mc-results{grid-template-columns:repeat(2,1fr)}.mc-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.mc-shell{width:min(100% - 30px,1160px)}.mc-header{min-height:72px}.mc-brand{max-width:190px}.mc-brand img{width:185px}.mc-menu-toggle{display:block}.mc-nav{display:none;position:absolute;left:0;right:0;top:72px;padding:17px 20px 22px;background:#07111c;border-bottom:1px solid var(--mc-line);align-items:stretch;flex-direction:column;gap:14px}.mc-nav.is-open{display:flex}.mc-nav-cta{text-align:center}.mc-hero{padding:54px 0 36px}.mc-hero h1{font-size:45px}.mc-hero p{font-size:16px}.mc-hero-art{min-height:230px}.mc-logo-orbit{width:220px}.mc-wave{height:125px}.mc-section{padding:56px 0}.mc-section-head{display:block}.mc-section-head p{margin-top:9px}.mc-cards,.mc-listing-grid,.mc-results{grid-template-columns:1fr}.mc-feature{min-height:220px}.mc-band{padding:27px;align-items:flex-start;flex-direction:column}.mc-footer-grid{grid-template-columns:1fr 1fr;gap:18px}.mc-footer-grid>div:first-child{grid-column:1/-1}.mc-single-hero{grid-template-columns:1fr}.mc-single-hero>img{max-height:340px}.mc-content{margin:30px auto}.mc-content h1{font-size:34px}.mc-profile-head{align-items:flex-start}.mc-auth-wrap{padding:22px}}
.mc-hero-quicklinks{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0 0!important;font-size:14px!important;color:#66d9dc!important}.mc-hero-quicklinks a{font-weight:700}

/* Musicollab light canvas; branded cards, header and hero keep their existing tones. */
body{background:#f3f6f9;color:#142434}
.mc-orbit-logo{mix-blend-mode:normal;border-radius:0;filter:drop-shadow(0 18px 35px rgba(0,35,70,.18))}
.mc-footer-logo{mix-blend-mode:normal;border-radius:0}
.mc-community{color:#142434}.mc-community h1,.mc-community h2,.mc-community h3{color:#142434}.mc-community>p,.mc-community .mc-single p{color:#4c6071}.mc-single p{color:#4c6071}.mc-content{color:#142434}.mc-content h1,.mc-content h2,.mc-content h3{color:#142434}
.mc-upload-status{font-size:13px;color:#4c6071}.mc-upload-status:empty{display:none}.mc-upload-status .mc-progress{height:7px;background:#dce5ed;border-radius:8px;overflow:hidden;margin-top:7px}.mc-upload-status .mc-progress span{display:block;height:100%;background:linear-gradient(90deg,#0879ed,#00b9b7);width:0;transition:width .2s}
/* Keep text contrast on dark branded surfaces against the new light canvas. */
.mc-hero h1,.mc-feature h3,.mc-band h2,.mc-listing h3,.mc-auth-wrap h2,.mc-profile-head h1,.mc-profile-head h2,.mc-profile-head h3{color:#f4f8fb}
.mc-listing-body{color:#f4f8fb}.mc-listing-body p{color:#b9c8d4}.mc-listing-body small{color:#9cb0c1}.mc-profile-head p{color:#bfd0dc}
/* Fondo scuro uniforme, senza le fasce di sfumatura precedenti. */
body{background:var(--mc-ink);color:#f4f8fb}
.mc-listing-section{background:var(--mc-ink)}
.mc-community{color:#f4f8fb}
.mc-community h1,.mc-community h2,.mc-community h3,.mc-content h1,.mc-content h2,.mc-content h3{color:#f4f8fb}
.mc-community>p,.mc-community .mc-single p,.mc-single p{color:#bfd0dc}
.mc-content{color:#f4f8fb}
.mc-band{box-shadow:none}
.mc-orbit-logo{filter:none}
.mc-logo-orbit{box-shadow:none}
.mc-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mc-actions .mc-button{width:100%;min-width:0;min-height:52px;padding:11px 12px;text-align:center;white-space:nowrap;font-size:14px;box-shadow:none}
.mc-actions .mc-button-collab{background:linear-gradient(110deg,#0879ed,#00aaa9)}
.mc-actions .mc-button-community{background:linear-gradient(110deg,#0b3970,#0879ed)}
.mc-actions .mc-button-instruments{background:linear-gradient(110deg,#07567a,#00a9a4)}
@media(max-width:620px){.mc-actions{grid-template-columns:1fr}.mc-actions .mc-button{white-space:normal}}
.mc-icon svg{display:block;width:28px;height:28px}
/* Homepage più compatta: hero ridotta e tre sole sezioni di annunci recenti. */
.mc-hero-compact{padding:58px 0 42px}
.mc-hero-compact .mc-hero-grid{gap:34px}
.mc-hero-compact .mc-hero-art{min-height:280px}
.mc-hero-compact .mc-logo-orbit{width:min(300px,90%)}
.mc-hero-compact h1{font-size:clamp(40px,5.5vw,64px)}
.mc-hero-compact p{font-size:16px}
.mc-hero-compact+.mc-section{padding:48px 0 60px}
.mc-home-feed .mc-listing-section{padding:40px 0}
@media(max-width:620px){.mc-hero-compact{padding:42px 0 28px}.mc-hero-compact .mc-hero-art{min-height:210px}.mc-hero-compact .mc-logo-orbit{width:min(240px,90%)}.mc-hero-compact+.mc-section{padding:38px 0 46px}}
.mc-icon-guitar svg{width:21px;height:36px}
/* Ripristino delle personalizzazioni approvate per la homepage. */
.mc-hero-people{min-height:330px;overflow:visible;display:flex;justify-content:flex-end;align-items:center}
.mc-hero-musicians{display:block;width:min(112%,690px);max-height:420px;object-fit:contain;transform:translateX(7%);mix-blend-mode:screen}
.mc-actions .mc-button-publish{background:#050d15;border:2px solid #00aaa9;color:#48d8cf;box-shadow:none}
.mc-actions .mc-button-publish span{background:linear-gradient(100deg,#53ddd3,#00a9a1);-webkit-background-clip:text;background-clip:text;color:transparent}
.mc-actions .mc-button-publish:hover{border-color:#35d8d1;box-shadow:0 0 0 1px rgba(0,190,183,.22)}
.mc-home-feed{background:#fff;color:#111923}
.mc-home-feed .mc-listing-section,.mc-home-feed .mc-nearby-section{background:#fff;color:#111923}
.mc-home-feed .mc-section-head h2,.mc-home-feed .mc-section-head p,.mc-home-feed .mc-listing-section h2{color:#111923}
.mc-home-feed .mc-listing-section .mc-eyebrow{color:#087f83;background:rgba(0,180,176,.07)}
.mc-home-feed .mc-listing{background:#fff;border-color:#dce4e9;color:#111923;box-shadow:0 8px 24px rgba(11,30,44,.06)}
.mc-home-feed .mc-listing h3,.mc-home-feed .mc-listing h3 a{color:#111923}
.mc-home-feed .mc-listing-body p{color:#4b5b68}
.mc-home-feed .mc-listing-body small,.mc-home-feed .mc-meta{color:#637383}
.mc-home-feed .mc-empty,.mc-home-feed .mc-nearby-prompt{color:#526271;border-color:#d1dce4}
.mc-home-feed .mc-nearby-form label{color:#334556}
.mc-home-feed .mc-nearby-form select{background:#fff;color:#142434;border-color:#d0dce4}
.mc-home-feed > section{transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.mc-scroll-ready > section{opacity:0;transform:translateY(24px)}
.mc-scroll-ready > section.is-revealed{opacity:1;transform:translateY(0)}
@media(max-width:850px){.mc-hero-musicians{width:min(100%,620px);transform:translateX(3%)}.mc-hero-people{min-height:280px}}
@media(max-width:620px){.mc-hero-people{min-height:190px;justify-content:center}.mc-hero-musicians{width:100%;max-height:245px;transform:none}.mc-actions .mc-button-publish{border-width:2px}.mc-scroll-ready > section{transform:translateY(16px)}}
@media(prefers-reduced-motion:reduce){.mc-home-feed > section{transition:none}.mc-scroll-ready > section{opacity:1;transform:none}}

/* Musicollab fluorescent-violet theme; component geometry stays unchanged. */
:root{--mc-ink:#08030d;--mc-panel:#190b22;--mc-blue:#a100ff;--mc-teal:#d000ff;--mc-muted:#c6b2d0;--mc-line:rgba(197,117,255,.26)}
.mc-topbar{background:#000;border-color:rgba(190,90,255,.3)}
.mc-header{min-height:68px}
.mc-brand{max-width:220px}
.mc-brand img{width:190px;max-height:58px;object-fit:contain}
.mc-hero{background:linear-gradient(90deg,#390052 0%,#190022 44%,#000 100%)}
.mc-hero:after{background:linear-gradient(90deg,transparent,#a100ff 45%,#e000ff,transparent)}
.mc-eyebrow{border-color:rgba(200,60,255,.42);background:rgba(161,0,255,.14);color:#f0aaff}
.mc-eyebrow:before{background:#d000ff;box-shadow:0 0 12px #d000ff}
.mc-gradient-text{background:linear-gradient(100deg,#d04cff,#ff45f5);-webkit-background-clip:text;background-clip:text}
.mc-nav-cta,.mc-button{background:linear-gradient(110deg,#9200ff,#df00ff);color:#fff;box-shadow:0 8px 28px rgba(174,0,255,.22)}
.mc-button.secondary{background:rgba(174,0,255,.12);border-color:rgba(211,100,255,.38);color:#fff}
.mc-actions .mc-button-collab,.mc-actions .mc-button-community,.mc-actions .mc-button-instruments{background:linear-gradient(110deg,#9200ff,#df00ff);color:#fff}
.mc-actions .mc-button-publish{background:#08030d;border-color:#c000ff;color:#fff}
.mc-actions .mc-button-publish span{background:linear-gradient(100deg,#f09aff,#ff62ee);-webkit-background-clip:text;background-clip:text}
.mc-feature,.mc-listing,.mc-mini-card,.mc-auth-wrap,.mc-profile-head,.mc-alert,.mc-empty,.mc-chat-panel,.mc-private-chat,.mc-contact-box,.mc-inbox-item{background-color:#190b22;border-color:var(--mc-line)}
.mc-feature{background-image:linear-gradient(145deg,rgba(55,0,77,.92),rgba(17,5,25,.96))}
.mc-profile-head{background-image:linear-gradient(120deg,#260039,#15001f)}
.mc-band{background:linear-gradient(100deg,#4d006b,#300046 56%,#160020);box-shadow:0 25px 80px rgba(161,0,255,.14)}
.mc-listing-image{background:linear-gradient(135deg,#28003e,#4c0063)}
.mc-community .mc-pill,.mc-community .mc-tag,.mc-community .mc-badge,.mc-community .mc-offer-badge,.mc-community .mc-category,.mc-community .mc-status-badge{background:rgba(186,0,255,.16);border-color:rgba(210,73,255,.4);color:#efa2ff}
.mc-community .mc-toolbar input,.mc-community .mc-toolbar select,.mc-community .mc-form input,.mc-community .mc-form select,.mc-community .mc-form textarea{background:#16091e;color:#fff;border-color:rgba(197,117,255,.34)}
.mc-community .mc-alert.success{background:#1d0c28;border-color:#b000ef;color:#f2c7ff}
.mc-community .mc-text-link,.mc-community a:not(.mc-button){color:#e883ff}
.mc-community .mc-button,.mc-community button.mc-button,.mc-community input[type=submit]{color:#fff}
.wp-site-blocks .mc-topbar .mc-header{min-height:68px!important}
.wp-site-blocks .mc-brand img{width:190px!important;max-height:58px!important;object-fit:contain}
.mc-hero{background:linear-gradient(90deg,#390052 0%,#190022 44%,#000 100%)!important}
.mc-nav-cta,.mc-button,.mc-community button:not(.mc-menu-toggle),.mc-community input[type=submit],.wp-element-button{background:linear-gradient(110deg,#9200ff,#df00ff)!important;color:#fff!important}
.mc-community .mc-pill,.mc-nearby-label,.mc-offer-badge,.mc-offer-label,.mc-type-badge,.mc-status-pill{background:rgba(174,0,255,.18)!important;border-color:rgba(218,90,255,.48)!important;color:#f0aaff!important}
.mc-icon{background:linear-gradient(140deg,rgba(161,0,255,.3),rgba(220,0,255,.18));border-color:rgba(210,73,255,.42);color:#f0aaff}
.mc-footer{background:#050008;border-color:rgba(197,117,255,.26)}
.mc-content a{color:#e883ff}
.mc-home-feed{background:#fff;color:#111923}
.mc-home-feed .mc-listing-section,.mc-home-feed .mc-nearby-section{background:#fff;color:#111923}
.mc-home-feed .mc-listing{background:#fff;color:#111923;border-color:#dce4e9}
@media(max-width:620px){.wp-site-blocks .mc-topbar .mc-header{min-height:58px!important}.mc-brand{max-width:175px}.wp-site-blocks .mc-brand img{width:160px!important;max-height:50px!important}.mc-nav{top:58px}}
/* Keep button labels solid white for clear contrast on the violet palette. */
.mc-nav-cta,.mc-button,.wp-element-button{color:#fff!important;-webkit-text-fill-color:#fff!important}
.mc-nav-cta span,.mc-button span,.wp-element-button span{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Twitch-style violet palette: use purple hues without drifting into magenta. */
:root{--mc-ink:#08050f;--mc-panel:#160f26;--mc-blue:#9146ff;--mc-teal:#a987ff;--mc-muted:#c8bfd8;--mc-line:rgba(145,70,255,.30)}
.mc-hero{background:linear-gradient(90deg,#392263 0%,#1c1230 48%,#000 100%)!important}
.mc-hero:after{background:linear-gradient(90deg,transparent,#6441a5 45%,#9146ff,transparent)!important}
.mc-eyebrow{border-color:rgba(145,70,255,.48)!important;background:rgba(100,65,165,.20)!important;color:#d8c7ff!important}
.mc-eyebrow:before{background:#9146ff!important;box-shadow:0 0 12px rgba(145,70,255,.75)!important}
.mc-gradient-text{background:linear-gradient(100deg,#b899ff,#9146ff)!important;-webkit-background-clip:text!important;background-clip:text!important}
.mc-nav-cta,.mc-button,.mc-community button:not(.mc-menu-toggle),.mc-community input[type=submit],.wp-element-button{background:linear-gradient(110deg,#6441a5,#9146ff)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.mc-button.secondary{background:rgba(100,65,165,.20)!important;border-color:rgba(145,70,255,.50)!important;color:#fff!important}
.mc-actions .mc-button-collab,.mc-actions .mc-button-community,.mc-actions .mc-button-instruments{background:linear-gradient(110deg,#6441a5,#9146ff)!important;color:#fff!important}
.mc-actions .mc-button-publish{background:#08050f!important;border-color:#9146ff!important;color:#fff!important}
.mc-feature,.mc-listing,.mc-mini-card,.mc-auth-wrap,.mc-profile-head,.mc-alert,.mc-empty,.mc-chat-panel,.mc-private-chat,.mc-contact-box,.mc-inbox-item{background-color:#160f26!important;border-color:rgba(145,70,255,.30)!important}
.mc-feature{background-image:linear-gradient(145deg,rgba(64,42,103,.94),rgba(20,13,35,.98))!important}
.mc-profile-head{background-image:linear-gradient(120deg,#30204e,#160f26)!important}
.mc-band{background:linear-gradient(100deg,#493174,#352253 56%,#1b1230)!important;box-shadow:0 25px 80px rgba(100,65,165,.18)!important}
.mc-listing-image{background:linear-gradient(135deg,#24183a,#493174)!important}
.mc-community .mc-pill,.mc-community .mc-tag,.mc-community .mc-badge,.mc-community .mc-offer-badge,.mc-community .mc-category,.mc-community .mc-status-badge,.mc-nearby-label,.mc-offer-label,.mc-type-badge,.mc-status-pill{background:rgba(100,65,165,.28)!important;border-color:rgba(145,70,255,.52)!important;color:#dacaff!important}
.mc-community .mc-toolbar input,.mc-community .mc-toolbar select,.mc-community .mc-form input,.mc-community .mc-form select,.mc-community .mc-form textarea{background:#120c1e!important;color:#fff!important;border-color:rgba(145,70,255,.42)!important}
.mc-community .mc-alert.success{background:#1d1530!important;border-color:#9146ff!important;color:#e6dbff!important}
.mc-community .mc-text-link,.mc-community a:not(.mc-button),.mc-content a{color:#b899ff!important}
.mc-icon{background:linear-gradient(140deg,rgba(100,65,165,.40),rgba(145,70,255,.18))!important;border-color:rgba(145,70,255,.48)!important;color:#d5c3ff!important}
.mc-footer{background:#05030a!important;border-color:rgba(145,70,255,.30)!important}

/* Contrasto Twitch-violet per componenti rimasti nella palette precedente. */
.mc-home-feed .mc-text-link,.mc-home-feed .mc-listing-section .mc-text-link{color:#392263!important;-webkit-text-fill-color:#392263!important}
.mc-home-feed .mc-listing-section .mc-eyebrow{color:#392263!important;background:#eee8fa!important;border-color:#d6c7f2!important}
.mc-home-feed .mc-listing-section .mc-eyebrow:before{background:#6441a5!important;box-shadow:0 0 10px rgba(100,65,165,.45)!important}
.mc-community .mc-avatar,.mc-avatar-sprite,.mc-member-avatar-wrap .mc-avatar{background-color:#24183a!important;border:1px solid rgba(145,70,255,.4)}
.mc-member-avatar-wrap{position:relative;display:inline-flex;width:max-content;vertical-align:middle}
.mc-member-presence{position:absolute;right:1px;bottom:2px;width:15px;height:15px;border:2px solid #160f26;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.4)}
.mc-member-presence.is-online{background:#28c76f}.mc-member-presence.is-offline{background:#e04f5f}
.mc-topbar .mc-notification-bell{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin-left:auto;border:1px solid rgba(145,70,255,.48);border-radius:50%;background:#160f26;color:#d8c7ff!important;font-size:23px;line-height:1}
.mc-topbar .mc-notification-bell svg{display:block}
.mc-topbar .mc-notification-bell:hover{background:#24183a;color:#fff!important}
.mc-home-dashboard-avatar{width:28px;height:28px;margin-right:9px;border-radius:50%;object-fit:cover;background:#24183a;border:1px solid rgba(255,255,255,.62);vertical-align:middle}
.mc-brand{order:1}.mc-nav{order:2}.mc-topbar .mc-notification-bell{order:3;margin-left:0}.mc-menu-toggle{order:4}
@media(max-width:850px){.mc-header{gap:12px}.mc-topbar .mc-notification-bell{margin-left:auto;flex:0 0 42px;width:42px;height:42px}.mc-topbar .mc-menu-toggle{flex:0 0 auto}}

/* Last visual fixes for the violet theme; preserve the existing home layout. */
.mc-topbar .mc-notification-bell{display:inline-flex!important;flex:0 0 48px!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:6!important}
.mc-home-dashboard-avatar{display:inline-block!important;flex:0 0 28px!important;background:#24183a!important}
.mc-home-feed .mc-listing-section .mc-eyebrow,.mc-home-feed .mc-listing-section .mc-eyebrow *{color:#392263!important;-webkit-text-fill-color:#392263!important}
.mc-home-feed .mc-listing-section a:not(.mc-button):not(.mc-text-link),.mc-home-feed .mc-nearby-section a:not(.mc-button){color:#392263!important}
.mc-home-feed .mc-listing-section .mc-pill,.mc-home-feed .mc-listing-section .mc-status-pill,.mc-home-feed .mc-listing-section .mc-nearby-label{background:#eee8fa!important;border-color:#d6c7f2!important;color:#392263!important;-webkit-text-fill-color:#392263!important}
.mc-community .mc-member-avatar-wrap .mc-member-presence{right:1px!important;bottom:1px!important}
@media(max-width:850px){.mc-topbar .mc-notification-bell{flex:0 0 42px!important;width:42px!important;height:42px!important}}

.mc-home-dashboard-avatar.mc-avatar-sprite{background-size:400% 400%!important;display:inline-block!important}

/* Logged-in home CTA avatar and final Twitch-violet cleanup. */
.mc-hero .mc-actions-home .mc-button,.mc-hero .mc-actions-home .mc-nav-cta{display:inline-flex!important;align-items:center;justify-content:center;gap:9px}
.mc-home-dashboard-avatar{width:28px!important;height:28px!important;min-width:28px!important;margin:0!important;border-radius:50%!important;object-fit:cover!important;background:#24183a!important;border:1px solid rgba(255,255,255,.7)!important;vertical-align:middle!important}
.mc-home-dashboard-avatar.mc-avatar-sprite{display:inline-block!important;background-size:400% 400%!important;background-color:#24183a!important}
.mc-chat-online i,.mc-global-chat .mc-chat-online i{background:#9146ff!important;box-shadow:0 0 8px rgba(145,70,255,.7)!important}
.mc-global-chat,.mc-community .mc-global-chat{background:linear-gradient(145deg,#1a1029,#10091b)!important;border-color:rgba(145,70,255,.48)!important}
.mc-global-chat-feed{background:rgba(5,3,10,.5)!important;border-color:rgba(145,70,255,.3)!important}
.mc-community .mc-location-single select,.mc-community .mc-form input,.mc-community .mc-form select,.mc-community .mc-form textarea,.mc-community .mc-toolbar input,.mc-community .mc-toolbar select{border-color:rgba(145,70,255,.38)!important}
.mc-home-feed .mc-listing-section{--mc-line:rgba(100,65,165,.35)}
.mc-home-feed .mc-listing-section .mc-eyebrow:before{background:#6441a5!important;box-shadow:0 0 10px rgba(100,65,165,.4)!important}
body:not(.home) .mc-global-chat{background-color:#160f26!important;background-image:linear-gradient(145deg,#1a1029,#10091b)!important;border-color:rgba(145,70,255,.48)!important}
body:not(.home) .mc-global-chat-feed{background-color:#10091b!important;background-image:none!important;border-color:rgba(145,70,255,.3)!important}
body:not(.home) .mc-community .mc-listing,body:not(.home) .mc-community .mc-listing-body,body:not(.home) .mc-community .mc-auth-wrap,body:not(.home) .mc-community .mc-profile-head,body:not(.home) .mc-community .mc-private-chat,body:not(.home) .mc-community .mc-private-chat-feed{background-color:#160f26!important;background-image:none!important;border-color:rgba(145,70,255,.34)!important}
body:not(.home) .mc-community .mc-listing-image{background-color:#24183a!important;background-image:linear-gradient(135deg,#24183a,#493174)!important}
body:not(.home) .mc-community .mc-toolbar input,body:not(.home) .mc-community .mc-toolbar select,body:not(.home) .mc-community .mc-form input,body:not(.home) .mc-community .mc-form select,body:not(.home) .mc-community .mc-form textarea{background-color:#160f26!important;background-image:none!important;border-color:rgba(145,70,255,.38)!important}
body:not(.home) .mc-avatar-sprite,.mc-home-dashboard-avatar.mc-avatar-sprite{background-color:#24183a!important;background-image:none!important}


/* Rifiniture richieste: logo header, doppia linea hero e controlli homepage. */
.mc-brand{max-width:270px}
.wp-site-blocks .mc-brand img{width:230px!important;max-height:66px!important}
.mc-header,.wp-site-blocks .mc-topbar .mc-header{min-height:76px!important}
.mc-hero:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,#9146ff 45%,#6441a5,transparent);z-index:1}
@media(max-width:620px){
  .mc-brand{max-width:205px}
  .wp-site-blocks .mc-topbar .mc-header{min-height:68px!important}
  .wp-site-blocks .mc-brand img{width:190px!important;max-height:58px!important}
  .mc-nav{top:68px}
  .mc-hero-people{margin-top:0}
  .mc-hero-people+.mc-button-community,.mc-hero .mc-button-community{margin-top:18px}
}
@media(min-width:851px){
  .mc-actions .mc-button-community{background:#08050f!important;border:2px solid #9146ff!important;color:#fff!important}
  .mc-actions .mc-button-community:hover{box-shadow:0 0 0 1px rgba(145,70,255,.25)}
  .mc-home-feed .mc-nearby-section{display:none!important}
}

/* Header più leggibile e separatore mobile staccato dal pulsante Community. */
.mc-brand{max-width:290px!important}
.wp-site-blocks .mc-brand img{width:260px!important;max-height:80px!important}
.mc-header,.wp-site-blocks .mc-topbar .mc-header{min-height:92px!important}
.mc-actions:after{background:linear-gradient(270deg,transparent,#9146ff 45%,#6441a5,transparent)!important}
@media(max-width:620px){
  .mc-brand{max-width:225px!important}
  .wp-site-blocks .mc-topbar .mc-header{min-height:78px!important}
  .wp-site-blocks .mc-brand img{width:220px!important;max-height:68px!important}
  .mc-nav{top:78px}
  .mc-actions:after{margin-top:20px!important}
}
@media(min-width:851px){.mc-actions-home .mc-button-explore{background:#08050f!important;border:2px solid #9146ff!important;color:#fff!important}.mc-actions-home .mc-button-explore:hover{box-shadow:0 0 0 1px rgba(145,70,255,.25)!important}}
@media(min-width:851px){body.home .mc-hero .mc-actions .mc-hero-community-link a.mc-button-explore{background:#08050f!important;background-image:none!important;border:2px solid #9146ff!important;border-color:#9146ff!important;color:#fff!important;-webkit-text-fill-color:#fff!important}}
@media(min-width:621px){html body.home #mc-actions-home > .mc-hero-community-link > a.mc-button-explore{border:2px solid #9146ff!important;border-color:#9146ff!important;background:#08050f!important;color:#fff!important;-webkit-text-fill-color:#fff!important}}
@media(max-width:620px){html body.home #mc-actions-home::after{margin-top:20px!important;background:linear-gradient(270deg,transparent,#9146ff 45%,#6441a5,transparent)!important}}
@media(min-width:851px){html body.home #mc-actions-home>a.mc-button-community{background:linear-gradient(110deg,#6441a5,#9146ff)!important;background-image:linear-gradient(110deg,#6441a5,#9146ff)!important}}
html body.home #mc-actions-home>a.mc-button-collab,html body.home #mc-actions-home>a.mc-button-instruments{border:2px solid #9146ff!important}
@media(max-width:620px){html body.home #mc-actions-home>a.mc-button-community{border:2px solid #9146ff!important;border-color:#9146ff!important}}
html body.home .mc-actions-home .mc-home-dashboard-avatar{margin-right:12px!important;flex:0 0 28px!important}
.mc-topbar .mc-brand img,.mc-footer .mc-footer-logo{content:normal!important;display:block!important;opacity:1!important;visibility:visible!important;mix-blend-mode:normal!important;filter:none!important}
.mc-topbar .mc-brand:hover img,.mc-topbar .mc-brand:focus img,.mc-footer a:hover .mc-footer-logo{opacity:1!important;visibility:visible!important}
.mc-topbar .mc-header{min-height:112px!important}
.mc-topbar .mc-brand{width:320px!important;max-width:none!important;flex:0 0 auto!important}
.wp-site-blocks .mc-topbar .mc-brand img{width:100%!important;height:106px!important;max-height:none!important;object-fit:cover!important;object-position:50% 50%!important}
@media(max-width:620px){
  .mc-topbar .mc-header{min-height:94px!important;gap:12px!important}
  .mc-topbar .mc-brand{width:clamp(170px,52vw,235px)!important;max-width:none!important;flex:0 1 auto!important}
  .wp-site-blocks .mc-topbar .mc-brand img{width:100%!important;height:86px!important;max-height:none!important;object-fit:cover!important;object-position:50% 50%!important}
}
