/* KBK Social Premium — GPL-2.0; original prosilver assets retained. */
:root{--kbk-bg:#eef2f7;--kbk-surface:#fff;--kbk-ink:#17263a;--kbk-muted:#52647a;--kbk-line:#dce4ee;--kbk-accent:#2459c4;--kbk-navy:#14243c;--kbk-soft:#f5f8fc;--kbk-shadow:0 4px 18px rgba(24,42,70,.06)}
html,body{background:var(--kbk-bg);color:var(--kbk-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}body{padding:0}#wrap.wrap{max-width:1440px;min-width:0;margin:0 auto;padding:20px 28px;border:0;background:transparent;box-sizing:border-box}a{color:var(--kbk-accent)}a:hover{color:#173e92}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #5289ff;outline-offset:3px}h1,h2,h3{font-family:inherit;color:var(--kbk-ink)}
.headerbar{background:var(--kbk-navy);background-image:none;border-radius:14px 14px 0 0;padding:20px 24px;margin:0;color:#fff;min-height:64px}.headerbar h1{font-size:24px;color:#fff;margin:4px 0;font-weight:750}.headerbar p{color:#c4d1e4;font-size:12px}.headerbar .logo{padding:0 14px 0 0}.kbk-brand-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#3269dc;color:#fff;font-size:30px;font-weight:850;letter-spacing:-3px;position:relative}.kbk-brand-mark span{position:absolute;right:6px;bottom:3px;font-size:18px;color:#a9c8ff}.search-header{margin-top:13px;box-shadow:none}.kbk-primary{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#203652;padding:9px 18px;border-radius:0 0 12px 12px}.kbk-primary a{color:#e6edf8;padding:9px 12px;border-radius:7px;font-weight:600;text-decoration:none}.kbk-primary a:hover{background:#344e70;color:white}.kbk-primary .kbk-home{margin-inline-start:auto}.navbar{background:var(--kbk-surface);border:1px solid var(--kbk-line);border-radius:10px;margin:12px 0;padding:8px 12px;box-shadow:var(--kbk-shadow)}.page-body{margin-top:18px}.time{color:var(--kbk-muted);font-size:11px}
.kbk-intro{clear:both;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;margin:16px 0 22px;border-radius:14px;background:linear-gradient(110deg,#172b49,#244b83);color:#e0eaff}.kbk-intro h2{font-size:26px;color:#fff;margin:8px 0;font-weight:750}.kbk-intro p{margin:0;font-size:14px}.kbk-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750}.kbk-cta{background:#fff;color:#204c9d;padding:12px 16px;border-radius:8px;white-space:nowrap;font-weight:700}.kbk-index-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.kbk-forums,.kbk-sidebar{min-width:0}.kbk-side-card,.stat-block,.headerspace{background:var(--kbk-surface);border:1px solid var(--kbk-line);border-radius:12px;padding:18px;margin:0 0 16px;box-shadow:var(--kbk-shadow)}.kbk-side-card h3,.stat-block h3{margin:8px 0 12px;padding-bottom:10px;border-bottom:1px solid var(--kbk-line);font-size:15px;text-transform:none}.kbk-side-card a{display:block;padding:9px 0;border-bottom:1px solid var(--kbk-line);font-weight:600}.stat-block p{font-size:12px;line-height:1.8;color:var(--kbk-muted);margin:0;overflow-wrap:anywhere}
.forabg,.forumbg{background:var(--kbk-surface);background-image:none;border:1px solid var(--kbk-line);border-radius:12px;padding:0;margin-bottom:18px;box-shadow:var(--kbk-shadow)}ul.topiclist li.header{background:#e4ebf5;border-radius:11px 11px 0 0;padding:10px 12px;color:var(--kbk-ink)}li.header dl.row-item dt,li.header dl.row-item dd,li.header a{color:#263d5b;font-weight:700;text-transform:none;font-size:12px}li.header dt .list-inner{font-size:15px}ul.forums{background:var(--kbk-surface);background-image:none;border-radius:0 0 12px 12px}li.row{background:var(--kbk-surface);border:0;border-top:1px solid var(--kbk-line);padding:5px 12px;transition:background .15s ease}li.row:hover{background:var(--kbk-soft)}li.row:last-child{border-radius:0 0 12px 12px}li.row strong{color:inherit}li.row .list-inner{padding-top:12px;padding-bottom:12px;color:var(--kbk-muted);font-size:12px;line-height:1.55}a.forumtitle,a.topictitle{font-size:15px;font-weight:700;color:var(--kbk-ink)}a.forumtitle:hover,a.topictitle:hover{color:var(--kbk-accent)}dd.topics,dd.posts,dd.views{color:var(--kbk-muted);font-size:13px}dd.lastpost{font-size:11px;color:var(--kbk-muted)}a.lastsubject{font-size:12px;font-weight:650;color:var(--kbk-accent)}.row-item{background-position:8px 50%}.row-item dt .list-inner{padding-left:54px}ul.topiclist dd{border-left-color:transparent}
.post,.panel,.bg1,.bg2,.bg3{background:var(--kbk-surface);color:var(--kbk-ink)}.post,.panel{border:1px solid var(--kbk-line);border-radius:12px;padding:18px;margin-bottom:14px;box-shadow:var(--kbk-shadow)}.postprofile{border-color:var(--kbk-line);color:var(--kbk-muted)}.postprofile .avatar img{border-radius:12px}.content{font-family:inherit;font-size:14px;line-height:1.75;color:var(--kbk-ink)}blockquote,.codebox{background:var(--kbk-soft);border:1px solid var(--kbk-line);border-radius:8px}.signature{border-color:var(--kbk-line);color:var(--kbk-muted)}.button,input.button1,input.button2{background:#fff;background-image:none;border:1px solid #b9c8db;border-radius:7px;color:#23466e;box-shadow:none;padding:6px 10px;text-shadow:none}.button:hover,input.button1:hover,input.button2:hover{background:#e8effa;color:#173e92;border-color:#8da8ce}.button1,.button.button-icon-only{font-weight:600}.inputbox,select{border:1px solid #b9c8db;border-radius:6px;background:#fff;color:var(--kbk-ink);padding:5px}.dropdown .dropdown-contents{border-radius:9px;border-color:var(--kbk-line);box-shadow:0 8px 25px #14243c22}.pagination li.active span{background:#2459c4;border-color:#2459c4;color:white}.tabs .tab>a,.minitabs .tab>a{background:#e4ebf5;color:#263d5b;border-radius:7px 7px 0 0}.tabs .activetab>a,.minitabs .activetab>a{background:#fff;color:#2459c4}.copyright{color:var(--kbk-muted);padding:18px}.page-footer{margin-top:22px}
@media(max-width:1050px){.kbk-index-grid{grid-template-columns:minmax(0,1fr) 230px;gap:14px}}@media(max-width:900px){.kbk-index-grid{display:block}.kbk-sidebar{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.kbk-sidebar>*{margin:0}}@media(max-width:700px){#wrap.wrap{padding:10px;margin:0}.headerbar{padding:15px;min-height:0}.headerbar .site-description{width:100%;float:none;text-align:left}.headerbar .logo{display:block;float:left}.headerbar h1{display:block;font-size:20px}.headerbar .site-description p{display:block}.kbk-brand-mark{width:44px;height:44px;font-size:25px}.kbk-primary{padding:6px;gap:2px}.kbk-primary a{font-size:11px;padding:8px}.kbk-primary .kbk-home{margin-inline-start:0}.kbk-intro{display:block;padding:19px}.kbk-intro h2{font-size:21px}.kbk-intro p{font-size:12px}.kbk-cta{display:inline-block;margin-top:14px}.post,.panel{padding:12px}li.row{padding:3px 7px}ul.topiclist li.header{padding:8px}.row-item dt .list-inner{padding-left:48px}.kbk-sidebar{display:block}.kbk-sidebar>*{margin-bottom:12px}}@media(prefers-reduced-motion:reduce){li.row{transition:none}}@media print{.kbk-primary,.kbk-intro,.kbk-sidebar{display:none}.kbk-index-grid{display:block}#wrap.wrap{padding:0}}
/* 2.0 — Midnight technology design */
:root{color-scheme:dark;--kbk-bg:#071426;--kbk-surface:#10243e;--kbk-ink:#eaf3ff;--kbk-muted:#a9bed8;--kbk-line:#294767;--kbk-accent:#70c8ff;--kbk-navy:#081a32;--kbk-soft:#172f4e;--kbk-shadow:0 8px 24px #0003}
html,body{background:#071426;color:var(--kbk-ink)}body{background:radial-gradient(ellipse at 70% 0,#153866 0,transparent 45%),#071426}#wrap.wrap{width:100%;max-width:1600px;padding:0 32px 24px}a:hover{color:#a7e1ff}.headerbar{background:linear-gradient(105deg,#08182e,#102f58 65%,#08182e);border-radius:0;padding:24px 18px;border-bottom:1px solid #25476b}.headerbar .site-description{width:65%}.headerbar h1{font-size:27px}.headerbar p{font-size:13px}.kbk-wordmark{display:block;font-size:30px;font-weight:900;letter-spacing:-1.8px;color:#fff;line-height:52px;padding-right:20px;border-right:1px solid #7390b2;white-space:nowrap}.kbk-wordmark span{color:#37bfff}.kbk-primary{background:#0b203b;border:1px solid #284667;border-radius:0 0 10px 10px;padding:8px 12px}.kbk-primary a{font-size:14px;padding:11px 15px}.kbk-primary a:first-child,.kbk-cta{background:linear-gradient(#0798f5,#0752b8);color:#fff;border:1px solid #36baff;box-shadow:0 3px 12px #007bff33}.kbk-primary a:hover{background:#204b7d}.navbar{background:#0d2039;color:var(--kbk-muted);box-shadow:none}.navbar a,.navbar .icon{color:#c4dcf8}.kbk-index-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.kbk-intro{min-height:182px;box-sizing:border-box;margin:0 0 15px;border:1px solid #2489d4;border-radius:10px;background:linear-gradient(90deg,#0b2140 5%,#0b2140ee 38%,#0b214000 100%),url('images/kbk-hero.svg') right center/auto 100% no-repeat,#0b2140;padding:25px 28px}.kbk-intro>div{max-width:65%}.kbk-intro h2{font-size:clamp(24px,2.4vw,36px);line-height:1.15;margin:8px 0 12px}.kbk-intro h2 em{font-style:normal;color:#56caff}.kbk-intro p{line-height:1.55;font-size:15px}.kbk-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.kbk-cta,.kbk-secondary{display:inline-block;border-radius:7px;padding:10px 15px;font-weight:700}.kbk-secondary{border:1px solid #6484a8;color:#eaf3ff;background:#0a192e}.kbk-metrics{display:flex;justify-content:space-around;gap:10px;flex-wrap:wrap;background:linear-gradient(110deg,#122c4c,#0c203a);border:1px solid var(--kbk-line);border-radius:9px;padding:18px 12px;margin-bottom:18px;color:#eaf3ff;font-size:14px}.kbk-metrics .icon{color:#70c8ff;margin-right:5px;font-size:20px}.forabg,.forumbg{border-radius:9px;overflow:hidden;background:#10243e;margin-bottom:16px}ul.topiclist li.header{background:linear-gradient(115deg,#073e86,#0865c7 80%,#128ce8);border-radius:0;padding:13px 12px}li.header dl.row-item dt,li.header dl.row-item dd,li.header a{color:#fff!important;font-size:12px}li.header dt .list-inner,li.header dt a{font-size:17px!important;font-weight:750}li.header dt .list-inner:before{content:'◆';color:#a5dfff;margin-right:10px}ul.forums,ul.topiclist{background:transparent}li.row{background:#10243e;padding:7px 12px;border-top:1px solid #294767}li.row:nth-child(even){background:#122942}li.row:hover{background:#1a385b}li.row .list-inner{font-size:13px;color:#b3c7df;padding-top:10px;padding-bottom:10px}a.forumtitle,a.topictitle{color:#f1f6ff;font-size:16px}dd.topics,dd.posts,dd.views,dd.lastpost{color:#b6cbe3}dd.lastpost a{color:#b7ddff}a.lastsubject{color:#e4f2ff;font-size:13px}dl.row-item{background-position:8px center}.forums dl.row-item{background-image:none}.forums dl.row-item dt{position:relative}.forums dl.row-item dt:before{content:'\f0e6';font-family:FontAwesome;position:absolute;left:3px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#203e61;color:#b9ddff;font-size:21px;pointer-events:none}.forums dl[class*="unread"] dt:before{background:#0754a4;color:#fff}.kbk-side-card,.stat-block,.headerspace{background:#10243e;border-radius:9px;padding:15px;box-shadow:none}.kbk-side-card h3,.stat-block h3{background:#143357;margin:-15px -15px 10px;padding:12px 15px;border-radius:8px 8px 0 0;color:#f0f6ff;font-size:17px}.kbk-side-card a{color:#d9ebff;font-size:14px}.kbk-recent small{display:block;color:#a9bed8;font-size:11px;margin-top:5px;font-weight:400}.kbk-recent[hidden]{display:none}.stat-block p{font-size:13px}.post,.panel,.bg1,.bg2,.bg3,.cp-mini,.ucp-main .panel{background:#10243e;color:var(--kbk-ink)}.content,.postbody,.postprofile,.postprofile strong,.postbody h3 a,fieldset dl dt label,label,legend,.details dt,.details dd,.attachbox,.attachbox dt,.attachbox dd{color:var(--kbk-ink)}.postprofile,.signature,fieldset dl:hover dt label{border-color:var(--kbk-line);color:var(--kbk-muted)}.button,input.button1,input.button2,.inputbox,select,textarea{background:#0b1d34;color:#eaf3ff;border-color:#426589}.button:hover,input.button1:hover,input.button2:hover{background:#204b7d;color:#fff;border-color:#70c8ff}.inputbox:hover,.inputbox:focus{border-color:#70c8ff;color:#fff}.dropdown .dropdown-contents,.dropdown-extended .header,.dropdown-extended .footer,.dropdown-extended ul li,.notification_list{background:#10243e;color:#eaf3ff;border-color:#294767}.dropdown li a,.dropdown-extended a{color:#d9ebff}.dropdown li:hover,.dropdown-extended ul li:hover{background:#1a385b}.tabs .tab>a,.minitabs .tab>a{background:#193656;color:#c6ddf8}.tabs .activetab>a,.minitabs .activetab>a{background:#10243e;color:#70c8ff}.navigation a,.navigation #active-subsection a{background:#173451;color:#eaf3ff}.pagination li a{background:#142d4b;color:#d9ebff;border-color:#426589}blockquote,.codebox,.attachbox{background:#0a1c32;border-color:#355578;color:#eaf3ff}.codebox code{color:#b9e6ff}.rules{background:#422a30;color:#ffe2df}.copyright,.copyright a{color:#a9bed8}.search-header{border-radius:8px;background:#0b1d34}.search-header .inputbox{width:180px}.icon.icon-lightgray,.icon.icon-gray{color:#a9bed8}.time{color:#a9bed8}
@media(max-width:1150px){.kbk-index-grid{grid-template-columns:minmax(0,1fr) 260px}#wrap.wrap{padding-inline:18px}.kbk-intro>div{max-width:80%}}@media(max-width:900px){.kbk-index-grid{display:block}.kbk-sidebar{margin-top:16px}.kbk-intro{background-position:right center}.headerbar .site-description{width:100%}}@media(max-width:700px){#wrap.wrap{padding:0 10px 15px}.kbk-wordmark{font-size:22px;line-height:34px;padding-right:10px}.headerbar h1{font-size:20px}.headerbar p{font-size:11px}.kbk-primary a{font-size:12px;padding:8px}.kbk-intro{padding:20px;min-height:0;background:linear-gradient(90deg,#0b2140,#0b2140d9),url('images/kbk-hero.svg') right center/auto 100% no-repeat}.kbk-intro>div{max-width:100%}.kbk-intro h2{font-size:25px}.kbk-intro p{font-size:13px}.kbk-metrics{font-size:12px;padding:12px}.forums dl.row-item dt:before{width:34px;height:34px;font-size:18px}.row-item dt .list-inner{padding-left:45px}li.row .list-inner{font-size:12px}a.forumtitle,a.topictitle{font-size:14px}li.header dt .list-inner,li.header dt a{font-size:15px!important}.kbk-sidebar{display:block}}

/* KBK hero 2.1 — scoped to index */
.kbk-intro.kbk-hero-v3{display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);gap:22px;min-height:290px;padding:26px;background:linear-gradient(90deg,#07162dfc 0%,#07162df0 35%,#07162d20 75%),url('images/kbk-hero.svg?v=2.1') right center/auto 100% no-repeat,#07162d;overflow:hidden;align-items:stretch}
.kbk-hero-v3>div{max-width:none;min-width:0}.kbk-hero-copy{align-self:center}.kbk-hero-v3 h2{font-size:clamp(23px,2.3vw,35px);line-height:1.15;letter-spacing:-.025em}.kbk-hero-v3 h2 em{display:block;color:#40e2ff}.kbk-hero-v3 .kbk-eyebrow{color:#c9e9ff;letter-spacing:.25em}.kbk-hero-v3 .kbk-eyebrow:after{content:'';display:inline-block;width:36px;height:2px;background:#40e2ff;vertical-align:middle;margin-left:12px}.kbk-hero-discovery{display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding-top:12px}.kbk-hero-nodes{display:flex;justify-content:space-around;gap:6px;align-items:center}.kbk-hero-nodes span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:9px 6px;border:1px solid #367ac3;border-radius:10px;background:#0b285be8;color:#e8f5ff;font-size:11px;flex:1;min-width:0}.kbk-hero-nodes span:nth-child(2n){transform:translateY(18px)}.kbk-hero-nodes i{font-size:22px}.kbk-hero-search{display:flex;align-items:center;border:1px solid #65ddff;border-radius:28px;background:#091d39f5;padding:4px;box-shadow:0 0 15px #00bfff33;margin-top:auto}.kbk-hero-search input{flex:1;min-width:0;background:transparent;border:0;color:#fff;padding:10px 12px;font:inherit;font-size:14px}.kbk-hero-search input::placeholder{color:#b9cce3}.kbk-hero-search button{border:0;border-radius:24px;background:#087de1;color:white;min-width:44px;min-height:36px;cursor:pointer}.kbk-hero-tags{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:11px;color:#d6e8ff}.kbk-hero-tags a{border:1px solid #5277a2;border-radius:20px;padding:4px 9px;background:#102b50;color:#eaf5ff}.kbk-hero-v3 a:focus-visible,.kbk-hero-v3 button:focus-visible,.kbk-hero-v3 input:focus-visible{outline:2px solid #8ceaff;outline-offset:2px}.kbk-hero-v3 .kbk-cta{margin-top:0}
@media(max-width:900px){.kbk-intro.kbk-hero-v3{grid-template-columns:1fr;min-height:0;padding:20px;background-size:auto 100%;gap:18px}.kbk-hero-nodes{display:none}.kbk-hero-discovery{padding:0;gap:10px}.kbk-hero-v3 h2{font-size:27px}}
@media print{.kbk-intro.kbk-hero-v3{display:none}}


/* KBK Social Premium 2.2.0 - Navigation */

#page-header .navbar {
    background: linear-gradient(135deg, #10243d, #0c1b30);
    border: 1px solid #294765;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,.14);
}

#page-header #nav-main {
    border: 0;
    padding: 0 0 12px;
}

#nav-main > li {
    margin: 3px 4px;
}

#nav-main > li > a,
#nav-main > li > .dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(108,170,235,.14);
    border-radius: 8px;
    background: rgba(67,125,190,.07);
    color: #d9e8fa;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: background .18s ease,
                border-color .18s ease,
                color .18s ease;
}

#nav-main > li > a:hover,
#nav-main > li > .dropdown-trigger:hover {
    background: #193b60;
    border-color: #387bb4;
    color: #fff;
}

#nav-main > li > a .icon {
    color: #79c9ff;
    font-size: 15px;
}

#nav-main a:focus-visible,
.kbk-contextbar a:focus-visible {
    outline: 2px solid #65c7ff;
    outline-offset: 3px;
}

#nav-main .dropdown-contents {
    background: #10243b;
    border: 1px solid #315777;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

#nav-main .dropdown-contents a {
    color: #dbeafe;
}

#nav-main .dropdown-contents a:hover {
    color: #7dd3fc;
}

#nav-breadcrumbs {
    border: 0 !important;
    background: rgba(0,0,0,.13);
    border-radius: 8px;
    padding: 11px 13px;
    margin: 0;
}

#nav-breadcrumbs .crumb a {
    color: #b9d5f2;
    font-size: 13px;
    font-weight: 600;
}

#nav-breadcrumbs .crumb:last-child a {
    color: #f1f7ff;
}

#nav-breadcrumbs .crumb .icon {
    color: #62baff;
}

/* Date and visit information */

.kbk-contextbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
    margin: 16px 0;
    background: linear-gradient(110deg, #10243b, #0d1d32);
    border: 1px solid #294765;
    border-radius: 12px;
}

.kbk-context-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.kbk-context-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: #173653;
    border: 1px solid #2d5375;
    border-radius: 9px;
    color: #72caff;
    font-size: 16px;
}

.kbk-context-icon .icon {
    color: inherit;
}

.kbk-context-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #afc7e0;
    line-height: 1.4;
}

.kbk-context-text strong {
    color: #edf6ff;
    font-size: 12px;
    font-weight: 700;
}

.kbk-context-action {
    margin-inline-start: auto;
}

.kbk-mark-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #2b587c;
    border-radius: 8px;
    background: #153451;
    color: #c8e6ff !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .18s ease,
                border-color .18s ease;
}

.kbk-mark-read .icon {
    color: #68c7ff;
}

.kbk-mark-read:hover {
    background: #204b70;
    border-color: #55b5f2;
}

@media (max-width: 700px) {
    #page-header .navbar {
        padding: 9px;
    }

    #nav-main > li > a,
    #nav-main > li > .dropdown-trigger {
        padding: 7px 9px;
        font-size: 12px;
    }

    .kbk-contextbar {
        gap: 12px;
        padding: 12px;
    }

    .kbk-context-item {
        flex: 1 1 160px;
    }

    .kbk-context-action {
        flex: 1 1 100%;
        margin: 0;
    }

    .kbk-mark-read {
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nav-main a,
    .kbk-mark-read {
        transition: none;
    }
}


/* KBK Social Premium 2.3.0 - Profile */

#nav-main #username_logged_in {
    margin-inline-start: 8px;
}

#username_logged_in > a.header-avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 6px 12px !important;
    background: linear-gradient(135deg, #193653, #10243c);
    border: 1px solid #365b80;
    border-radius: 9px;
    color: #edf6ff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    transition: background .2s ease,
                border-color .2s ease,
                box-shadow .2s ease;
}

#username_logged_in > a.header-avatar:hover,
#username_logged_in > a.header-avatar:focus-visible {
    background: #20486d;
    border-color: #65c7ff;
    box-shadow: 0 0 14px rgba(69,173,255,.15);
}

#username_logged_in .header-avatar .username,
#username_logged_in .header-avatar .username-coloured {
    color: #edf6ff !important;
    font-weight: 700;
}

#username_logged_in .header-avatar img {
    width: 30px !important;
    height: 30px !important;
    max-height: none !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #4a91c6;
    box-sizing: border-box;
    margin: 0 !important;
    vertical-align: middle;
}

#username_logged_in .header-avatar:not(:has(img))::before {
    content: "\f007";
    font-family: FontAwesome;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid #4385b7;
    border-radius: 50%;
    background: #214c72;
    color: #9edbff;
    font-size: 14px;
}

#username_logged_in .header-avatar .caret {
    color: #7acaff !important;
    border-top-color: #7acaff !important;
    margin-inline-start: 3px;
}

#username_logged_in .header-avatar .caret .icon {
    color: #7acaff !important;
}

#username_logged_in .dropdown-contents {
    min-width: 210px;
    padding: 8px !important;
    background: #10243b !important;
    border: 1px solid #365b80 !important;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0,0,0,.35);
}

#username_logged_in .dropdown-contents li {
    margin: 3px 0;
    border-color: #29445f;
}

#username_logged_in .dropdown-contents a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: #dcecff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .18s ease;
}

#username_logged_in .dropdown-contents a:hover {
    background: #1d4163;
    color: #ffffff !important;
}

#username_logged_in .dropdown-contents .icon {
    color: #75c8ff !important;
}

@media (max-width: 700px) {
    #nav-main #username_logged_in {
        margin-inline-start: 3px;
    }

    #username_logged_in > a.header-avatar {
        padding: 5px 8px !important;
        gap: 6px;
        min-height: 36px;
        font-size: 12px;
    }

    #username_logged_in .header-avatar img {
        width: 26px !important;
        height: 26px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #username_logged_in a {
        transition: none !important;
    }
}


/* ==================================================
   KBK SOCIAL PREMIUM 2.4.0
   Premium Forum Categories
   ================================================== */

#page-body .forabg {
    padding: 6px !important;
    margin-bottom: 20px !important;
    border: 1px solid #24659b !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg, #0b1d32, #09182b) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18),
                inset 0 0 20px rgba(32, 127, 220, .04);
}

#page-body .forabg .inner {
    margin: 0;
}

#page-body .forabg ul.topiclist:not(.forums) {
    background:
        linear-gradient(135deg,
            transparent 38%,
            rgba(80, 180, 255, .10) 38.2%,
            transparent 55%),
        linear-gradient(110deg,
            #102d54 0%,
            #084581 48%,
            #087ec3 100%) !important;
    border: 1px solid #287ec1;
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
    overflow: hidden;
}

#page-body .forabg li.header {
    padding: 15px 12px !important;
}

#page-body .forabg li.header dl {
    display: flow-root;
}

#page-body .forabg li.header dt,
#page-body .forabg li.header dd {
    color: #f0f7ff !important;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: .15px;
}

#page-body .forabg li.header dt a {
    color: #fff !important;
    font-size: 16px;
    font-weight: 750;
}

#page-body .forabg li.header dt a:hover {
    color: #bceaff !important;
    text-decoration: none;
}

#page-body .forabg li.header dd {
    font-size: 12px;
    border-color: rgba(153, 216, 255, .15) !important;
}

#page-body .forabg ul.forums {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

#page-body .forabg ul.forums > li.row {
    position: relative;
    margin: 8px 0 0 !important;
    padding: 7px 0 !important;
    border: 1px solid #204363 !important;
    border-radius: 11px !important;
    background: linear-gradient(110deg,
        #102940, #0d2239) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    transition: background .2s ease,
                border-color .2s ease,
                box-shadow .2s ease;
}

#page-body .forabg ul.forums > li.row:hover {
    background: linear-gradient(110deg,
        #163953, #102a45) !important;
    border-color: #3688c3 !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.14);
}

#page-body .forabg ul.forums > li.row::before {
    content: "";
    position: absolute;
    inset-inline-start: 3px;
    top: 13px;
    bottom: 13px;
    width: 2px;
    border-radius: 4px;
    background: #3287bc;
    pointer-events: none;
    transition: background .2s ease,
                box-shadow .2s ease;
}

#page-body .forabg ul.forums > li.row:hover::before {
    background: #56d7ff;
    box-shadow: 0 0 10px #209bdf;
}

#page-body .forabg ul.forums li.row dl {
    min-height: 66px;
}

#page-body .forabg ul.forums li.row dt {
    color: #a9c3df !important;
    font-size: 12px;
    line-height: 1.6;
}

#page-body .forabg a.forumtitle {
    display: inline-block;
    color: #edf6ff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    transition: color .18s ease;
}

#page-body .forabg a.forumtitle:hover {
    color: #6bd5ff !important;
    text-decoration: none;
}

#page-body .forabg ul.forums dd {
    border-inline-start: 1px solid
        rgba(109, 169, 221, .17) !important;
    border-inline-end: 0 !important;
    color: #c1d8ee !important;
}

#page-body .forabg ul.forums dd.topics,
#page-body .forabg ul.forums dd.posts {
    padding-top: 12px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #edf6ff !important;
}

#page-body .forabg ul.forums dd.topics::before,
#page-body .forabg ul.forums dd.posts::before {
    display: block;
    font-family: FontAwesome;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #77c8f7;
}

#page-body .forabg ul.forums dd.topics::before {
    content: "\f0e5";
}

#page-body .forabg ul.forums dd.posts::before {
    content: "\f0e6";
}

#page-body .forabg ul.forums dd.lastpost {
    font-size: 12px;
    line-height: 1.65;
}

#page-body .forabg ul.forums dd.lastpost a {
    color: #b5dfff;
}

#page-body .forabg ul.forums dd.lastpost a:hover {
    color: #fff;
}

/* Existing forum status icons */

#page-body .forabg ul.forums dl.row-item::before {
    border: 1px solid #367fae;
    border-radius: 12px;
    background: linear-gradient(145deg,
        #174b70, #102c49);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06),
                0 3px 9px rgba(0,0,0,.12);
}

#page-body .forabg ul.forums dl[class*="unread"]::before {
    border-color: #39b7f5;
    box-shadow: 0 0 12px rgba(39,170,245,.22);
}

/* Mobile */

@media (max-width: 700px) {
    #page-body .forabg {
        padding: 4px !important;
        border-radius: 12px !important;
        margin-bottom: 14px !important;
    }

    #page-body .forabg li.header {
        padding: 10px 8px !important;
    }

    #page-body .forabg li.header dt a {
        font-size: 14px;
    }

    #page-body .forabg ul.forums > li.row {
        padding: 5px 0 !important;
        border-radius: 9px !important;
    }

    #page-body .forabg a.forumtitle {
        font-size: 14px;
    }

    #page-body .forabg ul.forums li.row dt {
        font-size: 11px;
    }

    #page-body .forabg ul.forums dd.lastpost {
        border: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .forabg *,
    #page-body .forabg *::before {
        transition: none !important;
    }
}


/* KBK Social Premium 2.4.1 - Grid Layout */

#page-body .forabg {
    container-type: inline-size;
}

#page-body .forabg ul.topiclist > li > dl.row-item {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        76px
        76px
        minmax(0, 26%);
    align-items: stretch;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0 12px !important;
    margin: 0 !important;
    gap: 0;
}

#page-body .forabg ul.topiclist > li > dl.row-item::before,
#page-body .forabg ul.topiclist > li > dl.row-item::after {
    content: none !important;
    display: none !important;
}

/* Reset inherited prosilver float layout */

#page-body .forabg ul.topiclist > li > dl > dt,
#page-body .forabg ul.topiclist > li > dl > dd {
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    position: relative;
}

#page-body .forabg ul.topiclist > li > dl > dt {
    grid-column: 1;
    align-self: center;
}

#page-body .forabg ul.topiclist dt .list-inner {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

#page-body .forabg ul.forums dt .list-inner {
    padding: 12px 12px 12px 56px !important;
}

#page-body .forabg ul.topiclist > li.header {
    padding: 12px 0 !important;
}

#page-body .forabg li.header dt .list-inner {
    padding: 4px 8px !important;
}

#page-body .forabg ul.topiclist dd.topics {
    grid-column: 2;
}

#page-body .forabg ul.topiclist dd.posts {
    grid-column: 3;
}

#page-body .forabg ul.topiclist dd.lastpost {
    grid-column: 4;
}

/* Category column headings */

#page-body .forabg li.header dd {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 4px 6px !important;
    border: 0 !important;
    font-size: 11px !important;
    white-space: nowrap;
}

#page-body .forabg li.header dd.lastpost {
    justify-content: flex-start;
    padding-inline-start: 14px !important;
}

/* Statistics */

#page-body .forabg ul.forums dd.topics,
#page-body .forabg ul.forums dd.posts {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px !important;
    gap: 5px;
    text-align: center;
    line-height: 1.3;
    border: 0 !important;
    border-inline-start: 1px solid #24435e !important;
    font-size: 16px !important;
    font-variant-numeric: tabular-nums;
}

#page-body .forabg ul.forums dd.topics::before,
#page-body .forabg ul.forums dd.posts::before {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.2;
}

/* Last post */

#page-body .forabg ul.forums dd.lastpost {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 12px !important;
    border: 0 !important;
    border-inline-start: 1px solid #24435e !important;
    font-size: 11px !important;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#page-body .forabg ul.topiclist dd.lastpost > span {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

#page-body .forabg ul.forums a.lastsubject {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

#page-body .forabg ul.forums dd.lastpost time {
    color: #91abc5;
    font-size: 11px;
}

#page-body .forabg ul.forums dd.redirect {
    grid-column: 2 / -1;
    align-self: center;
    padding: 10px !important;
}

#page-body .forabg ul.forums dl > dd:not([class]) {
    grid-column: 2 / -1;
}

/* Forum icon */

#page-body .forabg ul.forums dl.row-item dt::before {
    left: 3px;
    width: 40px;
    height: 40px;
    border: 1px solid #315b80;
    box-sizing: border-box;
}

#page-body .forabg ul.forums dl[class*="unread"] dt::before {
    border-color: #419cde;
    box-shadow: 0 0 12px #168bdf30;
}

/* Compact forum layout */

@container (max-width: 680px) {

    #page-body .forabg ul.topiclist > li > dl.row-item {
        grid-template-columns:
            minmax(0, 1fr) 64px 64px;
        padding: 0 8px !important;
    }

    #page-body .forabg li.header dd.lastpost {
        display: none !important;
    }

    #page-body .forabg ul.forums dd.lastpost {
        grid-column: 1 / -1;
        border: 0 !important;
        border-top: 1px solid #24435e !important;
        margin-top: 6px !important;
        padding: 9px 8px 9px 56px !important;
    }

    #page-body .forabg ul.forums dd.topics,
    #page-body .forabg ul.forums dd.posts {
        font-size: 14px !important;
    }

    #page-body .forabg ul.forums dt .list-inner {
        padding-inline-start: 52px !important;
    }

    #page-body .forabg ul.forums .responsive-show {
        display: none !important;
    }
}

/* Small mobile screens */

@container (max-width: 400px) {

    #page-body .forabg ul.topiclist > li > dl.row-item {
        grid-template-columns: minmax(0, 1fr) 1fr;
    }

    #page-body .forabg li.header dt {
        grid-column: 1 / -1;
    }

    #page-body .forabg li.header dd {
        display: none !important;
    }

    #page-body .forabg ul.forums dt {
        grid-column: 1 / -1;
    }

    #page-body .forabg ul.forums dd.topics {
        grid-column: 1;
    }

    #page-body .forabg ul.forums dd.posts {
        grid-column: 2;
    }

    #page-body .forabg ul.forums dd.topics,
    #page-body .forabg ul.forums dd.posts {
        flex-direction: row;
        flex-wrap: wrap;
        border: 0 !important;
        border-top: 1px solid #24435e !important;
        padding: 8px !important;
        font-size: 12px !important;
    }

    #page-body .forabg ul.forums dd.topics dfn,
    #page-body .forabg ul.forums dd.posts dfn {
        display: inline !important;
        position: static !important;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        color: #a9bed8;
    }

    #page-body .forabg ul.forums dd.lastpost {
        padding: 10px 8px !important;
    }
}


