/* Spider-Verse Cinematic — native StreamWave theme. */
:root{--swft-bg:#090d19;--swft-panel:#141d34;--swft-hero:#8f142b;--swft-border:#b72b44;--swft-text:#fff4f4;--swft-muted:#d4c3d2;--swft-link:#8fdbff;--swft-accent:#ff4057;--swft-field:#0e162a;--panel-bg:#141d34;--card-bg:#141d34;--text-color:#fff4f4;--link-color:#8fdbff;--accent-color:#ff4057;--border-color:#b72b44;color-scheme:dark}
html{background:#050810!important}body{background:transparent!important;color:#fff2f4!important;min-height:100vh}
/* Weather overlay owns its DOM and runtime. Do not change stacking contexts on body. */
.spv-scene{position:fixed;inset:-2%;z-index:-2;pointer-events:none;background-size:cover;background-position:center;background-repeat:no-repeat;will-change:clip-path,transform,filter;filter:brightness(.36) saturate(1.25);transform:scale(1.03)}
.spv-scene.spv-next{z-index:-1;clip-path:circle(0 at 50% 50%)}
.spv-scene.spv-next.door{animation:spv-door 2.9s cubic-bezier(.2,.8,.2,1) both}
.spv-scene.spv-next.portal{animation:spv-portal 2.9s ease-in-out both}
.spv-scene.spv-next.web{animation:spv-web 2.9s cubic-bezier(.16,.7,.2,1) both}
.spv-scene.spv-next.sweep{animation:spv-sweep 2.9s ease-in-out both}
.spv-scene.spv-next.shutter{animation:spv-shutter 2.9s ease-in-out both}
@keyframes spv-door{0%{clip-path:polygon(49.9% 0,50.1% 0,50.1% 100%,49.9% 100%);transform:scale(1.19) perspective(1200px) rotateY(15deg)}100%{clip-path:inset(0);transform:scale(1.03)}}
@keyframes spv-portal{0%{clip-path:circle(0 at 50% 50%);transform:scale(1.22) rotate(-3deg)}100%{clip-path:circle(90% at 50% 50%);transform:scale(1.03)}}
@keyframes spv-web{0%{clip-path:polygon(50% 50%,50% 50%,50% 50%);filter:brightness(.8) hue-rotate(-25deg)}100%{clip-path:polygon(-5% -5%,105% -5%,105% 105%,-5% 105%);filter:brightness(.36) saturate(1.25)}}
@keyframes spv-sweep{0%{clip-path:polygon(0 0,0 0,0 100%,0 100%);transform:translateX(5%) scale(1.1)}100%{clip-path:inset(0);transform:scale(1.03)}}
@keyframes spv-shutter{0%{clip-path:inset(0 0 100% 0);transform:scale(1.1)}100%{clip-path:inset(0);transform:scale(1.03)}}
.spv-flash{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 45%,#ff233c55,transparent 65%)}.spv-flash.play{animation:spv-flash 2.9s ease-out}@keyframes spv-flash{0%,100%{opacity:0}33%{opacity:.65}65%{opacity:.14}}
/* Strong theme colors throughout forum, topics, posts, sidebar and widgets. */
.swf .panel,.swf .post,.swf .item,.swf .thread,.swf .topic,.swf .reply,.swf .swf-sidebar-card,.community-sidebar .side-panel,.swf-forum-node,.swf-forum-row,.sfp article,.sfp>div,.shoutbox,.widget,.community-widget{background:linear-gradient(132deg,#231a32f7 0%,#121e39f7 56%,#2a1528f7 100%)!important;color:#fff3f5!important;border:1px solid #b8324e!important;border-radius:14px!important;box-shadow:inset 4px 0 #e72d4d,0 9px 30px #0009!important}
.swf-forum-row:nth-child(even),.swf-forum-node:nth-child(even){background:linear-gradient(105deg,#172e4cf5,#271629f5)!important}
.swf-forum-row:hover,.swf .post:hover,.swf .panel:hover{border-color:#ff7181!important;box-shadow:inset 4px 0 #f44,0 0 25px #e7234947!important;transition:box-shadow .25s}
.swf,.sfp,.community-sidebar,.shoutbox,.widget,.community-widget{color:#fff3f5!important}
.swf a,.sfp a,.community-sidebar a,.shoutbox a,.widget a{color:#8fdfff!important;text-shadow:none!important}.swf a:hover,.sfp a:hover,.widget a:hover{color:#fff!important}
.swf .muted,.swf p,.sfp p,.community-sidebar p{color:#e0d4e4!important}
.swf-forum-name,.swf .panel h2,.swf .panel h3,.community-sidebar h3{color:#ffb5be!important;font-weight:850!important}
.swf input,.swf textarea,.swf select,.sfp input,.sfp textarea,.shoutbox input,.shoutbox textarea,.widget input{background:#0c1529!important;color:#fff!important;border:1px solid #a73b55!important}
/* Hero: large, animated Spider-Man image, fully visible with dynamic lighting. */
.swf .hero,.swf-hero,.community-hero,.forum-hero,.site-hero,.swft-layout-header{position:relative!important;min-height:395px!important;background:linear-gradient(95deg,#070b1df2 0%,#1b142d80 48%,#3a0a2055 100%),url('assets/scene1.webp') center 36%/cover!important;border:3px solid #e52e4e!important;border-radius:20px!important;box-shadow:0 0 0 3px #481328,0 16px 45px #000b!important;overflow:hidden!important;animation:spv-hero-rise 1s ease-out both}
.swf .hero::before,.swf-hero::before,.community-hero::before,.forum-hero::before,.site-hero::before,.swft-layout-header::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 24%,#f5325530 45%,transparent 65%);background-size:220% 100%;animation:spv-hero-light 7s linear infinite}
@keyframes spv-hero-rise{from{opacity:.6;transform:translateY(-15px)}to{opacity:1;transform:none}}@keyframes spv-hero-light{from{background-position:200% 0}to{background-position:-200% 0}}
/* Full width cinematic category art with small Spider-Man figure at right. */
.swf-category-head{position:relative!important;min-height:160px!important;width:100%!important;display:flex!important;align-items:center!important;padding:18px 185px 18px 28px!important;overflow:hidden!important;border:2px solid #f0445d!important;border-radius:14px!important;background:linear-gradient(90deg,#0a1129f5 0%,#28142fb5 55%,#310e2790 100%),url('assets/category1.webp') center/cover!important;box-shadow:0 7px 0 #58132c,0 14px 30px #000b!important}
.swf-category:nth-of-type(4n+2) .swf-category-head{background-image:linear-gradient(90deg,#0a1129f5,#28142fb5,#310e2790),url('assets/category2.webp')!important}
.swf-category:nth-of-type(4n+3) .swf-category-head{background-image:linear-gradient(90deg,#0a1129f5,#28142fb5,#310e2790),url('assets/category3.webp')!important}
.swf-category:nth-of-type(4n+4) .swf-category-head{background-image:linear-gradient(90deg,#0a1129f5,#28142fb5,#310e2790),url('assets/category4.webp')!important}
.swf-category-head::before{content:''!important;display:block!important;position:absolute!important;right:0!important;bottom:-2px!important;width:174px!important;height:154px!important;background:url('assets/spider-corner.png') center bottom/contain no-repeat!important;pointer-events:none!important;z-index:2!important;filter:drop-shadow(0 4px 8px #000)!important;animation:spv-corner 4s ease-in-out infinite alternate!important}
.swf-category-head::after{content:''!important;display:block!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:linear-gradient(110deg,transparent 36%,#ffffff26 48%,transparent 59%);background-size:230% 100%;animation:spv-hero-light 8s linear infinite!important}
@keyframes spv-corner{from{transform:translateY(4px) rotate(-2deg)}to{transform:translateY(-4px) rotate(2deg)}}
.swf-category-head h2,.swf-category-head h3,.swf-category-head a,.swf-category-title{position:relative;z-index:3;color:#fff!important;font-weight:900!important;text-shadow:0 2px 7px #000!important;font-size:clamp(21px,2.5vw,32px)!important}
/* Replace existing forum glyphs instead of layering images on top. */
.swf-forum-icon,.swf-forum-row .swf-forum-icon,.swf-forum-node .swf-forum-icon{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 66px!important;width:66px!important;min-width:66px!important;height:66px!important;overflow:hidden!important;background:#0d1b31 url('assets/icon1.png') center/contain no-repeat!important;border:1px solid #ed4762!important;border-radius:12px!important;box-shadow:0 0 15px #e626444a!important;color:transparent!important;font-size:0!important;line-height:0!important;text-shadow:none!important;transition:transform .35s!important}
.swf-forum-icon::before,.swf-forum-icon::after,.swf-forum-icon>*,.swf-forum-icon>svg,.swf-forum-icon>img,.swf-forum-icon>i,.swf-forum-icon>span{content:none!important;display:none!important;visibility:hidden!important;opacity:0!important}
.swf-forum-row:nth-child(5n+2) .swf-forum-icon,.swf-forum-node:nth-child(5n+2) .swf-forum-icon{background-image:url('assets/icon2.png')!important}
.swf-forum-row:nth-child(5n+3) .swf-forum-icon,.swf-forum-node:nth-child(5n+3) .swf-forum-icon{background-image:url('assets/icon3.png')!important}
.swf-forum-row:nth-child(5n+4) .swf-forum-icon,.swf-forum-node:nth-child(5n+4) .swf-forum-icon{background-image:url('assets/icon4.png')!important}
.swf-forum-row:nth-child(5n+5) .swf-forum-icon,.swf-forum-node:nth-child(5n+5) .swf-forum-icon{background-image:url('assets/icon5.png')!important}
.swf-forum-row:hover .swf-forum-icon{transform:scale(1.08) rotate(-4deg)!important}
/* Readable button contrast: never green on lime, red on red, or transparent text. */
:is(.swf,.sfp,.community-sidebar,.shoutbox,.widget,.community-widget,body) :is(button,input[type=submit],input[type=button],.btn,.button,.btn-primary,.btn-secondary,a.btn,a.button,a[role=button]){background:#142442!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid #ee4b68!important;text-shadow:none!important;box-shadow:none!important;font-weight:750!important;opacity:1!important}
:is(.swf,.sfp,.community-sidebar,.shoutbox,.widget,.community-widget,body) :is(button,.btn,.button,a.btn,a.button,a[role=button]) :is(span,strong,em,b,i,small,label){color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;opacity:1!important}
:is(.swf,.sfp,.community-sidebar,.shoutbox,.widget,.community-widget,body) :is(button,.btn,.button,a.btn,a.button,a[role=button]):hover{background:#a51f3c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#fff!important}
:is(.swf,.sfp,.community-sidebar,.shoutbox,.widget,.community-widget,body) :is(button,.btn,.button,a.btn,a.button,a[role=button]):focus-visible{outline:3px solid #a9e7ff!important;outline-offset:2px!important}
:is(.swf,.sfp,.community-sidebar,.shoutbox,.widget,.community-widget,body) :is(button,.btn,.button,input[type=submit]):disabled{background:#3c4658!important;color:#f6f6f6!important;-webkit-text-fill-color:#f6f6f6!important;opacity:.8!important}
/* Subtle web motif and responsive adjustments. */
.swf-category-head,.swf .panel{background-blend-mode:normal}
@media(max-width:760px){.swf .hero,.swf-hero,.community-hero,.forum-hero,.site-hero,.swft-layout-header{min-height:240px!important}.swf-category-head{min-height:112px!important;padding:12px 105px 12px 12px!important}.swf-category-head::before{width:100px!important;height:107px!important}.swf-forum-icon{width:48px!important;min-width:48px!important;height:48px!important;flex-basis:48px!important}}
@media(prefers-reduced-motion:reduce){.spv-scene.spv-next,.spv-flash,.swf-category-head::before,.swf-category-head::after,.swf .hero::before{animation:none!important}}
