/* ============== 25years Skin — Dark Theme with Gold Accents ============== */
/* Ported from 8years (Seditio 130) to 185, preserving exact visual design */

/* ============== Reset & Base ============== */
* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

strong {
    font-weight: 650;
}

body {
    font-weight: normal;
    font-size: 0.9em;
    font-family: 'Segoe UI', Verdana, sans-serif;
    line-height: 1.2em;
    width: 100%;
    height: 100%;
    background-color: #101010;
    margin: 0;
    padding: 0;
    color: #D0D0D0;
    text-align: left;
    background-image: url(../img/back.gif);
    background-position: top left;
    background-repeat: repeat-xy;
}

a {
    text-decoration: none;
    border-width: 0;
    color: #e3c089;
}

a:hover {
    text-decoration: underline;
}

h1 { font-size: 1.60%; font-weight: bold; margin: 1.5em 0 0.3em 0; }
h2 { font-size: 1.3em; font-weight: bold; margin: 1.5em 0 0.3em 0; border-bottom: 1px dotted #000000; }
h3 { font-size: 1.2em; font-weight: bold; margin: 1.5em 0 0.3em 0; }
h4 { font-size: 1.1em; font-weight: bold; margin: 0.5em 0 0.3em 0; }
h5 { font-size: 0.95em; }
h6 { font-size: 90%; }

/* ============== Layout ============== */
#site {
    padding: 0;
    margin: 0 auto;
    text-align: left;
    width: 900px;
}

#header {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#header img {
    display: block;
    width: 100%;
    height: auto;
}

#header-logo-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    max-width: 33.33%;
    height: calc(100vw * 149 / 900);
    max-height: 149px;
    z-index: 5;
    cursor: pointer;
}

#header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#gfx {
    display: none;
}

#container {
    width: 100%;
    float: left;
    overflow: hidden;
    background-color: #252525;
}

#content {
    padding: 0 0 0 320px;
}

#main {
    width: 100%;
    padding: 0 0 4px;
    height: auto;
    position: relative;
}

#main:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

#main ul {
    list-style-type: none;
}

/* ============== Navigation ============== */
#nav {
    font-size: 1.4em;
    margin: 0;
    padding: 2px 0;
    text-align: right;
    position: absolute;
    bottom: 4px;
    right: 0;
}

#nav a {
    color: #FFFFFF;
}

#nav a:hover {
    text-decoration: none;
}

#nav ul {
    padding: 0;
    margin: 0;
}

#nav li {
    display: inline;
    list-style-type: none;
    padding: 2px 0 2px 16px;
    margin: 0;
}

/* ============== User Bar ============== */
#user {
    height: 28px;
    margin: 0;
    padding: 0 8px;
    color: #808080;
    text-align: right;
    font-size: .9em;
    background: rgba(0, 0, 0, 0.4);
    line-height: 28px;
}

#user a {
    color: #cc9933;
}

#user ul {
    padding: 0;
    margin: 0;
}

#user li {
    display: inline;
    list-style-type: none;
    margin: 0;
    padding: 3px;
}

/* ============== Title Block ============== */
#title_back {
    padding: 0;
    margin: 4px 0 0 0;
}

#title {
    padding: 0 0 4px 10px;
    margin: 0;
    font-size: 1.4em;
    color: #FFFFFF;
    border-bottom: 1px dotted #000000;
}

#title a {
    color: #FFFFFF;
}

#subtitle {
    padding: 0;
    margin: 2px 0 0 10px;
}

/* ============== Sidebar ============== */
#sideLeft {
    float: left;
    width: 310px;
    margin-left: -100%;
    position: relative;
}

#sideblock {
    padding: 8px 6px;
    margin-bottom: 8px;
    border-bottom: 1px solid #303030;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: hidden;
}

.sidebar {
    /* sidebar container */
}

#sideblock:last-child {
    border-bottom: none;
}

#sideblock h4 {
    margin: 0 0 6px 0;
    font-size: 0.85em;
    color: #c8a45c;
}

