/* Cheatnexus — CheatGlobal tarzi koyu forum */

:root {
    --cg-bg: #121212;
    --cg-bg2: #1a1a1a;
    --cg-bar: #2b2e33;
    --cg-bar2: #353942;
    --cg-line: #3a3f4a;
    --cg-text: #f2f2f2;
    --cg-muted: #a8adb8;
    --cg-green: #2ecc71;
    --cg-green-dim: #27ae60;
    --cg-pink: #ff6eb4;
    /* Site geneli vurgu (logo yesili degil — pembe tema) */
    --cg-brand: #ff6eb4;
    --cg-brand-dim: #d9488f;
    --cg-brand-soft: rgba(255, 110, 180, 0.1);
    --cg-brand-soft2: rgba(255, 110, 180, 0.16);
    --cg-brand-line: rgba(255, 110, 180, 0.42);
    --cg-brand-glow: rgba(255, 110, 180, 0.22);
    --cg-link: #7ab8ff;
    --cg-danger: #e74c3c;
    --cg-warn: #f1c40f;
    --cg-thread-side: #2a2a2a;
    --cg-thread-paper: #f5f5f5;
    --cg-thread-ink: #1a1a1a;
    --cg-accent-blue: #00aaff;
    --cg-radius: 8px;
    --cg-radius-sm: 4px;
    --cg-transition: 0.16s ease;
    --cg-elev-soft: 0 4px 20px rgba(0, 0, 0, 0.28);
    --cg-focus: rgba(122, 184, 255, 0.9);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--cg-focus);
    outline-offset: 2px;
}

html,
body.cg-body {
    margin: 0;
    min-height: 100%;
    background: var(--cg-bg);
    color: var(--cg-text);
    font-family: "Roboto", Tahoma, Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--cg-link);
    text-decoration: none;
    transition: color var(--cg-transition), opacity var(--cg-transition);
}

a:hover {
    text-decoration: underline;
}

.cg-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cg-top {
    background: var(--cg-bg2);
    border-bottom: 1px solid var(--cg-line);
}

.cg-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cg-text);
    text-decoration: none;
}

.cg-logo:hover {
    text-decoration: none;
    opacity: 0.92;
}

.cg-logo-g {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cg-green);
    color: #0a0a0a;
    font-weight: 800;
    font-size: 18px;
    clip-path: polygon(30% 0%, 100% 0%, 100% 70%, 70% 100%, 0% 100%, 0% 30%);
}

.cg-logo-text {
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 18px;
}

.cg-userbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cg-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cg-bar2);
    border: 1px solid var(--cg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--cg-green);
}

.cg-name-pink {
    color: var(--cg-pink);
    font-weight: 600;
    margin-right: 4px;
}

.cg-userbar-panel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--cg-line);
    white-space: nowrap;
}

.cg-userbar-panel:hover {
    text-decoration: none;
    filter: brightness(1.08);
}

.cg-userbar-panel--admin {
    background: rgba(243, 156, 18, 0.15);
    border-color: rgba(243, 156, 18, 0.45);
    color: #f5b041;
}

.cg-userbar-panel--mod {
    background: rgba(93, 173, 226, 0.12);
    border-color: rgba(93, 173, 226, 0.45);
    color: #7ec8eb;
}

.cg-iconbtn {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--cg-line);
    background: var(--cg-bar);
    color: var(--cg-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color var(--cg-transition), border-color var(--cg-transition), color var(--cg-transition);
}

.cg-iconbtn:hover {
    background: var(--cg-bar2);
    border-color: rgba(122, 184, 255, 0.35);
    text-decoration: none;
}

.cg-iconbtn-dim {
    opacity: 0.45;
    pointer-events: none;
}

.cg-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--cg-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-btn-green {
    display: inline-block;
    padding: 8px 14px;
    background: var(--cg-green);
    color: #0a0a0a;
    font-weight: 700;
    border-radius: var(--cg-radius-sm);
    text-decoration: none;
    transition: background-color var(--cg-transition), color var(--cg-transition), filter var(--cg-transition);
}

.cg-btn-green:hover {
    background: var(--cg-green-dim);
    text-decoration: none;
    color: #fff;
    filter: brightness(1.02);
}

.cg-nav {
    background: var(--cg-bar);
    border-bottom: 1px solid #1f1f1f;
}

.cg-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-height: 44px;
}

.cg-nav-link {
    color: var(--cg-muted);
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--cg-radius-sm);
    transition: color var(--cg-transition), background-color var(--cg-transition);
}

