/* SpectraVision Community identity candidate — 2026-11-07.
   Load after legacy community CSS. Never enqueue on commercial templates.
   Activation is pending desktop/mobile visual review. */
body.svcu-active, body:has(.sv-gate) {
 --sv-community-bg:#07040c;
 --sv-community-panel:#100b18;
 --sv-community-panel-raised:#1a1025;
 --sv-community-purple:#bd56ff;
 --sv-community-gold:#efc76d;
 --sv-community-border:#8850a4;
 --sv-community-text:#f5eefb;
 background:radial-gradient(ellipse at 4% 85%,#35054b 0,transparent 35%),#07040c!important;
 color:var(--sv-community-text)!important;
 font-family:Arial,Helvetica,sans-serif!important;
 color-scheme:dark;
}
body.svcu-active :is(.svn-main,.sv-wall,.svc-page,.svcin-page,.sv-redesign-center) {
 color:var(--sv-community-text)!important;
 min-width:0;overflow-wrap:anywhere;
}
body.svcu-active :is(.svn-card,.svcg-card,.svc-panel,.sv-social-post,.sv-social-composer,.svpg-stories,.sv-wall-banner,.sv-wall-card,.svhome-updates,.svhome-vip,.svhome-cinema,.svref-online,.sv-support-home-rooms,.sv-support-banner,.sv-community-weather) {
 background:linear-gradient(145deg,#130d1d,#09070f)!important;
 color:var(--sv-community-text)!important;
 border:1px solid var(--sv-community-border)!important;
 border-radius:18px!important;
 box-shadow:0 4px 18px #0006,inset 0 1px #d6a2ff0a!important;
}
body.svcu-active :is(.svn-main,.sv-wall,.svc-page,.svcin-page) :is(h1,h2,h3) {
 color:var(--sv-community-gold)!important;
}
body.svcu-active :is(.svn-main,.sv-wall,.svc-page) h1 {
 font-family:Georgia,serif!important;
 font-weight:600;
}
body.svcu-active :is(.svn-button,.svc-button,.svcg-button,button[type=submit],input[type=submit]) {
 background:linear-gradient(180deg,#b728f0,#7100ba)!important;
 color:#fff!important;
 border:1px solid #d379ff!important;
 border-radius:999px!important;
 min-height:44px;
 box-shadow:0 0 14px #a300f44d!important;
 font-family:Arial,Helvetica,sans-serif!important;
 font-weight:700!important;
}
body.svcu-active :is(.svn-main,.sv-wall,.svc-page) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=file]),textarea,select) {
 background:#17111f!important;
 color:#f5eefb!important;
 border:1px solid #76508d!important;
 border-radius:12px!important;
 max-width:100%;box-sizing:border-box;
}
body.svcu-active :is(.svn-main,.sv-wall,.svc-page) :is(input,textarea)::placeholder {
 color:#c8b8d1!important;opacity:1;
}
body.svcu-active :is(a,button,input,textarea,select,summary):focus-visible {
 outline:2px solid #f2ca76!important;outline-offset:3px;
}
body.svcu-active :is(.svn-desktop-social-menu,.sv-redesign-left,.sv-redesign-right,.svn-home-discovery>section) {
 background:radial-gradient(ellipse at bottom,#49066380,transparent 50%),linear-gradient(#0f0916,#09050e)!important;
 border:1px solid #a258be!important;
 border-radius:18px!important;
 box-shadow:0 0 13px #7f20a32b!important;
 color:#f5eefb!important;
}
body.svcu-active .svn-desktop-social-menu :is(a,summary) {
 color:#f5eefb!important;
 font:600 15px/1.35 Arial,Helvetica,sans-serif!important;
 min-height:44px;box-sizing:border-box;
 border-radius:13px!important;
}
body.svcu-active .svn-desktop-social-menu :is(a[aria-current=page],a.svhome-active) {
 background:linear-gradient(180deg,#c53bf0,#5e078e)!important;
 color:#fff!important;
 box-shadow:inset 0 1px #e1b2ff80,0 0 12px #bf27f640!important;
}
body.svcu-active .svn-desktop-social-menu a:hover {
 background:#44205a!important;color:#fff!important;
}
body.svcu-active .svn-header-with-banner {
 background:#08040f!important;border-color:#713789!important;
}
body.svcu-active .svn-header-with-banner .svn-brand {
 color:#efc76d!important;font-family:Georgia,serif!important;
}
body.svcu-active :is(.sv-brand-word>span,.svref-menu-icon) {color:#cf7aff!important}
body.svcu-active .svn-nav-group>summary {
 background:linear-gradient(#291332,#130b1f)!important;
 color:#f7edff!important;border-color:#8850a4!important;
}
body.svcu-active .svn-nav-submenu {
 background:#110a1b!important;border-color:#8850a4!important;
}
body.svcu-active :is(.svpg-stories,.sv-social-post) img {max-width:100%}
body.svcu-active :is(.svms-floating,.sv-community-radio,.sv-radio-popover) {
 border-color:#a258be!important;
 box-shadow:0 5px 26px #0008,0 0 14px #9427bf30!important;
}
body:has(.sv-gate) :is(.sv-gate-login,.sv-gate-signup) {
 background:linear-gradient(145deg,#170c23,#09070f)!important;
 border-color:#a258be!important;
}
body:has(.sv-gate) .sv-gate h1 {color:#efc76d!important;font-family:Georgia,serif}
@media(max-width:700px) {
 body.svcu-active :is(.svn-main,.sv-wall,.sv-redesign-center) {min-width:0;max-width:100%;box-sizing:border-box}
 body.svcu-active :is(.svn-card,.svcg-card,.svc-panel,.sv-social-post,.sv-social-composer) {border-radius:14px!important}
 body.svcu-active :is(button,.svn-button,summary) {touch-action:manipulation}
}
@media(prefers-reduced-motion:reduce) {
 body.svcu-active *,body:has(.sv-gate) * {scroll-behavior:auto!important}
}

/* Common shell. Existing modules and event handlers remain mounted. */
html body.svcu-active{margin:0!important;background:radial-gradient(ellipse at 0 85%,#42065b77,transparent 38%),#07040c!important;color:#f5eefb!important;font:15px/1.45 Arial,Helvetica,sans-serif!important;--svcu-purple:#b735ef;--svcu-gold:#efc76d}
.svcu-active *{box-sizing:border-box}
.svcu-active a{color:#d990ff}
.svcu-active [hidden]{display:none!important}
.svcu-skip{position:absolute;left:10px;top:-100px;z-index:99999;padding:12px;background:#170a26}
.svcu-skip:focus{top:10px}
.svcu-header{max-width:1800px;margin:0 auto;padding:8px 12px 0;position:relative;background:#09040f;border-bottom:1px solid #744088}
.svcu-banner{width:100%;min-width:0;height:140px;overflow:hidden;border-radius:16px;border:1px solid #683480;background:#100718}
.svcu-banner>.svn-header-banner,.svcu-banner>.svcb-banner{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:140px!important;max-height:none!important;margin:0!important;padding:0!important;aspect-ratio:auto!important}
.svcu-banner img,.svcu-banner video{max-width:100%;width:100%;height:100%;object-fit:contain;background:#0d0615}
.svcu-top{display:flex;align-items:center;gap:18px;padding:12px 4px;min-width:0}
.svcu-top>p{flex:1;margin:0;text-align:center;color:#efc76d;font-family:Georgia,serif}
.svcu-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--svcu-gold)!important;font:700 clamp(19px,2vw,30px)/1 Georgia,serif}
.svcu-brand small{display:block;letter-spacing:.18em;font:12px/1.5 Georgia,serif;margin-top:5px;text-align:center}
.svcu-mark{display:grid;place-items:center;width:55px;height:55px;border:1px solid #bf78eb;border-radius:15px;background:radial-gradient(at bottom,#7d0cae,#100818 70%);color:var(--svcu-gold);box-shadow:0 0 12px #9906d04d}
.svcu-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.svcu-header-actions>a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 10px;border:1px solid #694381;border-radius:12px;background:#1a1024;text-decoration:none;color:#f5eefb}
.svcu-header-actions>form{display:flex;max-width:180px}
.svcu-header-actions input{width:135px;min-width:0;background:#1d1527;border:1px solid #76508d;border-radius:12px 0 0 12px;padding:9px;color:white}
.svcu-header-actions button{border:1px solid #76508d;border-left:0;border-radius:0 12px 12px 0;background:#52236c;color:white;width:38px}
.svcu-mobile-menu{display:none}
html body.svcu-active #svcu-shell{display:grid;grid-template-columns:minmax(180px,230px) minmax(0,1fr) minmax(230px,320px);gap:20px;width:100%;max-width:1800px;margin:0 auto;padding:18px 12px 60px;align-items:start}
#svcu-content{min-width:0}
.svcu-left{position:sticky;top:12px;border:1px solid #a258be;border-radius:18px;padding:8px;background:radial-gradient(ellipse at bottom,#650a8780,transparent 45%),#0c0712;box-shadow:0 0 15px #8b12b433;max-height:calc(100vh - 24px);overflow:auto}
.svcu-nav{display:grid;gap:3px}
.svcu-nav>a{display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 12px;border-radius:13px;font:650 15px/1.25 Arial,sans-serif;color:#f4ecfb;text-decoration:none}
.svcu-nav>a>span{display:grid;place-items:center;flex:0 0 25px;font-size:25px;color:#d377ff}
.svcu-nav>a:hover{background:#3b174f}
.svcu-nav>a[aria-current=page]{background:linear-gradient(#c032f0,#6507a2);box-shadow:inset 0 1px #efb7ff99,0 0 12px #a215e544}
.svcu-other{margin-top:10px;padding:10px;border-top:1px solid #59356b}
.svcu-other summary{cursor:pointer;color:#e2bff1;min-height:35px}
.svcu-other a{display:block;padding:8px}
.svcu-right{display:grid;gap:16px;min-width:0}
.svcu-panel{min-width:0;border:1px solid #8850a4;border-radius:18px;padding:18px;background:linear-gradient(145deg,#130d1d,#09070f);box-shadow:0 4px 18px #0006}
.svcu-panel h2{font-size:17px;margin:0 0 12px;color:var(--svcu-gold)}
.svcu-panel>a{display:block;margin-top:10px}
.svcu-panel p{margin:8px 0 12px}
.svcu-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border:1px solid #d379ff;border-radius:999px;background:linear-gradient(#b728f0,#7100ba);color:#fff!important;font-weight:700;text-decoration:none;box-shadow:0 0 12px #9600d94d}
.svcu-intro{margin-bottom:18px}
html body.svcu-active #svcu-content :is(.svn-main,.sv-wall,.svc-page,.sva-page){width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html body.svcu-active #svcu-content .svn-three-columns{display:block!important;max-width:100%!important;width:100%!important;margin:0!important;padding:0!important}
html body.svcu-active #svcu-content .svn-home-center{grid-column:auto!important;min-width:0!important;width:100%!important;max-width:none!important;margin:0!important}
html body.svcu-active #svcu-content .svn-home-left{display:none!important}
html body.svcu-active #svcu-content :is(.svn-home-discovery,.svn-home-right){position:static!important;max-width:100%!important}
html body.svcu-active #svcu-content .sv-community-weather{display:none!important}
html body.svcu-active #svcu-content .sv-mobile-shortcuts{display:none!important}
html body.svcu-active #svcu-shell :is(.svn-card,.svcg-card,.svc-panel,.sv-social-post,.sv-social-composer,.svc-social-post,.sv-wall-banner,.svpg-stories,.svcin-access-panel){background:linear-gradient(145deg,#130d1d,#09070f)!important;color:#f5eefb!important;border-color:#8850a4!important;border-radius:18px!important}
html body.svcu-active #svcu-shell :is(h1,h2,h3){color:var(--svcu-gold)!important}
html body.svcu-active #svcu-shell .svpg-stories .svpg-story img{border-color:#bd56ff!important}
html body.svcu-active #svcu-shell .svms-inbox{width:100%!important;min-width:0!important;max-width:100%!important}
html body.svcu-active #svcu-shell :is(img,video,iframe,canvas){max-width:100%}
html body.svcu-active #svcu-shell :is(table,pre){max-width:100%;overflow:auto}
.svcu-header [data-svcg-notices]{position:relative}
.svcu-header [data-svcg-notices]>summary{min-height:42px;background:#23112f;border:1px solid #7c4796;border-radius:12px;color:white;padding:8px;cursor:pointer}
@media(max-width:1199px){
 html body.svcu-active #svcu-shell{grid-template-columns:190px minmax(0,1fr);gap:14px}
 .svcu-right{grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr))}
 .svcu-top>p{display:none}
 .svcu-header-actions{margin-left:auto}
}
@media(max-width:760px){
 .svcu-header{padding:7px 8px 0}
 .svcu-banner,.svcu-banner>.svn-header-banner,.svcu-banner>.svcb-banner{height:110px!important}
 .svcu-top{gap:8px;flex-wrap:wrap;padding:10px 0}
 .svcu-brand{font-size:20px}
 .svcu-mark{width:42px;height:42px}
 .svcu-brand small{font-size:10px}
 .svcu-header-actions{gap:6px}
 .svcu-header-actions>form{order:5;flex:1 1 100%;max-width:none}
 .svcu-header-actions input{width:100%}
 .svcu-header-actions>a{font-size:12px;padding:6px;min-height:40px}
 .svcu-header-actions{flex:1 1 100%;margin-left:0}
 .svcu-header-actions>form{order:0;flex:1;max-width:220px}
 .svcu-mobile-menu{display:block;margin:4px 0 10px;background:#21102d;border:1px solid #8951a5;border-radius:12px;padding:10px}
 .svcu-mobile-menu>summary{cursor:pointer;min-height:28px;color:#f3d8ff;font-weight:700}
 .svcu-mobile-menu .svcu-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
 .svcu-nav>a{font-size:13px;padding:8px}
 .svcu-nav>a>span{font-size:21px;flex-basis:23px}
 html body.svcu-active #svcu-shell{display:block!important;padding:10px 8px 75px}
 .svcu-left{display:none}
 .svcu-right{margin-top:18px;grid-template-columns:1fr}
 .svcu-panel{padding:14px;border-radius:14px}
}
@media(prefers-reduced-motion:reduce){.svcu-active *{animation:none!important;scroll-behavior:auto!important}}

/* Bound imported cards and keep the main feed first. */
html body.svcu-active #svcu-shell .svcu-right :is(.svn-home-discovery,.svn-home-right,.svh-featured,.svh-home-promos){width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;position:static!important}
html body.svcu-active #svcu-shell .svcu-right .svh-three-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
html body.svcu-active #svcu-shell .svcu-right :is(.svh-art,.svh-no-art){height:130px!important;min-height:0!important}
html body.svcu-active #svcu-shell .svcu-right .svh-card{min-height:0!important}
html body.svcu-active #svcu-shell .sv-social-feed{margin:0!important;width:100%!important;max-width:none!important;background:transparent!important;border:0!important;padding:0!important}
html body.svcu-active #svcu-shell :is(.sv-social-compose,.sv-desktop-compose-head){background:linear-gradient(145deg,#190e23,#0b0711)!important;border-color:#8850a4!important;color:#f5eefb!important}
html body.svcu-active #svcu-shell .sv-social-compose textarea{background:#21172a!important;border-color:#8850a4!important;color:#f5eefb!important}
html body.svcu-active #svcu-shell :is(.sv-social-reactions button,.sv-post-social-bar button){background:#301440!important;border-color:#8e44af!important;color:#ebc6ff!important}
html body.svcu-active #svcu-shell .svc-room-head{flex-wrap:wrap!important;min-width:0!important}
html body.svcu-active #svcu-shell .display-name{max-width:100%;overflow-wrap:anywhere;white-space:normal!important}

html body.svcu-active #svcu-shell>.svcu-right{grid-template-columns:minmax(0,1fr)!important;align-content:start}
html body.svcu-active #svcu-shell>.svcu-right>*{grid-column:auto!important;grid-row:auto!important;min-width:0!important;max-width:100%!important;width:100%!important}
html body.svcu-active #svcu-shell .svcu-right :is(.svn-home-discovery,.svn-home-right){display:block!important;grid-template-columns:minmax(0,1fr)!important}
html body.svcu-active #svcu-shell .svcu-right :is(.svn-home-discovery,.svn-home-right)>*{margin:12px 0!important}
html body.svcu-active #svcu-shell .svcu-right .svh-art{overflow:hidden!important}
html body.svcu-active #svcu-shell .svcu-right .svh-no-art{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;padding:15px!important;white-space:normal!important}
html body.svcu-active #svcu-shell .svcu-right .svh-category{max-width:calc(100% - 20px)!important;white-space:normal!important}
html body.svcu-active #svcu-shell .svcu-right button{max-width:100%!important;white-space:normal!important}

html body.svcu-active #wpadminbar{display:none!important}
html.wp-toolbar:has(body.svcu-active){padding-top:0!important}
html body.svcu-active #svcu-shell .display-name{display:inline-block!important;max-width:100%!important;overflow-wrap:anywhere!important;white-space:normal!important}

html body.svcu-active{--sv-community-purple:var(--svcu-purple);--sv-community-gold:var(--svcu-gold)}
html body.svcu-active .svcu-nav>a[aria-current=page]{background:linear-gradient(var(--svcu-purple),#6507a2)}
html body.svcu-active .svcu-button{background:linear-gradient(var(--svcu-purple),#7100ba)}

html body.svcu-active .svcu-banner .svcb-home-link{display:block!important;width:100%!important;height:100%!important;min-height:0!important}
html body.svcu-active .svcu-banner :is(img.svcb-image,video.svcb-video){display:block!important;width:100%!important;height:100%!important;max-height:140px!important;object-fit:contain!important;object-position:center!important}
html body.svcu-active #svcu-shell .sv-desktop-compose-head>button{background:#21152c!important;border-color:#8850a4!important;color:#f5eefb!important}
@media(max-width:760px){html body.svcu-active .svcu-header-actions>form{flex:1 1 100%!important;max-width:none!important;order:0!important}html body.svcu-active .svcu-banner :is(img.svcb-image,video.svcb-video){max-height:110px!important}}