#sideblock a {
    font-size: 0.85em;
}

/* ============== Footer ============== */
#footer {
    margin: 0;
    padding: 8px;
    font-size: 0.9em;
    text-align: left;
}

/* ============== Pagination ============== */
.paging {
    text-align: center;
    padding: 8px;
    width: 100%;
}

.pagination {
    position: relative;
    left: -9px;
    margin: 0;
    list-style: none;
}

.pagination:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.pagination li {
    float: left;
    margin-right: 2px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 7px 9px;
    line-height: 1;
    border-radius: 0.5em;
    color: #D0D0D0;
    text-decoration: none;
    border: 1px solid #454545;
    background: #1a1a1a;
}

.pagination li span {
    border: 1px solid #c8a45c;
    background-color: #1a1a1a;
    color: #c8a45c;
}

.pagination li a:focus,
.pagination li a:hover {
    text-decoration: none;
    background-color: #333;
    color: #ffffff;
    border-color: #c8a45c;
}

/* ============== Tables ============== */
table td {
    vertical-align: top;
}

table.flat {
    width: 99%;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}

table.flat td {
    padding: 0;
    margin: 0;
}

table.main {
    width: 99%;
    margin: 0;
    padding: 4px;
}

table.main td {
    padding: 4px;
}

table.cells {
    width: 99%;
    margin: 0;
    padding: 0;
}

table.cells td {
    padding: 6px;
    background-color: #333333;
    margin: 0;
}

table.list {
    width: 99%;
    margin: 0;
    padding: 5px;
}

table.list td {
    padding: 12px;
}

/* ============== Various Elements ============== */
.disp {
    padding: 12px;
    margin: 0;
}

.block {
    padding: 8px;
    margin: 8px;
    border: 1px dashed #000000;
    background-color: #303030;
}

.error {
    padding: 24px;
    margin: 0;
    color: #FFDD33;
    font-size: 110%;
    text-align: center;
}

.codetitle {
    font-size: 10px;
    color: #D05000;
    padding: 2px;
    margin-top: 5px;
}

.code {
    font-size: 11px;
    color: #FF6600;
    background-color: #303030;
    padding: 2px;
    margin-bottom: 5px;
    font-family: monospace;
}

.valid {
    height: 48px;
    text-align: center;
    vertical-align: middle;
}

.valid input, #commentsbutton {
    width: 96px;
    height: 32px;
    border: 1px solid;
    color: #E3C089;
    background-color: #303030;
    padding: 0px;
    float: right;
}

#blockcomments {
    display: block;
    height: 40px;
    padding: 4px;
}

.submit {
    text-align: center;
}

.download {
    font-size: 110%;
    text-align: center;
    background-color: #E8E8E8;
    padding: 16px;
    margin-top: 16px;
}

.coltop {
    text-align: center;
    font-size: 95%;
    background-color: #454545 !important;
    color: #707070;
}

.centerall {
    text-align: center;
    vertical-align: middle;
}

.desc {
    font-size: 90%;
    padding: 3px;
    color: #AAAAAA;
}

.spoiler {
    padding: 8px;
    margin: 8px;
    border: 1px dashed #CCCCCC;
    background-color: #DBE5E9;
}

.odd {
    background-color: #333333 !important;
}

.even {
    background-color: #393939 !important;
}

ul {
    list-style-type: square;
}

li {
    margin: 2px;
}

img {
    border-width: 0;
}

form {
    margin: 0;
}

input, select, textarea {
    background-color: #101010;
    color: #D0D0D0;
    border: 1px solid #454545;
}

.colleft {
    float: left;
    margin: 0px 4px 0px 4px;
}

.colright {
    float: right;
    margin: 0px 4px 0px 4px;
}

.bar_front {
    background-color: #916600;
    border-right: 0px solid #000000;
    padding: 0;
    color: #D0D0D0;
    height: 8px;
}