.cg-nav-link.is-active,
.cg-nav-link:hover {
    color: var(--cg-text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
}

.cg-nav-link.is-active {
    font-weight: 600;
}

.cg-nav-spacer {
    flex: 1 1 auto;
    min-width: 12px;
}

.cg-nav-end {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.cg-nav-link--staff {
    font-weight: 700;
    font-size: 12px;
}

.cg-nav-link--admin {
    color: #7eb8ff;
}

.cg-nav-link--admin:hover,
.cg-nav-link--admin.is-active {
    color: #b8d9ff;
}

.cg-nav-link--mod {
    color: #c9a8ff;
}

.cg-nav-link--mod:hover,
.cg-nav-link--mod.is-active {
    color: #e4d4ff;
}

.cg-nav-pill {
    padding: 6px 10px;
    background: rgba(46, 204, 113, 0.15);
    color: var(--cg-green);
    border: 1px solid rgba(46, 204, 113, 0.45);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cg-nav-search {
    display: flex;
    align-items: center;
    gap: 0;
}

.cg-nav-search input[type="search"] {
    width: 200px;
    max-width: 42vw;
    border: 1px solid #555;
    background: #fff;
    color: #111;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 3px 0 0 3px;
    font-family: inherit;
    transition: border-color var(--cg-transition), box-shadow var(--cg-transition);
}

.cg-nav-search input[type="search"]:focus-visible {
    border-color: #2a7abf;
    box-shadow: 0 0 0 2px rgba(42, 122, 191, 0.25);
    outline: none;
}

.cg-nav-search button {
    border: 1px solid #555;
    border-left: none;
    background: #eee;
    color: #222;
    padding: 6px 10px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-family: inherit;
    transition: background-color var(--cg-transition), border-color var(--cg-transition);
}

.cg-nav-search button:hover {
    background: #e2e2e2;
}

.cg-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 14px;
    font-size: 11px;
    color: var(--cg-muted);
    border-bottom: 1px solid var(--cg-line);
}

.cg-strip-muted {
    color: #7d8494;
}

.cg-strip-warm {
    background: linear-gradient(90deg, #f9f3dc 0%, #f5edd0 100%);
    color: #2a2a2a;
    border-bottom-color: #e0d4a8;
    font-size: 12px;
}

.cg-strip-dark {
    color: #1f1f1f;
    font-weight: 500;
}

body.cg-body--thread .cg-layout {
    grid-template-columns: 1fr;
    max-width: 1100px;
    margin: 0 auto;
}

body.cg-body--thread .cg-sidebar {
    display: none;
}

body.cg-body--thread .cg-page-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.cg-thread-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 10px;
}

.cg-xf-page {
    display: inline-flex;
    min-width: 32px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid var(--cg-line);
    border-radius: 4px;
    background: var(--cg-bg2);
    color: var(--cg-muted);
    font-size: 12px;
    font-weight: 600;
}

.cg-xf-page.is-active {
    background: var(--cg-accent-blue);
    border-color: var(--cg-accent-blue);
    color: #fff;
}

.cg-xfpost {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 12px;
    border: 1px solid var(--cg-line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--cg-thread-side);
}

.cg-xfside {
    display: table-cell;
    vertical-align: top;
    width: 200px;
    padding: 14px 12px;
    background: var(--cg-thread-side);
    border-right: 1px solid #1f1f1f;
    text-align: center;
}

.cg-xfav {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    border-radius: 6px;
    background: #1e1e1e;
    border: 1px solid #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--cg-accent-blue);
}

.cg-xfname {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--cg-accent-blue);
    margin-bottom: 8px;
}

.cg-xfname:hover {
    color: #4dc4ff;
    text-decoration: none;
}

.cg-xfrank {
    margin: 0 auto 12px;
    max-width: 180px;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(180deg, #1a3a55 0%, #0a62a8 45%, #00aaff 100%);
    border: 1px solid #0d4f7a;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.cg-xfstats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.cg-xfstat {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto;
    gap: 0 6px;
    padding: 6px 8px;
    background: #222;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    text-align: left;
    font-size: 10px;
    color: var(--cg-muted);
}

.cg-xfstat-ic {
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--cg-accent-blue);
    font-size: 12px;
}

.cg-xfstat-lbl {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cg-xfstat-val {
    color: #e8e8e8;
    font-weight: 700;
    font-size: 11px;
}

.cg-xfstars-wrap {
    margin-top: 4px;
}

.cg-xfrepline {
    margin-top: 8px;
    font-size: 11px;
    color: var(--cg-muted);
}

.cg-crumb-thread {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #e8e8e8;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}

.cg-crumb-thread a {
    color: #222;
    font-weight: 600;
}

.cg-xf-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    font-size: 14px;
    line-height: 1;
}

.cg-xf-star {
    color: #444;
}

.cg-xf-star.is-on {
    color: #ffd700;
}

.cg-xfmain {
    display: table-cell;
    vertical-align: top;
    background: var(--cg-thread-paper);
}

.cg-xfbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #eaeaea;
    border-bottom: 1px solid #ccc;
    font-size: 12px;
    color: #555;
}

.cg-xfbar-num {
    font-weight: 700;
    color: #888;
}

.cg-xfbody {
    padding: 14px 16px 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--cg-thread-ink);
    min-height: 80px;
}

.cg-xfbody a {
    color: #0066cc;
}

.cg-xf-actions {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cg-xf-actions .cg-button {
    background: #fff;
    border-color: #bbb;
    color: #222;
}

.cg-xf-actions .cg-button:hover {
    border-color: var(--cg-accent-blue);
}

.cg-banners {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cg-ban {
    height: 56px;
    border-radius: 4px;
    border: 1px solid var(--cg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #fff;
}

.cg-ban-pubg {
    background: linear-gradient(90deg, #1a3d2e, #2ecc71);
}

.cg-ban-val {
    background: linear-gradient(90deg, #3d1a2a, #ff4b6a);
}

.cg-ban-ch {
    background: linear-gradient(90deg, #2a2a1a, #f39c12);
}

.cg-announce {
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 0 14px;
}

.cg-announce-inner {
    background: #fafafa;
    color: #222;
    border-left: 4px solid var(--cg-pink);
    padding: 12px 14px;
    font-size: 12.5px;
    border-radius: 0 var(--cg-radius-sm) var(--cg-radius-sm) 0;
    box-shadow: var(--cg-elev-soft);
    line-height: 1.45;
}

.cg-announce-inner a {
    color: #1565c0;
    font-weight: 600;
    text-decoration: none;
}

.cg-announce-inner a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.cg-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px 32px;
}

.cg-crumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 12px;
    border-bottom: 1px solid var(--cg-line);
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--cg-muted);
}

.cg-crumb-path a {
    color: var(--cg-muted);
}

.cg-crumb-sep {
    margin: 0 6px;
    opacity: 0.5;
}

.cg-pagehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cg-page-title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cg-pagehead-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cg-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--cg-bar2);
    border: 1px solid var(--cg-line);
    color: var(--cg-text);
    border-radius: var(--cg-radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--cg-transition), background-color var(--cg-transition), color var(--cg-transition);
}

.cg-btn-dark:hover {
    border-color: var(--cg-brand-line);
    background: var(--cg-brand-soft);
    text-decoration: none;
}

.cg-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 14px;
    align-items: start;
}

.cg-main {
    min-width: 0;
}

.cg-sidebar {
    position: sticky;
    top: 8px;
}

.cg-ad-slot {
    border: 1px solid var(--cg-line);
    background: var(--cg-bg2);
    border-radius: var(--cg-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.cg-ad-label {
    display: block;
    padding: 4px 8px;
    font-size: 10px;
    color: var(--cg-muted);
    border-bottom: 1px solid var(--cg-line);
}

.cg-ad-inner {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cg-muted);
    font-size: 12px;
}

.cg-ad-inner--text {
    height: auto;
    min-height: 200px;
    max-height: 520px;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 20px 14px;
    color: var(--cg-text);
    font-size: 13px;
    line-height: 1.55;
}

.cg-foot {
    margin-top: 20px;
    padding: 16px 0 8px;
    border-top: 1px solid var(--cg-line);
    font-size: 12px;
    color: var(--cg-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

.cg-auth {
    margin-bottom: 14px;
}

.cg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--cg-line);
    padding-bottom: 6px;
}

.cg-tab {
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--cg-muted);
    border-radius: 4px 4px 0 0;
    border: 1px solid transparent;
    text-decoration: none;
}

.cg-tab:hover {
    color: var(--cg-text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
}

.cg-tab.is-active {
    color: var(--cg-text);
    background: var(--cg-bg2);
    border-color: var(--cg-line);
    border-bottom-color: var(--cg-bg2);
    margin-bottom: -7px;
}

.cg-table-wrap {
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius-sm);
    overflow: auto;
    background: var(--cg-bg2);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.cg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.cg-table thead th {
    text-align: left;
    padding: 10px 8px;
    background: var(--cg-bar);
    color: var(--cg-muted);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--cg-line);
    white-space: nowrap;
}

