html,body { background:#050c10; color:#e0e5e8; }
#wrap { max-width:1200px; border:1px solid #6f5422; background:#08131b; }
.headerbar { background:linear-gradient(120deg,#102635,#060e15); border-bottom:2px solid #bd913f; }
#site-description h1 { color:#f2c465; font-family:Georgia,serif; }
.navbar,.panel,.forabg,.forumbg { background:#10232e; color:#e0e5e8; }
.forabg,.forumbg { border:1px solid #705628; }
ul.forums { background:#0a1821; }
li.row:hover,.bg1,.bg2,.bg3 { background:#11242e; }
a,a:visited,a.forumtitle,a.topictitle { color:#f2c465; }
a:hover { color:#fff0c1; }
.content,.postbody,.postprofile,.signature,.topiclist dt,.topiclist dd { color:#d5dfe5; }
.inputbox { background:#071017; color:#eef4f8; border-color:#92703a; }
.button,.button1,.button2 { background:#624818; color:#fff3d5; border-color:#c29a4d; }
.button:hover,.button1:hover,.button2:hover { background:#7a5920; color:white; }
.copyright { color:#aebfc9; }
:focus-visible { outline:2px solid #f2c465; outline-offset:3px; }

/* Keep text and background paired, including prosilver quick-login overrides. */
#wrap input.inputbox,
#wrap textarea.inputbox,
#wrap input.inputbox:hover,
#wrap textarea.inputbox:hover,
#wrap input.inputbox:focus,
#wrap textarea.inputbox:focus {
    background-color:#071017;
    color:#eef4f8;
    caret-color:#f2c465;
    border-color:#92703a;
    -webkit-text-fill-color:#eef4f8;
}
#wrap .inputbox::placeholder { color:#aebfc9; opacity:1; }
#wrap input.inputbox:autofill {
    color:#eef4f8;
    background-color:#071017;
}
#wrap input.inputbox:-webkit-autofill,
#wrap input.inputbox:-webkit-autofill:hover,
#wrap input.inputbox:-webkit-autofill:focus {
    -webkit-text-fill-color:#eef4f8;
    -webkit-box-shadow:0 0 0 1000px #071017 inset;
    caret-color:#f2c465;
}

/* Labels must remain readable on the dark forum panels. */
#wrap fieldset label,
#wrap fieldset dt label,
#wrap fieldset.quick-login label,
#wrap .panel h2,
#wrap .panel h3 { color:#e0e5e8; }

/* Dziedzice Gromu: community theme, 2026-10. Native phpBB controls retained. */
:root { --dg-bg:#060e15; --dg-panel:#101e29; --dg-line:#30404b; --dg-gold:#e9bd6b; --dg-text:#e3eaf0; --dg-muted:#abbcca; }
html,body { background:#060e15; color:var(--dg-text); font-family:Arial,Helvetica,sans-serif; font-size:14px; }
body { padding:28px 20px; background-image:radial-gradient(ellipse at 50% 0,#133548 0,transparent 60%); }
#wrap { max-width:1240px; min-width:0; margin:auto; padding:0 24px 22px; border:1px solid #39413f; border-radius:12px; background:#09141e; box-shadow:0 24px 70px #0006; }
#page-header .headerbar { position:relative; isolation:isolate; overflow:hidden; min-height:360px; padding:30px 36px 32px; margin:0 -24px; border:0; border-bottom:1px solid #a07f45; border-radius:11px 11px 0 0; background:linear-gradient(90deg,#07131bf5 0%,#07131bbf 44%,#07131b18 82%),url('./images/dg-forum-gate.png') center 45%/cover no-repeat; }
#site-description { display:none; }
.dg-brand { display:flex; align-items:center; gap:22px; position:relative; z-index:1; }
.dg-brand-link { display:flex; gap:12px; align-items:center; text-decoration:none!important; }
.dg-sigil { display:grid; place-items:center; width:48px; height:58px; color:#7dd8ff; font-size:54px; line-height:1; border:1px solid #b19054; border-radius:50%; text-shadow:0 0 18px #46b9ed; }
.dg-wordmark { font-family:Georgia,serif; color:#f3d694; line-height:1.03; letter-spacing:2px; }
.dg-wordmark span { display:block; font-size:13px; }
.dg-wordmark strong { font-size:30px; font-weight:normal; }
.dg-community { color:#c4d3dc; border-left:1px solid #667273; padding-left:22px; letter-spacing:2px; font-size:10px; }
.dg-hero-copy { max-width:610px; padding-top:40px; }
.dg-eyebrow { color:var(--dg-gold); letter-spacing:3px; font-size:10px; }
.dg-hero-copy h1 { font-family:Georgia,serif; font-size:38px; line-height:1.16; font-weight:normal; color:#f5eee0; margin:14px 0; text-shadow:0 2px 10px #0008; }
.dg-hero-copy p { color:#c0d0dc; max-width:490px; line-height:1.65; font-size:14px; margin:0 0 22px; }
.dg-hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.dg-cta { display:inline-flex; align-items:center; gap:22px; padding:12px 18px; border:1px solid #b59459; border-radius:4px; background:#cfac67; color:#14202a!important; font-weight:bold; font-size:12px; text-decoration:none!important; }
.dg-cta:hover { background:#f0d299; }
.dg-cta-secondary { background:#0b1a24cc; color:#e7ce98!important; border-color:#65706b; }
.dg-cta-secondary:hover { background:#1b3140; }
#search-box { position:absolute; top:34px; right:34px; margin:0; background:#07131bd9; border:1px solid #69706b; border-radius:5px; box-shadow:none; }
#search-box .inputbox { width:155px; min-height:34px; border:0; }
#search-box .button { min-height:34px; border:0; background:transparent; color:#e9bd6b; }
#page-header .navbar { padding:10px 0 0; background:transparent; border-radius:0; border-bottom:1px solid var(--dg-line); margin-bottom:24px; }
.navbar { background:#101e29; border:1px solid #2c404c; border-radius:6px; padding:8px 14px; }
#nav-main { padding:5px 0 13px; }
.navlinks { border-color:#30414d; padding-top:9px; }
.linklist > li { font-size:12px; line-height:1.7; }
.linklist a { color:#dcc79e; }
#page-body { margin:20px 0; }
#page-body > h2, .content h2 { color:#efe6d6; font-family:Georgia,serif; font-size:26px; font-weight:normal; }
h3,#wrap h3 a { color:#d9bd84; border-bottom-color:#354854; }
a,a:visited,a.forumtitle,a.topictitle { color:#e9c480; }
a:hover { color:#fff0ce; text-decoration:underline; }
p,li,dd { line-height:1.5; }
.forabg,.forumbg { border:1px solid #3a454b; background:#12232f; border-radius:8px; padding:0 12px 8px; margin:22px 0; overflow:hidden; }
ul.topiclist li.header { padding:14px 0; }
li.header dt,li.header dd { color:#afc1cf; font-family:Arial,sans-serif; font-size:10px; letter-spacing:1px; }
li.header dt { color:#efd39d; font-weight:bold; }
ul.forums,ul.topiclist.bg1,ul.topiclist.bg2 { background:transparent; }
li.row { border-top:1px solid #304551; border-bottom:0; padding:12px 0; transition:background-color .15s; }
li.row:hover { background:#192e3c; }
li.row strong { color:#e6cf9f; }
li.row dd { border-left-color:#2e424e; color:#b2c4d0; }
ul.topiclist dt .list-inner { padding-top:4px; padding-bottom:4px; }
a.forumtitle { font-family:Georgia,serif; font-size:19px; font-weight:normal; }
a.topictitle { font-size:15px; }
.forum_unread,.forum_unread_subforum,.forum_unread_locked { filter:drop-shadow(0 0 4px #b88839); }
dd.lastpost { font-size:11px; line-height:1.6; }
.topiclist dd.posts,.topiclist dd.topics,.topiclist dd.views { font-size:13px; }
.panel,.post,.bg1,.bg2,.bg3 { background:#10222e; color:#e3eaf0; border-radius:7px; }
.panel { padding:18px 22px; margin:16px 0; border:1px solid #314653; }
.post { border:1px solid #314653; padding:20px 22px; margin:14px 0; }
.postprofile { border-color:#3a4e5c; color:#c6d3de; }
.postprofile dd,.postprofile dt { line-height:1.65; }
.postbody .content { font-size:15px; line-height:1.85; color:#dce5ec; }
#wrap .postbody .content { color:#dce5ec; }
#wrap .postprofile strong { color:#c6d3de; }
.content,.postbody,.signature,.topiclist dt,.topiclist dd { color:#d7e1e9; }
.postbody h3 { font-size:21px; }
blockquote { background:#0a1822; border:1px solid #3d505b; border-left:3px solid #c8a35c; border-radius:4px; color:#dce5ec; padding:14px; }
blockquote blockquote { background:#152937; }
.codebox { background:#071119; border-color:#3a4f5e; }
.codebox p { border-color:#3a4f5e; color:#bfcfd9; }
.codebox code { color:#9cddc9; }
.attachbox { background:#142632; border-color:#3e5261; }
#wrap fieldset label,#wrap fieldset dt label,#wrap fieldset.quick-login label { color:#d6e1e9; font-size:13px; }
#wrap input.inputbox,#wrap textarea.inputbox,#wrap select { background:#07131d; color:#edf4fa; border:1px solid #536674; border-radius:4px; padding:9px 10px; box-sizing:border-box; caret-color:#f4cd83; -webkit-text-fill-color:#edf4fa; }
#wrap input.inputbox:hover,#wrap textarea.inputbox:hover { border-color:#a58c61; }
#wrap input.inputbox:focus,#wrap textarea.inputbox:focus { border-color:#ecc47c; background:#0b1c29; color:#fff; -webkit-text-fill-color:#fff; box-shadow:0 0 0 2px #d7b37025; }
#wrap .inputbox::placeholder { color:#9aafc0; opacity:1; }
#wrap input.inputbox:-webkit-autofill { -webkit-text-fill-color:#edf4fa; -webkit-box-shadow:0 0 0 1000px #07131d inset; }
#wrap select option { background:#10222e; color:#edf4fa; }
fieldset.quick-login { display:flex; gap:14px; flex-wrap:wrap; align-items:center; padding:20px; border:1px solid #3b4b56; border-radius:7px; background:#10222e; }
fieldset.quick-login label { display:flex; gap:8px; align-items:center; }
fieldset.quick-login input.inputbox { width:170px; }
#wrap .button,#wrap .button1,#wrap .button2,#wrap .button3 { background:linear-gradient(#d2b06f,#af8848); color:#101a21; border:1px solid #deb97a; border-radius:4px; padding:8px 14px; min-height:34px; box-sizing:border-box; font-size:12px; font-weight:bold; text-shadow:none; box-shadow:none; -webkit-text-fill-color:initial; }
#wrap .button:hover,#wrap input.button1:hover,#wrap input.button2:hover { background:#eed29b; color:#101a21; }
#wrap .button .icon { color:inherit; }
#wrap .pagination li a { background:#172d3b; color:#e6d0a9; border-color:#52616b; }
#wrap .pagination li.active span { background:#d3ae68; color:#12202b; border-color:#d3ae68; }
.dropdown .dropdown-contents { background:#142936; border-color:#627077; color:#e3eaf0; box-shadow:0 8px 30px #0006; }
.dropdown .pointer-inner { border-color:#142936 transparent; }
.dropdown li,.notification_list li { border-color:#37505e; }
.dropdown a,.notification_list p { color:#e1eaf1; }
.notification_list .bg2 { background:#213c4c; }
#tabs .tab > a,#minitabs .tab > a { background:#142b3a; color:#d7e2e9; border-color:#425561; }
#tabs .activetab > a,#minitabs .activetab > a { background:#d0ae6f; color:#101b23; }
#navigation a { background:#102431; color:#dfc593; }
#navigation #active-subsection a,#navigation a:hover { background:#294353; color:#fff; }
#cp-main .panel { border:1px solid #3b5362; }
#cp-main h2 { color:#e8d9bb; }
.error { color:#ffb8ae; }
.successbox { background:#15342e; border-color:#557e6b; color:#d5f2e4; }
.errorbox { background:#3b252b; border-color:#a16a70; color:#ffe1dd; }
.stat-block { margin:26px 0; color:#b6c8d5; font-size:12px; }
.stat-block h3 { font-size:12px; letter-spacing:1px; padding-bottom:10px; }
.footer-row,.copyright { color:#94abba; font-size:11px; line-height:1.8; }
#page-footer { padding-top:12px; }
:focus-visible { outline:2px solid #f0ce8d; outline-offset:3px; }
@media(max-width:950px) {
 #page-header .headerbar { padding:26px; min-height:350px; }
 .dg-community { display:none; }
 #search-box { right:26px; top:35px; }
 .dg-hero-copy h1 { font-size:33px; }
}
@media(max-width:700px) {
 body { padding:0; }
 #wrap { padding:0 14px 16px; border:0; border-radius:0; }
 #page-header .headerbar { margin:0 -14px; padding:24px 20px; border-radius:0; min-height:0; background-position:62% center; }
 .dg-wordmark strong { font-size:26px; }
 .dg-sigil { width:38px; height:46px; font-size:43px; }
 .dg-hero-copy { padding-top:28px; }
 .dg-hero-copy h1 { font-size:29px; }
 .dg-hero-copy p { font-size:13px; }
 #search-box { display:none; }
 .dg-hero-actions { gap:9px; }
 .dg-cta { font-size:11px; padding:11px 13px; gap:10px; }
 .forabg,.forumbg { padding:0 8px 6px; }
 a.forumtitle { font-size:17px; }
 li.row { padding:12px 0; }
 .post,.panel { padding:15px; }
 .postbody .content { font-size:14px; }
 fieldset.quick-login { display:grid; padding:16px; gap:12px; }
 fieldset.quick-login label { display:grid; gap:6px; }
 fieldset.quick-login input.inputbox { width:100%; }
 .dg-hero-actions a { flex-grow:1; justify-content:center; }
}
@media(prefers-reduced-motion:reduce) { li.row { transition:none; } }

#wrap #search-box .button { height:36px; min-height:36px; padding:6px 10px; line-height:22px; background:transparent; color:#e9bd6b; border:0; }
#wrap #search-box .inputbox { height:36px; padding:8px 10px; }
.headerbar:has(.dg-compact) { min-height:230px!important; }
.dg-hero-copy.dg-compact { padding-top:24px; }
.dg-compact h1 { font-size:27px; }
.dg-compact h1 br { display:none; }
.dg-compact p,.dg-compact .dg-hero-actions { display:none; }
ul.forums .row .row-item { background-image:url('./images/dg-scroll.svg'); background-size:38px; background-position:4px center; }
ul.forums .row:nth-child(2) .row-item { background-image:url('./images/dg-swords.svg'); }
ul.forums .row:nth-child(3) .row-item { background-image:url('./images/dg-book.svg'); }
ul.forums .row:nth-child(4) .row-item { background-image:url('./images/dg-shield.svg'); }
ul.forums .row:nth-child(5) .row-item { background-image:url('./images/dg-compass.svg'); }
ul.forums .row .row-item[class*="unread"] { border-left:3px solid #f3c66e; }
ul.forums .row .row-item[class*="locked"] { background-image:url('./images/dg-shield.svg'); }
ul.forums .row dt .list-inner { padding-left:50px; }
@media(max-width:700px) { .dg-compact h1 { font-size:23px; } .headerbar:has(.dg-compact) { min-height:180px!important; } }