/* KBK Social Premium 2.4.2 - Premium Category Headers */

#page-body .forabg {
    border-color: #2377b2 !important;
    box-shadow:
        0 8px 24px rgba(0,0,0,.22),
        inset 0 0 18px rgba(0,145,255,.035);
}

/* Premium category header */

#page-body .forabg ul.topiclist:not(.forums) {
    background: #0753a4 !important;
    border: 1px solid #299bdc !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 3px 12px rgba(0,105,220,.12);
}

#page-body .forabg li.header {
    background:
        linear-gradient(
            155deg,
            rgba(70,180,255,.13) 0%,
            transparent 42%
        ),
        linear-gradient(
            110deg,
            #08468e 0%,
            #075ab6 55%,
            #078bd1 100%
        ) !important;
    padding: 13px 0 !important;
    border-radius: 10px !important;
}

/* Category name */

#page-body .forabg li.header dt .list-inner,
#page-body .forabg li.header dt a {
    font-family: system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: -.35px;
    line-height: 1.5;
    color: #f5faff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.15);
}

#page-body .forabg li.header dt .list-inner::before {
    color: #9ceaff;
    font-size: 13px;
    margin-inline-end: 10px;
    text-shadow: 0 0 10px rgba(90,220,255,.65);
}

/* Column typography */

#page-body .forabg li.header dd.topics,
#page-body .forabg li.header dd.posts,
#page-body .forabg li.header dd.lastpost {
    font-family: system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: -.15px;
    line-height: 1.5;
    gap: 5px;
    color: #f1f8ff !important;
    border-inline-start:
        1px solid rgba(170,225,255,.18) !important;
}

/* Font Awesome column icons */

#page-body .forabg li.header dd.topics::before,
#page-body .forabg li.header dd.posts::before,
#page-body .forabg li.header dd.lastpost::before {
    display: inline-block;
    flex: 0 0 auto;
    font-family: FontAwesome !important;
    font-weight: normal !important;
    font-style: normal;
    font-size: 13px;
    line-height: 1;
    color: #9ceaff;
    text-shadow: 0 0 8px rgba(75,210,255,.25);
}

#page-body .forabg li.header dd.topics::before {
    content: "\f0e5";
}

#page-body .forabg li.header dd.posts::before {
    content: "\f0e6";
}

#page-body .forabg li.header dd.lastpost::before {
    content: "\f017";
}

#page-body .forabg li.header dd.lastpost > span {
    width: auto !important;
}

/* Forum title typography */

#page-body .forabg ul.forums a.forumtitle {
    font-family: system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -.25px;
    line-height: 1.5;
}

#page-body .forabg ul.forums dt .list-inner {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    color: #afc7df !important;
}

/* Premium forum status icons */

#page-body .forabg ul.forums dl.row-item dt::before {
    background: linear-gradient(145deg,#173c60,#102b46);
    border-color: #2d6b97;
    color: #a4ddff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

#page-body .forabg ul.forums dl[class*="unread"] dt::before {
    background: linear-gradient(145deg,#0969b9,#10427c);
    border-color: #36baff;
    color: #d4f7ff;
    box-shadow: 0 0 12px rgba(0,170,255,.25);
}

#page-body .forabg ul.forums li.row:hover dt::before {
    color: #c9f7ff;
    border-color: #45b5ed;
    box-shadow: 0 0 12px rgba(0,160,255,.16);
}

/* Compact layout: keep icons and labels inside columns */

@container (max-width: 680px) {
    #page-body .forabg li.header dd.topics,
    #page-body .forabg li.header dd.posts {
        flex-direction: column;
        gap: 4px;
        font-size: 10px !important;
    }

    #page-body .forabg li.header dt .list-inner,
    #page-body .forabg li.header dt a {
        font-size: 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .forabg ul.forums dl.row-item dt::before {
        transition: none;
    }
}


/* KBK SOCIAL PREMIUM 2.5.0 — Community Sidebar */

.kbk-sidebar {
    min-width: 0;
}

.kbk-sidebar .kbk-side-card,
.kbk-sidebar .stat-block {
    padding: 0 !important;
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid #315372;
    border-radius: 13px;
    background: linear-gradient(145deg,#10263e,#0c1d31);
    box-shadow: 0 6px 20px #0002;
}

.kbk-sidebar .kbk-recent[hidden] {
    display: none !important;
}

.kbk-sidebar h3.kbk-sb-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 13px !important;
    min-height: 32px;
    border: 0;
    border-bottom: 1px solid #315372;
    border-radius: 0;
    background: linear-gradient(110deg,#193b5c,#122a43);
    color: #edf6ff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: -.2px;
}

.kbk-sidebar .kbk-sb-heading a {
    display: inline;
    padding: 0;
    border: 0;
    font: inherit;
    color: inherit;
}

.kbk-sb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid #ffffff12;
    border-radius: 10px;
    font-size: 16px;
}

.kbk-sb-heading .kbk-sb-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 15px;
}

.kbk-sb-blue {
    background: #183f62;
    color: #83d4ff;
}

.kbk-sb-purple {
    background: #332b50;
    color: #c9b4ff;
}

.kbk-sb-green {
    background: #153f3b;
    color: #65e4ae;
}

.kbk-sb-amber {
    background: #423522;
    color: #ffd084;
}

.kbk-sidebar .kbk-recent-list {
    padding: 7px;
}

.kbk-sidebar a.kbk-sb-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 5px 7px;
    padding: 10px 8px;
    border: 1px solid transparent;
    border-bottom-color: #29445e;
    border-radius: 8px;
    color: #e5f1ff;
    text-decoration: none !important;
    transition: background .18s ease,border-color .18s ease;
}

.kbk-sidebar .kbk-recent-list a.kbk-sb-link {
    margin: 0;
}

.kbk-sidebar a.kbk-sb-link:last-child {
    border-bottom-color: transparent;
}

.kbk-sidebar a.kbk-sb-link:hover {
    background: #193a56;
    border-color: #39759f;
}

.kbk-sb-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
    min-width: 0;
}

.kbk-sb-copy strong {
    color: #e9f4ff;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.kbk-sidebar .kbk-sb-copy small,
.kbk-sb-copy time {
    display: block;
    margin: 0;
    color: #a4bed8;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.kbk-sb-copy time {
    color: #91abc5;
    font-size: 10px;
}

.kbk-sb-arrow {
    flex-shrink: 0;
    color: #79bde8;
    font-size: 17px;
}

.kbk-sb-live {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin-inline-start: auto;
    border-radius: 50%;
    background: #48dfa1;
    box-shadow: 0 0 0 4px #48dfa11a,0 0 10px #48dfa155;
}

.kbk-sidebar .stat-block p {
    padding: 12px;
    margin: 0;
}

.kbk-sb-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 9px;
    padding: 10px;
    border: 1px solid #294760;
    border-radius: 9px;
    background: #ffffff04;
}

.kbk-sb-members {
    display: block;
    padding: 10px 2px;
    border-top: 1px solid #294760;
    color: #b9cee4;
    font-size: 11px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.kbk-sb-members > i {
    color: #7bcaff;
    margin-inline-end: 4px;
}

.kbk-sb-stat-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
}

.kbk-sb-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #2b4b66;
    border-radius: 10px;
    background: linear-gradient(145deg,#183650,#10243a);
    color: #b2cbe3;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.kbk-sb-tile strong {
    display: block;
    color: #f1f7ff;
    font-size: 23px;
    font-weight: 750;
    line-height: 1.3;
}

.kbk-sb-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
}

.kbk-sb-welcome {
    align-items: center;
    margin: 12px 0 0;
    background: linear-gradient(110deg,#1b304b,#272940);
}

.kbk-sidebar a:focus-visible {
    outline: 2px solid #79d5ff;
    outline-offset: -2px;
}

@media (max-width:900px) {
    .kbk-sidebar {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
        align-items: start;
    }

    .kbk-sidebar .kbk-side-card,
    .kbk-sidebar .stat-block {
        margin: 0;
    }
}

@media (max-width:600px) {
    .kbk-sidebar {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .kbk-sidebar > * {
        width: 100%;
        box-sizing: border-box;
    }

    .kbk-sb-copy strong {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .kbk-sidebar a {
        transition: none !important;
    }
}


/* ==================================================
   KBK SOCIAL PREMIUM 2.6.0
   Premium Footer
   ================================================== */

#page-footer {
    margin-top: 28px;
    padding-bottom: 8px;
}

#page-footer .kbk-footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px 22px;
    background: linear-gradient(120deg, #102940, #0b1c30);
    border: 1px solid #294b69;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0,0,0,.15);
}

.kbk-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.kbk-footer-logo {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid #3977a4;
    border-radius: 12px;
    background: linear-gradient(145deg, #1d5279, #102b49);
    color: #8edbff;
    font-size: 22px;
}

.kbk-footer-logo .icon {
    color: inherit;
}

.kbk-footer-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kbk-footer-brand-copy > a {
    color: #f0f7ff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.4px;
    text-decoration: none;
}

.kbk-footer-brand-copy > a span {
    color: #70caff;
}

.kbk-footer-brand-copy small {
    color: #a4bdd5;
    font-size: 11px;
    line-height: 1.5;
}

.kbk-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kbk-footer-home,
.kbk-footer-details > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #315777;
    border-radius: 9px;
    background: #142e48;
    color: #d8ebff !important;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .18s ease,
                border-color .18s ease;
}

.kbk-footer-home:hover,
.kbk-footer-details > summary:hover {
    background: #20466a;
    border-color: #64baf2;
}

.kbk-footer-actions .icon {
    color: #79caff;
}

.kbk-footer-details {
    position: relative;
}

.kbk-footer-details > summary {
    list-style: none;
}

.kbk-footer-details > summary::-webkit-details-marker {
    display: none;
}

.kbk-footer-chevron {
    margin-inline-start: 6px;
    transition: transform .18s ease;
}

.kbk-footer-details[open] .kbk-footer-chevron {
    transform: rotate(180deg);
}

.kbk-footer-details[open] > summary {
    border-color: #5abdf5;
    background: #1c4060;
}

.kbk-footer-dropdown {
    position: absolute;
    inset-inline-end: 0;
    bottom: calc(100% + 12px);
    z-index: 50;
    width: 310px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    max-height: min(65vh, 520px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #38658a;
    border-radius: 13px;
    background: #10243b;
    box-shadow: 0 14px 40px rgba(0,0,0,.45);
}

.kbk-footer-menu-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    margin-bottom: 6px;
    color: #8bcfff;
    font-size: 12px;
    font-weight: 750;
    border-bottom: 1px solid #294760;
}

#page-footer .kbk-footer-navbar {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#page-footer #nav-footer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    margin: 0;
    border: 0;
}

#page-footer #nav-footer > li {
    display: block;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

#page-footer #nav-footer > li.breadcrumbs,
#page-footer #nav-footer > li.kbk-footer-timezone {
    display: none !important;
}

#page-footer #nav-footer > li > a,
#page-footer .kbk-footer-credits .footer-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: 7px;
    color: #d6e8fa;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.5;
    text-align: start;
    text-decoration: none;
}

#page-footer #nav-footer > li > a:hover,
#page-footer .kbk-footer-credits .footer-link:hover {
    background: #1b3d5c;
    color: #fff;
}

#page-footer .kbk-footer-credits {
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid #294760;
    text-align: start;
    font-size: 10px;
    line-height: 1.7;
}

#page-footer .kbk-footer-credits .footer-row {
    margin: 5px 0;
}

#page-footer .kbk-footer-legal {
    display: flex;
    flex-direction: column;
    font-size: 0;
}

#page-footer .kbk-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 5px;
    color: #94adc7;
    font-size: 11px;
}

#page-footer .kbk-footer-bottom .icon {
    color: #67b8e8;
}

#page-footer a:focus-visible,
#page-footer summary:focus-visible {
    outline: 2px solid #76d0ff;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    #page-footer .kbk-footer-shell {
        padding: 15px;
        gap: 15px;
    }

    .kbk-footer-actions {
        width: 100%;
    }

    .kbk-footer-home,
    .kbk-footer-details {
        flex: 1 1 auto;
    }

    .kbk-footer-details > summary {
        width: 100%;
    }

    .kbk-footer-dropdown {
        width: min(310px, calc(100vw - 40px));
    }

    #page-footer .kbk-footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-footer *,
    #page-footer *::before {
        transition: none !important;
    }
}

@media print {
    .kbk-footer-actions {
        display: none !important;
    }
}


/* ==================================================
   KBK SOCIAL PREMIUM 2.6.1
   Footer Visibility & Premium Dialogs
   ================================================== */

/* FOOTER MENU */

#page-footer .kbk-footer-dropdown #nav-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    overflow: visible !important;
}

#page-footer .kbk-footer-dropdown #nav-footer > li {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

#page-footer .kbk-footer-dropdown #nav-footer > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #e0edfc !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.5;
    white-space: normal;
    text-align: start;
}

/* Restore labels hidden by prosilver */

#page-footer .kbk-footer-dropdown #nav-footer > li > a > span,
#page-footer .kbk-footer-dropdown .footer-link-text {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    font-size: 13px !important;
    color: #e0edfc !important;
    text-indent: 0 !important;
    white-space: normal !important;
}

#page-footer .kbk-footer-dropdown #nav-footer > li > a > .icon {
    flex: 0 0 20px;
    width: 20px;
    font-size: 16px !important;
    color: #79caff !important;
    text-align: center;
}

#page-footer .kbk-footer-dropdown #nav-footer > li > a:hover {
    background: #193b59;
    border-color: #315b7e;
    color: #ffffff !important;
}

/* Remove redundant responsive navigation */

#page-footer .kbk-footer-dropdown #nav-footer > li.responsive-menu,
#page-footer .kbk-footer-dropdown #nav-footer > li.breadcrumbs,
#page-footer .kbk-footer-dropdown #nav-footer > li.kbk-footer-timezone {
    display: none !important;
}

/* PREMIUM ALERT AND CONFIRMATION WINDOWS */

#darken {
    background: #020914 !important;
    opacity: .78 !important;
}

#phpbb_alert,
#phpbb_confirm,
.phpbb_alert {
    box-sizing: border-box;
    background: linear-gradient(
        145deg,
        #142e48,
        #0b1c30
    ) !important;

    background-image: linear-gradient(
        145deg,
        #142e48,
        #0b1c30
    ) !important;

    border: 1px solid #39668b !important;
    border-radius: 16px !important;

    color: #e8f3ff !important;

    padding: 26px !important;

    box-shadow:
        0 24px 80px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.05);

    max-width: calc(100vw - 32px);
}

.phpbb_alert .alert_title,
.phpbb_alert h2,
.phpbb_alert h3 {
    color: #f0f7ff !important;
    font-size: 19px !important;
    font-weight: 750 !important;
    letter-spacing: -.2px;
    line-height: 1.5;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #31516d !important;
}

.phpbb_alert .alert_text,
.phpbb_alert p,
.phpbb_alert label,
.phpbb_alert fieldset,
.phpbb_alert strong {
    color: #d4e5f6 !important;
    font-size: 14px;
    line-height: 1.75;
}

.phpbb_alert .panel,
.phpbb_alert .inner,
.phpbb_alert fieldset {
    background: transparent !important;
    box-shadow: none !important;
}

.phpbb_alert .alert_close {
    display: grid !important;
    place-items: center;
    width: 32px;
    height: 32px;
    top: 10px !important;
    right: 10px !important;
    border-radius: 8px;
    background: #1d3c59;
    color: #9bd8ff !important;
    text-decoration: none;
}

.phpbb_alert .alert_close:hover {
    background: #2b5375;
    color: #ffffff !important;
}

.phpbb_alert .alert_close .icon {
    color: inherit !important;
    font-size: 19px;
}

.phpbb_alert input.button1,
.phpbb_alert input.button2,
.phpbb_alert button {
    box-sizing: border-box;
    min-width: 90px;
    min-height: 42px;
    margin: 5px;
    padding: 10px 20px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 700;
    cursor: pointer;
    text-shadow: none !important;
    transition:
        background .18s ease,
        border-color .18s ease;
}

.phpbb_alert input[name="confirm"] {
    background: linear-gradient(
        135deg,
        #087bd5,
        #0955a6
    ) !important;
    border: 1px solid #42b5ff !important;
    color: #ffffff !important;
}

.phpbb_alert input[name="confirm"]:hover {
    background: #168be1 !important;
}

.phpbb_alert input[name="cancel"] {
    background: #19334c !important;
    border: 1px solid #426587 !important;
    color: #dcecff !important;
}

.phpbb_alert input[name="cancel"]:hover {
    background: #294c6a !important;
}

.phpbb_alert a:focus-visible,
.phpbb_alert input:focus-visible,
.phpbb_alert button:focus-visible {
    outline: 2px solid #75caff !important;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    #phpbb_alert,
    #phpbb_confirm,
    .phpbb_alert {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .phpbb_alert .alert_title,
    .phpbb_alert h2,
    .phpbb_alert h3 {
        font-size: 17px !important;
        padding-inline-end: 30px;
    }

    .phpbb_alert .alert_text,
    .phpbb_alert p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phpbb_alert *,
    .kbk-footer-dropdown * {
        transition: none !important;
    }
}


/* KBK SOCIAL PREMIUM 2.6.2 - Modal Close Button */

#phpbb_alert > .alert_close,
#phpbb_confirm > .alert_close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;

    display: grid !important;
    place-items: center;

    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    box-sizing: border-box;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    background: #19344e !important;
    border: 1px solid #355775 !important;
    border-radius: 8px !important;

    color: #a9c5df !important;
    text-decoration: none !important;
    cursor: pointer;

    transition: background .18s ease,
                border-color .18s ease,
                color .18s ease;
}

/* Replace legacy circular icon */

#phpbb_alert > .alert_close > .icon,
#phpbb_confirm > .alert_close > .icon {
    display: none !important;
}

#phpbb_alert > .alert_close::before,
#phpbb_confirm > .alert_close::before {
    content: "\00D7";
    display: block;
    font-family: system-ui, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: inherit;
}

#phpbb_alert > .alert_close:hover,
#phpbb_confirm > .alert_close:hover {
    background: #512c3a !important;
    border-color: #a65366 !important;
    color: #ffb3bd !important;
}

#phpbb_alert > .alert_close:focus-visible,
#phpbb_confirm > .alert_close:focus-visible {
    outline: 2px solid #79caff;
    outline-offset: 3px;
}

#phpbb_alert .alert_title,
#phpbb_confirm h2,
#phpbb_confirm h3 {
    padding-inline-end: 38px !important;
}

@media (prefers-reduced-motion: reduce) {
    .phpbb_alert > .alert_close {
        transition: none !important;
    }
}

/* BEGIN KBK QUICK LINKS PREMIUM */

/* Quick Links — KBK Social Premium 2.7.0 */

#nav-main #quick-links > .dropdown-trigger {
    position: relative;
    gap: 9px;
}

#nav-main #quick-links > .dropdown-trigger:hover {
    background: linear-gradient(135deg, #1b4265, #15314d);
    border-color: #4387b8;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
}

#nav-main #quick-links > .dropdown {
    width: 310px;
    max-width: calc(100vw - 36px);
    z-index: 100;
}

#nav-main #quick-links .dropdown-contents {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-height: min(65vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px !important;
    margin: 0;
    background: linear-gradient(
        145deg,
        #132d46 0%,
        #0e2034 100%
    ) !important;
    border: 1px solid #365f80 !important;
    border-radius: 13px !important;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .38),
        inset 0 1px 0 rgba(255, 255, 255, .035);
    scrollbar-width: thin;
    scrollbar-color: #365f80 #10243b;
}

#nav-main #quick-links .pointer {
    border-bottom-color: #365f80 !important;
}

#nav-main #quick-links .pointer-inner {
    border-bottom-color: #132d46 !important;
}

#nav-main #quick-links .dropdown-contents > li {
    float: none !important;
    display: block;
    width: auto !important;
    margin: 2px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    line-height: normal;
}

#nav-main #quick-links .dropdown-contents > li.separator {
    height: 1px !important;
    min-height: 0 !important;
    margin: 7px 8px !important;
    padding: 0 !important;
    background: rgba(116, 174, 220, .16) !important;
    border: 0 !important;
}

#nav-main #quick-links .dropdown-contents > li.separator:first-child,
#nav-main #quick-links .dropdown-contents > li.separator:last-child,
#nav-main #quick-links .dropdown-contents > li.separator + li.separator {
    display: none !important;
}

#nav-main #quick-links .dropdown-contents > li > a {
    display: flex !important;
    align-items: center;
    gap: 11px;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 7px 9px !important;
    margin: 0 !important;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #dceafa !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 550;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: normal;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

#nav-main #quick-links .dropdown-contents > li > a > span {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 auto;
    min-width: 0;
    color: inherit !important;
    overflow-wrap: anywhere;
}

#nav-main #quick-links .dropdown-contents > li > a > .icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(102, 177, 232, .16);
    border-radius: 8px;
    background: #1a3b58;
    color: #83d0ff !important;
    font-size: 15px !important;
    line-height: 1;
    text-align: center;
    transition:
        background .18s ease,
        color .18s ease;
}

#nav-main #quick-links .dropdown-contents > li > a::after {
    content: "";
    display: block;
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-inline-end: 3px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    color: #7199bc;
    opacity: .65;
    transition: transform .18s ease, opacity .18s ease;
}

#nav-main #quick-links .dropdown-contents > li > a:hover,
#nav-main #quick-links .dropdown-contents > li > a:focus-visible {
    background: linear-gradient(110deg, #1b4265, #16334f);
    border-color: #35688e;
    color: #ffffff !important;
}

#nav-main #quick-links .dropdown-contents > li > a:hover > .icon {
    background: #24577d;
    color: #c4eeff !important;
}

#nav-main #quick-links .dropdown-contents > li > a:hover::after {
    transform: translateX(2px) rotate(45deg);
    opacity: 1;
}

#nav-main #quick-links .dropdown-contents > li > a:focus-visible {
    outline: 2px solid #70c8ff;
    outline-offset: -2px;
}

/* Mobile */

@media (max-width: 700px) {
    #nav-main #quick-links > .dropdown {
        width: 285px;
        max-width: calc(100vw - 30px);
    }

    #nav-main #quick-links .dropdown-contents {
        padding: 6px !important;
        border-radius: 11px !important;
    }

    #nav-main #quick-links .dropdown-contents > li > a {
        min-height: 46px;
        font-size: 12px !important;
        gap: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nav-main #quick-links *,
    #nav-main #quick-links *::after {
        transition: none !important;
    }
}

/* END KBK QUICK LINKS PREMIUM */


/* KBK FORUM PREMIUM 2.8.0 BEGIN */

.kbk-forum-page {
    --kf-bg: #102438;
    --kf-border: #294b68;
    --kf-text: #e8f2ff;
    --kf-muted: #a9bfd6;
    --kf-accent: #79ceff;
    min-width: 0;
}

/* Forum basligi */

.kbk-forum-page .forum-title {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 25px;
    margin: 0 0 18px;
    border: 1px solid #2b5c83;
    border-radius: 16px;
    background: linear-gradient(115deg,#102b49,#102438);
    box-shadow: 0 8px 28px #00000020;
    font-size: clamp(20px,2.2vw,29px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.kbk-forum-page .forum-title a {
    color: var(--kf-text);
    overflow-wrap: anywhere;
}

.kbk-forum-page .kbk-forum-title-icon {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg,#225681,#173753);
    border: 1px solid #3a729e;
    border-radius: 14px;
    color: var(--kf-accent);
    font-size: 23px;
}

/* Islem cubuklari */

.kbk-forum-page .action-bar.bar-top,
.kbk-forum-page .action-bar.bar-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
    margin: 16px 0;
    background: #102438;
    border: 1px solid var(--kf-border);
    border-radius: 13px;
}

.kbk-forum-page .action-bar::after {
    display: none;
}

.kbk-forum-page .action-bar .button {
    min-height: 38px;
    box-sizing: border-box;
    border-radius: 9px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 650;
    text-shadow: none;
}

.kbk-forum-page .action-bar a.kbk-new-topic {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 8px;
    background: linear-gradient(135deg,#0876d1,#0753ac);
    border: 1px solid #3197e3;
    color: #fff;
    box-shadow: 0 4px 14px #006bdb25;
}

.kbk-forum-page .action-bar a.kbk-new-topic:hover {
    background: #126fca;
    border-color: #85d2ff;
    text-decoration: none;
}

.kbk-forum-page .kbk-new-topic .icon {
    color: #fff;
}

/* Forum arama */

.kbk-forum-page .search-box {
    float: none;
    margin: 0;
    max-width: 100%;
    min-width: 0;
}

.kbk-forum-page #forum-search fieldset {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: #0a1a2c;
    border: 1px solid #345570;
    border-radius: 10px;
}

.kbk-forum-page #forum-search .inputbox {
    float: none;
    width: 190px;
    min-width: 0;
    height: 32px;
    border: 0;
    box-shadow: none;
    background: transparent;
    color: var(--kf-text);
    font-size: 13px;
    padding: 6px 10px;
}

.kbk-forum-page #forum-search input::placeholder {
    color: #a9bfd6;
    opacity: 1;
}

.kbk-forum-page #forum-search .button {
    display: inline-grid;
    place-items: center;
    float: none;
    min-height: 32px;
    min-width: 34px;
    padding: 6px;
    margin: 0;
    border-radius: 7px;
    background: #173651;
    border: 1px solid #315773;
}

.kbk-forum-page #forum-search .icon {
    color: var(--kf-accent);
}

.kbk-forum-page .action-bar > .pagination {
    float: none;
    margin: 0 0 0 auto;
    color: var(--kf-muted);
    font-size: 12px;
    line-height: 1.8;
}

.kbk-forum-page .action-bar > .pagination a {
    color: var(--kf-accent);
}

/* Konu listesi */

.kbk-forum-page .forumbg {
    padding: 8px;
    border: 1px solid var(--kf-border);
    border-radius: 16px;
    background: #0b1b2d;
    box-shadow: 0 8px 24px #00000018;
}

.kbk-forum-page .forumbg > .inner {
    margin: 0;
}

.kbk-forum-page .forumbg li.header {
    padding: 17px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: linear-gradient(110deg,#104780,#0867b7);
}

.kbk-forum-page .forumbg li.header dt .list-inner::before {
    content: none;
}

.kbk-forum-page .forumbg li.header dt .list-inner {
    padding-left: 12px;
}

.kbk-forum-page .forumbg li.header .icon {
    color: #c2eaff;
    margin-right: 5px;
}

.kbk-forum-page .forumbg li.header dd {
    font-size: 12px !important;
    font-weight: 650;
}

.kbk-forum-page .forumbg ul.topics > li.row {
    margin: 7px 0;
    padding: 8px 12px;
    background: linear-gradient(110deg,#132a40,#102438);
    border: 1px solid #25445e;
    border-radius: 11px;
    transition: background .18s,border-color .18s;
}

.kbk-forum-page .forumbg ul.topics > li.row:hover {
    background: #17334e;
    border-color: #3d739b;
}

.kbk-forum-page .forumbg ul.topics > li.row:last-child {
    margin-bottom: 0;
}

.kbk-forum-page .forumbg .topictitle {
    color: #eef5ff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.kbk-forum-page .forumbg .topictitle:hover {
    color: var(--kf-accent);
    text-decoration: none;
}

.kbk-forum-page .forumbg ul.topics dl.row-item {
    background-image: none;
}

.kbk-forum-page .forumbg ul.topics dt {
    position: relative;
}

.kbk-forum-page .forumbg ul.topics dt::before {
    content: "\f0e5";
    font-family: FontAwesome;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid #345b7a;
    border-radius: 11px;
    background: #1b3955;
    color: #9ccdf0;
    font-size: 19px;
    pointer-events: none;
}

.kbk-forum-page .forumbg ul.topics dl[class*="unread"] dt::before {
    content: "\f075";
    background: #10549a;
    border-color: #398fd2;
    color: #d5efff;
}

.kbk-forum-page .forumbg ul.topics dl[class*="locked"] dt::before {
    content: "\f023";
    color: #e6ba75;
}

.kbk-forum-page .forumbg ul.topics dl[class*="sticky"] dt::before {
    content: "\f08d";
}

.kbk-forum-page .forumbg ul.topics dl[class*="announce"] dt::before {
    content: "\f0a1";
}

.kbk-forum-page .forumbg .topic-poster {
    font-size: 12px;
    color: var(--kf-muted);
    margin-top: 5px;
}

.kbk-forum-page .forumbg .topic-poster .icon,
.kbk-forum-page .forumbg dd.lastpost .kbk-meta-icon {
    color: var(--kf-accent);
}

.kbk-forum-page .forumbg ul.topics dd.posts,
.kbk-forum-page .forumbg ul.topics dd.views {
    color: #e1eeff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.kbk-forum-page .kbk-topic-counter-icon {
    display: block;
    margin: 0 auto 5px;
    color: var(--kf-accent);
    font-size: 16px;
}

.kbk-forum-page .forumbg dd.lastpost {
    color: var(--kf-muted);
    line-height: 1.8;
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* Gecis ve siralama */

.kbk-forum-page .actions-jump {
    margin: 18px 0;
    padding: 12px;
    border: 1px solid var(--kf-border);
    border-radius: 12px;
    background: #102438;
}

.kbk-forum-page .jumpbox-return a {
    color: #c5e4ff;
    font-size: 13px;
    font-weight: 650;
}

.kbk-forum-page .sort-tools .dropdown-contents,
.kbk-forum-page .jumpbox .dropdown-contents {
    padding: 12px;
    background: #102438;
    border: 1px solid #365b79;
    border-radius: 12px;
    box-shadow: 0 14px 35px #00000055;
    max-width: calc(100vw - 50px);
}

.kbk-forum-page .sort-tools .pointer-inner,
.kbk-forum-page .jumpbox .pointer-inner {
    border-color: #102438 transparent;
}

.kbk-forum-page .jumpbox .dropdown-contents a {
    display: block;
    padding: 9px;
    color: #dcecff;
    border-radius: 7px;
}

.kbk-forum-page .jumpbox .dropdown-contents a:hover {
    background: #1c3d59;
    text-decoration: none;
}

.kbk-forum-page .sort-tools select {
    max-width: 100%;
    margin: 4px 0;
    padding: 7px;
}

/* Cevrimici kullanicilar ve izinler */

.kbk-forum-page .stat-block {
    margin: 15px 0;
    padding: 17px;
    border: 1px solid var(--kf-border);
    border-radius: 13px;
    background: #102438;
}

.kbk-forum-page .stat-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -17px -17px 14px;
    padding: 15px 17px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--kf-border);
    background: #163451;
    color: var(--kf-text);
    font-size: 16px;
    text-transform: none;
}

.kbk-forum-page .stat-block h3 a {
    color: var(--kf-text);
}

.kbk-forum-page .stat-block h3 .icon {
    color: var(--kf-accent);
    font-size: 18px;
}

.kbk-forum-page .online-list h3 .icon {
    color: #57dba1;
}

.kbk-forum-page .stat-block p {
    color: var(--kf-muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.kbk-forum-page .kbk-permission-list {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 9px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kbk-forum-page .kbk-permission-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px;
    background: #0c1e30;
    border: 1px solid #27445d;
    border-radius: 8px;
    color: var(--kf-muted);
    font-size: 12px;
    line-height: 1.6;
}

.kbk-forum-page .kbk-permission-list .icon {
    flex-shrink: 0;
    color: var(--kf-accent);
}

.kbk-forum-page a:focus-visible,
.kbk-forum-page button:focus-visible,
.kbk-forum-page input:focus-visible,
.kbk-forum-page select:focus-visible {
    outline: 2px solid #8ed9ff;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .kbk-forum-page .forum-title {
        padding: 16px;
        gap: 12px;
    }

    .kbk-forum-page .kbk-forum-title-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .kbk-forum-page .action-bar.bar-top,
    .kbk-forum-page .action-bar.bar-bottom {
        gap: 9px;
        padding: 10px;
    }

    .kbk-forum-page .search-box {
        width: 100%;
    }

    .kbk-forum-page #forum-search .inputbox {
        flex: 1;
        width: 0;
    }

    .kbk-forum-page .action-bar > .pagination {
        width: 100%;
        margin: 0;
    }

    .kbk-forum-page .forumbg {
        padding: 5px;
    }

    .kbk-forum-page .forumbg ul.topics > li.row {
        padding: 7px;
    }

    .kbk-forum-page .forumbg ul.topics dt::before {
        width: 32px;
        height: 32px;
        left: 2px;
        font-size: 16px;
    }

    .kbk-forum-page .forumbg ul.topics dt .list-inner {
        padding-left: 43px;
    }

    .kbk-forum-page .forumbg .topictitle {
        font-size: 14px;
    }

    .kbk-forum-page .kbk-permission-list {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .kbk-forum-page * {
        transition: none !important;
    }
}

/* KBK FORUM PREMIUM 2.8.0 END */


/* KBK FORUM REFINEMENT 2.8.1 BEGIN */

/* Baslik seridi ve konu sutunlari */

.kbk-forum-page .forumbg li.header {
    padding: 11px 12px !important;
    min-height: 0 !important;
    margin-bottom: 8px;
}

.kbk-forum-page .forumbg li.header dl.row-item {
    min-height: 0 !important;
}

.kbk-forum-page .forumbg li.header dt .list-inner {
    padding: 5px 10px !important;
    line-height: 1.5;
    font-size: 15px !important;
    font-weight: 700;
}

.kbk-forum-page .forumbg .kbk-heading-icon {
    color: #bce9ff;
    margin-inline-end: 9px;
    font-size: 15px;
}


/* KBK FORUM NATIVE LAYOUT 2.8.3 */

@media (min-width: 701px) {

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl.row-item {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl.row-item::before {
        display: none !important;
        content: none !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl.row-item::after {
        content: "" !important;
        display: block !important;
        clear: both !important;
        height: 0 !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dt,
    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dd {
        display: block !important;
        float: left !important;
        box-sizing: border-box !important;
        position: relative;
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dt {
        width: 56% !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dd.posts {
        width: 10% !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dd.views {
        width: 12% !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dd.lastpost {
        width: 22% !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist dt .list-inner {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #page-body .kbk-forum-page .forumbg li.header dt .list-inner {
        padding: 8px 10px !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topics dt .list-inner {
        padding: 10px 12px 10px 58px !important;
    }

    #page-body .kbk-forum-page .forumbg li.header dd {
        padding: 8px 4px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        white-space: normal !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topics dd.posts,
    #page-body .kbk-forum-page .forumbg ul.topics dd.views {
        padding: 10px 4px !important;
        text-align: center !important;
        border-inline-start: 1px solid #294b68;
    }

    #page-body .kbk-forum-page .forumbg ul.topics dd.lastpost {
        padding: 10px 12px !important;
        border-inline-start: 1px solid #294b68;
        line-height: 1.7 !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topics dd.lastpost > span {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topics > li.row {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 10px 12px !important;
    }
}

/* Mobil: phpBB responsive duzeni */

@media (max-width: 700px) {

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl.row-item {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dt {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dd.posts,
    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dd.views,
    #page-body .kbk-forum-page .forumbg ul.topiclist > li > dl > dd.lastpost {
        display: none !important;
    }

    #page-body .kbk-forum-page .forumbg ul.topics dt .list-inner {
        margin: 0 !important;
        padding: 10px 8px 10px 46px !important;
        height: auto !important;
        min-height: 0 !important;
    }
}

/* KBK FORUM NATIVE LAYOUT 2.8.3 END */

/* Konu kartlari */

.kbk-forum-page .forumbg ul.topics > li.row {
    padding: 10px 12px;
}

.kbk-forum-page .forumbg .topictitle {
    letter-spacing: -.01em;
    font-weight: 700;
}

.kbk-forum-page .forumbg .topic-poster {
    line-height: 1.7;
}

.kbk-forum-page .forumbg dd.lastpost .kbk-meta-icon {
    color: #79ceff !important;
    margin-inline-end: 5px;
    font-size: 12px;
}

.kbk-forum-page .forumbg dd.lastpost time {
    color: #b3c9df;
    font-size: 12px;
}

/* Gecis cubugu: eski float duzenini kaldir */

.kbk-forum-page .action-bar.actions-jump {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-sizing: border-box;
    min-height: 58px;
    height: auto !important;
    padding: 10px 14px !important;
    margin: 16px 0 !important;
    overflow: visible !important;
}

.kbk-forum-page .actions-jump::before,
.kbk-forum-page .actions-jump::after {
    display: none !important;
}

.kbk-forum-page .actions-jump > br {
    display: none;
}

.kbk-forum-page .actions-jump .jumpbox-return {
    display: flex;
    align-items: center;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kbk-forum-page .actions-jump .jumpbox-return a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    float: none !important;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 7px;
    color: #c5e4ff;
    text-decoration: none;
}

.kbk-forum-page .actions-jump .jumpbox-return a:hover {
    background: #1a3955;
    color: #fff;
}

.kbk-forum-page .actions-jump .jumpbox-return .icon {
    color: #79ceff !important;
    font-size: 17px;
}

.kbk-forum-page .actions-jump #jumpbox {
    float: none !important;
    margin: 0 0 0 auto !important;
    align-self: center;
}

.kbk-forum-page .actions-jump #jumpbox > .button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    min-height: 36px;
}

.kbk-forum-page #jumpbox .dropdown-select::before {
    content: "\f07c";
    font-family: FontAwesome;
    color: #79ceff;
}

/* Siralama butonu */

.kbk-sort-label {
    display: none;
}

.kbk-forum-page .bar-bottom > form {
    margin: 0;
}

.kbk-forum-page .sort-tools {
    float: none;
    margin: 0;
}

.kbk-forum-page .sort-tools > .dropdown-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    background: #142e47;
    border-color: #355a79;
    color: #dcecff;
}

.kbk-forum-page .sort-tools > .dropdown-select .icon {
    color: #79ceff;
}

.kbk-forum-page .kbk-sort-label {
    display: inline-block !important;
    color: inherit;
    font-size: 13px;
    font-weight: 650;
}

/* Forum izinleri */

.kbk-forum-page .kbk-permission-list li {
    min-width: 0;
    padding: 12px;
    border-radius: 9px;
    gap: 11px;
}

.kbk-forum-page .kbk-permission-list li > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.kbk-forum-page .kbk-permission-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid #315775;
    border-radius: 8px;
    background: #193b55;
    color: #91d8ff;
    font-size: 14px;
}

.kbk-forum-page .kbk-permission-item:nth-child(1) .icon::before {
    content: "\f044";
}

.kbk-forum-page .kbk-permission-item:nth-child(2) .icon::before {
    content: "\f112";
}

.kbk-forum-page .kbk-permission-item:nth-child(3) .icon::before {
    content: "\f040";
}

.kbk-forum-page .kbk-permission-item:nth-child(4) .icon::before {
    content: "\f014";
}

.kbk-forum-page .kbk-permission-item:nth-child(5) .icon::before {
    content: "\f0c6";
}

/* Kullanici adi okunabilirligi */

.kbk-forum-page .online-list .username-coloured {
    color: #ff9696 !important;
    font-weight: 700;
}

.kbk-forum-page .online-list .username {
    color: #9ddcff;
    font-weight: 650;
}

/* Mobil uyumluluk */

@media (max-width: 700px) {

    .kbk-forum-page .forumbg ul.topics > li.row {
        padding: 8px;
    }

    .kbk-forum-page .forumbg ul.topics dt .list-inner {
        padding-inline-start: 46px !important;
    }

    .kbk-forum-page .forumbg li.header {
        padding: 8px !important;
    }

    .kbk-forum-page .actions-jump {
        gap: 8px;
        padding: 9px !important;
    }

    .kbk-forum-page .actions-jump .jumpbox-return a {
        padding: 0 4px;
        font-size: 12px;
    }

    .kbk-forum-page .actions-jump #jumpbox {
        max-width: 100%;
    }

    .kbk-forum-page .kbk-permission-list {
        grid-template-columns: minmax(0,1fr);
    }
}

/* KBK FORUM REFINEMENT 2.8.1 END */


/* KBK PAGINATION PREMIUM 2.8.4 BEGIN */

#page-body .kbk-forum-page
.action-bar > .kbk-forum-pagination {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    float: none !important;
    margin-inline-start: auto;
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.5;
}

#page-body .kbk-forum-pagination .kbk-mark-read,
#page-body .kbk-forum-pagination .kbk-pagination-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 36px;
    padding: 8px 12px;
    margin: 0;
    border: 1px solid #2c526e;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none !important;
}

#page-body .kbk-forum-pagination .kbk-mark-read {
    background: linear-gradient(
        135deg,
        #105b91,
        #103653
    );
    border-color: #318bc0;
    color: #e4f5ff !important;
    box-shadow:
        inset 0 1px 0 #ffffff12,
        0 3px 10px #00000020;
    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

#page-body .kbk-forum-pagination .kbk-mark-read:hover {
    background: linear-gradient(
        135deg,
        #137dc0,
        #164b75
    );
    border-color: #70ceff;
    color: #ffffff !important;
    box-shadow: 0 3px 14px #168de52b;
}

#page-body .kbk-forum-pagination .kbk-pagination-chip {
    background: linear-gradient(
        145deg,
        #15334b,
        #0e2134
    );
    color: #bfd4e9;
    box-shadow: inset 0 1px 0 #ffffff08;
}

#page-body .kbk-forum-pagination .icon {
    flex-shrink: 0;
    color: #83d3ff !important;
    font-size: 15px;
    line-height: 1;
    margin: 0;
}

#page-body .kbk-forum-pagination .kbk-page-total strong {
    color: #eef7ff;
    font-weight: 750;
}

