﻿/* =========================================================
   Classic KO / vBulletin-style Forum (dark theme)
   Inspired by NTT forum layout + official assets
   ========================================================= */

html body.forum-page,
html body.forum-page.blog-style,
html body.forum-page.ranking-page,
html body.blog-style.ranking-page.forum-page {
    background-color: #1f1f1f !important;
    background-image: url('../images/bg/forum_bg.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: auto !important;
    background-attachment: scroll !important;
}

/* Beramus-style custom mouse cursor */
body.forum-page,
body.forum-page a,
body.forum-page button,
body.forum-page input,
body.forum-page select,
body.forum-page textarea,
body.forum-standalone,
body.forum-standalone a,
body.forum-standalone button,
body.forum-standalone input,
body.forum-standalone select,
body.forum-standalone textarea {
    cursor: url('../cursors/Cursor_Human.cur'), default !important;
}

/* About featured cards (Beramus-style 4-up) */
.ko-featured {
    display: block;
    margin: 16px 0 20px;
}
.ko-featured h2 {
    position: relative;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0 12px;
    margin: 0 0 16px;
    letter-spacing: .3px;
}
.ko-featured h2::after {
    content: "";
    position: absolute;
    display: block;
    bottom: -8px;
    left: 12px;
    width: 56px;
    height: 3px;
    background: #c41e3a;
    border-radius: 2px;
}
.ko-featured-content {
    display: flex;
    flex-wrap: wrap;
    padding: 4px;
    margin: 0 -6px;
}
.ko-featured-container {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding: 6px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .ko-featured-container {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (min-width: 1025px) {
    .ko-featured-container {
        flex: 0 0 25%;
        max-width: 25%;
        padding: 10px;
    }
}
.ko-featured-item {
    position: relative;
    height: 280px;
    padding: 3px;
    border: 3px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .3s ease-out;
    box-sizing: border-box;
}
.ko-featured-item::before,
.ko-featured-item::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 3px;
    width: calc(100% - 6px);
    pointer-events: none;
    border-radius: 6px;
    transition: .4s ease-out;
    z-index: 5;
}
.ko-featured-item::before {
    background: linear-gradient(0deg, #0f0f0f, rgba(255,255,255,0));
    height: 100%;
    opacity: 1;
}
.ko-featured-item::after {
    background: linear-gradient(0deg, #c41e3a 0, transparent 100%);
    height: 0;
    opacity: 0;
}
.ko-featured-item:hover {
    border-color: #c41e3a;
}
.ko-featured-item:hover::before {
    opacity: 0;
}
.ko-featured-item:hover::after {
    height: 100%;
    opacity: .75;
}
.ko-featured-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #141414;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    text-decoration: none !important;
    position: relative;
}
.ko-featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    z-index: 6;
    box-sizing: border-box;
}
.ko-featured-info h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
    line-height: 1.25;
}
.ko-featured-info p {
    color: #eee;
    font-size: 12px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
@media (max-width: 767px) {
    .ko-featured-item { height: 220px; }
    .ko-featured-info h4 { font-size: 14px; }
}

/* Açılış sayacı — forum dark/red tema */
.ko-countdown {
    background: linear-gradient(#1a1a1a, #121212);
    border: 1px solid #2e2e2e;
    border-top: 2px solid #c41e3a;
    border-radius: 4px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.55);
    margin: 0 0 16px;
}
.ko-countdown-title {
    color: #e8e8e8;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 0 6px rgba(196, 30, 58, 0.35);
}
.ko-countdown-blocks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ko-countdown-box {
    background: linear-gradient(#222222, #141414);
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 8px 15px;
    min-width: 65px;
    box-shadow: inset 0 0 10px rgba(196, 30, 58, 0.08);
    box-sizing: border-box;
}
.ko-countdown-box span {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    font-family: Arial, sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}
.ko-countdown-label {
    color: #c41e3a;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 2px;
}
.ko-countdown-sep {
    color: #555555;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
@media (max-width: 480px) {
    .ko-countdown-box { min-width: 54px; padding: 6px 10px; }
    .ko-countdown-box span { font-size: 22px; }
    .ko-countdown-sep { font-size: 20px; margin-bottom: 12px; }
}

/* Ãœst katmanlar arka planÄ± kapatmasÄ±n */
body.forum-page .content-wrapper,
body.forum-page .content-wrapper.container-fluid,
body.forum-page .ranking-section,
body.forum-page.blog-style .content-wrapper {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

body.forum-page .main-wrapper {
    max-width: 1100px;
}

body.forum-page .ranking-box {
    background: rgba(18, 18, 18, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55) !important;
    border-radius: 4px;
    padding: 14px 16px 20px !important;
}

body.forum-page .ranking-box-title {
    display: none !important;
}

.ko-forum {
    color: #333333;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.ko-forum a {
    color: #004879;
    text-decoration: none;
}

.ko-forum a:hover {
    color: #ae2007;
    text-decoration: underline;
}

/* Page title */
.ko-pagetitle {
    margin: 0 0 14px;
    padding: 0 2px;
}

.ko-pagetitle h1 {
    margin: 0 0 4px;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.2px;
    font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
    text-shadow: none;
}

.ko-pagetitle .description {
    margin: 0;
    color: #666666;
    font-size: 12px;
    text-shadow: none;
}

/* Breadcrumb */
.ko-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 8px 10px;
    background: #ffffff url('../images/misc/breadcrumb_bg.png') repeat-x bottom;
    border: 1px solid #eeeeee;
    border-radius: 3px;
    color: #111111;
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 1px 0 #eeeeee;
}

.ko-breadcrumb a {
    color: #111111;
    font-weight: 700;
}

.ko-breadcrumb a:hover {
    color: #444444;
    text-decoration: none;
}

.ko-bc-sep {
    display: inline-block;
    width: 9px;
    height: 12px;
    margin: 0 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='12'%3E%3Cpath d='M2 2.5L6.5 6 2 9.5V7H.5V5H2Z' fill='%23c4c4c4' stroke='%23838383' stroke-width='.7'/%3E%3C/svg%3E") center no-repeat;
    flex-shrink: 0;
}

.ko-breadcrumb > a:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ko-breadcrumb > a:first-child::before {
    content: '';
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M2.5 6.5V12h3V8.5h3V12h3V6.5L7 2.5Z' fill='%23d4d4d4' stroke='%23838383' stroke-width='.8'/%3E%3Cpath d='M.8 6.8L7 1.5l6.2 5.3' fill='none' stroke='%23838383' stroke-width='1.2'/%3E%3C/svg%3E") center no-repeat;
}

.ko-postbit-head-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ko-post-actions {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    background: transparent;
}

.ko-react-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 4px 8px 4px 0;
}

.ko-edit-btn {
    border: none;
    background: transparent;
    color: #6b7280;
    border-radius: 0;
    padding: 5px 2px;
    font-size: 12px;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color 0.12s ease, box-shadow 0.12s ease;
}

.ko-edit-btn:hover {
    background: transparent;
    color: #004879;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 #004879;
}

.ko-edited-note {
    padding: 0 14px 10px;
    color: #9ca3af;
    font-size: 11px;
    font-style: italic;
}

.ko-recent-box {
    margin-top: 16px;
    border: 1px solid #c8c8c8;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.ko-recent-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #ececec;
    border-bottom: 1px solid #ddd;
}

.ko-recent-head h2 {
    margin: 0;
    font-size: 13px;
    color: #333;
}

.ko-recent-head a {
    color: #004879;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

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

.ko-recent-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.ko-recent-list li:last-child { border-bottom: none; }

.ko-recent-list a {
    color: #333;
    text-decoration: none;
    min-width: 0;
}

.ko-recent-list a:hover { color: #004879; }
.ko-recent-list span { color: #999; white-space: nowrap; font-size: 11px; }

.ko-activity-list,
.ko-notif-list {
    border: 1px solid #c8c8c8;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.ko-activity-item,
.ko-notif-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.ko-activity-item:last-child,
.ko-notif-item:last-child { border-bottom: none; }

.ko-notif-item:hover { background: #f8fafc; }
.ko-notif-item.is-unread { background: #eff6ff; }

.ko-activity-icon,
.ko-notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2f7;
    color: #4b6b8a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ko-activity-top,
.ko-notif-top {
    font-size: 12px;
    margin-bottom: 3px;
    color: #444;
}

.ko-activity-kind {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #1d4ed8;
    background: #e0e7ff;
    border-radius: 10px;
    padding: 1px 7px;
    margin-right: 6px;
}

.ko-activity-title,
.ko-notif-title {
    color: #004879;
    font-weight: 700;
    text-decoration: none;
}

.ko-activity-snippet,
.ko-notif-snippet {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.ko-activity-foot,
.ko-notif-foot {
    font-size: 11px;
    color: #999;
}

.ko-activity-foot a { color: #004879; text-decoration: none; }

.ko-notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    position: absolute;
    right: 14px;
    top: 18px;
}

.ko-quote-btn {
    border: none;
    background: transparent;
    color: #6b7280;
    border-radius: 0;
    padding: 5px 2px;
    font-size: 12px;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color 0.12s ease, box-shadow 0.12s ease;
}

.ko-quote-btn i {
    margin-right: 4px;
    font-size: 11px;
}

.ko-quote-btn:hover {
    background: transparent;
    color: #1d4ed8;
    box-shadow: inset 0 -2px 0 #1d4ed8;
}

/* Locked forum quote embed (non-editable in editor) */
.ko-quote-embed,
.ko-postbit-content .ko-quote-embed,
.fe-preview .ko-quote-embed,
.fe-editor .ql-editor .ko-quote-embed {
    margin: 12px 0;
    padding: 0;
    border: 1px solid #d5dbe3;
    border-left: 4px solid #3b82f6;
    background: #f4f7fb;
    border-radius: 0 6px 6px 0;
    color: #374151;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.fe-editor .ql-editor .ko-quote-embed {
    pointer-events: none;
}

.ko-quote-embed .ko-quote-head {
    margin: 0;
    padding: 7px 12px;
    background: #e8eef6;
    border-bottom: 1px solid #d5dbe3;
    font-size: 11px;
    color: #4b6b8a;
    font-weight: 600;
}

.ko-quote-embed .ko-quote-head a {
    color: #2563eb;
    text-decoration: none;
    margin-left: 4px;
    pointer-events: auto;
}

.ko-quote-embed .ko-quote-body {
    margin: 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #1f2937;
    font-style: normal;
    white-space: pre-wrap;
    word-break: break-word;
}

.ko-quote-embed .ko-quote-head strong {
    color: #1e3a5f;
}

/* Forum quote blocks (legacy blockquote) */
.ko-postbit-content blockquote,
.fe-preview blockquote,
.fe-editor .ql-editor blockquote {
    margin: 12px 0;
    padding: 0;
    border: 1px solid #d5dbe3;
    border-left: 4px solid #3b82f6;
    background: #f4f7fb;
    border-radius: 0 6px 6px 0;
    color: #374151;
    quotes: none;
}

.ko-postbit-content blockquote > p:first-child,
.fe-preview blockquote > p:first-child,
.fe-editor .ql-editor blockquote > p:first-child {
    margin: 0;
    padding: 7px 12px;
    background: #e8eef6;
    border-bottom: 1px solid #d5dbe3;
    font-size: 11px;
    color: #4b6b8a;
    font-weight: 600;
}

.ko-postbit-content blockquote > p:first-child a,
.fe-preview blockquote > p:first-child a {
    color: #2563eb;
    text-decoration: none;
    margin-left: 4px;
}

.ko-postbit-content blockquote > p:not(:first-child),
.fe-preview blockquote > p:not(:first-child),
.fe-editor .ql-editor blockquote > p:not(:first-child) {
    margin: 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #1f2937;
    font-style: normal;
}

.ko-postbit-content blockquote strong {
    color: #1e3a5f;
}

.ko-search-form {
    display: flex;
    gap: 8px;
    margin: 0 0 14px;
    flex-wrap: wrap;
}

.ko-search-form input[type="text"] {
    flex: 1;
    min-width: 180px;
    background: #fff;
    border: 1px solid #bbb;
    color: #222;
    padding: 9px 10px;
    border-radius: 2px;
    font-size: 13px;
}

.ko-search-meta {
    margin-bottom: 12px;
    color: #666;
    font-size: 12px;
}

.ko-search-list {
    border: 1px solid #c8c8c8;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.ko-search-item {
    padding: 12px 14px;
    border-bottom: 1px solid #e6e6e6;
}

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

.ko-search-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.ko-search-title {
    color: #004879;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.ko-search-title:hover {
    text-decoration: underline;
}

.ko-search-tag {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    background: #eef2f7;
    color: #456;
    font-weight: 700;
}

.ko-search-snippet {
    color: #444;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 6px;
}

.ko-search-foot {
    color: #888;
    font-size: 11px;
}

.ko-search-foot a {
    color: #004879;
    text-decoration: none;
}

.ko-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ko-toolbar-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.ko-userchip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #445566;
    font-weight: 700;
    font-size: 11px;
}

/* Buttons â€” NTT / vBulletin style */
.ko-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #000000;
    border: 1px solid #273037;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.ko-btn:hover {
    background: #273037;
    color: #ffffff !important;
    text-decoration: none !important;
}

.ko-btn-primary {
    background: #273037 url('../images/misc/head_bg.png') repeat-x top;
    border-color: #273037;
    color: #d0d0d0 !important;
}

.ko-btn-primary:hover {
    background: #334650 url('../images/misc/head_bg.png') repeat-x top;
    color: #ffffff !important;
}

.ko-btn-danger {
    background: linear-gradient(180deg, #8a2a22 0%, #5a1812 100%);
    border-color: #b04035;
    color: #ffd0c8 !important;
}

.ko-btn-xs {
    padding: 3px 8px;
    font-size: 10px;
}

/* Quick Links table */
.ko-quicklinks {
    margin: 0 0 14px;
    border: 1px solid #cfd6de;
    border-bottom: 3px solid #c41e3a;
    border-radius: 3px;
    overflow: hidden;
    background: #ffffff;
}
.ko-quicklinks table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.ko-quicklinks th,
.ko-quicklinks td {
    border: 1px solid #dce3ea;
    padding: 8px 10px;
    vertical-align: middle;
}
.ko-quicklinks thead th {
    text-align: center;
    font: 700 13px Tahoma, Arial, sans-serif;
    background: #f4f7fb;
    padding: 10px;
}
.ko-quicklinks thead th:nth-child(1),
.ko-quicklinks thead th:nth-child(2) {
    color: #c45c00;
}
.ko-quicklinks thead th:nth-child(3) {
    color: #0a8a45;
}
.ko-quicklinks tbody td {
    background: #ffffff;
}
.ko-quicklinks tbody td a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e3a5f;
    text-decoration: none;
    font: 700 12px Tahoma, Arial, sans-serif;
}
.ko-quicklinks tbody td a:hover {
    color: #004879;
    text-decoration: none;
}
.ko-quicklinks .ko-ql-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: auto;
}
.ko-quicklinks .ko-ql-action {
    text-align: center;
}
.ko-quicklinks .ko-ql-action a {
    justify-content: center;
    gap: 6px;
}
.ko-quicklinks .ko-ql-action .tr {
    color: #0a8a45;
}
.ko-quicklinks .ko-ql-action .sep {
    color: #8899aa;
}
.ko-quicklinks .ko-ql-action .en {
    color: #1d7eb5;
}
.ko-quicklinks tbody tr:hover td {
    background: #f4f7fb;
}

@media (max-width: 720px) {
    .ko-quicklinks table,
    .ko-quicklinks thead,
    .ko-quicklinks tbody,
    .ko-quicklinks th,
    .ko-quicklinks td,
    .ko-quicklinks tr {
        display: block;
        width: 100%;
    }
    .ko-quicklinks thead {
        display: none;
    }
    .ko-quicklinks tbody tr {
        border-bottom: 1px solid #dce3ea;
        padding: 6px 0;
    }
    .ko-quicklinks tbody td {
        border: none;
        padding: 5px 10px;
    }
    .ko-quicklinks .ko-ql-action {
        text-align: left;
        padding-bottom: 10px;
    }
}

/* Home latest tabs (EvaluateKO-style) */
.ko-latest {
    margin: 0 0 14px;
    border: 1px solid #cfd6de;
    border-radius: 3px;
    background: #ffffff;
    overflow: hidden;
}
.ko-latest-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    padding: 0 8px;
    background: #f4f7fb;
    border-bottom: 1px solid #dce3ea;
}
.ko-latest-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: flex-start;
    width: 100%;
}
.ko-latest-tab {
    appearance: none;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #6b7c8c;
    font: 700 12px Tahoma, Arial, sans-serif;
    padding: 12px 14px 10px;
    border-radius: 0;
    cursor: pointer;
    margin-bottom: -1px;
    position: relative;
    transition: color .15s ease, border-color .15s ease;
}
.ko-latest-tab i {
    margin-right: 5px;
    opacity: 0.85;
}
.ko-latest-tab:hover {
    color: #1e3a5f;
    background: transparent;
}
.ko-latest-tab.is-active {
    color: #004879;
    background: transparent;
    border-bottom-color: #c41e3a;
}
.ko-latest-tab.is-active i {
    color: #c41e3a;
}
.ko-latest-panel {
    display: none;
}
.ko-latest-panel.is-active {
    display: block;
}
.ko-latest-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.ko-latest-table th,
.ko-latest-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e6ebf0;
    font: 12px Tahoma, Arial, sans-serif;
    vertical-align: middle;
}
.ko-latest-table thead th {
    text-align: left;
    color: #5a6b7a;
    background: #f8fafc;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
    vertical-align: middle;
}
.ko-latest-table thead th i {
    display: inline-block;
    margin-right: 5px;
    opacity: 0.85;
    color: #c41e3a;
    vertical-align: -1px;
}
.ko-latest-table tbody tr:hover td {
    background: #f4f7fb;
}
.ko-latest-table .col-topic {
    width: 30%;
}
.ko-latest-table .col-forum {
    width: 15%;
}
.ko-latest-table .col-num {
    width: 10%;
    text-align: center;
    color: #445566;
    white-space: nowrap;
}
.ko-latest-table .col-views {
    width: 13%;
}
.ko-latest-table .col-date {
    width: 12%;
    color: #778899;
    white-space: nowrap;
}
.ko-latest-table .col-user {
    width: 10%;
    color: #334455;
    white-space: nowrap;
}
.ko-latest-table .col-topic a,
.ko-latest-table .col-forum a {
    color: #004879;
    text-decoration: none;
    font-weight: 700;
}
.ko-latest-table .col-topic a:hover,
.ko-latest-table .col-forum a:hover {
    color: #ae2007;
    text-decoration: underline;
}
.ko-latest-table .col-forum a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    color: #5a6b7a;
    min-width: 0;
    max-width: 100%;
}
.ko-latest-table .col-forum a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ko-latest-forum-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.ko-latest-empty {
    text-align: center;
    color: #8899aa;
    padding: 18px 10px !important;
}

@media (max-width: 820px) {
    .ko-latest-table .col-forum,
    .ko-latest-table .col-date {
        display: none;
    }
    .ko-latest-table .col-topic {
        width: auto;
    }
}

/* Notice */
.ko-notice {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #f4f7fb;
    border: 1px solid #d0d8e2;
    border-left: 3px solid #c41e3a;
    color: #334455;
    font-size: 12px;
    border-radius: 2px;
}

.ko-notice a {
    color: #004879;
    font-weight: 700;
}

/* ===== Forum list (home) â€” vBulletin style ===== */
#ko-forums {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ko-forumhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eef2f7;
    border: 1px solid #cfd6de;
    border-bottom: 1px solid #c5ced8;
    color: #1e3a5f;
    padding: 8px 12px;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
}

.ko-forumhead .ko-forumtitle {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a5f;
    text-transform: none;
    letter-spacing: 0.2px;
}

.ko-forumhead .ko-forumtitle a {
    color: #1e3a5f;
}

.ko-forumhead .ko-forumlastpost {
    font-size: 11px;
    font-weight: 700;
    color: #5a6b7a;
    text-transform: none;
    width: 220px;
    text-align: left;
}

.ko-childforum {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #cfd6de;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    background: #ffffff;
}

.ko-forumrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px 90px 230px;
    gap: 0;
    align-items: stretch;
    background: #f2f2f2 url('../images/misc/tdg_bg.png') repeat-x top;
    border-bottom: 1px solid #dddddd;
    min-height: 72px;
    color: #333;
}

.ko-forumrow:last-child {
    border-bottom: none;
}

.ko-forumrow:hover {
    background-color: #ebebeb;
}

.ko-foruminfo {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    min-width: 0;
}

.ko-forumicon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    display: block;
    padding: 0;
    position: static;
}

