body {
    background: #080808;
    width: 100%;
    color: #9a9a9a;
    text-align: center;
    margin: 0px;
    font-family: Verdana, Arial, Sans-Serif;
    font-size: 13px;
}
#logo {
    background-color: #080808;
    text-align: center;
}
#submenu {
    background: #080808 url(img/3/sub_bg.gif) top left repeat-x;
    height: 30px;
    margin: 0px;
    text-align: right;
    border-top: 1px solid #222424;
    border-bottom: 1px solid #222424;
}
#submenu_left a {
    color: #2ba8ec;
    float: left;
}
#submenu_center a {
    color: #2ba8ec;
    float: center;
}
#submenu_right a {
    color: #2ba8ec;
    float: right;
}
#submenu a {
    display: block;
    padding: 7px;
    text-decoration: none;
}
#submenu a:hover {
    background: #000000;
    margin: 0px;
}
a:link {
    color: #2ba8ec;
    text-decoration: none;
}
a:visited {
    color: #2ba8ec;
    text-decoration: none;
}
a:hover {
    color: #AAD6ED;
    text-decoration: none;
}
#container {
    background: #080808;
    width: 98%;
    color: #9a9a9a;
    margin: auto auto;
    text-align: left;
    padding: 5px;
}
#content {
    width: auto!important;
}
.menu ul {
    color: #2ba8ec;
    text-align: right;
    padding: 4px;
    font-weight: bold;
}
.menu ul a:link {
    color: #2ba8ec;
    text-decoration: none;
}
.menu ul a:visited {
    color: #2ba8ec;
    text-decoration: none;
}
.menu ul a:hover,
.menu ul a:active {
    color: #AAD6ED;
    text-decoration: none;
}
#panel {
    background: #080808;
    color: #9a9a9a;
    border: 1px solid #222424;
    padding: 8px;
    font-size: 11px;
}
table {
    color: #9a9a9a;
    font-family: Verdana, Arial, Sans-Serif;
    font-size: 13px;
}
.tborder {
    background: #0d0f0f;
    width: 100%;
    margin: auto auto;
    border: 1px solid #222424;
}
.thead {
    background: #040404 url(img/thead_bg.gif) top left repeat-x;
    color: #ffffff;
    height: 28px;
}
.thead a:link {
    color: #ffffff;
    text-decoration: none;
}
.thead a:visited {
    color: #ffffff;
    text-decoration: none;
}
.thead a:hover,
.thead a:active {
    color: #ffffff;
    text-decoration: underline;
}
.thead2 {
    background: #ff3600 url(img/3/thead2.gif) top left repeat-x;
    color: #ffffff;
    height: 26px;
}
.tcat {
    background: #121212 url(img/3/tcat_bg.gif) top left repeat-x;
    color: #ffffff;
    height: 28px;
    border-top: 1px solid #1e1e1e;
    font-size: 12px;
}
.tcat a:link {
    color: #2ba8ec;
}
.tcat a:visited {
    color: #2ba8ec;
}
.tcat a:hover,
.tcat a:active {
    color: #AAD6ED;
}
.trow1 {
    background: #111313;
}
.trow2 {
    background: #111313;
}
.trow3 {
    background: #222424;
}
.trow4 {
    background: #1e1e1e;
}
.trow5 {
    background: #222424 url(img/3/gradient.gif) top left repeat-x;
}
.trow6 {
    background: #050505;
}
.trow7 {
    background: #000000;
}
.trow_shaded {
    background: #ffdde0;
}
.trow_selected td {
    background: #FFFBD9;
}
.trow_sep {
    background: #050505;
    color: #9a9a9a;
    border: 1px solid #333333;
    font-size: 12px;
    font-weight: bold;
}
.tfoot {
    background: #121212 url(img/3/tfooter_bg.gif) top left repeat-x;
    color: #ffffff;
}
.tfoot a:link {
    color: #ffffff;
    text-decoration: none;
}
.tfoot a:visited {
    color: #ffffff;
    text-decoration: none;
}
.tfoot a:hover,
.tfoot a:active {
    color: #ffffff;
    text-decoration: none;
}
.bottommenu {
    background: #080808 url(img/3/bottom_bg.gif) top left repeat-x;
    color: #9a9a9a;
    border: 1px solid #222424;
    padding: 10px;
}
.navigation {
    color: #9a9a9a;
    font-size: 13px;
    font-weight: bold;
}
.navigation a:link {
    text-decoration: none;
}
.navigation a:visited {
    text-decoration: none;
}
.navigation a:hover,
.navigation a:active {
    text-decoration: none;
}
.navigation .active {
    color: #9a9a9a;
    font-size: small;
    font-weight: bold;
}
.smalltext {
    color: #9a9a9a;
    font-size: 11px;
}
.largetext {
    font-family: Arial;
    font-size: 17px;
    font-weight: bold;
}
input.textbox {
    background: #222424;
    color: #9a9a9a;
    border: 1px solid #9a9a9a;
    padding: 1px;
}
textarea {
    background: #959595;
    color: #000000;
    border: 1px solid #0f5c8e;
    padding: 2px;
    line-height: 1.4;
    font-family: Verdana, Arial, Sans-Serif;
    font-size: 13px;
}
select {
    background: #222424;
    color: #9a9a9a;
    border: 1px solid #9a9a9a;
}
.editor {
    background: #f1f1f1;
    border: 1px solid #ccc;
}
.editor_control_bar {
    background: #fff;
    border: 1px solid #0f5c8e;
}
.autocomplete {
    background: #fff;
    border: 1px solid #000;
    color: black;
}
.autocomplete_selected {
    background: #adcee7;
    color: #000;
}
.popup_menu {
    background: #ccc;
    border: 1px solid #000;
}
.popup_menu .popup_item {
    background: #fff;
    color: #000;
}
.popup_menu .popup_item:hover {
    background: #C7DBEE;
    color: #000;
}
.trow_reputation_positive {
    background: #ccffcc;
}
.trow_reputation_negative {
    background: #ffcccc;
}
.reputation_positive {
    color: green;
}
.reputation_neutral {
    color: #444;
}
.reputation_negative {
    color: red;
}
.invalid_field {
    border: 1px solid #f30;
    color: #f30;
}
.valid_field {
    border: 1px solid #0c0;
}
.validation_error {
    background: url(images/invalid.gif) no-repeat center left;
    color: #f30;
    margin: 5px 0;
    padding: 5px;
    font-weight: bold;
    font-size: 11px;
    padding-left: 22px;
}
.validation_success {
    background: url(images/valid.gif) no-repeat center left;
    color: #00b200;
    margin: 5px 0;
    padding: 5px;
    font-weight: bold;
    font-size: 11px;
    padding-left: 22px;
}
.validation_loading {
    background: url(images/spinner.gif) no-repeat center left;
    color: #555;
    margin: 5px 0;
    padding: 5px;
    font-weight: bold;
    font-size: 11px;
    padding-left: 22px;
}
img {
    border: none;
}
.clear {
    clear: both;
}
.hidden {
    display: none;
    float: none;
    width: 1%;
}
.float_left {
    float: left;
}
.float_right {
    float: right;
}
.menu ul {
    list-style: none;
    margin: 0;
}
.menu li {
    display: inline;
    padding-left: 5px;
}
.menu img {
    padding-right: 5px;
    vertical-align: top;
}
#panel .links {
    margin: 0;
    float: right;
}
.expcolimage {
    float: right;
    width: auto;
    vertical-align: middle;
    margin-top: 3px;
}
img.attachment {
    border: 1px solid #E9E5D7;
    padding: 2px;
}
hr {
    background-color: #FFFFFF;
    color: #FFFFFF;
    height: 1px;
    border: 0px;
}
#copyright {
    color: #9a9a9a;
    font: 11px Verdana, Arial, Sans-Serif;
    margin: 0;
    padding: 10px 0 0 0;
}
#debug {
    color: #9a9a9a;
    float: right;
    text-align: right;
    margin-top: 0;
}
blockquote {
    background: #222424;
    border: 1px solid #0d0f0f;
    margin: 0;
    padding: 4px;
}
blockquote cite {
    border-bottom: 1px solid #9a9a9a;
    display: block;
    margin: 4px 0;
    font-style: normal;
    font-weight: bold;
}
blockquote cite span {
    float: right;
    font-weight: normal;
}
.codeblock {
    background: #222424;
    border: 1px solid #0d0f0f;
    padding: 4px;
}
.codeblock .title {
    border-bottom: 1px solid #9a9a9a;
    margin: 4px 0;
    font-weight: bold;
}
.codeblock code {
    overflow: auto;
    height: auto;
    max-height: 200px;
    display: block;
    font-family: Monaco, Consolas, Courier, monospace;
    font-size: 13px;
}
.subforumicon {
    border: 0;
    vertical-align: middle;
}
.separator {
    margin: 5px;
    padding: 0;
    height: 0px;
    font-size: 1px;
    list-style-type: none;
}
form {
    margin: 0;
    padding: 0;
}
.popup_menu .popup_item_container {
    margin: 1px;
    text-align: left;
}
.popup_menu .popup_item {
    display: block;
    padding: 3px;
    text-decoration: none;
    white-space: nowrap;
}
.popup_menu a.popup_item:hover {
    text-decoration: none;
}
.autocomplete {
    text-align: left;
}
.subject_new {
    font-weight: bold;
}
.highlight {
    background: #FFFFCC;
    padding: 3px;
}
.pm_alert {
    background: #FFF6BF;
    border: 1px solid #FFD324;
    text-align: center;
    padding: 5px 20px;
    font-size: 11px;
}
.red_alert {
    background: #FBE3E4;
    border: 1px solid #A5161A;
    color: #A5161A;
    text-align: center;
    padding: 5px 20px;
    font-size: 11px;
}
.high_warning {
    color: #CC0000;
}
.moderate_warning {
    color: #F3611B;
}
.low_warning {
    color: #AE5700;
}
div.error {
    padding: 5px 10px;
    border-top: 2px solid #FFD324;
    border-bottom: 2px solid #FFD324;
    background: #FFF6BF;
    font-size: 12px;
}
div.error p {
    margin: 0;
    color: #000;
    font-weight: normal;
}
div.error p em {
    font-style: normal;
    font-weight: bold;
    padding-left: 24px;
    display: block;
    color: #C00;
    background: url(images/error.gif) no-repeat 0;
}
div.error.ul {
    margin-left: 24px;
}
.online {
    color: #15A018;
}
.offline {
    color: #C7C7C7;
}
.pagination {
    font-size: 11px;
    padding-top: 10px;
    margin-bottom: 5px;
}
.tfoot .pagination,
.tcat .pagination {
    padding-top: 0;
}
.pagination .pages {
    font-weight: bold;
}
.pagination .pagination_current,
.pagination a {
    padding: 2px 6px;
    margin-bottom: 3px;
}
.pagination a {
    border: 1px solid #81A2C4;
}
.pagination .pagination_current {
    background: #F5F5F5;
    border: 1px solid #81A2C4;
    font-weight: bold;
}
.pagination a:hover {
    background: #F5F5F5;
    text-decoration: none;
}
.thread_legend,
.thread_legend dd {
    margin: 0;
    padding: 0;
}
.thread_legend dd {
    padding-bottom: 4px;
    margin-right: 15px;
}
.thread_legend img {
    margin-right: 4px;
    vertical-align: bottom;
}
.forum_legend,
.forum_legend dt,
.forum_legend dd {
    margin: 0;
    padding: 0;
}
.forum_legend dd {
    float: left;
    margin-right: 10px;
}
.forum_legend dt {
    margin-right: 10px;
    float: left;
}
.success_message {
    color: #00b200;
    font-weight: bold;
    font-size: 10px;
    margin-bottom: 10px;
}
.error_message {
    color: #C00;
    font-weight: bold;
    font-size: 10px;
    margin-bottom: 10px;
}
.post_body {
    color: #CECECE;
    padding: 5px;
}
.post_content {
    padding: 5px 10px;
}
.quick_jump {
    background: url(images/jump.gif) no-repeat 0;
    width: 13px;
    height: 13px;
    padding-left: 13px;
    vertical-align: middle;
    border: none;
}