#page-body .kbk-forum-pagination > ul {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
}

#page-body .kbk-forum-pagination > ul > li {
    margin: 0;
}

#page-body .kbk-forum-pagination > ul > li > a,
#page-body .kbk-forum-pagination > ul > li.active > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 34px;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid #315775;
    border-radius: 8px;
    background: #142f48;
    color: #dceeff;
    text-shadow: none;
}

#page-body .kbk-forum-pagination > ul > li.active > span {
    background: linear-gradient(
        135deg,
        #0876d1,
        #0753ac
    );
    border-color: #3197e3;
    color: #fff;
    font-weight: 750;
}

#page-body .kbk-forum-pagination > ul > li > a:hover {
    background: #22577d;
    border-color: #70c8ff;
    color: #fff;
}

#page-body .kbk-forum-pagination a:focus-visible {
    outline: 2px solid #8ed9ff;
    outline-offset: 3px;
}

@media (max-width: 700px) {

    #page-body .kbk-forum-page
    .action-bar > .kbk-forum-pagination {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
        margin: 0 !important;
        padding-top: 10px;
        border-top: 1px solid #294b68;
    }

    #page-body .kbk-forum-pagination .kbk-mark-read,
    #page-body .kbk-forum-pagination .kbk-pagination-chip {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 11px;
    }

    #page-body .kbk-forum-pagination .kbk-mark-read {
        flex: 1 1 100%;
    }

    #page-body .kbk-forum-pagination .icon {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .kbk-forum-pagination * {
        transition: none !important;
    }
}

/* KBK PAGINATION PREMIUM 2.8.4 END */


/* KBK COMPACT TOPIC HEADER 2.8.5 BEGIN */

#page-body .kbk-forum-page .forumbg li.header {
    padding: 7px 12px !important;
    margin-bottom: 7px !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 9px;
    background: linear-gradient(
        110deg,
        #123f70,
        #12558d 60%,
        #12639f
    );
    border: 1px solid #3475a455;
    box-sizing: border-box;
}

#page-body .kbk-forum-page .forumbg li.header dl.row-item {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 20px !important;
}

#page-body .kbk-forum-page .forumbg li.header dt,
#page-body .kbk-forum-page .forumbg li.header dd {
    padding: 4px 6px !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #e5f2ff !important;
    box-sizing: border-box !important;
}

#page-body .kbk-forum-page .forumbg li.header dt .list-inner {
    padding: 0 8px !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 20px !important;
    letter-spacing: .1px;
}

#page-body .kbk-forum-page .forumbg li.header dd > span {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 20px !important;
}

#page-body .kbk-forum-page .forumbg li.header .icon {
    display: inline-block !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 20px !important;
    vertical-align: baseline !important;
    color: #a9ddff !important;
}

#page-body .kbk-forum-page .forumbg li.header dd.posts,
#page-body .kbk-forum-page .forumbg li.header dd.views {
    text-align: center !important;
}

#page-body .kbk-forum-page .forumbg li.header dd.lastpost {
    padding-inline-start: 12px !important;
    border-inline-start: 1px solid #ffffff18;
}

@media (max-width: 700px) {
    #page-body .kbk-forum-page .forumbg li.header {
        padding: 6px 8px !important;
    }

    #page-body .kbk-forum-page .forumbg li.header dt {
        padding: 2px 4px !important;
    }
}

/* KBK COMPACT TOPIC HEADER 2.8.5 END */

/* KBK 2.9.0 — topic detail only */
#page-body .kbk-topic-page {min-width:0;clear:both}
.kbk-topic-page .kbk-topic-hero {display:flex;align-items:center;gap:20px;position:relative;padding:28px;border:1px solid #315a80;border-radius:14px;margin:0 0 16px;background:radial-gradient(ellipse at 95% 0,#235384 0,transparent 55%),linear-gradient(120deg,#102b49,#102238);box-shadow:0 8px 24px #0003}
.kbk-topic-page .kbk-topic-emblem {display:grid;place-items:center;flex:0 0 64px;height:64px;border:1px solid #4585b7;border-radius:16px;background:#173e64;color:#8ed7ff;font-size:32px}
.kbk-topic-page .kbk-topic-heading {min-width:0;flex:1}
#page-body .kbk-topic-page h2.topic-title {margin:0 0 12px;padding:0;font-size:clamp(20px,2.3vw,30px);line-height:1.3;overflow-wrap:anywhere;border:0;background:none}
.kbk-topic-page .topic-title a {color:#f2f7ff}
.kbk-topic-page .kbk-topic-meta {display:flex;flex-wrap:wrap;gap:8px;color:#b9d2eb}
.kbk-topic-page .kbk-topic-meta > * {padding:5px 10px;border:1px solid #345778;border-radius:7px;background:#0c2139;font-size:12px;color:#c5dff5}
#page-body .kbk-topic-page .action-bar {display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:12px;margin:0 0 16px;border:1px solid #294b68;border-radius:11px;background:#10263e;clear:both}
.kbk-topic-page .action-bar > * {margin:0;float:none;max-width:100%}
.kbk-topic-page .action-bar > a.button {background:linear-gradient(135deg,#087ed4,#0752a4);border-color:#3697df;color:white;font-weight:700;padding:9px 14px}
.kbk-topic-page .action-bar .pagination {margin-inline-start:auto;color:#b9d2eb;line-height:2}
.kbk-topic-page .action-bar .search-box {max-width:100%}
#page-body .kbk-topic-page .post {padding:0;margin:0 0 15px;border:1px solid #294b68;border-radius:12px;background:#102438;box-shadow:0 5px 18px #0002;overflow:visible}
#page-body .kbk-topic-page .post.kbk-first-visible {border-color:#407ca7}
#page-body .kbk-topic-page .post.unreadpost {border-inline-start:3px solid #43baff}
#page-body .kbk-topic-page .post.reported,#page-body .kbk-topic-page .post.deleted {border-color:#a85e61}
#page-body .kbk-topic-page .post > .inner {display:flex;flex-wrap:wrap;align-items:stretch;position:relative;min-width:0}
#page-body .kbk-topic-page .postprofile {box-sizing:border-box;float:none;flex:0 0 210px;width:210px;min-width:0;margin:0;padding:20px 16px;border:0;border-inline-end:1px solid #294b68;background:#0d2035;border-radius:11px 0 0 11px;color:#b6cbe0;overflow-wrap:anywhere}
#page-body .kbk-topic-page .postprofile dt {margin:0 0 8px;padding:0;font-size:15px;line-height:1.5}
#page-body .kbk-topic-page .postprofile .avatar-container {float:none;margin:0 0 10px;display:block}
#page-body .kbk-topic-page .postprofile .avatar {float:none;display:inline-block;max-width:100%}
#page-body .kbk-topic-page .postprofile .avatar img {max-width:64px;max-height:64px;width:auto;height:auto;border-radius:14px;object-fit:contain}
.kbk-topic-page .kbk-avatar-fallback {display:grid;place-items:center;width:58px;height:58px;border-radius:14px;background:linear-gradient(135deg,#285a83,#173653);border:1px solid #477ba2;color:#c9eaff;font-size:26px}
#page-body .kbk-topic-page .postprofile dd {margin:6px 0;padding:0;font-size:12px;line-height:1.5}
.kbk-topic-page .postprofile .profile-rank {color:#91d5ff;font-weight:600}
.kbk-topic-page .profile-posts:before,.kbk-topic-page .profile-joined:before {font-family:FontAwesome;color:#79ceff;margin-inline-end:6px}
.kbk-topic-page .profile-posts:before {content:'\f0e5'}
.kbk-topic-page .profile-joined:before {content:'\f073'}
#page-body .kbk-topic-page .postbody {box-sizing:border-box;float:none;flex:1 1 0;width:auto;min-width:0;padding:20px 22px 24px;margin:0;color:#eaf3ff}
#page-body .kbk-topic-page .postbody h3 {font-size:16px;line-height:1.45;margin:0 0 8px;overflow-wrap:anywhere}
#page-body .kbk-topic-page .postbody .author {color:#a9c3dc;font-size:12px;line-height:1.7;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid #294b68}
#page-body .kbk-topic-page .postbody .content {clear:both;font-size:14px;line-height:1.85;color:#e3edf8;overflow-wrap:anywhere;min-height:0}
.kbk-topic-page .content img,.kbk-topic-page .attachbox img {max-width:100%;height:auto}
.kbk-topic-page .content pre,.kbk-topic-page .codebox code {max-width:100%;overflow:auto}
.kbk-topic-page .post-buttons {display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px 8px}
.kbk-topic-page .post-buttons li {margin:0}
.kbk-topic-page .post-buttons .button {border-radius:7px;background:#142f49;border-color:#345777;color:#bfe2ff;padding:6px 8px}
.kbk-topic-page .post-buttons .button:hover {background:#24547b;color:white}
.kbk-topic-page .post .back2top {flex:0 0 100%;box-sizing:border-box;padding:0 12px 7px;text-align:end}
.kbk-topic-page .post .signature {margin-top:18px;padding-top:12px}
.kbk-topic-page .online-list {margin-top:16px;border-radius:12px}
@media(max-width:700px){
#page-body .kbk-topic-page .kbk-topic-hero {padding:16px;gap:12px}
.kbk-topic-page .kbk-topic-emblem {flex-basis:42px;height:42px;font-size:22px;border-radius:10px}
#page-body .kbk-topic-page .post > .inner {display:block}
#page-body .kbk-topic-page .postprofile {width:100%;padding:12px;border:0;border-bottom:1px solid #294b68;border-radius:11px 11px 0 0}
#page-body .kbk-topic-page .postprofile .avatar-container {float:inline-start;margin:0 10px 0 0}
#page-body .kbk-topic-page .postprofile .avatar img,.kbk-topic-page .kbk-avatar-fallback {max-width:42px;max-height:42px}
#page-body .kbk-topic-page .postprofile dt {min-height:42px;margin:0}
#page-body .kbk-topic-page .postbody {width:100%;padding:15px}
.kbk-topic-page .action-bar .pagination {margin-inline-start:0;width:100%}
.kbk-topic-page .post-buttons {float:none;justify-content:flex-end;margin:0 0 8px}
}
@media print {.kbk-topic-page .kbk-topic-emblem,.kbk-topic-page .action-bar,.kbk-topic-page .post-buttons {display:none!important} #page-body .kbk-topic-page .post > .inner {display:block} #page-body .kbk-topic-page .postprofile,#page-body .kbk-topic-page .postbody {width:100%;color:#000;background:#fff} }

/* KBK TOPIC REFINEMENT 2.9.1 */

body.section-viewtopic #page-body .topic-title {
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.3;
}

/* Action bars */

body.section-viewtopic #page-body .action-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 15px;
    margin: 14px 0 16px;
    background: linear-gradient(120deg,#132b42,#102237);
    border: 1px solid #294b68;
    border-radius: 12px;
    box-sizing: border-box;
}

body.section-viewtopic #page-body .action-bar > a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    float: none;
    min-height: 38px;
    padding: 0 16px;
    margin: 0;
    background: linear-gradient(135deg,#078de1,#0864ba);
    border: 1px solid #349fef;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: none !important;
    box-shadow: 0 3px 12px #007aff25;
}

body.section-viewtopic #page-body .action-bar > a.button span {
    color: #fff;
    text-shadow: none !important;
    font-weight: 700;
}

body.section-viewtopic #page-body .action-bar > a.button .icon {
    color: #fff;
    font-size: 15px;
    text-shadow: none !important;
}

body.section-viewtopic #page-body .action-bar > a.button:hover {
    background: #168ee4;
    border-color: #75ceff;
}

/* Topic search */

body.section-viewtopic #page-body .action-bar .search-box {
    float: none;
    margin: 0;
    max-width: 100%;
}

body.section-viewtopic #page-body .search-box fieldset {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}

body.section-viewtopic #page-body .search-box input.search {
    height: 36px;
    width: 190px;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #365775;
    border-radius: 8px 0 0 8px;
    background: #0b1c30;
    color: #eaf4ff;
    font-size: 12px;
    box-shadow: none;
}

body.section-viewtopic #page-body .search-box input::placeholder {
    color: #9ab3ca;
    opacity: 1;
}

body.section-viewtopic #page-body .search-box .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 11px;
    border-radius: 0;
}

body.section-viewtopic #page-body .search-box .button-search-end {
    border-radius: 0 8px 8px 0;
}

body.section-viewtopic #page-body .search-box .icon {
    color: #a6cce9;
}

/* Pagination */

body.section-viewtopic #page-body .action-bar .pagination {
    float: none;
    margin: 0 0 0 auto;
    padding: 8px 12px;
    background: #0c2035;
    border: 1px solid #294964;
    border-radius: 8px;
    color: #bcd3e9;
    font-size: 12px;
    line-height: 1.5;
}

body.section-viewtopic #page-body .pagination::before {
    content: "\f0c5";
    font-family: FontAwesome;
    color: #79ceff;
    margin-inline-end: 7px;
}

/* Message cards */

body.section-viewtopic #page-body .post {
    margin-bottom: 14px;
    border-radius: 12px;
    border-color: #294b68;
    background: #11263a;
    box-shadow: 0 4px 16px #0002;
}

body.section-viewtopic #page-body .postbody {
    min-width: 0;
    box-sizing: border-box;
}

body.section-viewtopic #page-body .postbody h3 {
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: -.015em;
}

body.section-viewtopic #page-body .postbody h3 a {
    color: #e8f3ff;
}

body.section-viewtopic #page-body .postbody .author {
    font-size: 12px;
    line-height: 1.6;
    color: #a6bfd7;
    margin-bottom: 14px;
}

body.section-viewtopic #page-body .postbody .content {
    font-size: 14px;
    line-height: 1.8;
    padding-top: 4px;
    padding-bottom: 8px;
    overflow-wrap: anywhere;
    color: #e1edf9;
}

body.section-viewtopic #page-body .postbody .content img {
    max-width: 100%;
    height: auto;
}

/* Profile panel */

body.section-viewtopic #page-body .postprofile {
    box-sizing: border-box;
    color: #b7cde1;
}

body.section-viewtopic #page-body .postprofile dt {
    font-size: 14px;
    font-weight: 700;
}

body.section-viewtopic #page-body .postprofile .avatar img {
    border-radius: 14px;
    border: 1px solid #46799f;
    box-sizing: border-box;
}

body.section-viewtopic #page-body .postprofile dd {
    font-size: 12px;
    line-height: 1.65;
}

/* Message tools */

body.section-viewtopic #page-body .post-buttons {
    margin: 4px 10px 8px 12px;
}

body.section-viewtopic #page-body .post-buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 32px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #19344d;
    border: 1px solid #365a78;
    box-shadow: none;
    text-shadow: none;
}

body.section-viewtopic #page-body .post-buttons .icon {
    color: #a9cde9;
    font-size: 14px;
    text-shadow: none;
}

body.section-viewtopic #page-body .post-buttons .button:hover {
    background: #20547d;
    border-color: #65baff;
}

body.section-viewtopic #page-body .post-buttons .button:hover .icon {
    color: #fff;
}

/* Quotes and code */

body.section-viewtopic #page-body .postbody blockquote {
    background: #0c2033;
    border: 1px solid #2c4b66;
    border-inline-start: 3px solid #4099db;
    border-radius: 8px;
    padding: 12px 15px;
}

body.section-viewtopic #page-body .postbody .codebox {
    background: #091a2b;
    border: 1px solid #304f6b;
    border-radius: 8px;
    padding: 12px;
}

body.section-viewtopic #page-body .postbody .codebox code {
    color: #a8ddff;
    overflow-x: auto;
}

/* Mobile */

@media (max-width: 700px) {
    body.section-viewtopic #page-body .action-bar {
        padding: 10px;
        gap: 8px;
    }

    body.section-viewtopic #page-body .action-bar .pagination {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    body.section-viewtopic #page-body .search-box input.search {
        width: 140px;
    }

    body.section-viewtopic #page-body .postbody .content {
        font-size: 14px;
        line-height: 1.75;
    }

    body.section-viewtopic #page-body .post-buttons {
        margin: 5px 4px 8px;
    }

    body.section-viewtopic #page-body .topic-title {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-viewtopic #page-body .button {
        transition: none;
    }
}

/* KBK PREMIUM MEMBER PROFILE 2.9.2 */

body.section-viewtopic #page-body .postprofile {
    color: #b8cde0;
    box-sizing: border-box;
}

/* Registered member profile */

body.section-viewtopic #page-body
.postprofile:has(.profile-joined) {
    background: linear-gradient(
        160deg,
        #142d44 0%,
        #0d2032 75%
    );
}

/* Avatar */

body.section-viewtopic #page-body
.postprofile:has(.profile-joined) .avatar-container {
    margin-bottom: 14px;
}

body.section-viewtopic #page-body
.postprofile:has(.profile-joined) .avatar-container img {
    max-width: 88px;
    max-height: 88px;
    object-fit: contain;
    border-radius: 16px;
    border: 2px solid #477fa8;
    box-shadow: 0 4px 16px #0003;
}

body.section-viewtopic #page-body
.postprofile:has(.profile-joined) .no-avatar
.avatar-container::before {
    font-size: 30px !important;
}

/* Username */

body.section-viewtopic #page-body
.postprofile:has(.profile-joined) dt {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.section-viewtopic #page-body
.postprofile .username-coloured {
    color: #a5d9ff !important;
    font-weight: 750;
    text-shadow: none;
}

/* Rank badge */

body.section-viewtopic #page-body
.postprofile .profile-rank {
    display: table;
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
    margin: 9px 0 14px;
    border: 1px solid #38678b;
    border-radius: 6px;
    background: linear-gradient(135deg,#1b4160,#142e48);
    color: #a7dfff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body.section-viewtopic #page-body
.postprofile .profile-rank::before {
    content: "\f02b";
    font-family: FontAwesome;
    font-weight: normal;
    margin-inline-end: 6px;
    color: #83d3ff;
}

body.section-viewtopic #page-body
.postprofile .profile-rank img {
    max-width: 100%;
    height: auto;
}

/* Profile information */

body.section-viewtopic #page-body
.postprofile :is(
    .profile-posts,
    .profile-joined,
    .profile-warnings,
    .profile-custom-field,
    .profile-contact
) {
    box-sizing: border-box;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #29465c;
    color: #b9cee2;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

body.section-viewtopic #page-body
.postprofile :is(
    .profile-posts,
    .profile-joined,
    .profile-warnings,
    .profile-custom-field,
    .profile-contact
) strong {
    color: #e0edf9;
    font-weight: 600;
}

/* Standard profile icons */

body.section-viewtopic #page-body
.postprofile :is(
    .profile-posts,
    .profile-joined,
    .profile-warnings,
    .profile-custom-field,
    .profile-contact
) > strong::before {
    display: inline-block;
    width: 20px;
    margin-inline-end: 5px;
    font-family: FontAwesome;
    font-size: 13px;
    font-weight: normal;
    text-align: center;
    color: #79ceff;
    content: "\f05a";
}

body.section-viewtopic #page-body
.postprofile .profile-posts > strong::before {
    content: "\f0e5";
}

body.section-viewtopic #page-body
.postprofile .profile-joined > strong::before {
    content: "\f073";
}

body.section-viewtopic #page-body
.postprofile .profile-contact > strong::before {
    content: "\f0e0";
}

body.section-viewtopic #page-body
.postprofile .profile-warnings > strong::before {
    content: "\f071";
    color: #ffb66e;
}

body.section-viewtopic #page-body
.postprofile .profile-phpbb_location > strong::before {
    content: "\f041";
}

body.section-viewtopic #page-body
.postprofile .profile-phpbb_website > strong::before {
    content: "\f0ac";
}

body.section-viewtopic #page-body
.postprofile .profile-phpbb_occupation > strong::before {
    content: "\f0b1";
}

body.section-viewtopic #page-body
.postprofile .profile-phpbb_interests > strong::before {
    content: "\f005";
}

/* Prevent duplicate decorative icons */

body.section-viewtopic #page-body
.postprofile :is(
    .profile-posts,
    .profile-joined,
    .profile-warnings,
    .profile-custom-field,
    .profile-contact
)::before {
    content: none !important;
}

/* Contact button */

body.section-viewtopic #page-body
.postprofile .profile-contact .dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    box-sizing: border-box;
    border: 1px solid #365e7e;
    border-radius: 7px;
    background: #193950;
    vertical-align: middle;
    color: #a5d9ff;
}

body.section-viewtopic #page-body
.postprofile .profile-contact .dropdown-trigger:hover {
    background: #24557b;
    border-color: #79ceff;
    color: #fff;
}

/* Profile links */

body.section-viewtopic #page-body
.postprofile .profile-posts a {
    color: #83d3ff;
    font-weight: 700;
}

/* Mobile profile */

@media (max-width: 700px) {

    body.section-viewtopic #page-body
    .postprofile:has(.profile-joined) {
        background: #10283d;
    }

    body.section-viewtopic #page-body
    .postprofile:has(.profile-joined) dt {
        font-size: 14px;
    }

    body.section-viewtopic #page-body
    .postprofile .profile-rank {
        font-size: 10px;
        margin: 5px 0;
        padding: 3px 7px;
    }

    body.section-viewtopic #page-body
    .postprofile :is(
        .profile-posts,
        .profile-joined,
        .profile-warnings,
        .profile-custom-field,
        .profile-contact
    ) {
        padding: 5px 0;
        font-size: 11px;
    }
}

/* KBK PREMIUM TOPIC CONTROLS 2.9.3 */

/* Topic hero */

body.section-viewtopic #page-body .kbk-topic-search-layout {
    position: relative;
}

body.section-viewtopic #page-body .kbk-topic-search-layout .topic-title {
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.section-viewtopic #page-body .kbk-external-search {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
}

body.section-viewtopic #page-body .kbk-external-label {
    color: #9fbcd6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.section-viewtopic #page-body .kbk-external-label .icon {
    color: #79ceff;
}

body.section-viewtopic #page-body .kbk-engine-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

body.section-viewtopic #page-body a.kbk-engine {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 1px solid #355777;
    border-radius: 9px;
    background: linear-gradient(145deg,#19364f,#10253b);
    color: #e3effb;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: background .18s ease,
                border-color .18s ease,
                box-shadow .18s ease;
}

body.section-viewtopic #page-body .kbk-engine-logo {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 6px;
    background: #091b2d;
    font-family: Arial,sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

body.section-viewtopic #page-body .kbk-engine-google
.kbk-engine-logo {
    color: #4285f4;
}

body.section-viewtopic #page-body .kbk-engine-yandex
.kbk-engine-logo {
    color: #ff5353;
}

body.section-viewtopic #page-body .kbk-engine-bing
.kbk-engine-logo {
    color: #39d6bd;
}

body.section-viewtopic #page-body .kbk-engine > .icon {
    font-size: 9px;
    color: #819eb8;
}

body.section-viewtopic #page-body .kbk-engine-google:hover {
    background: #183c62;
    border-color: #4285f4;
    box-shadow: 0 0 14px #4285f422;
}

body.section-viewtopic #page-body .kbk-engine-yandex:hover {
    background: #392735;
    border-color: #ff5353;
    box-shadow: 0 0 14px #ff535322;
}

body.section-viewtopic #page-body .kbk-engine-bing:hover {
    background: #153e42;
    border-color: #39d6bd;
    box-shadow: 0 0 14px #39d6bd22;
}

@media (min-width: 1250px) {
    body.section-viewtopic #page-body .kbk-topic-search-layout {
        padding-inline-end: 345px;
    }

    body.section-viewtopic #page-body .kbk-external-search {
        position: absolute;
        inset-inline-end: 22px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
}

/* Topic tools dropdown */

body.section-viewtopic #page-body
.action-bar .dropdown-container {
    position: relative;
}

body.section-viewtopic #page-body
.action-bar .dropdown-trigger.button {
    border-radius: 9px;
    background: linear-gradient(145deg,#193b57,#10283e);
    border-color: #3b6383;
    color: #dbeeff;
    text-shadow: none !important;
    box-shadow: none;
}

body.section-viewtopic #page-body
.action-bar .dropdown-trigger .icon {
    color: #8ed5ff;
    text-shadow: none !important;
}

body.section-viewtopic #page-body
.action-bar .dropdown-trigger:hover {
    border-color: #79ceff;
    background: #214b6e;
}

body.section-viewtopic #page-body
.action-bar .dropdown .dropdown-contents,
body.section-viewtopic #page-body
.jumpbox .dropdown .dropdown-contents {
    padding: 7px;
    min-width: 230px;
    box-sizing: border-box;
    border: 1px solid #365b7c;
    border-radius: 12px;
    background: linear-gradient(155deg,#172f47,#0d2034);
    box-shadow: 0 12px 32px #0006;
}

body.section-viewtopic #page-body
.action-bar .dropdown .pointer,
body.section-viewtopic #page-body
.jumpbox .dropdown .pointer {
    border-color: #365b7c transparent;
}

body.section-viewtopic #page-body
.action-bar .dropdown .pointer-inner,
body.section-viewtopic #page-body
.jumpbox .dropdown .pointer-inner {
    border-color: #172f47 transparent;
}

body.section-viewtopic #page-body
.action-bar .dropdown li,
body.section-viewtopic #page-body
.jumpbox .dropdown li {
    margin: 2px 0;
    padding: 0;
    border: 0 !important;
    border-radius: 7px;
}

body.section-viewtopic #page-body
.action-bar .dropdown li a,
body.section-viewtopic #page-body
.jumpbox .dropdown li a {
    display: block;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 7px;
    color: #d5e7f8;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: background .15s ease;
}

body.section-viewtopic #page-body
.action-bar .dropdown li a .icon,
body.section-viewtopic #page-body
.jumpbox .dropdown li a .icon {
    color: #79ceff;
    margin-inline-end: 7px;
}

body.section-viewtopic #page-body
.action-bar .dropdown li a:hover,
body.section-viewtopic #page-body
.jumpbox .dropdown li a:hover {
    background: #224664;
    color: #fff;
}

/* Forum return and jumpbox */

body.section-viewtopic #page-body .jumpbox-return {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 10px 4px 0;
    padding: 10px 14px;
    border: 1px solid #315571;
    border-radius: 8px;
    background: #102b42;
    color: #91d6ff;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    box-sizing: border-box;
}

body.section-viewtopic #page-body .jumpbox-return .icon {
    color: #79ceff;
}

body.section-viewtopic #page-body .jumpbox-return:hover {
    background: #1c4160;
    border-color: #65baff;
    color: #fff;
}

body.section-viewtopic #page-body .jumpbox {
    margin: 4px 0;
}

body.section-viewtopic #page-body .jumpbox .dropdown-trigger {
    padding: 10px 14px;
    border: 1px solid #3b6383;
    border-radius: 8px;
    background: linear-gradient(145deg,#193b57,#10283e);
    color: #e5f2ff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: none !important;
    box-shadow: none;
}

body.section-viewtopic #page-body .jumpbox .dropdown-trigger .icon {
    color: #79ceff;
}

body.section-viewtopic #page-body .jumpbox .dropdown-trigger:hover {
    background: #214b6e;
    border-color: #79ceff;
}

/* Mobile */

@media (max-width: 700px) {

    body.section-viewtopic #page-body .kbk-external-search {
        position: static;
        transform: none;
        align-items: flex-start;
        margin-top: 16px;
        padding-top: 12px;
        border-top: 1px solid #31516e;
    }

    body.section-viewtopic #page-body .kbk-engine-buttons {
        gap: 6px;
    }

    body.section-viewtopic #page-body a.kbk-engine {
        min-height: 36px;
        padding: 5px 8px;
        font-size: 11px;
    }

    body.section-viewtopic #page-body .kbk-engine > .icon {
        display: none;
    }

    body.section-viewtopic #page-body .jumpbox-return {
        max-width: 100%;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-viewtopic #page-body .kbk-engine,
    body.section-viewtopic #page-body .dropdown li a {
        transition: none;
    }
}

@media print {
    body.section-viewtopic #page-body .kbk-external-search {
        display: none !important;
    }
}

/* KBK PREMIUM JUMPBOX 2.9.4 */

#page-body .jumpbox .dropdown {
    max-width: calc(100vw - 40px);
    z-index: 100;
}