.cg-table tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--cg-line);
    vertical-align: middle;
}

.cg-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cg-topic-cell {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.cg-mini-av {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 4px;
    background: var(--cg-bar);
    border: 1px solid var(--cg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--cg-green);
    font-size: 14px;
}

.cg-topic-title {
    font-weight: 700;
    color: var(--cg-text);
}

.cg-topic-title a {
    color: var(--cg-text);
}

.cg-topic-title a:hover {
    color: var(--cg-green);
}

.cg-topic-badges {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cg-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cg-badge-free {
    background: #3498db;
    color: #fff;
}

.cg-badge-review {
    background: var(--cg-warn);
    color: #222;
}

.cg-badge-working {
    background: var(--cg-green);
    color: #0a0a0a;
}

.cg-badge-pinned {
    background: #8e44ad;
    color: #fff;
}

.cg-badge-locked {
    background: #d35400;
    color: #fff;
}

.cg-mod-topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    max-width: 420px;
}

.cg-cat-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--cg-bar);
    border: 1px solid var(--cg-line);
    color: var(--cg-muted);
    font-size: 11px;
}

.cg-num {
    color: var(--cg-muted);
    text-align: center;
}

.cg-last {
    color: var(--cg-pink);
    font-weight: 600;
}

.cg-last-sub {
    display: block;
    color: var(--cg-muted);
    font-weight: 400;
    font-size: 11px;
    margin-top: 2px;
}

.cg-muted {
    color: var(--cg-muted);
}

.cg-meta {
    color: var(--cg-muted);
    font-size: 12px;
    margin: 4px 0;
}

.cg-alert {
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid var(--cg-line);
}

.cg-alert-error {
    background: rgba(231, 76, 60, 0.12);
    border-color: rgba(231, 76, 60, 0.45);
    color: #ffb4b4;
}

.cg-alert-ok {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.35);
    color: #c8f5d9;
}

/* Kullanıcı sözleşmesi (kayıt / giriş + terms.php) */
.cg-terms-box {
    margin: 14px 0;
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius-sm);
    overflow: hidden;
    background: #0d0d0d;
}

.cg-terms-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.6;
    color: #d8dce6;
}

.cg-terms-scroll:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(122, 184, 255, 0.22);
}

.cg-terms-doc .cg-terms-lead {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: var(--cg-text);
}

.cg-terms-doc h2.cg-terms-h {
    font-size: 13px;
    margin: 16px 0 8px;
    color: var(--cg-text);
    font-weight: 700;
}

.cg-terms-doc h2.cg-terms-h:first-of-type {
    margin-top: 0;
}

.cg-terms-doc p {
    margin: 0 0 10px;
}

.cg-terms-doc ul {
    margin: 0 0 12px;
    padding-left: 1.25em;
}

.cg-terms-doc li {
    margin-bottom: 6px;
}

.cg-terms-note {
    font-size: 11px;
    color: var(--cg-muted);
    margin: 8px 0 0;
}

.cg-terms-page .cg-terms-doc {
    font-size: 13px;
    line-height: 1.62;
    color: #e2e6ef;
}

.cg-terms-page .cg-terms-doc h2.cg-terms-h {
    font-size: 14px;
    margin-top: 20px;
}

.cg-rules-doc a {
    color: var(--cg-link);
    font-weight: 600;
}

.cg-panel {
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius-sm);
    margin-bottom: 14px;
    background: var(--cg-bg2);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
}

.cg-panel-head {
    background: linear-gradient(180deg, var(--cg-bar2) 0%, var(--cg-bar) 100%);
    padding: 10px 12px;
    font-weight: 700;
    font-size: 12px;
    border-bottom: 1px solid var(--cg-line);
    letter-spacing: 0.02em;
}

.cg-panel-row {
    padding: 10px;
    border-top: 1px solid var(--cg-line);
}

.cg-panel-row:first-of-type {
    border-top: none;
}

.cg-columns-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cg-label {
    display: block;
    font-size: 11px;
    color: var(--cg-muted);
    margin-top: 8px;
}

.cg-input,
.cg-textarea,
select.cg-input {
    width: 100%;
    border: 1px solid var(--cg-line);
    background: #0d0d0d;
    color: var(--cg-text);
    padding: 9px 11px;
    border-radius: var(--cg-radius-sm);
    font-family: inherit;
    font-size: 12px;
    transition: border-color var(--cg-transition), box-shadow var(--cg-transition);
}