.bar_back {
    background-color: #505050;
    border: 1px solid #000000;
    margin: 0 7px 0 7px;
    height: 8px;
}

.bbcodes a img {
    border: 1px outset #A0A0A0;
    background-color: #999BAC;
}

.smilies a img {
    border: 0;
    background-color: transparent;
}

.signature {
    color: #979797;
    font-size: 90%;
    max-height: 96px;
    overflow: auto;
    margin-top: 16px;
}

.signature a {
    color: #000000;
}

.fhead {
    font-size: 140%;
    margin: 0;
    letter-spacing: -1px;
    font-weight: normal;
    background-color: #FFCC00;
}

.fblock {
    background-color: #FF0000;
}

blockquote {
    display: block;
    width: 540px;
    margin-left: 5px;
    padding: 3px;
    border-left: 2px solid #FF9000;
    background-color: #101010;
    font-size: 80%;
    font-style: italic;
    color: #5F5F5F;
}

/* ============== Shoutbox ============== */
#shoutbox {
    padding: 6px;
    margin-top: 0;
    margin-bottom: 16px;
    width: 570px;
    overflow: hidden;
}

fieldset.shoutbox {
    padding: 0px;
    margin-bottom: 8px;
    border: none;
}

#shoutbox .boxshout {
    line-height: 100%;
    margin-top: 4px;
    margin-bottom: 0px;
}

#shoutbox #boxindex {
    padding: 0px;
}

#shoutbox #shoutinput {
    height: 44px;
    width: 470px;
    font: 1.5em/1.1 'Segoe UI', 'Verdana', sans-serif;
    overflow: auto;
    border: 1px solid #E3C089;
    background-color: #303030;
    color: #BBB;
    resize: none;
    padding: 0 4px 0 0;
    margin: 0;
    box-sizing: border-box;
}

.shoutbox-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.shoutbox-form .shoutbutton {
    height: auto;
    margin-left: 0;
    float: none;
    flex-shrink: 0;
}

/* Standalone shoutbox page retains original form layout */
#newbox #shoutinput {
    margin-left: 8px;
}

#shoutbox #indexinput {
    height: 2.2em;
    width: 470px;
    font: 1.5em 'Segoe UI', 'Verdana', sans-serif;
    overflow: auto;
    background-color: #303030;
    border-color: #E3C089;
    color: #BBB;
    resize: none;
    padding: 0 4px 0 0;
    margin: 0px;
}

.shoutbutton {
    width: 70px;
    height: 44px;
    border: 1px dashed;
    color: #E3C089;
    background-color: #303030;
    margin-left: 8px;
    padding: 0px;
    float: right;
}

#shoutbox li {
    list-style-type: none;
    font: 1.0em;
    margin: 1px 0;
}

#shoutbox #timeline {
    padding: 0px;
    margin: 0 0 0 8px;
}

#shoutbox #timeline .box-info {
    display: block;
    font-size: 0.7em;
    color: #666;
    margin: 1px 0 0 0;
}

.shoutform {
    margin-bottom: 8px;
}

#shoutinfo {
    font: .8em 'Segoe UI', 'Verdana', sans-serif;
    color: #606060;
    margin: 8px 0 0 8px;
}

#shoutinfo a {
    color: #909090;
    margin-right: 8px;
}

#shoutpagination {
    margin-top: 10px;
    padding: 8px 0;
    font: 0.8em 'Segoe UI', 'Verdana', sans-serif;
}

#shoutpagination a {
    display: inline-block;
    padding: 4px 9px;
    margin: 0 2px;
    border: 1px solid #454545;
    border-radius: 4px;
    color: #D0D0D0;
    text-decoration: none;
    background: #1a1a1a;
    line-height: 1;
}

#shoutpagination a:hover {
    background: #333;
    border-color: #c8a45c;
    color: #fff;
}

#shoutpagination strong a {
    border-color: #c8a45c;
    color: #c8a45c;
}

/* ============== Gallery ============== */
#gallery {
    padding: 8px;
}