.ko-forumicon img {
    width: 48px;
    height: 48px;
    display: block;
}

.ko-forumicon::after {
    display: none;
}

.ko-forumdata h2 {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.25;
}

.ko-forumdata h2 a {
    color: #004879;
}

.ko-forumdata h2 a:hover {
    color: #ae2007;
    text-decoration: underline;
}

.ko-forumdescription {
    margin: 0;
    color: #555;
    font-size: 11px;
    line-height: 1.4;
}

.ko-staffbadge {
    display: inline-block;
    margin-top: 5px;
    padding: 1px 6px;
    background: #273037;
    border: 1px solid #444;
    color: #d0d0d0;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 2px;
}

.ko-forumstats {
    list-style: none;
    margin: 0;
    padding: 12px 8px;
    border-left: 1px solid #ddd;
    text-align: center;
    color: #555;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.ko-forumstats strong {
    display: block;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.ko-forumlast {
    padding: 12px 14px;
    border-left: 1px solid #ddd;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ko-forumlast .lastlabel {
    display: none;
}

.ko-forumlast .lasttitle {
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    font-size: 11px;
}

.ko-forumlast .lasttitle a {
    color: #004879;
}

.ko-forumlast .lastby {
    color: #666;
    font-size: 11px;
}

.ko-forumlast .lastby strong {
    color: #333;
    font-weight: 700;
}

.ko-empty {
    padding: 28px 16px;
    text-align: center;
    color: #667788;
    border: 1px solid #d0d5db;
    background: #f8fafc;
}

/* ===== Topic list (category) ===== */
.ko-threadhead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px 80px 200px;
    gap: 0;
    background: #eef2f7;
    border: 1px solid #cfd6de;
    border-radius: 5px 5px 0 0;
    color: #1e3a5f;
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
    padding: 0;
}

