:root {
    --nine-bg: #181818;
    --nine-card: #1d1d1d;
    --nine-card-light: #202020;
    --nine-card-dark: #151515;
    --nine-border: #2b2b2b;
    --nine-border-light: #303030;
    --nine-text: #f5f5f5;
    --nine-muted: #9b9b9b;
    --nine-muted-dark: #777777;
    --nine-blue: #4d7fff;
    --nine-cyan: #19c8ff;
    --nine-purple: #8b5cf6;
}

/* =========================
   BASE
========================= */

html,
body {
    background: var(--nine-bg) !important;
    color: var(--nine-text) !important;
    font-family: Inter, Montserrat, Arial, sans-serif !important;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

a {
    color: var(--nine-cyan);
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

#container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: var(--nine-bg) !important;
}

.nine-nty-app {
    min-height: 100vh;
    background: var(--nine-bg);
}

/* =========================
   TOP NAVIGATION
========================= */

.nine-nty-topbar {
    background: rgba(24, 24, 24, 0.96);
    border-bottom: 1px solid var(--nine-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nine-nty-topbar-inner {
    max-width: 1160px;
    height: 54px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nine-nty-brand {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--nine-cyan), var(--nine-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
}

.nine-nty-nav {
    display: flex;
    gap: 26px;
    margin-left: 34px;
    margin-right: auto;
}

.nine-nty-nav a {
    color: #bdbdbd !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.nine-nty-nav a:hover {
    color: #ffffff !important;
}

.nine-nty-auth {
    display: flex;
    align-items: center;
}

.nine-nty-userbar {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    font-size: 13px;
}

.nine-nty-userbar strong {
    color: #ffffff;
}

.nine-nty-userbar a {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.nine-nty-userbar a:hover {
    color: var(--nine-cyan) !important;
}

.nine-nty-userbar .nine-nty-signup {
    background: var(--nine-blue);
    padding: 9px 14px;
    border-radius: 4px;
    color: #ffffff !important;
}

.nine-nty-userbar ul,
.nine-nty-userbar li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================
   PAGE + HERO
========================= */

.nine-nty-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 18px 55px;
}

.nine-nty-hero {
    text-align: center;
    padding: 62px 0 48px;
}

.nine-nty-hero h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1px;
}

.nine-nty-hero p {
    margin: 0;
    color: #b7b7b7;
    font-size: 22px;
    font-weight: 700;
}

.nine-nty-hero p span {
    background: linear-gradient(90deg, var(--nine-cyan), var(--nine-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.nine-nty-hero-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.nine-nty-btn {
    height: 34px;
    padding: 0 26px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.nine-nty-btn-primary {
    background: var(--nine-blue);
    color: #ffffff !important;
}

.nine-nty-btn-primary:hover {
    background: #5d8bff;
    color: #ffffff !important;
}

.nine-nty-btn-ghost {
    background: transparent;
    color: #ffffff !important;
}

.nine-nty-btn-ghost:hover {
    color: var(--nine-cyan) !important;
}

/* =========================
   HOMEPAGE GRID
========================= */

.nine-nty-layout {
    display: grid;
    grid-template-columns: 760px 320px;
    justify-content: center;
    gap: 28px;
    align-items: start;
}

.nine-nty-main-content {
    width: 100%;
    max-width: 760px;
}

.nine-nty-section-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.nine-nty-sidebar {
    width: 100%;
}

.nine-nty-side-card {
    background: var(--nine-card);
    border: 1px solid var(--nine-border);
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 28px;
}

.nine-nty-side-card h3 {
    margin: 0 0 18px;
    color: #bdbdbd;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.nine-nty-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--nine-muted);
    font-size: 13px;
}

.nine-nty-stat-row strong {
    color: #ffffff;
    font-weight: 900;
}

.nine-nty-empty {
    color: var(--nine-muted);
    text-align: center;
    padding: 32px 10px;
}

/* =========================
   HOMEPAGE FORUM BITS
========================= */

.nine-nty-forum-card {
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
}

.nine-og-category {
    width: 100%;
    max-width: 760px;
    background: #1b1b1b;
    border: 1px solid var(--nine-border);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: none;
}

.nine-og-cat-head {
    padding: 9px 14px;
    background: #202020;
    border-bottom: 1px solid var(--nine-border);
}

.nine-og-cat-head a {
    color: var(--nine-cyan) !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.nine-og-cat-head a:hover {
    color: #ffffff !important;
}

.nine-og-cat-head p {
    display: none;
}

.nine-og-forums {
    display: flex;
    flex-direction: column;
}

.nine-og-forum-row {
    display: grid;
    grid-template-columns: 34px minmax(250px, 1fr) 112px 225px;
    align-items: center;
    column-gap: 15px;
    min-height: 56px;
    padding: 12px 14px;
    background: #181818;
    border-bottom: 1px solid #272727;
}

.nine-og-forum-row:last-child {
    border-bottom: 0;
}

.nine-og-forum-row:hover {
    background: #1f1f1f;
}

.nine-og-status {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(25, 200, 255, 0.14), rgba(139, 92, 246, 0.12));
    border: 1px solid #343434;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nine-og-status span {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    border: 2px solid var(--nine-blue);
    box-shadow: 0 0 10px rgba(77, 127, 255, 0.35);
}

.nine-og-forum-main {
    min-width: 0;
    display: flex;
    align-items: center;
}

.nine-og-title {
    color: #eeeeee !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    letter-spacing: -0.1px;
}

.nine-og-title:hover {
    color: var(--nine-cyan) !important;
}

.nine-og-forum-main p {
    display: none;
}

.nine-og-counts {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    white-space: nowrap;
}

.nine-og-counts div {
    background: transparent;
    border: 0;
    padding: 0;
    min-width: auto;
    text-align: right;
}

.nine-og-counts strong {
    display: inline;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    margin-right: 4px;
}

.nine-og-counts span {
    display: inline;
    color: #c2c2c2;
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.nine-og-lastpost {
    min-width: 0;
    justify-self: start;
    width: 100%;
}

.nine-og-last {
    display: grid;
    gap: 2px;
    max-width: 220px;
    background: transparent;
    border: 0;
    padding: 0;
    min-width: 0;
    line-height: 1.2;
}

.nine-og-last::before {
    display: none;
}

.nine-og-last-meta {
    color: #777777;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.nine-og-last-meta span {
    color: #aaaaaa;
}

.nine-og-last-title {
    color: var(--nine-cyan) !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nine-og-last-title:hover {
    color: #ffffff !important;
}

.nine-og-last-user,
.nine-og-last small {
    color: #9a9a9a;
    font-size: 10px;
    line-height: 1.25;
}

.nine-og-last-user a,
.nine-og-last a {
    color: var(--nine-cyan) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.nine-og-last-empty {
    color: #777777;
    font-size: 11px;
    font-style: italic;
}

/* =========================
   FORUMDISPLAY / THREAD LIST
========================= */

.nine-board {
    max-width: 1040px;
    margin: 18px auto 0;
}

.nine-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    color: #777777;
    font-size: 12px;
    font-weight: 700;
}

.nine-breadcrumb a {
    color: var(--nine-cyan) !important;
    text-decoration: none !important;
}

.nine-board-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 12px;
}

.nine-board-head h1 {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nine-board-head p {
    margin: 5px 0 0;
    color: #888888;
    font-size: 13px;
}

.nine-board-actions .button,
.nine-board-actions a.button {
    height: 32px !important;
    background: var(--nine-blue) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nine-board-actions .button:hover,
.nine-board-actions a.button:hover {
    background: #5d8bff !important;
}

.nine-board-meta {
    color: #8a8a8a;
    font-size: 12px;
    margin-bottom: 12px;
}

.nine-board-meta a {
    color: var(--nine-cyan) !important;
    font-weight: 800;
}

.nine-threadbox {
    background: #1b1b1b;
    border: 1px solid var(--nine-border);
    border-radius: 6px;
    overflow: hidden;
}

.nine-threadbox-head {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) 78px 78px 220px 24px;
    gap: 12px;
    padding: 10px 14px;
    background: #202020;
    border-bottom: 1px solid var(--nine-border);
    color: #888888;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nine-thread {
    display: grid;
    grid-template-columns: 30px minmax(330px, 1fr) 78px 78px 220px 24px;
    gap: 12px;
    align-items: center;
    min-height: 52px;
    padding: 10px 14px;
    background: #181818;
    border-bottom: 1px solid #272727;
    position: relative;
}

.nine-thread:last-child {
    border-bottom: 0;
}

.nine-thread:hover {
    background: #1f1f1f;
}

.nine-thread::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--nine-cyan), var(--nine-purple));
    opacity: 0;
}

.nine-thread:hover::before {
    opacity: 1;
}

.nine-thread-status {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(25, 200, 255, 0.13), rgba(139, 92, 246, 0.12));
    border: 1px solid #343434;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nine-thread-status span {
    width: 9px;
    height: 9px;
    border: 2px solid var(--nine-blue);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(77, 127, 255, 0.35);
}

.nine-thread-info {
    min-width: 0;
}

.nine-thread-titleline {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.nine-thread-prefix {
    background: #222222;
    color: #aaaaaa;
    border: 1px solid #333333;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    flex-shrink: 0;
}

.nine-thread-name {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nine-thread-name:hover {
    color: var(--nine-cyan) !important;
}

.nine-thread-sub {
    margin-top: 4px;
    color: #888888;
    font-size: 9.5px;
    font-weight: 600;
}

.nine-thread-sub a {
    color: var(--nine-cyan) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.nine-thread-number {
    text-align: center;
}

.nine-thread-number strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.nine-thread-number span {
    display: block;
    margin-top: 3px;
    color: #9a9a9a;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.nine-thread-latest-post {
    min-width: 0;
    line-height: 1.25;
    font-size: 9.5px;
}

.nine-latest-time {
    display: block;
    color: #dcdcdc !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}

.nine-thread-latest-post span {
    color: #999999;
    font-size: 10px;
}

.nine-thread-latest-post a {
    color: var(--nine-cyan) !important;
    text-decoration: none !important;
    font-weight: 800;
}

.nine-thread-mod {
    display: flex;
    justify-content: flex-end;
}

.nine-thread-mod input[type="checkbox"] {
    width: 13px;
    height: 13px;
    accent-color: var(--nine-blue);
}

/* =========================
   FORUMDISPLAY TOOLS
========================= */

.nine-board-tools {
    margin-top: 14px;
    display: grid;
    gap: 8px;
    justify-content: end;
    color: #aaaaaa;
    font-size: 11px;
}

.nine-board-tool-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.nine-board-tool-row label,
.nine-board-tool-row span {
    font-size: 11px;
    color: #9a9a9a;
    font-weight: 700;
}

.nine-board-tools form,
.nine-board-tools table {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
}

.nine-board-tools select,
.nine-board-tools input.textbox {
    height: 30px !important;
    background: #151515 !important;
    color: #ffffff !important;
    border: 1px solid var(--nine-border) !important;
    border-radius: 4px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
}

.nine-board-tools .button,
.nine-board-tools input.button {
    height: 30px !important;
    background: var(--nine-blue) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

select[name="action"] {
    min-width: 140px;
}

/* =========================
   RANK BADGES
========================= */

.rank-admin::after,
.rank-owner::after,
.rank-mod::after,
.rank-member::after,
.rank-vip::after,
.rank-seller::after,
.rank-trusted::after {
    margin-left: 5px;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
}

.rank-owner::after {
    content: "Owner";
    background: linear-gradient(90deg, var(--nine-cyan), var(--nine-purple));
    color: #ffffff;
}

.rank-admin::after {
    content: "Admin";
    background: var(--nine-blue);
    color: #ffffff;
}

.rank-mod::after {
    content: "Mod";
    background: #22c55e;
    color: #ffffff;
}

.rank-vip::after {
    content: "VIP";
    background: #8b5cf6;
    color: #ffffff;
}

.rank-seller::after {
    content: "Seller";
    background: #f59e0b;
    color: #111111;
}

.rank-trusted::after {
    content: "Trusted";
    background: #19c8ff;
    color: #111111;
}

.rank-member::after {
    content: "Member";
    background: #2b2b2b;
    color: #aaaaaa;
}

/* =========================
   MYBB CLEANUP
========================= */

.tborder {
    background: transparent !important;
    border: 0 !important;
    width: 100% !important;
}

.thead {
    background: #202020 !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--nine-border) !important;
}

.tcat {
    background: #1d1d1d !important;
    color: #aaaaaa !important;
}

.trow1,
.trow2 {
    background: var(--nine-card) !important;
    color: #ffffff !important;
    border-color: var(--nine-border) !important;
}

#logo,
#menu,
#panel,
#search,
.navigation {
    display: none !important;
}

.thread_legend,
.forum_legend,
dl.thread_legend,
dl.forum_legend,
.nine-board .float_left,
.nine-board .float_right {
    display: none !important;
}

#debug,
.debug,
#footer .debug,
#footer ul,
#footer select,
#footer .bottommenu,
#footer .upper,
#footer .lower,
#footer .language,
#footer .theme {
    display: none !important;
}

/* =========================
   FOOTER
========================= */

.nine-nty-clean-footer {
    max-width: 1160px;
    margin: 65px auto 0;
    padding: 28px 18px 48px;
    color: var(--nine-muted);
    text-align: center;
    font-size: 13px;
}

.nine-nty-clean-footer strong {
    background: linear-gradient(90deg, var(--nine-cyan), var(--nine-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nine-nty-clean-footer nav {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.nine-nty-clean-footer nav a {
    color: #aaaaaa !important;
    font-weight: 700;
    text-decoration: none !important;
}

.nine-nty-clean-footer nav a:hover {
    color: #ffffff !important;
}

/* =========================
   FORMS / BUTTONS
========================= */

input.textbox,
textarea,
select {
    background: var(--nine-card-dark) !important;
    color: #ffffff !important;
    border: 1px solid var(--nine-border) !important;
    border-radius: 4px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
}

input.textbox,
select {
    height: 30px !important;
}

textarea {
    padding: 8px !important;
}

button,
.button,
input.button {
    height: 30px !important;
    background: var(--nine-blue) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 4px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer;
}

button:hover,
.button:hover,
input.button:hover {
    background: #5d8bff !important;
}

form[action*="search"] {
    margin: 0 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .nine-nty-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin: 0 auto;
    }

    .nine-nty-sidebar {
        max-width: 760px;
    }

    .nine-board {
        max-width: 760px;
    }

    .nine-threadbox-head {
        grid-template-columns: minmax(260px, 1fr) 68px 68px 180px 24px;
    }

    .nine-thread {
        grid-template-columns: 28px minmax(260px, 1fr) 68px 68px 180px 24px;
    }
}

@media (max-width: 900px) {
    .nine-nty-topbar-inner {
        height: auto;
        min-height: 54px;
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 18px;
    }

    .nine-nty-nav {
        display: none;
    }

    .nine-nty-userbar {
        gap: 12px;
        flex-wrap: wrap;
    }

    .nine-nty-hero {
        padding: 45px 0 38px;
    }

    .nine-nty-hero h1 {
        font-size: 36px;
    }

    .nine-nty-hero p {
        font-size: 18px;
    }

    .nine-nty-hero-actions {
        gap: 14px;
        flex-wrap: wrap;
    }

    .nine-og-forum-row {
        grid-template-columns: 30px 1fr;
        row-gap: 6px;
    }

    .nine-og-counts,
    .nine-og-lastpost {
        grid-column: 2;
        justify-content: flex-start;
    }

    .nine-og-last {
        max-width: 100%;
    }

    .nine-threadbox-head {
        display: none;
    }

    .nine-board-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .nine-thread {
        grid-template-columns: 26px 1fr;
        row-gap: 6px;
    }

    .nine-thread-number,
    .nine-thread-latest-post,
    .nine-thread-mod {
        grid-column: 2;
        text-align: left;
        justify-content: flex-start;
    }

    .nine-thread-number {
        display: inline-block;
        margin-right: 12px;
    }

    .nine-board-tools {
        justify-content: stretch;
    }

    .nine-board-tool-row,
    .nine-board-tools form,
    .nine-board-tools table {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .nine-nty-page {
        padding: 0 12px 40px;
    }

    .nine-nty-hero h1 {
        font-size: 30px;
    }

    .nine-nty-hero p {
        font-size: 15px;
    }

    .nine-nty-btn {
        height: 32px;
        padding: 0 18px;
        font-size: 13px;
    }

    .nine-og-forum-row {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .nine-og-status {
        display: none;
    }

    .nine-og-counts,
    .nine-og-lastpost {
        grid-column: auto;
    }

    .nine-thread {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .nine-thread-status {
        display: none;
    }

    .nine-thread-number,
    .nine-thread-latest-post,
    .nine-thread-mod {
        grid-column: auto;
    }
}



/* =========================
   9NTY OG-INSPIRED POSTBIT
========================= */

.nine-post-list {
    display: grid;
    gap: 18px;
}

.nine-post-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    background: #1b1b1b;
    border: 1px solid #292929;
    border-radius: 9px;
    overflow: hidden;
}

.nine-post-user {
    background: #181818;
    border-right: 1px solid #292929;
    padding: 16px 14px;
    text-align: center;
}

.nine-post-user-top {
    margin-bottom: 10px;
}

.nine-post-name {
    color: #19c8ff !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none !important;
}

.nine-post-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #202020;
    border: 1px solid #333;
}

.nine-post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nine-post-title {
    background: #141414;
    border: 1px solid #242424;
    border-radius: 5px;
    padding: 7px 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 12px;
}

.nine-post-rankline {
    margin: 10px 0 14px;
}

.nine-post-rankline img {
    max-width: 140px;
    height: auto;
}

.nine-post-stats {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.nine-post-stats div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #141414;
    border: 1px solid #242424;
    border-radius: 5px;
    padding: 8px 9px;
}

.nine-post-stats span {
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 700;
}

.nine-post-stats strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.nine-post-main {
    min-width: 0;
    background: #1b1b1b;
}

.nine-post-meta {
    min-height: 42px;
    padding: 0 16px;
    background: #202020;
    border-bottom: 1px solid #292929;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nine-post-meta-left {
    display: flex;
    gap: 12px;
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 800;
}

.nine-post-id {
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

.nine-post-message {
    min-height: 260px;
    padding: 22px 18px;
    color: #e8e8e8;
    font-size: 13px;
    line-height: 1.6;
}

.nine-post-message a {
    color: #19c8ff !important;
    font-weight: 800;
}

.nine-post-actions {
    padding: 12px 16px;
    background: #181818;
    border-top: 1px solid #292929;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.nine-post-actions a,
.nine-post-actions .button,
.nine-post-actions input.button {
    height: 28px !important;
    padding: 0 10px !important;
    background: #222 !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    color: #dddddd !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nine-post-actions a:hover,
.nine-post-actions .button:hover,
.nine-post-actions input.button:hover {
    background: #4d7fff !important;
    border-color: #4d7fff !important;
    color: #ffffff !important;
}

/* Hide old MyBB postbit leftovers */
.postbit,
.postbit_classic,
.post_author,
.post_content,
.post_head,
.post_body {
    background: transparent !important;
}

/* Mobile */
@media (max-width: 800px) {
    .nine-post-card {
        grid-template-columns: 1fr;
    }

    .nine-post-user {
        border-right: 0;
        border-bottom: 1px solid #292929;
    }

    .nine-post-avatar {
        width: 90px;
        height: 90px;
    }

    .nine-post-message {
        min-height: 160px;
    }
}


/* =========================
   9NTY SHOWTHREAD FINAL POLISH
========================= */

.nine-showthread {
    max-width: 1120px;
}

.nine-thread-head {
    margin-top: 18px;
    margin-bottom: 12px;
}

.nine-thread-head h1 {
    font-size: 30px;
}

.nine-thread-tools-top {
    background: #1b1b1b;
    border: 1px solid var(--nine-border);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    color: #9a9a9a;
    font-size: 11px;
}

.nine-post-card {
    grid-template-columns: 210px minmax(0, 1fr);
    border-radius: 7px;
}

.nine-post-user {
    padding: 18px 16px;
}

.nine-post-name {
    color: #ff3b3b !important;
    font-size: 15px;
}

.nine-post-avatar {
    width: 130px;
    height: 130px;
    border-radius: 7px;
    border: 1px solid #383838;
}

.nine-post-title {
    margin-top: 12px;
    background: #141414;
    border: 1px solid #292929;
    color: #ffffff;
}

.nine-post-stats div {
    background: #141414;
    border-color: #292929;
}

.nine-post-meta {
    min-height: 44px;
}

.nine-post-message {
    min-height: 300px;
    padding: 24px 20px;
    font-size: 13px;
}

.nine-post-actions {
    min-height: 42px;
}

.nine-thread-bottom {
    background: #1b1b1b;
    border: 1px solid var(--nine-border);
    border-radius: 6px;
    padding: 12px 14px;
    margin-top: 16px;
}

.nine-thread-browsing {
    background: #1b1b1b;
    border: 1px solid var(--nine-border);
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 12px;
}

.nine-thread-bottom input.textbox {
    width: 180px;
}

.nine-thread-bottom select {
    min-width: 140px;
}

@media (max-width: 800px) {
    .nine-post-card {
        grid-template-columns: 1fr;
    }

    .nine-post-avatar {
        width: 96px;
        height: 96px;
    }
}