#page-body .jumpbox .dropdown-contents {
    width: 340px;
    min-width: 0 !important;
    max-width: calc(100vw - 40px);
    max-height: min(420px, 65vh);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 9px !important;
    border: 1px solid #365c7c !important;
    border-radius: 13px !important;
    background: linear-gradient(160deg,#142e46,#0b1e31) !important;
    box-shadow: 0 16px 40px #0007;
    scrollbar-width: thin;
    scrollbar-color: #426c8e #102439;
}

/* Reset original phpBB backgrounds */

#page-body .jumpbox .dropdown-contents li {
    margin: 3px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 8px;
}

#page-body .jumpbox .dropdown-contents a {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    padding: 10px 12px !important;
    margin: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: #142b40 !important;
    color: #c7dced !important;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: none !important;
    text-decoration: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: background .15s ease,
                border-color .15s ease,
                color .15s ease;
}

/* Main categories */

#page-body .jumpbox .dropdown-contents .jumpbox-cat-link,
#page-body .jumpbox .dropdown-contents .jumpbox-cat-link a,
#page-body .jumpbox .dropdown-contents a.jumpbox-cat-link {
    background: linear-gradient(110deg,#20486a,#17344f) !important;
    border-color: #315a7b !important;
    color: #edf7ff !important;
    font-weight: 750 !important;
    border-radius: 8px;
}

#page-body .jumpbox .dropdown-contents a.jumpbox-cat-link::before,
#page-body .jumpbox .dropdown-contents .jumpbox-cat-link > a::before {
    content: "\f07b";
    font-family: FontAwesome;
    font-weight: normal;
    font-size: 14px;
    color: #83d1ff;
    flex-shrink: 0;
}

/* Subforums */

#page-body .jumpbox .dropdown-contents .jumpbox-forum-link,
#page-body .jumpbox .dropdown-contents .jumpbox-forum-link a,
#page-body .jumpbox .dropdown-contents .jumpbox-sub-link,
#page-body .jumpbox .dropdown-contents .jumpbox-sub-link a {
    background: #10283c !important;
    color: #c7dced !important;
    border-radius: 7px;
}

#page-body .jumpbox .dropdown-contents a.jumpbox-forum-link,
#page-body .jumpbox .dropdown-contents a.jumpbox-sub-link {
    padding-inline-start: 18px !important;
}

#page-body .jumpbox .dropdown-contents .icon {
    color: #79c8f5 !important;
    text-shadow: none !important;
}

/* Hover and keyboard navigation */

#page-body .jumpbox .dropdown-contents a:hover,
#page-body .jumpbox .dropdown-contents a:focus-visible {
    background: #21496a !important;
    border-color: #4387b8 !important;
    color: #fff !important;
}

#page-body .jumpbox .dropdown-contents a:focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: -2px;
}

/* Current forum, when marked by phpBB */

#page-body .jumpbox .dropdown-contents a.selected,
#page-body .jumpbox .dropdown-contents .selected > a,
#page-body .jumpbox .dropdown-contents a[aria-current="page"] {
    background: linear-gradient(110deg,#174b73,#12354f) !important;
    border-color: #459bd5 !important;
    color: #fff !important;
    font-weight: 700;
}

/* Dropdown pointer */

#page-body .jumpbox .dropdown .pointer {
    border-color: #365c7c transparent !important;
}

#page-body .jumpbox .dropdown .pointer-inner {
    border-color: #142e46 transparent !important;
}

/* Scrollbar */

#page-body .jumpbox .dropdown-contents::-webkit-scrollbar {
    width: 6px;
}

#page-body .jumpbox .dropdown-contents::-webkit-scrollbar-track {
    background: #102439;
    border-radius: 10px;
}

#page-body .jumpbox .dropdown-contents::-webkit-scrollbar-thumb {
    background: #426c8e;
    border-radius: 10px;
}

#page-body .jumpbox .dropdown-contents::-webkit-scrollbar-thumb:hover {
    background: #65baff;
}

/* Mobile */

@media (max-width: 700px) {
    #page-body .jumpbox .dropdown-contents {
        width: 290px;
        max-width: calc(100vw - 40px);
        max-height: 55vh;
        padding: 6px !important;
    }

    #page-body .jumpbox .dropdown-contents a {
        min-height: 40px;
        font-size: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .jumpbox .dropdown-contents a {
        transition: none;
    }
}

/* KBK PREMIUM ACTIVE TOPICS 2.9.5 */

/* Active topics heading */

body.kbk-search-results #page-body > h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 100px;
    padding: 22px 26px;
    margin: 18px 0 12px;
    box-sizing: border-box;
    border: 1px solid #365e80;
    border-radius: 13px;
    background:
        radial-gradient(ellipse at 90% 0%,#23568080,transparent 65%),
        linear-gradient(125deg,#142e48,#0d2034);
    color: #f1f7ff;
    font-size: clamp(23px,2.2vw,32px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.35;
    box-shadow: 0 5px 20px #0002;
}

body.kbk-search-results #page-body > h2::before {
    content: "\f0e7";
    font-family: FontAwesome;
    display: inline-grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border: 1px solid #4385b5;
    border-radius: 13px;
    background: linear-gradient(145deg,#24577d,#15344f);
    color: #8bd7ff;
    font-size: 27px;
    font-weight: normal;
}

/* Search and pagination toolbar */

body.kbk-search-results #page-body .action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    margin: 12px 0 16px;
    border: 1px solid #294b68;
    border-radius: 11px;
    background: linear-gradient(120deg,#142c42,#102237);
    box-sizing: border-box;
}

body.kbk-search-results #page-body .action-bar .search-box {
    float: none;
    margin: 0;
    max-width: 100%;
}

body.kbk-search-results #page-body .search-box fieldset {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

body.kbk-search-results #page-body .search-box input.search {
    width: 210px;
    max-width: 55vw;
    height: 38px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #365a78;
    border-radius: 8px 0 0 8px;
    background: #0b1d30;
    color: #e7f3ff;
    box-shadow: none;
    font-size: 13px;
}

body.kbk-search-results #page-body .search-box input::placeholder {
    color: #9db7d0;
    opacity: 1;
}

body.kbk-search-results #page-body .search-box .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 0;
    background: #17354e;
    border-color: #365a78;
    text-shadow: none;
}

body.kbk-search-results #page-body .search-box .button-search-end {
    border-radius: 0 8px 8px 0;
}

body.kbk-search-results #page-body .search-box .icon {
    color: #9ed9ff;
}

body.kbk-search-results #page-body .action-bar .pagination {
    float: none;
    margin: 0 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #31536e;
    border-radius: 8px;
    background: #0d2236;
    color: #bcd5eb;
    font-size: 12px;
    line-height: 1.6;
}

body.kbk-search-results #page-body .pagination li a,
body.kbk-search-results #page-body .pagination li span {
    border-radius: 6px;
    padding: 5px 9px;
    box-shadow: none;
}

body.kbk-search-results #page-body .pagination li.active span {
    background: #086cbf;
    border-color: #459ee2;
    color: #fff;
}

/* Topics container */

body.kbk-search-results #page-body .forumbg {
    padding: 0;
    margin: 0 0 16px;
    border: 1px solid #31516d;
    border-radius: 12px;
    background: #102438;
    box-shadow: 0 5px 22px #0002;
    overflow: hidden;
}

/* Compact table heading */

body.kbk-search-results #page-body .forumbg li.header {
    padding: 9px 12px !important;
    margin: 0;
    min-height: 0;
    background: linear-gradient(110deg,#193d60,#15324e) !important;
    border-bottom: 1px solid #3b6283;
    border-radius: 0;
}

body.kbk-search-results #page-body .forumbg li.header dl {
    min-height: 0;
}

body.kbk-search-results #page-body .forumbg li.header dt,
body.kbk-search-results #page-body .forumbg li.header dd,
body.kbk-search-results #page-body .forumbg li.header .list-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 24px !important;
    color: #cce6fb !important;
    font-size: 12px !important;
    font-weight: 700;
}

body.kbk-search-results #page-body .forumbg li.header .list-inner::before {
    content: "\f0e6";
    font-family: FontAwesome;
    color: #79ceff;
    font-weight: normal;
}

/* Topic rows */

body.kbk-search-results #page-body .forumbg li.row {
    padding: 5px 12px;
    margin: 0;
    border: 0;
    border-top: 1px solid #29445c;
    border-radius: 0;
    background: #11273c;
    transition: background .15s ease;
}

body.kbk-search-results #page-body .forumbg li.row:nth-child(even) {
    background: #102438;
}

body.kbk-search-results #page-body .forumbg li.row:hover {
    background: #19374f;
}

body.kbk-search-results #page-body .forumbg li.row dl.row-item {
    background-image: none !important;
}

body.kbk-search-results #page-body .forumbg li.row dt {
    position: relative;
}

body.kbk-search-results #page-body .forumbg li.row dt::before {
    content: "\f0e5";
    font-family: FontAwesome;
    display: grid;
    place-items: center;
    position: absolute;
    inset-inline-start: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 37px;
    height: 37px;
    border: 1px solid #365d7d;
    border-radius: 10px;
    background: linear-gradient(145deg,#234761,#17354d);
    color: #8bcfff;
    font-size: 17px;
    pointer-events: none;
}

body.kbk-search-results #page-body .forumbg li.row
dl[class*="unread"] dt::before {
    background: linear-gradient(145deg,#1476bd,#164d79);
    border-color: #4a9edb;
    color: #e9f7ff;
}

body.kbk-search-results #page-body .forumbg li.row
dl[class*="locked"] dt::before {
    content: "\f023";
}

body.kbk-search-results #page-body .forumbg li.row
dl[class*="sticky"] dt::before {
    content: "\f08d";
}

body.kbk-search-results #page-body .forumbg li.row
dl[class*="announce"] dt::before {
    content: "\f0a1";
}

body.kbk-search-results #page-body .forumbg li.row .list-inner {
    padding-inline-start: 54px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #9fb8ce;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

body.kbk-search-results #page-body a.topictitle {
    color: #e9f4ff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

body.kbk-search-results #page-body a.topictitle:hover {
    color: #79ceff;
}

/* Statistics and last post */

body.kbk-search-results #page-body .forumbg li.row dd.posts,
body.kbk-search-results #page-body .forumbg li.row dd.views {
    color: #b5d5ef;
    font-size: 13px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    border-color: transparent;
}

body.kbk-search-results #page-body .forumbg li.row dd.lastpost {
    color: #a4bdd3;
    font-size: 11px;
    line-height: 1.65;
    border-color: transparent;
}

body.kbk-search-results #page-body .forumbg li.row dd.lastpost a {
    color: #9bd8ff;
}

body.kbk-search-results #page-body .forumbg li.row dd.lastpost .icon {
    color: #79ceff;
}

/* Sorting and dropdown controls */

body.kbk-search-results #page-body .dropdown-trigger.button {
    border: 1px solid #3b6383;
    border-radius: 8px;
    background: linear-gradient(145deg,#193b57,#10283e);
    color: #dceeff;
    text-shadow: none;
    box-shadow: none;
}

body.kbk-search-results #page-body .dropdown-trigger .icon {
    color: #8ed5ff;
}

body.kbk-search-results #page-body .action-bar .dropdown-contents {
    padding: 10px;
    border: 1px solid #365b7c;
    border-radius: 11px;
    background: #122b42;
    box-shadow: 0 12px 30px #0005;
}

body.kbk-search-results #page-body .action-bar .dropdown-contents label {
    color: #d8e8f7;
}

body.kbk-search-results #page-body .action-bar select {
    background: #0c2034;
    border-color: #365b7c;
    color: #e4f0fc;
}

/* Mobile */

@media (max-width: 700px) {

    body.kbk-search-results #page-body > h2 {
        min-height: 80px;
        padding: 15px;
        gap: 12px;
        font-size: 22px;
    }

    body.kbk-search-results #page-body > h2::before {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    body.kbk-search-results #page-body .action-bar {
        padding: 10px;
        gap: 8px;
    }

    body.kbk-search-results #page-body .action-bar .pagination {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    body.kbk-search-results #page-body .forumbg li.row {
        padding: 4px 7px;
    }

    body.kbk-search-results #page-body .forumbg li.row dt::before {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    body.kbk-search-results #page-body .forumbg li.row .list-inner {
        padding-inline-start: 43px;
        font-size: 11px;
    }

    body.kbk-search-results #page-body a.topictitle {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.kbk-search-results #page-body .forumbg li.row {
        transition: none;
    }
}

@media print {
    body.kbk-search-results #page-body > h2::before {
        display: none;
    }
}

/* KBK SEARCH RESULTS FIX 2.9.6 */

/* KBK PREMIUM HELP CENTER 2.9.7 */

/* Help center layout */

#page-body .kbk-help-center {
    color: #dce9f6;
    min-width: 0;
    margin: 18px 0 24px;
}

/* Hero */

#page-body .kbk-help-center > h2 {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 115px;
    padding: 24px 28px;
    margin: 0 0 18px;
    box-sizing: border-box;
    border: 1px solid #365f82;
    border-radius: 14px;
    background:
        radial-gradient(
            ellipse at 90% 0%,
            #28649a80,
            transparent 65%
        ),
        linear-gradient(125deg,#15314d,#0d2035);
    color: #f0f7ff !important;
    font-size: clamp(24px,2.5vw,34px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.35;
    box-shadow: 0 5px 24px #0003;
}

#page-body .kbk-help-center > h2::before {
    content: "\f059";
    font-family: FontAwesome;
    display: inline-grid;
    place-items: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 1px solid #498ab9;
    border-radius: 15px;
    background: linear-gradient(145deg,#285a80,#16354f);
    color: #8cd8ff;
    font-size: 32px;
    font-weight: normal;
}

/* General panels */

#page-body .kbk-help-center .panel {
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 22px;
    border: 1px solid #2d4e6a;
    border-radius: 13px;
    background: linear-gradient(145deg,#132a40,#102337);
    box-shadow: 0 4px 18px #0002;
    color: #dce9f6;
}

#page-body .kbk-help-center .panel .inner {
    min-width: 0;
}

/* FAQ category columns */

#page-body .kbk-help-center .column1,
#page-body .kbk-help-center .column2 {
    box-sizing: border-box;
    min-width: 0;
    width: 49%;
}

#page-body .kbk-help-center .column1 {
    padding-inline-end: 8px;
}

#page-body .kbk-help-center .column2 {
    padding-inline-start: 8px;
}

/* Category cards */

#page-body .kbk-help-center .faq {
    margin: 0 0 18px;
    padding: 0;
    border: 1px solid #2d4d68;
    border-radius: 11px;
    background: #0d2235;
    overflow: hidden;
}

#page-body .kbk-help-center .faq dt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 16px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #355976;
    background: linear-gradient(110deg,#204565,#17354f);
    color: #e9f5ff !important;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

#page-body .kbk-help-center .faq dt strong {
    color: #e9f5ff !important;
}

#page-body .kbk-help-center .faq dt::before {
    content: "\f07c";
    font-family: FontAwesome;
    color: #8ad5ff;
    font-size: 17px;
    font-weight: normal;
    flex-shrink: 0;
}

#page-body .kbk-help-center .column1 .faq:nth-of-type(1) dt::before {
    content: "\f023";
}

#page-body .kbk-help-center .column1 .faq:nth-of-type(2) dt::before {
    content: "\f013";
}

#page-body .kbk-help-center .column1 .faq:nth-of-type(3) dt::before {
    content: "\f0e6";
}

#page-body .kbk-help-center .column1 .faq:nth-of-type(4) dt::before {
    content: "\f121";
}

#page-body .kbk-help-center .column2 .faq:nth-of-type(1) dt::before {
    content: "\f0c0";
}

#page-body .kbk-help-center .column2 .faq:nth-of-type(2) dt::before {
    content: "\f0e0";
}

#page-body .kbk-help-center .column2 .faq:nth-of-type(3) dt::before {
    content: "\f2bd";
}

#page-body .kbk-help-center .column2 .faq:nth-of-type(4) dt::before {
    content: "\f085";
}

/* Question links */

#page-body .kbk-help-center .faq dd {
    margin: 0;
    padding: 0;
    border: 0;
    color: #c7d9e9;
}

#page-body .kbk-help-center :is(.column1,.column2) .faq dd {
    border-bottom: 1px solid #223d53;
}

#page-body .kbk-help-center :is(.column1,.column2) .faq dd:last-child {
    border-bottom: 0;
}

#page-body .kbk-help-center :is(.column1,.column2) .faq dd > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 11px 15px;
    box-sizing: border-box;
    color: #b8d6ed !important;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    transition: background .18s ease,color .18s ease;
}

#page-body .kbk-help-center :is(.column1,.column2) .faq dd > a::before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 15px;
    font-weight: normal;
    color: #75c7f7;
    flex-shrink: 0;
}

#page-body .kbk-help-center :is(.column1,.column2) .faq dd > a:hover {
    background: #1b3d58;
    color: #fff !important;
}

#page-body .kbk-help-center :is(.column1,.column2) .faq dd > a:focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: -2px;
}

/* Answer section headings */

#page-body .kbk-help-center .panel h2,
#page-body .kbk-help-center .panel h3 {
    color: #e8f4ff !important;
    font-weight: 750;
    line-height: 1.45;
    text-shadow: none;
}

#page-body .kbk-help-center .panel h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 0 15px;
    margin: 0 0 16px;
    border-bottom: 1px solid #355673;
    font-size: 21px;
}

#page-body .kbk-help-center .panel h2::before {
    content: "\f02d";
    font-family: FontAwesome;
    color: #79ceff;
    font-size: 20px;
    font-weight: normal;
}

/* Answer cards */

#page-body .kbk-help-center .panel:not(:has(.column1)) .faq {
    margin: 0 0 16px;
}

#page-body .kbk-help-center .panel:not(:has(.column1)) .faq dt {
    background: #193951;
    color: #e5f2ff !important;
}

#page-body .kbk-help-center .panel:not(:has(.column1)) .faq dt::before {
    content: "\f059";
}

#page-body .kbk-help-center .panel:not(:has(.column1)) .faq dd {
    padding: 17px 18px;
    font-size: 14px;
    line-height: 1.85;
    color: #d0e1ef;
    overflow-wrap: anywhere;
}

#page-body .kbk-help-center .panel:not(:has(.column1)) .faq dd a {
    color: #83d2ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#page-body .kbk-help-center .panel:not(:has(.column1)) .faq dd a:hover {
    color: #fff;
}

/* Additional text */

#page-body .kbk-help-center p,
#page-body .kbk-help-center .content {
    color: #cbddec;
    line-height: 1.8;
}

#page-body .kbk-help-center hr {
    border: 0;
    border-top: 1px solid #29475f;
    margin: 18px 0;
}

#page-body .kbk-help-center img {
    max-width: 100%;
    height: auto;
}

/* Back to top */

#page-body .kbk-help-center .top,
#page-body .kbk-help-center .back2top a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid #365d7c;
    border-radius: 7px;
    background: #19384f;
    color: #a5dbff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
}

#page-body .kbk-help-center .top:hover,
#page-body .kbk-help-center .back2top a:hover {
    background: #245777;
    border-color: #79ceff;
    color: #fff !important;
}

/* Anchor navigation */

#page-body .kbk-help-center [id] {
    scroll-margin-top: 20px;
}

#page-body .kbk-help-center :target {
    outline: 1px solid #529bce;
    outline-offset: 3px;
    border-radius: 7px;
}

/* Mobile */

@media (max-width: 760px) {

    #page-body .kbk-help-center > h2 {
        min-height: 85px;
        padding: 16px;
        gap: 13px;
        font-size: 23px;
    }

    #page-body .kbk-help-center > h2::before {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 25px;
        border-radius: 11px;
    }

    #page-body .kbk-help-center .panel {
        padding: 12px;
    }

    #page-body .kbk-help-center .column1,
    #page-body .kbk-help-center .column2 {
        float: none !important;
        width: 100% !important;
        padding: 0;
    }

    #page-body .kbk-help-center .faq dt {
        padding: 12px;
        font-size: 14px;
    }

    #page-body .kbk-help-center :is(.column1,.column2) .faq dd > a {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13px;
    }

    #page-body .kbk-help-center .panel:not(:has(.column1)) .faq dd {
        padding: 14px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .kbk-help-center a {
        transition: none;
    }
}

/* KBK PREMIUM MEMBER DIRECTORY 2.9.8 */

#page-body .kbk-member-directory {
    min-width: 0;
    margin: 18px 0 28px;
    color: #dceaf7;
}

/* Premium hero */

#page-body .kbk-member-directory > h2 {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 110px;
    margin: 0 0 20px;
    padding: 22px 28px;
    box-sizing: border-box;
    border: 1px solid #365f82;
    border-radius: 14px;
    background:
        radial-gradient(ellipse at 90% 0%,#28649a80,transparent 65%),
        linear-gradient(125deg,#15314d,#0d2035);
    color: #f0f7ff !important;
    font-size: clamp(24px,2.5vw,34px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.35;
}

#page-body .kbk-member-directory > h2::before {
    content: "\f0c0";
    font-family: FontAwesome;
    display: inline-grid;
    place-items: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border: 1px solid #498ab9;
    border-radius: 14px;
    background: linear-gradient(145deg,#285a80,#16354f);
    color: #8cd8ff;
    font-size: 28px;
    font-weight: normal;
}

/* Member navigation */

#page-body .kbk-member-directory .action-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 18px;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 1px solid #2d4f6c;
    border-radius: 12px;
    background: linear-gradient(125deg,#142d44,#102337);
}

#page-body .kbk-member-directory .member-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    float: none;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 9px;
    background: #0d2235;
    color: #a9c9e2;
    font-size: 12px;
    line-height: 1.7;
}

#page-body .kbk-member-directory .member-search a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    min-height: 29px;
    padding: 4px 6px;
    box-sizing: border-box;
    border: 1px solid #2d4f69;
    border-radius: 6px;
    background: #163149;
    color: #b5dcf8 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease,border-color .15s ease;
}

#page-body .kbk-member-directory .member-search a:hover {
    background: #245578;
    border-color: #79ceff;
    color: #fff !important;
}

#page-body .kbk-member-directory .member-search a:first-child {
    gap: 7px;
    padding-inline: 12px;
}

#page-body .kbk-member-directory .member-search a:first-child::before {
    content: "\f002";
    font-family: FontAwesome;
    color: #8bd5ff;
    font-weight: normal;
}

/* Pagination */

#page-body .kbk-member-directory .pagination {
    float: none;
    margin-inline-start: auto;
    padding: 9px 13px;
    border: 1px solid #315570;
    border-radius: 8px;
    background: #0d2236;
    color: #bdd6eb;
    font-size: 12px;
    line-height: 1.7;
}

#page-body .kbk-member-directory .pagination li a,
#page-body .kbk-member-directory .pagination li span {
    border-radius: 6px;
    box-shadow: none;
}

#page-body .kbk-member-directory .pagination li.active span {
    background: #086cbf;
    border-color: #459ee2;
    color: #fff;
}

/* Member table container */

#page-body .kbk-member-directory .forumbg {
    margin: 0 0 16px;
    padding: 0;
    border: 1px solid #345773;
    border-radius: 12px;
    background: #102438;
    overflow: hidden;
    box-shadow: 0 6px 22px #0002;
}

#page-body .kbk-member-directory table.table1 {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

/* Table header */

#page-body .kbk-member-directory table.table1 thead {
    background: linear-gradient(110deg,#204667,#17344e);
}

#page-body .kbk-member-directory table.table1 thead th {
    padding: 14px 12px;
    border: 0;
    border-bottom: 1px solid #3a6282;
    color: #d9edff !important;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .025em;
    line-height: 1.5;
    text-shadow: none;
}

#page-body .kbk-member-directory table.table1 thead th a {
    color: #d9edff !important;
    text-decoration: none;
}

#page-body .kbk-member-directory table.table1 thead th::before {
    font-family: FontAwesome;
    margin-inline-end: 7px;
    color: #8bd5ff;
    font-size: 13px;
    font-weight: normal;
}

#page-body .kbk-member-directory table.table1 thead th.name::before {
    content: "\f007";
}

#page-body .kbk-member-directory table.table1 thead th.rank::before {
    content: "\f005";
}

#page-body .kbk-member-directory table.table1 thead th.posts::before {
    content: "\f0e6";
}

#page-body .kbk-member-directory table.table1 thead th.joined::before {
    content: "\f073";
}

#page-body .kbk-member-directory table.table1 thead th.active::before {
    content: "\f017";
}

/* Member rows */

#page-body .kbk-member-directory table.table1 tbody tr {
    background: #11283d !important;
    border: 0;
    transition: background .15s ease;
}

#page-body .kbk-member-directory table.table1 tbody tr:nth-child(even) {
    background: #102438 !important;
}

#page-body .kbk-member-directory table.table1 tbody tr:hover {
    background: #1a3952 !important;
}

#page-body .kbk-member-directory table.table1 tbody td {
    padding: 15px 12px;
    border: 0 !important;
    border-bottom: 1px solid #29465e !important;
    vertical-align: middle;
    color: #c1d6e8 !important;
    font-size: 13px;
    line-height: 1.6;
}

#page-body .kbk-member-directory table.table1 tbody tr:last-child td {
    border-bottom: 0 !important;
}

/* User profile icon */

#page-body .kbk-member-directory table.table1 tbody td:first-child {
    position: relative;
    padding-inline-start: 66px;
    min-height: 60px;
}

#page-body .kbk-member-directory table.table1 tbody td:first-child::before {
    content: "\f007";
    font-family: FontAwesome;
    position: absolute;
    inset-inline-start: 13px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #416c8c;
    border-radius: 11px;
    background: linear-gradient(145deg,#275372,#16354f);
    color: #a1ddff;
    font-size: 17px;
    font-weight: normal;
    pointer-events: none;
}

#page-body .kbk-member-directory table.table1 tbody td:first-child a {
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

#page-body .kbk-member-directory table.table1 tbody a.username {
    color: #b5ddfa;
}

#page-body .kbk-member-directory table.table1 tbody a.username-coloured {
    filter: brightness(1.35);
}

#page-body .kbk-member-directory table.table1 tbody td:first-child a:hover {
    color: #fff !important;
}

#page-body .kbk-member-directory table.table1 tbody td:first-child em {
    color: #9fb6cb;
    font-size: 11px;
}

/* Rank */

#page-body .kbk-member-directory table.table1 tbody td.rank {
    color: #9bd6ff !important;
    font-weight: 650;
}

#page-body .kbk-member-directory table.table1 tbody td.rank:not(:empty)::before {
    content: "\f005";
    font-family: FontAwesome;
    margin-inline-end: 6px;
    color: #e7bb6c;
    font-size: 11px;
    font-weight: normal;
}

#page-body .kbk-member-directory table.table1 tbody td.rank img {
    max-width: 100%;
    height: auto;
}

/* Message count */

#page-body .kbk-member-directory table.table1 tbody td.posts {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #a6d9ff !important;
}

#page-body .kbk-member-directory table.table1 tbody td.posts a {
    display: inline-block;
    min-width: 22px;
    padding: 4px 9px;
    border: 1px solid #315b7a;
    border-radius: 7px;
    background: #17364f;
    color: #a6d9ff !important;
    text-decoration: none;
}

/* Registration and activity */

#page-body .kbk-member-directory table.table1 tbody td.joined,
#page-body .kbk-member-directory table.table1 tbody td.active {
    color: #b5ccdf !important;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

#page-body .kbk-member-directory table.table1 tbody td.joined::before,
#page-body .kbk-member-directory table.table1 tbody td.active::before {
    font-family: FontAwesome;
    color: #75c7f7;
    margin-inline-end: 7px;
    font-size: 12px;
}

#page-body .kbk-member-directory table.table1 tbody td.joined::before {
    content: "\f073";
}

#page-body .kbk-member-directory table.table1 tbody td.active::before {
    content: "\f017";
}

/* Search form */

#page-body .kbk-member-directory .panel {
    border: 1px solid #315570;
    border-radius: 12px;
    background: #11283d;
    color: #cbddec;
}

#page-body .kbk-member-directory input.inputbox,
#page-body .kbk-member-directory select {
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #365d7c;
    border-radius: 7px;
    background: #0d2033;
    color: #e1effb;
    box-shadow: none;
}

#page-body .kbk-member-directory label {
    color: #d0e2f1;
}

#page-body .kbk-member-directory input::placeholder {
    color: #9db7cd;
}

/* Accessibility */

#page-body .kbk-member-directory a:focus-visible,
#page-body .kbk-member-directory input:focus-visible,
#page-body .kbk-member-directory select:focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: 2px;
}

/* Responsive */

@media (max-width: 760px) {

    #page-body .kbk-member-directory > h2 {
        min-height: 82px;
        padding: 16px;
        gap: 13px;
        font-size: 23px;
    }

    #page-body .kbk-member-directory > h2::before {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 21px;
        border-radius: 10px;
    }

    #page-body .kbk-member-directory .action-bar {
        padding: 9px;
    }

    #page-body .kbk-member-directory .member-search {
        width: 100%;
        box-sizing: border-box;
    }

    #page-body .kbk-member-directory .member-search a {
        min-width: 29px;
        min-height: 34px;
    }

    #page-body .kbk-member-directory .forumbg {
        overflow-x: auto;
    }

    #page-body .kbk-member-directory table.table1 th,
    #page-body .kbk-member-directory table.table1 td {
        padding: 11px 8px;
        font-size: 11px;
    }

    #page-body .kbk-member-directory table.table1 tbody td:first-child {
        padding-inline-start: 46px;
    }

    #page-body .kbk-member-directory table.table1 tbody td:first-child::before {
        inset-inline-start: 7px;
        width: 30px;
        height: 30px;
        font-size: 13px;
        border-radius: 8px;
    }

    #page-body .kbk-member-directory table.table1 tbody td:first-child a {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .kbk-member-directory * {
        transition: none !important;
    }
}

/* KBK MEMBER TABLE REFINEMENT 2.9.9 */

#page-body .kbk-member-directory table.table1 {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
}

/* Compact and aligned table headings */

#page-body .kbk-member-directory table.table1 thead tr {
    height: auto !important;
    min-height: 0 !important;
}

#page-body .kbk-member-directory table.table1 thead th {
    display: table-cell !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 16px !important;
    vertical-align: middle !important;
    line-height: 22px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: start !important;
    box-sizing: border-box;
}

/* Keep icons and text on the same line */

#page-body .kbk-member-directory table.table1 thead th a {
    display: inline !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: inherit !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

#page-body .kbk-member-directory table.table1 thead th::before {
    display: inline-block !important;
    position: static !important;
    float: none !important;
    width: 16px !important;
    height: auto !important;
    margin: 0 7px 0 0 !important;
    padding: 0 !important;
    font-family: FontAwesome !important;
    font-size: 13px !important;
    font-weight: normal !important;
    line-height: inherit !important;
    vertical-align: middle !important;
    text-align: center !important;
    color: #8bd5ff !important;
    background: none !important;
    border: 0 !important;
    transform: none !important;
}

/* Column icons */

#page-body .kbk-member-directory table.table1 thead th.name::before,
#page-body .kbk-member-directory table.table1 thead th:first-child::before {
    content: "\f007" !important;
}

#page-body .kbk-member-directory table.table1 thead th.rank::before,
#page-body .kbk-member-directory table.table1 thead th.info::before {
    content: "\f005" !important;
}

#page-body .kbk-member-directory table.table1 thead th.posts::before {
    content: "\f0e6" !important;
}

#page-body .kbk-member-directory table.table1 thead th.joined::before {
    content: "\f073" !important;
}

#page-body .kbk-member-directory table.table1 thead th.active::before {
    content: "\f017" !important;
}

/* Balanced column widths */

#page-body .kbk-member-directory table.table1 :is(th,td).name,
#page-body .kbk-member-directory table.table1 :is(th,td):first-child {
    width: 30% !important;
}

#page-body .kbk-member-directory table.table1 :is(th,td).rank,
#page-body .kbk-member-directory table.table1 :is(th,td).info {
    width: 18% !important;
}

#page-body .kbk-member-directory table.table1 :is(th,td).posts {
    width: 12% !important;
    text-align: center !important;
}

#page-body .kbk-member-directory table.table1 :is(th,td).joined {
    width: 20% !important;
}

#page-body .kbk-member-directory table.table1 :is(th,td).active {
    width: 20% !important;
}

/* Body alignment */

#page-body .kbk-member-directory table.table1 tbody td {
    vertical-align: middle !important;
    padding-block: 14px !important;
    line-height: 1.6 !important;
}

#page-body .kbk-member-directory table.table1 tbody td.rank,
#page-body .kbk-member-directory table.table1 tbody td.info {
    color: #b5d9f3 !important;
    text-align: start !important;
}

#page-body .kbk-member-directory table.table1 tbody td.joined,
#page-body .kbk-member-directory table.table1 tbody td.active {
    text-align: start !important;
}

/* Mobile */

@media (max-width: 760px) {
    #page-body .kbk-member-directory table.table1 thead th {
        padding: 9px 8px !important;
        font-size: 11px !important;
        line-height: 20px !important;
    }

    #page-body .kbk-member-directory table.table1 thead th::before {
        width: 12px !important;
        margin-inline-end: 4px !important;
        font-size: 11px !important;
    }

    #page-body .kbk-member-directory table.table1 :is(th,td) {
        width: auto !important;
    }
}

/* KBK MEMBER SEARCH REFINEMENT 2.9.10 */

/* Correct rank icon placement */

#page-body .kbk-member-directory table.table1 thead th.info::before {
    content: none !important;
    display: none !important;
}

#page-body .kbk-member-directory table.table1 thead th:nth-child(2)::before {
    content: "\f005" !important;
    display: inline-block !important;
    color: #8bd5ff !important;
}

#page-body .kbk-member-directory table.table1 thead th.info:empty {
    width: 1% !important;
    padding-inline: 0 !important;
}

#page-body .kbk-member-directory table.table1 tbody td.info:empty {
    width: 1% !important;
    padding-inline: 0 !important;
}

/* Member search panel */

#page-body .kbk-member-directory #search_memberlist {
    margin: 16px 0 22px;
    color: #dceaf7;
    min-width: 0;
}

#page-body .kbk-member-directory #search_memberlist .panel {
    padding: 22px !important;
    margin: 0 0 12px;
    border: 1px solid #365b78 !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg,#142d43,#102337) !important;
    box-shadow: 0 6px 24px #0002;
}

#page-body .kbk-member-directory #search_memberlist .panel .panel {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Search heading */

#page-body .kbk-member-directory #search_memberlist :is(h2,h3) {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px !important;
    padding: 14px 16px !important;
    border: 1px solid #365f80 !important;
    border-radius: 10px;
    background: linear-gradient(110deg,#204767,#15334d);
    color: #eef7ff !important;
    font-size: 20px !important;
    font-weight: 750 !important;
    line-height: 1.5;
    text-transform: none !important;
}

#page-body .kbk-member-directory #search_memberlist :is(h2,h3)::before {
    content: "\f002";
    font-family: FontAwesome;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid #4985ae;
    border-radius: 9px;
    background: #245477;
    color: #a4dfff;
    font-size: 17px;
    font-weight: normal;
}

