
:root{--sw-steam-brass:#e7a64b;--sw-steam-copper:#ae6437;--sw-steam-ink:#140f0d;--sw-steam-cream:#f7e5c4;color-scheme:dark}
html{background:#140f0d}
body{background:linear-gradient(90deg,rgba(15,10,8,.48),rgba(15,10,8,.1) 48%,rgba(15,10,8,.48)),url("assets/steampunk-city.jpg") center top / cover fixed no-repeat!important;color:#f7e5c4!important}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 50% 30%,transparent 12%,rgba(12,7,5,.28) 100%)}
body>*{position:relative}
a{color:#ffd58d}a:hover{color:#fff2cf;text-shadow:0 0 8px #d78936}
main,.container,.page-wrap,.forum-wrap,.content-wrap{color:#f7e5c4}
header,.site-header,.forum-header,.hero,.hero-banner,.forum-hero,.site-hero,.banner,.top-banner{
background:linear-gradient(105deg,rgba(23,13,10,.94),rgba(81,43,22,.72),rgba(22,12,9,.94)),url("assets/steampunk-city.jpg") center 37% / cover!important;
border:2px solid #ad713d!important;box-shadow:inset 0 0 0 2px #352016,inset 0 0 30px #0e0807,0 12px 30px #080504b8,0 0 18px #b878344d!important;
position:relative;isolation:isolate;overflow:hidden}
header:before,.site-header:before,.forum-header:before,.hero:before,.hero-banner:before,.forum-hero:before,.site-hero:before{
content:"";position:absolute;inset:-80%;pointer-events:none;z-index:-1;
background:repeating-conic-gradient(from 0deg,transparent 0deg 15deg,rgba(244,176,73,.13) 16deg 18deg,transparent 19deg 30deg);
animation:steamClock 90s linear infinite}
header:after,.site-header:after,.forum-header:after,.hero:after,.hero-banner:after,.forum-hero:after,.site-hero:after{
content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
background:radial-gradient(ellipse at 20% 110%,rgba(255,220,164,.20),transparent 55%);
animation:steamGlow 4.5s ease-in-out infinite alternate}
.category-header,.forum-category-header,.category-title,.forum-category-title,.forum-category h2,.category h2,.block-header,.block-title,.panel-heading,.card-header,.section-heading,
h2.category-title{
background:linear-gradient(95deg,#281812 0%,#6c3c21 43%,#2a1a14 100%)!important;
color:#ffe0a2!important;border:1px solid #c48a46!important;border-bottom:3px double #e8aa58!important;
box-shadow:inset 0 1px 0 #f6c77c60,0 3px 10px #090504b0!important;
text-shadow:0 1px 2px #000,0 0 12px #f4a44380!important;position:relative;overflow:hidden;
animation:steamHeaderPulse 5s ease-in-out infinite}
.category-header:after,.forum-category-header:after,.category-title:after,.forum-category-title:after,.block-header:after,.block-title:after,.panel-heading:after,.card-header:after{
content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 25%,rgba(255,228,161,.26) 49%,transparent 70%);transform:translateX(-150%);animation:steamSweep 7s ease-in-out infinite}
.forum-category,.forum-row,.forum-card,.forum-list,.topic-row,.thread-row,.post,.postbit,.message,.panel,.card,.widget,.sidebar-widget,.sidebar .block,.block,.shoutbox,.shoutbox-container,.footer-widget,.modal-content,.dropdown-menu,.content-panel{
background:linear-gradient(145deg,rgba(54,35,26,.96),rgba(27,18,15,.97))!important;
color:#f7e5c4!important;border:1px solid #865832!important;
box-shadow:inset 0 1px 0 #dca35a30,0 5px 15px #0b0606a3!important}
.forum-row:hover,.topic-row:hover,.thread-row:hover,.forum-card:hover{background:linear-gradient(130deg,#593622,#2d1d17)!important;box-shadow:inset 3px 0 #f4bc67,0 0 12px #bb7c3b50!important}
footer,.site-footer,.forum-footer{background:linear-gradient(90deg,#1c120f,#4a2c1e,#1c120f)!important;color:#f5d9a9!important;border-top:3px double #ad743b!important}
input,textarea,select,.form-control{background:#1d1411!important;color:#ffefd3!important;border:1px solid #a77442!important}
input:focus,textarea:focus,select:focus{outline:2px solid #edb85e!important;outline-offset:1px}
button,.btn,input[type=submit],.button,.pagination a,.nav-link.active{background:linear-gradient(#a76c39,#653719)!important;color:#fff0d4!important;border:1px solid #efbd6b!important;text-shadow:0 1px #392016!important;box-shadow:inset 0 1px #ffe2a044,0 2px 6px #0b0606!important;transition:filter .2s,transform .2s,box-shadow .2s}
button:hover,.btn:hover,.button:hover,input[type=submit]:hover{filter:brightness(1.2);transform:translateY(-1px);box-shadow:0 0 14px #e0a04e80!important}
nav,.site-nav,.sidebar-nav,.main-nav{border-color:#9b6739!important}
nav a,.sidebar a,.site-nav a,.main-nav a{color:#ffe0a7!important}
nav a:hover,.sidebar a:hover{color:#fff5da!important}
a:focus-visible,button:focus-visible{outline:2px solid #ffdc91;outline-offset:2px}
small,.muted,.text-muted,.meta,.timestamp,.post-meta{color:#d8b993!important}
.badge,.tag,.prefix{border:1px solid #c58c4c;background:#51321e;color:#ffe3ae}
@keyframes steamClock{to{transform:rotate(360deg)}}
@keyframes steamGlow{to{opacity:.45;filter:brightness(1.5)}}
@keyframes steamHeaderPulse{50%{box-shadow:inset 0 1px 0 #ffd27e99,0 0 17px #ce823e8a}}
@keyframes steamSweep{0%,35%{transform:translateX(-150%)}60%,100%{transform:translateX(150%)}}
@media(max-width:760px){body{background-attachment:scroll!important;background-position:center top!important}header,.site-header,.hero,.hero-banner{min-height:unset} .forum-row,.topic-row,.post{max-width:100%;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}


/* v1.0.1 — actual StreamWave Community Suite selectors */
:root{--swft-bg:#140e0c!important;--swft-panel:#2b1c15!important;--swft-hero:#50301c!important;--swft-border:#b47a3d!important;--swft-text:#f8e9d0!important;--swft-muted:#d6b88f!important;--swft-link:#ffdc96!important;--swft-accent:#ad7136!important;--swft-field:#201511!important}
body .swf,body .sfp{color:#f8e9d0!important}
body .swf .swf-category,body .swf .swf-forum-node,body .swf .swf-forum-row,body .swf .swf-nested,
body .swf .panel,body .swf .post,body .swf .postbody,body .swf .item,body .swf .side-panel,
body .swf .community-main .panel,body .swf .community-sidebar .side-panel,
body .sfp>div,body .sfp article{
background:linear-gradient(135deg,rgba(64,40,27,.97),rgba(28,18,14,.98))!important;
background-color:#2b1c15!important;color:#f8e9d0!important;
border-color:#a87540!important;box-shadow:inset 0 1px 0 #edc1862e,0 5px 18px #090605a8!important}
body .swf .swf-category-head{
position:relative!important;overflow:hidden!important;
background:linear-gradient(105deg,#26150f,#8b5128 44%,#352017)!important;
background-color:#59351e!important;color:#ffe6b2!important;
border:1px solid #e3a55d!important;border-bottom:3px double #f4c47c!important;
box-shadow:inset 0 1px #ffde9a8a,0 0 16px #b77a3b77!important;
text-shadow:0 2px 3px #130904,0 0 9px #f3a64b9c!important;
animation:steamHeaderPulse 4s ease-in-out infinite}
body .swf .swf-category-head:after{
content:"";position:absolute;inset:0;pointer-events:none;
background:linear-gradient(105deg,transparent 22%,#ffdc8a48 50%,transparent 75%);
animation:steamSweep 6.5s linear infinite}
body .swf .swf-forum-row,body .swf .swf-forum-node{border-bottom:1px solid #a06b39!important;transition:background .2s,box-shadow .2s}
body .swf .swf-forum-row:hover,body .swf .swf-forum-node:hover,body .swf .item:hover{
background:linear-gradient(100deg,#634026,#342016)!important;box-shadow:inset 4px 0 #f2ba68!important}
body .swf .swf-forum-name,body .swf .swf-latest-link,body .swf a,body .sfp a{color:#ffdb96!important}
body .swf .swf-forum-name:hover,body .swf a:hover,body .sfp a:hover{color:#fff3d2!important}
body .swf .swf-forum-count,body .swf .meta,body .swf .muted,body .swf .small,body .swf p,body .sfp p{color:#d6b88f!important}
body .swf .swf-forum-icon{background:radial-gradient(circle,#8a542c,#322018)!important;color:#ffe1a3!important;border:1px solid #d79c55!important;box-shadow:0 0 12px #c4813b55!important}
body .swf .hero{background:linear-gradient(105deg,#20120edb,#57321baf,#21130edb),url("assets/steampunk-city.jpg") center 40%/cover!important;border:2px solid #bd8646!important}
body .swf .btn,body .swf button,body .swf input[type=submit]{
background:linear-gradient(#b77a40,#683a1e)!important;color:#fff0d2!important;border:1px solid #e9b66b!important}
body .swf input,body .swf textarea,body .swf select{background:#211611!important;color:#fff0d2!important;border:1px solid #9e6c3b!important}
body .swf .pill{background:#59351e!important;color:#ffdf9f!important;border:1px solid #b67c3d!important}
@media(prefers-reduced-motion:reduce){body .swf .swf-category-head,body .swf .swf-category-head:after{animation:none!important}}

/* Clockwork Empire 1.1: dedicated dial headers, branded banner, custom icon assets */
body .swf .hero{
background:linear-gradient(0deg,rgba(15,8,6,.15),rgba(15,8,6,.15)),url("assets/steampunk-banner.jpg") center/cover no-repeat!important;
min-height:280px!important;display:flex;flex-direction:column;justify-content:flex-end;
padding:26px 36px!important;border:3px ridge #c5904e!important;
}
body .swf .hero h1{color:#ffe5ae!important;text-shadow:0 2px 8px #130a07!important}
body .swf .swf-category-head{padding-left:92px!important;min-height:80px!important;isolation:isolate}
body .swf .swf-category-head:before{
content:"";position:absolute;left:16px;top:50%;width:54px;height:54px;margin-top:-27px;z-index:1;
background:url("assets/forum-category.png") center/contain no-repeat;
filter:drop-shadow(0 0 7px #ffbf62);
animation:sw-dial-spin 22s linear infinite!important}
body .swf .swf-category-head>span,body .swf .swf-category-head>small{position:relative;z-index:2}
body .swf .swf-forum-icon{font-size:0!important;position:relative;background:url("assets/forum-chat.png") center/90% no-repeat,#322017!important;min-width:43px}
body .swf .swf-forum-icon[data-steam-icon="locked"]{background-image:url("assets/forum-locked.png")!important}
body .swf .swf-forum-icon[data-steam-icon="sub"]{background-image:url("assets/forum-sub.png")!important}
@keyframes sw-dial-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){body .swf .swf-category-head{padding-left:70px!important}body .swf .swf-category-head:before{left:10px;width:44px;height:44px;margin-top:-22px}body .swf .hero{min-height:210px!important;padding:18px!important}}
@media(prefers-reduced-motion:reduce){body .swf .swf-category-head:before{animation:none!important}}

/* 1.1.1 corrections */
body .swf>header.hero>h1,body .swf>header.hero>.muted,body .swf>header.hero>p{display:none!important}
body .swf .swf-forum-icon{font-size:0!important;line-height:0!important;color:transparent!important;text-shadow:none!important;overflow:hidden!important;background:#302018 url("assets/forum-chat.png") center/85% no-repeat!important}
body .swf .swf-forum-icon[data-steam-icon="locked"]{background-image:url("assets/forum-locked.png")!important}
body .swf .swf-forum-icon[data-steam-icon="sub"]{background-image:url("assets/forum-sub.png")!important}
body .swf .swf-forum-icon>*{display:none!important}
body .swf .swf-category-head .sw-steam-gears{display:none!important}
body .swf .swf-category-head>span{padding-left:0!important}
body .swf .swf-category-head:before{background:url("assets/forum-category.png") center/contain no-repeat!important}
/* Extend theme to independently styled sidebar and add-on widgets */
body .swf :is(.widget,.widget-box,.widget-card,.sidebar-widget,.side-panel,.sidebar-panel,.community-widget,.addon-widget,.sw-widget,.block,.panel,.card),
body :is(.forum-sidebar,.community-sidebar,.swf-sidebar,.sidebar) :is(.widget,.widget-box,.widget-card,.sidebar-widget,.side-panel,.sidebar-panel,.block,.panel,.card),
body [class*="widget-"],body [class*="-widget"],body [class*="widget_"]{
background:linear-gradient(140deg,rgba(58,37,26,.97),rgba(26,17,14,.98))!important;
background-color:#2b1c15!important;color:#f8e9d0!important;border-color:#a87540!important;
box-shadow:inset 0 1px 0 #e5b77533,0 4px 13px #0a0605a6!important}
body .swf :is(.widget,.widget-box,.widget-card,.sidebar-widget,.side-panel,.sidebar-panel,.community-widget,.addon-widget,.sw-widget) :is(h2,h3,h4,.title,.widget-title,.widget-header,.header),
body :is(.forum-sidebar,.community-sidebar,.swf-sidebar,.sidebar) :is(.widget-title,.widget-header,.panel-heading,.block-title){
background:linear-gradient(100deg,#4b2c1c,#704321,#392218)!important;color:#ffe1a4!important;border-color:#b88043!important}
body :is(.forum-sidebar,.community-sidebar,.swf-sidebar,.sidebar) a,body [class*="widget-"] a,body [class*="-widget"] a{color:#ffda92!important}
body :is(.forum-sidebar,.community-sidebar,.swf-sidebar,.sidebar) :is(p,small,.muted,.meta),body [class*="widget-"] :is(p,small,.muted,.meta){color:#d8bd99!important}
body :is(.forum-sidebar,.community-sidebar,.swf-sidebar,.sidebar) :is(input,select,textarea),body [class*="widget-"] :is(input,select,textarea){background:#201511!important;color:#ffe8c0!important;border-color:#a77442!important}

/* v1.2.0 — generated steampunk artwork, one icon per forum */
body .swf .swf-forum-icon{background-color:#211510!important;background-image:url("assets/steam-discussion.webp")!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;border:0!important;border-radius:50%!important;box-shadow:none!important;overflow:hidden!important;color:transparent!important;font-size:0!important;text-shadow:none!important;line-height:0!important;}
body .swf .swf-forum-icon[data-steam-icon="discussion"]{background-image:url("assets/steam-discussion.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="messages"]{background-image:url("assets/steam-messages.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="members"]{background-image:url("assets/steam-members.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="news"]{background-image:url("assets/steam-news.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="events"]{background-image:url("assets/steam-events.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="tools"]{background-image:url("assets/steam-tools.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="media"]{background-image:url("assets/steam-media.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="gaming"]{background-image:url("assets/steam-gaming.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="airships"]{background-image:url("assets/steam-airships.webp")!important}
body .swf .swf-forum-icon[data-steam-icon="locked"]{background-image:url("assets/steam-locked.webp")!important}
body .swf .swf-forum-icon::before,body .swf .swf-forum-icon::after{content:none!important}body .swf .swf-forum-icon>*{display:none!important}
/* v1.2.1: Official Software Release Center: override its embedded hardcoded blue CSS */
body .csw-release,body .swf .csw-release{--rct:#f8e6c7;--rca:#f0bd72;background:radial-gradient(ellipse at 90% 5%,rgba(179,105,43,.22),transparent 50%),linear-gradient(115deg,#241611,#57341f 60%,#2a1913)!important;background-color:#352117!important;color:#f8e6c7!important;border:2px solid #bd8548!important;box-shadow:inset 0 1px 0 #f2cb8a55,0 12px 28px #100906b8!important}
body .csw-release:before,body .swf .csw-release:before{background:repeating-linear-gradient(90deg,transparent 0 12px,rgba(232,166,83,.22) 13px 17px,transparent 18px 30px)!important;opacity:.45!important}
body .csw-release:after,body .swf .csw-release:after{color:#d19a55!important;opacity:.25!important}
body .csw-release .csw-rc-eyebrow{color:#f1c58b!important}
body .csw-release h2{color:#fff0d2!important;text-shadow:0 2px 4px #1a0c07!important}
body .csw-release .csw-rc-version{color:#ffe0a4!important;background:#664024!important;border:1px solid #d69c56!important}
body .csw-release .csw-rc-summary,body .csw-release .csw-rc-summary strong{color:#f7e4c6!important}
body .csw-release .csw-rc-actions a{background:linear-gradient(#d59a55,#8e552b)!important;color:#1c1009!important;border:1px solid #ffcf85!important;box-shadow:inset 0 1px 0 #ffe6b4a8,0 3px 8px #13090599!important}
body .csw-release .csw-rc-actions a.secondary{background:linear-gradient(#674026,#402519)!important;color:#ffe9bd!important;border:1px solid #d7a363!important}
body .csw-release .csw-rc-actions a:hover{filter:brightness(1.16)!important}
body .csw-release .csw-rc-meta span{color:#ffe2b1!important;background:rgba(92,55,30,.78)!important;border:1px solid #aa7846!important}
@media(max-width:650px){body .csw-release .csw-rc-actions a{width:100%!important}}

/* v1.2.2: persistent page-wide steampunk backdrop, including short add-on pages */
html:has(body){min-height:100%;background:#140f0d url("assets/steampunk-city.jpg") center center / cover fixed no-repeat!important}
html body{min-height:100vh!important;background-color:transparent!important;background-image:none!important}
html body::before{content:"";position:fixed!important;inset:0!important;z-index:-1!important;pointer-events:none!important;background:linear-gradient(90deg,#10090775,#10090715 45%,#10090775),url("assets/steampunk-city.jpg") center center / cover no-repeat!important}
html body::after{content:none!important}
html body :is(main,.swf,.sfp,.community-page,.addon-page,.site-content,.page-content){background-color:transparent}
@media(max-width:700px){html:has(body){background-attachment:scroll!important}html body::before{background-position:center center!important}}