.ko-threadhead > span {
    padding: 8px 12px;
    border-left: 1px solid rgba(0,0,0,0.25);
}

.ko-threadhead > span:first-child {
    border-left: none;
}

.ko-threadlist {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    background: #fff;
}

.ko-threadrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px 80px 200px;
    gap: 0;
    align-items: center;
    background: #f2f2f2 url('../images/misc/tdg_bg.png') repeat-x top;
    border-bottom: 1px solid #dddddd;
    min-height: 52px;
    text-decoration: none !important;
    color: #333;
}

.ko-threadrow:last-child {
    border-bottom: none;
}

.ko-threadrow:hover {
    background-color: #ebebeb;
}

.ko-threadrow.is-pinned {
    background-color: #efe8d8;
}

.ko-threadinfo {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    min-width: 0;
}

.ko-threadicon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    display: block;
    padding: 0;
}

.ko-threadicon img {
    width: 16px;
    height: 16px;
    display: block;
}

.ko-threadtext {
    min-width: 0;
}

.ko-threadtext .title {
    display: block;
    color: #004879;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ko-threadrow:hover .ko-threadtext .title {
    color: #ae2007;
}

.ko-threadtext .meta {
    display: block;
    margin-top: 2px;
    color: #666;
    font-size: 11px;
}