#gallery a {
    color: #ff9900;
}

#gallery h3 {
    font: 1em;
    font-weight: bold;
    margin: 0;
}

#gallery li {
    margin: 7px;
    border: 1px solid #da0;
    width: 200px;
    height: 133px;
    float: left;
    position: relative;
    overflow: hidden;
}

#gallery li .image {
    position: absolute;
    z-index: 1;
}

#gallery li .text {
    color: #eee;
    position: absolute;
    top: 80px;
    left: 0px;
    width: 200px;
    height: 73px;
    z-index: 1000;
    padding: 4px;
    background: transparent url(../img/bg_thumb.png);
}

#gallery li .textinfo {
    color: #FFF;
    font: .8em/1;
    position: absolute;
    top: 105px;
    left: 0px;
    width: 200px;
    height: 28px;
    z-index: 1000;
    padding: 4px;
    background: transparent url(../img/bg_thumb.png);
}

#gallery li .text .small {
    font: .8em;
    vertical-align: bottom;
}

/* ============== Login Form ============== */
.loginform {
    height: 220px;
    width: 360px;
}

.loginform form {
    margin: 32px 0px;
    padding: 0;
}

.main_reg form {
    display: none;
}

.loginform label {
    color: #F93;
}

.loginform a {
    color: #EA4;
}

.loginform .error {
    color: #ff0000;
}

.loginform .field {
    margin-bottom: 4px;
}

.loginform .field input {
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    background-color: #333;
    font-size: 32px;
    color: #000;
}

.loginform .forget_pass {
    text-align: right;
    float: right;
}

.loginform .field_check {
    margin-bottom: 10px;
}

.loginform .field_check input {
    vertical-align: middle;
}

.field_submit {
    text-align: right;
    margin-bottom: 25px;
}

.field_submit #login {
    width: 78px;
    height: 40px;
    background-color: #333;
    font-size: 16px;
    color: #ccc;
    margin-bottom: 25px;
}

/* ============== Breadcrumbs ============== */
.breadcrumbs {
    padding: 4px 10px;
    font-size: 0.85em;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: inline;
}

.breadcrumbs li + li::before {
    content: " → ";
    color: #606060;
}

.breadcrumbs a {
    color: #909090;
}

/* ============== News ============== */
#newsblock {
    padding-right: 8px;
}

/* ============== Comments ============== */
#blockcomments {
    display: block;
    height: 40px;
    padding: 4px;
}

/* ============== Vintage TV Plugin ============== */
#vintagetv-canvas {
    width: 302px;
    height: 224px;
    display: block;
    cursor: pointer;
}

/* ============== Polls ============== */
/* Poll styling handled by table.cells */

/* ============== Grid System ============== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

[class*="col-"] {
    padding: 8px;
    box-sizing: border-box;
}

.col-xs-12 { width: 100%; }
.col-sm-6 { width: 50%; }
.col-md-4 { width: 33.333%; }
.col-lg-3 { width: 25%; }

@media (max-width: 768px) {
    .col-sm-6 { width: 100%; }
    .col-md-4 { width: 50%; }
    .col-lg-3 { width: 50%; }
}

@media (max-width: 480px) {
    .col-md-4 { width: 100%; }
    .col-lg-3 { width: 100%; }
}

/* ============== CMS Module Layout ============== */
main#page, main#home, main#system, main#plugins, main#standalone {
    /* main wrappers */
}

main#page > .container,
main#home > .container,
main#system > .container,
main#plugins > .container {
    background-color: #252525;
    padding: 8px;
}

.section-title {
    padding: 4px 10px;
    margin: 0;
}

.section-title h1 {
    font-size: 1.4em;
    color: #FFFFFF;
    border-bottom: 1px dotted #000000;
    margin: 0;
    padding: 0 0 4px 0;
}

.section-desc {
    font-size: 0.9em;
    color: #AAAAAA;
    margin: 4px 0;
}

.section-body {
    padding: 8px;
}