/* Information box */

#page-body .kbk-member-directory #search_memberlist p {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 20px !important;
    padding: 14px 16px 14px 44px !important;
    border: 1px solid #31536e;
    border-radius: 9px;
    background: #0e2539;
    color: #b9d1e5 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

#page-body .kbk-member-directory #search_memberlist p::before {
    content: "\f05a";
    font-family: FontAwesome;
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    color: #79ceff;
    font-size: 17px;
}

/* Form columns */

#page-body .kbk-member-directory #search_memberlist fieldset {
    min-width: 0;
    box-sizing: border-box;
}

#page-body .kbk-member-directory #search_memberlist .column1,
#page-body .kbk-member-directory #search_memberlist .column2 {
    width: 49% !important;
    box-sizing: border-box;
    padding: 0 10px;
}

/* Field rows */

#page-body .kbk-member-directory #search_memberlist dl {
    display: grid !important;
    grid-template-columns: minmax(120px,34%) minmax(0,1fr);
    align-items: center;
    gap: 12px;
    margin: 0 0 10px !important;
    padding: 9px 12px !important;
    border: 1px solid #29475e;
    border-radius: 9px;
    background: #10263a;
    box-sizing: border-box;
}

#page-body .kbk-member-directory #search_memberlist dl:hover {
    border-color: #416b8c;
}

#page-body .kbk-member-directory #search_memberlist dl dt,
#page-body .kbk-member-directory #search_memberlist dl dd {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

#page-body .kbk-member-directory #search_memberlist dl dd {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#page-body .kbk-member-directory #search_memberlist dl dt label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cce3f5 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Field icons */

#page-body .kbk-member-directory #search_memberlist dt label::before {
    content: "\f0b0";
    font-family: FontAwesome;
    flex-shrink: 0;
    width: 16px;
    color: #82d1ff;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
}

#page-body .kbk-member-directory #search_memberlist label[for="username"]::before {
    content: "\f007";
}

#page-body .kbk-member-directory #search_memberlist label[for="email"]::before {
    content: "\f0e0";
}

#page-body .kbk-member-directory #search_memberlist label[for="group_id"]::before {
    content: "\f0c0";
}

#page-body .kbk-member-directory #search_memberlist label[for="sk"]::before {
    content: "\f161";
}

#page-body .kbk-member-directory #search_memberlist label[for="joined"]::before {
    content: "\f073";
}

#page-body .kbk-member-directory #search_memberlist label[for="active"]::before {
    content: "\f017";
}

#page-body .kbk-member-directory #search_memberlist label[for="count"]::before {
    content: "\f0e6";
}

#page-body .kbk-member-directory #search_memberlist label[for="ip"]::before {
    content: "\f0ac";
}

/* Input controls */

#page-body .kbk-member-directory #search_memberlist input.inputbox,
#page-body .kbk-member-directory #search_memberlist select {
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 39px;
    margin: 0 !important;
    padding: 8px 11px !important;
    border: 1px solid #365c79 !important;
    border-radius: 7px !important;
    background: #0b1e30 !important;
    color: #e1effb !important;
    font-size: 13px !important;
    line-height: normal;
    box-shadow: none !important;
    box-sizing: border-box;
    color-scheme: dark;
}

#page-body .kbk-member-directory #search_memberlist input.inputbox {
    flex: 1 1 120px;
    width: 100% !important;
}

#page-body .kbk-member-directory #search_memberlist select {
    flex: 0 1 auto;
}

#page-body .kbk-member-directory #search_memberlist input.inputbox:focus,
#page-body .kbk-member-directory #search_memberlist select:focus {
    border-color: #79ceff !important;
    outline: 2px solid #79ceff;
    outline-offset: 1px;
}

/* Search action */

#page-body .kbk-member-directory #search_memberlist hr {
    border: 0 !important;
    border-top: 1px solid #294b65 !important;
    margin: 18px 0 !important;
}

#page-body .kbk-member-directory #search_memberlist fieldset.submit-buttons {
    clear: both;
    padding: 16px 0 4px !important;
    margin: 0 !important;
    border: 0 !important;
    text-align: center;
}

#page-body .kbk-member-directory #search_memberlist input[type="submit"],
#page-body .kbk-member-directory #search_memberlist button[type="submit"] {
    min-width: 150px;
    min-height: 43px;
    padding: 10px 26px !important;
    border: 1px solid #479fe0 !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg,#168edb,#075ca8) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 14px #007ac52b;
    cursor: pointer;
}

#page-body .kbk-member-directory #search_memberlist input[type="submit"]:hover,
#page-body .kbk-member-directory #search_memberlist button[type="submit"]:hover {
    background: linear-gradient(135deg,#36a8ed,#0874c5) !important;
}

/* Responsive layout */

@media (max-width: 900px) {
    #page-body .kbk-member-directory #search_memberlist .column1,
    #page-body .kbk-member-directory #search_memberlist .column2 {
        float: none !important;
        width: 100% !important;
        padding: 0;
    }
}

@media (max-width: 560px) {
    #page-body .kbk-member-directory #search_memberlist .panel {
        padding: 12px !important;
    }

    #page-body .kbk-member-directory #search_memberlist dl {
        grid-template-columns: minmax(0,1fr);
        gap: 8px;
        padding: 12px !important;
    }

    #page-body .kbk-member-directory #search_memberlist input.inputbox,
    #page-body .kbk-member-directory #search_memberlist select {
        min-height: 44px;
        font-size: 16px !important;
    }

    #page-body .kbk-member-directory #search_memberlist input[type="submit"] {
        width: 100%;
    }
}

/* KBK MEMBER FINAL UI FIX 2.9.11 */

/* Remove incorrect positional icons */

#page-body .kbk-member-directory table.table1 thead th:nth-child(2)::before,
#page-body .kbk-member-directory table.table1 thead th.info::before {
    content: none !important;
    display: none !important;
}

/* Restore message icon */

#page-body .kbk-member-directory table.table1 thead th.posts::before {
    content: "\f0e6" !important;
    display: inline-block !important;
    color: #8bd5ff !important;
}

/* Dedicated rank icon */

#page-body .kbk-member-directory table.table1 thead th.kbk-rank-heading::before {
    content: "\f005" !important;
    display: inline-block !important;
    color: #8bd5ff !important;
    font-family: FontAwesome !important;
    margin-inline-end: 7px !important;
    font-size: 13px !important;
    font-weight: normal !important;
    vertical-align: middle !important;
}

/* Member search heading */

#page-body .kbk-member-directory .kbk-member-search-heading,
#page-body .kbk-member-directory .kbk-member-search-heading a {
    color: #eaf5ff !important;
    font-weight: 750 !important;
    text-shadow: none !important;
}

#page-body .kbk-member-directory .kbk-member-search-heading {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 16px !important;
    margin: 0 0 16px !important;
    border: 1px solid #365f80 !important;
    border-radius: 10px !important;
    background: linear-gradient(110deg,#204767,#15334d) !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

#page-body .kbk-member-directory .kbk-member-search-heading::before {
    content: "\f002" !important;
    font-family: FontAwesome !important;
    display: inline-grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid #4985ae;
    border-radius: 9px;
    background: #245477;
    color: #a4dfff !important;
    font-size: 17px;
    font-weight: normal;
}

/* Search heading links */

#page-body .kbk-member-directory .kbk-member-search-heading a {
    text-decoration: none !important;
}

/* Consistent field widths */

#page-body .kbk-member-directory #search_memberlist input[name="username"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    box-sizing: border-box;
}

#page-body .kbk-member-directory #search_memberlist label[for="group"]::before,
#page-body .kbk-member-directory #search_memberlist label[for="group_id"]::before {
    content: "\f0c0" !important;
}

@media (max-width: 560px) {
    #page-body .kbk-member-directory .kbk-member-search-heading {
        font-size: 17px !important;
        padding: 12px !important;
    }
}

/* KBK MEMBER RANK ICON FIX 2.9.12 */

/* Restore username icon */
#page-body .kbk-member-directory table.table1 thead th.kbk-rank-heading::before {
    content: "\f007" !important;
    display: inline-block !important;
}

/* Rank icon inside the actual rank element */
#page-body .kbk-member-directory table.table1 thead th.kbk-rank-heading span.rank-img > a::before {
    content: "\f005" !important;
    display: inline-block !important;
    position: static !important;
    float: none !important;
    font-family: FontAwesome !important;
    font-size: 13px !important;
    font-weight: normal !important;
    line-height: inherit !important;
    color: #8bd5ff !important;
    margin-inline-end: 7px !important;
    vertical-align: middle !important;
}

/* Preserve rank alignment */
#page-body .kbk-member-directory table.table1 thead th.kbk-rank-heading span.rank-img {
    white-space: nowrap !important;
}

/* Preserve messages icon */
#page-body .kbk-member-directory table.table1 thead th.posts::before {
    content: "\f0e6" !important;
    display: inline-block !important;
}

/* Remove incorrect icon from custom fields */
#page-body .kbk-member-directory table.table1 thead th.info::before {
    content: none !important;
    display: none !important;
}

/* KBK MEMBER HERO 2.9.13 */

#page-body .kbk-member-hero {
    display: flex !important;
    align-items: center !important;
    gap: 20px;
    min-height: 110px;
    padding: 24px 28px !important;
    margin: 18px 0 20px !important;
    box-sizing: border-box;
    border: 1px solid #365f82 !important;
    border-radius: 14px;
    background:
        radial-gradient(ellipse at 90% 0%,#28649a80,transparent 65%),
        linear-gradient(125deg,#15314d,#0d2035) !important;
    color: #f0f7ff !important;
    font-size: clamp(24px,2.5vw,32px) !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    letter-spacing: -.025em;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: 0 5px 24px #0003;
}

#page-body .kbk-member-hero a {
    color: #f0f7ff !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}

#page-body .kbk-member-hero::before {
    content: "\f0c0" !important;
    font-family: FontAwesome !important;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    border: 1px solid #498ab9;
    border-radius: 14px;
    background: linear-gradient(145deg,#285a80,#16354f);
    color: #8cd8ff !important;
    font-size: 27px !important;
    font-weight: normal !important;
    line-height: 1 !important;
    box-shadow: inset 0 1px 0 #ffffff12;
}

@media (max-width: 760px) {
    #page-body .kbk-member-hero {
        min-height: 82px;
        padding: 16px !important;
        gap: 13px;
        font-size: 23px !important;
    }

    #page-body .kbk-member-hero::before {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 21px !important;
        border-radius: 11px;
    }
}

/* KBK PREMIUM TOPIC COMPOSER 2.9.14 */

body.section-posting #page-body #postform {
    color: #dceaf7;
    min-width: 0;
}

/* Premium panels */

body.section-posting #postform .panel {
    box-sizing: border-box;
    padding: 22px !important;
    margin-bottom: 18px;
    border: 1px solid #315570 !important;
    border-radius: 13px;
    background: linear-gradient(145deg,#142b41,#102337) !important;
    color: #dceaf7;
    box-shadow: 0 5px 20px #0002;
}

/* Composer heading */

body.section-posting #postform #postingbox h3 {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px !important;
    padding: 20px !important;
    border: 1px solid #365f82 !important;
    border-radius: 11px;
    background:
        radial-gradient(ellipse at 90% 0%,#28649a80,transparent 65%),
        linear-gradient(125deg,#204565,#132d45) !important;
    color: #f0f7ff !important;
    font-size: clamp(19px,2vw,25px) !important;
    font-weight: 750 !important;
    line-height: 1.4;
    text-transform: none !important;
}

body.section-posting #postform #postingbox h3::before {
    content: "\f044";
    font-family: FontAwesome;
    display: inline-grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid #498ab9;
    border-radius: 11px;
    background: linear-gradient(145deg,#285a80,#16354f);
    color: #8cd8ff;
    font-size: 24px;
    font-weight: normal;
}

/* Form labels */

body.section-posting #postform label,
body.section-posting #postform dt,
body.section-posting #postform dd,
body.section-posting #postform legend {
    color: #d0e2f1 !important;
}

body.section-posting #postform input[type="checkbox"],
body.section-posting #postform input[type="radio"] {
    accent-color: #45b4ff;
    cursor: pointer;
}

/* Form controls */

body.section-posting #postform input.inputbox,
body.section-posting #postform select,
body.section-posting #postform textarea {
    box-sizing: border-box;
    border: 1px solid #365c79 !important;
    border-radius: 8px;
    background: #0b1e30 !important;
    color: #e5f1fc !important;
    box-shadow: none !important;
    color-scheme: dark;
}

body.section-posting #postform input.inputbox,
body.section-posting #postform select {
    min-height: 39px;
    padding: 8px 11px;
    max-width: 100%;
}

body.section-posting #postform :is(input,textarea,select):focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: 2px;
    border-color: #79ceff !important;
}

/* Topic subject */

body.section-posting #postform dl:has(input[name="subject"]) {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    margin: 18px 0 20px !important;
    padding: 0 !important;
}

body.section-posting #postform dl:has(input[name="subject"]) :is(dt,dd) {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.section-posting #postform label[for="subject"] {
    font-size: 14px;
    font-weight: 750;
}

body.section-posting #postform label[for="subject"]::before {
    content: "\f02b";
    font-family: FontAwesome;
    color: #79ceff;
    margin-inline-end: 8px;
    font-weight: normal;
}

body.section-posting #postform input[name="subject"] {
    width: 100% !important;
    min-height: 49px;
    padding: 12px 15px !important;
    font-size: 16px !important;
    font-weight: 600;
}

/* Topic icon selection */

body.section-posting #postform dl:has(input[name="icon"]) {
    padding: 12px !important;
    margin-bottom: 16px !important;
    border: 1px solid #2d4e69;
    border-radius: 9px;
    background: #10263a;
}

body.section-posting #postform input[name="icon"] {
    margin-inline: 5px;
}

body.section-posting #postform dl:has(input[name="icon"]) img {
    vertical-align: middle;
}

/* BBCode toolbar */

body.section-posting:not(.wysiwyg-active) #postform #format-buttons {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px !important;
    margin: 0 0 10px !important;
    border: 1px solid #315570;
    border-radius: 10px;
    background: linear-gradient(120deg,#193b56,#122b40);
    box-sizing: border-box;
}

body.section-posting #postform #format-buttons :is(button,input.button2,a.button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    min-height: 35px;
    margin: 0 !important;
    padding: 6px 9px !important;
    border: 1px solid #365b77 !important;
    border-radius: 7px;
    background: #10283e !important;
    color: #cce5f7 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer;
    transition: background .15s,border-color .15s;
}

body.section-posting #postform #format-buttons :is(button,input.button2,a.button):hover {
    border-color: #79ceff !important;
    background: #245477 !important;
    color: #fff !important;
}

body.section-posting #postform #format-buttons .icon {
    color: inherit !important;
}

body.section-posting #postform #format-buttons select {
    min-height: 35px;
    margin: 0;
}

/* Main message editor */

body.section-posting #postform #message-box {
    box-sizing: border-box;
    min-width: 0;
}

body.section-posting #postform #message-box textarea {
    width: 100% !important;
    min-height: 340px;
    padding: 18px !important;
    border: 1px solid #365d7c !important;
    border-radius: 10px;
    background: #0b1e30 !important;
    color: #e3edf7 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    resize: vertical;
}

body.section-posting #postform textarea::placeholder,
body.section-posting #postform input::placeholder {
    color: #91aec5;
}

/* Smilies panel */

body.section-posting #postform #smiley-box {
    box-sizing: border-box;
    padding: 15px !important;
    border: 1px solid #315570;
    border-radius: 10px;
    background: linear-gradient(145deg,#18354e,#10273b);
    color: #c6dced;
    line-height: 1.8;
}

body.section-posting #postform #smiley-box strong {
    color: #e6f3ff !important;
}

body.section-posting #postform #smiley-box strong:first-child::before {
    content: "\f118";
    font-family: FontAwesome;
    color: #79ceff;
    margin-inline-end: 7px;
    font-weight: normal;
}

body.section-posting #postform #smiley-box a {
    color: #8bd5ff;
}

body.section-posting #postform #smiley-box a:has(img) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 1px;
    border: 1px solid transparent;
    border-radius: 6px;
    box-sizing: border-box;
}

body.section-posting #postform #smiley-box a:has(img):hover {
    border-color: #498ab9;
    background: #285372;
}

body.section-posting #postform #smiley-box hr {
    border: 0;
    border-top: 1px solid #355673;
    margin: 12px 0;
}

/* Submit buttons */

body.section-posting #postform fieldset.submit-buttons {
    padding: 12px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    text-align: center;
}

body.section-posting #postform fieldset.submit-buttons :is(input,button)[type="submit"] {
    min-height: 43px;
    min-width: 115px;
    margin: 4px !important;
    padding: 10px 20px !important;
    border: 1px solid #416b8c !important;
    border-radius: 9px;
    background: linear-gradient(145deg,#20425f,#142c43) !important;
    color: #e6f2ff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background .15s,border-color .15s;
}

body.section-posting #postform fieldset.submit-buttons :is(input,button)[name="post"] {
    min-width: 155px;
    border-color: #479fe0 !important;
    background: linear-gradient(135deg,#168edb,#075ca8) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px #007ac52b !important;
}

body.section-posting #postform fieldset.submit-buttons :is(input,button)[type="submit"]:hover {
    border-color: #79ceff !important;
    background: #28628a !important;
}

body.section-posting #postform fieldset.submit-buttons :is(input,button)[name="post"]:hover {
    background: linear-gradient(135deg,#36a8ed,#0874c5) !important;
}

/* Premium tabs */

body.section-posting #postform #tabs {
    margin: 20px 0 0 !important;
}

body.section-posting #postform #tabs .tab > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 17px !important;
    margin-inline-end: 4px;
    border: 1px solid #315570;
    border-radius: 9px 9px 0 0;
    background: #142e46 !important;
    color: #a9cce7 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.section-posting #postform #tabs .activetab > a {
    background: linear-gradient(120deg,#245579,#193c58) !important;
    border-color: #498ab9 !important;
    color: #eff8ff !important;
}

body.section-posting #postform #tabs .tab > a:hover {
    color: #fff !important;
    background: #245477 !important;
}

body.section-posting #postform #tabs .tab > a::before {
    font-family: FontAwesome;
    font-weight: normal;
    color: #8bd5ff;
}

body.section-posting #postform #tabs :is(a[data-subpanel="options-panel"],#options-panel-tab > a)::before {
    content: "\f013";
}

body.section-posting #postform #tabs :is(a[data-subpanel="attach-panel"],#attach-panel-tab > a)::before {
    content: "\f0c6";
}

body.section-posting #postform #tabs :is(a[data-subpanel="poll-panel"],#poll-panel-tab > a)::before {
    content: "\f080";
}

/* Options and poll panels */

body.section-posting #postform #options-panel label {
    color: #cfe1f1 !important;
    line-height: 1.8;
}

body.section-posting #postform #options-panel fieldset.fields1 > div {
    padding-block: 4px;
}

body.section-posting #postform :is(#options-panel,#attach-panel,#poll-panel) h3 {
    color: #e6f3ff !important;
    border-bottom-color: #355673;
}

body.section-posting #postform hr {
    border-color: #315570 !important;
}

body.section-posting #postform .error {
    color: #ff9b9b !important;
}

/* Attachments */

body.section-posting #postform #attach-panel input[type="file"] {
    max-width: 100%;
    color: #cce1f2;
}

body.section-posting #postform #attach-panel input[type="file"]::file-selector-button {
    padding: 9px 13px;
    margin-inline-end: 10px;
    border: 1px solid #416b8c;
    border-radius: 7px;
    background: #20425f;
    color: #e6f2ff;
    cursor: pointer;
}

/* Mobile optimization */

@media (max-width: 760px) {

    body.section-posting #postform .panel {
        padding: 13px !important;
    }

    body.section-posting #postform #postingbox h3 {
        padding: 13px !important;
        gap: 10px;
        font-size: 19px !important;
    }

    body.section-posting #postform #postingbox h3::before {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
        font-size: 19px;
    }

    body.section-posting #postform #message-box,
    body.section-posting #postform #smiley-box {
        float: none !important;
        width: 100% !important;
        margin-inline: 0 !important;
    }

    body.section-posting #postform #message-box textarea {
        min-height: 280px;
        padding: 12px !important;
        font-size: 16px !important;
    }

    body.section-posting #postform #smiley-box {
        margin-block: 12px !important;
    }

    body.section-posting #postform #format-buttons {
        padding: 7px !important;
        gap: 4px;
    }

    body.section-posting #postform #format-buttons :is(button,input.button2,a.button) {
        min-width: 38px;
        min-height: 38px;
    }

    body.section-posting #postform fieldset.submit-buttons :is(input,button)[type="submit"] {
        min-width: 0;
        padding: 10px 12px !important;
    }

    body.section-posting #postform #tabs .tab > a {
        padding: 10px 9px !important;
        font-size: 11px;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-posting #postform * {
        transition: none !important;
    }
}

/* KBK FORUM CONTEXT BAR 2.9.15 */

#page-body .kbk-forum-context {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 9px 14px;
    margin: 12px 0 16px;
    border: 1px solid #28606b;
    border-inline-start: 3px solid #4dc5c0;
    border-radius: 9px;
    background: linear-gradient(110deg,#14343f,#112a36);
    box-shadow: 0 3px 12px #0002;
    line-height: 1.5;
}

#page-body .kbk-forum-context-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #1b4a50;
    border: 1px solid #327279;
    color: #83e3d9;
    font-size: 15px;
}

#page-body .kbk-forum-context-label {
    color: #b8d8dc !important;
    font-size: 13px;
    font-weight: 600;
}

#page-body .kbk-forum-context-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px 11px;
    border: 1px solid #367279;
    border-radius: 6px;
    background: #1b4249;
    color: #9cebe1 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s, border-color .15s;
}

#page-body .kbk-forum-context-link span {
    min-width: 0;
    overflow-wrap: anywhere;
}

#page-body .kbk-forum-context .icon {
    color: #83e3d9 !important;
}

#page-body .kbk-forum-context-link:hover {
    background: #24565d;
    border-color: #63cfc6;
    color: #fff !important;
}

#page-body .kbk-forum-context-link:focus-visible {
    outline: 2px solid #83e3d9;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    #page-body .kbk-forum-context {
        gap: 8px;
        padding: 9px 11px;
    }

    #page-body .kbk-forum-context-label {
        font-size: 12px;
    }

    #page-body .kbk-forum-context-link {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .kbk-forum-context-link {
        transition: none;
    }
}

/* KBK COMPACT COMPOSER HEADER 2.9.16 */

body.section-posting #postform #postingbox h3 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #315570 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #e4f1fc !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -.2px !important;
    text-transform: none !important;
}

body.section-posting #postform #postingbox h3::before {
    content: "\f044";
    font-family: FontAwesome;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #376889 !important;
    border-radius: 7px !important;
    background: linear-gradient(145deg,#234963,#17364e) !important;
    color: #8bd5ff !important;
    font-size: 16px !important;
    font-weight: normal !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

@media (max-width: 760px) {
    body.section-posting #postform #postingbox h3 {
        font-size: 16px !important;
        gap: 8px !important;
        padding: 0 0 10px !important;
        margin-bottom: 14px !important;
    }

    body.section-posting #postform #postingbox h3::before {
        flex-basis: 28px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
}

/* KBK PREMIUM EDITOR STATUS 2.9.17 */

body.section-posting #postform .kbk-editor-status {
    display: grid;
    gap: 5px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #315570;
}

body.section-posting #postform .kbk-editor-status-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #91b7d0 !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

body.section-posting #postform .kbk-editor-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 33px;
    padding: 5px 8px;
    border: 1px solid #29495f;
    border-radius: 7px;
    background: #102638;
    color: #c6dcec !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

body.section-posting #postform .kbk-editor-status-row > .icon {
    flex: 0 0 16px;
    width: 16px;
    color: #79ceff !important;
    font-size: 13px !important;
    text-align: center;
}

body.section-posting #postform .kbk-editor-status-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
    font-weight: 600;
    color: #c6dcec !important;
}

body.section-posting #postform .kbk-editor-status-value a {
    color: #a4d9fa !important;
    text-decoration: none !important;
}

body.section-posting #postform .kbk-editor-status-value a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

body.section-posting #postform .kbk-editor-status-value :is(em,strong) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-inline-start: auto;
    padding: 3px 7px;
    border: 1px solid #3c566b;
    border-radius: 5px;
    background: #1b3448;
    color: #b8d3e6 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

body.section-posting #postform .kbk-status-on .kbk-editor-status-value :is(em,strong) {
    background: #123b32 !important;
    border-color: #28634e !important;
    color: #79e4b2 !important;
}

body.section-posting #postform .kbk-status-off .kbk-editor-status-value :is(em,strong) {
    background: #40252e !important;
    border-color: #70404c !important;
    color: #ffa1aa !important;
}

body.section-posting #postform .kbk-editor-status-value :is(em,strong)::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

body.section-posting #postform .kbk-editor-status-row:hover {
    border-color: #426984;
    background: #152e43;
}

@media (max-width: 760px) {
    body.section-posting #postform .kbk-editor-status {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    body.section-posting #postform .kbk-editor-status-title {
        grid-column: 1 / -1;
    }
}

@media (max-width: 380px) {
    body.section-posting #postform .kbk-editor-status {
        grid-template-columns: minmax(0,1fr);
    }
}

/* KBK ADVANCED COMPOSER UI 2.9.18 */

/* Compact composer panels */

body.section-posting #postform .panel {
    padding: 16px !important;
    margin-bottom: 14px !important;
    border-radius: 11px !important;
}

/* Topic icon selector */

body.section-posting #postform dl:has(input[name="icon"]) {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px 12px !important;
    margin: 0 0 14px !important;
    background: #102638 !important;
    border: 1px solid #31536c !important;
    border-radius: 8px !important;
}

body.section-posting #postform dl:has(input[name="icon"]) dt {
    float: none !important;
    width: auto !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 13px !important;
}

body.section-posting #postform dl:has(input[name="icon"]) dt::before {
    content: "\f024";
    font-family: FontAwesome;
    color: #79ceff;
    margin-inline-end: 7px;
}

body.section-posting #postform dl:has(input[name="icon"]) dd {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.section-posting #postform dl:has(input[name="icon"]) label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
    min-width: 32px;
    padding: 4px 7px !important;
    box-sizing: border-box;
    margin: 0 !important;
    border: 1px solid #31536c;
    border-radius: 6px;
    background: #152f44;
    cursor: pointer;
}

body.section-posting #postform dl:has(input[name="icon"]) label:hover {
    background: #204963;
    border-color: #599fc9;
}

body.section-posting #postform dl:has(input[name="icon"]) label:has(input:checked) {
    border-color: #65c7ff;
    background: #204c69;
    box-shadow: inset 0 0 0 1px #65c7ff33;
}

body.section-posting #postform input[name="icon"] {
    margin: 0 !important;
    accent-color: #65c7ff;
}

body.section-posting #postform dl:has(input[name="icon"]) img {
    max-width: 18px;
    max-height: 18px;
    object-fit: contain;
}

/* Subject input */

body.section-posting #postform dl:has(input[name="subject"]) {
    gap: 7px !important;
    margin: 14px 0 16px !important;
}

body.section-posting #postform label[for="subject"] {
    font-size: 13px !important;
}

body.section-posting #postform input[name="subject"] {
    min-height: 42px !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    background: #0c2031 !important;
}

/* Unified editor toolbar */

body.section-posting #postform #format-buttons {
    gap: 4px !important;
    padding: 7px 9px !important;
    margin: 0 !important;
    border-radius: 9px 9px 0 0 !important;
    background: linear-gradient(110deg,#1b3d56,#132e43) !important;
}

body.section-posting #postform #format-buttons :is(button,input.button2,a.button) {
    min-width: 31px !important;
    min-height: 31px !important;
    padding: 5px 8px !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    background: #122b40 !important;
}

body.section-posting #postform #format-buttons :is(button,input.button2,a.button):hover {
    background: #245477 !important;
    border-color: #65c7ff !important;
}

body.section-posting #postform #format-buttons select {
    min-height: 31px !important;
    padding: 5px 8px !important;
    font-size: 12px !important;
}

/* Message editor */

body.section-posting #postform #message-box textarea {
    min-height: 260px !important;
    height: 280px;
    padding: 14px !important;
    border-radius: 0 0 9px 9px !important;
    background: #0b1e2e !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

body.section-posting #postform #message-box textarea:focus {
    border-color: #65b9e9 !important;
    box-shadow: inset 0 0 0 1px #65b9e922 !important;
}

/* Compact submission bar */

body.section-posting #postform .panel:has(> .inner > fieldset.submit-buttons) {
    padding: 8px 14px !important;
}

body.section-posting #postform fieldset.submit-buttons {
    padding: 5px 0 !important;
    margin: 0 !important;
}

body.section-posting #postform fieldset.submit-buttons :is(input,button)[type="submit"] {
    min-height: 36px !important;
    min-width: 100px !important;
    padding: 7px 15px !important;
    margin: 3px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
}

body.section-posting #postform fieldset.submit-buttons :is(input,button)[name="post"] {
    min-width: 135px !important;
    background: linear-gradient(125deg,#168edb,#0863ad) !important;
}

/* Modern tabs */

body.section-posting #postform #tabs {
    margin: 14px 0 7px !important;
}

body.section-posting #postform #tabs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.section-posting #postform #tabs .tab {
    float: none !important;
    margin: 0 !important;
}

body.section-posting #postform #tabs .tab > a {
    padding: 9px 13px !important;
    margin: 0 !important;
    border-radius: 7px !important;
    background: #132c41 !important;
    color: #abc9df !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

body.section-posting #postform #tabs .activetab > a {
    background: linear-gradient(120deg,#245474,#183b56) !important;
    border-color: #5eacd9 !important;
    color: #eff8ff !important;
    box-shadow: inset 0 -2px #65c7ff !important;
}

/* Options cards */

body.section-posting #postform #options-panel fieldset.fields1 {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
}

body.section-posting #postform #options-panel fieldset.fields1 > div:has(input[type="checkbox"]) {
    min-width: 0;
    margin: 0 !important;
    padding: 9px 11px !important;
    border: 1px solid #2d4c63;
    border-radius: 7px;
    background: #102638;
    box-sizing: border-box;
}

body.section-posting #postform #options-panel fieldset.fields1 > div:has(input[type="checkbox"]:checked) {
    background: #163b50;
    border-color: #4386ac;
}

body.section-posting #postform #options-panel fieldset.fields1 > :is(dl,hr,fieldset) {
    grid-column: 1 / -1;
}

body.section-posting #postform #options-panel label {
    font-size: 13px !important;
    line-height: 1.55 !important;
}

body.section-posting #postform #options-panel input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-inline-end: 6px;
    vertical-align: middle;
    accent-color: #48b7f7;
}

/* Topic type and duration */

body.section-posting #postform #options-panel dl {
    padding: 9px 11px !important;
    margin: 5px 0 !important;
    border: 1px solid #2d4c63;
    border-radius: 7px;
    background: #102638;
}

body.section-posting #postform #options-panel dl dt {
    color: #d3e6f5 !important;
    font-size: 13px !important;
}

body.section-posting #postform #options-panel dl dd {
    color: #b8d0e3 !important;
    font-size: 12px !important;
    line-height: 1.6;
}

body.section-posting #postform #options-panel label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    margin: 2px;
    border: 1px solid #31536c;
    border-radius: 6px;
    background: #152f44;
}

body.section-posting #postform #options-panel label:has(input[type="radio"]:checked) {
    background: #204c69;
    border-color: #65c7ff;
}

/* Attachment and poll headings */

body.section-posting #postform :is(#attach-panel,#poll-panel) h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 0 10px !important;
    margin: 0 0 13px !important;
    border-bottom: 1px solid #31536c !important;
    color: #e4f1fc !important;
    font-size: 16px !important;
    text-transform: none !important;
}

body.section-posting #postform :is(#attach-panel,#poll-panel) h3::before {
    font-family: FontAwesome;
    font-weight: normal;
    color: #79ceff;
}

body.section-posting #postform #attach-panel h3::before {
    content: "\f0c6";
}

body.section-posting #postform #poll-panel h3::before {
    content: "\f080";
}

/* Attachment and poll fields */

body.section-posting #postform :is(#attach-panel,#poll-panel) dl {
    padding: 11px 12px !important;
    margin: 7px 0 !important;
    border: 1px solid #2d4c63;
    border-radius: 8px;
    background: #102638;
}

body.section-posting #postform :is(#attach-panel,#poll-panel) dt {
    color: #d3e6f5 !important;
    font-size: 13px !important;
}

body.section-posting #postform :is(#attach-panel,#poll-panel) dd,
body.section-posting #postform :is(#attach-panel,#poll-panel) p {
    color: #b7d0e3 !important;
    font-size: 12px !important;
    line-height: 1.7;
}

body.section-posting #postform :is(#attach-panel,#poll-panel) textarea {
    padding: 11px !important;
    min-height: 90px;
    border-radius: 7px !important;
    resize: vertical;
}

/* File upload */

body.section-posting #postform #attach-panel input[type="file"] {
    box-sizing: border-box;
    max-width: 100%;
    padding: 9px;
    border: 1px dashed #467a9b;
    border-radius: 8px;
    background: #0c2031;
    color: #cce1f2 !important;
}

body.section-posting #postform #attach-panel input[type="file"]::file-selector-button {
    padding: 8px 12px !important;
    border: 1px solid #467fa6 !important;
    border-radius: 6px !important;
    background: #1b405b !important;
    color: #e6f3ff !important;
    font-weight: 600;
    cursor: pointer;
}

/* Upload controls */

body.section-posting #postform #attach-panel :is(.button1,.button2,.button) {
    padding: 8px 12px !important;
    border: 1px solid #416b8c !important;
    border-radius: 7px !important;
    background: #1b3d57 !important;
    color: #d9ecfa !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.section-posting #postform #attach-panel :is(.button1,.button2,.button):hover {
    background: #285777 !important;
    border-color: #79ceff !important;
}

/* Uploaded file list */

body.section-posting #postform #attach-panel table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #31536c;
    border-radius: 8px;
    background: #102638;
}

body.section-posting #postform #attach-panel table th {
    padding: 10px 8px !important;
    background: #1b3d56 !important;
    color: #d3e6f5 !important;
    font-size: 11px !important;
}

body.section-posting #postform #attach-panel table td {
    padding: 9px 8px !important;
    border-color: #29495f !important;
    color: #c6dcec !important;
}

body.section-posting #postform #attach-panel progress {
    width: 100%;
    height: 7px;
    accent-color: #49b8f7;
}

/* Poll controls */

body.section-posting #postform #poll-panel input[type="text"] {
    max-width: 100%;
    min-height: 36px !important;
}

body.section-posting #postform #poll-panel textarea {
    max-width: 100%;
    width: 100% !important;
    min-height: 120px;
}

body.section-posting #postform #poll-panel input[type="checkbox"] {
    accent-color: #48b7f7;
}

/* Mobile */