/* 2026 forum refresh ------------------------------------------------------ */
:root {
    --forum-bg: #070a0b;
    --forum-panel: #0d1214;
    --forum-panel-raised: #11181b;
    --forum-panel-hover: #151f23;
    --forum-line: #243136;
    --forum-line-soft: rgba(122, 158, 170, .14);
    --forum-text: #d8e1e4;
    --forum-muted: #829198;
    --forum-blue: #35b9ff;
    --forum-blue-soft: rgba(53, 185, 255, .12);
    --forum-gold: #f2b84b;
    --forum-radius: 10px;
    --forum-shadow: 0 14px 42px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }

html { background: var(--forum-bg); }

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% -10%, rgba(28, 117, 158, .15), transparent 34rem),
        radial-gradient(circle at 88% 12%, rgba(242, 184, 75, .06), transparent 26rem),
        var(--forum-bg);
    color: var(--forum-text);
    font-family: Inter, "Segoe UI", Verdana, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.forum-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .28;
    background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a:link, a:visited { color: var(--forum-blue); transition: color .16s ease; }
a:hover, a:active { color: #8edaff; }

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    padding: 18px 24px 14px;
    background: transparent;
}

#logozz { display: block; max-width: min(520px, 82vw); height: auto; }

#submenu {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    height: auto;
    min-height: 44px;
    padding: 0 max(18px, calc((100vw - 1420px) / 2));
    background: rgba(8, 12, 14, .9);
    border: 1px solid var(--forum-line-soft);
    border-width: 1px 0;
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
    backdrop-filter: blur(14px);
}