.cg-input:focus-visible,
.cg-textarea:focus-visible,
select.cg-input:focus-visible {
    border-color: rgba(122, 184, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(122, 184, 255, 0.2);
    outline: none;
}

.cg-input-inline {
    width: auto;
    min-width: 140px;
}

.cg-textarea {
    min-height: 100px;
    resize: vertical;
}

.cg-button {
    display: inline-block;
    padding: 9px 16px;
    background: var(--cg-bar2);
    border: 1px solid var(--cg-line);
    color: var(--cg-text);
    border-radius: var(--cg-radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: border-color var(--cg-transition), background-color var(--cg-transition), color var(--cg-transition);
}

.cg-button:hover {
    border-color: var(--cg-brand-line);
    background: var(--cg-brand-soft);
}

.cg-button-danger {
    border-color: rgba(231, 76, 60, 0.55);
    background: rgba(231, 76, 60, 0.12);
}

.cg-postbit {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--cg-line);
}

.cg-usercell {
    display: table-cell;
    width: 170px;
    vertical-align: top;
    background: var(--cg-bg);
    border-right: 1px solid var(--cg-line);
    padding: 10px;
}

.cg-postcell {
    display: table-cell;
    vertical-align: top;
    padding: 10px;
}

.cg-username {
    font-weight: 700;
    color: var(--cg-pink);
    font-size: 13px;
}

.cg-usermeta {
    font-size: 11px;
    color: var(--cg-muted);
    margin-top: 4px;
}

.cg-posthead {
    font-size: 11px;
    color: var(--cg-muted);
    border-bottom: 1px solid var(--cg-line);
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.cg-postbody {
    font-size: 13px;
    color: #e8e8e8;
}

.cg-postactions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cg-inline {
    display: inline;
}

.cg-back {
    margin-top: 12px;
    font-size: 12px;
}

.cg-tablewrap {
    overflow-x: auto;
}

.cg-row-unread {
    background: rgba(241, 196, 15, 0.06);
}

@media (max-width: 960px) {
    .cg-layout {
        grid-template-columns: 1fr;
    }

    .cg-sidebar {
        position: static;
    }

    .cg-ad-inner {
        height: 200px;
    }

    .cg-ad-inner--text {
        height: auto;
        min-height: 140px;
        max-height: 320px;
    }

    .cg-banners {
        grid-template-columns: 1fr;
    }

    .cg-columns-inner {
        grid-template-columns: 1fr;
    }

    .cg-postbit,
    .cg-usercell,
    .cg-postcell {
        display: block;
        width: auto;
        border-right: none;
    }

    .cg-xfpost,
    .cg-xfside,
    .cg-xfmain {
        display: block;
        width: auto;
        border-right: none;
    }

    .cg-xfav {
        width: 72px;
        height: 72px;
        font-size: 26px;
    }

    .cg-nav-spacer {
        display: none;
    }

    .cg-nav-end {
        width: 100%;
        justify-content: flex-start;
        padding-top: 6px;
        margin-top: 2px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .cg-nav-search {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }

    .cg-nav-search input[type="search"] {
        flex: 1;
        max-width: none;
    }
}

/* --- Kayit / giris / yeni konu --- */
.cg-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    color: var(--cg-muted);
    line-height: 1.45;
}

.cg-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

.cg-check-block {
    max-width: 100%;
}

.cg-table-cap {
    font-size: 12px;
    margin: 6px 0 0;
}

.cg-panel-compact .cg-panel-row {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Kategori secimi (yeni konu 1. adim) */
.cg-nt-modal {
    max-width: 720px;
    margin: 0 auto;
    background: var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.cg-nt-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(180deg, #3a3d45, #2b2e33);
    border-bottom: 1px solid var(--cg-line);
    font-weight: 700;
    font-size: 15px;
}

.cg-nt-close {
    color: var(--cg-muted);
    text-decoration: none;
    font-size: 22px;
    line-height: 1;
}

.cg-nt-close:hover {
    color: var(--cg-text);
}

.cg-nt-rulebox {
    padding: 14px 16px;
    background: rgba(231, 76, 60, 0.08);
    border-bottom: 1px solid var(--cg-line);
    font-size: 13px;
}

.cg-nt-rulebox p {
    margin: 0.4em 0 0;
}

.cg-nt-catlist {
    max-height: 55vh;
    overflow-y: auto;
}

.cg-nt-catrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--cg-line);
    text-decoration: none;
    color: inherit;
}

.cg-nt-catrow:hover {
    background: rgba(46, 204, 113, 0.06);
}

.cg-nt-cattitle {
    font-weight: 700;
    font-size: 14px;
}

.cg-nt-catslug {
    font-size: 11px;
    color: var(--cg-muted);
    margin-top: 2px;
}

.cg-nt-catcount {
    font-weight: 700;
    color: var(--cg-green);
    min-width: 48px;
    text-align: right;
}

/* Konu olusturma formu */
.cg-compose {
    max-width: 900px;
    margin: 0 auto;
}

.cg-compose-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 800;
}

.cg-compose-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-end;
}

.cg-input-prefix {
    flex: 0 0 140px;
    max-width: 100%;
}

.cg-input-title {
    flex: 1 1 240px;
    min-width: 0;
}

.cg-editor {
    border: 1px solid var(--cg-line);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--cg-bg);
}

.cg-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: var(--cg-bar);
    border-bottom: 1px solid var(--cg-line);
}

.cg-ed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--cg-line);
    border-radius: 4px;
    background: var(--cg-bar2);
    color: var(--cg-text);
    cursor: pointer;
}

.cg-ed-btn:hover {
    border-color: var(--cg-green);
}

.cg-ed-preview {
    width: auto;
    padding: 0 10px;
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
}

.cg-ed-sp {
    flex: 1;
    min-width: 8px;
}

.cg-editor-body {
    border: none;
    border-radius: 0;
    min-height: 220px;
    resize: vertical;
}

.cg-editor-preview {
    padding: 12px;
    min-height: 180px;
    background: var(--cg-bg2);
    color: var(--cg-text);
    font-size: 13px;
    line-height: 1.5;
    border-top: 1px solid var(--cg-line);
}

.cg-compose-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.cg-compose-submit {
    background: var(--cg-accent-blue);
    border-color: #0088cc;
}

.cg-compose-submit:hover {
    filter: brightness(1.08);
}

/* Konu sayfasi — hizli cevap (CheatGlobal tarzi) */
.cg-quickreply {
    display: flex;
    gap: 0;
    margin: 20px 0 8px;
    background: var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.cg-qr-side {
    width: 76px;
    flex-shrink: 0;
    background: var(--cg-bar);
    border-right: 1px solid var(--cg-line);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 8px;
}

.cg-qr-av {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    background: linear-gradient(160deg, #454a55, #2a2d33);
    border: 1px solid var(--cg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--cg-text);
    text-transform: uppercase;
}

.cg-qr-main {
    flex: 1;
    min-width: 0;
    padding: 10px 12px 12px;
}

.cg-qr-form {
    display: flex;
    flex-direction: column;
}

.cg-qr-editor {
    margin-bottom: 0;
}

.cg-qr-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.cg-qr-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-weight: 700;
    background: #4a8fd9;
    border: 1px solid #3a7abf;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.cg-qr-submit:hover {
    filter: brightness(1.06);
}

@media (max-width: 640px) {
    .cg-quickreply {
        flex-direction: column;
    }

    .cg-qr-side {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--cg-line);
        justify-content: flex-start;
        padding: 10px 12px;
    }
}

/* Yasakli kullanicilar listesi */
.cg-ban-panel .cg-panel-head {
    font-size: 15px;
}

.cg-ban-table th {
    white-space: nowrap;
}

.cg-ban-usercell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cg-ban-av {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: var(--cg-bar2);
    border: 1px solid var(--cg-line);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    color: var(--cg-text);
    text-transform: uppercase;
    flex-shrink: 0;
}

.cg-ban-av:hover {
    border-color: var(--cg-green);
    color: var(--cg-text);
}

.cg-ban-strike {
    text-decoration: line-through;
    opacity: 0.88;
    color: var(--cg-muted);
    font-weight: 600;
}

.cg-ban-strike:hover {
    color: var(--cg-text);
}

.cg-ban-role-admin {
    color: #f39c12;
    font-weight: 700;
}

.cg-ban-role-mod {
    color: #5dade2;
    font-weight: 700;
}

.cg-ban-role-member {
    color: var(--cg-muted);
    font-weight: 600;
}

.cg-ban-check {
    margin-right: 4px;
    opacity: 0.85;
    font-size: 11px;
}