.ko-tag {
    display: inline-block;
    margin-right: 4px;
    padding: 0 5px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 2px;
    vertical-align: middle;
}

.ko-tag-pin {
    background: #273037;
    color: #d0d0d0;
    border: 1px solid #444;
}

.ko-tag-lock {
    background: #4a2018;
    color: #e8a090;
    border: 1px solid #7a4030;
}

.ko-tag-unpub {
    background: #3a2a10;
    color: #e6c05a;
    border: 1px solid #6a5520;
}

.ko-threadstat {
    text-align: center;
    color: #333;
    font-weight: 700;
    font-size: 12px;
    border-left: 1px solid #ddd;
    padding: 8px 4px;
}

.ko-threadlast {
    border-left: 1px solid #ddd;
    padding: 8px 12px;
    min-width: 0;
    font-size: 11px;
    color: #666;
}

.ko-threadlast strong {
    display: block;
    color: #333;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Showthread / posts ===== */
.ko-thread-titlebar {
    background: #eef2f7;
    border: 1px solid #cfd6de;
    border-radius: 5px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.ko-thread-titlebar h1 {
    margin: 0 0 6px;
    color: #1e3a5f;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.3;
}

.ko-thread-meta {
    color: #5a6b7a;
    font-size: 11px;
}

.ko-thread-meta span {
    margin-right: 12px;
}

.ko-postbit {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    border: 1px solid #c8c8c8;
    background: #fff;
    margin-bottom: 8px;
    border-radius: 3px;
    overflow: hidden;
}

.ko-postbit-user {
    background: #f2f2f2 url('../images/misc/tdg_bg.png') repeat-x top;
    border-right: 1px solid #ddd;
    padding: 12px 10px;
    text-align: center;
}

.ko-postbit-user .name {
    display: block;
    color: #004879;
    font-weight: 700;
    font-size: 12px;
    word-break: break-word;
    margin-bottom: 4px;
}

.ko-postbit-user .role {
    display: block;
    color: #666;
    font-size: 10px;
    margin-bottom: 8px;
}

.ko-postbit-user .role.role-gm {
    display: inline-block;
    margin: 0 auto 8px;
    padding: 3px 9px;
    border-radius: 3px;
    background: #c41e3a;
    color: #fff !important;
    font-weight: 800;
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* EvaluateKO-style GM / admin nick: red + sparkle */
.ko-uname-gm,
.ko-postbit-user.is-gm .name,
.ko-charcard-name.is-gm a,
.ko-charcard-name.is-gm .ko-uname-gm,
.ko-userchip.is-gm .ko-uname-gm {
    color: #e60000 !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px;
    background-image: linear-gradient(
        110deg,
        #b30000 0%,
        #ff1a1a 18%,
        #ff6666 32%,
        #ffffff 48%,
        #ff3333 58%,
        #cc0000 78%,
        #ff4d4d 100%
    );
    background-size: 240% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ko-gm-sparkle 2.6s linear infinite;
    filter: drop-shadow(0 0 2px rgba(255, 30, 30, 0.55));
}
.ko-uname-gm {
    display: inline;
}

/* Admin / GM doğrulanmış rozeti */
.ko-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 3px;
    vertical-align: middle;
    color: #1d9bf0 !important;
    -webkit-text-fill-color: #1d9bf0 !important;
    font-size: 13px;
    line-height: 1;
    filter: none !important;
    animation: none !important;
    background: none !important;
    text-shadow: none !important;
    cursor: help;
}
.ko-verified i {
    color: inherit;
    -webkit-text-fill-color: inherit;
}
.ko-postbit-user .ko-verified {
    font-size: 14px;
    margin-left: 4px;
}
.ko-latest-table .ko-verified,
.ko-topic-row .ko-verified {
    font-size: 12px;
}

@keyframes ko-gm-sparkle {
    0% { background-position: 0% center; }
    100% { background-position: 240% center; }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .ko-uname-gm,
    .ko-postbit-user.is-gm .name,
    .ko-charcard-name.is-gm a,
    .ko-userchip.is-gm .ko-uname-gm {
        color: #e60000 !important;
        -webkit-text-fill-color: #e60000;
        text-shadow: 0 0 6px rgba(255, 40, 40, 0.55), 0 0 1px #fff;
        animation: ko-gm-pulse 1.6s ease-in-out infinite alternate;
        background: none;
        filter: none;
    }
    @keyframes ko-gm-pulse {
        from { text-shadow: 0 0 4px rgba(255, 40, 40, 0.4); }
        to { text-shadow: 0 0 10px rgba(255, 60, 60, 0.85), 0 0 2px #fff; }
    }
}

.ko-charcard-gm {
    margin-bottom: 6px;
    padding: 3px 8px;
    background: #c41e3a;
    border: 1px solid #9e1830;
    border-radius: 3px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ko-gm-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    flex-shrink: 0;
}

.ko-postbit-user.is-gm .ko-avatar {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2), 0 0 0 2px #c41e3a;
}

.ko-avatar-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
}

.ko-avatar {
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid #aaa;
    background: linear-gradient(145deg, #273037, #1a1f24);
    color: #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2);
}

.ko-avatar-badge {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
    background: #1a1510;
    border: 1px solid #273037;
    box-shadow: 0 1px 3px rgba(0,0,0,0.45);
    padding: 2px;
    box-sizing: border-box;
    z-index: 2;
}

.ko-postbit-body {
    padding: 0;
    min-width: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 140px;
}

.ko-postbit-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 6px 12px;
    background: #ececec;
    border-bottom: 1px solid #ddd;
    color: #666;
    font-size: 11px;
    flex-shrink: 0;
}

.ko-postbit-main {
    display: block;
    flex: 1 1 auto;
    min-height: 60px;
    position: relative;
}

.ko-post-title {
    margin: 0;
    padding: 10px 14px 8px;
    border-bottom: 1px solid #ddd;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.ko-postbit-content {
    padding: 14px 14px 16px;
    color: #222;
    font-size: 13px;
    line-height: 1.65;
    word-break: break-word;
}

/* Reaction bar â€” her zaman mesaj kutusunun en altÄ±nda */
.ko-react-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding: 0;
    min-height: 38px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #e3e3e3;
    background: #f7f7f7;
    flex-shrink: 0;
}