@media (max-width: 760px) {

    body.section-posting #postform .panel {
        padding: 11px !important;
    }

    body.section-posting #postform dl:has(input[name="icon"]) {
        align-items: flex-start;
        flex-direction: column;
    }

    body.section-posting #postform dl:has(input[name="icon"]) label {
        min-height: 38px;
        min-width: 38px;
    }

    body.section-posting #postform #options-panel fieldset.fields1 {
        grid-template-columns: minmax(0,1fr);
    }

    body.section-posting #postform #message-box textarea {
        min-height: 240px !important;
        height: 260px;
        font-size: 16px !important;
    }

    body.section-posting #postform #format-buttons :is(button,input.button2,a.button) {
        min-height: 36px !important;
        min-width: 36px !important;
    }

    body.section-posting #postform :is(#options-panel,#attach-panel,#poll-panel) dl :is(dt,dd) {
        float: none !important;
        width: 100% !important;
        margin: 0 0 5px !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.section-posting #postform #tabs .tab > a {
        padding: 9px 10px !important;
        font-size: 11px !important;
    }

    body.section-posting #postform fieldset.submit-buttons :is(input,button)[type="submit"] {
        min-width: 0 !important;
        padding: 9px 11px !important;
        font-size: 12px !important;
    }
}

/* KBK PREMIUM REPLY EXPERIENCE 2.9.19 */

/* Topic information banner */

body.section-posting:has(.kbk-reply-context) .posting-title.kbk-reply-context {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 13px 16px !important;
    margin: 0 0 14px !important;
    border: 1px solid #355d79 !important;
    border-radius: 10px !important;
    background: linear-gradient(115deg,#193c55,#122a40) !important;
    box-sizing: border-box;
    text-transform: none !important;
}

.kbk-reply-context .kbk-reply-context-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #4784a9;
    border-radius: 9px;
    background: #214a66;
    color: #8ed8ff;
    font-size: 16px;
}

.kbk-reply-context .kbk-reply-context-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kbk-reply-context .kbk-reply-context-label {
    color: #91b8d2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

body.section-posting .kbk-reply-context a {
    color: #e6f3ff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
}

body.section-posting .kbk-reply-context a:hover {
    color: #80d3ff !important;
}

/* Composer surfaces */

body.section-posting:has(.kbk-reply-context) #postform .panel {
    background: linear-gradient(125deg,#142b40,#102437) !important;
    border-color: #31516a !important;
    border-radius: 11px !important;
    box-shadow: 0 5px 18px #00000012 !important;
}

body.section-posting:has(.kbk-reply-context) #postform #message-box {
    box-sizing: border-box;
}

body.section-posting:has(.kbk-reply-context) #postform #message-box textarea {
    min-height: 380px !important;
    height: 380px;
    padding: 15px !important;
    line-height: 1.75 !important;
    color: #e1edf8 !important;
    border-color: #345a76 !important;
    background: #0b1e2e !important;
    resize: vertical;
    box-sizing: border-box;
}

body.section-posting:has(.kbk-reply-context) #postform #message-box textarea:focus {
    border-color: #70c9f8 !important;
    box-shadow: inset 0 0 0 1px #70c9f822 !important;
}

/* Smilies and editor capabilities */

body.section-posting:has(.kbk-reply-context) #postform #smiley-box {
    box-sizing: border-box;
    padding: 12px !important;
    border: 1px solid #31536c !important;
    border-radius: 8px !important;
    background: linear-gradient(145deg,#17354b,#102638) !important;
}

body.section-posting:has(.kbk-reply-context) #smiley-box a img {
    padding: 3px;
    border-radius: 5px;
}

body.section-posting:has(.kbk-reply-context) #smiley-box a:hover img {
    background: #28516c;
}

body.section-posting:has(.kbk-reply-context) #smiley-box a[href="#topicreview"] {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 9px 10px !important;
    margin-top: 10px !important;
    border: 1px solid #365e7a;
    border-radius: 7px;
    background: #193b54;
    color: #a0dcff !important;
    font-weight: 600;
}

body.section-posting:has(.kbk-reply-context) #smiley-box a[href="#topicreview"]::before {
    content: "\f086";
    font-family: FontAwesome;
    font-weight: normal;
}

/* Submission bar */

body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 0 !important;
}

body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons :is(input,button)[type="submit"] {
    margin: 0 !important;
    min-height: 38px !important;
    border-radius: 7px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons [name="post"] {
    min-width: 145px !important;
    border-color: #42a9e8 !important;
    background: linear-gradient(125deg,#178ed4,#0863ad) !important;
    color: #fff !important;
}

body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons [name="post"]:hover {
    background: #168bce !important;
}

body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons [name="preview"],
body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons [name="save"] {
    border-color: #42647e !important;
    background: #19374e !important;
    color: #d5e8f8 !important;
}

/* Options */

body.section-posting:has(.kbk-reply-context) #options-panel fieldset.fields1 {
    gap: 8px !important;
}

body.section-posting:has(.kbk-reply-context) #options-panel fieldset.fields1 > div:has(input[type="checkbox"]) {
    padding: 10px 12px !important;
    border-radius: 7px !important;
    transition: background-color .15s,border-color .15s;
}

body.section-posting:has(.kbk-reply-context) #options-panel fieldset.fields1 > div:has(input[type="checkbox"]):hover {
    background: #19394e;
    border-color: #477b9a;
}

body.section-posting:has(.kbk-reply-context) #options-panel label {
    cursor: pointer;
}

body.section-posting:has(.kbk-reply-context) #options-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #59c3ff;
}

/* Topic review heading */

body.section-posting:has(.kbk-reply-context) #review {
    margin-top: 20px !important;
}

body.section-posting:has(.kbk-reply-context) #review h3,
body.section-posting:has(.kbk-reply-context) h3:has(+ #topicreview) {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 13px 15px !important;
    margin: 0 0 10px !important;
    border: 1px solid #355b77 !important;
    border-radius: 9px !important;
    background: linear-gradient(115deg,#1c405b,#142d43) !important;
    color: #e0effb !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.section-posting:has(.kbk-reply-context) #review h3::before,
body.section-posting:has(.kbk-reply-context) h3:has(+ #topicreview)::before {
    content: "\f086";
    font-family: FontAwesome;
    font-weight: normal;
    color: #83d1ff;
}

body.section-posting:has(.kbk-reply-context) #review h3 a,
body.section-posting:has(.kbk-reply-context) h3:has(+ #topicreview) a {
    margin-inline-start: auto;
    padding: 5px 9px;
    border: 1px solid #3d6683;
    border-radius: 5px;
    background: #18374e;
    color: #a1d9fa !important;
    font-size: 11px !important;
    text-decoration: none;
}

/* Review container */

body.section-posting:has(.kbk-reply-context) #topicreview {
    padding: 10px !important;
    border: 1px solid #2b4b64 !important;
    border-radius: 10px !important;
    background: #0d2031 !important;
    scrollbar-width: thin;
    scrollbar-color: #416b89 #102638;
    box-sizing: border-box;
}

body.section-posting:has(.kbk-reply-context) #topicreview::-webkit-scrollbar {
    width: 7px;
}

body.section-posting:has(.kbk-reply-context) #topicreview::-webkit-scrollbar-thumb {
    background: #416b89;
    border-radius: 8px;
}

body.section-posting:has(.kbk-reply-context) #topicreview::-webkit-scrollbar-track {
    background: #102638;
}

/* Review message cards */

body.section-posting:has(.kbk-reply-context) #topicreview .post {
    margin: 0 0 10px !important;
    padding: 14px !important;
    border: 1px solid #30536d !important;
    border-radius: 9px !important;
    background: linear-gradient(125deg,#152e43,#112638) !important;
    box-shadow: none !important;
}

body.section-posting:has(.kbk-reply-context) #topicreview .post:last-child {
    margin-bottom: 0 !important;
}

body.section-posting:has(.kbk-reply-context) #topicreview .postbody {
    width: 100% !important;
    float: none !important;
    min-width: 0 !important;
}

body.section-posting:has(.kbk-reply-context) #topicreview .postbody h3 {
    color: #e1effb !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
}

body.section-posting:has(.kbk-reply-context) #topicreview .author {
    color: #a1bfd5 !important;
    font-size: 11px !important;
    padding-bottom: 10px !important;
    margin-bottom: 11px !important;
    border-bottom: 1px solid #2b4c64 !important;
}

body.section-posting:has(.kbk-reply-context) #topicreview .content {
    color: #d3e4f1 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    overflow-wrap: anywhere;
}

body.section-posting:has(.kbk-reply-context) #topicreview .post-buttons .button {
    min-width: 29px !important;
    min-height: 29px !important;
    border: 1px solid #3a607b !important;
    border-radius: 6px !important;
    background: #19374e !important;
    color: #a6d4f0 !important;
    box-shadow: none !important;
}

body.section-posting:has(.kbk-reply-context) #topicreview .post-buttons .button:hover {
    background: #285674 !important;
    border-color: #79ceff !important;
}

/* Keyboard accessibility */

body.section-posting:has(.kbk-reply-context) #postform :is(button,input,select,textarea,a):focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: 2px;
}

/* Responsive */

@media (max-width: 760px) {

    body.section-posting:has(.kbk-reply-context) .posting-title.kbk-reply-context {
        padding: 10px 12px !important;
        gap: 9px;
    }

    .kbk-reply-context .kbk-reply-context-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    body.section-posting .kbk-reply-context a {
        font-size: 14px !important;
    }

    body.section-posting:has(.kbk-reply-context) #postform #message-box textarea {
        min-height: 250px !important;
        height: 280px;
        font-size: 16px !important;
    }

    body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons {
        justify-content: center;
    }

    body.section-posting:has(.kbk-reply-context) #postform fieldset.submit-buttons [name="post"] {
        min-width: 100px !important;
    }

    body.section-posting:has(.kbk-reply-context) #topicreview {
        padding: 7px !important;
    }

    body.section-posting:has(.kbk-reply-context) #topicreview .post {
        padding: 10px !important;
    }
}

/* KBK POSTING UI REFINEMENT 2.9.20 */

/* Topic review shortcut */

body.section-posting #postform #smiley-box a[href*="#topicreview"] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    margin: 10px 0 0 !important;
    border: 1px solid #34566e !important;
    border-radius: 6px !important;
    background: #102638 !important;
    color: #c2dced !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.section-posting #postform #smiley-box a[href*="#topicreview"]::before {
    content: "\f086" !important;
    font-family: FontAwesome !important;
    font-size: 13px !important;
    font-weight: normal !important;
    color: #79ceff !important;
    margin: 0 !important;
}

body.section-posting #postform #smiley-box a[href*="#topicreview"]::after {
    content: "\f107" !important;
    font-family: FontAwesome !important;
    font-weight: normal !important;
    font-size: 13px !important;
    margin-inline-start: auto !important;
    color: #79ceff !important;
}

body.section-posting #postform #smiley-box a[href*="#topicreview"]:hover {
    background: #1b3b52 !important;
    border-color: #5798bf !important;
    color: #eff8ff !important;
}

/* Minimal premium tabs */

body.section-posting #postform #tabs {
    margin: 12px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.section-posting #postform #tabs ul {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #2c4b63 !important;
    border-radius: 8px !important;
    background: #0e2234 !important;
}

body.section-posting #postform #tabs .tab {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.section-posting #postform #tabs .tab > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 34px !important;
    padding: 7px 13px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: #9fbdd3 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

body.section-posting #postform #tabs .tab > a:hover {
    background: #19374d !important;
    color: #e4f3ff !important;
}

body.section-posting #postform #tabs .activetab > a {
    background: #1a3b53 !important;
    color: #e5f4ff !important;
    border-color: #365e7b !important;
    box-shadow: inset 0 -2px #65c7ff !important;
    font-weight: 600 !important;
}

body.section-posting #postform #tabs .tab > a::before {
    font-size: 12px !important;
    font-weight: normal !important;
    color: #79ceff !important;
    margin: 0 !important;
}

body.section-posting #postform #tabs .tab > a > span {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.section-posting #postform #tabs .tab > a .icon {
    font-size: 12px !important;
    color: #79ceff !important;
}

body.section-posting #postform #tabs .tab > a:focus-visible,
body.section-posting #postform #smiley-box a[href*="#topicreview"]:focus-visible {
    outline: 2px solid #79ceff !important;
    outline-offset: 2px;
}

@media (max-width: 760px) {
    body.section-posting #postform #tabs ul {
        gap: 3px !important;
        padding: 4px !important;
    }

    body.section-posting #postform #tabs .tab > a {
        min-height: 38px !important;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
}

/* KBK POSTING TAB LAYOUT FIX 2.9.21 */

body.section-posting #postform #tabs.sub-panels {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 12px 0 8px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
}

body.section-posting #postform #tabs.sub-panels > ul {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #2c4b63 !important;
    border-radius: 8px !important;
    background: #0e2234 !important;
    overflow: visible !important;
}

body.section-posting #postform #tabs.sub-panels > ul::after {
    content: "";
    display: block;
    clear: both;
}

body.section-posting #postform #tabs.sub-panels > ul > li.tab {
    float: left !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.section-posting #postform #tabs.sub-panels .tab > a {
    display: block !important;
    box-sizing: border-box !important;
    min-height: 34px !important;
    height: auto !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: #a9c5da !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    white-space: nowrap;
    text-shadow: none !important;
    box-shadow: none !important;
}

body.section-posting #postform #tabs.sub-panels .tab > a:hover {
    background: #19394f !important;
    color: #e5f3ff !important;
}

body.section-posting #postform #tabs.sub-panels .activetab > a {
    background: #1c4059 !important;
    color: #eaf5ff !important;
    border-color: #396681 !important;
    box-shadow: inset 0 -2px #65c7ff !important;
}

body.section-posting #postform #tabs.sub-panels .tab > a::before {
    display: inline-block !important;
    font-family: FontAwesome !important;
    font-weight: normal !important;
    font-size: 12px !important;
    line-height: inherit !important;
    margin-inline-end: 7px !important;
    color: #87d1fa !important;
}

body.section-posting #postform #options-panel-tab > a::before {
    content: "\f013" !important;
}

body.section-posting #postform #attach-panel-tab > a::before {
    content: "\f0c6" !important;
}

body.section-posting #postform #poll-panel-tab > a::before {
    content: "\f080" !important;
}

body.section-posting #postform #tabs.sub-panels .tab > a > span {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.section-posting #postform #tabs.sub-panels .dropdown-contents {
    background: #102638 !important;
    border: 1px solid #365b75 !important;
    border-radius: 8px !important;
    padding: 5px !important;
    box-shadow: 0 8px 24px #0004 !important;
}

body.section-posting #postform #tabs.sub-panels .dropdown-contents a {
    color: #d0e4f3 !important;
    font-size: 12px !important;
}

body.section-posting #postform #tabs.sub-panels .dropdown-contents a:hover {
    background: #1d4058 !important;
}

body.section-posting #postform #tabs.sub-panels .pointer {
    border-color: #365b75 transparent !important;
}

body.section-posting #postform #tabs.sub-panels .pointer-inner {
    border-color: #102638 transparent !important;
}

@media (max-width: 760px) {
    body.section-posting #postform #tabs.sub-panels .tab > a {
        padding: 9px 10px !important;
        font-size: 12px !important;
        min-height: 38px !important;
    }

    body.section-posting #postform #tabs.sub-panels > ul > li.tab {
        margin-bottom: 3px !important;
    }
}

/* KBK PREMIUM QUICK REPLY 2.9.22 */

body.section-viewtopic #qr_postform {
    margin: 16px 0;
    color: #d2e5f3;
}

body.section-viewtopic #qr_postform .panel {
    padding: 18px !important;
    background: linear-gradient(125deg, #132b40, #102335) !important;
    border: 1px solid #31546e !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

body.section-viewtopic #qr_postform h2 {
    display: flex !important;
    align-items: center;
    gap: 11px;
    margin: 0 0 16px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #315169 !important;
    color: #e5f3ff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

body.section-viewtopic #qr_postform h2::before {
    content: "\f075";
    font-family: FontAwesome !important;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: #1b405c;
    border: 1px solid #386787;
    border-radius: 8px;
    color: #8bd7ff;
    font-size: 15px;
}

body.section-viewtopic #qr_postform fieldset {
    min-width: 0;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.section-viewtopic #qr_postform dl {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.section-viewtopic #qr_postform dt,
body.section-viewtopic #qr_postform dd {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.section-viewtopic #qr_postform dt {
    margin-bottom: 8px !important;
}

body.section-viewtopic #qr_postform dt label {
    color: #c5deef !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.section-viewtopic #qr_postform dt label[for="subject"]::before {
    content: "\f02b";
    font-family: FontAwesome !important;
    font-weight: normal;
    color: #80cffa;
    margin-inline-end: 8px;
}

body.section-viewtopic #qr_postform input[name="subject"],
body.section-viewtopic #qr_postform textarea[name="message"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #0b1e2e !important;
    border: 1px solid #365b76 !important;
    border-radius: 8px !important;
    color: #e1edf7 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    padding: 10px 13px !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,.10);
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.section-viewtopic #qr_postform input[name="subject"] {
    min-height: 42px !important;
}

body.section-viewtopic #qr_postform #message-box {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.section-viewtopic #qr_postform textarea[name="message"] {
    min-height: 170px !important;
    height: 180px;
    resize: vertical;
}

body.section-viewtopic #qr_postform input[name="subject"]:focus,
body.section-viewtopic #qr_postform textarea[name="message"]:focus {
    outline: 2px solid #69caff !important;
    outline-offset: 2px;
    border-color: #69caff !important;
    box-shadow: 0 0 0 4px rgba(72,169,230,.10) !important;
}

body.section-viewtopic #qr_postform fieldset.submit-buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    padding: 13px 0 0 !important;
    margin-top: 14px !important;
    border-top: 1px solid #29495f !important;
}

body.section-viewtopic #qr_postform .submit-buttons input,
body.section-viewtopic #qr_postform .submit-buttons button {
    min-height: 38px !important;
    margin: 0 !important;
    padding: 9px 16px !important;
    border: 1px solid #3a607d !important;
    border-radius: 7px !important;
    background: linear-gradient(135deg, #1c3d56, #142e43) !important;
    color: #d8eaf8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .15s ease, border-color .15s ease;
}

body.section-viewtopic #qr_postform .submit-buttons [name="post"] {
    min-width: 120px;
    background: linear-gradient(135deg, #168ed0, #0961a5) !important;
    border-color: #399fdb !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(0,119,200,.18);
}

body.section-viewtopic #qr_postform .submit-buttons input:hover,
body.section-viewtopic #qr_postform .submit-buttons button:hover {
    border-color: #80cfff !important;
    background: #244c69 !important;
}

body.section-viewtopic #qr_postform .submit-buttons [name="post"]:hover {
    background: linear-gradient(135deg, #24a2e7, #0875c1) !important;
}

body.section-viewtopic #qr_postform .submit-buttons input:focus-visible,
body.section-viewtopic #qr_postform .submit-buttons button:focus-visible {
    outline: 2px solid #8bd7ff;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    body.section-viewtopic #qr_postform .panel {
        padding: 12px !important;
    }

    body.section-viewtopic #qr_postform h2 {
        font-size: 16px !important;
    }

    body.section-viewtopic #qr_postform input[name="subject"],
    body.section-viewtopic #qr_postform textarea[name="message"] {
        font-size: 16px !important;
    }

    body.section-viewtopic #qr_postform .submit-buttons input,
    body.section-viewtopic #qr_postform .submit-buttons button {
        flex: 1 1 auto;
        min-height: 44px !important;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-viewtopic #qr_postform * {
        transition: none !important;
    }
}

/* KBK PREMIUM NAVIGATION 2.9.23 */

#page-header .kbk-primary.kbk-primary-v23 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 6px !important;
    padding: 9px 12px !important;
    margin: 0 !important;
    min-height: 52px;
    box-sizing: border-box;
    background: linear-gradient(110deg,#102b43,#0b2035) !important;
    border: 1px solid #2c4c66 !important;
    border-radius: 0 0 10px 10px !important;
    position: relative;
    z-index: 30;
    overflow: visible !important;
}

#page-header .kbk-primary-v23 .kbk-nav-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    float: none !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    min-height: 38px;
    box-sizing: border-box;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #c9dfef !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none !important;
    transition: background .15s, color .15s, border-color .15s;
}

#page-header .kbk-primary-v23 .kbk-nav-link > .icon {
    color: #83c9ef !important;
    font-size: 14px !important;
}

#page-header .kbk-primary-v23 .kbk-nav-link:hover {
    background: #1a3b55 !important;
    border-color: #365c78 !important;
    color: #f1f8ff !important;
}

#page-header .kbk-primary-v23 .kbk-nav-social {
    display: inline-flex;
    align-items: stretch;
    position: relative;
    border: 1px solid #3687b9;
    border-radius: 8px;
    background: linear-gradient(135deg,#147db7,#12568a);
    box-shadow: inset 0 1px rgba(255,255,255,.12);
}

#page-header .kbk-primary-v23 .kbk-social-current {
    color: #fff !important;
    border: 0 !important;
    border-radius: 7px 0 0 7px !important;
    background: transparent !important;
}

#page-header .kbk-primary-v23 .kbk-social-current > .icon {
    color: #e0f5ff !important;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown {
    display: flex;
    align-items: stretch;
    position: static;
    margin: 0;
    padding: 0;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 100%;
    min-height: 38px;
    box-sizing: border-box;
    padding: 0 8px;
    list-style: none;
    border-left: 1px solid rgba(255,255,255,.18);
    border-radius: 0 7px 7px 0;
    color: #e2f5ff;
    cursor: pointer;
    transition: background .15s;
}

#page-header .kbk-primary-v23 summary::-webkit-details-marker {
    display: none;
}

#page-header .kbk-primary-v23 summary::marker {
    content: "";
}

#page-header .kbk-primary-v23 summary:hover,
#page-header .kbk-primary-v23 details[open] > summary {
    background: rgba(255,255,255,.12);
}

#page-header .kbk-primary-v23 details[open] > summary .icon {
    transform: rotate(180deg);
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 7px);
    inset-inline-start: 0;
    width: 265px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 7px;
    background: linear-gradient(145deg,#17334b,#102538);
    border: 1px solid #385e7a;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(0,0,0,.38);
    z-index: 100;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown-title {
    padding: 10px 9px;
    margin-bottom: 4px;
    border-bottom: 1px solid #2d4c64;
    color: #91b5cf;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown-panel > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    float: none !important;
    margin: 3px 0 !important;
    padding: 10px !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #d2e6f5 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    white-space: normal;
    text-decoration: none !important;
    box-shadow: none !important;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown-panel > a > .icon {
    color: #82c9ef !important;
    flex-shrink: 0;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown-panel > a:hover {
    background: #21445e !important;
    border-color: #345e7c !important;
    color: #fff !important;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown-panel > a[aria-current="page"] {
    background: #1b4663 !important;
    border-color: #3b779b !important;
    color: #b8e8ff !important;
    font-weight: 600 !important;
}

#page-header .kbk-primary-v23 .kbk-nav-dropdown-panel > a[aria-current="page"]::after {
    content: "\f00c";
    font-family: FontAwesome !important;
    font-weight: normal;
    color: #8bd7ff;
    margin-inline-start: auto;
}

#page-header .kbk-primary-v23 a:focus-visible,
#page-header .kbk-primary-v23 summary:focus-visible {
    outline: 2px solid #87d4ff !important;
    outline-offset: 2px;
}

@media (max-width: 700px) {

    #page-header .kbk-primary.kbk-primary-v23 {
        gap: 5px !important;
        padding: 8px !important;
    }

    #page-header .kbk-primary-v23 .kbk-nav-link {
        padding: 10px !important;
        font-size: 12px !important;
        min-height: 44px;
        gap: 6px;
    }

    #page-header .kbk-primary-v23 .kbk-nav-dropdown > summary {
        min-width: 38px;
        min-height: 44px;
    }

    #page-header .kbk-primary-v23 .kbk-nav-social {
        position: static;
    }

    #page-header .kbk-primary-v23 .kbk-nav-dropdown-panel {
        inset-inline-start: 8px;
        inset-inline-end: 8px;
        width: auto;
        max-width: none;
    }

    #page-header .kbk-primary-v23 .kbk-nav-dropdown-panel > a {
        min-height: 44px;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-header .kbk-primary-v23 * {
        transition: none !important;
    }
}

/* KBK PREMIUM BRAND IDENTITY 2.9.25 */

#page-header #site-description.kbk-brand-v25 {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    min-width: 0;
    padding: 12px 0 !important;
    box-sizing: border-box;
}

/* Logo */

#page-header .kbk-brand-v25 #logo {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    background: none !important;
}

#page-header .kbk-brand-v25 .kbk-brand-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 150px !important;
    max-height: 66px !important;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: opacity .18s ease;
}

#page-header .kbk-brand-v25 #logo:hover .kbk-brand-logo {
    opacity: .85;
}

/* Brand typography */

#page-header .kbk-brand-v25 .kbk-brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 4px 0 4px 18px;
    border-inline-start: 1px solid rgba(125,190,230,.23);
    font-family: -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#page-header .kbk-brand-v25 .kbk-brand-title {
    display: block !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: none !important;
    font-family: inherit !important;
    font-size: 29px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    letter-spacing: -1px !important;
    text-transform: none !important;
    text-shadow: none !important;
    color: #f0f7ff !important;
}

#page-header .kbk-brand-v25 .kbk-brand-name {
    color: #f0f7ff !important;
}

#page-header .kbk-brand-v25 .kbk-brand-accent {
    color: #79ceff !important;
    font-weight: 650;
}

#page-header .kbk-brand-v25 .kbk-brand-slogan {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #a9c3d8 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 450 !important;
    line-height: 1.6 !important;
    letter-spacing: .15px !important;
    text-transform: none !important;
    text-shadow: none !important;
    overflow-wrap: break-word;
}

/* Responsive brand identity */

@media (max-width: 900px) {

    #page-header #site-description.kbk-brand-v25 {
        gap: 13px !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-logo {
        max-width: 125px !important;
        max-height: 56px !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-copy {
        padding-inline-start: 13px;
    }

    #page-header .kbk-brand-v25 .kbk-brand-title {
        font-size: 25px !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-slogan {
        font-size: 11px !important;
    }
}

@media (max-width: 700px) {

    #page-header #site-description.kbk-brand-v25 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        gap: 11px !important;
        padding: 10px 0 !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-logo {
        max-width: 100px !important;
        max-height: 46px !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-copy {
        gap: 4px;
        padding-inline-start: 11px;
    }

    #page-header .kbk-brand-v25 .kbk-brand-title {
        font-size: 22px !important;
        letter-spacing: -.6px !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-slogan {
        font-size: 11px !important;
        line-height: 1.45 !important;
    }
}

@media (max-width: 380px) {

    #page-header .kbk-brand-v25 .kbk-brand-logo {
        max-width: 80px !important;
        max-height: 40px !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-title {
        font-size: 20px !important;
    }

    #page-header .kbk-brand-v25 .kbk-brand-slogan {
        font-size: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-header .kbk-brand-v25 .kbk-brand-logo {
        transition: none !important;
    }
}

/* KBK MODERATOR CONTROL CENTER 2.9.26 */

body.section-mcp {
    --mcp-surface: #102438;
    --mcp-card: #152d43;
    --mcp-hover: #1c3b55;
    --mcp-border: #2b4963;
    --mcp-text: #e3edf6;
    --mcp-muted: #a8bfd3;
    --mcp-accent: #79ceff;
}

/* Page heading */

body.section-mcp .kbk-mcp-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 10px !important;
    padding: 0 !important;
    color: #edf6ff !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -.6px;
    line-height: 1.3;
}

body.section-mcp .kbk-mcp-heading > .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border: 1px solid #356485;
    border-radius: 11px;
    background: #193b56;
    color: var(--mcp-accent) !important;
    font-size: 21px !important;
}

body.section-mcp .linkmcp {
    margin: 0 0 22px !important;
    padding: 0 !important;
    color: var(--mcp-muted) !important;
    font-size: 12px !important;
}

body.section-mcp .linkmcp a {
    color: var(--mcp-accent) !important;
    text-decoration: none;
}

/* Main tabs */

body.section-mcp #tabs.kbk-mcp-tabs {
    margin: 0 0 14px !important;
    padding: 7px !important;
    background: #102438 !important;
    border: 1px solid var(--mcp-border);
    border-radius: 10px;
    overflow: visible !important;
}

body.section-mcp #tabs.kbk-mcp-tabs > ul {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
}

body.section-mcp #tabs.kbk-mcp-tabs .tab {
    float: none !important;
    margin: 0 !important;
}

body.section-mcp #tabs.kbk-mcp-tabs .tab > a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 12px !important;
    margin: 0 !important;
    box-sizing: border-box;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    color: var(--mcp-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px;
    text-decoration: none !important;
}

body.section-mcp #tabs.kbk-mcp-tabs .tab > a:hover {
    background: var(--mcp-hover) !important;
    color: #fff !important;
}

body.section-mcp #tabs.kbk-mcp-tabs .activetab > a {
    background: linear-gradient(135deg,#167bb1,#185783) !important;
    border-color: #3b8bb8 !important;
    color: #fff !important;
}

body.section-mcp #tabs.kbk-mcp-tabs .tab > a::before {
    content: "\f0c9";
    font-family: FontAwesome;
    font-weight: normal;
    font-size: 13px;
    color: var(--mcp-accent);
}

body.section-mcp #tabs.kbk-mcp-tabs a[href*="i=main"]::before {
    content: "\f015";
}

body.section-mcp #tabs.kbk-mcp-tabs a[href*="i=queue"]::before {
    content: "\f046";
}

body.section-mcp #tabs.kbk-mcp-tabs a[href*="i=reports"]::before {
    content: "\f024";
}

body.section-mcp #tabs.kbk-mcp-tabs a[href*="i=notes"]::before {
    content: "\f044";
}

body.section-mcp #tabs.kbk-mcp-tabs a[href*="i=warn"]::before {
    content: "\f071";
}

body.section-mcp #tabs.kbk-mcp-tabs a[href*="i=logs"]::before {
    content: "\f1da";
}

body.section-mcp #tabs.kbk-mcp-tabs a[href*="i=ban"]::before {
    content: "\f05e";
}

body.section-mcp #tabs.kbk-mcp-tabs .activetab > a::before {
    color: #e5f6ff;
}

/* Control center layout */

body.section-mcp .kbk-mcp-shell {
    padding: 18px !important;
    background: var(--mcp-surface) !important;
    border: 1px solid var(--mcp-border) !important;
    border-radius: 13px !important;
    color: var(--mcp-text) !important;
    box-sizing: border-box;
}

body.section-mcp .kbk-mcp-layout {
    display: grid;
    grid-template-columns: minmax(180px,220px) minmax(0,1fr);
    align-items: start;
    gap: 20px;
    width: 100%;
}

body.section-mcp .kbk-mcp-layout > #cp-menu,
body.section-mcp .kbk-mcp-layout > #cp-main {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Sidebar */

body.section-mcp #cp-menu #navigation {
    margin: 0 !important;
    padding: 7px !important;
    background: #0e2032 !important;
    border: 1px solid var(--mcp-border);
    border-radius: 10px;
}

body.section-mcp #cp-menu #navigation ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body.section-mcp #cp-menu #navigation li {
    margin: 3px 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.section-mcp #cp-menu #navigation a {
    display: flex !important;
    align-items: center;
    gap: 9px;
    padding: 11px 12px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    color: var(--mcp-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

body.section-mcp #cp-menu #navigation a::before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 14px;
    color: var(--mcp-accent);
}

body.section-mcp #cp-menu #navigation a:hover {
    background: var(--mcp-hover) !important;
    color: #fff !important;
}

body.section-mcp #cp-menu #navigation .active-subsection a {
    background: #1b405b !important;
    border-color: #376785 !important;
    color: #c6edff !important;
}

body.section-mcp #cp-menu #navigation .active-subsection a::before {
    content: "\f058";
}

/* Content cards */

body.section-mcp #cp-main {
    color: var(--mcp-text) !important;
    background: transparent !important;
}

body.section-mcp #cp-main :is(.panel,.forumbg,.forumlist,.post) {
    background: var(--mcp-card) !important;
    border: 1px solid var(--mcp-border) !important;
    border-radius: 10px !important;
    color: var(--mcp-text) !important;
    box-shadow: none !important;
}

body.section-mcp #cp-main .panel {
    margin: 0 0 15px !important;
    padding: 16px !important;
    box-sizing: border-box;
}

body.section-mcp #cp-main .panel > .inner {
    min-width: 0;
    overflow-x: auto;
}

body.section-mcp #cp-main h2 {
    color: #edf6ff !important;
    margin: 0 0 16px !important;
    font-size: 21px !important;
    font-weight: 650 !important;
    letter-spacing: -.3px;
    line-height: 1.4;
}

body.section-mcp #cp-main h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 0 12px !important;
    margin: 0 0 13px !important;
    color: #d7edfc !important;
    border-bottom: 1px solid var(--mcp-border) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    text-transform: none !important;
    letter-spacing: .1px;
    line-height: 1.5;
}

body.section-mcp #cp-main h3 > .kbk-mcp-card-icon {
    color: var(--mcp-accent) !important;
    font-size: 16px !important;
}

body.section-mcp #cp-main :is(p,dt,dd,label,legend,li,td) {
    color: var(--mcp-text) !important;
}

body.section-mcp #cp-main :is(.small,.gensmall,fieldset dd) {
    color: var(--mcp-muted) !important;
}

body.section-mcp #cp-main p {
    line-height: 1.65;
}

body.section-mcp #cp-main a:not(.button):not(.button1):not(.button2):not(.username-coloured) {
    color: var(--mcp-accent) !important;
}

body.section-mcp #cp-main a:hover {
    text-decoration: underline;
}

/* Tables */

body.section-mcp #cp-main table.table1 {
    width: 100%;
    border: 1px solid var(--mcp-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 7px;
    overflow: hidden;
    background: #102438 !important;
}

body.section-mcp #cp-main table.table1 thead,
body.section-mcp #cp-main table.table1 thead tr {
    background: #1a374f !important;
}

body.section-mcp #cp-main table.table1 th {
    padding: 12px 10px !important;
    background: #1a374f !important;
    color: #c6dfef !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mcp-border) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    line-height: 1.5;
}

body.section-mcp #cp-main table.table1 td {
    padding: 12px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #29465e !important;
    background: transparent !important;
    color: var(--mcp-text) !important;
    font-size: 12px !important;
    line-height: 1.6;
}

body.section-mcp #cp-main table.table1 tbody tr {
    background: #142b40 !important;
}

body.section-mcp #cp-main table.table1 tbody tr:nth-child(even) {
    background: #172f45 !important;
}

body.section-mcp #cp-main table.table1 tbody tr:hover {
    background: #1d3b53 !important;
}

body.section-mcp #cp-main table.table1 tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.section-mcp #cp-main table.table1 td[colspan] {
    color: var(--mcp-muted) !important;
    padding: 15px 12px !important;
}