.cg-ban-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.cg-ban-addform {
    max-width: 480px;
}

/* Uyeler / dikkate deger uyeler (CheatGlobal tarzi) */
.cg-members-wrap {
    display: grid;
    grid-template-columns: 252px 1fr;
    gap: 22px;
    align-items: start;
}

.cg-mem-side {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%), var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    overflow: hidden;
    box-shadow: var(--cg-elev-soft);
}

.cg-mem-side-title {
    padding: 11px 14px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.35);
    color: var(--cg-muted);
}

.cg-mem-side-nav {
    display: flex;
    flex-direction: column;
}

.cg-mem-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--cg-muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background var(--cg-transition), color var(--cg-transition);
}

.cg-mem-nav-link:hover {
    color: var(--cg-text);
    background: var(--cg-brand-soft);
    text-decoration: none;
}

.cg-mem-nav-link.is-active {
    color: var(--cg-text);
    font-weight: 700;
    background: var(--cg-brand-soft2);
    box-shadow: inset 3px 0 0 var(--cg-brand);
}

.cg-mem-nav-ic {
    width: 22px;
    flex-shrink: 0;
    text-align: center;
    color: var(--cg-muted);
    font-size: 13px;
}

.cg-mem-nav-link.is-active .cg-mem-nav-ic {
    color: var(--cg-brand);
}

.cg-mem-side-block {
    padding: 12px 14px 14px;
    border-top: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.12);
}

.cg-mem-side-block--flush {
    padding-bottom: 10px;
}

.cg-mem-side-block-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cg-muted);
    margin: 0 0 8px;
}

.cg-mem-find {
    display: flex;
    align-items: stretch;
}

.cg-mem-find-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--cg-text);
    background: var(--cg-bar2);
    border: 1px solid var(--cg-line);
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.cg-mem-find-input::placeholder {
    color: var(--cg-muted);
}

.cg-mem-find-btn {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cg-line);
    border-radius: 0 6px 6px 0;
    background: var(--cg-bar);
    color: var(--cg-muted);
    cursor: pointer;
    transition: background var(--cg-transition), color var(--cg-transition);
}

.cg-mem-find-btn:hover {
    background: var(--cg-brand-soft2);
    color: var(--cg-brand);
    border-color: var(--cg-brand-line);
}

.cg-mem-newest-mini {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cg-mem-newest-empty {
    margin: 0;
    padding: 4px 0 8px;
    font-size: 12px;
}

.cg-mem-newest-mini-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    font-size: 12px;
}

.cg-mem-newest-mini-row:hover {
    background: var(--cg-brand-soft);
    text-decoration: none;
}

.cg-mem-newest-mini-av {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: var(--cg-bar2);
    border: 1px solid var(--cg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.cg-mem-newest-mini-name {
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cg-mem-main {
    min-width: 0;
}

.cg-mem-h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cg-mem-search-panel {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    box-shadow: var(--cg-elev-soft);
}

.cg-mem-search-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 800;
}

.cg-mem-search-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cg-mem-search-hit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
}

.cg-mem-search-hit:hover {
    background: var(--cg-brand-soft);
    text-decoration: none;
}

.cg-mem-widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cg-mem-widget {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(0, 0, 0, 0.12) 100%), var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    box-shadow: var(--cg-elev-soft);
}

.cg-mem-widget-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: linear-gradient(90deg, rgba(255, 110, 180, 0.08) 0%, rgba(0, 0, 0, 0.45) 42%);
    border-bottom: 1px solid var(--cg-line);
}

.cg-mem-widget-ic {
    color: var(--cg-brand);
    font-size: 15px;
    opacity: 0.95;
    filter: drop-shadow(0 0 10px var(--cg-brand-glow));
}

.cg-mem-widget-title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--cg-text);
    line-height: 1.25;
}

.cg-mem-widget-body {
    flex: 1;
    padding: 4px 0 6px;
}

.cg-mem-widget-empty {
    margin: 0;
    padding: 12px 14px;
    font-size: 12px;
}

.cg-mem-widget-foot {
    display: block;
    text-align: center;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cg-link);
    text-decoration: none;
    border-top: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.25);
    transition: background var(--cg-transition), color var(--cg-transition);
}

.cg-mem-widget-foot:hover {
    background: var(--cg-brand-soft2);
    color: var(--cg-brand);
    text-decoration: none;
}

/* Eski 3 kolon sinifi (geri uyumluluk) */
.cg-mem-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cg-mem-col {
    background: var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    box-shadow: var(--cg-elev-soft);
}

.cg-mem-col-title {
    margin: 0;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--cg-line);
}

.cg-mem-col-hint {
    margin: 0;
    padding: 6px 12px 0;
    font-size: 11px;
    color: var(--cg-muted);
    line-height: 1.35;
}

.cg-mem-col-body {
    flex: 1;
    padding: 6px 0;
}

.cg-mem-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    min-height: 46px;
}

.cg-mem-widget .cg-mem-row {
    padding-left: 12px;
    padding-right: 12px;
}

.cg-mem-row:hover {
    background: rgba(255, 110, 180, 0.05);
}

.cg-mem-av {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background: var(--cg-bar2);
    border: 1px solid var(--cg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    text-decoration: none;
    color: var(--cg-text);
    text-transform: uppercase;
}

.cg-mem-widget .cg-mem-av {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 13px;
}

.cg-mem-av--sm {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-radius: 5px;
}

.cg-mem-row-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cg-mem-name {
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.cg-mem-name:hover {
    text-decoration: underline;
}

.cg-mem-name.cg-ban-role-member {
    color: var(--cg-pink);
}

.cg-mem-verified {
    color: var(--cg-green);
    font-size: 11px;
}

.cg-mem-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
    line-height: 1.15;
    text-align: right;
    min-width: 76px;
    flex-shrink: 0;
}

.cg-mem-stat-num {
    font-size: 15px;
    font-weight: 800;
    color: var(--cg-text);
    letter-spacing: -0.02em;
}

.cg-mem-stat-unit {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cg-muted);
}

.cg-mem-stat--empty {
    min-width: 76px;
    min-height: 8px;
}

.cg-mem-stat-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cg-brand);
    padding: 4px 9px;
    border-radius: 4px;
    background: var(--cg-brand-soft);
    border: 1px solid var(--cg-brand-line);
    flex-shrink: 0;
}

.cg-mem-more {
    display: block;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cg-link);
    text-decoration: none;
    border-top: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.15);
}

.cg-mem-more:hover {
    text-decoration: underline;
}

.cg-mem-single {
    background: var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    padding: 6px 0;
    max-width: 720px;
    box-shadow: var(--cg-elev-soft);
}