#submenu_left, #submenu_right { display: flex; align-items: stretch; }
#submenu_left strong, #submenu_right strong { display: flex; align-items: stretch; }
#submenu a {
    display: flex;
    align-items: center;
    padding: 0 13px;
    color: #9eabb0;
    font-size: 11px;
    letter-spacing: .025em;
}
#submenu a:hover { margin: 0; color: #fff; background: var(--forum-blue-soft); }

#container { width: min(1420px, calc(100% - 32px)); padding: 24px 0 36px; background: transparent; }
.wrapper > br:first-child { display: none; }

.tborder {
    overflow: hidden;
    margin: 0 auto 18px;
    border: 1px solid var(--forum-line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--forum-radius);
    background: var(--forum-panel);
    box-shadow: var(--forum-shadow);
}

.thead {
    height: 42px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #172126, #101719);
    color: #f5f8f9;
    border-bottom: 1px solid #29383e;
    text-transform: uppercase;
    letter-spacing: .075em;
    font-size: 11px;
}
.thead a:link, .thead a:visited { color: #f5f8f9; }
.thead font { color: inherit !important; }

.tcat {
    height: 34px;
    padding: 7px 14px;
    background: #0a0f11;
    border: 0;
    border-bottom: 1px solid var(--forum-line-soft);
    color: #718087;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.tcat .smalltext { color: inherit; font-size: inherit; }

.trow1, .trow2 { background: var(--forum-panel); }
.trow3 { background: var(--forum-panel-raised); }
.smalltext { color: var(--forum-muted); line-height: 1.55; }

.forum-welcome { margin-bottom: 24px; }
.forum-welcome td { border: 0; }
.forum-welcome .trow1 { padding: 12px 16px; }
.forum-welcome .trow3 { width: 260px; padding: 16px 18px !important; border-left: 1px solid var(--forum-line); }
.forum-welcome .navz { width: 66px; height: 66px; margin: 2px 8px; object-fit: contain; transition: transform .18s ease, filter .18s ease; }
.forum-welcome .navz:hover { transform: translateY(-3px) scale(1.06); filter: drop-shadow(0 6px 8px rgba(53,185,255,.2)); }

.forum-category { margin-bottom: 22px; }
.forum-category > tbody > tr:not(:last-child) > td,
.forum-category > tbody > tr:not(:last-child) > th { border-bottom: 1px solid var(--forum-line-soft); }
.forum-row { background: var(--forum-panel); transition: background .16s ease; }
.forum-row:hover { background: var(--forum-panel-hover); }
.forum-row > td, .forum-row > th { padding: 13px 14px; }
.forum-icon-cell { width: 105px; background: rgba(255,255,255,.012); }
.forum-icon-cell img { width: 90px; height: 90px; object-fit: contain; image-rendering: auto; transition: none; }
.forum-row:hover .forum-icon-cell img { transform: none; }
.forum-main-cell b { color: #eef5f7; font-size: 14px; }
.forum-main-cell font { color: inherit !important; }
.forum-main-cell .smalltext { margin-top: 3px; max-width: 700px; }
.forum-stat { width: 85px; color: #bdc8cc; font-variant-numeric: tabular-nums; }
.forum-lastpost { width: 245px; color: var(--forum-muted); font-size: 11px; line-height: 1.55; }
.forum-lastpost > a:first-child { display: inline-block; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.forum-lastpost font { color: #dfe7ea !important; }

.navigation { margin: 2px 0 18px; color: var(--forum-muted); font-size: 12px; }
.navigation .active { color: #c7d1d5; }

.float_left, .float_right { margin-bottom: 10px; }
.float_right img[alt="Post Thread"], .float_right img[alt="Post Reply"] {
    height: 34px;
    width: auto;
    border-radius: 6px;
    filter: saturate(.86) brightness(1.05);
    transition: transform .16s ease, filter .16s ease;
}
.float_right a:hover img { transform: translateY(-1px); filter: saturate(1) brightness(1.15); }
.forum-action-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #328bb8;
    border-radius: 6px;
    background: linear-gradient(180deg, #218bc2, #116a99);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    box-shadow: 0 5px 16px rgba(13, 112, 162, .18);
}
.forum-action-button span { font-size: 18px; font-weight: 400; line-height: 1; }
.forum-action-button:hover { background: linear-gradient(180deg, #2ca4e0, #167bad); transform: translateY(-1px); }

.thread-list { margin-top: 2px; }
.thread-row { background: var(--forum-panel); transition: background .16s ease; }
.thread-row:hover { background: var(--forum-panel-hover); }
.thread-row > td { padding: 11px 12px; border-bottom: 1px solid var(--forum-line-soft); }
.thread-row:last-child > td { border-bottom: 0; }
.thread-icon { width: 46px !important; }
.thread-icon img { width: auto; height: auto; object-fit: initial; }
.thread-state { width: 24px !important; color: var(--forum-gold); }
.thread-main .subject_editable { color: #dce8ec; font-size: 13px; font-weight: 600; }
.thread-main .subject_editable:hover { color: var(--forum-blue); }
.thread-main .author { margin-top: 2px; }
.thread-main .author:before { content: "Started by "; color: #64757c; }
.thread-stat { width: 88px; color: #afbdc2; font-size: 12px; font-variant-numeric: tabular-nums; }
.thread-lastpost { width: 260px; color: var(--forum-muted); font-size: 11px; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 4px; }
.pagination .pages { margin-right: 5px; color: var(--forum-muted); }
.pagination .pagination_current, .pagination a { margin: 0; padding: 5px 9px; border: 1px solid var(--forum-line); border-radius: 5px; }
.pagination .pagination_current { color: #081014; background: var(--forum-blue); border-color: var(--forum-blue); }
.pagination a { background: var(--forum-panel-raised); }
.pagination a:hover { color: #fff; background: #1a2a30; border-color: #38515b; }

input.textbox, select, textarea {
    border: 1px solid #33434a;
    border-radius: 5px;
    background: #0a0f11;
    color: var(--forum-text);
    padding: 7px 9px;
    outline: 0;
}
input.textbox:focus, select:focus, textarea:focus { border-color: var(--forum-blue); box-shadow: 0 0 0 3px var(--forum-blue-soft); }
input[type="submit"], input[type="button"], button {
    border: 1px solid #328bb8;
    border-radius: 5px;
    background: linear-gradient(180deg, #218bc2, #116a99);
    color: #fff;
    padding: 6px 11px;
    cursor: pointer;
}

.board-stats { margin-top: 20px; }
.board-stats tbody td { padding: 16px; }
.board-stats tbody td:first-child { width: 90px; text-align: center; }
.board-stats tbody img { width: auto; height: auto; object-fit: initial; }

.post_body { color: var(--forum-text); line-height: 1.7; }
blockquote, .codeblock { background: #090d0f; border: 1px solid var(--forum-line); border-radius: 6px; padding: 10px 12px; }

@media (max-width: 820px) {
    #logo { min-height: 82px; }
    #submenu { position: relative; flex-direction: column; padding: 0 10px; }
    #submenu_left, #submenu_right, #submenu_left strong, #submenu_right strong { justify-content: center; flex-wrap: wrap; }
    #submenu_left a, #submenu_right a { float: none; min-height: 38px; padding: 0 8px; }
    #container { width: calc(100% - 18px); padding-top: 14px; }
    .forum-welcome .trow1 { display: none; }
    .forum-welcome .trow3 { display: table-cell; width: 100%; border-left: 0; white-space: normal !important; }
    .forum-category .tcat { display: none; }
    .forum-category tbody, .forum-category tr, .forum-category td, .forum-category th { display: block; width: 100% !important; }
    .forum-row { position: relative; min-height: 116px; padding: 10px 12px 10px 116px; border-bottom: 1px solid var(--forum-line); }
    .forum-row > td, .forum-row > th { padding: 4px 0; border: 0 !important; }
    .forum-category .forum-icon-cell { position: absolute; top: 12px; left: 12px; width: 92px !important; background: transparent; }
    .forum-main-cell { min-height: 54px; }
    .forum-stat { display: inline-block !important; width: auto !important; margin-right: 14px; color: var(--forum-muted); font-size: 10px; text-align: left !important; }
    .forum-stat:before { content: attr(data-label) " "; text-transform: uppercase; letter-spacing: .05em; }
    .forum-lastpost { margin-top: 4px; padding-top: 8px !important; border-top: 1px solid var(--forum-line-soft) !important; text-align: left !important; }
    .thread-list .tcat { display: none; }
    .thread-list tbody, .thread-list tr, .thread-list td { display: block; width: 100% !important; }
    .thread-row { position: relative; min-height: 90px; padding: 12px 12px 12px 60px; border-bottom: 1px solid var(--forum-line); }
    .thread-row > td { padding: 2px 0; border: 0; }
    .thread-list .thread-icon { position: absolute; top: 14px; left: 14px; width: 40px !important; text-align: center; }
    .thread-list .thread-state { position: absolute; top: 52px; left: 24px; width: 20px !important; text-align: center; }
    .thread-stat { display: inline-block !important; width: auto !important; margin: 5px 14px 0 0; text-align: left !important; color: var(--forum-muted); font-size: 10px; }
    .thread-stat:before { content: attr(data-label) " "; text-transform: uppercase; letter-spacing: .05em; }
    .thread-lastpost { margin-top: 7px; padding-top: 7px !important; border-top: 1px solid var(--forum-line-soft) !important; text-align: left !important; white-space: normal !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}

/* Full forum shell ------------------------------------------------------- */
.forum-header {
    position: sticky;
    top: 0;
    z-index: 70;
    width: 100%;
    border-bottom: 1px solid var(--forum-line);
    background: rgba(7, 10, 11, .92);
    box-shadow: 0 10px 34px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}
.forum-header-inner {
    display: flex;
    align-items: center;
    width: min(1420px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
}
.forum-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    color: #fff !important;
}
.forum-brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border: 2px solid #dce5e8;
    border-radius: 50%;
    background: linear-gradient(#e84a4a 0 45%, #151a1c 45% 55%, #edf2f3 55%);
    box-shadow: 0 0 0 4px rgba(255,255,255,.035), 0 6px 18px rgba(0,0,0,.35);
}
.forum-brand-mark:after {
    content: "";
    position: absolute;
    inset: 16px 0 auto;
    height: 4px;
    background: #151a1c;
}
.forum-brand-mark span {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    border: 3px solid #151a1c;
    border-radius: 50%;
    background: #fff;
}
.forum-brand-copy { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.forum-brand-copy strong { color: #f4f7f8; font-size: 16px; letter-spacing: .015em; }
.forum-brand-copy small { margin-top: 4px; color: var(--forum-muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.forum-header #submenu {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
.forum-header #submenu_left, .forum-header #submenu_right { display: flex; align-items: center; }
.forum-header #submenu_left { margin-left: 34px; }
.forum-header #submenu_right { margin-left: auto; }
.forum-header #submenu a {
    min-height: 38px;
    padding: 0 11px;
    border-radius: 6px;
    color: #9dabb1;
    font-size: 11px;
    font-weight: 600;
}
.forum-header #submenu a:hover { color: #fff; background: rgba(53,185,255,.1); }

.forum-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    margin-bottom: 28px;
}
.forum-category-nav {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid var(--forum-line);
    border-radius: var(--forum-radius);
    background: rgba(13,18,20,.82);
    box-shadow: var(--forum-shadow);
}
.forum-category-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1 0 170px;
    min-height: 58px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #c7d1d5;
    font-size: 11px;
    font-weight: 700;
}
.forum-category-nav a:hover { border-color: #2c3c42; background: #131b1e; color: #fff; }
.forum-category-nav img { width: 38px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.forum-user-panel {
    display: flex;
    align-items: center;
    min-width: 300px;
    padding: 12px 14px;
    border: 1px solid var(--forum-line);
    border-radius: var(--forum-radius);
    background: linear-gradient(135deg, #11191c, #0b1012);
    box-shadow: var(--forum-shadow);
}
.forum-user-panel form { width: 100%; }
.forum-panel-title, .forum-user-kicker { display: block; margin-bottom: 7px; color: #dbe4e7; font-size: 11px; }
.forum-login-fields { display: flex; gap: 6px; }
.forum-login-fields .textbox { min-width: 0; width: 105px; }
.forum-user-kicker { margin: 0 10px 0 0; color: var(--forum-muted); }
.forum-user-name { margin-right: 12px; font-size: 14px; }
.forum-user-panel > div { display: inline-flex; align-items: center; margin: 0 10px 0 auto !important; }
.forum-user-panel > div img { max-height: 20px; width: auto; }
.forum-logout { margin-left: auto; color: #e47979 !important; font-size: 10px; font-weight: 700; text-transform: uppercase; }

.forum-category .thead { border-left: 3px solid var(--forum-blue); }
.forum-category .expcolimage img, .board-stats .expcolimage img { opacity: .55; }
.forum-category .forum-row { position: relative; }
.forum-category .forum-row:after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: var(--forum-blue);
    opacity: 0;
    transition: opacity .16s ease;
}
.forum-category .forum-row:hover:after { opacity: 1; }

/* Individual discussion pages */
.post-card { border-radius: 12px; }
.thread-title-card .thead {
    text-transform: none;
    letter-spacing: normal;
    font-size: 13px;
}
.post-card > tbody > tr:first-child .tcat { height: 36px; padding: 8px 14px; }
.post-card > tbody > tr:first-child .tcat,
.post-card > tbody > tr:first-child .tcat .smalltext {
    text-transform: none;
    letter-spacing: normal;
}
.post-card > tbody > tr:nth-child(2) > td { padding: 15px; background: #101719; }
.post-card .post_avatar { width: 68px !important; padding-right: 14px !important; }
.post-card .post_avatar img { width: auto; height: auto; border: 2px solid #2b3b42; border-radius: 12px; object-fit: initial; background: #080c0e; }
.post-card .post_author .largetext a { color: #f0f5f7; font-size: 15px; }
.post-card .post_author_info { color: #809096; }
.post-card .post_author_info table { box-shadow: none; }
.post-card .post_author_info img { max-height: none; width: auto; }
.post-card > tbody > tr:nth-child(3) > td { padding: 20px 22px; background: #0c1113; }
.post-card .post_body { min-height: 100px; padding: 14px 0 24px; font-size: 13px; line-height: 1.75; }
.post-card > tbody > tr:last-child > td { padding: 9px 12px; border-top: 1px solid var(--forum-line-soft); background: #0a0f11; }
.post_management_buttons img { height: auto; width: auto; opacity: .85; transition: opacity .15s ease, transform .15s ease; }
.post_management_buttons a:hover img { opacity: 1; transform: translateY(-1px); }
.quick-reply-card textarea { width: 100% !important; min-height: 170px; resize: vertical; }
.quick-reply-card .tfoot { padding: 10px; background: #0a0f11; }

.board-stats .thead { border-left: 3px solid var(--forum-gold); }
#copyright { color: #65747a; }

/* The category shortcut/userbar strip intentionally keeps the classic UI. */
.legacy-forum-welcome {
    margin-bottom: 0;
    border: 1px solid #222424;
    border-radius: 0;
    background: #0d0f0f;
    box-shadow: none;
}
.legacy-forum-welcome > tbody > tr > .trow1 {
    padding: 0;
    background: #111313;
}
.legacy-forum-welcome > tbody > tr > .trow3 {
    width: auto;
    padding: 12px !important;
    border-left: 0;
    background: #222424;
}
.legacy-forum-welcome .navz {
    width: 90px;
    height: 90px;
    margin: 0;
    object-fit: contain;
    transition: none;
}
.legacy-forum-welcome .navz:hover { transform: none; filter: none; }
.legacy-forum-welcome input.textbox {
    padding: 1px;
    border: 1px solid #9a9a9a;
    border-radius: 0;
    background: #222424;
    color: #9a9a9a;
}
.legacy-forum-welcome input[type="submit"] {
    padding: 1px 6px;
    border: 2px outset ButtonBorder;
    border-radius: 0;
    background: ButtonFace;
    color: ButtonText;
}
.legacy-forum-welcome img:not(.navz) { width: auto; max-height: none; }

@media (max-width: 980px) {
    .forum-header-inner { flex-wrap: wrap; padding: 10px 0; }
    .forum-header #submenu { flex-basis: 100%; margin-top: 8px; }
    .forum-header #submenu_left { margin-left: 0; }
    .forum-dashboard { grid-template-columns: 1fr; }
    .forum-user-panel { min-width: 0; }
}

@media (max-width: 620px) {
    .forum-header { position: relative; }
    .forum-header-inner { width: calc(100% - 18px); justify-content: center; }
    .forum-brand { margin: 4px 0 8px; }
    .forum-header #submenu { flex-direction: column; margin: 0; }
    .forum-header #submenu_left, .forum-header #submenu_right { width: 100%; justify-content: center; margin: 0; }
    .forum-header #submenu a { min-height: 32px; padding: 0 7px; font-size: 10px; }
    .forum-dashboard { margin-bottom: 20px; }
    .forum-category-nav a { flex-basis: 150px; }
    .forum-user-panel { padding: 12px; }
    .forum-login-fields { display: grid; grid-template-columns: 1fr 1fr; }
    .forum-login-fields .textbox { width: 100%; }
    .forum-login-fields input[type="submit"] { grid-column: 1 / -1; }
    .post-card .post_author_info { display: none; }
    .post-card .post_avatar { width: 52px !important; }
    .post-card .post_avatar img { width: auto; height: auto; }
    .post-card > tbody > tr:nth-child(3) > td { padding: 16px; }
    .quick-reply-card tr, .quick-reply-card td { display: block; width: 100% !important; }
    .legacy-forum-welcome > tbody > tr > td { display: table-cell; }
    .legacy-forum-welcome > tbody > tr > .trow1 { display: none; }
    .legacy-forum-welcome > tbody > tr > .trow3 { display: table-cell; width: 100%; white-space: normal !important; }
}