/* Moderation lists */

body.section-mcp #cp-main ul.topiclist {
    border-color: var(--mcp-border) !important;
    background: transparent !important;
}

body.section-mcp #cp-main ul.topiclist li.header {
    padding: 9px 5px !important;
    background: #1a374f !important;
    border: 1px solid var(--mcp-border) !important;
    border-radius: 7px 7px 0 0;
}

body.section-mcp #cp-main ul.topiclist li.header :is(dt,dd,span) {
    color: #c8dfef !important;
}

body.section-mcp #cp-main ul.topiclist li.row {
    padding: 8px 5px !important;
    background: #142b40 !important;
    border-color: var(--mcp-border) !important;
}

body.section-mcp #cp-main ul.topiclist li.row:nth-child(even) {
    background: #172f45 !important;
}

body.section-mcp #cp-main ul.topiclist li.row:hover {
    background: #1d3b53 !important;
}

body.section-mcp #cp-main ul.topiclist dd {
    border-color: var(--mcp-border) !important;
}

/* Form elements */

body.section-mcp #cp-main fieldset {
    border-color: var(--mcp-border) !important;
}

body.section-mcp #cp-main fieldset dl {
    padding-top: 7px;
    padding-bottom: 7px;
    border-color: var(--mcp-border) !important;
}

body.section-mcp #cp-main :is(
    input[type="text"],
    input[type="search"],
    input[type="number"],
    input[type="password"],
    input[type="email"],
    textarea,
    select,
    .inputbox
) {
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 11px !important;
    background: #0d2032 !important;
    border: 1px solid #35536d !important;
    border-radius: 7px !important;
    color: #e7f1f9 !important;
    font-size: 13px !important;
    box-shadow: none !important;
    color-scheme: dark;
}

body.section-mcp #cp-main :is(input,textarea)::placeholder {
    color: #8ba8be !important;
    opacity: 1;
}

body.section-mcp #cp-main :is(input,textarea,select):focus {
    border-color: #65b9eb !important;
    outline: 2px solid rgba(101,185,235,.18);
    outline-offset: 1px;
}

body.section-mcp #cp-main :is(
    input[type="checkbox"],
    input[type="radio"]
) {
    accent-color: #309ad1;
    cursor: pointer;
}

body.section-mcp #cp-main select option {
    background: #102438;
    color: #e3edf6;
}

/* Action buttons */

body.section-mcp #cp-main :is(
    .button1,
    .button2,
    input[type="submit"],
    input[type="reset"]
) {
    min-height: 35px;
    padding: 8px 13px !important;
    box-sizing: border-box;
    background: #203e57 !important;
    border: 1px solid #41647e !important;
    border-radius: 7px !important;
    color: #e4f0f9 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    text-shadow: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.section-mcp #cp-main .button1 {
    background: linear-gradient(135deg,#167bb1,#185783) !important;
    border-color: #438cb8 !important;
    color: #fff !important;
}

body.section-mcp #cp-main input[name="action[approve]"] {
    background: #176347 !important;
    border-color: #348d68 !important;
    color: #e1fff0 !important;
}

body.section-mcp #cp-main :is(
    input[name="action[disapprove]"],
    input[name="action[delete]"],
    input[name="action[ban]"]
) {
    background: #71333e !important;
    border-color: #a65361 !important;
    color: #ffe5e9 !important;
}

body.section-mcp #cp-main :is(.button1,.button2,input[type="submit"]):hover {
    filter: brightness(1.13);
}

body.section-mcp #cp-main :is(input,button,select,textarea):disabled {
    opacity: .5;
    cursor: not-allowed;
}

body.section-mcp #cp-main :is(.display-actions,.display-options,.submit-buttons) {
    margin: 12px 0 !important;
    padding: 12px !important;
    background: #102438 !important;
    border: 1px solid var(--mcp-border) !important;
    border-radius: 8px !important;
    color: var(--mcp-text) !important;
}

/* Messages and warnings */

body.section-mcp #cp-main .message-title {
    color: var(--mcp-accent) !important;
}

body.section-mcp #cp-main .error {
    color: #ffb6bd !important;
}

body.section-mcp #cp-main p.error {
    padding: 12px 14px !important;
    background: #402632 !important;
    border: 1px solid #78434e !important;
    border-radius: 7px;
}

body.section-mcp #cp-main :is(.rules,.notice) {
    background: #302c22 !important;
    border: 1px solid #6b5a38 !important;
    border-radius: 8px;
    color: #f4d79c !important;
}

body.section-mcp #cp-main :is(.rules,.notice) :is(p,span,strong) {
    color: #f4d79c !important;
}

body.section-mcp #cp-main :is(blockquote,.codebox) {
    background: #0e2032 !important;
    border-color: #35536d !important;
    color: var(--mcp-text) !important;
}

body.section-mcp #cp-main hr {
    border-color: var(--mcp-border) !important;
}

/* Keyboard accessibility */

body.section-mcp :is(#cp-main,#cp-menu,.kbk-mcp-tabs) :is(a,button,input,select,textarea):focus-visible {
    outline: 2px solid #79ceff !important;
    outline-offset: 2px;
}

/* Responsive layout */

@media (max-width: 1000px) {
    body.section-mcp .kbk-mcp-layout {
        grid-template-columns: minmax(150px,180px) minmax(0,1fr);
        gap: 14px;
    }

    body.section-mcp .kbk-mcp-shell {
        padding: 14px !important;
    }
}

@media (max-width: 760px) {

    body.section-mcp .kbk-mcp-heading {
        font-size: 21px !important;
    }

    body.section-mcp .kbk-mcp-layout {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap: 14px;
    }

    body.section-mcp .kbk-mcp-shell {
        padding: 10px !important;
    }

    body.section-mcp #tabs.kbk-mcp-tabs .tab > a {
        min-height: 44px;
        padding: 10px !important;
        font-size: 11px !important;
    }

    body.section-mcp #cp-menu #navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    body.section-mcp #cp-menu #navigation a {
        min-height: 44px;
        box-sizing: border-box;
    }

    body.section-mcp #cp-main .panel {
        padding: 12px !important;
    }

    body.section-mcp #cp-main table.table1 {
        min-width: 560px;
    }

    body.section-mcp #cp-main .panel > .inner {
        overflow-x: auto;
    }

    body.section-mcp #cp-main :is(input[type="submit"],.button1,.button2) {
        min-height: 44px;
        white-space: normal;
    }

    body.section-mcp #cp-main fieldset dl > :is(dt,dd) {
        float: none !important;
        width: auto !important;
        margin: 5px 0 !important;
    }

    body.section-mcp #cp-main :is(
        input[type="text"],
        input[type="search"],
        textarea,
        select
    ) {
        font-size: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-mcp :is(#cp-main,#cp-menu,.kbk-mcp-tabs) * {
        transition: none !important;
    }
}

/* KBK COMPACT MCP HEADER 2.9.27 */

body.section-mcp .kbk-mcp-heading {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    margin: 14px 0 12px !important;
    padding: 0 !important;
    color: #e5eff8 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: -.35px !important;
    line-height: 1.4 !important;
}

body.section-mcp .kbk-mcp-heading > .icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    box-sizing: border-box;
    border: 1px solid #345d79 !important;
    border-radius: 8px !important;
    background: linear-gradient(145deg,#1b3b54,#142d43) !important;
    color: #79ceff !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

body.section-mcp .linkmcp.kbk-mcp-shortcuts {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px !important;
    margin: 0 0 17px !important;
    padding: 0 !important;
    text-align: start !important;
}

body.section-mcp .kbk-mcp-shortcuts > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    box-sizing: border-box;
    padding: 7px 11px !important;
    margin: 0 !important;
    background: #132b40 !important;
    border: 1px solid #2d4c65 !important;
    border-radius: 6px !important;
    color: #b7cfe1 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 16px !important;
    text-decoration: none !important;
    transition: background .15s ease,
                border-color .15s ease,
                color .15s ease;
}

body.section-mcp .kbk-mcp-shortcuts > a > .icon {
    font-size: 12px !important;
    color: #79ceff !important;
}

body.section-mcp .kbk-mcp-shortcuts > a:hover {
    background: #1d3c55 !important;
    border-color: #477796 !important;
    color: #f0f8ff !important;
}

body.section-mcp .kbk-mcp-shortcuts > a.kbk-mcp-current {
    background: #193c55 !important;
    border-color: #3b7193 !important;
    color: #bde8ff !important;
    font-weight: 600 !important;
}

body.section-mcp .kbk-mcp-shortcuts > a:focus-visible {
    outline: 2px solid #79ceff !important;
    outline-offset: 2px;
}

@media (max-width: 760px) {

    body.section-mcp .kbk-mcp-heading {
        font-size: 18px !important;
        gap: 8px !important;
    }

    body.section-mcp .kbk-mcp-heading > .icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px;
        font-size: 14px !important;
    }

    body.section-mcp .kbk-mcp-shortcuts > a {
        min-height: 44px;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-mcp .kbk-mcp-shortcuts > a {
        transition: none !important;
    }
}

/* KBK USER CONTROL CENTER 2.9.28 */

body.section-ucp {
    --ucp-surface: #102438;
    --ucp-card: #152d43;
    --ucp-dark: #0e2032;
    --ucp-hover: #1c3b55;
    --ucp-border: #2b4963;
    --ucp-text: #e3edf6;
    --ucp-muted: #a8bfd3;
    --ucp-accent: #79ceff;
}

/* Compact page heading */

body.section-ucp .kbk-ucp-heading {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 14px 0 16px !important;
    padding: 0 !important;
    color: #e5eff8 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: -.35px;
}

body.section-ucp .kbk-ucp-heading > .icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    box-sizing: border-box;
    background: linear-gradient(145deg,#1b3b54,#142d43);
    border: 1px solid #345d79;
    border-radius: 8px;
    color: var(--ucp-accent) !important;
    font-size: 16px !important;
}

/* Main navigation */

body.section-ucp #tabs.kbk-ucp-tabs {
    margin: 0 0 14px !important;
    padding: 7px !important;
    background: var(--ucp-surface) !important;
    border: 1px solid var(--ucp-border);
    border-radius: 10px;
    overflow: visible !important;
}

body.section-ucp #tabs.kbk-ucp-tabs > ul {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body.section-ucp #tabs.kbk-ucp-tabs .tab {
    float: none !important;
    margin: 0 !important;
}

body.section-ucp #tabs.kbk-ucp-tabs .tab > a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 12px !important;
    margin: 0 !important;
    box-sizing: border-box;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    color: var(--ucp-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.section-ucp #tabs.kbk-ucp-tabs .tab > a:hover {
    background: var(--ucp-hover) !important;
    color: #fff !important;
}

body.section-ucp #tabs.kbk-ucp-tabs .activetab > a {
    background: linear-gradient(135deg,#167bb1,#185783) !important;
    border-color: #3b8bb8 !important;
    color: #fff !important;
}

body.section-ucp #tabs.kbk-ucp-tabs .tab > a::before {
    content: "\f0c9";
    font-family: FontAwesome;
    font-size: 13px;
    font-weight: normal;
    color: var(--ucp-accent);
    flex-shrink: 0;
}

body.section-ucp #tabs.kbk-ucp-tabs a[href*="i=main"]::before {
    content: "\f015";
}

body.section-ucp #tabs.kbk-ucp-tabs a[href*="i=profile"]::before {
    content: "\f007";
}

body.section-ucp #tabs.kbk-ucp-tabs a[href*="i=prefs"]::before {
    content: "\f1de";
}

body.section-ucp #tabs.kbk-ucp-tabs a[href*="i=pm"]::before {
    content: "\f0e0";
}

body.section-ucp #tabs.kbk-ucp-tabs a[href*="i=groups"]::before {
    content: "\f0c0";
}

body.section-ucp #tabs.kbk-ucp-tabs a[href*="i=zebra"]::before {
    content: "\f234";
}

body.section-ucp #tabs.kbk-ucp-tabs .activetab > a::before {
    color: #e5f6ff;
}

/* Main layout */

body.section-ucp .kbk-ucp-shell {
    padding: 18px !important;
    background: var(--ucp-surface) !important;
    border: 1px solid var(--ucp-border) !important;
    border-radius: 12px !important;
    color: var(--ucp-text) !important;
    box-sizing: border-box;
}

body.section-ucp .kbk-ucp-layout {
    display: grid;
    grid-template-columns: minmax(190px,235px) minmax(0,1fr);
    align-items: start;
    gap: 18px;
    width: 100%;
}

body.section-ucp .kbk-ucp-layout > #cp-menu,
body.section-ucp .kbk-ucp-layout > #cp-main {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Sidebar navigation */

body.section-ucp #cp-menu #navigation {
    margin: 0 !important;
    padding: 7px !important;
    background: var(--ucp-dark) !important;
    border: 1px solid var(--ucp-border);
    border-radius: 9px;
}

body.section-ucp #cp-menu #navigation ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body.section-ucp #cp-menu #navigation li {
    margin: 3px 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.section-ucp #cp-menu #navigation a {
    display: flex !important;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    padding: 10px 11px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    color: var(--ucp-muted) !important;
    font-size: 12px !important;
    font-weight: 550 !important;
    line-height: 1.5;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

body.section-ucp #cp-menu #navigation a:hover {
    background: var(--ucp-hover) !important;
    color: #fff !important;
}

body.section-ucp #cp-menu #navigation .active-subsection a {
    background: #1b405b !important;
    border-color: #376785 !important;
    color: #c6edff !important;
    font-weight: 600 !important;
}

body.section-ucp #cp-menu #navigation a::before {
    content: "\f105";
    font-family: FontAwesome;
    font-weight: normal;
    font-size: 13px;
    width: 16px;
    flex: 0 0 16px;
    text-align: center;
    color: var(--ucp-accent);
}

/* Sidebar icons */

body.section-ucp #navigation a[href*="mode=front"]::before {
    content: "\f015";
}

body.section-ucp #navigation a[href*="mode=subscribed"]::before {
    content: "\f09e";
}

body.section-ucp #navigation a[href*="mode=bookmarks"]::before {
    content: "\f02e";
}

body.section-ucp #navigation a[href*="mode=drafts"]::before {
    content: "\f0f6";
}

body.section-ucp #navigation a[href*="mode=attachments"]::before {
    content: "\f0c6";
}

body.section-ucp #navigation a[href*="mode=notification"]::before {
    content: "\f0f3";
}

body.section-ucp #navigation a[href*="mode=profile_info"]::before {
    content: "\f007";
}

body.section-ucp #navigation a[href*="mode=reg_details"]::before {
    content: "\f023";
}

body.section-ucp #navigation a[href*="mode=signature"]::before {
    content: "\f040";
}

body.section-ucp #navigation a[href*="mode=avatar"]::before {
    content: "\f03e";
}

body.section-ucp #navigation a[href*="mode=autologin_keys"]::before {
    content: "\f084";
}

body.section-ucp #navigation a[href*="mode=personal"]::before {
    content: "\f013";
}

body.section-ucp #navigation a[href*="mode=post"]::before {
    content: "\f044";
}

body.section-ucp #navigation a[href*="mode=view"]::before {
    content: "\f06e";
}

body.section-ucp #navigation a[href*="mode=compose"]::before {
    content: "\f044";
}

body.section-ucp #navigation a[href*="mode=options"]::before {
    content: "\f1de";
}

body.section-ucp #navigation a[href*="folder=inbox"]::before {
    content: "\f01c";
}

body.section-ucp #navigation a[href*="folder=outbox"]::before {
    content: "\f093";
}

body.section-ucp #navigation a[href*="folder=sentbox"]::before {
    content: "\f1d8";
}

body.section-ucp #navigation a[href*="folder="]::before {
    content: "\f07b";
}

body.section-ucp #navigation a[href*="folder=inbox"]::before {
    content: "\f01c";
}

body.section-ucp #navigation a[href*="folder=outbox"]::before {
    content: "\f093";
}

body.section-ucp #navigation a[href*="folder=sentbox"]::before {
    content: "\f1d8";
}

body.section-ucp #navigation a[href*="mode=membership"]::before {
    content: "\f0c0";
}

body.section-ucp #navigation a[href*="mode=manage"]::before {
    content: "\f085";
}

body.section-ucp #navigation a[href*="mode=friends"]::before {
    content: "\f234";
}

body.section-ucp #navigation a[href*="mode=foes"]::before {
    content: "\f05e";
}

body.section-ucp #cp-menu #navigation hr {
    border-color: var(--ucp-border) !important;
    margin: 9px 0 !important;
}

/* Sidebar mini cards */

body.section-ucp #cp-menu .cp-mini {
    margin: 12px 0 0 !important;
    padding: 12px !important;
    background: var(--ucp-dark) !important;
    border: 1px solid var(--ucp-border) !important;
    border-radius: 9px !important;
    color: var(--ucp-text) !important;
}

body.section-ucp #cp-menu .cp-mini dt {
    padding-bottom: 9px;
    margin-bottom: 9px;
    border-bottom: 1px solid var(--ucp-border);
    color: var(--ucp-text) !important;
    font-size: 12px;
    font-weight: 650;
}

body.section-ucp #cp-menu .cp-mini dd {
    color: var(--ucp-muted) !important;
    padding: 6px 0;
    overflow-wrap: anywhere;
}

body.section-ucp #cp-menu .friend-online::before,
body.section-ucp #cp-menu .friend-offline::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-inline-end: 7px;
    border-radius: 50%;
    background: #7890a4;
}

body.section-ucp #cp-menu .friend-online::before {
    background: #55d49a;
}

/* Content panels */

body.section-ucp #cp-main.ucp-main {
    background: transparent !important;
    color: var(--ucp-text) !important;
}

body.section-ucp #cp-main :is(.panel,.post,.forumbg,.forumlist) {
    background: var(--ucp-card) !important;
    border: 1px solid var(--ucp-border) !important;
    border-radius: 10px !important;
    color: var(--ucp-text) !important;
    box-shadow: none !important;
}

body.section-ucp #cp-main .panel {
    margin: 0 0 14px !important;
    padding: 16px !important;
    box-sizing: border-box;
}

body.section-ucp #cp-main .panel > .inner {
    min-width: 0;
}

body.section-ucp #cp-main h2 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #e5eff8 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    letter-spacing: -.25px;
}

body.section-ucp #cp-main h3 {
    padding: 0 0 11px !important;
    margin: 0 0 12px !important;
    border-bottom: 1px solid var(--ucp-border) !important;
    color: #d7edfc !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    text-transform: none !important;
    line-height: 1.5;
}

body.section-ucp #cp-main .kbk-ucp-section-icon {
    margin-inline-end: 8px;
    color: var(--ucp-accent) !important;
}

body.section-ucp #cp-main :is(
    p,dt,dd,label,legend,li,td,
    .content,.postbody,.postprofile
) {
    color: var(--ucp-text) !important;
}

body.section-ucp #cp-main p {
    line-height: 1.65;
}

body.section-ucp #cp-main :is(
    .small,.gensmall,.notifications_time,
    .notifications_forum,.notifications_reason
) {
    color: var(--ucp-muted) !important;
}

body.section-ucp #cp-main a:not(.button):not(.button1):not(.button2):not(.username-coloured) {
    color: var(--ucp-accent) !important;
}

/* Welcome area */

body.section-ucp #cp-main .kbk-ucp-welcome {
    padding: 13px 15px !important;
    margin: 0 0 18px !important;
    background: #10283c !important;
    border: 1px solid #31516c;
    border-inline-start: 3px solid #58b9ed;
    border-radius: 7px;
    color: #c5d9e9 !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
}

/* Activity details */

body.section-ucp #cp-main dl.kbk-ucp-activity {
    display: grid !important;
    grid-template-columns: minmax(145px,190px) minmax(0,1fr);
    align-items: stretch;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--ucp-dark);
    border: 1px solid var(--ucp-border);
    border-radius: 8px;
    overflow: hidden;
}

body.section-ucp #cp-main dl.kbk-ucp-activity > dt,
body.section-ucp #cp-main dl.kbk-ucp-activity > dd {
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 12px !important;
    border-bottom: 1px solid var(--ucp-border);
    text-align: start !important;
    box-sizing: border-box;
    font-size: 12px !important;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body.section-ucp #cp-main dl.kbk-ucp-activity > dt {
    background: #173149;
    color: #b9d3e6 !important;
    font-weight: 600;
}

body.section-ucp #cp-main dl.kbk-ucp-activity > dd {
    background: #10263a;
    color: #e3edf6 !important;
}

body.section-ucp #cp-main dl.kbk-ucp-activity > dt .icon {
    margin-inline-end: 6px;
    color: var(--ucp-accent) !important;
}

body.section-ucp #cp-main dl.kbk-ucp-activity > dt:nth-last-child(2),
body.section-ucp #cp-main dl.kbk-ucp-activity > dd:last-child {
    border-bottom: 0;
}

/* Tables */

body.section-ucp #cp-main table.table1 {
    width: 100%;
    border: 1px solid var(--ucp-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 7px;
    background: var(--ucp-dark) !important;
}

body.section-ucp #cp-main table.table1 th {
    padding: 11px 10px !important;
    background: #1a374f !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ucp-border) !important;
    color: #c6dfef !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

body.section-ucp #cp-main table.table1 td {
    padding: 11px 10px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ucp-border) !important;
    color: var(--ucp-text) !important;
    font-size: 12px !important;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body.section-ucp #cp-main table.table1 tbody tr {
    background: #142b40 !important;
}

body.section-ucp #cp-main table.table1 tbody tr:nth-child(even) {
    background: #172f45 !important;
}

body.section-ucp #cp-main table.table1 tbody tr:hover {
    background: #1d3b53 !important;
}

body.section-ucp #cp-main table.table1 tbody tr.bg3 {
    background: #1c405b !important;
}

body.section-ucp #cp-main table.table1 tbody tr:last-child td {
    border-bottom: 0 !important;
}

/* Subscriptions, bookmarks, attachments and PM lists */

body.section-ucp #cp-main ul.topiclist {
    background: transparent !important;
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main ul.topiclist li.header {
    padding: 9px 7px !important;
    background: #1a374f !important;
    border: 1px solid var(--ucp-border) !important;
    border-radius: 7px 7px 0 0;
}

body.section-ucp #cp-main ul.topiclist li.header :is(dt,dd,span,.list-inner) {
    color: #c8dfef !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

body.section-ucp #cp-main ul.topiclist li.header .list-inner::before {
    content: none !important;
}

body.section-ucp #cp-main ul.topiclist li.row {
    padding: 7px !important;
    background: #142b40 !important;
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main ul.topiclist li.row:nth-child(even) {
    background: #172f45 !important;
}

body.section-ucp #cp-main ul.topiclist li.row:hover {
    background: #1d3b53 !important;
}

body.section-ucp #cp-main ul.topiclist dd {
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main ul.topiclist :is(a.topictitle,a.forumtitle) {
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Form elements */

body.section-ucp #cp-main fieldset {
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main fieldset dl {
    padding-top: 9px;
    padding-bottom: 9px;
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main fieldset dt label {
    color: #d3e5f2 !important;
    font-size: 13px !important;
    font-weight: 600;
}

body.section-ucp #cp-main fieldset dt span {
    color: var(--ucp-muted) !important;
}

body.section-ucp #cp-main :is(
    input[type="text"],
    input[type="search"],
    input[type="number"],
    input[type="password"],
    input[type="email"],
    input[type="url"],
    input[type="file"],
    textarea,
    select,
    .inputbox
) {
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 11px !important;
    background: #0d2032 !important;
    border: 1px solid #35536d !important;
    border-radius: 7px !important;
    color: #e7f1f9 !important;
    font-size: 13px !important;
    box-shadow: none !important;
    color-scheme: dark;
}

body.section-ucp #cp-main :is(input,textarea)::placeholder {
    color: #8ba8be !important;
    opacity: 1;
}

body.section-ucp #cp-main :is(input,textarea,select):focus {
    border-color: #65b9eb !important;
    outline: 2px solid rgba(101,185,235,.18);
    outline-offset: 1px;
}

body.section-ucp #cp-main :is(
    input[type="checkbox"],
    input[type="radio"]
) {
    accent-color: #309ad1;
    cursor: pointer;
}

body.section-ucp #cp-main select option {
    background: var(--ucp-surface);
    color: var(--ucp-text);
}

/* Buttons */

body.section-ucp .kbk-ucp-shell :is(
    .button1,.button2,
    input[type="submit"],
    input[type="reset"]
) {
    min-height: 34px;
    padding: 8px 13px !important;
    box-sizing: border-box;
    background: #203e57 !important;
    border: 1px solid #41647e !important;
    border-radius: 7px !important;
    color: #e4f0f9 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    text-shadow: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.section-ucp .kbk-ucp-shell .button1 {
    background: linear-gradient(135deg,#167bb1,#185783) !important;
    border-color: #438cb8 !important;
    color: #fff !important;
}

body.section-ucp #cp-main a.button {
    background: #203e57 !important;
    border-color: #41647e !important;
    border-radius: 7px !important;
    color: #e4f0f9 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.section-ucp .kbk-ucp-shell :is(
    input[name="delete"],
    input[name="delete_marked"],
    input[name="deleteall"]
) {
    background: #71333e !important;
    border-color: #a65361 !important;
    color: #ffe5e9 !important;
}

body.section-ucp .kbk-ucp-shell :is(.button1,.button2,.button):hover {
    filter: brightness(1.13);
}

body.section-ucp .kbk-ucp-shell :is(input,button,select,textarea):disabled {
    opacity: .5;
    cursor: not-allowed;
}

body.section-ucp #cp-main :is(
    .display-actions,
    .display-options,
    .submit-buttons
) {
    margin: 12px 0 !important;
    padding: 12px !important;
    background: var(--ucp-surface) !important;
    border: 1px solid var(--ucp-border) !important;
    border-radius: 8px !important;
    color: var(--ucp-text) !important;
}

/* Avatar management */

body.section-ucp #cp-main .avatar_section_header {
    color: var(--ucp-text) !important;
}

body.section-ucp #cp-main .gallery {
    padding: 10px;
    background: var(--ucp-dark);
    border: 1px solid var(--ucp-border);
    border-radius: 8px;
}

body.section-ucp #cp-main .gallery label {
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main .gallery img {
    max-width: 100%;
    height: auto;
}

/* Notification center */

body.section-ucp #cp-main .notification_list {
    background: transparent !important;
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main .notification_list li.row.bg3 {
    background: #193c55 !important;
    border-inline-start: 3px solid #58b9ed !important;
}

body.section-ucp #cp-main .notifications_title {
    color: #e3edf6 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.section-ucp #cp-main .notification_list .list-inner > img {
    border-radius: 8px;
    border: 1px solid var(--ucp-border);
}

body.section-ucp #cp-main .notifications_time {
    font-size: 11px !important;
}

/* Private messages */

body.section-ucp #cp-main .postprofile {
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main .postprofile :is(dt,dd) {
    color: var(--ucp-muted) !important;
}

body.section-ucp #cp-main .signature {
    color: var(--ucp-muted) !important;
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main :is(
    blockquote,.codebox,.attachbox
) {
    background: var(--ucp-dark) !important;
    border-color: var(--ucp-border) !important;
    color: var(--ucp-text) !important;
}

body.section-ucp #cp-main .dropdown-contents {
    background: var(--ucp-card) !important;
    border-color: var(--ucp-border) !important;
}

body.section-ucp #cp-main .dropdown-contents li:hover {
    background: var(--ucp-hover) !important;
}

body.section-ucp #cp-main .pagination {
    color: var(--ucp-muted) !important;
}

body.section-ucp #cp-main .pagination li.active span {
    background: #1b5b85 !important;
    border-color: #438cb8 !important;
    color: #fff !important;
}

/* Status and error messages */

body.section-ucp #cp-main .error {
    color: #ffb6bd !important;
}

body.section-ucp #cp-main p.error {
    padding: 12px 14px !important;
    background: #402632 !important;
    border: 1px solid #78434e !important;
    border-radius: 7px;
}

body.section-ucp #cp-main :is(.notice,.rules,.post-notice) {
    background: #302c22 !important;
    border: 1px solid #6b5a38 !important;
    border-radius: 8px;
    color: #f4d79c !important;
}

body.section-ucp #cp-main :is(.notice,.rules,.post-notice) :is(p,span,strong) {
    color: #f4d79c !important;
}

body.section-ucp #cp-main hr {
    border-color: var(--ucp-border) !important;
}

/* Accessibility */

body.section-ucp :is(
    #cp-main,#cp-menu,.kbk-ucp-tabs
) :is(a,button,input,select,textarea):focus-visible {
    outline: 2px solid #79ceff !important;
    outline-offset: 2px;
}

/* Responsive */

@media (max-width: 1000px) {

    body.section-ucp .kbk-ucp-layout {
        grid-template-columns: minmax(155px,185px) minmax(0,1fr);
        gap: 14px;
    }

    body.section-ucp .kbk-ucp-shell {
        padding: 14px !important;
    }
}

@media (max-width: 760px) {

    body.section-ucp .kbk-ucp-heading {
        font-size: 18px !important;
    }

    body.section-ucp .kbk-ucp-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 14px;
    }

    body.section-ucp .kbk-ucp-shell {
        padding: 10px !important;
    }

    body.section-ucp #tabs.kbk-ucp-tabs .tab > a {
        min-height: 44px;
        padding: 10px !important;
        font-size: 11px !important;
    }

    body.section-ucp #cp-menu #navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    body.section-ucp #cp-menu #navigation a {
        min-height: 44px;
        box-sizing: border-box;
    }

    body.section-ucp #cp-main .panel {
        padding: 12px !important;
    }

    body.section-ucp #cp-main dl.kbk-ucp-activity {
        grid-template-columns: minmax(95px,35%) minmax(0,1fr);
    }

    body.section-ucp #cp-main dl.kbk-ucp-activity > :is(dt,dd) {
        padding: 10px 8px !important;
        font-size: 11px !important;
    }

    body.section-ucp #cp-main table.table1 {
        min-width: 480px;
    }

    body.section-ucp #cp-main .kbk-ucp-table-scroll {
        max-width: 100%;
        overflow-x: auto;
    }

    body.section-ucp #cp-main fieldset dl > :is(dt,dd) {
        float: none !important;
        width: auto !important;
        margin: 5px 0 !important;
    }

    body.section-ucp #cp-main :is(
        input[type="text"],
        input[type="search"],
        input[type="email"],
        input[type="password"],
        textarea,
        select
    ) {
        font-size: 16px !important;
    }

    body.section-ucp .kbk-ucp-shell :is(
        input[type="submit"],.button1,.button2
    ) {
        min-height: 44px;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-ucp :is(
        #cp-main,#cp-menu,.kbk-ucp-tabs
    ) * {
        transition: none !important;
    }
}

/* KBK UCP ALIGNMENT 2.9.29 */

body.section-ucp .kbk-ucp-layout {
    column-gap: 18px !important;
}

body.section-ucp .kbk-ucp-layout > #cp-main {
    margin-inline-start: 0 !important;
    padding-inline-start: 12px !important;
    box-sizing: border-box !important;
}

body.section-ucp #cp-main > h2,
body.section-ucp #cp-main > form > h2 {
    padding-inline-start: 16px !important;
    margin-bottom: 14px !important;
}

@media (max-width: 760px) {
    body.section-ucp .kbk-ucp-layout > #cp-main {
        padding-inline-start: 0 !important;
    }

    body.section-ucp #cp-main > h2,
    body.section-ucp #cp-main > form > h2 {
        padding-inline-start: 10px !important;
    }
}

/* KBK LEGAL PREMIUM 2.9.31 */

body#phpbb .kbk-legal-panel {
    background: linear-gradient(145deg, #142d43, #102438 55%, #0e2032) !important;
    border: 1px solid #294b68 !important;
    border-radius: 14px !important;
    padding: 28px 32px !important;
    margin: 18px 0 !important;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

body#phpbb .kbk-legal-content {
    max-width: 1120px;
    margin: 0 auto !important;
    color: #d4e2ef !important;
}

body#phpbb .kbk-legal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 20px;
    margin: 0 0 24px;
    border-bottom: 1px solid #31516a;
}

body#phpbb .kbk-legal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid #356482;
    border-radius: 12px;
    background: linear-gradient(145deg, #214961, #16354d);
    color: #79ceff;
    box-sizing: border-box;
}

body#phpbb .kbk-legal-icon .icon {
    color: #79ceff !important;
    font-size: 22px !important;
    margin: 0 !important;
}

body#phpbb .kbk-legal-heading {
    min-width: 0;
}

body#phpbb .kbk-legal-eyebrow {
    display: block;
    color: #79ceff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

body#phpbb .kbk-legal-header h2.sitename-title {
    color: #edf5ff !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -.4px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: start !important;
    overflow-wrap: anywhere;
}

body#phpbb .kbk-legal-text {
    color: #d4e2ef !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
    text-align: start !important;
    overflow-wrap: anywhere;
}

body#phpbb .kbk-legal-text p {
    color: #d4e2ef !important;
    font-size: inherit !important;
    line-height: inherit !important;
    margin: 0 0 18px !important;
}

body#phpbb .kbk-legal-text p:last-child {
    margin-bottom: 0 !important;
}

body#phpbb .kbk-legal-text strong,
body#phpbb .kbk-legal-text b {
    color: #edf5ff !important;
    font-weight: 700;
}

body#phpbb .kbk-legal-text h2,
body#phpbb .kbk-legal-text h3,
body#phpbb .kbk-legal-text h4 {
    color: #edf5ff !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.5;
    margin: 24px 0 12px !important;
    padding-bottom: 8px;
    border-bottom: 1px solid #294b68;
}

body#phpbb .kbk-legal-text a {
    color: #79ceff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body#phpbb .kbk-legal-text a:hover {
    color: #c1eaff !important;
}

body#phpbb .kbk-legal-text a:focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: 3px;
    border-radius: 3px;
}

body#phpbb .kbk-legal-text ul,
body#phpbb .kbk-legal-text ol {
    padding-inline-start: 24px;
    margin: 12px 0 20px;
}

body#phpbb .kbk-legal-text li {
    margin-bottom: 8px;
}

body#phpbb .kbk-legal-text hr {
    border: 0;
    border-top: 1px solid #294b68;
    margin: 24px 0;
}

@media (max-width: 760px) {
    body#phpbb .kbk-legal-panel {
        padding: 20px 16px !important;
        margin: 12px 0 !important;
        border-radius: 11px !important;
    }

    body#phpbb .kbk-legal-header {
        gap: 11px;
        padding-bottom: 16px;
        margin-bottom: 18px;
    }

    body#phpbb .kbk-legal-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    body#phpbb .kbk-legal-icon .icon {
        font-size: 19px !important;
    }

    body#phpbb .kbk-legal-header h2.sitename-title {
        font-size: 19px !important;
    }

    body#phpbb .kbk-legal-text {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }
}

/* END KBK LEGAL PREMIUM 2.9.31 */

/* KBK TEAM PREMIUM 2.9.32 */