.cg-mem-rolepill {
    font-size: 10px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    background: var(--cg-bar);
    color: var(--cg-muted);
    border: 1px solid var(--cg-line);
    font-weight: 700;
}

@media (max-width: 1240px) {
    .cg-mem-widget-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cg-mem-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .cg-members-wrap {
        grid-template-columns: 1fr;
    }

    .cg-mem-widget-grid {
        grid-template-columns: 1fr;
    }

    .cg-mem-side-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cg-mem-nav-link {
        flex: 1 1 auto;
        min-width: 140px;
        border-bottom: none;
        border-right: 1px solid var(--cg-line);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
}

/* Profil — hesap paneli (CheatNexus pembe tema, siki duzen) */
.cg-pro-shell {
    max-width: 920px;
    background: linear-gradient(180deg, rgba(255, 110, 180, 0.06) 0%, rgba(26, 26, 26, 0.98) 140px, var(--cg-bg2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 110, 180, 0.07);
}

.cg-pro-tabs {
    display: flex;
    border-bottom: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.35);
    padding: 0 4px;
}

.cg-pro-tab {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: var(--cg-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--cg-transition), background var(--cg-transition), border-color var(--cg-transition);
}

.cg-pro-tab:hover {
    color: var(--cg-text);
    background: rgba(255, 255, 255, 0.03);
}

.cg-pro-tab.is-active {
    color: var(--cg-text);
    background: rgba(255, 110, 180, 0.08);
    border-bottom-color: var(--cg-brand);
}

.cg-pro-panel.is-hidden {
    display: none;
}

.cg-pro-hero {
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--cg-line);
    background:
        radial-gradient(ellipse 90% 70% at 18% 0%, rgba(255, 110, 180, 0.2), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%);
}

.cg-pro-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
}

.cg-pro-avwrap {
    flex-shrink: 0;
    padding: 3px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 110, 180, 0.45), rgba(255, 110, 180, 0.08) 40%, rgba(58, 63, 74, 0.9));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.cg-pro-av {
    width: 84px;
    height: 84px;
    border-radius: 11px;
    background: linear-gradient(155deg, #2c2830 0%, #18161c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
    color: var(--cg-pink);
}

.cg-pro-hero-main {
    min-width: 0;
    flex: 1;
    padding-top: 4px;
}

.cg-pro-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 1px 18px rgba(255, 110, 180, 0.12);
}

.cg-pro-rank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--cg-muted);
    margin-top: 8px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--cg-line);
}

.cg-pro-statusline {
    font-size: 13px;
    color: var(--cg-muted);
    margin-top: 12px;
    line-height: 1.5;
    font-style: italic;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--cg-line);
    border-left: 3px solid var(--cg-brand);
}

.cg-pro-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 560px) {
    .cg-pro-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cg-pro-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    padding: 14px 8px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid var(--cg-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color var(--cg-transition), box-shadow var(--cg-transition);
}

.cg-pro-stat:hover {
    border-color: rgba(255, 110, 180, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(255, 110, 180, 0.08);
}

.cg-pro-stat-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--cg-text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.cg-pro-stat-lbl {
    font-size: 10px;
    color: var(--cg-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.cg-pro-menu {
    padding: 20px 22px 10px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cg-pro-sec-title {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cg-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cg-pro-sec-title i {
    opacity: 0.85;
    font-size: 12px;
    color: var(--cg-brand);
}

.cg-pro-sec--muted .cg-pro-sec-title {
    opacity: 0.95;
}

.cg-pro-pill {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--cg-bar);
    color: var(--cg-warn);
    border: 1px solid var(--cg-line);
}

.cg-pro-tiles--large {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 600px) {
    .cg-pro-tiles--large {
        grid-template-columns: 1fr;
    }
}

.cg-pro-tile--link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 8px;
    border: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.18);
    text-decoration: none;
    color: var(--cg-text);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.cg-pro-tile--link:hover {
    border-color: var(--cg-brand-line);
    background: var(--cg-brand-soft2);
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(255, 110, 180, 0.06);
}

.cg-pro-tile-ic {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(255, 110, 180, 0.18), rgba(42, 44, 52, 0.95));
    border: 1px solid rgba(255, 110, 180, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cg-brand);
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cg-pro-tile-txt {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cg-pro-tile-name {
    font-size: 14px;
    font-weight: 700;
}

.cg-pro-tile-desc {
    font-size: 11px;
    color: var(--cg-muted);
}

.cg-pro-tile-go {
    color: var(--cg-muted);
    font-size: 11px;
    flex-shrink: 0;
}

.cg-pro-tiles--grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 720px) {
    .cg-pro-tiles--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cg-pro-tile--hold {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    font-size: 12px;
    color: var(--cg-muted);
    border-radius: 8px;
    border: 1px solid rgba(58, 63, 74, 0.85);
    background: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
    user-select: none;
    transition: background var(--cg-transition);
}

.cg-pro-tile--hold:hover {
    background: rgba(255, 255, 255, 0.02);
}

.cg-pro-tile--hold i {
    width: 18px;
    text-align: center;
    opacity: 0.55;
    color: rgba(255, 110, 180, 0.55);
}

.cg-pro-foot {
    padding: 18px 22px 20px;
    border-top: 1px solid var(--cg-line);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.12));
}

.cg-pro-statusform {
    margin-bottom: 14px;
}

.cg-pro-status-lbl {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cg-muted);
    margin-bottom: 8px;
}

.cg-pro-status-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
}

.cg-pro-statusinput {
    flex: 1;
    min-width: 200px;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid var(--cg-line);
    background: var(--cg-bg);
    color: var(--cg-text);
    font-family: inherit;
    font-size: 13px;
}

.cg-pro-statusinput::placeholder {
    color: var(--cg-muted);
}

.cg-pro-statusinput:focus-visible {
    border-color: var(--cg-brand-line);
    box-shadow: 0 0 0 2px var(--cg-brand-soft);
}

.cg-pro-statusbtn {
    padding: 11px 22px;
    border-radius: 8px;
    border: 1px solid var(--cg-brand-line);
    background: linear-gradient(180deg, #ff7ec4 0%, var(--cg-brand-dim) 100%);
    color: #120810;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 110, 180, 0.25);
    transition: filter var(--cg-transition), transform 0.12s ease;
}

.cg-pro-statusbtn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.cg-pro-footbar {
    padding-top: 12px;
    border-top: 1px solid var(--cg-line);
}

.cg-pro-footbar--solo {
    padding-top: 0;
    border-top: none;
}

.cg-pro-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--cg-danger);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border-radius: 8px;
}