.ko-react-wrap.has-reactions {
    justify-content: space-between;
}

.ko-react-wrap:not(.has-reactions) {
    justify-content: flex-end;
}

.ko-react-wrap:not(.has-reactions) .ko-react-actions {
    padding: 4px 10px 4px 0;
}

.ko-react-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 8px 10px 8px 12px;
    border-left: 3px solid #3b82f6;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.3;
}

.ko-react-summary.is-empty,
.ko-react-summary[hidden] {
    display: none !important;
}

.ko-react-icons {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ko-react-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: 12px;
    line-height: 1;
    margin-left: -6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.ko-react-ico:first-child {
    margin-left: 0;
}

.ko-react-ico.r1 { background: #1877f2; border-color: #1877f2; }
.ko-react-names {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ko-react-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #4b5563;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1;
}

.ko-react-btn:hover {
    background: #eef2ff;
    border-color: #93c5fd;
}

.ko-react-btn.is-active {
    background: #eff6ff;
    border-color: #60a5fa;
    color: #1d4ed8;
}

.ko-react-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ko-react-btn.is-busy {
    opacity: 0.7;
    pointer-events: none;
}

.ko-react-btn-emoji {
    font-size: 14px;
    line-height: 1;
}

.ko-react-btn-count {
    font-size: 11px;
    font-weight: 700;
    color: #374151;
}

.ko-react-picker {
    position: absolute;
    right: 8px;
    bottom: calc(100% + 6px);
    display: flex;
    gap: 4px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 20;
}

.ko-react-picker[hidden] {
    display: none !important;
}

.ko-react-pick {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 50%;
    transition: transform 0.12s ease;
}

.ko-react-pick:hover {
    transform: scale(1.25);
    background: #f3f4f6;
}

.ko-react-pick.is-selected {
    background: #dbeafe;
}

/* legacy cleanup */
.ko-thanks-bar,
.ko-thanks-btn,
.ko-thanks-count {
    display: none !important;
}

.ko-charcard {
    margin-top: 10px;
    padding: 8px 6px;
    background: rgba(255,255,255,0.65);
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    text-align: left;
    font-size: 11px;
    color: #333;
    line-height: 1.45;
}

.ko-charcard-empty {
    text-align: center;
    color: #888;
    font-size: 10px;
    font-style: italic;
}

.ko-charcard-name {
    font-weight: 700;
    color: #004879;
    margin-bottom: 5px;
    word-break: break-word;
}

.ko-charcard-name a {
    color: #004879;
    text-decoration: none;
}

.ko-charcard-name a:hover {
    text-decoration: underline;
}

.ko-charcard-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}

.ko-charcard-stat {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #e0e0e0;
}

.ko-charcard-stat span { color: #777; }
.ko-charcard-stat strong { color: #222; }

.ko-charcard-guild {
    margin-top: 5px;
    padding: 3px 5px;
    background: #ece6d8;
    border: 1px solid #d2c7a8;
    border-radius: 2px;
    color: #5a4a28;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    word-break: break-word;
}

.ko-quickreply {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
}

.ko-quickreply h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.ko-form label {
    display: block;
    margin-bottom: 5px;
    color: #444;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.ko-form .field {
    margin-bottom: 12px;
    max-width: 100%;
    min-width: 0;
}

.ko-form input,
.ko-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #bbb;
    color: #222;
    padding: 9px 10px;
    border-radius: 2px;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 12px;
    outline: none;
}

.ko-form input[type="file"].fe-file-input,
.ko-form .fe-file-input {
    display: none !important;
}

.ko-form input:focus,
.ko-form textarea:focus {
    border-color: #004879;
    box-shadow: 0 0 0 1px rgba(0, 72, 121, 0.2);
}

.ko-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.ko-modbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.ko-mod-menu {
    position: relative;
    display: inline-block;
}

.ko-mod-menu > summary {
    list-style: none;
    cursor: pointer;
}

.ko-mod-menu > summary::-webkit-details-marker {
    display: none;
}

.ko-mod-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #273037;
    border: 1px solid #111;
    border-radius: 4px;
    color: #d0d0d0;
    font: 700 11px Tahoma, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    user-select: none;
}

.ko-mod-menu-btn:hover,
.ko-mod-menu[open] > .ko-mod-menu-btn {
    background: #000;
    color: #fff;
}

.ko-mod-menu-btn-sm {
    padding: 3px 8px;
    font-size: 12px;
    background: #ececec;
    border-color: #ccc;
    color: #555;
    text-transform: none;
}

.ko-mod-menu-btn-sm:hover,
.ko-mod-menu[open] > .ko-mod-menu-btn-sm {
    background: #ddd;
    color: #111;
}

.ko-mod-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    min-width: 180px;
    background: #fff;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    overflow: hidden;
}