body#phpbb .kbk-team-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 22px;
}

body#phpbb .kbk-team-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    box-sizing: border-box;
    border: 1px solid #356482;
    border-radius: 10px;
    background: linear-gradient(145deg, #214961, #16354d);
}

body#phpbb .kbk-team-heading-icon .icon {
    color: #79ceff !important;
    font-size: 19px !important;
    margin: 0 !important;
}

body#phpbb .kbk-team-heading h2.solo {
    color: #edf5ff !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -.4px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body#phpbb .kbk-team-form {
    margin: 0 0 18px;
}

body#phpbb .kbk-team-card {
    background: linear-gradient(145deg, #142c42, #102438) !important;
    border: 1px solid #294b68 !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin: 0 0 18px !important;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

body#phpbb .kbk-team-card > .inner {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: auto;
}

body#phpbb .kbk-team-table {
    width: 100% !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    table-layout: auto;
}

body#phpbb .kbk-team-table thead {
    background: linear-gradient(110deg, #1b3c56, #173149) !important;
}

body#phpbb .kbk-team-table thead th {
    background: transparent !important;
    color: #dcecf9 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    letter-spacing: .25px;
    text-transform: uppercase;
    text-align: start;
    padding: 15px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid #35536d !important;
    box-sizing: border-box;
}

body#phpbb .kbk-team-table thead th.name {
    width: 42%;
}

body#phpbb .kbk-team-table thead th.info {
    width: 29%;
}

body#phpbb .kbk-team-table thead th a {
    color: #edf5ff !important;
    font-weight: 700;
}

body#phpbb .kbk-team-table thead th .icon {
    color: #79ceff !important;
    margin-inline-end: 5px;
    font-size: 13px;
}

body#phpbb .kbk-team-table tbody tr {
    background: #102438 !important;
    border: 0 !important;
    transition: background-color .18s ease;
}

body#phpbb .kbk-team-table tbody tr:nth-child(even) {
    background: #132b40 !important;
}

body#phpbb .kbk-team-table tbody tr:hover {
    background: #19374e !important;
}

body#phpbb .kbk-team-table tbody td {
    background: transparent !important;
    color: #c6d8e8 !important;
    font-size: 13px !important;
    line-height: 1.65;
    padding: 17px 18px !important;
    vertical-align: middle;
    border: 0 !important;
    border-bottom: 1px solid #29465e !important;
    overflow-wrap: anywhere;
}

body#phpbb .kbk-team-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body#phpbb .kbk-team-table .kbk-team-member {
    font-weight: 600;
}

body#phpbb .kbk-team-member .username,
body#phpbb .kbk-team-member .username-coloured {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #edf5ff !important;
}

body#phpbb .kbk-team-member .username-coloured {
    background: #1b354c;
    border-bottom: 2px solid #79ceff;
    border-radius: 4px;
    padding: 3px 7px;
}

body#phpbb .kbk-team-table tbody .rank-img {
    display: inline-block;
    float: right;
    max-width: 48%;
    margin: 0 0 0 10px !important;
    padding: 4px 9px;
    color: #b9d9ee !important;
    background: #1b354c;
    border: 1px solid #34536d;
    border-radius: 6px;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
}

body#phpbb .kbk-team-table .rank-img img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

body#phpbb .kbk-team-table thead .rank-img {
    color: #a9c5db !important;
    font-size: 11px !important;
    margin-inline-start: 10px;
}

body#phpbb .kbk-team-role a {
    display: inline-block;
    color: #9bdcff !important;
    background: #17394f;
    border: 1px solid #32617d;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none;
    line-height: 1.5;
}

body#phpbb .kbk-team-role a:hover {
    color: #e4f5ff !important;
    background: #214c66;
}

body#phpbb .kbk-team-forums select {
    max-width: 100%;
    background: #0d2032 !important;
    color: #dcecf9 !important;
    border: 1px solid #365770 !important;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px !important;
}

body#phpbb .kbk-team-table td.kbk-team-empty {
    padding: 20px 18px !important;
    color: #a9bfd3 !important;
    font-size: 13px !important;
}

body#phpbb .kbk-team-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-inline-end: 9px;
    border: 1px solid #34536d;
    border-radius: 7px;
    background: #19354b;
    vertical-align: middle;
}

body#phpbb .kbk-team-empty-icon .icon {
    color: #79ceff !important;
    font-size: 13px;
}

body#phpbb .kbk-team-empty strong {
    color: #b8cddd !important;
    font-weight: 500;
}

body#phpbb .kbk-team-table a:focus-visible,
body#phpbb .kbk-team-table select:focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: 3px;
}

@media (max-width: 760px) {

    body#phpbb .kbk-team-heading {
        gap: 10px;
        margin: 15px 0 17px;
    }

    body#phpbb .kbk-team-heading h2.solo {
        font-size: 20px !important;
    }

    body#phpbb .kbk-team-heading-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    body#phpbb .kbk-team-card {
        border-radius: 10px !important;
        margin-bottom: 14px !important;
    }

    body#phpbb .kbk-team-table thead th {
        font-size: 10px !important;
        padding: 12px 9px !important;
    }

    body#phpbb .kbk-team-table tbody td {
        font-size: 12px !important;
        padding: 13px 9px !important;
    }

    body#phpbb .kbk-team-table tbody .rank-img {
        display: block;
        float: none;
        width: fit-content;
        max-width: 100%;
        margin: 0 0 7px !important;
        padding: 3px 6px;
        font-size: 10px !important;
    }

    body#phpbb .kbk-team-role a {
        padding: 3px 6px;
        font-size: 11px !important;
    }

    body#phpbb .kbk-team-table thead th .icon {
        font-size: 11px;
        margin-inline-end: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body#phpbb .kbk-team-table tbody tr {
        transition: none;
    }
}

/* END KBK TEAM PREMIUM 2.9.32 */


/* ==========================================================
   KBK SOCIAL PREMIUM 2.9.33 - MEMBER PROFILE
   ========================================================== */

body.section-memberlist .kbk-profile-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 18px;
    padding: 0;
    color: #edf5ff;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 750;
    letter-spacing: -.45px;
    line-height: 1.35;
}

.kbk-profile-title > .kbk-profile-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    background: #17384f;
    border: 1px solid #315c78;
    border-radius: 10px;
    color: #79ceff;
    font-size: 19px;
}

#viewprofile {
    --profile-text: #e2edf8;
    --profile-muted: #b1c8dc;
    --profile-accent: #79ceff;
    --profile-border: #294b64;
    --profile-surface: #102438;
    --profile-raised: #152d43;
    color: var(--profile-text);
}

#viewprofile > .panel {
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 20px;
    background: var(--profile-surface);
    border: 1px solid var(--profile-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

#viewprofile .kbk-profile-card > .inner {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    min-width: 0;
}

#viewprofile .kbk-profile-card.online {
    background-image: none;
}

#viewprofile .avatar-rank-container,
#viewprofile .kbk-profile-placeholder {
    float: none;
    flex: 0 0 112px;
    width: 112px;
    max-width: 112px;
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
    background: #0d2032;
    border: 1px solid #31536d;
    border-radius: 12px;
    text-align: center;
    color: var(--profile-muted);
}

#viewprofile .avatar-rank-container dt {
    margin: 0;
    text-align: center;
}

#viewprofile .avatar-rank-container dd {
    margin: 8px 0 0;
    color: var(--profile-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

#viewprofile .avatar-rank-container img {
    max-width: 100%;
    height: auto;
    border-radius: 9px;
}

#viewprofile .kbk-profile-placeholder {
    display: grid;
    place-items: center;
    min-height: 112px;
    background: linear-gradient(145deg,#1c425d,#102438);
}

#viewprofile .kbk-profile-placeholder .icon {
    margin: 0;
    font-size: 43px;
    color: var(--profile-accent);
}

#viewprofile .profile-details {
    flex: 1 1 auto;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

#viewprofile dl.details {
    display: grid;
    grid-template-columns: minmax(125px, 190px) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--profile-border);
    border-radius: 9px;
    overflow: hidden;
    background: #102538;
}

#viewprofile dl.details > dt,
#viewprofile dl.details > dd {
    float: none;
    clear: none;
    width: auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 14px;
    border-bottom: 1px solid var(--profile-border);
    text-align: left;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

#viewprofile dl.details > dt {
    background: var(--profile-raised);
    color: var(--profile-muted);
    font-weight: 650;
}

#viewprofile dl.details > dd {
    background: #102538;
    color: var(--profile-text);
}

#viewprofile dl.details > dt:nth-last-child(2),
#viewprofile dl.details > dd:last-child {
    border-bottom: 0;
}

#viewprofile .kbk-profile-icon {
    color: var(--profile-accent);
    margin-right: 7px;
    font-size: 14px;
    vertical-align: baseline;
}

#viewprofile .profile-details > dd:first-of-type > span {
    display: inline-block;
    margin: 2px 8px 2px 0;
    font-size: 17px;
    font-weight: 750;
}

/* Kullanici ve grup renklerini okunabilir tut */
#viewprofile .profile-details > dd:first-of-type > span[style] {
    color: #9bd8ff !important;
}

#viewprofile a {
    color: var(--profile-accent);
}

#viewprofile a:hover {
    color: #c5ebff;
}

#viewprofile a.kbk-profile-action,
#viewprofile .zebra a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 32px;
    margin: 3px 4px 3px 0;
    padding: 6px 10px;
    background: #19374e;
    border: 1px solid #355b76;
    border-radius: 7px;
    color: #bde6ff;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
    text-decoration: none;
    white-space: normal;
    transition: background-color .15s, border-color .15s;
}

#viewprofile a.kbk-profile-action .icon {
    margin: 0;
    flex-shrink: 0;
    font-size: 13px;
}

#viewprofile a.kbk-profile-action:hover,
#viewprofile .zebra a:hover {
    background: #234b67;
    border-color: #67bde8;
    color: #fff;
}

#viewprofile a.kbk-profile-danger {
    background: #38232d;
    border-color: #70404c;
    color: #ffc1c8;
}

#viewprofile a.kbk-profile-danger .icon {
    color: #ff9fae;
}

#viewprofile a.kbk-profile-danger:hover {
    background: #542d39;
    border-color: #e78c9b;
}

#viewprofile select,
#viewprofile input.button2 {
    box-sizing: border-box;
    min-height: 34px;
    max-width: 100%;
    padding: 6px 10px;
    background: #0b1e30;
    border: 1px solid #355b76;
    border-radius: 7px;
    color: var(--profile-text);
    font-size: 13px;
}

#viewprofile input.button2 {
    cursor: pointer;
    font-weight: 650;
}

#viewprofile input.button2:hover {
    background: #20445f;
    border-color: #79ceff;
}

#viewprofile .kbk-profile-information {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

#viewprofile .kbk-profile-information > .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: start;
}

#viewprofile .kbk-profile-contact,
#viewprofile .kbk-profile-statistics {
    float: none;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 17px;
    background: var(--profile-surface);
    border: 1px solid var(--profile-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

#viewprofile h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 15px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--profile-border);
    color: #e0edf9;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -.15px;
    line-height: 1.45;
    text-transform: none;
}

#viewprofile h3 .icon {
    margin: 0;
    font-size: 16px;
}

#viewprofile .kbk-profile-contact dl.details,
#viewprofile .kbk-profile-statistics dl.details {
    grid-template-columns: minmax(105px, 34%) minmax(0, 1fr);
}

#viewprofile .kbk-profile-contact dl.details:empty {
    display: none;
}

#viewprofile .kbk-profile-signature .postbody {
    float: none;
    width: 100%;
    color: var(--profile-text);
}

#viewprofile .kbk-profile-signature .signature {
    color: var(--profile-text);
    border: 0;
    overflow-wrap: anywhere;
}

#viewprofile a:focus-visible,
#viewprofile select:focus-visible,
#viewprofile input:focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    #viewprofile .kbk-profile-information > .inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    body.section-memberlist .kbk-profile-title {
        font-size: 19px;
        gap: 9px;
    }

    #viewprofile > .panel {
        padding: 12px;
    }

    #viewprofile .kbk-profile-card > .inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    #viewprofile .avatar-rank-container,
    #viewprofile .kbk-profile-placeholder {
        align-self: center;
        flex-basis: auto;
        width: 88px;
        min-height: 88px;
    }

    #viewprofile .kbk-profile-placeholder .icon {
        font-size: 34px;
    }

    #viewprofile dl.details,
    #viewprofile .kbk-profile-contact dl.details,
    #viewprofile .kbk-profile-statistics dl.details {
        grid-template-columns: minmax(0, 1fr);
    }

    #viewprofile dl.details > dt {
        padding: 9px 11px;
        border-bottom: 0;
    }

    #viewprofile dl.details > dd {
        padding: 10px 11px;
    }

    #viewprofile .kbk-profile-information {
        padding: 0;
    }

    #viewprofile .kbk-profile-contact,
    #viewprofile .kbk-profile-statistics {
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #viewprofile a.kbk-profile-action,
    #viewprofile .zebra a {
        transition: none;
    }
}

/* END KBK SOCIAL PREMIUM 2.9.33 */


/* ==========================================================
   KBK SOCIAL PREMIUM 2.9.34 - JUMPBOX TRIGGER FIX
   ========================================================== */

#page-body #jumpbox > .dropdown-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-sizing: border-box;
    min-height: 36px;
    padding: 8px 12px !important;
    background: linear-gradient(145deg,#19364f,#102438) !important;
    background-image: linear-gradient(145deg,#19364f,#102438) !important;
    border: 1px solid #3b6383 !important;
    border-radius: 8px !important;
    color: #e5f2ff !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}

/* Metin katmanini tum durumlarda temiz tut */

#page-body #jumpbox > .dropdown-trigger > span:first-child {
    display: inline-block !important;
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #e5f2ff !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: normal !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    white-space: nowrap;
}

/* Metinle cakisan dekoratif katmanlari kaldir */

#page-body #jumpbox > .dropdown-trigger::before,
#page-body #jumpbox > .dropdown-trigger::after,
#page-body #jumpbox > .dropdown-trigger > span:first-child::before,
#page-body #jumpbox > .dropdown-trigger > span:first-child::after {
    content: none !important;
    display: none !important;
}

/* Hover ve acik menu */

#page-body #jumpbox > .dropdown-trigger:hover,
#page-body #jumpbox > .dropdown-trigger:active,
#page-body #jumpbox > .dropdown-trigger:focus,
#page-body #jumpbox > .dropdown-trigger.dropdown-visible,
#page-body #jumpbox.dropdown-visible > .dropdown-trigger,
#page-body #jumpbox > .dropdown-trigger[aria-expanded="true"] {
    background: #214762 !important;
    border-color: #69bce9 !important;
    color: #f2f8ff !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
}

#page-body #jumpbox > .dropdown-trigger:hover > span:first-child,
#page-body #jumpbox > .dropdown-trigger:focus > span:first-child,
#page-body #jumpbox > .dropdown-trigger:active > span:first-child {
    color: #f2f8ff !important;
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

/* Ok simgesi ve ayirici */

#page-body #jumpbox > .dropdown-trigger > .caret {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    width: 23px !important;
    height: 20px !important;
    padding: 0 0 0 8px !important;
    margin: 0 !important;
    border: 0 !important;
    border-inline-start: 1px solid #426581 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

#page-body #jumpbox > .dropdown-trigger > .caret .icon {
    color: #79ceff !important;
    font-size: 14px !important;
    text-shadow: none !important;
    filter: none !important;
    margin: 0 !important;
}

#page-body #jumpbox > .dropdown-trigger:focus-visible {
    outline: 2px solid #79ceff !important;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    #page-body #jumpbox > .dropdown-trigger {
        min-height: 38px;
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body #jumpbox > .dropdown-trigger {
        transition: none !important;
    }
}

/* END KBK SOCIAL PREMIUM 2.9.34 */


/* KBK PREMIUM POST SIGNATURE 2.9.35 */

#page-body .kbk-topic-page .post .kbk-post-signature {
    display: block;
    clear: both;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 24px 0 4px !important;
    padding: 13px 16px !important;
    background: #0c1e2d !important;
    border: 1px solid #29485e !important;
    border-inline-start: 3px solid #4ca9dc !important;
    border-radius: 8px;
    color: #adc3d6 !important;
    font-size: 12px;
    line-height: 1.65;
    text-align: start;
    overflow-wrap: anywhere;
}

#page-body .kbk-topic-page .post .kbk-signature-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    color: #79ceff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .3px;
    text-transform: uppercase;
}

#page-body .kbk-topic-page .post .kbk-signature-label .icon {
    color: #79ceff !important;
    font-size: 12px;
    text-shadow: none;
}

#page-body .kbk-topic-page .post .kbk-signature-content {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: #adc3d6;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

#page-body .kbk-topic-page .post .kbk-signature-content a {
    color: #79ceff;
    text-decoration: none;
}

#page-body .kbk-topic-page .post .kbk-signature-content a:hover {
    color: #c2eaff;
    text-decoration: underline;
}

#page-body .kbk-topic-page .post .kbk-signature-content img {
    max-width: 100% !important;
    height: auto !important;
    vertical-align: middle;
}

#page-body .kbk-topic-page .post .kbk-signature-content > :first-child {
    margin-top: 0;
}

#page-body .kbk-topic-page .post .kbk-signature-content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    #page-body .kbk-topic-page .post .kbk-post-signature {
        margin-top: 18px !important;
        padding: 10px 12px !important;
        border-radius: 7px;
    }

    #page-body .kbk-topic-page .post .kbk-signature-content {
        font-size: 12px;
    }
}

@media print {
    #page-body .kbk-topic-page .post .kbk-post-signature {
        background: transparent !important;
        border-color: #aaa !important;
        color: #444 !important;
    }

    #page-body .kbk-topic-page .post .kbk-signature-label,
    #page-body .kbk-topic-page .post .kbk-signature-content {
        color: #444 !important;
    }
}

/* END KBK PREMIUM POST SIGNATURE 2.9.35 */


/* KBK SMART EDITOR INTEGRATION 2.9.36 */

/* Visual editor container */

#page-body #wysiwyg-editor-container {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    border-radius: 9px !important;
    border-color: #31536c !important;
    box-shadow: none !important;
    background-color: #0d202e;
}

/* Editable document */

#page-body #wysiwyg-editor-container .tiptap,
#page-body #wysiwyg-editor-container .ProseMirror {
    box-sizing: border-box;
    min-height: 280px;
    max-width: 100%;
    padding: 18px !important;
    color: #e3eef8;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    caret-color: #79ceff;
}

#page-body #wysiwyg-editor-container .ProseMirror:focus {
    outline: none;
}

#page-body #wysiwyg-editor-container:focus-within {
    border-color: #528ab0 !important;
}

#page-body #wysiwyg-editor-container .ProseMirror img {
    max-width: 100%;
    height: auto;
}

#page-body #wysiwyg-editor-container .ProseMirror a {
    color: #79ceff;
    text-decoration: underline;
}

#page-body #wysiwyg-editor-container button {
    transition: background-color .15s ease,
                color .15s ease;
}

#page-body #wysiwyg-editor-container button:focus-visible {
    outline: 2px solid #79ceff;
    outline-offset: 2px;
}

/* Compact editor status panel */

#page-body fieldset.fields1:has(
    #wysiwyg-editor-container:not([hidden]):not([style*="display: none"]):not([style*="display:none"])
) #smiley-box .kbk-editor-status {
    margin-top: 12px;
    padding-top: 10px;
}

@media (max-width: 700px) {

    #page-body #wysiwyg-editor-container {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    #page-body #wysiwyg-editor-container .tiptap,
    #page-body #wysiwyg-editor-container .ProseMirror {
        min-height: 220px;
        padding: 12px !important;
        font-size: 16px;
        line-height: 1.65;
    }
}

@media (prefers-reduced-motion: reduce) {

    #page-body #wysiwyg-editor-container button {
        transition: none;
    }
}

/* END KBK SMART EDITOR INTEGRATION 2.9.36 */


/* KBK SMART EDITOR TOOLBAR FIX 2.9.38 */

body.wysiwyg-active #postform #format-buttons,
body.wysiwyg-active #postform #colour_palette,
body.wysiwyg-active #ucp #format-buttons,
body.wysiwyg-active #ucp #colour_palette,
body.wysiwyg-active #qr_postform #format-buttons {
    display: none !important;
}

/* END KBK SMART EDITOR TOOLBAR FIX 2.9.38 */


/* KBK SMART EDITOR QUICK REPLY FIX 2.9.39 */

body.section-viewtopic.wysiwyg-active
#qr_postform textarea[name="message"][data-wysiwyg-initialized="true"][style*="display: none"],
body.section-viewtopic.wysiwyg-active
#qr_postform textarea[name="message"][data-wysiwyg-initialized="true"][style*="display:none"] {
    display: none !important;
}

/* END KBK SMART EDITOR QUICK REPLY FIX 2.9.39 */

/* KBK AUTH 2.9.40 — scoped to authentication templates */
#page-body .kbk-auth {max-width: 780px; margin: 32px auto 48px; color:var(--kbk-ink); min-width:0;}
#page-body .kbk-auth-login {max-width: 490px;}
#page-body .kbk-auth .panel {box-sizing:border-box; padding:clamp(18px,4vw,36px); border:1px solid var(--kbk-line); border-radius:18px; background:var(--kbk-surface); box-shadow:0 16px 48px #0003; margin:0 0 18px;}
#page-body .kbk-auth h2, #page-body .kbk-auth h3 {color:var(--kbk-ink)!important; font-size:clamp(21px,3vw,29px); font-weight:750; line-height:1.3; border:0; margin:0 0 22px; padding:0; text-transform:none;}
#page-body .kbk-auth h3 {font-size:20px;}
#page-body .kbk-auth .kbk-auth-icon {color:var(--kbk-accent); margin-inline-end:6px;}
#page-body .kbk-auth .kbk-auth-step {color:var(--kbk-accent); font-size:12px; font-weight:700; letter-spacing:.04em; margin-bottom:12px;}
#page-body .kbk-auth fieldset {min-width:0; margin:0; padding:0; border:0;}
#page-body .kbk-auth fieldset dl {display:block; margin:0 0 18px; padding:0; border:0;}
#page-body .kbk-auth fieldset dl dt, #page-body .kbk-auth fieldset dl dd {float:none; width:auto; margin:0; padding:0; border:0; text-align:start;}
#page-body .kbk-auth fieldset dl dt {margin-bottom:8px;}

#page-body .kbk-auth fieldset dl dd + dd {margin-top:10px;}
#page-body .kbk-auth label, #page-body .kbk-auth fieldset dl:hover label {color:var(--kbk-ink)!important; font-size:14px; line-height:1.5;}
#page-body .kbk-auth fieldset dt span {color:var(--kbk-muted); font-size:13px; line-height:1.5;}
#page-body .kbk-auth input.inputbox:not([type=checkbox]):not([type=radio]), #page-body .kbk-auth select {box-sizing:border-box; width:100%!important; max-width:100%; min-height:46px; padding:11px 14px; border:1px solid var(--kbk-line); border-radius:10px; background:var(--kbk-bg); color:var(--kbk-ink); font-size:16px; transition:border-color .18s,box-shadow .18s;}
#page-body .kbk-auth input.inputbox:focus, #page-body .kbk-auth select:focus {border-color:var(--kbk-accent); box-shadow:0 0 0 3px #399cff26;}
#page-body .kbk-auth input[type=checkbox], #page-body .kbk-auth input[type=radio] {accent-color:#1689df; width:17px; height:17px; vertical-align:middle; margin-inline-end:7px;}
#page-body .kbk-auth .button1, #page-body .kbk-auth .button2 {box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; min-height:46px; max-width:100%; padding:12px 18px!important; border-radius:10px!important; line-height:1.4; font-family:inherit; font-size:14px; font-weight:700; text-decoration:none; text-shadow:none; cursor:pointer; white-space:normal; transition:background .18s,box-shadow .18s;}
#page-body .kbk-auth .button1 {background:linear-gradient(135deg,#0759b5,#0875ca)!important; border:1px solid #409fe9!important; color:#fff!important; box-shadow:0 5px 18px #0069cf30;}
#page-body .kbk-auth .button1:hover {background:#0966bc!important;}
#page-body .kbk-auth .button2 {background:var(--kbk-bg)!important; color:var(--kbk-ink)!important; border:1px solid var(--kbk-line)!important;}
#page-body .kbk-auth .button2:hover {border-color:var(--kbk-accent)!important;}
#page-body .kbk-auth-login input[name=login], #page-body .kbk-auth-login a.button2, #page-body .kbk-auth-register input#submit {width:100%;}
#page-body .kbk-auth .submit-buttons {display:flex; flex-wrap:wrap; justify-content:center; gap:12px;}
#page-body .kbk-auth .agreement {font-size:14px; line-height:1.85; color:var(--kbk-ink); overflow-wrap:anywhere;}
#page-body .kbk-auth p {line-height:1.75;}
#page-body .kbk-auth hr {border-color:var(--kbk-line); margin:20px 0;}
#page-body .kbk-auth .error {color:#ff9c9c!important; overflow-wrap:anywhere;}
#page-body .kbk-auth-agreement #register .rightside {float:none; display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-bottom:18px;}
#page-body .kbk-auth-agreement #register select {width:auto!important;}
@media(max-width:600px){#page-body .kbk-auth {margin:16px auto 24px;} #page-body .kbk-auth .submit-buttons input[type=submit] {width:100%;} #page-body .kbk-auth .panel {border-radius:13px;}}
@media(prefers-reduced-motion:reduce){#page-body .kbk-auth * {transition:none!important;}}
/* END KBK AUTH 2.9.40 */


/* KBK AUTH PREMIUM LAYOUT 2.9.41 */

#page-body .kbk-auth {
    width: 100%;
    max-width: 960px;
    margin: 38px auto 56px;
    box-sizing: border-box;
}

#page-body .kbk-auth-login {
    max-width: 940px;
}

#page-body .kbk-auth-login #login {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
    margin: 0;
}

#page-body .kbk-auth-login #login:not(:has(.kbk-auth-join-card)) {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

#page-body .kbk-auth .panel {
    position: relative;
    min-width: 0;
    margin: 0 0 20px;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--kbk-line);
    background: var(--kbk-surface);
    box-shadow: 0 16px 45px rgba(0,0,0,.13);
}

#page-body .kbk-auth-login #login > .panel {
    margin: 0;
}

#page-body .kbk-auth .panel > .inner {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#page-body .kbk-auth .content {
    font-size: 15px;
    line-height: 1.75;
}

#page-body .kbk-auth h2,
#page-body .kbk-auth h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px !important;
    line-height: 1.3;
    margin: 0 0 26px !important;
    letter-spacing: -.025em;
}

#page-body .kbk-auth h2 > .kbk-auth-icon,
#page-body .kbk-auth h3 > .kbk-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 21px !important;
    border-radius: 14px;
    border: 1px solid rgba(65,156,235,.35);
    background: rgba(65,156,235,.12);
    color: var(--kbk-accent);
}

#page-body .kbk-auth fieldset dl {
    margin: 0 0 20px;
}

#page-body .kbk-auth fieldset dl dt {
    margin-bottom: 9px;
}

#page-body .kbk-auth-login fieldset dl dt:has(+ dd input[type=checkbox]),
#page-body .kbk-auth-login fieldset dl dt:has(+ dd input[name=login]) {
    display: none;
}

#page-body .kbk-auth label {
    font-size: 14px !important;
    font-weight: 600;
}

#page-body .kbk-auth input.inputbox:not([type=checkbox]):not([type=radio]) {
    min-height: 52px;
    border-radius: 11px;
    font-size: 16px !important;
}

#page-body .kbk-auth-login fieldset dd > a {
    display: inline-block;
    font-size: 13px;
    line-height: 1.6;
}

#page-body .kbk-auth-login input[name=login],
#page-body .kbk-auth-login a.button2,
#page-body .kbk-auth-register input#submit {
    display: flex !important;
    width: 100% !important;
    min-width: 100% !important;
    min-height: 50px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    font-size: 15px !important;
    border-radius: 11px !important;
}

#page-body .kbk-auth-login .kbk-auth-join-card {
    background-image: linear-gradient(
        145deg,
        rgba(44,132,218,.10),
        transparent 75%
    );
}

#page-body .kbk-auth-join-card > .inner > .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#page-body .kbk-auth-join-card > .inner {
    height: 100%;
}

#page-body .kbk-auth-join-card p {
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 20px;
}

#page-body .kbk-auth-join-card p:last-child {
    margin-top: auto;
    margin-bottom: 0;
}

#page-body .kbk-auth-join-card hr {
    border: 0;
    border-top: 1px solid var(--kbk-line);
    margin: 4px 0 24px;
}

#page-body .kbk-auth-agreement {
    max-width: 960px;
}

#page-body .kbk-auth-agreement .agreement {
    font-size: 15px !important;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

#page-body .kbk-auth-agreement .kbk-auth-step,
#page-body .kbk-auth-register .kbk-auth-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 20px;
    border-radius: 9px;
    border: 1px solid rgba(65,156,235,.25);
    background: rgba(65,156,235,.09);
    font-size: 12px;
}

#page-body .kbk-auth-agreement #agreement > .panel:last-child {
    padding: 20px 28px;
}

#page-body .kbk-auth-agreement .submit-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

#page-body .kbk-auth-agreement .submit-buttons input[type=submit] {
    flex: 1 1 220px;
    min-height: 48px;
    font-size: 14px !important;
}

#page-body .kbk-auth-register {
    max-width: 760px;
}

#page-body .kbk-auth .button1:hover,
#page-body .kbk-auth .button2:hover {
    transform: translateY(-1px);
}

#page-body .kbk-auth :is(input, select, button, a):focus-visible {
    outline: 2px solid var(--kbk-accent);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    #page-body .kbk-auth {
        margin: 20px auto 30px;
    }

    #page-body .kbk-auth-login #login {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    #page-body .kbk-auth .panel {
        padding: 22px;
        border-radius: 15px;
    }

    #page-body .kbk-auth h2,
    #page-body .kbk-auth h3 {
        font-size: 23px !important;
    }

    #page-body .kbk-auth-agreement .submit-buttons {
        flex-direction: column;
    }

    #page-body .kbk-auth-agreement .submit-buttons input[type=submit] {
        flex: none;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .kbk-auth .button1:hover,
    #page-body .kbk-auth .button2:hover {
        transform: none;
    }
}

/* END KBK AUTH PREMIUM LAYOUT 2.9.41 */


/* KBK AUTH RECOVERY 2.9.42 */

#page-body .kbk-auth.kbk-auth-recovery {
    width: 100%;
    max-width: 640px;
    margin: 42px auto 56px;
    box-sizing: border-box;
}

#page-body .kbk-auth-recovery .panel {
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(0,0,0,.14);
}

#page-body .kbk-auth-recovery :is(h1,h2) {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px !important;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid var(--kbk-line, #426080);
    font-size: 26px !important;
    font-weight: 750;
    line-height: 1.35;
    color: inherit !important;
}

#page-body .kbk-recovery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    border: 1px solid rgba(56,151,235,.35);
    background: rgba(56,151,235,.12);
    color: var(--kbk-accent, #2589d8);
}

#page-body .kbk-recovery-icon .icon {
    font-size: 23px !important;
}

#page-body .kbk-recovery-field-icon {
    color: var(--kbk-accent, #2589d8);
    margin-right: 6px;
}

#page-body .kbk-auth-recovery fieldset {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#page-body .kbk-auth-recovery fieldset dl {
    display: block;
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

#page-body .kbk-auth-recovery fieldset :is(dt,dd) {
    display: block;
    float: none !important;
    clear: both;
    width: 100% !important;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

#page-body .kbk-auth-recovery fieldset dt {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
}

#page-body .kbk-auth-recovery fieldset label {
    display: inline-block;
    font-size: 15px !important;
    font-weight: 700;
    color: inherit !important;
}

#page-body .kbk-auth-recovery fieldset dt span {
    font-size: 13px;
    line-height: 1.75;
}

#page-body .kbk-auth-recovery input.inputbox {
    width: 100% !important;
    max-width: none !important;
    min-height: 52px;
    padding: 12px 15px;
    box-sizing: border-box;
    border-radius: 11px;
    font-size: 16px !important;
    transition: border-color .18s, box-shadow .18s;
}

#page-body .kbk-auth-recovery input.inputbox:focus {
    border-color: var(--kbk-accent, #2589d8);
    box-shadow: 0 0 0 3px rgba(56,151,235,.14);
}

#page-body .kbk-auth-recovery input[type=submit] {
    display: block !important;
    width: 100% !important;
    min-height: 52px;
    margin: 12px 0 0;
    padding: 12px 20px;
    border: 1px solid #318fda !important;
    border-radius: 11px !important;
    background: linear-gradient(
        135deg, #0876c9, #0756a8
    ) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700;
    text-align: center;
    text-shadow: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .18s, box-shadow .18s;
}

#page-body .kbk-auth-recovery input[type=submit]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(8,118,201,.25);
}

#page-body .kbk-auth-recovery .submit-buttons {
    width: 100%;
    margin: 0;
    padding: 0;
}

#page-body .kbk-auth-recovery :is(input,a,button):focus-visible {
    outline: 2px solid var(--kbk-accent, #2589d8);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    #page-body .kbk-auth.kbk-auth-recovery {
        margin: 20px auto 32px;
    }

    #page-body .kbk-auth-recovery .panel {
        padding: 24px 20px;
        border-radius: 16px;
    }

    #page-body .kbk-auth-recovery :is(h1,h2) {
        font-size: 21px !important;
        gap: 12px;
    }

    #page-body .kbk-recovery-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-body .kbk-auth-recovery input {
        transition: none;
    }

    #page-body .kbk-auth-recovery input[type=submit]:hover {
        transform: none;
    }
}

/* END KBK AUTH RECOVERY 2.9.42 */


/* KBK FORUM RULES 2.9.44 */

#page-body div.rules {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 16px;
    padding: 9px 14px;
    border: 1px solid rgba(210,158,65,.26) !important;
    border-radius: 8px;
    background: rgba(210,158,65,.08) !important;
    color: inherit !important;
    box-shadow: none;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.6;
}

#page-body div.rules::before {
    content: "\f132";
    font-family: FontAwesome;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    color: #d5a34d;
    font-size: 15px;
    font-weight: normal;
}

#page-body div.rules > .inner {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

#page-body div.rules a {
    color: inherit !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(210,158,65,.65);
    text-underline-offset: 3px;
}

#page-body div.rules a:hover {
    text-decoration-color: currentColor;
}

#page-body div.rules a:focus-visible {
    outline: 2px solid #d5a34d;
    outline-offset: 3px;
    border-radius: 3px;
}

#page-body div.rules :is(strong,h3) {
    color: inherit !important;
}

#page-body div.rules .corners-top,
#page-body div.rules .corners-bottom {
    display: none;
}

@media (max-width: 600px) {
    #page-body div.rules {
        gap: 8px;
        padding: 8px 11px;
        margin: 10px 0 14px;
    }
}

/* END KBK FORUM RULES 2.9.44 */