.cg-pro-logout:hover {
    background: rgba(231, 76, 60, 0.12);
    text-decoration: none;
}

.cg-pro-public-actions {
    padding: 18px 22px 20px;
    border-top: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.12);
}

.cg-pro-action-pm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid var(--cg-brand-line) !important;
    background: linear-gradient(180deg, var(--cg-brand-soft2), var(--cg-brand-soft)) !important;
    color: var(--cg-text) !important;
    text-decoration: none;
}

.cg-pro-action-pm:hover {
    border-color: var(--cg-brand) !important;
    background: linear-gradient(180deg, rgba(255, 110, 180, 0.22), rgba(255, 110, 180, 0.1)) !important;
    text-decoration: none;
}

.cg-pro-empty {
    text-align: center;
    padding: 36px 24px 40px;
    max-width: 360px;
    margin: 0 auto;
}

.cg-pro-empty-ic {
    font-size: 40px;
    color: var(--cg-muted);
    opacity: 0.5;
    margin-bottom: 12px;
}

.cg-pro-empty-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
}

.cg-pro-recent {
    padding: 0;
    border-top: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.18);
}

.cg-pro-recent-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.25);
}

.cg-pro-recent-head i {
    color: var(--cg-brand);
    font-size: 15px;
    opacity: 0.95;
}

.cg-pro-recent-title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--cg-text);
}

.cg-pro-recent-body {
    padding: 4px 18px 18px;
}

.cg-pro-recent-empty {
    margin: 12px 0 4px;
    font-size: 13px;
}

.cg-pro-topiclist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cg-pro-topiclist li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(58, 63, 74, 0.65);
    font-size: 13px;
}

.cg-pro-topiclist li:last-child {
    border-bottom: none;
}

.cg-pro-topiclist a {
    font-weight: 600;
    color: var(--cg-text);
    text-decoration: none;
}

.cg-pro-topiclist a:hover {
    color: var(--cg-brand);
    text-decoration: none;
}

/* Sidebar — son profil mesajları */
.cg-pf-widget {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--cg-bg2);
    border-radius: var(--cg-radius);
    overflow: hidden;
    box-shadow: var(--cg-elev-soft);
}

.cg-pf-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cg-text);
    border-bottom: 1px solid var(--cg-line);
    background: linear-gradient(90deg, rgba(255, 110, 180, 0.07) 0%, rgba(0, 0, 0, 0.35) 50%);
}

.cg-pf-head i {
    color: var(--cg-brand);
    font-size: 13px;
    opacity: 0.9;
}

.cg-pf-quick {
    display: flex;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid var(--cg-line);
    align-items: center;
}

.cg-pf-quick-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 3px;
    border: 1px solid var(--cg-line);
    background: var(--cg-bg);
    color: var(--cg-text);
    font-family: inherit;
    font-size: 12px;
}

.cg-pf-quick-input::placeholder {
    color: var(--cg-muted);
}

.cg-pf-quick-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 3px;
    border: 1px solid var(--cg-line);
    background: var(--cg-bar);
    color: var(--cg-link);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-pf-quick-btn:hover {
    border-color: var(--cg-green);
    color: var(--cg-green);
}

.cg-pf-list {
    max-height: 480px;
    overflow-y: auto;
}

.cg-pf-empty {
    margin: 0;
    padding: 12px 10px;
    font-size: 12px;
}

.cg-pf-item {
    border-bottom: 1px solid var(--cg-line);
}

.cg-pf-item:last-child {
    border-bottom: none;
}

.cg-pf-item-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 8px;
    position: relative;
}

.cg-pf-item-av {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: var(--cg-bar);
    border: 1px solid var(--cg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--cg-pink);
    flex-shrink: 0;
}

.cg-pf-item-main {
    flex: 1;
    min-width: 0;
}

.cg-pf-item-names {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
}

.cg-pf-name {
    text-decoration: none;
    font-weight: 700;
}

.cg-pf-name:hover {
    text-decoration: underline;
}

.cg-pf-arrow {
    color: var(--cg-muted);
    font-weight: 400;
    margin: 0 2px;
}

.cg-pf-item-body {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--cg-text);
    line-height: 1.4;
    word-break: break-word;
}

.cg-pf-item-time {
    display: block;
    font-size: 11px;
    color: var(--cg-muted);
}

.cg-pf-more {
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

.cg-pf-more-btn {
    list-style: none;
    cursor: pointer;
    color: var(--cg-muted);
    padding: 2px 4px;
    border-radius: 3px;
    line-height: 1;
}

.cg-pf-more-btn::-webkit-details-marker {
    display: none;
}

.cg-pf-more-btn::marker {
    content: "";
}

.cg-pf-more-btn:hover {
    color: var(--cg-text);
    background: rgba(255, 255, 255, 0.06);
}

.cg-pf-more-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 2px);
    min-width: 88px;
    padding: 4px;
    background: var(--cg-bar);
    border: 1px solid var(--cg-line);
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    z-index: 40;
}

.cg-pf-more-panel form {
    margin: 0;
}

.cg-pf-more-del {
    display: block;
    width: 100%;
    padding: 6px 8px;
    border: none;
    border-radius: 3px;
    background: transparent;
    color: var(--cg-danger);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.cg-pf-more-del:hover {
    background: rgba(231, 76, 60, 0.12);
}

/* Yönetim sayfası: forum şeridi / reklam sütunu gizli, içerik odaklı */
body.cg-body--admin .cg-strip,
body.cg-body--admin .cg-banners,
body.cg-body--admin .cg-announce {
    display: none !important;
}

body.cg-body--admin .cg-crumb,
body.cg-body--admin .cg-pagehead {
    display: none;
}

body.cg-body--admin .cg-layout {
    grid-template-columns: 1fr;
    gap: 0;
}

body.cg-body--admin .cg-sidebar {
    display: none !important;
}

body.cg-body--admin .cg-main {
    max-width: none;
}

body.cg-body--admin .cg-wrap {
    max-width: 1480px;
    padding-top: 8px;
}

/* —— Admin paneli —— */
.ad-root {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.ad-side {
    position: sticky;
    top: 10px;
    background: linear-gradient(180deg, #1e2229 0%, var(--cg-bg2) 100%);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-left: 3px solid var(--cg-green);
}

.ad-side-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    border-bottom: 1px solid var(--cg-line);
    background: rgba(0, 0, 0, 0.25);
}

.ad-side-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cg-green-dim), var(--cg-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.ad-side-title {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.ad-side-sub {
    font-size: 11px;
    color: var(--cg-muted);
    margin-top: 2px;
}

.ad-nav {
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 2px;
}

.ad-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--cg-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
}

.ad-nav-item i {
    width: 18px;
    text-align: center;
    opacity: 0.85;
}

.ad-nav-item:hover {
    color: var(--cg-text);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
}

.ad-nav-item.is-active {
    color: var(--cg-text);
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.35);
}

.ad-side-foot {
    padding: 10px 12px 14px;
    border-top: 1px solid var(--cg-line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ad-side-link {
    font-size: 12px;
    color: var(--cg-link);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ad-side-link:hover {
    text-decoration: underline;
}

.ad-main {
    min-width: 0;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius);
    padding: 22px 24px 28px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.ad-pagehead {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cg-line);
}

.ad-h1 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.ad-lead {
    margin: 0;
    font-size: 14px;
    color: var(--cg-muted);
    line-height: 1.45;
    max-width: 52em;
}

.ad-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    gap: 14px;
}

.ad-card {
    background: var(--cg-bg2);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius-sm);
    padding: 16px 14px;
    transition: border-color var(--cg-transition), transform var(--cg-transition), box-shadow var(--cg-transition);
}

.ad-card:hover {
    border-color: rgba(122, 184, 255, 0.25);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.ad-card--accent {
    border-color: rgba(46, 204, 113, 0.45);
    background: rgba(46, 204, 113, 0.08);
}

.ad-card--warn {
    border-color: rgba(241, 196, 15, 0.4);
    background: rgba(241, 196, 15, 0.06);
}

.ad-card-val {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--cg-text);
}

.ad-card-lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cg-muted);
    margin-top: 6px;
}