.ko-mod-menu-form {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 4px 0;
}

.ko-mod-menu-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    color: #333;
    text-align: left;
    padding: 9px 14px;
    font: 600 12px Tahoma, Arial, sans-serif;
    cursor: pointer;
}

.ko-mod-menu-form button:hover {
    background: #eef2f7;
    color: #004879;
}

.ko-mod-menu-form button.is-danger {
    color: #ae2007;
    border-top: 1px solid #eee;
    margin-top: 2px;
}

.ko-mod-menu-form button.is-danger:hover {
    background: #fff1f0;
    color: #8a1805;
}

.ko-mod-menu-inline {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.ko-mod-inline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 10px 0 0;
}

.ko-mod-inline button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #333;
    padding: 4px 4px;
    font: 600 12px Tahoma, Arial, sans-serif;
    cursor: pointer;
    border-radius: 0;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color 0.12s ease, box-shadow 0.12s ease;
}

.ko-mod-inline button:hover {
    background: transparent;
    color: #004879;
    box-shadow: inset 0 -2px 0 #004879;
}

.ko-mod-inline button.is-danger {
    color: #ae2007;
}

.ko-mod-inline button.is-danger:hover {
    background: transparent;
    color: #8a1805;
    box-shadow: inset 0 -2px 0 #ae2007;
}

