/* Rankas Dūms V2 | phpBB 3.3.19 | inherits prosilver */
@import url("../../prosilver/theme/stylesheet.css");
:root{--rd-orange:#f18a19;--rd-amber:#ffc179;--rd-bg:#100e0d;--rd-card:#211e1b;--rd-ink:#f4eee7;--rd-muted:#c4b6a7;--rd-line:#805028}
html,body{background:var(--rd-bg)!important;color:var(--rd-ink)!important}
body{font:15px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important}
#wrap{max-width:1260px;background:transparent!important;border:0!important;padding:0 16px!important;box-sizing:border-box}
#page-header{position:relative}
.headerbar{position:relative;min-height:230px;border-radius:0!important;border:0!important;border-bottom:3px solid var(--rd-orange)!important;padding:22px 24px!important;overflow:hidden;background:linear-gradient(90deg,rgba(9,8,7,.96) 0%,rgba(10,9,8,.9) 42%,rgba(8,7,6,.18) 100%),url('./images/hero.jpg') center right/cover no-repeat!important;box-shadow:0 8px 35px #0009}
.headerbar .inner{position:relative;min-height:180px}
/* Hide prosilver's built-in logo (which overlapped the custom logo in V1). */
.headerbar .logo{display:none!important}
#site-description{float:none!important;width:auto!important;padding:4px 0 0!important;max-width:640px}
#site-description:before{content:"";display:block;width:min(100%,370px);height:92px;background:url('./images/brand.svg') left center/contain no-repeat;margin:0 0 9px}
#site-description h1{font-family:Georgia,serif;font-weight:800;font-size:clamp(27px,3.8vw,44px);line-height:1.12;color:#fff!important;text-shadow:0 3px 10px #000;margin:0 0 7px!important}
#site-description p{font-size:14px;color:#f2cda6!important;margin:0!important}
#search-box{position:absolute;right:20px;bottom:15px;float:none;margin:0!important}
#search-box .inputbox{background:#161514e8!important}
a,a:link,a:visited{color:var(--rd-amber)}a:hover,a:focus{color:#fff0d8}
h2,h3,.panel h2,.panel h3,.stat-block h3{color:#f7e9d8!important}
.navbar{background:#1b1917!important;color:#f4eee7!important;border:1px solid #6b4324;border-radius:5px;margin:10px 0!important;padding:9px 12px!important}
.navbar a,.navbar a:visited,.navbar .icon,.navbar .fa{color:#f2cda6!important}
.navbar a:hover{color:#ff9a2c!important}
.navbar .icon,.navbar .fa{color:var(--rd-orange)!important}
.breadcrumbs .crumb a{color:#ffc17b!important}
/* Standard topic lists retain prosilver layout. The index forum cards use their own template. */
.forabg,.forumbg{background:transparent!important;border:0!important;padding:0!important;margin:15px 0!important}
.forumbg ul.topiclist li.header,.forabg ul.topiclist li.header{background:#713710!important;color:#fff!important}
.forumbg ul.topiclist li.row{background:#211d19!important;color:#f3e9df!important}
.stat-block{background:#211c18!important;border:1px solid #75502c;border-radius:11px;padding:17px 20px;margin:13px 0!important}
.stat-block h3{color:#ffa94e!important;border-bottom:1px solid #6d4c2e;padding-bottom:7px}
.stat-block p,.stat-block .inner{color:#eee0d2!important}
.bg1,.bg2,.bg3,.panel,.post,.cp-mini,.cp-main .panel{background:#24201c!important;color:#f1e6d8!important;border:1px solid #5d442d;border-radius:8px}
.post.bg2{background:#2b241e!important}
.postbody,.postbody .content,.postbody .content p,.postbody h3,.postprofile,.postprofile strong,.panel p,.panel label,.content,.signature,.topiclist dt,.topiclist dd,fieldset dl dt label{color:#f2e6d7!important}
.postprofile{border-color:#745335!important}
blockquote{background:#362a21!important;border-color:#a56830!important;color:#f4e7d8!important}
blockquote cite{color:#ffbb73!important}
.codebox{background:#151310!important;border-color:#946331!important}.codebox code{color:#f4e8dc!important}
.inputbox,input.inputbox,textarea.inputbox,select,.dropdown,.dropdown-contents{background:#171512!important;color:#fff2e4!important;border:1px solid #94653b!important;border-radius:5px}
.inputbox:focus{border-color:#ff9b2b!important;outline:2px solid #f18a1944}
.button,.button1,.button2,input.button1,input.button2,a.button{background:#623412!important;border:1px solid #dd7b1a!important;color:#fff3e3!important;border-radius:6px!important;box-shadow:none!important}
.button:hover,.button1:hover,.button2:hover{background:#a65310!important;color:#fff!important}
.button .icon,.button .fa{color:#ffd29b!important}
.pagination li a,.pagination li span{background:#30231b;border-color:#8b5628;color:#ffe2bd}.pagination li.active span{background:#b45d10;color:#fff}
#page-footer{margin-top:28px;border-top:2px solid #8d4c1b;padding-top:14px;background:linear-gradient(180deg,transparent,#1e140d)}
#page-footer .navbar{background:#1c1815!important}#page-footer,#page-footer a,.copyright{color:#cfc0af!important}
hr{border-color:#6c482a}
/* Avoid hard-coded translations: strings come from the phpBB language pack. */

/* V5 custom forum list: no dependence on prosilver dt/dd nesting. */
.rd-forum-group{margin:18px 0 24px}
.rd-group-heading{font:700 17px/1.4 system-ui,sans-serif!important;color:#fff!important;margin:0 0 9px!important;padding:10px 15px!important;background:linear-gradient(90deg,#773a13,#251b15);border:1px solid #8e501e;border-radius:8px}
.rd-group-heading a{color:#fff!important;text-decoration:none}
.rd-forum-list{display:grid;gap:8px}
.rd-forum-card{position:relative;display:flex;align-items:center;gap:14px;min-height:86px;padding:8px 16px 8px 9px;box-sizing:border-box;background:#211e1b;border:1px solid #96551e;border-radius:9px;box-shadow:0 4px 15px #0007;color:#f4e9db;overflow:hidden}
.rd-forum-card:hover{background:#2b221b;border-color:#ef8c27}
.rd-forum-thumb{display:block;flex:0 0 100px;width:100px;height:70px;border-radius:6px;overflow:hidden;border:1px solid #704421}
.rd-forum-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.rd-forum-main{flex:1 1 0;min-width:0;align-self:center}
.rd-forum-name{display:block;color:#fff1df!important;font-size:17px;font-weight:750;line-height:1.25;text-decoration:none!important}
.rd-forum-name:hover{color:#ffb55e!important}
.rd-forum-description{font-size:12px;line-height:1.4;color:#c8b7a7;margin-top:4px;max-width:560px}
.rd-forum-description p{margin:0}
.rd-forum-moderators,.rd-subforums,.rd-unapproved{font-size:11px;color:#d9bda0;margin-top:3px}
.rd-forum-count{flex:0 0 64px;text-align:center;color:#fff1df;font-size:17px;font-weight:700;border-left:1px solid #62452f;padding:4px 0}
.rd-forum-count small{display:block;font-size:10px;color:#c9b6a4;font-weight:400}
.rd-forum-last{flex:0 0 180px;max-width:180px;box-sizing:border-box;padding-left:12px;border-left:1px solid #62452f;font-size:11px;color:#cbb9aa;line-height:1.45}
.rd-forum-last a{color:#ffbc74!important}
.rd-last-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rd-forum-chevron{flex:0 0 14px;font-size:30px;line-height:1;color:#f18a19!important;text-decoration:none!important}
.rd-mobile-meta{display:none}
/* Remove duplicated forum title; brand SVG already contains forum name. */
#site-description h1,#site-description p{display:none!important}
#site-description:before{height:115px;margin:0!important}
.headerbar{min-height:170px!important}
.headerbar .inner{min-height:120px!important}
#search-box .inputbox{border:1px solid #99612f!important;color:#fff!important}
@media(max-width:850px){
 #wrap{padding:0 10px!important}
 .rd-forum-card{gap:10px}
 .rd-forum-count{flex-basis:50px}
 .rd-forum-last{flex-basis:125px;max-width:125px}
}
@media(max-width:700px){
 body{font-size:14px!important}
 #wrap{padding:0 7px!important}
 .headerbar{min-height:150px!important;padding:12px!important;background-position:65% center!important}
 .headerbar .inner{min-height:115px!important}
 #site-description:before{width:230px;height:90px!important}
 #search-box{right:9px;bottom:6px}
 .navbar{padding:8px!important}
 .rd-forum-group{margin:14px 0 18px}
 .rd-group-heading{font-size:15px!important;padding:9px 12px!important}
 .rd-forum-list{gap:7px}
 .rd-forum-card{min-height:80px;padding:7px 9px;gap:10px}
 .rd-forum-thumb{flex-basis:80px;width:80px;height:62px}
 .rd-forum-name{font-size:14px}
 .rd-forum-description{font-size:11px;line-height:1.3;margin-top:3px}
 .rd-forum-count,.rd-forum-last{display:none}
 .rd-mobile-meta{display:block;margin-top:4px;font-size:10px;color:#c4aa93}
 .rd-forum-chevron{font-size:25px;flex-basis:10px}
 .stat-block{padding:12px!important}
 .inputbox{max-width:100%;box-sizing:border-box}
}
@media(max-width:370px){.rd-forum-thumb{flex-basis:66px;width:66px;height:60px}.rd-forum-card{gap:7px}.rd-forum-name{font-size:13px}}

/* V6 visual refinement. Keep V5 card template and functional links. */
:root{--rd-bg:#100e0d;--rd-card:#211b17;--rd-orange:#f18a19}
.headerbar{min-height:198px!important;padding:22px 24px!important;background:linear-gradient(90deg,rgba(8,7,6,.90) 0%,rgba(8,7,6,.63) 38%,rgba(8,7,6,.16) 100%),url('./images/hero.jpg') 57% 50%/cover no-repeat!important}
.headerbar .inner{min-height:142px!important}
#site-description:before{width:min(100%,440px)!important;height:116px!important;background-size:contain!important}
#search-box{bottom:12px!important;right:12px!important}
#search-box .inputbox{background:#17110df2!important;border:1px solid #ae713b!important;color:#fff!important;min-height:29px}
.rd-forum-group{margin:14px 0 18px}
.rd-group-heading{padding:9px 13px!important;margin-bottom:9px!important;background:linear-gradient(90deg,#73330f,#231a14)!important}
.rd-forum-list{gap:8px}
.rd-forum-card{min-height:88px;gap:13px;padding:8px 13px 8px 8px;background:linear-gradient(110deg,#27201b,#1b1816);border:1px solid #9d5a26;box-shadow:0 3px 14px #0005}
.rd-forum-thumb{height:70px;flex:0 0 96px;width:96px;border:1px solid #a66832;border-radius:7px}
.rd-forum-thumb img{object-fit:cover;object-position:center}
.rd-forum-main{padding:0 0 1px}
.rd-forum-name{font-size:16px;line-height:1.2!important;letter-spacing:.05px}
.rd-forum-description{font-size:12px;line-height:1.32;color:#d6c5b6!important;margin-top:5px;max-width:560px}
.rd-forum-count{flex-basis:57px;font-size:15px}
.rd-forum-last{flex-basis:160px;max-width:160px}
.rd-forum-chevron{font-size:27px}
.navbar a{font-weight:600}
.navbar a:focus-visible,.rd-forum-name:focus-visible,.rd-forum-chevron:focus-visible{outline:2px solid #ffa640;outline-offset:3px}
fieldset label,fieldset dt label,.panel label{color:#e5cbb2!important}
#page-body .inputbox{background:#1d1713!important;color:#fff!important}
.stat-block{padding:15px 17px!important}
@media(max-width:700px){
 .headerbar{min-height:145px!important;padding:10px 12px!important;background-position:60% center!important}
 .headerbar .inner{min-height:125px!important}
 #site-description:before{width:250px!important;height:86px!important}
 #search-box{display:none!important}
 .rd-forum-card{min-height:84px;padding:7px 9px;gap:10px}
 .rd-forum-thumb{flex:0 0 78px;width:78px;height:65px}
 .rd-forum-name{font-size:14px;line-height:1.18!important}
 .rd-forum-description{font-size:10.5px;line-height:1.25;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .rd-mobile-meta{font-size:10px;margin-top:3px}
 .rd-forum-chevron{font-size:24px}
 .navbar{margin:8px 0!important}
 .stat-block{padding:13px!important}
}
@media(max-width:370px){.rd-forum-thumb{flex:0 0 67px;width:67px;height:62px}.rd-forum-card{gap:8px}.rd-forum-description{font-size:10px}}


/* ===================================================================
 Rankas Dūms V7 – editorial BBQ portal design, phpBB 3.3.19.
 V6 functional forum listing retained; V7 is a new visual design layer.
 =================================================================== */
:root{--rd-bg:#0c0b0a;--rd-panel:#1b1714;--rd-panel2:#241c17;--rd-orange:#f28a19;--rd-gold:#f9bd6e;--rd-cream:#fff3e6}
html,body{background:#0c0b0a!important}
body{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:15px!important;color:#f4e8db!important}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 80% 6%,rgba(144,63,19,.18),transparent 38%),repeating-linear-gradient(90deg,transparent 0,transparent 85px,rgba(255,255,255,.012) 86px,transparent 88px),linear-gradient(#0c0b0a,#16100d 68%,#0c0b0a)}
#wrap{max-width:1220px!important;margin:0 auto!important;padding:0 16px!important}
#page-header{padding-top:12px}
.headerbar{min-height:315px!important;padding:20px 32px!important;border:1px solid #402719!important;border-bottom:4px solid #f28a19!important;border-radius:12px 12px 2px 2px!important;background:linear-gradient(90deg,rgba(5,5,4,.95) 0%,rgba(9,7,6,.74) 40%,rgba(8,5,3,.10) 100%),url('./images/hero.jpg') 60% 49%/cover no-repeat!important;box-shadow:inset 0 0 65px #0009,0 16px 45px #000a!important}
.headerbar .inner{min-height:260px!important}
#site-description{max-width:740px!important;padding-top:3px!important}
#site-description:before{width:min(100%,530px)!important;height:128px!important;margin:0!important;filter:drop-shadow(0 5px 8px #000c)}
#search-box{right:12px!important;bottom:10px!important;z-index:2}
#search-box .inputbox{min-width:180px;min-height:37px!important;border-radius:8px 0 0 8px!important;background:#17120fee!important;border-color:#9b5829!important}
#search-box .button{min-height:37px;border-radius:0 7px 7px 0!important}
#page-header .navbar{margin-top:0!important;background:linear-gradient(180deg,#24201c,#151310)!important;border:1px solid #65401e!important;border-radius:0 0 10px 10px!important;padding:12px 16px!important;box-shadow:0 10px 25px #0006}
#page-header .navbar a{font-size:14px!important;font-weight:700!important}
#page-header .navbar li{line-height:1.7!important}
#page-header .navbar .breadcrumbs{padding:4px 0}
#page-header .navbar .icon{color:#ff9b2f!important}
.rd-welcome{position:relative;isolation:isolate;overflow:hidden;margin:22px 0 17px;min-height:182px;padding:26px 32px;display:flex;align-items:center;border-radius:13px;border:1px solid #70401c;background:radial-gradient(ellipse at 83% 110%,#be4d13 0%,#6a260c 17%,transparent 52%),linear-gradient(105deg,#161310 0%,#211711 60%,#090807 100%);box-shadow:0 10px 25px #0008}
.rd-welcome:before{content:"";position:absolute;z-index:-1;right:-2%;bottom:-70px;width:45%;height:230px;opacity:.65;background:radial-gradient(ellipse at bottom,#ff9a1e 0%,#e85b0d 14%,#69230e 35%,transparent 68%);filter:blur(13px)}
.rd-welcome:after{content:"";position:absolute;z-index:-1;right:5%;top:-65px;width:44%;height:270px;opacity:.22;background:repeating-radial-gradient(ellipse at 70% 90%,transparent 0 14px,#c4b7a6 16px,transparent 24px);transform:rotate(-18deg);filter:blur(15px)}
.rd-welcome-content{max-width:700px}
.rd-eyebrow{display:block;color:#f49b3c;font-size:11px;font-weight:800;letter-spacing:2.6px;margin-bottom:11px}
.rd-welcome h2{font-size:clamp(27px,3.3vw,43px)!important;line-height:1.12!important;font-weight:800!important;color:#fff7ed!important;letter-spacing:-.6px;margin:0 0 12px!important;text-shadow:0 3px 15px #000}
.rd-welcome h2 em{font-style:normal;color:#ffb15d}
.rd-welcome p{max-width:620px;font-size:15px;line-height:1.65;color:#e4d5c7;margin:0}
.rd-forum-group{margin:16px 0 24px!important}
.rd-group-heading{display:flex;align-items:center;gap:12px;margin:0 0 12px!important;padding:12px 19px!important;font-size:19px!important;font-weight:800!important;background:linear-gradient(100deg,#68330e,#201916 55%,#151311)!important;border:1px solid #96541f!important;border-radius:10px!important;box-shadow:inset 0 1px #e68c3344}
.rd-heading-flame{font-size:24px;color:#ff8e19;line-height:1}
.rd-forum-list{gap:11px!important}
.rd-forum-card{min-height:104px!important;padding:10px 17px 10px 10px!important;gap:17px!important;border:1px solid #a66329!important;border-radius:12px!important;background:linear-gradient(115deg,#2b211b 0%,#211b17 40%,#181615 100%)!important;box-shadow:0 7px 18px #0008!important;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.rd-forum-card:hover{border-color:#ffad4c!important;background:linear-gradient(110deg,#38261b,#251d17,#1c1714)!important;transform:translateY(-1px)}
.rd-forum-thumb{flex:0 0 132px!important;width:132px!important;height:82px!important;border:1px solid #a76a37!important;border-radius:9px!important;box-shadow:0 0 0 2px #0d0b0a!important}
.rd-forum-thumb img{width:100%;height:100%;object-fit:cover!important}
.rd-forum-name{font-size:19px!important;line-height:1.22!important;font-weight:800!important;color:#fff5e9!important}
.rd-forum-description{font-size:13px!important;line-height:1.42!important;color:#d6c4b4!important;margin-top:6px!important;max-width:500px}
.rd-forum-count{flex-basis:67px!important;font-size:19px!important;border-color:#6a462c!important}
.rd-forum-count small{font-size:11px!important;margin-top:1px;color:#cfad8e!important}
.rd-forum-last{flex-basis:175px!important;max-width:175px!important;font-size:12px!important;border-color:#6a462c!important}
.rd-forum-chevron{font-size:36px!important;font-weight:300!important;color:#ff921e!important;flex-basis:18px!important}
.rd-forum-card:focus-within{outline:2px solid #ffab45;outline-offset:2px}
.stat-block{background:linear-gradient(130deg,#241e19,#181512)!important;border:1px solid #855026!important;border-radius:13px!important;padding:21px 24px!important;box-shadow:0 7px 22px #0005!important}
.stat-block h3{font-size:17px!important;font-weight:800!important;color:#ffa43d!important;letter-spacing:.3px}
.stat-block p{font-size:14px!important;line-height:1.6!important}
#page-body .panel{padding:14px!important}
#page-body .inputbox{background:#1a1512!important;color:#fff3e7!important;border:1px solid #a16b3b!important;min-height:32px}
#page-body .inputbox:focus{border-color:#ffac4e!important;box-shadow:0 0 0 3px #f18a1933}
.button,.button1,.button2,input.button1,input.button2{padding:5px 11px!important;font-weight:700!important;background:linear-gradient(#8c4b1a,#61300e)!important;border-color:#d07c2b!important}
#page-footer{border-top:3px solid #a04c12!important;margin-top:36px!important;padding-top:15px!important;background:radial-gradient(ellipse at 70% 100%,#5c240d88,transparent 50%),linear-gradient(#17110e,#0b0908)!important}
#page-footer .navbar{border-radius:9px!important;padding:13px!important}
.copyright{font-size:11px!important;line-height:1.7!important}
@media(max-width:850px){
 .rd-forum-thumb{flex-basis:105px!important;width:105px!important;height:76px!important}
 .rd-forum-count{flex-basis:48px!important}
 .rd-forum-last{flex-basis:130px!important;max-width:130px!important}
 .rd-forum-card{gap:12px!important}
}
@media(max-width:700px){
 #wrap{padding:0 7px!important}
 #page-header{padding-top:0}
 .headerbar{min-height:210px!important;padding:15px 14px!important;border-radius:0 0 2px 2px!important;background:linear-gradient(90deg,#070605db 0%,#0806058a 46%,#08060520 100%),url('./images/hero.jpg') 57% center/cover no-repeat!important}
 .headerbar .inner{min-height:168px!important}
 #site-description:before{width:260px!important;height:93px!important}
 #page-header .navbar{padding:10px!important}
 #page-header .navbar a{font-size:13px!important}
 .rd-welcome{min-height:0!important;padding:22px 18px!important;margin:16px 0 14px!important;border-radius:11px!important}
 .rd-eyebrow{font-size:10px!important;letter-spacing:1.5px}
 .rd-welcome h2{font-size:27px!important;line-height:1.13!important}
 .rd-welcome p{font-size:12px!important;line-height:1.5!important}
 .rd-group-heading{font-size:16px!important;padding:10px 13px!important;gap:9px}
 .rd-heading-flame{font-size:20px}
 .rd-forum-list{gap:8px!important}
 .rd-forum-card{min-height:91px!important;padding:7px 10px 7px 7px!important;gap:10px!important;border-radius:10px!important}
 .rd-forum-thumb{flex:0 0 79px!important;width:79px!important;height:74px!important;border-radius:7px!important}
 .rd-forum-name{font-size:14px!important;line-height:1.22!important}
 .rd-forum-description{font-size:10.5px!important;line-height:1.28!important;margin-top:4px!important}
 .rd-mobile-meta{font-size:10px!important;color:#c6ab8f!important}
 .rd-forum-count,.rd-forum-last{display:none!important}
 .rd-forum-chevron{font-size:27px!important;flex:0 0 12px!important}
 .stat-block{padding:16px!important}
 .stat-block h3{font-size:15px!important}
 .stat-block p{font-size:12px!important}
 #page-footer{margin-top:25px!important}
}
@media(max-width:370px){.rd-forum-thumb{flex:0 0 68px!important;width:68px!important;height:68px!important}.rd-forum-card{gap:8px!important}.rd-welcome h2{font-size:24px!important}}


/* ================================================================
   V8 — reconstruction against the approved mobile reference image.
   Keep prosilver parent and functional phpBB template variables.
   ================================================================ */
:root{--rd-orange:#f18a0c;--rd-white:#f7f5f2}
html,body{background:#090909!important;color:#f4f1ec!important}
body:before{background:radial-gradient(ellipse at 55% 26%,#3a29241c,transparent 46%),linear-gradient(#0a0909,#10100f)!important}
#wrap{max-width:1240px!important;padding:0 12px!important}
#page-header{padding-top:0!important}
.headerbar{min-height:270px!important;border-radius:0!important;border:0!important;border-bottom:4px solid #f39009!important;box-shadow:none!important;padding:20px 28px!important;background:linear-gradient(90deg,#070707ed 0%,#070707b0 30%,#08060408 75%),url('./images/hero.jpg') center 47%/cover no-repeat!important}
.headerbar .inner{min-height:225px!important}
#site-description:before{width:min(100%,500px)!important;height:130px!important;filter:drop-shadow(0 2px 5px #000)!important}
#search-box{right:22px!important;bottom:30px!important}
#search-box .inputbox{background:#141414f0!important;border:1px solid #a36323!important;color:white!important;box-shadow:none!important}
#search-box .button{background:#b95d0a!important}
#page-header .navbar{background:linear-gradient(#282727,#151515)!important;border:0!important;border-bottom:2px solid #8b4c0e!important;border-radius:0!important;margin:0!important;padding:12px 17px!important;box-shadow:none!important}
#page-header .navbar a{color:#fff!important;font-size:16px!important;font-weight:650!important}
#page-header .navbar a:hover{color:#ffa029!important}
#page-header .navbar .breadcrumbs{padding:7px 0!important}
#page-body{padding-top:0!important}
.rd-welcome{min-height:215px!important;margin:0 0 12px!important;border:0!important;border-radius:0!important;padding:32px 26px!important;background:linear-gradient(90deg,#080808 0%,#080808ed 34%,#08080866 68%,#0808081a 100%),url('./images/v8-fire.jpg') right center/auto 100% no-repeat,#0c0b0a!important;box-shadow:none!important}
.rd-welcome:before,.rd-welcome:after{display:none!important}
.rd-welcome-content{max-width:700px!important}
.rd-eyebrow{display:none!important}
.rd-welcome h2{font-size:clamp(29px,3.4vw,43px)!important;color:#fff!important;letter-spacing:-.6px!important;line-height:1.07!important;margin:0 0 12px!important}
.rd-welcome h2 em{color:#fff!important}
.rd-welcome p{max-width:580px!important;font-size:19px!important;line-height:1.4!important;color:#f5f3ef!important}
.rd-forum-group{margin:0 0 18px!important}
.rd-group-heading{font-size:23px!important;min-height:55px!important;margin:0 0 13px!important;padding:11px 19px!important;border-radius:9px!important;border:1px solid #9c5b1a!important;background:linear-gradient(90deg,#723709,#302117 44%,#131313 100%)!important;box-shadow:none!important;color:#fff!important}
.rd-heading-flame{font-size:28px!important;color:#ff8b05!important}
.rd-forum-list{gap:10px!important}
.rd-forum-card{min-height:106px!important;padding:0 13px 0 0!important;gap:16px!important;background:linear-gradient(100deg,#282727,#161616)!important;border:1px solid #b36b19!important;border-radius:10px!important;box-shadow:none!important;overflow:hidden!important}
.rd-forum-card:hover{background:linear-gradient(100deg,#32302e,#1a1918)!important;transform:none!important}
.rd-forum-thumb{height:104px!important;width:170px!important;flex:0 0 170px!important;border:0!important;border-radius:8px 0 0 8px!important;box-shadow:none!important}
.rd-forum-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
.rd-forum-main{min-width:0!important}
.rd-forum-name{font-size:22px!important;font-weight:800!important;color:#fff!important;line-height:1.14!important}
.rd-forum-description{font-size:15px!important;color:#e9e8e5!important;line-height:1.35!important;max-width:490px!important;margin-top:5px!important}
.rd-forum-count{font-size:19px!important;color:#fff!important;border-color:#666!important}
.rd-forum-last{font-size:12px!important;border-color:#666!important}
.rd-forum-chevron{color:#ff8d00!important;font-size:40px!important;font-weight:600!important}
.rd-mobile-meta{color:#e0d8ce!important}
.stat-block{background:linear-gradient(120deg,#282727,#171717)!important;border:1px solid #5f554d!important;border-radius:12px!important;box-shadow:none!important}
.stat-block h3{color:#fff!important;font-size:20px!important}
.stat-block p{color:#eee!important}
#page-footer{position:relative!important;margin-top:30px!important;padding-top:135px!important;border-top:0!important;background:linear-gradient(#12100f,#0b0908)!important}
#page-footer:before{content:"";position:absolute;top:0;left:0;right:0;height:125px;background:url('./images/v8-footer.jpg') center/cover no-repeat;border-bottom:2px solid #8e430a}
#page-footer .navbar{background:linear-gradient(#24201c,#15110e)!important}
/* Remove the redundant homepage login strip only; login remains in navbar. */
/* ACP fix: do not hide the login form; it is also used for admin reauthentication. */
@media(max-width:700px){
 #wrap{padding:0 6px!important}
 .headerbar{min-height:215px!important;padding:10px 12px!important;background:linear-gradient(90deg,#050505e6 0%,#05050555 52%,transparent 100%),url('./images/hero.jpg') 58% center/cover no-repeat!important}
 .headerbar .inner{min-height:187px!important}
 #site-description:before{width:260px!important;height:93px!important}
 #page-header .navbar{padding:8px 8px!important}
 #page-header .navbar a{font-size:14px!important}
 .rd-welcome{min-height:200px!important;padding:20px 13px!important;margin:0 0 8px!important;background:linear-gradient(90deg,#080808e8 0%,#080808aa 55%,#08080822 100%),url('./images/v8-fire.jpg') right bottom/auto 100% no-repeat,#090909!important}
 .rd-welcome h2{font-size:27px!important;max-width:330px!important;line-height:1.13!important}
 .rd-welcome p{font-size:14px!important;line-height:1.37!important;max-width:330px!important}
 .rd-group-heading{font-size:20px!important;min-height:45px!important;padding:8px 12px!important;margin-bottom:9px!important}
 .rd-forum-list{gap:8px!important}
 .rd-forum-card{min-height:94px!important;padding:0 8px 0 0!important;gap:10px!important;border-radius:8px!important}
 .rd-forum-thumb{width:91px!important;flex:0 0 91px!important;height:94px!important;border-radius:7px 0 0 7px!important}
 .rd-forum-name{font-size:16px!important;line-height:1.1!important}
 .rd-forum-description{font-size:12px!important;line-height:1.27!important;margin-top:4px!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
 .rd-mobile-meta{font-size:10px!important;margin-top:3px!important}
 .rd-forum-chevron{font-size:30px!important;flex:0 0 14px!important}
 .stat-block{padding:13px!important}
 .stat-block h3{font-size:17px!important}
 #page-footer{padding-top:96px!important}
 #page-footer:before{height:88px!important}
}
@media(max-width:370px){.rd-forum-thumb{width:76px!important;flex-basis:76px!important}.rd-forum-name{font-size:14px!important}.rd-forum-description{font-size:11px!important}}

/* ===============================================================
   V10: clean transparent vector brand, independent photo assets,
   aligned search controls and edge-to-edge bonfire welcome banner.
   Only style overrides: no phpBB core/database modifications.
   =============================================================== */
#site-description:before{background-image:url('./images/v10-logo.svg')!important;background-position:left center!important;background-repeat:no-repeat!important;background-size:contain!important;width:min(100%,560px)!important;height:162px!important;margin:0!important;filter:drop-shadow(0 3px 6px #000b)!important}
.headerbar{background:linear-gradient(90deg,#050505b8 0%,#05050540 42%,#0505050a 100%),url('./images/hero.jpg') center 48%/cover no-repeat!important}
/* The search widget is one visually integrated control; reset prosilver focus/glow. */
#search-box,#search-box form,#search-box fieldset,#search-box .search-box{background:transparent!important;box-shadow:none!important;filter:none!important;border:0!important;outline:0!important}
#search-box{right:24px!important;bottom:24px!important;z-index:5!important}
#search-box form,#search-box fieldset{display:flex!important;align-items:stretch!important;gap:0!important;height:40px!important;min-height:40px!important;max-height:40px!important}
#search-box .inputbox,#search-box input[type="search"],#search-box input[type="text"]{box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important;width:195px!important;min-width:0!important;margin:0!important;padding:0 12px!important;border:1px solid #ad641c!important;border-right:0!important;border-radius:7px 0 0 7px!important;background:#11100fee!important;color:#f6eee5!important;font-size:14px!important;line-height:38px!important;box-shadow:none!important;outline:none!important;filter:none!important;appearance:none!important}
#search-box .inputbox:focus,#search-box input:focus{border-color:#ff9b28!important;outline:0!important;box-shadow:none!important}
#search-box .button,#search-box button,#search-box input[type="submit"]{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;border:1px solid #ad641c!important;border-radius:0!important;background:#9b4c0b!important;color:#fff!important;box-shadow:none!important;outline:none!important;filter:none!important;vertical-align:top!important}
#search-box .button:last-child,#search-box button:last-child{border-radius:0 7px 7px 0!important}
#search-box .button:hover,#search-box button:hover{background:#c16a14!important}
/* Full width photographic bonfire with text over it; no inserted image rectangle. */
.rd-welcome{display:flex!important;align-items:center!important;min-height:245px!important;box-sizing:border-box!important;margin:10px 0 15px!important;padding:32px 34px!important;border:1px solid #4e2c16!important;border-radius:10px!important;background-image:linear-gradient(90deg,#080706f5 0%,#080706e8 28%,#080706b3 49%,#08070640 73%,#0807061a 100%),url('./images/v10-bonfire.jpg')!important;background-size:cover,cover!important;background-position:center,right 58%!important;background-repeat:no-repeat!important;box-shadow:none!important}
.rd-welcome:before,.rd-welcome:after{display:none!important}
.rd-welcome-content{max-width:680px!important;position:relative!important;z-index:1!important}
.rd-welcome h2{color:#fff!important;text-shadow:0 2px 9px #000!important}
.rd-welcome p{color:#f4eee7!important;text-shadow:0 2px 7px #000!important}
.rd-group-heading{display:flex!important;align-items:center!important;gap:13px!important;background:linear-gradient(90deg,#783709,#352115 48%,#151515)!important;color:#fff!important}
.rd-heading-flame{display:inline-block!important;flex:0 0 34px!important;width:34px!important;height:40px!important;background:url('./images/v10-flame.svg') center/contain no-repeat!important;font-size:0!important;line-height:0!important}
.rd-forum-thumb img{object-fit:cover!important;object-position:center!important}
@media(max-width:700px){
 #site-description:before{width:min(100%,310px)!important;height:106px!important}
 .headerbar{min-height:175px!important;padding:10px 12px!important}
 .headerbar .inner{min-height:150px!important}
 #search-box{display:none!important}
 .rd-welcome{min-height:215px!important;padding:22px 17px!important;margin:10px 0 11px!important;background-image:linear-gradient(90deg,#070605f2 0%,#070605db 38%,#07060587 72%,#07060550 100%),url('./images/v10-bonfire.jpg')!important;background-size:cover,cover!important;background-position:center,63% center!important}
 .rd-welcome h2{font-size:27px!important}
 .rd-welcome p{font-size:13px!important;max-width:300px!important}
 .rd-group-heading{font-size:19px!important;gap:9px!important}
 .rd-heading-flame{width:27px!important;flex-basis:27px!important;height:32px!important}
}

/* V10.4: topic typography and crisp button states. */
h2.topic-title {font-size:22px!important;line-height:1.3!important;}
.postbody h3,.postbody h3.first {font-size:18px!important;line-height:1.3!important;}
.postbody .content {font-size:15px!important;line-height:1.5!important;font-weight:400!important;}
.postbody .content > p {font-size:1em;line-height:1.5;}
.postbody p.author {font-size:12px!important;line-height:1.4!important;}
.postprofile {font-size:13px!important;line-height:1.4!important;}
.postprofile dd,.postprofile dt {font-size:inherit;}
.button,.button1,.button2,.button3,.button:hover,.button1:hover,.button2:hover,.button3:hover,.button:focus,.button1:focus,.button2:focus,.button3:focus {text-shadow:none!important;}
.button *, .button:hover *, .button:focus * {text-shadow:none!important;}
.button:hover,.button1:hover,.button2:hover,.button3:hover {background:#a65310!important;border-color:#f18a19!important;color:#fff3e3!important;}
.button:focus-visible,.button1:focus-visible,.button2:focus-visible,.button3:focus-visible {outline:2px solid #ffa640!important;outline-offset:2px;}
/* Native phpBB site-home link; remains distinct from forum index. */
#nav-breadcrumbs a[data-navbar-reference="home"] {color:#ffc179!important;font-weight:700!important;}

/* V10.5 posting */
.rd-upload{clear:both;margin:12px 0;color:var(--rd-ink);padding:12px;border:1px solid var(--rd-line);border-radius:8px;background:var(--rd-card)}
.rd-upload h3{color:var(--rd-amber)!important;margin:0 0 6px!important}.rd-upload p{color:var(--rd-ink)!important;font-size:13px!important}
#attach-panel.rd-upload-panel{display:block!important;margin:0!important;padding:4px!important;border:0!important;box-shadow:none!important}
#attach-panel .file-list-container,#attach-panel .table1,#attach-panel .table1 tr,#attach-panel .table1 td{background:#211e1b!important;color:#f4eee7!important;border-color:#805028!important}
#attach-panel .table1 th{color:#ffc179!important;background:#30251d!important}
#attach-panel .file-name{display:block!important;white-space:normal!important;overflow-wrap:anywhere;max-width:100%;overflow:hidden}
#attach-panel textarea{width:100%!important;max-width:100%;box-sizing:border-box}
#attach-panel .attach-controls{display:flex;flex-wrap:wrap;gap:4px;float:none!important}
.rd-thumb{display:block;width:110px;height:80px;object-fit:contain;background:#100e0d;border-radius:4px;margin:4px 0}
#tabs .tab>a,#minitabs .tab>a{background:#30251d!important;color:#ffc179!important;border-color:#805028!important}
#tabs .activetab>a,#minitabs .activetab>a{background:#593317!important;color:#fff!important}
.attachbox img,.inline-attachment img{max-width:100%;height:auto;border-color:#805028!important}
#format-buttons button[name="addbbcode22"],#format-buttons input[name="addbbcode22"]{display:none!important}
@media(max-width:700px){#attach-panel .table1,#attach-panel tbody,#attach-panel tr:not(.attach-row-tpl),#attach-panel td{display:block;width:100%!important;box-sizing:border-box}#attach-panel thead{display:none}#attach-panel tr{padding:8px 0;border-bottom:1px solid #805028!important}.rd-upload{padding:8px}}
/* V10.6 */
.forumbg h2, h2.forum-title{font-size:22px!important}
.forumbg .topiclist .header dt,.forumbg .topiclist .header dd{font-size:12px!important;font-weight:600!important}
.forumbg .topiclist .row dt,.forumbg .topiclist .row dd.lastpost{font-size:12px!important;font-weight:400!important;line-height:1.45!important}
.forumbg a.topictitle{font-size:16px!important;font-weight:700!important}
.forumbg .topiclist .row dd.posts,.forumbg .topiclist .row dd.views{font-size:13px!important}
#attach-panel .table1{width:100%!important;table-layout:fixed!important}
#attach-panel .table1 th,#attach-panel .table1 td{box-sizing:border-box;text-align:left!important;padding:8px!important;overflow-wrap:anywhere}
#attach-panel .attach-name{width:40%}#attach-panel .attach-comment{width:30%}#attach-panel .attach-filesize,#attach-panel .attach-status{width:15%}
.rd-native-picker{display:none!important}.rd-original-picker{visibility:hidden!important;position:absolute!important;width:1px!important;height:1px!important}.rd-picker{margin:4px!important}
.rd-upload,#attach-panel,#message-box{box-sizing:border-box;min-width:0;max-width:100%}.rd-upload p{overflow-wrap:anywhere}
@media(max-width:700px){#postingbox,#postform,#postingbox .inner,#message-box,#message-box textarea,.rd-upload,#attach-panel,#attach-panel .inner,#attach-panel .file-list-container{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}#message-box{width:100%!important;float:none!important}#message-box textarea{width:100%!important}#attach-panel td{width:100%!important}#attach-panel .attach-controls input{max-width:100%;white-space:normal}#attach-panel .file-list-container{overflow-wrap:anywhere}}
.rd-lightbox{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:rgba(0,0,0,.92)!important;box-sizing:border-box;overflow:hidden}.rd-lightbox[open]{display:flex;align-items:center;justify-content:center}.rd-lightbox::backdrop{background:#000}.rd-lightbox img{max-width:88vw!important;max-height:85dvh!important;object-fit:contain}.rd-lightbox button{position:absolute;background:#30251d;color:#fff;border:1px solid #f18a19;border-radius:8px;font-size:30px;width:44px;height:44px;cursor:pointer}.rd-lb-close{top:12px;right:12px}.rd-lb-prev{left:10px;top:50%}.rd-lb-next{right:10px;top:50%}.rd-lb-open{overflow:hidden}

/* V10.7: constrain the posting editor to the actual mobile viewport. */
@media (max-width: 760px) {
 #postform, #postform .panel, #postform .inner, #postform fieldset,
 #postform dl, #postform dt, #postform dd, #postform #format-buttons,
 #postform #smiley-box, #postform #message-box, #postform .rd-upload,
 #postform #attach-panel {box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
 #postform fieldset {width:100%!important;margin-inline:0!important;padding-inline:0!important;}
 #postform fieldset.fields1 dl > dt, #postform fieldset.fields1 dl > dd,
 #postform fieldset.fields2 dl > dt, #postform fieldset.fields2 dl > dd {float:none!important;width:100%!important;margin-inline:0!important;}
 #postform fieldset dd label {display:inline-block;white-space:normal!important;margin-bottom:4px;}
 #postform #subject, #postform #message, #postform input[type=text], #postform textarea {box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
 #postform #subject, #postform #message {width:100%!important;}
 #postform #format-buttons {display:flex!important;flex-wrap:wrap!important;gap:4px;white-space:normal!important;width:100%!important;}
 #postform #format-buttons > * {max-width:100%!important;margin:0!important;}
 #postform #smiley-box, #postform #message-box {float:none!important;width:100%!important;margin-inline:0!important;white-space:normal!important;}
 #postform #smiley-box a {display:inline-block;max-width:100%;}
 #postform #attach-panel .file-list-container, #postform #attach-panel table, #postform #attach-panel tbody, #postform #attach-panel tr:not(.attach-row-tpl), #postform #attach-panel td {box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;}
 #postform #attach-panel table, #postform #attach-panel tbody, #postform #attach-panel tr:not(.attach-row-tpl), #postform #attach-panel td {display:block;}
 #postform #attach-panel thead {display:none!important;}
 #postform .rd-picker {white-space:normal!important;max-width:100%!important;}
 #postform .rd-upload {width:100%!important;}
}

/* V10.8: proportional attachment display, without server-generated thumbnails. */
.postbody .rd-image-attachment {box-sizing:border-box;max-width:min(300px,100%);min-width:0;overflow-wrap:anywhere;}
.postbody .rd-image-attachment dt {max-width:100%;min-width:0;}
.postbody .rd-image-link {display:inline-block;max-width:100%;vertical-align:top;cursor:zoom-in;}
.postbody .rd-image-link img.postimage {display:block;box-sizing:border-box;width:auto!important;max-width:min(300px,100%)!important;height:auto!important;max-height:none!important;padding:0!important;border-radius:5px;cursor:zoom-in!important;image-orientation:from-image;}
.postbody .rd-image-link:focus-visible {outline:2px solid #ffc179;outline-offset:3px;}
.postbody .inline-attachment:has(> .rd-image-attachment) {display:inline-block;vertical-align:top;max-width:100%;margin:4px 8px 4px 0;box-sizing:border-box;}
.postbody .attachbox:has(.rd-image-attachment) {float:none;max-width:100%;width:fit-content;}
.postbody .attachbox > dd:has(> .rd-image-attachment) {display:inline-block;vertical-align:top;clear:none;max-width:100%;box-sizing:border-box;margin:4px 8px 4px 0;}
.postbody .attachbox > dt {display:block;}
.rd-lightbox:not([open]) {display:none!important;}
.rd-lightbox img {display:block;width:auto!important;height:auto!important;max-width:88vw!important;max-height:85vh!important;max-height:85dvh!important;image-orientation:from-image;touch-action:pan-y;}
.rd-lightbox button[hidden] {display:none!important;}
.rd-lightbox .rd-lb-close {top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));}
.rd-lb-count {position:absolute;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);color:#fff;background:#211e1b;padding:4px 12px;border-radius:6px;pointer-events:none;}
@media (max-width:760px) {
 #postform {width:100%;min-width:0;max-width:100%;}
 #postform #format-buttons select,#postform #format-buttons input,#postform #format-buttons button,#postform #format-buttons span {box-sizing:border-box;min-width:0;max-width:100%;}
 #postform #format-buttons {overflow-wrap:anywhere;}
 #postform fieldset dd label:has(input[name="icon"]) {display:inline-flex;align-items:center;gap:3px;max-width:100%;}
 #postform #smiley-box,#postform .submit-buttons {overflow-wrap:anywhere;}
 #postform .rd-upload .rd-picker {min-height:44px;}
 #postform .rd-upload,#postform #attach-panel {margin-inline:0!important;}
 #postform #attach-panel .file-list-container {margin-inline:0!important;padding:0!important;}
 #postform #attach-panel .attach-controls {min-width:0;}
 #postform #attach-panel .attach-controls .button2 {min-height:38px;}
}
