/* COSMIC COMET 1.2 — FULL FORUM THEME. Celestial imagery comes ONLY from the bundled JPG. */
html:has(body.swft-cosmic-comet){background:#080915!important}
body.swft-cosmic-comet{
 --swft-bg:#080915;--swft-panel:#151427;--swft-hero:#251a38;--swft-border:#865b9e;
 --swft-text:#fff6f0;--swft-muted:#dcd1e7;--swft-link:#ffdb9f;--swft-accent:#ff854b;--swft-field:#171528;
 color:#fff6f0!important;min-height:100vh!important;background:#080915 url("assets/cosmic-comet.jpg") center center / cover fixed no-repeat!important;
}
body.swft-cosmic-comet .swf,body.swft-cosmic-comet .ui-wrap{color:#fff6f0!important}
/* Main forum structure and header */
body.swft-cosmic-comet .swf .hero{background:rgba(11,9,26,.88)!important;border:2px solid #e17e59!important;border-radius:18px!important;min-height:275px!important;box-shadow:0 12px 40px rgba(0,0,0,.75),inset 0 0 0 1px rgba(255,195,120,.12)!important}
body.swft-cosmic-comet .swf .hero::before,body.swft-cosmic-comet .swf .hero::after{background-image:none!important}
body.swft-cosmic-comet .swf .hero h1,body.swft-cosmic-comet .swf .hero h2{color:#fff3e3!important;text-shadow:0 2px 8px #08030c!important}
body.swft-cosmic-comet .swf .hero p,body.swft-cosmic-comet .swf .hero .muted{color:#f1dfed!important}
/* Categories, forum rows, index cards, sidebar cards */
body.swft-cosmic-comet .swf .panel,body.swft-cosmic-comet .swf .side-panel,
body.swft-cosmic-comet .swf .swf-category,body.swft-cosmic-comet .swf .swf-forum-node,
body.swft-cosmic-comet .swf .community-sidebar .panel,body.swft-cosmic-comet .swf .community-sidebar .side-panel,
body.swft-cosmic-comet .swf .swf-tree-node,body.swft-cosmic-comet .swf .swf-mod-box{
 background:rgba(16,13,34,.96)!important;border:1px solid #80518d!important;color:#fff6f0!important;
 box-shadow:0 8px 28px rgba(0,0,0,.65),inset 0 1px rgba(255,186,129,.12)!important;border-radius:13px!important;
}
body.swft-cosmic-comet .swf .swf-category-head{background:#492747!important;border-bottom:2px solid #f08b52!important;color:#fff5ed!important;padding:13px 16px!important}
body.swft-cosmic-comet .swf .swf-category-head *,body.swft-cosmic-comet .swf .swf-category-head h2{color:#fff5ed!important}
body.swft-cosmic-comet .swf .swf-forum-row,body.swft-cosmic-comet .swf .item,
body.swft-cosmic-comet .swf .swf-tree-node .item{background:rgba(29,22,49,.94)!important;border-color:#694b7f!important;color:#fff5ef!important}
body.swft-cosmic-comet .swf .swf-forum-row:hover,body.swft-cosmic-comet .swf .item:hover{background:#362447!important;border-color:#f09a63!important}
body.swft-cosmic-comet .swf .swf-forum-name,body.swft-cosmic-comet .swf .swf-forum-icon{color:#ffc48b!important}
body.swft-cosmic-comet .swf .side-panel h2,body.swft-cosmic-comet .swf .side-panel h3{color:#ffd4a5!important}
body.swft-cosmic-comet .swf .side-stat,body.swft-cosmic-comet .swf .side-welcome{color:#e8d8e7!important;border-color:#785281!important}
/* Thread list, topic pages, posts and member details */
body.swft-cosmic-comet .swf .post,body.swft-cosmic-comet .swf article.post,
body.swft-cosmic-comet .swf .swf-post,body.swft-cosmic-comet .swf .thread,
body.swft-cosmic-comet .swf .topic,body.swft-cosmic-comet .swf .thread-row,
body.swft-cosmic-comet .swf .topic-row{
 background:rgba(18,15,38,.97)!important;color:#fff6f0!important;border:1px solid #79578d!important;
 border-radius:12px!important;box-shadow:0 6px 24px rgba(0,0,0,.55)!important;
}
body.swft-cosmic-comet .swf .postbody,body.swft-cosmic-comet .swf .postbody p,
body.swft-cosmic-comet .swf .post-content,body.swft-cosmic-comet .swf .message-content{color:#fff3ee!important}
body.swft-cosmic-comet .swf .swf-member-signature,body.swft-cosmic-comet .swf .signature{background:#241c39!important;color:#e9d8e9!important;border-color:#7e578c!important}
body.swft-cosmic-comet .swf .swfa-rank,body.swft-cosmic-comet .swf .swfa-mini,
body.swft-cosmic-comet .swf .badge,body.swft-cosmic-comet .swf .pill{background:#5b2e50!important;color:#fff1d9!important;border:1px solid #b77b88!important;opacity:1!important}
body.swft-cosmic-comet .swf .swf-similar,body.swft-cosmic-comet .swf .swf-similar-existing,
body.swft-cosmic-comet .swf .swf-similar-topics,body.swft-cosmic-comet .swf [class*="similar-topic"]{
 background:#211832!important;color:#fff2e8!important;border:1px solid #9a648b!important;border-radius:12px!important;
}
body.swft-cosmic-comet .swf .swf-similar h4{color:#ffdab2!important}
/* Typography and contrast: never dim links or hide content */
body.swft-cosmic-comet .swf h1,body.swft-cosmic-comet .swf h2,body.swft-cosmic-comet .swf h3,
body.swft-cosmic-comet .swf h4,body.swft-cosmic-comet .swf strong{color:#fff2e7!important}
body.swft-cosmic-comet .swf p,body.swft-cosmic-comet .swf small,
body.swft-cosmic-comet .swf .muted,body.swft-cosmic-comet .swf .meta,
body.swft-cosmic-comet .swf .post .muted,body.swft-cosmic-comet .swf .swf-similar .muted{color:#dcd1e7!important;opacity:1!important}
body.swft-cosmic-comet a,body.swft-cosmic-comet .swf a,body.swft-cosmic-comet .ui-wrap a,
body.swft-cosmic-comet .swf .side-panel a,body.swft-cosmic-comet .swf .swf-similar a{
 color:#ffdcaa!important;opacity:1!important;filter:none!important;text-shadow:none!important;
}
body.swft-cosmic-comet a:hover,body.swft-cosmic-comet .swf a:hover{color:#fff8e9!important;text-decoration:underline!important}
body.swft-cosmic-comet a:focus-visible,body.swft-cosmic-comet button:focus-visible,
body.swft-cosmic-comet input:focus-visible{outline:2px solid #ffb870!important;outline-offset:2px!important}
/* Navigation and footer */
body.swft-cosmic-comet .topbar,body.swft-cosmic-comet .site-header,
body.swft-cosmic-comet .site-nav,body.swft-cosmic-comet .swf-topbar,
body.swft-cosmic-comet .swf-header-controls,body.swft-cosmic-comet header,
body.swft-cosmic-comet nav,body.swft-cosmic-comet footer,
body.swft-cosmic-comet .site-footer{background-color:rgba(13,11,29,.97)!important;border-color:#80518d!important;color:#fff4e9!important}
body.swft-cosmic-comet .topbar a,body.swft-cosmic-comet .site-header a,
body.swft-cosmic-comet .site-nav a,body.swft-cosmic-comet .swf-header-controls a,
body.swft-cosmic-comet footer a{color:#ffdcaa!important;opacity:1!important;filter:none!important}
/* Buttons, inputs, menus, editor, pagination */
body.swft-cosmic-comet .swf button,body.swft-cosmic-comet .swf .btn,
body.swft-cosmic-comet .swf .ui-btn,body.swft-cosmic-comet .swf input[type="submit"],
body.swft-cosmic-comet button[type="submit"]{background:#7c365c!important;color:#fff9f0!important;border:1px solid #f4a46c!important;opacity:1!important;filter:none!important;box-shadow:0 3px 12px #0007!important}
body.swft-cosmic-comet .swf button:hover,body.swft-cosmic-comet .swf .btn:hover{background:#a14a62!important;color:#fff!important}
body.swft-cosmic-comet .swf input,body.swft-cosmic-comet .swf textarea,
body.swft-cosmic-comet .swf select,body.swft-cosmic-comet .swf [contenteditable="true"],
body.swft-cosmic-comet .swf .editor,body.swft-cosmic-comet .swf .dropdown-menu{
 background:#171528!important;color:#fff7ef!important;border:1px solid #916e9b!important;opacity:1!important;
}
body.swft-cosmic-comet .swf input::placeholder,body.swft-cosmic-comet .swf textarea::placeholder{color:#cfc2d7!important;opacity:1!important}
body.swft-cosmic-comet .swf .pager a,body.swft-cosmic-comet .swf .pagination a,
body.swft-cosmic-comet .swf .pagination button{background:#372448!important;border:1px solid #8d608e!important;color:#ffe4bb!important;opacity:1!important}
body.swft-cosmic-comet .swf .pager a:hover,body.swft-cosmic-comet .swf .pagination a:hover{background:#663a5b!important;color:#fff!important}
body.swft-cosmic-comet .swf hr,body.swft-cosmic-comet .swf table td,
body.swft-cosmic-comet .swf table th{border-color:#775280!important}
body.swft-cosmic-comet .swf table th{background:#402440!important;color:#fff2e8!important}
body.swft-cosmic-comet .swf table td{background:rgba(20,16,40,.96)!important;color:#fff2ea!important}
@media(max-width:720px){body.swft-cosmic-comet{background-attachment:scroll!important;background-position:55% top!important}body.swft-cosmic-comet .swf .hero{min-height:220px!important;padding:24px!important}}
@media(prefers-reduced-motion:reduce){body.swft-cosmic-comet *,body.swft-cosmic-comet *::before,body.swft-cosmic-comet *::after{animation:none!important;transition:none!important}}
