/* StreamWave Enchanted Hogwarts — complete skin */
:root{--swft-bg:#0b101b;--swft-panel:#171b26;--swft-hero:#172b38;--swft-border:#a47c3b;--swft-text:#f3e7d0;--swft-muted:#c3b6a0;--swft-link:#f6d88c;--swft-accent:#d6a44c;--swft-field:#121923;--panel-bg:#171b26;--card-bg:#171b26;--text-color:#f3e7d0;--link-color:#f6d88c;--accent-color:#d6a44c;--border-color:#a47c3b;color-scheme:dark}
html{background:#0b101b!important}
body{background:transparent!important;color:#f3e7d0!important;min-height:100vh;isolation:auto!important;transform:none!important;filter:none!important;perspective:none!important;contain:none!important}
#hp-scenes{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;background:#090d17}
#hp-scenes .hp-scene{position:absolute;inset:-2%;background-size:cover;background-position:center;opacity:0;transform:scale(1.08);transition:opacity 2.8s ease-in-out,transform 16s ease-out;will-change:opacity,transform}
#hp-scenes .hp-scene.active{opacity:1;transform:scale(1)}
#hp-scenes::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,9,18,.52),rgba(9,11,19,.48) 38%,rgba(7,8,13,.7));pointer-events:none}
.swf,.sfp,.community-sidebar,.shoutbox,.widget,.community-widget{color:#f3e7d0!important}
.swf .panel,.swf .post,.swf .item,.swf .swf-sidebar-card,.community-sidebar .side-panel,.swf-forum-node,.swf-forum-row,.sfp article,.sfp>div,.swf .thread,.swf .topic,.swf .reply,.shoutbox,.widget,.community-widget{background:linear-gradient(135deg,rgba(29,35,47,.97),rgba(14,21,32,.97))!important;color:#f3e7d0!important;border:1px solid #9c783e!important;border-radius:12px!important;box-shadow:inset 0 1px 0 #f8d99122,0 9px 28px #020308bb!important}
.swf .panel,.community-sidebar .side-panel,.swf-forum-row,.swf .post{transition:border-color .3s ease,box-shadow .3s ease,transform .3s ease}
.swf .panel:hover,.swf-forum-row:hover,.swf .post:hover{border-color:#e5c17d!important;box-shadow:0 0 0 1px #dfbc6650,0 12px 32px #000c!important}
.swf a,.sfp a,.community-sidebar a,.shoutbox a,.widget a,.community-widget a{color:#f6d88c!important;text-shadow:none!important;font-weight:700}
.swf a:hover,.sfp a:hover,.community-sidebar a:hover{color:#fff2c6!important;text-decoration:underline!important}
.swf p,.swf .muted,.sfp p,.swf .meta,.swf small,.community-sidebar .muted{color:#c3b6a0!important}
.swf input,.swf textarea,.swf select,.sfp input,.sfp textarea,.shoutbox input,.shoutbox textarea,.community-sidebar input,.community-sidebar select{background:#111a26!important;color:#fff0d4!important;border:1px solid #856d49!important;border-radius:8px!important}
.swf input::placeholder,.swf textarea::placeholder{color:#b0a38f!important}
.swf .btn,.swf button,.sfp button,.swft-layout-nav a,.community-sidebar button,.shoutbox button,.widget button{background:linear-gradient(135deg,#68451d,#b18b46 55%,#68451d)!important;color:#fff7e4!important;border:1px solid #e0bd76!important;border-radius:8px!important;box-shadow:inset 0 1px 0 #fff4b655,0 3px 9px #0008!important;font-weight:800!important;transition:filter .25s,transform .25s!important}
.swf .btn:hover,.swf button:hover,.sfp button:hover,.swft-layout-nav a:hover,.community-sidebar button:hover{filter:brightness(1.2)!important;transform:translateY(-2px)!important}
.swf .hero,.swf-hero,.community-hero,.forum-hero,.site-hero,.swft-layout-header{position:relative!important;min-height:420px!important;background:linear-gradient(90deg,#060b16e8,#0b172a42 62%,#070e1a70),url("assets/hero.webp") center 42%/cover no-repeat!important;border:3px solid #bb9855!important;border-radius:15px!important;box-shadow:0 0 0 2px #261c15,0 12px 48px #000d, inset 0 0 45px #050811!important;overflow:hidden!important;animation:hpReveal 1.3s 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:radial-gradient(circle at 70% 20%,#f9e9b022,transparent 30%),linear-gradient(120deg,transparent 30%,#ffe7a017 45%,transparent 60%);animation:hpMoon 11s ease-in-out infinite alternate}
.swf .hero::after,.swf-hero::after,.community-hero::after,.forum-hero::after,.site-hero::after,.swft-layout-header::after{content:"✦  ✧  ✦";position:absolute;top:15px;right:26px;font-size:25px;color:#ffdf94;letter-spacing:22px;text-shadow:0 0 15px #fff1a6;animation:hpTwinkle 4s ease-in-out infinite;pointer-events:none}
.swf .hero h1,.swf-hero h1,.community-hero h1,.forum-hero h1,.site-hero h1{font-family:Georgia,"Palatino Linotype",serif!important;font-size:clamp(34px,5.3vw,78px)!important;font-weight:900!important;letter-spacing:1.4px!important;color:#fff1c8!important;text-shadow:0 3px 3px #06070a,0 0 20px #b58439,0 0 40px #0a0d17!important;position:relative;z-index:1}
.swf .hero p,.swf-hero p,.community-hero p,.forum-hero p{color:#f7e9cc!important;text-shadow:0 2px 8px #000!important;position:relative;z-index:1}
.swf-category{margin:20px 0!important;overflow:visible!important}
.swf-category-head{position:relative!important;display:flex!important;align-items:center!important;min-height:156px!important;padding:22px 32px!important;background:linear-gradient(90deg,#080d1af0 0%,#0a1126c4 38%,#0c17254d 75%),url("assets/category1.webp") center/cover no-repeat!important;color:#fff1c8!important;border:2px solid #bb9957!important;border-radius:12px!important;box-shadow:inset 0 0 26px #02040baa,0 6px 24px #000b!important;overflow:hidden!important;isolation:isolate;transition:filter .5s ease,background-position 1.4s ease!important}
.swf-category:nth-of-type(4n+2) .swf-category-head{background-image:linear-gradient(90deg,#080d1aee,#0c17254a),url("assets/category2.webp")!important}
.swf-category:nth-of-type(4n+3) .swf-category-head{background-image:linear-gradient(90deg,#080d1aee,#0c17254a),url("assets/category3.webp")!important}
.swf-category:nth-of-type(4n+4) .swf-category-head{background-image:linear-gradient(90deg,#080d1aee,#0c17254a),url("assets/category4.webp")!important}
.swf-category-head::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 85% 20%,#fce7aa45,transparent 32%);animation:hpGlow 6s ease-in-out infinite alternate}
.swf-category-head::after{content:"";position:absolute;inset:-70%;pointer-events:none;z-index:-1;background:linear-gradient(110deg,transparent 45%,#fff0b323 49%,transparent 53%);transform:translateX(-100%) rotate(9deg);animation:hpShimmer 12s ease-in-out infinite}
.swf-category-head:hover{filter:brightness(1.14)!important;background-position:center 40%!important}
.swf-category-head,.swf-category-head *{color:#fff3d6!important;text-shadow:0 2px 4px #000,0 0 12px #000!important}
.swf-category-head h2,.swf-category-head h3,.swf-category-head a,.swf-category-title{font-family:Georgia,"Palatino Linotype",serif!important;font-size:clamp(23px,3vw,36px)!important;font-weight:800!important;letter-spacing:1px!important}
.swf-forum-icon{width:70px!important;min-width:70px!important;height:70px!important;border-radius:12px!important;background:#141925 url("assets/icon01.png") center/contain no-repeat!important;box-shadow:inset 0 0 0 1px #b18b46,0 0 15px #d6a44c33!important;transition:transform .4s,box-shadow .4s!important}
.swf-forum-row:hover .swf-forum-icon{transform:translateY(-3px) scale(1.08);box-shadow:0 0 20px #e7c57a77!important}
.swf-forum-name{font-family:Georgia,serif!important;font-weight:800!important;font-size:1.1rem!important;color:#f4e7cb!important}
.community-sidebar .side-panel h3,.swf .panel h2,.swf .panel h3,.widget h3,.shoutbox h3{font-family:Georgia,serif!important;color:#f5d18b!important;font-weight:800!important}
footer,.site-footer,.community-footer{background:linear-gradient(90deg,#0a101c,#1d2432,#0a101c)!important;color:#f0e2c7!important;border-top:2px solid #b18b46!important}
footer a,.site-footer a,.community-footer a{color:#f4d68d!important}
#sw-weather-root{position:relative!important;z-index:2147481000!important;isolation:auto!important;pointer-events:none!important}
#sw-weather-root .swwo-bar,#sw-weather-root .swwo-tab{pointer-events:auto!important;z-index:2147481001!important}
#sw-weather-root canvas,#sw-weather-root .swwo-forum-sky{pointer-events:none!important;position:fixed!important}
#sw-weather-root canvas{z-index:2147480999!important}
#sw-weather-root .swwo-forum-sky{z-index:2147480997!important}
@keyframes hpReveal{from{opacity:.5;transform:translateY(15px)}to{opacity:1;transform:none}}
@keyframes hpMoon{from{opacity:.5;transform:translateX(-4%)}to{opacity:1;transform:translateX(4%)}}
@keyframes hpTwinkle{0%,100%{opacity:.35;filter:blur(.5px)}50%{opacity:1;filter:drop-shadow(0 0 8px #fff0ab)}}
@keyframes hpGlow{from{opacity:.4}to{opacity:1}}
@keyframes hpShimmer{0%,60%{transform:translateX(-100%) rotate(9deg)}85%,100%{transform:translateX(100%) rotate(9deg)}}
@media(max-width:760px){.swf .hero,.swf-hero,.community-hero,.forum-hero,.site-hero,.swft-layout-header{min-height:250px!important}.swf-category-head{min-height:112px!important;padding:16px 18px!important}.swf-forum-icon{width:52px!important;min-width:52px!important;height:52px!important}#hp-scenes .hp-scene{background-position:center top}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}#hp-scenes .hp-scene{transform:none!important}}
.swf-forum-node:nth-child(10n+2) .swf-forum-icon,.swf-forum-row:nth-child(10n+2) .swf-forum-icon{background-image:url("assets/icon02.png")!important}
.swf-forum-node:nth-child(10n+3) .swf-forum-icon,.swf-forum-row:nth-child(10n+3) .swf-forum-icon{background-image:url("assets/icon03.png")!important}
.swf-forum-node:nth-child(10n+4) .swf-forum-icon,.swf-forum-row:nth-child(10n+4) .swf-forum-icon{background-image:url("assets/icon04.png")!important}
.swf-forum-node:nth-child(10n+5) .swf-forum-icon,.swf-forum-row:nth-child(10n+5) .swf-forum-icon{background-image:url("assets/icon05.png")!important}
.swf-forum-node:nth-child(10n+6) .swf-forum-icon,.swf-forum-row:nth-child(10n+6) .swf-forum-icon{background-image:url("assets/icon06.png")!important}
.swf-forum-node:nth-child(10n+7) .swf-forum-icon,.swf-forum-row:nth-child(10n+7) .swf-forum-icon{background-image:url("assets/icon07.png")!important}
.swf-forum-node:nth-child(10n+8) .swf-forum-icon,.swf-forum-row:nth-child(10n+8) .swf-forum-icon{background-image:url("assets/icon08.png")!important}
.swf-forum-node:nth-child(10n+9) .swf-forum-icon,.swf-forum-row:nth-child(10n+9) .swf-forum-icon{background-image:url("assets/icon01.png")!important}
.swf-forum-node:nth-child(10n+10) .swf-forum-icon,.swf-forum-row:nth-child(10n+10) .swf-forum-icon{background-image:url("assets/icon02.png")!important}

/* v1.0.3: the hero artwork contains its own title; suppress duplicated site title/subtitle inside banner only. */
.swf .hero h1,.swf .hero h2,.swf .hero h3,.swf .hero p,
.swf-hero h1,.swf-hero h2,.swf-hero h3,.swf-hero p,
.community-hero h1,.community-hero h2,.community-hero h3,.community-hero p,
.forum-hero h1,.forum-hero h2,.forum-hero h3,.forum-hero p,
.site-hero h1,.site-hero h2,.site-hero h3,.site-hero p,
.swft-layout-header h1,.swft-layout-header h2,.swft-layout-header h3,.swft-layout-header p{display:none!important}
/* Display only the themed forum icon as the container background; suppress built-in icon glyphs/images. */
.swf-forum-icon{font-size:0!important;color:transparent!important;line-height:0!important;position:relative!important;overflow:hidden!important;background-color:#141925!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important}
.swf-forum-icon::before,.swf-forum-icon::after{content:none!important;display:none!important;background:none!important}
.swf-forum-icon img,.swf-forum-icon svg,.swf-forum-icon i,.swf-forum-icon .fa,.swf-forum-icon .fas,.swf-forum-icon .far,.swf-forum-icon .fab,.swf-forum-icon [class*="icon-"]{display:none!important;visibility:hidden!important}