.ad-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ad-panel {
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.ad-panel-head {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cg-muted);
    border-bottom: 1px solid var(--cg-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.ad-panel-head i {
    margin-right: 6px;
    opacity: 0.8;
}

.ad-panel-body {
    padding: 0;
}

.ad-kpis {
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 13px;
}

.ad-quicklinks {
    padding: 14px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.ad-quicklinks a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cg-text);
    text-decoration: none;
    border: 1px solid var(--cg-line);
    border-radius: var(--cg-radius-sm);
    background: rgba(0, 0, 0, 0.2);
    transition: border-color var(--cg-transition), background-color var(--cg-transition);
}

.ad-quicklinks a:hover {
    background: rgba(46, 204, 113, 0.08);
    border-color: rgba(46, 204, 113, 0.35);
    text-decoration: none;
}

.ad-quicklinks a i {
    width: 20px;
    text-align: center;
    color: var(--cg-green);
    opacity: 0.95;
}

.ad-tablewrap {
    overflow-x: auto;
}

.ad-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.ad-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.ad-table th,
.ad-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--cg-line);
    vertical-align: middle;
}

.ad-table th {
    color: var(--cg-muted);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.15);
}

.ad-table--wide td {
    white-space: nowrap;
}

.ad-table--wide td.ad-clip {
    white-space: normal;
    max-width: 220px;
}

.ad-td-wrap {
    white-space: normal;
}

.ad-muted {
    color: var(--cg-muted);
}

.ad-clip {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-mini {
    font-size: 11px;
    font-weight: 600;
}

.ad-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 8px;
}

.ad-input {
    padding: 8px 11px;
    border-radius: 6px;
    border: 1px solid var(--cg-line);
    background: var(--cg-bg);
    color: var(--cg-text);
    font-family: inherit;
    font-size: 13px;
    min-width: 160px;
}

.ad-input--num {
    width: 88px;
    min-width: 0;
}

.ad-select {
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid var(--cg-line);
    background: var(--cg-bg);
    color: var(--cg-text);
    font-size: 12px;
    max-width: 160px;
}

.ad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--cg-line);
    background: var(--cg-bar);
    color: var(--cg-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.ad-btn:hover {
    border-color: var(--cg-green);
}

.ad-btn--primary {
    background: var(--cg-green-dim);
    border-color: var(--cg-green);
    color: #fff;
}

.ad-btn--primary:hover {
    filter: brightness(1.08);
}

.ad-btn--danger {
    border-color: rgba(231, 76, 60, 0.5);
    color: var(--cg-danger);
    background: rgba(231, 76, 60, 0.08);
}

.ad-btn--ghost {
    background: transparent;
}

.ad-btn--sm {
    padding: 5px 10px;
    font-size: 11px;
}

.ad-inline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.ad-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.ad-usercell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ad-av {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--cg-bar);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--cg-pink);
}

.ad-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--cg-bar);
    color: var(--cg-muted);
}

.ad-badge--ok {
    background: rgba(46, 204, 113, 0.2);
    color: var(--cg-green);
}

.ad-role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.ad-role--admin {
    color: #e74c3c;
}

.ad-role--moderator {
    color: #3498db;
}

.ad-role--member {
    color: var(--cg-muted);
}

.ad-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.ad-pager-link {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--cg-line);
    font-size: 12px;
    font-weight: 600;
    color: var(--cg-muted);
    text-decoration: none;
    background: var(--cg-bg2);
}

.ad-pager-link:hover {
    color: var(--cg-text);
    border-color: var(--cg-green);
}

.ad-pager-link.is-active {
    background: rgba(46, 204, 113, 0.15);
    border-color: var(--cg-green);
    color: var(--cg-text);
}

.ad-formrow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.ad-site-ad-form {
    display: block;
    max-width: 720px;
}

.ad-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 200px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid var(--cg-line);
    background: #0d0d0d;
    color: var(--cg-text);
    border-radius: var(--cg-radius-sm);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
}

.ad-textarea:focus-visible {
    border-color: rgba(122, 184, 255, 0.55);
    outline: none;
    box-shadow: 0 0 0 1px rgba(122, 184, 255, 0.2);
}

.ad-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--cg-muted);
    margin-bottom: 4px;
}

.ad-catform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ad-banform .ad-label {
    margin-top: 0;
}

.ad-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--cg-muted);
    cursor: pointer;
    margin-bottom: 6px;
}

.ad-sys {
    padding: 16px 18px;
    display: grid;
    gap: 12px;
    font-size: 13px;
}

.ad-sys .ad-muted {
    display: inline-block;
    min-width: 140px;
}

@media (max-width: 960px) {
    .ad-root {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ad-main {
        padding: 16px 14px 22px;
    }

    .ad-side {
        position: static;
    }

    .ad-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding: 8px 6px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .ad-nav-item {
        flex: 0 0 auto;
        white-space: nowrap;
        justify-content: flex-start;
        min-height: 44px;
    }

    .ad-nav-item span {
        display: inline;
    }

    .ad-grid2 {
        grid-template-columns: 1fr;
    }

    .ad-quicklinks {
        grid-template-columns: 1fr;
    }
}