/* ============== Gallery Module ============== */
.gallery-item {
    background-color: #303030;
    border: 1px dashed #454545;
    overflow: hidden;
}

.gallery-container {
    margin: 0;
    padding: 0;
    position: relative;
}

.gallery-img-link {
    display: block;
    overflow: hidden;
    height: 180px;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-content {
    padding: 8px;
}

.gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #808080;
    margin-top: 4px;
}

.gallery-date {
    color: #808080;
}

.gallery-title h3 {
    font-size: 1em;
    font-weight: bold;
    margin: 4px 0;
}

.gallery-title a {
    color: #e3c089;
}

.gallery-desc {
    font-size: 0.85em;
    color: #AAAAAA;
    margin: 4px 0;
}

/* ============== Gallery Details ============== */
.gallery-bigimg {
    margin-bottom: 8px;
}

.gallery-bigimg .gallery-img-link {
    height: auto;
    overflow: visible;
}

.gallery-bigimg .gallery-img {
    height: auto;
    object-fit: none;
}

.gallery-bigimg img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Author display in gallery details */
.page-author {
    display: inline;
    font-size: 0.85em;
    color: #808080;
    margin-left: 12px;
}

.page-author a {
    color: #cc9933;
}

.gallery-arrows {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.gallery-arrows-col {
    display: inline-block;
}

.gallery-arrows-col img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.15s;
    vertical-align: middle;
}

.gallery-arrows-col a:hover img {
    opacity: 1;
}

.gallery-browser {
    text-align: center;
    padding: 8px 4px;
    font-size: 12px;
}

.gallery-browser a {
    display: inline-block;
    padding: 4px 9px;
    margin: 0 2px;
    border: 1px solid #454545;
    border-radius: 4px;
    color: #D0D0D0;
    text-decoration: none;
    background: #1a1a1a;
    line-height: 1;
}

.gallery-browser a:hover {
    background: #333;
    border-color: #c8a45c;
    color: #fff;
}

.gallery-browser strong a {
    border-color: #c8a45c;
    color: #c8a45c;
}

.gallery-browser strong a:hover {
    background: #333;
    border-color: #c8a45c;
    color: #fff;
}

/* Comment textarea — limit width to container */
.comments-box textarea.textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gallery-author a {
    color: #cc9933;
}

.gallery-count {
    color: #808080;
}

/* ============== News Module ============== */
.news-box {
    /* news container */
}

.news-item {
    padding: 12px;
    margin-bottom: 12px;
    background-color: #303030;
    border: 1px dashed #454545;
}

.post-header {
    margin-bottom: 8px;
}

.post-container {
    margin: 0;
}

.post-img-link {
    display: block;
    overflow: hidden;
}

.post-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.post-category {
    font-size: 0.85em;
    margin-bottom: 4px;
}

.post-category a {
    color: #cc9933;
}

.post-date {
    font-size: 0.8em;
    color: #808080;
    margin-bottom: 4px;
}

.post-title h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin: 4px 0;
    border-bottom: none;
}

.post-title a {
    color: #FFFFFF;
}

.post-text {
    font-size: 0.95em;
    color: #D0D0D0;
    margin: 8px 0;
}

.post-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #808080;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dotted #454545;
}

.post-author a {
    color: #cc9933;
}

.post-comments a {
    color: #e3c089;
}

.post-tags {
    font-size: 0.85em;
    color: #808080;
}

/* Compact news meta line: category · date · by author · (comments) */
.post-meta {
    font-size: 0.85em;
    color: #808080;
    margin: 2px 0 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.post-meta a {
    color: #cc9933;
}

.post-meta .post-date {
    color: #808080;
}

/* News item spacing — compact, balanced */
.news-item {
    padding: 6px 6px;
    border-bottom: 1px solid #303030;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h2 {
    margin: 0 0 9px 0;
    font-size: 1.05em;
}

.news-item h2 a {
    color: #e3c089;
}

.news-item p {
    margin: 6px 0 0 0;
    font-size: 0.9em;
    color: #B0B0B0;
    line-height: 1.4;
}

/* ============== List / Category Page Layout ============== */
#primary-container {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

#primary {
    flex: 1;
    min-width: 0;
}

#sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-box {
    margin-bottom: 16px;
}

.sidebar-title h3 {
    font-size: 1em;
    margin: 0 0 8px 0;
    color: #c8a45c;
    border-bottom: 1px solid #454545;
    padding-bottom: 4px;
}

.sidebar-menu .tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: flex;
    gap: 4px;
}

.sidebar-menu .tabs-nav li a {
    display: block;
    padding: 4px 8px;
    border: 1px solid #454545;
    border-radius: 4px;
    color: #D0D0D0;
    text-decoration: none;
    font-size: 12px;
    background: #1a1a1a;
}

.sidebar-menu .tabs-nav li.active a {
    border-color: #c8a45c;
    color: #c8a45c;
}

.recent-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-item {
    padding: 6px 0;
    border-bottom: 1px solid #303030;
    font-size: 0.85em;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #808080;
    font-size: 0.9em;
}

.recent-title {
    color: #D0D0D0;
    margin-top: 2px;
}

.pagination-box {
    text-align: center;
    padding: 12px 0;
}

/* Hide user avatars everywhere */
img[src*="avatar"],
.post-author img,
.recent-author img,
.recent-info img {
    display: none !important;
}

/* List item styling */
.list-item {
    padding: 16px 0;
    border-bottom: 1px solid #303030;
}

.list-item:last-child {
    border-bottom: none;
}

/* ============== Polls Standalone ============== */
#standalone {
    padding: 16px;
    background-color: #252525;
    min-height: 100px;
}

/* ============== Responsive Forms ============== */
.form { width: 100%; }

.form .form-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  position: relative;
  clear: both;
  border-bottom: 1px solid #454545;
}

.form .form-row:last-child {
  border-bottom: none;
}

.form .form-label {
  display: block;
  padding: 12px;
  color: #E3C089;
  font-weight: bold;
  float: left;
  width: 30%;
  max-width: 200px;
  background-color: #252525;
}

.form .form-label label {
  font-weight: bold;
}

.form .form-field {
  display: block;
  padding: 12px;
  float: left;
  width: 70%;
  background-color: #303030;
}

.form .form-field-2col {
  display: block;
  float: left;
  width: 50%;
  padding-right: 10px;
}

.form .form-field-100 {
  display: block;
  padding: 12px 0;
  width: 100%;
  text-align: center;
}

.form .form-field > span {
  padding: 6px 0;
  display: block;
}

.form .form-field-help {
  color: #808080;
  font-size: 0.8em;
  font-style: italic;
}

.form .form-legend {
  font-size: 0.95em;
  color: #AAAAAA;
}

.responsive-form {
  list-style: none;
  padding: 0;
  margin: 0;
}

.responsive-form .form-row {
  list-style: none;
}

/* Fix for inputs in form fields */
.form-field input[type="text"],
.form-field input[type="password"],
.form-field select,
.form-field textarea {
  width: 95%;
  background-color: #101010;
  color: #D0D0D0;
  border: 1px solid #454545;
  padding: 4px;
}

.form-field input[type="radio"],
.form-field input[type="checkbox"] {
  margin-right: 4px;
}

.form-field .descr {
  font-size: 0.85em;
  color: #808080;
  margin-top: 4px;
}

.form-field .submit {
  padding: 8px 24px;
  border: 1px solid #E3C089;
  color: #E3C089;
  background-color: #303030;
  cursor: pointer;
}

.form-field .submit:hover {
  background-color: #404040;
}

/* ============== Modules - Forums Div-Table ============== */
.table-cells, .table.cells {
    width: 100%;
    display: table;
}

.table-thead, .table-head {
    display: table-header-group;
}

.table-tbody, .table-body {
    display: table-row-group;
}

.table-tr, .table-row {
    display: table-row;
}