.ko-composer-wrap {
    border: 1px solid #c8c8c8;
    background: #f7f7f7;
    border-radius: 3px;
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.ko-composer-wrap .ko-form {
    max-width: 100%;
    min-width: 0;
}

.ko-lastpost-btn {
    vertical-align: middle;
    margin-left: 4px;
}

@media (max-width: 860px) {
    .ko-forumrow,
    .ko-threadhead,
    .ko-threadrow {
        grid-template-columns: minmax(0, 1fr) 70px 70px;
    }

    .ko-forumhead .ko-forumlastpost,
    .ko-forumlast,
    .ko-threadhead > span:last-child,
    .ko-threadlast {
        display: none;
    }

    .ko-postbit {
        grid-template-columns: 1fr;
    }

    .ko-postbit-user {
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid #2e2922;
    }

    .ko-avatar-wrap {
        margin: 0;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .ko-avatar {
        margin: 0;
        width: 42px;
        height: 42px;
        font-size: 13px;
    }

    .ko-avatar-badge {
        width: 16px;
        height: 16px;
        right: -4px;
        bottom: -4px;
        padding: 1px;
    }
}

/* ===== Dark theme (body.forum-theme-dark ile aktif) ===== */
body.forum-theme-dark .ko-forum {
    color: #c8c2b8;
}
body.forum-theme-dark .ko-forum a {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-forum a:hover {
    color: #ffffff;
}

body.forum-theme-dark .ko-quicklinks {
    background: #1a1a1a;
    border-color: #2e2e2e;
}
body.forum-theme-dark .ko-quicklinks th,
body.forum-theme-dark .ko-quicklinks td {
    border-color: #3c4753;
}
body.forum-theme-dark .ko-quicklinks thead th {
    background: #141414;
}
body.forum-theme-dark .ko-quicklinks thead th:nth-child(1),
body.forum-theme-dark .ko-quicklinks thead th:nth-child(2) {
    color: #ff8c00;
}
body.forum-theme-dark .ko-quicklinks thead th:nth-child(3) {
    color: #2ee67a;
}
body.forum-theme-dark .ko-quicklinks tbody td {
    background: #1a1a1a;
}
body.forum-theme-dark .ko-quicklinks tbody td a {
    color: #ffffff;
}
body.forum-theme-dark .ko-quicklinks tbody td a:hover {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-quicklinks .ko-ql-action .tr { color: #2ee67a; }
body.forum-theme-dark .ko-quicklinks .ko-ql-action .sep { color: #ffffff; }
body.forum-theme-dark .ko-quicklinks .ko-ql-action .en { color: #e85a6e; }
body.forum-theme-dark .ko-quicklinks tbody tr:hover td {
    background: #242424;
}

body.forum-theme-dark .ko-latest {
    background: #1a1a1a;
    border-color: #2e2e2e;
}
body.forum-theme-dark .ko-latest-head {
    background: #141414;
    border-bottom-color: #2e2e2e;
}
body.forum-theme-dark .ko-latest-tab {
    color: #999999;
}
body.forum-theme-dark .ko-latest-tab:hover {
    color: #d7e6ef;
}
body.forum-theme-dark .ko-latest-tab.is-active {
    color: #ffffff;
    border-bottom-color: #c41e3a;
}
body.forum-theme-dark .ko-latest-tab.is-active i {
    color: #e85a6e;
}
body.forum-theme-dark .ko-latest-table th,
body.forum-theme-dark .ko-latest-table td {
    border-bottom-color: #2e3843;
}
body.forum-theme-dark .ko-latest-table thead th {
    color: #999999;
    background: #161616;
}
body.forum-theme-dark .ko-latest-table tbody tr:hover td {
    background: #242424;
}
body.forum-theme-dark .ko-latest-table .col-num { color: #cccccc; }
body.forum-theme-dark .ko-latest-table .col-date { color: #999999; }
body.forum-theme-dark .ko-latest-table .col-user { color: #cccccc; }
body.forum-theme-dark .ko-latest-table .col-topic a,
body.forum-theme-dark .ko-latest-table .col-forum a {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-latest-table .col-topic a:hover,
body.forum-theme-dark .ko-latest-table .col-forum a:hover {
    color: #fff;
}
body.forum-theme-dark .ko-latest-table .col-forum a {
    color: #999999;
}
body.forum-theme-dark .ko-latest-empty {
    color: #999999;
}
body.forum-theme-dark .ko-userchip {
    color: #cccccc;
}

body.forum-theme-dark .ko-forumhead {
    background: #1a1a1a;
    border-color: #2e2e2e;
    border-bottom-color: #111111;
    color: #d0d0d0;
}
body.forum-theme-dark .ko-forumhead .ko-forumtitle,
body.forum-theme-dark .ko-forumhead .ko-forumtitle a,
body.forum-theme-dark .ko-forumhead .ko-forumlastpost {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-childforum {
    background: #111111;
    border-color: #2e2e2e;
}

body.forum-theme-dark .ko-threadhead {
    background: #1a1a1a;
    border-color: #2e2e2e;
    color: #d0d0d0;
}
body.forum-theme-dark .ko-thread-titlebar {
    background: #1a1a1a;
    border-color: #2e2e2e;
}
body.forum-theme-dark .ko-thread-titlebar h1 {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-thread-meta {
    color: #9ab0c0;
}

body.forum-theme-dark .ko-breadcrumb {
    background: #141414;
    border-color: #2e2e2e;
    color: #d0d0d0;
    text-shadow: none;
}
body.forum-theme-dark .ko-breadcrumb a {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-breadcrumb a:hover {
    color: #fff;
}
body.forum-theme-dark .ko-bc-sep {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='12'%3E%3Cpath d='M2 2.5L6.5 6 2 9.5V7H.5V5H2Z' fill='%23c41e3a' stroke='%23804048' stroke-width='.7'/%3E%3C/svg%3E") center no-repeat;
}
body.forum-theme-dark .ko-breadcrumb > a:first-child::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M2.5 6.5V12h3V8.5h3V12h3V6.5L7 2.5Z' fill='%23c41e3a' stroke='%23804048' stroke-width='.8'/%3E%3Cpath d='M.8 6.8L7 1.5l6.2 5.3' fill='none' stroke='%23804048' stroke-width='1.2'/%3E%3C/svg%3E") center no-repeat;
}

body.forum-theme-dark .ko-forumrow {
    background: #1a1a1a;
    border-bottom-color: #333333;
    color: #cccccc;
}
body.forum-theme-dark .ko-forumrow:hover {
    background-color: #242424;
}
body.forum-theme-dark .ko-forumdata h2 a {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-forumdata h2 a:hover {
    color: #fff;
}
body.forum-theme-dark .ko-forumdescription {
    color: #999999;
}
body.forum-theme-dark .ko-forumstats,
body.forum-theme-dark .ko-forumlast {
    border-left-color: #333333;
    color: #999999;
}
body.forum-theme-dark .ko-forumstats strong {
    color: #cccccc;
}
body.forum-theme-dark .ko-forumlast .lasttitle a {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-forumlast .lastby {
    color: #888888;
}
body.forum-theme-dark .ko-forumlast .lastby strong {
    color: #cccccc;
}

body.forum-theme-dark .ko-threadlist {
    background: #111111;
    border-color: #2e2e2e;
}
body.forum-theme-dark .ko-threadrow {
    background: #1a1a1a;
    border-bottom-color: #333333;
    color: #cccccc;
}
body.forum-theme-dark .ko-threadrow:hover {
    background-color: #242424;
}
body.forum-theme-dark .ko-threadrow.is-pinned {
    background-color: #222222;
}
body.forum-theme-dark .ko-threadtext .title {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-threadrow:hover .ko-threadtext .title {
    color: #e85a6e;
}
body.forum-theme-dark .ko-threadtext .meta {
    color: #888888;
}
body.forum-theme-dark .ko-threadstat {
    color: #cccccc;
    border-left-color: #333333;
}
body.forum-theme-dark .ko-threadlast {
    border-left-color: #333333;
    color: #999999;
}
body.forum-theme-dark .ko-threadlast strong {
    color: #d0d0d0;
}

body.forum-theme-dark .ko-postbit {
    background: #1a1a1a;
    border-color: #2e2e2e;
}
body.forum-theme-dark .ko-postbit-user {
    background: #141414;
    border-right-color: #333333;
}
body.forum-theme-dark .ko-postbit-user .name {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-postbit-user .role {
    color: #999999;
}
body.forum-theme-dark .ko-postbit-body {
    background: #1a1a1a;
    color: #d0d0d0;
}
body.forum-theme-dark .ko-postbit-head {
    background: #141414;
    border-bottom: 1px solid #333333;
    color: #999999;
}
body.forum-theme-dark .ko-post-title {
    color: #e8eef4;
    border-bottom-color: #333333;
}
body.forum-theme-dark .ko-postbit-content {
    color: #d5dde5;
}
body.forum-theme-dark .ko-postbit-content a {
    color: #e85a6e;
}
body.forum-theme-dark .ko-post-actions {
    background: transparent;
}
body.forum-theme-dark .ko-edit-btn {
    color: #999999;
}
body.forum-theme-dark .ko-edit-btn:hover {
    color: #e0e0e0;
    background: transparent;
    box-shadow: inset 0 -2px 0 #c41e3a;
}
body.forum-theme-dark .ko-quote-btn {
    color: #999999;
}
body.forum-theme-dark .ko-quote-btn:hover {
    color: #e0e0e0;
    background: transparent;
    box-shadow: inset 0 -2px 0 #c41e3a;
}

body.forum-theme-dark .ko-charcard {
    background: #111111;
    border-color: #2e2e2e;
    color: #cccccc;
}
body.forum-theme-dark .ko-charcard-name a {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-charcard-stat span { color: #888888; }
body.forum-theme-dark .ko-charcard-stat strong { color: #cccccc; }
body.forum-theme-dark .ko-charcard-empty {
    background: #111111;
    color: #888888;
    border-color: #2e2e2e;
}
body.forum-theme-dark .ko-charcard-row { color: #999999; }
body.forum-theme-dark .ko-charcard-guild { color: #999999; }

body.forum-theme-dark .ko-quote-embed,
body.forum-theme-dark .ko-postbit-content .ko-quote-embed,
body.forum-theme-dark .fe-preview .ko-quote-embed,
body.forum-theme-dark .fe-editor .ql-editor .ko-quote-embed,
body.forum-theme-dark .ko-postbit-content blockquote {
    background: #1a1a1a !important;
    border-color: #2e2e2e !important;
    border-left-color: #c41e3a !important;
    color: #cccccc !important;
}
body.forum-theme-dark .ko-quote-embed .ko-quote-head {
    background: #141414 !important;
    border-bottom-color: #2e2e2e !important;
    color: #999999 !important;
}
body.forum-theme-dark .ko-quote-embed .ko-quote-head a {
    color: #e0e0e0 !important;
}
body.forum-theme-dark .ko-quote-embed .ko-quote-body {
    color: #d0d0d0 !important;
}
body.forum-theme-dark .ko-quote-embed .ko-quote-head strong {
    color: #e0e0e0 !important;
}
body.forum-theme-dark .ko-postbit-content blockquote > p:first-child,
body.forum-theme-dark .ko-postbit-content blockquote > p:first-child a {
    color: #999999;
}

body.forum-theme-dark .ko-toolbar,
body.forum-theme-dark .ko-pagetitle h1 {
    color: #d0d0d0;
}
body.forum-theme-dark .ko-pagetitle .description {
    color: #999999;
}
body.forum-theme-dark .ko-empty {
    background: #1a1a1a;
    border-color: #2e2e2e;
    color: #999999;
}
body.forum-theme-dark .ko-notice {
    background: rgba(39, 48, 55, 0.85);
    border-color: #2e2e2e;
    color: #cccccc;
}

body.forum-theme-dark .ko-replybox,
body.forum-theme-dark .ko-formbox,
body.forum-theme-dark .ko-editor-wrap {
    background: #1a1a1a;
    border-color: #2e2e2e;
    color: #cccccc;
}
body.forum-theme-dark .ko-formbox input[type="text"],
body.forum-theme-dark .ko-formbox input[type="password"],
body.forum-theme-dark .ko-formbox textarea,
body.forum-theme-dark .ko-replybox input[type="text"],
body.forum-theme-dark .ko-replybox textarea {
    background: #111111;
    border-color: #2e2e2e;
    color: #eee;
}
body.forum-theme-dark .ql-toolbar.ql-snow,
body.forum-theme-dark .ql-container.ql-snow {
    border-color: #2e2e2e !important;
    background: #111111;
    color: #cccccc;
}
body.forum-theme-dark .fe-box .fe-toolbar.ql-toolbar.ql-snow {
    background: #141414 !important;
}
body.forum-theme-dark .ql-editor {
    color: #d5dde5;
    background: #111111;
}
body.forum-theme-dark .ql-snow .ql-stroke { stroke: #999999; }
body.forum-theme-dark .ql-snow .ql-fill { fill: #999999; }
body.forum-theme-dark .ql-snow .ql-picker { color: #999999; }

body.forum-theme-dark .ko-search-box,
body.forum-theme-dark .ko-search-results,
body.forum-theme-dark .ko-search-item {
    background: #1a1a1a;
    border-color: #2e2e2e;
    color: #cccccc;
}
body.forum-theme-dark .ko-search-item:hover,
body.forum-theme-dark .ko-search-item a:hover {
    background: #242424;
}
body.forum-theme-dark .ko-search-item a { color: #d0d0d0; }

body.forum-theme-dark .ko-thanks-bar,
body.forum-theme-dark .ko-reaction-bar {
    background: #141414;
    border-color: #333333;
}

body.forum-theme-dark .ko-composer-wrap,
body.forum-theme-dark .ko-quickreply {
    background: #1a1a1a;
    border-color: #2e2e2e;
    color: #cccccc;
}
body.forum-theme-dark .ko-form label {
    color: #999999;
}
body.forum-theme-dark .ko-form input,
body.forum-theme-dark .ko-form textarea {
    background: #111111;
    border-color: #2e2e2e;
    color: #e8eef4;
}
body.forum-theme-dark .ko-form input:focus,
body.forum-theme-dark .ko-form textarea:focus {
    border-color: #c41e3a;
    box-shadow: 0 0 0 1px rgba(47, 143, 191, 0.25);
}

body.forum-theme-dark .ko-react-wrap {
    background: #141414;
    border-top-color: #333333;
}
body.forum-theme-dark .ko-react-summary {
    color: #999999;
    border-left-color: #c41e3a;
}
body.forum-theme-dark .ko-react-ico {
    background: #1a1a1a;
    border-color: #2e2e2e;
    box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
body.forum-theme-dark .ko-react-btn {
    background: #1a1a1a;
    border-color: #2e2e2e;
    color: #cccccc;
}
body.forum-theme-dark .ko-react-btn:hover {
    background: #242424;
    border-color: #c41e3a;
}
body.forum-theme-dark .ko-react-btn.is-active {
    background: #222222;
    border-color: #c41e3a;
    color: #e0e0e0;
}
body.forum-theme-dark .ko-react-btn-count {
    color: #cccccc;
}
body.forum-theme-dark .ko-react-picker {
    background: #1a1a1a;
    border-color: #2e2e2e;
    box-shadow: 0 8px 24px rgba(0,0,0,0.55);
}
body.forum-theme-dark .ko-react-pick:hover {
    background: #242424;
}
body.forum-theme-dark .ko-react-pick.is-selected {
    background: #222222;
}

body.forum-theme-dark .ko-avatar {
    border-color: #2e2e2e;
}

body.forum-theme-dark .ko-mod-menu-panel {
    background: #141414;
    border-color: #2e2e2e;
    color: #cccccc;
}
body.forum-theme-dark .ko-mod-inline button {
    background: transparent;
    border: none;
    color: #cccccc;
}
body.forum-theme-dark .ko-mod-inline button:hover {
    background: transparent;
    color: #e0e0e0;
    box-shadow: inset 0 -2px 0 #c41e3a;
}
body.forum-theme-dark .ko-mod-inline button.is-danger {
    color: #ef8a7a;
}
body.forum-theme-dark .ko-mod-inline button.is-danger:hover {
    color: #ffb0a4;
    box-shadow: inset 0 -2px 0 #ae2007;
}

@media (max-width: 820px) {
    body.forum-theme-dark .ko-postbit-user {
        border-bottom-color: #333333;
    }
}

