/* NYWOW — Obsidian & Bronze | MyBB 1.8.x theme override v0.1
   Attach globally to NYWOW - Obsidian & Bronze only.
   Load AFTER inherited stylesheets. No image assets needed.
*/

:root {
  --ny-black: #110e0c;
  --ny-charcoal: #1e1713;
  --ny-panel: #29201b;
  --ny-panel-alt: #332720;
  --ny-bronze: #88613b;
  --ny-gold: #d1ac6e;
  --ny-ivory: #ead9bf;
  --ny-muted: #b5a18b;
  --ny-crimson: #783728;
}

/* Base page and layout */
html { background: var(--ny-black); }
body {
  background: radial-gradient(ellipse at 50% 0%, #362317 0%, #19130f 36%, #110e0c 82%);
  background-attachment: fixed;
  color: var(--ny-ivory);
  font-family: Georgia, 'Times New Roman', serif;
}
#container {
  background: transparent;
  color: var(--ny-ivory);
  max-width: 1440px;
  margin: 0 auto;
  box-shadow: 0 0 65px rgba(0,0,0,.28);
}
#content {
  background: rgba(23,17,14,.95);
  color: var(--ny-ivory);
  padding: 20px 24px 30px;
  border-left: 1px solid #503821;
  border-right: 1px solid #503821;
  min-height: 55vh;
}
#header {
  background: linear-gradient(180deg, #312018, #17110e 80%);
  color: var(--ny-gold);
  border-top: 3px solid var(--ny-bronze);
  border-bottom: 2px solid var(--ny-bronze);
}
#logo {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(203,157,97,.28);
}
#logo img { max-height: 100px; max-width: 100%; width: auto; height: auto; }
#header ul.menu { font-family: Georgia, 'Times New Roman', serif; }
#header ul.menu li a { color: var(--ny-gold); }