.table-td, .table-th {
    display: table-cell;
    padding: 6px;
    background-color: #333333;
    vertical-align: top;
}

/* Striped tables */
.striped .table-row:nth-child(even) .table-td,
.striped .table-tr:nth-child(even) .table-td {
    background-color: #393939;
}

.striped .table-row:nth-child(odd) .table-td,
.striped .table-tr:nth-child(odd) .table-td {
    background-color: #333333;
}

/* Responsive table breakpoint (hidden by default, used by JS) */
@media (max-width: 768px) {
    .resp-table-head { display: none; }
    .resp-table-row { display: block; margin-bottom: 8px; }
    .resp-table-td { display: block; width: 100%; }
    .resp-table-td::before { content: attr(data-label); font-weight: bold; }
}

.table-colspan-100 {
    display: table-cell;
    padding: 6px;
    background-color: #454545;
    color: #707070;
    font-weight: bold;
    text-align: left;
}

.table-cells-subtable {
    display: table;
    width: 100%;
}

.table-cells-subtable .table-tr {
    display: table-row;
}

.table-cells-subtable .table-td {
    display: table-cell;
    padding: 4px;
    background-color: transparent;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.forums-main-info {
    width: auto;
}

.forums-lastpost {
    width: 250px;
}

.forums-topiccount,
.forums-postcount,
.forums-viewcount,
.forums-activity {
    width: 48px;
    text-align: center;
}

.forum-lastpost {
    font-size: 0.85em;
    color: #AAAAAA;
}

.forum-lastposter {
    font-size: 0.8em;
    color: #808080;
}

.forum-timeago {
    font-size: 0.8em;
    color: #606060;
}

.forums-table-head .coltop {
    background-color: #454545 !important;
    color: #707070;
    font-weight: bold;
    text-align: center;
    padding: 6px;
}

.cattop {
    background-color: #454545;
    color: #e3c089;
    padding: 6px;
}

.subforums {
    margin-top: 4px;
    font-size: 0.85em;
}

.subforums-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subforums-list li {
    display: inline;
    margin-right: 8px;
}

.subforums-list li::before {
    content: "» ";
    color: #606060;
}

/* ============== Comments ============== */
.commentlist {
    /* comment list container */
}

.comment {
    padding: 8px;
    margin-bottom: 8px;
    border: 1px dashed #454545;
    background-color: #303030;
}

.comments-header {
    margin-bottom: 8px;
}

.comment-head {
    font-size: 0.9em;
}

.comment-head .name {
    color: #e3c089;
    font-weight: bold;
}

.comment-head .date {
    color: #808080;
    margin-left: 8px;
    font-size: 0.85em;
}

.comment-head .comment-anchor {
    color: #606060;
    margin-left: 8px;
    text-decoration: none;
}

.comment-head .reply {
    margin-left: 8px;
}

.comment-head .edit {
    margin-left: 8px;
}

.comment-entry {
    font-size: 0.95em;
    color: #D0D0D0;
    padding: 4px 0;
}

.comment-replies {
    margin-left: 20px;
    margin-top: 8px;
}

.comments-avatar {
    /* hidden — avatars removed */
    display: none;
}

/* ============== Responsive ============== */
@media (max-width: 920px) {
    #site {
        width: 100%;
    }

    #header {
        max-width: 100%;
    }

    #header-overlay {
        position: relative;
    }

    #user {
        font-size: 0.8em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #nav {
        position: static;
        display: block;
        width: 100%;
        font-size: 1.1em;
        padding: 6px 8px;
        box-sizing: border-box;
        text-align: center;
        background: rgba(0, 0, 0, 0.6);
    }

    #content {
        padding: 0 10px;
    }

    #sideLeft {
        float: none;
        width: 100%;
        margin-left: 0;
    }

    #shoutbox {
        width: 100%;
    }

    #shoutbox #shoutinput {
        width: 80%;
    }

    blockquote {
        width: 100%;
    }
}