/* All forum links */
a:link, a:visited { color: #d8b77d; }
a:hover, a:active { color: #ffe1aa; text-decoration: underline; }

/* Signed-in / guest navigation */
#panel .upper {
  background: linear-gradient(180deg, #30241d, #191310);
  border-top: 1px solid #654727;
  border-bottom: 1px solid #755233;
  color: var(--ny-ivory);
}
#panel .lower {
  background: #251c17;
  border-top: 1px solid #443121;
  border-bottom: 1px solid #60442b;
  color: var(--ny-muted);
}
#panel .upper a:link, #panel .upper a:visited,
#panel .lower a:link, #panel .lower a:visited { color: #e1bf86; }
#panel .upper a:hover, #panel .lower a:hover { color: #ffe2ae; }

/* Forum categories and tables */
.tborder {
  background: #201813;
  border: 1px solid #775333;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 17px;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
}
.thead {
  background: linear-gradient(180deg, #715031 0%, #4b3222 48%, #2c1e17 100%);
  color: #ffe4af;
  border-bottom: 1px solid #a27743;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  letter-spacing: .25px;
  padding: 10px 12px;
}
.thead a:link, .thead a:visited, .thead a:hover { color: #ffe4af; }
.tcat {
  background: #171310;
  color: #c7a575;
  border-top: 1px solid #5d432b;
  border-bottom: 1px solid #493421;
  font-family: Georgia, 'Times New Roman', serif;
}
.tcat a:link, .tcat a:visited { color: #dfbc81; }
.trow1, .trow2 { color: var(--ny-ivory); border-bottom: 1px solid #4b3728; }
.trow1 { background: #271e19; }
.trow2 { background: #30251e; }
.trow1 a:link, .trow1 a:visited, .trow2 a:link, .trow2 a:visited { color: #e0bc84; }
.trow1:hover, .trow2:hover { background: #3b2b21; }
.smalltext, .smalltext a, .forumdisplay_regular { color: var(--ny-muted); }
.tfoot { background: #1d1612; color: var(--ny-ivory); border-top: 1px solid #6a4a2b; }
.tfoot a:link, .tfoot a:visited { color: #d9b77b; }

/* Breadcrumbs, pagination and utilities */
.navigation { color: var(--ny-muted); padding: 7px 0 10px; }
.navigation .active { color: #f1d19d; font-weight: bold; }
.pagination a { background: #2d221a; color: #e8c797; border: 1px solid #745338; }
.pagination a:hover, .pagination .pagination_current {
  background: #69402b;
  color: #fff0d4;
  border: 1px solid #ac7e4d;
}

/* Forms and buttons */
input.textbox, textarea, select, input[type='text'], input[type='password'], input[type='email'] {
  background: #15110e;
  border: 1px solid #816044;
  color: #f1ddbf;
  border-radius: 3px;
}
input.textbox:focus, textarea:focus, select:focus,
input[type='text']:focus, input[type='password']:focus {
  border-color: #d0a469;
  outline: 1px solid #805536;
}
.button, input.button, a.button {
  background: linear-gradient(180deg, #843e2d, #51271e);
  border: 1px solid #b17a48;
  color: #ffe8c2;
  border-radius: 4px;
  text-shadow: 0 1px 1px #1e0a07;
  cursor: pointer;
}
.button:hover, input.button:hover, a.button:hover {
  background: linear-gradient(180deg, #a34a32, #693020);
  color: #fff2d9;
}

/* Classic postbit */
.post { color: var(--ny-ivory); }
.post.classic .post_author {
  background: linear-gradient(180deg, #35261c, #221a15);
  border: 1px solid #765134;
  border-radius: 4px;
  color: #e8cfac;
}
.post .post_author div.author_avatar img {
  background: #1a1410;
  border: 1px solid #9a7247;
  border-radius: 4px;
}
.post.classic .post_author div.author_statistics {
  border-top: 1px solid #6f4e30;
  color: #c0a98b;
}
.post .post_head { border-bottom: 1px dotted #785738; color: var(--ny-muted); }
.post .post_head span.post_date { color: var(--ny-muted); }
.post_body { color: #efe0c9; line-height: 1.65; }
.post_content .signature { border-top: 1px dotted #6d5135; }

/* Footer */
#footer { background: #17110e; color: var(--ny-muted); border-top: 2px solid #775332; }
#footer a:link, #footer a:visited { color: #cfa76d; }
#footer .upper, #footer .lower { background: transparent; border-color: #553b27; }

/* Keep the classic layout readable on smaller screens */
@media (max-width: 760px) {
  #content { padding: 12px 9px 22px; }
  #logo { padding: 12px; }
  #header ul.menu li { margin: 0 5px 0 0; display: inline-block; }
  .post.classic .post_author, .post.classic .post_content {
    float: none; width: auto; margin: 0 0 12px; padding: 10px;
  }
}


/* ======================================
   NYWOW HEADER REFINEMENT v0.2
   ====================================== */

#header #logo {
    background: linear-gradient(
        180deg,
        #35241a 0%,
        #231813 55%,
        #140f0d 100%
    ) !important;

    border-top: 2px solid #a47a44;
    border-bottom: 2px solid #a47a44;
    padding: 24px 0;
}

#logo .wrapper {
    min-height: 80px;
}

#logo .wrapper > a img {
    max-height: 75px;
    filter: grayscale(1) brightness(0) invert(.85);
}

/* Header navigation */
#logo ul.top_links a:link,
#logo ul.top_links a:visited {
    color: #dfbd84;
}

#logo ul.top_links a:hover {
    color: #ffe0a3;
}

/* Readability */
body {
    font-size: 14px;
}

.trow1, .trow2 {
    line-height: 1.55;
}


/* NYWOW Original Branding */
#logo .wrapper > a img {
    filter: none !important;
    width: auto;
    height: auto;
    max-height: 85px;
    max-width: 100%;
    object-fit: contain;
}


/* ===================================
   NYWOW COMMUNITY HEADER v0.3
   =================================== */

#logo .wrapper > a.nywow-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    vertical-align: middle;
}

#logo .wrapper > a.nywow-brand img {
    height: 78px;
    width: auto;
    max-height: none;
    filter: none !important;
    object-fit: contain;
    display: block;
}

.nywow-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nywow-brand-text strong {
    font-family: Georgia, serif;
    font-size: 35px;
    line-height: 1;
    letter-spacing: 3px;
    color: #e4bf80;
    text-shadow: 0 2px 8px #000;
}

.nywow-brand-text small {
    font-family: Georgia, serif;
    color: #b48b59;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: bold;
}

#logo .wrapper > a.nywow-brand:hover strong {
    color: #ffdda0;
}

@media (max-width: 800px) {
    #logo .wrapper > a.nywow-brand img {
        height: 58px;
    }

    .nywow-brand-text strong {
        font-size: 25px;
    }

    .nywow-brand-text small {
        font-size: 9px;
        letter-spacing: 2px;
    }
}


/* ====================================
   NYWOW - Classic Forum Typography
   ==================================== */

/* Main forum text */
body,
#container,
.trow1,
.trow2,
.trow_shaded,
.smalltext,
.post_body,
.post_content,
.post_author,
.navigation,
input,
textarea,
select,
button {
    font-family: "Trebuchet MS", Arial, sans-serif !important;
}

/* Forum categories and section headings */
.thead,
.tcat,
h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
}

/* Preserve NYWOW branding */
.nywow-brand-text strong,
.nywow-brand-text small {
    font-family: Georgia, serif !important;
}


/* ==========================================
   NYWOW CLASSIC POSTBIT v0.1
   Obsidian & Bronze
   ========================================== */

/* Main post container */
.post,
.post.classic {
    background: #1b1512 !important;
    color: #e8d4b5 !important;
}

/* Classic left-side author panel */
.post .post_author,
.post.classic .post_author {
    background: #29201a !important;
    color: #d8bd94 !important;
    border: 1px solid #755333 !important;
}

/* Player details */
.post .post_author .author_information,
.post .post_author .author_statistics {
    color: #c8ab82 !important;
}

.post .post_author a:link,
.post .post_author a:visited {
    color: #e0b674 !important;
}

/* Player avatar */
.post .post_author .author_avatar img {
    background: #17110e !important;
    border: 1px solid #89613a !important;
    padding: 4px;
}

/* Actual post content */
.post .post_content {
    background: #1b1512 !important;
    color: #e9d7bc !important;
}

/* Post date and heading */
.post .post_head {
    color: #bc9c73 !important;
    border-bottom: 1px solid #65482d !important;
}

.post .post_head span.post_date {
    color: #bca17f !important;
}

/* Post author statistics separator */
.post .post_author .author_statistics {
    border-top: 1px solid #65482d !important;
}

/* Post signature divider */
.post_content .signature {
    border-top: 1px solid #65482d !important;
}

/* White post action toolbar */
.post_controls {
    background: #29201a !important;
    border-top: 1px solid #755333 !important;
    border-bottom: 1px solid #755333 !important;
    color: #dfbf92 !important;
}

/* Edit / Quote / Reply / Report buttons */
.postbit_buttons > a:link,
.postbit_buttons > a:visited {
    background: #38271d !important;
    background-image: none !important;
    border: 1px solid #89613a !important;
    color: #e4c28d !important;
    border-radius: 3px;
}

.postbit_buttons > a:hover {
    background: #573724 !important;
    background-image: none !important;
    color: #ffe0aa !important;
    border-color: #b88b51 !important;
}


/* NYWOW - Classic Postbit Avatars */

.post.classic .post_author .author_avatar img {
    max-width: 120px !important;
    max-height: 120px !important;
    width: auto;
    height: auto;

    background: #17110e;
    border: 2px solid #8c683c !important;
    padding: 3px;
    border-radius: 3px;

    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

