/*
 * Cartier Roleplay - Custom CSS Overrides
 * Brand color: Teal #0C7073 (rgb 12, 112, 115)
 */

/* ── CSS VARIABLES ────────────────────────────────────── */
:root {
    --cr-gold:        #0C7073;
    --cr-gold-light:  #10979b;
    --cr-gold-dark:   #074e51;
    --cr-dark-bg:     var(--smf-body-bg, #18191a);
    --cr-card-bg:     var(--smf-panel-bg, #18191a);
    --cr-border:      rgba(12, 112, 115, 0.30);
    /* UCP: merkez alanla aynı gri (#wrapper #242526) — yeşil/teal yok */
    --cr-ucp-surface:       #242526;
    --cr-ucp-surface-mid:   #2b2d31;
    --cr-ucp-surface-soft:  #32353c;
    --cr-ucp-surface-input: #363a42;
    --cr-ucp-edge:          rgba(255, 255, 255, 0.08);
    --cr-ucp-edge-strong:   rgba(255, 255, 255, 0.14);
    --cr-ucp-ribbon:        linear-gradient(180deg, #303338 0%, #2b2d31 100%);
}

/* ── GLOBAL BRAND COLOR SWAPS ─────────────────────────── */
/* Replace hover colors for general elements without breaking inline styles */
.catbg,
.button_home a.active,
.nav-list > li > a:hover,
.alternatifmenu a:hover,
.rnhbr a:hover,
.ansbaslik a,
.navigate_section a:hover,
#top_info .welcome strong {
    color: var(--cr-gold) !important;
}

/* Anasayfa nav — .button_welcome global kuraldan çıkarıldı; seçili/teal sabit kalmasın */
.navigation .button_welcome a,
.navigation .button_welcome a:visited {
    color: #cec6c6 !important;
}

.navigation .button_welcome a:hover,
.navigation .button_welcome a:visited:hover {
    color: var(--cr-gold) !important;
}

/* Okunmamış ticket / şikayet mesajı — üst menü rozeti */
#wrapper .alternatifmenu a.cr-alt-nav--badged {
    position: relative;
    padding-right: 22px;
}

#wrapper .alternatifmenu .cr-alt-nav-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    font-family: rubik, system-ui, sans-serif;
    color: #fff;
    background: #ed4245;
    border-radius: 999px;
    box-shadow: 0 0 0 2px #18191a;
    pointer-events: none;
}


/* Wire animation color */
#wire li {
    background: var(--cr-gold) !important;
    opacity: 0.25;
}
#wire li:nth-child(odd) {
    background: var(--cr-gold-light) !important;
}

/* Top section bar border */
#top_section {
    border-bottom: 2px solid var(--cr-gold-dark) !important;
}

/* Navigation active / hover underline indicator */
.nav-list > li > a::after {
    background: var(--cr-gold) !important;
}

/* ── NAV SEPARATOR ÇİZGİLERİNİ KALDIR ─────────────────── */
/* ::after pseudo-elementleri separator çizgi olarak görünüyor — gizle */
.nav-list > li::before,
.nav-list > li::after,
.nav-list > li > a::before,
.nav-list > li > a::after,
.navigation li::before,
.navigation li::after {
    display: none !important;
}
.nav-list > li {
    border-right: none !important;
    border-left: none !important;
}

/* Category bar (trend konular, vb.) */
.cat_bar h3,
.catbg {
    background: linear-gradient(135deg, var(--cr-gold-dark), var(--cr-gold)) !important;
    color: #fff !important;
    border: none !important;
}

/* ansbaslik (section titles) */
.ansbaslik {
    border-left: 4px solid var(--cr-gold) !important;
    color: var(--cr-gold-light) !important;
}



/* Karaktersocial links */
.karaktersociallink {
    border-color: var(--cr-gold) !important;
    background: linear-gradient(135deg, rgba(12,112,115,0.12), rgba(16,151,155,0.04)) !important;
}
.karaktersociallink a {
    color: var(--cr-gold-light) !important;
}

/* Dropdown navbar */
.navbar-dropdown {
    border-top: 2px solid var(--cr-gold) !important;
}
.navbar-dropdown li a:hover {
    color: var(--cr-gold) !important;
}

/* Ana menü — alt menü oku + açılış animasyonu (UCP / Şehir) */
.nav-list > li.subsections > a::after {
    content: none !important;
    padding-left: 0 !important;
}

.nav-list > li.subsections > a.cr-nav-submenu-toggle {
    gap: 8px;
}

.nav-list > li.subsections .cr-nav-caret-wrap {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-list > li.subsections .cr-nav-caret {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.22s ease, color 0.2s ease;
    line-height: 0;
}

.nav-list > li.subsections.is-open .cr-nav-caret {
    color: #fff;
    transform: rotate(180deg);
}

/* Ana menü — “YENİ”: arka plan/kutu yok, sadece hafif vurgulu metin (nav ile birleşik) */
.nav-list .textmenu .cr-nav-new-pill {
    display: inline;
    margin-left: 0.35em;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none !important;
    box-shadow: none;
    font-family: inherit;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #7a8f90;
    text-transform: uppercase;
    vertical-align: baseline;
}

.nav-list > li > a:hover .textmenu .cr-nav-new-pill,
.nav-list > li > a:focus-visible .textmenu .cr-nav-new-pill {
    color: inherit !important;
    opacity: 0.92;
    background: none !important;
}

/* Ana menü — tek blok, ortada bitişik (grid 1fr kenarlara itmesin diye flex) */
@media (min-width: 801px) {
    .navigation .nav-container nav {
        justify-content: center;
        width: 100%;
    }

    .cr-nav-row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        min-height: 55px;
    }

    .cr-nav-cell {
        display: flex;
        flex: 0 0 auto;
        align-items: stretch;
        min-width: 0;
        min-height: 55px;
    }

    .cr-nav-row .nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        list-style: none;
        margin: 0;
        padding: 0;
        width: auto;
    }

    .cr-nav-cell--left .nav-list,
    .cr-nav-cell--center .nav-list,
    .cr-nav-cell--right .nav-list {
        justify-content: center;
    }

    .cr-nav-row .nav-list > li {
        float: none;
    }
}

@media (max-width: 800px) {
    .cr-nav-row {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .cr-nav-row.active {
        display: flex !important;
    }

    .cr-nav-cell {
        width: 100%;
    }

    .cr-nav-row .nav-list {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        float: none;
    }

    .cr-nav-row .nav-list > li {
        float: none;
        width: 100%;
    }
}

/* ── Özel Skin paneli (custom-skin.php) — ticket kartı + marka teal ─────── */
#main_content_section .cr-skin-dash {
    max-width: 920px;
    margin: 0 auto 40px;
    padding: 0 12px;
    box-sizing: border-box;
}

.cr-skin-dash__shell {
    background: #242526;
    border: 1px solid #18191a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.cr-skin-dash__topbar {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    gap: 10px;  
    padding: 14px 18px;
    background: #18191a;
    border-bottom: 1px solid #0f1011;
}

.cr-skin-dash__topbar-icon {
    display: inline-flex;
    color: #fff;
    font-size: 16px;
    line-height: 0;
}

.cr-skin-dash__topbar-icon .fi {
    font-size: 17px;
}

.cr-skin-dash__topbar-title {
    margin: 0;
    justify-self: center;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    font-family: rubik, system-ui, -apple-system, 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
}

.cr-skin-dash__topbar-spacer {
    width: 28px;
    height: 1px;
}

.cr-skin-dash__body {
    padding: 22px 20px 20px;
}

.cr-skin-dash__section + .cr-skin-dash__section {
    margin-top: 28px;
}

.cr-skin-dash__section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    font-family: rubik, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.cr-skin-dash__section-title .fi {
    font-size: 15px;
    color: var(--cr-gold-light, #10979b);
}

.cr-skin-dash__table-wrap {
    border-radius: 8px;
    border: 1px solid #18191a;
    overflow: hidden;
}

.cr-skin-dash__table.cr-ticket-table th {
    color: #b9bcc4;
}

.cr-skin-dash__table.cr-ticket-table td:last-child {
    vertical-align: middle;
}

.cr-skin-dash__empty {
    padding: 20px 16px !important;
    text-align: center;
    color: #72767d !important;
    font-size: 13px;
}

.cr-skin-dash__pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    max-width: 100%;
}

.cr-skin-dash__pill--rejected {
    background: #7c1f26;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.cr-skin-dash__pill--accepted {
    background: linear-gradient(135deg, var(--cr-gold-dark, #074e51), var(--cr-gold, #0c7073));
    color: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.cr-skin-dash__pill--pending {
    background: rgba(241, 196, 15, 0.18);
    color: #f0c14c;
    border: 1px solid rgba(241, 196, 15, 0.35);
}

.cr-skin-dash__pill--revoked {
    background: rgba(148, 155, 164, 0.2);
    color: #c5c8ce;
    border: 1px solid rgba(148, 155, 164, 0.35);
}

.cr-skin-dash__alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.45;
}

.cr-skin-dash__alert--ok {
    background: rgba(59, 165, 93, 0.15);
    border: 1px solid rgba(59, 165, 93, 0.45);
    color: #8ee4a8;
}

.cr-skin-dash__alert--err {
    background: rgba(237, 66, 69, 0.15);
    border: 1px solid rgba(237, 66, 69, 0.45);
    color: #f6a4a6;
}

.cr-skin-dash__form {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #202225;
}

.cr-skin-dash__form-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    font-family: rubik, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.cr-skin-dash__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 16px;
}

@media (max-width: 560px) {
    .cr-skin-dash__form-grid {
        grid-template-columns: 1fr;
    }
}

.cr-skin-dash__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cr-skin-dash__field--full {
    grid-column: 1 / -1;
}

.cr-skin-dash__label {
    font-size: 12px;
    font-weight: 600;
    color: #b9bcc4;
    letter-spacing: 0.02em;
}

.cr-skin-dash__input,
.cr-skin-dash__select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #0d0e10;
    border: 1px solid #2b2d31;
    border-radius: 8px;
    padding: 11px 12px;
    color: #f2f3f5;
    font-size: 14px;
    font-family: inherit;
    /* index.css global select { height: 25px } — padding ile çakışıp seçili metni gizliyordu */
    height: auto !important;
    min-height: 42px;
    line-height: 1.4 !important;
}

.cr-skin-dash__select {
    color: #f2f3f5 !important;
    background-color: #0d0e10 !important;
    color-scheme: dark;
}

.cr-skin-dash__select option {
    background-color: #1e1f22;
    color: #f2f3f5;
}

.cr-skin-dash__select option:disabled {
    color: #72767d;
}

.cr-skin-dash__input:focus,
.cr-skin-dash__select:focus {
    outline: none;
    border-color: var(--cr-gold, #0c7073);
    background-color: #0d0e10 !important;
    color: #f2f3f5 !important;
}

.cr-skin-dash__warn {
    margin: 0 0 12px;
    font-size: 13px;
    color: #ed4245;
}

.cr-skin-dash__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    margin: 0;
    border-radius: 10px;
    border: 1px solid var(--cr-gold-dark, #074e51);
    background: linear-gradient(135deg, var(--cr-gold-dark, #074e51), var(--cr-gold, #0c7073));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: rubik, system-ui, -apple-system, 'Segoe UI', sans-serif;
    text-decoration: none;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: filter 0.15s ease, border-color 0.15s ease;
}

a.cr-skin-dash__cta {
    color: #fff !important;
}

.cr-skin-dash__cta:hover:not(:disabled) {
    filter: brightness(1.08);
    border-color: var(--cr-gold-light, #10979b);
}

.cr-skin-dash__cta:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: none;
}

.cr-skin-dash__cta-plus {
    font-size: 1.15em;
    font-weight: 800;
    line-height: 1;
    opacity: 0.95;
}

@keyframes cr-nav-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 801px) {
    .nav-list > li.subsections > .navbar-dropdown {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        pointer-events: none;
        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0.22s;
    }

    .nav-list > li.subsections.is-open > .navbar-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        animation: cr-nav-dropdown-in 0.22s ease;
    }
}

@media (max-width: 800px) {
    .nav-list > li.subsections > .navbar-dropdown {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        animation: none;
    }

    .nav-list > li.subsections.is-open > .navbar-dropdown {
        display: block;
        animation: cr-nav-dropdown-in 0.24s ease;
    }
}

/* Weekly top dots */
.cr-weeklytop-dot {
    background: var(--cr-gold) !important;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.cr-weeklytop-dot:hover {
    opacity: 1;
}

/* Weekly top header */
.cr-weeklytop-header {
    color: var(--cr-gold) !important;
    border-bottom: 1px solid var(--cr-gold-dark) !important;
}



/* Trend table hover */
#ic_recentposts tr:hover td {
    background: rgba(12, 112, 115, 0.08) !important;
}

/* ── HEADER BANNER IMAGE ─────────────────────────────── */
.headerlogo {
    background-image: url('../images/header.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 90px !important;
    overflow: hidden !important;
}

/* ── ALTERNATIF MENU ICONS ────────────────────────────── */
.alternatifmenu a i {
    color: var(--cr-gold);
}

/* ── HEADER STATS (login olunca alternatif menu altı) ───── */
.cr-header-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
    padding: 10px 16px;
    margin: 8px 0 24px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

/* Bilgi şeridi ile altındaki içerik (ör. anasayfa Haberler) arası */
#wrapper:has(.cr-header-stats) #content_section {
    padding-top: 16px;
}

/* Anasayfa: Haberler ↔ Haftanın Enleri ↔ tablolar arası dikey boşluk */
#main_content_section > .rnhabers {
    margin-bottom: 32px;
}

#main_content_section > .rn-home-weekly {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

#main_content_section > .rn-home-weekly .cr-weeklytopchart {
    gap: 16px 20px;
    padding: 16px 18px;
    margin: 0;
}

#main_content_section > .rntbs {
    margin-bottom: 32px;
}

#main_content_section > .rntbs .cr-tablostats {
    gap: 22px;
}

#main_content_section > .rnyoutub {
    margin-bottom: 32px;
}

#main_content_section > .rn-home-card {
    margin-bottom: 12px;
}

.cr-header-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #b9bbbe;
}

.cr-header-stat i {
    color: var(--cr-gold);
    font-size: 13px;
    font-weight: 400;
    opacity: 0.95;
}

.cr-header-stat b {
    color: #e3e5e8;
    font-weight: 500;
}

.cr-header-stat--bakiye b {
    color: #2ecc71;
    font-weight: 500;
}

a.cr-header-bakiye-link {
    margin-left: 0.45em;
    font-size: 12px;
    font-weight: 500;
    color: #5ad88a;
    text-decoration: none;
    white-space: nowrap;
}

a.cr-header-bakiye-link:hover {
    color: #7ef0b0;
    text-decoration: underline;
}

/* Bakiye Yükle (bakiye-yukle.php) */
.cr-bakiye-page {
    max-width: 560px;
    margin: 0 auto 36px;
}

.cr-bakiye-page__head {
    background: #000;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 14px 18px;
    border-radius: 8px 8px 0 0;
    border: 1px solid #2a2a2a;
    border-bottom: 0;
}

.cr-bakiye-page__card {
    background: #2b2d31;
    border: 1px solid #3f4147;
    border-radius: 0 0 10px 10px;
    padding: 20px 18px 22px;
    box-sizing: border-box;
}

.cr-bakiye-page__notice {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.cr-bakiye-page__notice--ok {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: #8ef5b8;
}

.cr-bakiye-page__notice--err {
    background: rgba(237, 66, 69, 0.12);
    border: 1px solid rgba(237, 66, 69, 0.35);
    color: #f6a8aa;
}

.cr-bakiye-page__subtitle {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #e3e5e8;
}

.cr-bakiye-page__method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 16px;
    margin-bottom: 22px;
    background: #000;
    border: 1px solid #3f4147;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.cr-bakiye-page__method i {
    font-size: 28px;
    color: #fff;
    opacity: 0.95;
}

.cr-bakiye-page__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cr-bakiye-page__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.cr-bakiye-page__label {
    font-size: 12px;
    font-weight: 600;
    color: #f2f3f5;
}

.cr-bakiye-page__input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 14px;
    color: #e3e5e8;
    background: #000;
    border: 1px solid #1e1f22;
    border-radius: 6px;
    outline: none;
}

.cr-bakiye-page__input:focus {
    border-color: var(--cr-gold, #0c7073);
}

.cr-bakiye-page__input--readonly {
    opacity: 0.85;
    cursor: default;
}

.cr-bakiye-page__summary {
    margin-top: 6px;
    padding: 14px 14px;
    background: #242526;
    border: 1px solid #3f4147;
    border-radius: 8px;
    font-size: 13px;
    color: #e3e5e8;
}

.cr-bakiye-page__summary-line {
    margin: 0;
    padding: 4px 0;
}

.cr-bakiye-page__summary-line--pay {
    color: #3ba55d;
    font-weight: 700;
}

.cr-bakiye-page__summary-line--pay strong {
    color: #57f08a;
    font-weight: 800;
}

.cr-bakiye-page__summary-line strong {
    font-weight: 700;
    color: #fff;
}

.cr-bakiye-page__submit {
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    min-height: 48px;
    height: auto;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: #000;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.cr-bakiye-page__submit:hover {
    background: #1a1a1a;
    border-color: var(--cr-gold, #0c7073);
}

/* ── PROGRESS BAR (Cartier / orijinal yeşil ton) ───────── */
.cr-progressbar span {
    background: linear-gradient(90deg, #4caf50, #5cb85c) !important;
    border-radius: 3px;
}

/* ── FOOTER REVAMP ────────────────────────────────────── */
#footer {
    background: #000 !important;
    border-top: 1px solid #1a1a1a !important;
    padding: 40px 0 20px 0;
    color: #a0a0a0;
    font-family: rubik, sans-serif;
    margin-top: 40px;
}

#footer * {
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 30px;
}

.footer-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-stat-icon {
    font-size: 20px;
    color: #fff;
}

.footer-stat-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.footer-stat-text span:first-child {
    font-family: 'Bebas Neue', rubik, sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #ccc;
}

.footer-stat-item--active .footer-stat-text span:first-child {
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
}

.footer-stat-item--active .footer-stat-text span:last-child {
    font-weight: 700;
}

.footer-stat-text span:last-child {
    color: #fff;
    font-weight: 500;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 20px;
}

.footer-col-about {
    flex: 2;
    min-width: 300px;
}

.footer-col-links {
    flex: 1;
    min-width: 150px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    color: #888;
    max-width: 600px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--cr-gold) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: #666;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #888;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #fff;
}

/* ── SOCIAL MEDIA BANNER ──────────────────────────────── */
.header_lossantos_socials {
    gap: 8px;
}

/* ── MOBILE NAV ACTIVE ────────────────────────────────── */
@media (max-width: 720px) {
    .cr-nav-row.active .nav-list,
    .nav-list.active {
        display: flex !important;
        flex-direction: column;
    }
    .footer-middle {
        flex-direction: column;
    }
    }


/* ── PROFILE SETTINGS PANEL ───────────────────────────── */
.settings-wrapper {
    max-width: 1000px;
    margin: 30px auto;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    font-family: Arial, sans-serif;
    color: #ccc;
}

.settings-header {
    background: #0c0c0c;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--cr-teal, #0C7073);
}

.settings-header img {
    border-radius: 5px;
}

.settings-header h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.settings-info {
    padding: 15px 20px;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #2a2a2a;
    line-height: 1.5;
}

.settings-form {
    padding: 20px;
}

.settings-row {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #2a2a2a;
}

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

.settings-label {
    flex: 0 0 35%;
    padding-right: 20px;
}

.settings-label strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.settings-label span {
    display: block;
    font-size: 11px;
    color: #777;
}

.settings-input-group {
    flex: 1;
}

.settings-input-group input[type="text"],
.settings-input-group input[type="password"] {
    width: 100%;
    max-width: 400px;
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 8px 12px;
    color: #fff;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.settings-input-group input[type="text"]:focus,
.settings-input-group input[type="password"]:focus {
    border-color: var(--cr-teal, #0C7073);
}

.settings-date-group {
    display: flex;
    gap: 10px;
}

.settings-date-group input {
    width: 60px !important;
    text-align: center;
}

.settings-date-group input.year {
    width: 80px !important;
}

.settings-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.settings-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
}

.settings-avatar-preview {
    margin-top: 10px;
}

.settings-avatar-preview img {
    max-width: 120px;
    max-height: 120px;
    border: 1px solid #444;
    border-radius: 5px;
    margin-bottom: 10px;
    display: block;
}

.settings-file-input {
    font-size: 12px;
    color: #aaa;
}

.settings-file-input input[type="file"] {
    display: inline-block;
    margin-right: 10px;
}

.settings-submit-row {
    padding: 20px;
    background: #151515;
    text-align: right;
    border-top: 1px solid #2a2a2a;
}

.settings-btn {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
    height: auto;
    min-height: 0;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    vertical-align: middle;
}

.settings-btn:hover {
    background: var(--cr-teal, #0C7073);
    border-color: var(--cr-teal, #0C7073);
}

@media (max-width: 768px) {
    .settings-row {
        flex-direction: column;
    }
    .settings-label {
        flex: 1;
        margin-bottom: 10px;
    }
    .settings-input-group {
        width: 100%;
    }
    .settings-input-group input[type="text"],
    .settings-input-group input[type="password"] {
        max-width: 100%;
    }
}

/* ── HEADER USER DROPDOWN ────────────────────────────── */
.user-dropdown-container {
    position: relative;
    display: inline-block;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    background: transparent;
    border: none;
    padding: 0;
}

.user-dropdown-toggle .header-avatar {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid #333;
    background: #000;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: #111;
    min-width: 150px;
    border: 1px solid #222;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
    z-index: 1000;
    padding: 5px 0;
}

.user-dropdown-container.active .user-dropdown-menu {
    display: block;
}

.user-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.user-dropdown-menu li a:hover {
    background: #1a1a1a;
    color: var(--cr-teal, #0C7073);
}

/* ── LOGIN (login.php) — merkez kart, gri ton, mavi CTA ─────────────────────────── */
#main_content_section .cr-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: min(72vh, 640px);
    padding: 32px 16px 48px;
    box-sizing: border-box;
}

.cr-login__card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 36px 32px 32px;
    background: var(--smf-panel-bg, #18191a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

.cr-login__title {
    margin: 0 0 10px;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    letter-spacing: 0.02em;
}

.cr-login__subtitle {
    margin: 0 0 28px;
    font-size: 14px;
    font-weight: 500;
    color: #9aa0a8;
    text-align: center;
    line-height: 1.45;
}

.cr-login__alert {
    margin: 0 0 22px;
    padding: 12px 14px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #ffb4b4;
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.35);
}

.cr-login__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cr-login__field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.cr-login__label {
    font-size: 12px;
    font-weight: 600;
    color: #9aa0a8;
    letter-spacing: 0.02em;
}

#main_content_section .cr-login .cr-login__input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    height: auto;
    min-height: 46px;
    font-size: 14px;
    font-family: rubik, sans-serif;
    color: #1a1d21;
    background: #e8eaed;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    outline: none;
}

#main_content_section .cr-login .cr-login__input:hover,
#main_content_section .cr-login .cr-login__input:focus {
    background: #f0f2f5;
    border-color: rgba(12, 112, 115, 0.35);
}

#main_content_section .cr-login .cr-login__input::placeholder {
    color: #6b7280;
}

.cr-login__submit {
    margin-top: 6px;
    width: 100%;
    padding: 14px 18px;
    height: auto;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
    font-family: rubik, sans-serif;
    letter-spacing: 0.03em;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.cr-login__submit:hover {
    background: #1d4ed8;
}

.cr-login__submit:active {
    transform: scale(0.99);
}

.cr-login__footer {
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 12px;
    line-height: 1.55;
    color: #9aa0a8;
    text-align: center;
}

.cr-login__footer-strong {
    font-weight: 700;
    color: #f2f3f5;
}

/* ── Kullanıcı bul (userfind.php) ─────────────────────────────────────────────── */
#main_content_section .cr-userfind {
    max-width: 560px;
    margin: 0 auto 28px;
    padding: 0 12px;
    box-sizing: border-box;
}

.cr-userfind__card {
    background: linear-gradient(165deg, #2a2c30 0%, #242526 42%, #1e1f22 100%);
    border: 1px solid #36393f;
    border-radius: 12px;
    padding: 26px 22px 28px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.cr-userfind__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}

.cr-userfind__subtitle {
    margin: 0 0 22px;
    font-size: 13px;
    line-height: 1.5;
    color: #9aa0a8;
}

.cr-userfind__form {
    margin: 0;
}

.cr-userfind__label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #c5c8ce;
}

.cr-userfind__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#main_content_section .cr-userfind .cr-userfind__input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 12px 14px;
    font-size: 15px;
    color: #f2f3f5;
    background: #1b1c1f;
    border: 1px solid #3f4249;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

#main_content_section .cr-userfind .cr-userfind__input:hover,
#main_content_section .cr-userfind .cr-userfind__input:focus {
    border-color: var(--cr-gold, #c9a227);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.15);
}

/* index.css `button` (height:25px, line-height:25px) + `button:focus{background:#000}` burayı bozuyor; #main ile ezip hizala */
#main_content_section .cr-userfind .cr-userfind__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: auto;
    min-height: 46px;
    line-height: 1.25;
    padding: 12px 22px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    font-family: rubik, sans-serif;
    color: #1a1a1a;
    background: var(--cr-gold, #c9a227);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, filter 0.15s, transform 0.1s;
}

#main_content_section .cr-userfind .cr-userfind__submit:hover,
#main_content_section .cr-userfind .cr-userfind__submit:focus {
    background: #d4ad32;
    outline: none;
    filter: none;
}

#main_content_section .cr-userfind .cr-userfind__submit:active {
    transform: scale(0.98);
    background: #b89220;
}

.cr-userfind__results {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cr-userfind__empty,
.cr-userfind__note {
    margin: 0 0 12px;
    font-size: 13px;
    color: #b5b5b5;
}

.cr-userfind__note {
    color: #9aa0a8;
    font-size: 12px;
}

.cr-userfind__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
}

.cr-userfind__item {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cr-userfind__item:last-child {
    border-bottom: none;
}

.cr-userfind__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 4px;
    color: #e8eaed;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.12s, background 0.12s;
    border-radius: 6px;
}

.cr-userfind__link:hover {
    color: var(--cr-gold-light, #f0d78c);
    background: rgba(201, 162, 39, 0.08);
}

.cr-userfind__link .fi {
    font-size: 15px;
    opacity: 0.85;
}

/* ── Şikayet oluştur (complaint/create.php) ─────────────────────────────────── */
#main_content_section .cr-complaint-page {
    max-width: 1120px;
    margin: 0 auto 36px;
    padding: 0 12px;
    box-sizing: border-box;
}

.cr-complaint-inner {
    display: grid;
    grid-template-columns: minmax(260px, 300px) 1fr;
    gap: 26px;
    align-items: start;
}

@media screen and (max-width: 900px) {
    .cr-complaint-inner {
        grid-template-columns: 1fr;
    }
}

.cr-complaint-rules {
    background: #1a1b1e;
    border: 1px solid #2f3136;
    border-left: 4px solid #e5a31a;
    border-radius: 10px;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cr-complaint-rules__title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f0c14c;
    letter-spacing: 0.02em;
}

.cr-complaint-rules__list {
    margin: 0;
    padding-left: 1.15rem;
    color: #dcddde;
    font-size: 13px;
    line-height: 1.65;
}

.cr-complaint-rules__list li {
    margin-bottom: 8px;
}

.cr-complaint-rules__hl {
    color: #f0c14c;
    font-weight: 700;
}

.cr-complaint-main {
    min-width: 0;
}

.cr-complaint-page__title {
    margin: 0 0 18px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.cr-complaint-alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.cr-complaint-alert--ok {
    background: rgba(59, 165, 93, 0.15);
    border: 1px solid rgba(59, 165, 93, 0.45);
    color: #8ee4a8;
}

.cr-complaint-alert--err {
    background: rgba(237, 66, 69, 0.15);
    border: 1px solid rgba(237, 66, 69, 0.45);
    color: #f6a4a6;
}

/* Şikayet türü (Oyuncu / Admin): .cr-complaint-block ile aynı sade çizgi */
.cr-complaint-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 0 16px;
    padding: 4px;
    background: #1e1f22;
    border: 1px solid #2f3136;
    border-radius: 10px;
}

.cr-complaint-tab {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #b9bcc4;
    font-size: 13px;
    font-weight: 700;
    font-family: rubik, sans-serif;
    cursor: pointer;
    transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.cr-complaint-tab .fi {
    font-size: 15px;
    line-height: 1;
    color: #8b929a;
    transition: color 0.12s ease;
}

.cr-complaint-tab--admin:not(.is-active) .fi {
    color: #9a8b52;
}

.cr-complaint-tab:hover:not(.is-active) {
    color: #e8eaed;
    background: rgba(255, 255, 255, 0.04);
}

.cr-complaint-tab:hover:not(.is-active) .fi {
    color: #b9bcc4;
}

.cr-complaint-tab.is-active {
    color: #fff;
    background: #25262b;
    border-color: #2f3136;
}

.cr-complaint-tab.is-active .fi {
    color: #f0c14c;
}

/* Eski kayıtlar / başka sayfalar (sekmede kullanılmıyor) */
.cr-complaint-tab--helper .fi {
    color: #2dd4bf;
}

.cr-complaint-tab--house .fi {
    color: #4ade80;
}

.cr-complaint-tab--business .fi {
    color: #c084fc;
}

/* Şikayet oluştur: admin sekmesinde oyuncuya özel / oyuncu sekmesinde admine özel metinler */
.cr-complaint-page--player .cr-complaint-only--admin,
.cr-complaint-page--admin .cr-complaint-only--player {
    display: none !important;
}

.cr-complaint-page--admin .cr-complaint-hint__dot {
    background: #e5a31a;
}

.cr-complaint-page--admin .cr-complaint-block__head .fi.cr-complaint-only--admin {
    color: #e5a31a;
}

.cr-complaint-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.55;
    color: #9aa0a8;
}

.cr-complaint-hint__dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: #3b82f6;
}

.cr-complaint-block {
    margin-bottom: 18px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2f3136;
    background: #1e1f22;
}

.cr-complaint-block__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: #0c0c0e;
    border-bottom: 1px solid #2f3136;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.cr-complaint-block__head .fi {
    font-size: 16px;
    color: #e8eaed;
}

.cr-complaint-block__body {
    padding: 14px 16px 16px;
}

.cr-complaint-field {
    margin-bottom: 12px;
}

.cr-complaint-field:last-child {
    margin-bottom: 0;
}

.cr-complaint-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #c5c8ce;
}

.cr-complaint-req {
    color: #f87171;
    font-weight: 800;
}

.cr-complaint-opt {
    margin-left: 6px;
    font-weight: 500;
    color: #7c8088;
    font-size: 11px;
}

#main_content_section .cr-complaint-input,
#main_content_section .cr-complaint-textarea,
#main_content_section .cr-complaint-select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 14px;
    font-family: rubik, sans-serif;
    color: #f2f3f5;
    background: #25262a;
    border: 1px solid #3c3f48;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

#main_content_section .cr-complaint-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

#main_content_section .cr-complaint-input:hover,
#main_content_section .cr-complaint-textarea:hover,
#main_content_section .cr-complaint-select:hover,
#main_content_section .cr-complaint-input:focus,
#main_content_section .cr-complaint-textarea:focus,
#main_content_section .cr-complaint-select:focus {
    border-color: #5b9fd4;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.cr-complaint-footnote {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #7c8088;
}

.cr-complaint-submit-wrap {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
}

#main_content_section .cr-complaint-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    height: auto;
    line-height: 1.25;
    padding: 12px 24px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    font-family: rubik, sans-serif;
    color: #e8eaed;
    background: #2f3136;
    border: 1px solid #3f4249;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

#main_content_section .cr-complaint-submit:hover {
    background: #363a40;
    border-color: rgba(229, 163, 26, 0.35);
    color: #fff;
}

#main_content_section .cr-complaint-submit:active {
    transform: scale(0.99);
    background: #2a2c31;
}

#main_content_section .cr-complaint-submit .fi {
    font-size: 15px;
    color: #c5c8ce;
    transition: color 0.15s ease;
}

#main_content_section .cr-complaint-submit:hover .fi {
    color: #f0c14c;
}

.cr-complaint-form .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;
}

/* ── PUBLIC PROFILE (profile.php) — forum/SMF tarzı tek kabuk ───────────────────── */
#main_content_section .cr-profile {
    max-width: 1080px;
    margin: 0 auto 28px;
    padding: 0 12px;
    box-sizing: border-box;
}

#main_content_section .cr-profile:has(.cr-profile-shell--v2) {
    max-width: 1120px;
}

.cr-profile-shell {
    background: linear-gradient(165deg, #2a2c30 0%, #242526 42%, #1e1f22 100%);
    border: 1px solid #36393f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.cr-profile-tabbar {
    background: #1f2024;
    padding: 11px 18px;
    border-bottom: 1px solid #36393f;
}

.cr-profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #b5b5b5;
    font-weight: 600;
}

.cr-profile-tab--active {
    color: #fff;
}

.cr-profile-banner {
    position: relative;
    min-height: 228px;
    overflow: hidden;
    background-color: #2f3136;
    border-bottom: 1px solid #36393f;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cr-profile-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.cr-profile-banner__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 52%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.cr-profile-banner__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    gap: 22px;
    padding: 12px 22px 24px;
    flex-wrap: wrap;
}

.cr-profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.cr-profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1c1f;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
    display: block;
    background: #2f3136;
}

/* Site default-pp logo: scale inside circle so the full graphic is visible */
.cr-profile-avatar.cr-profile-avatar--default {
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}

img.cr-default-pp {
    object-fit: contain;
    box-sizing: border-box;
    background: #2f3136;
}

.bakanpp img.cr-default-pp {
    padding: 6px;
}

.user-dropdown-toggle .header-avatar.cr-default-pp {
    object-fit: contain;
    padding: 4px;
}

.settings-header img.cr-default-pp--square {
    object-fit: contain !important;
    padding: 10px;
    box-sizing: border-box;
    background: #1a1c1f;
}

.cr-profile-online {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 20px;
    height: 20px;
    background: #3ba55d;
    border: 4px solid #1a1c1f;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}

.cr-profile-identity {
    flex: 1;
    min-width: 200px;
    padding-bottom: 2px;
    padding-top: 16px;
}

.cr-profile-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    margin: 0 6px 6px 0;
    border: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.28);
    vertical-align: middle;
}

.cr-profile-pill--name {
    font-weight: 600;
    font-size: 17px;
    color: #9cd4ef;
    background: rgba(0, 0, 0, 0.22);
}

.cr-profile-pill--rank {
    font-size: 11px;
    letter-spacing: 0.04em;
    font-weight: 600;
    color: #b8bcc3;
    background: rgba(0, 0, 0, 0.22);
}

.cr-profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.cr-profile-social,
.cr-profile-social--static {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #36393f;
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e8e8e8;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.cr-profile-social:hover {
    background: rgba(12, 112, 115, 0.85);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateY(-2px);
}

.cr-profile-social--static {
    cursor: default;
}

.cr-profile-columns {
    display: grid;
    grid-template-columns: minmax(252px, 30%) 1fr;
    gap: 20px;
    padding: 18px;
    align-items: start;
    background: #18191a;
}

.cr-profile-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cr-profile-sideactions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cr-profile-sidebtn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    background: #242526;
    border: 1px solid #3f4147;
    color: #dcddde;
    font-size: 13px;
    text-decoration: none;
    text-align: left;
    transition: background 0.15s, border-color 0.15s;
}

.cr-profile-sidebtn:hover {
    background: #2f3136;
    border-color: #0C7073;
    color: #fff;
}

.cr-profile-visitors {
    background: #242526 !important;
    border-radius: 10px !important;
    border: 1px solid #3f4147 !important;
    padding: 12px !important;
}

.cr-profile-visitors__head.profilziyaretbaslik,
.cr-profile-visitors .profilziyaretbaslik {
    background: #1f2024 !important;
    border-radius: 6px !important;
}

.cr-profile-visitors__list.profilebakanlar,
.cr-profile-visitors .profilebakanlar {
    max-height: 280px;
}

.cr-vis--lead { color: #ed4245 !important; font-weight: 600; text-decoration: none; }
.cr-vis--lead:hover { text-decoration: underline; }
.cr-vis--admin { color: #faa61a !important; font-weight: 600; text-decoration: none; }
.cr-vis--admin:hover { text-decoration: underline; }
.cr-vis--mod { color: #9b59b6 !important; font-weight: 600; text-decoration: none; }
.cr-vis--mod:hover { text-decoration: underline; }
.cr-vis--staff { color: #3498db !important; font-weight: 600; text-decoration: none; }
.cr-vis--staff:hover { text-decoration: underline; }
.cr-vis--member { color: #b9bbbe !important; font-weight: 500; text-decoration: none; }
.cr-vis--member:hover { text-decoration: underline; color: #fff !important; }

.cr-profile-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.cr-profile-block {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #3f4147;
    background: #242526;
}

.cr-profile-block__head {
    background: #1f2024;
    color: #b9bbbe;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 14px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #36393f;
}

.cr-profile-block__body {
    background: #2f3136;
    min-height: 76px;
    padding: 14px 16px;
    box-sizing: border-box;
}

.cr-profile-block--compact .cr-profile-block__body {
    min-height: 56px;
}

.cr-profile-block__empty {
    margin: 0;
    color: #4e5058;
    font-size: 15px;
}

.cr-profile-charlist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cr-profile-charlist li {
    padding-bottom: 10px;
    border-bottom: 1px solid #3f4147;
}

.cr-profile-charlist li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cr-profile-charlist strong {
    display: block;
    color: #f2f3f5;
    font-size: 14px;
    margin-bottom: 4px;
}

.cr-profile-charlist span {
    font-size: 12px;
    color: #949ba4;
}

.cr-profile-muted {
    margin: 0;
    font-size: 13px;
    color: #72767d;
}

/* Tek düz renk (#18191a = body); iki sütunda farklı ton oluşmasın diye tüm hücrelere aynı zemin */
.cr-profile-infocard {
    border-radius: 10px;
    border: 1px solid #2f3136;
    background-color: #18191a;
    overflow: hidden;
}

.cr-profile-infocard__grid {
    padding: 0;
    background-color: #18191a;
}

.cr-profile-infocard__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid #2f3136;
    background-color: #18191a;
}

.cr-profile-infocard__full {
    padding: 14px 18px;
    border-bottom: 1px solid #2f3136;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #18191a !important;
}

.cr-profile-infocard__item {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid #2f3136;
    background-color: #18191a !important;
    box-shadow: none;
}

.cr-profile-infocard__pair .cr-profile-infocard__item:last-child {
    border-right: 0;
}

.cr-profile-infocard__label {
    font-size: 12px;
    font-weight: 600;
    color: #949ba4;
    text-transform: capitalize;
}

.cr-profile-infocard__value {
    font-size: 14px;
    color: #f2f3f5;
    word-break: break-word;
}

.cr-profile-bio {
    border-top: 1px solid #2f3136;
    background-color: #18191a;
}

.cr-profile-bio__head {
    border-radius: 0 !important;
}

.cr-profile-bio__body {
    padding: 14px 18px 18px;
    font-size: 13px;
    color: #dcddde;
    line-height: 1.55;
}

@media screen and (max-width: 900px) {
    .cr-profile-columns {
        grid-template-columns: 1fr;
    }
    .cr-profile-infocard__pair {
        grid-template-columns: 1fr;
    }
    .cr-profile-infocard__item {
        border-right: 0;
        border-bottom: 1px solid #2f3136;
    }
    .cr-profile-infocard__pair .cr-profile-infocard__item:last-child {
        border-bottom: 0;
    }
}

@media screen and (max-width: 520px) {
    .cr-profile-banner__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cr-profile-identity {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cr-profile-pill {
        margin-left: 4px;
        margin-right: 4px;
    }
    .cr-profile-socials {
        justify-content: center;
    }
}

/* ── PUBLIC PROFILE v2 — index :root (--smf-*) ile aynı yüzey renkleri + teal vurgu ─ */
.cr-profile-shell--v2 {
    --p-page: var(--smf-wrap-bg, #242526);
    --p-shell: var(--smf-wrap-bg, #242526);
    --p-card: var(--smf-panel-bg, #18191a);
    --p-card-inner: var(--smf-nested-bg, #242526);
    --p-elev: #2c2d31;
    --p-line: rgba(255, 255, 255, 0.07);
    --p-line-teal: rgba(12, 112, 115, 0.28);
    --p-head: var(--smf-panel-bg, #18191a);
    --p-text: #f4f4f5;
    --p-text-dim: #cec6c6;
    --p-label: #8b8e95;
    --p-user: #e84545;
    --p-link: #4dd4d8;
    --p-link-hi: #7ef0f3;
    --p-online: #2eb872;
    --p-online-ring: rgba(46, 184, 114, 0.45);
}

#main_content_section .cr-profile .cr-profile-shell--v2 {
    background: var(--p-shell);
    border: 1px solid var(--p-line-teal);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(12, 112, 115, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cr-profile-shell--v2 .cr-profile-hero {
    position: relative;
}

.cr-profile-shell--v2 .cr-profile-hero__cover {
    position: relative;
    height: 216px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 120% at 50% 0%, rgba(12, 112, 115, 0.12) 0%, transparent 55%),
        linear-gradient(165deg, #2c2e32 0%, var(--smf-wrap-bg, #242526) 52%, #1e1f22 100%);
}

.cr-profile-shell--v2 .cr-profile-hero__coverimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.92;
}

.cr-profile-shell--v2 .cr-profile-hero__covershade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(36, 37, 38, 0.78) 0%,
        rgba(36, 37, 38, 0.22) 45%,
        rgba(36, 37, 38, 0.72) 100%
    );
    pointer-events: none;
}

.cr-profile-shell--v2 .cr-profile-hero__menu {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 5;
}

.cr-profile-shell--v2 .cr-profile-hero__menubtn {
    list-style: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(36, 37, 38, 0.92);
    border: 1px solid var(--p-line-teal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: #fff;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.cr-profile-shell--v2 .cr-profile-hero__menubtn:hover {
    border-color: rgba(12, 112, 115, 0.55);
    box-shadow: 0 0 0 1px rgba(12, 112, 115, 0.2);
}

.cr-profile-shell--v2 .cr-profile-hero__menubtn::-webkit-details-marker {
    display: none;
}

.cr-profile-shell--v2 .cr-profile-hero__menubtn span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e8e8ea;
}

.cr-profile-shell--v2 .cr-profile-hero__menupanel {
    position: absolute;
    right: 0;
    top: 48px;
    min-width: 232px;
    padding: 8px;
    background: var(--p-card);
    border: 1px solid var(--p-line-teal);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cr-profile-shell--v2 .cr-profile-hero__menupanel a {
    display: block;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p-text-dim);
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}

.cr-profile-shell--v2 .cr-profile-hero__menupanel a:hover {
    background: rgba(12, 112, 115, 0.14);
    color: var(--p-link-hi);
}

.cr-profile-shell--v2 .cr-profile-hero__identity {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 24px 22px;
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.cr-profile-shell--v2 .cr-profile-hero__avatarwrap {
    position: relative;
    flex-shrink: 0;
}

.cr-profile-shell--v2 .cr-profile-hero__avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fafafa;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(12, 112, 115, 0.15);
    display: block;
    background: var(--p-card-inner);
}

.cr-profile-shell--v2 .cr-profile-hero__avatar--default {
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}

.cr-profile-shell--v2 .cr-profile-hero__online {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 20px;
    height: 20px;
    background: var(--p-online);
    border: 4px solid #fafafa;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--p-online-ring);
}

.cr-profile-shell--v2 .cr-profile-hero__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 4px;
}

.cr-profile-shell--v2 .cr-profile-hero__badge {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.cr-profile-shell--v2 .cr-profile-hero__badge--user {
    background: var(--p-card);
    color: var(--p-user);
    border: 1px solid var(--p-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cr-profile-shell--v2 .cr-profile-hero__badge--rank {
    background: var(--p-card);
    color: #e8e8ec;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--p-line);
}

.cr-profile-shell--v2 .cr-profile-body {
    display: grid;
    grid-template-columns: minmax(268px, 34%) 1fr;
    gap: 16px;
    padding: 20px 22px 24px;
    background: var(--p-page);
    align-items: start;
}

.cr-profile-shell--v2 .cr-profile-panel {
    background: var(--p-card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--p-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cr-profile-shell--v2 .cr-profile-panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    background: var(--p-head);
    color: var(--p-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--p-line-teal);
}

.cr-profile-shell--v2 .cr-profile-panel__count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--p-label);
    text-transform: none;
}

.cr-profile-shell--v2 .cr-profile-panel__body {
    padding: 16px 18px 18px;
    color: var(--p-text-dim);
}

.cr-profile-shell--v2 .cr-profile-panel__body--flush {
    padding: 14px;
}

.cr-profile-shell--v2 .cr-profile-panel__empty {
    margin: 0;
    padding: 10px 4px;
    color: var(--p-label);
}

.cr-profile-shell--v2 .cr-profile-visitors-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(12, 112, 115, 0.45) transparent;
}

.cr-profile-shell--v2 .cr-profile-visitors-list::-webkit-scrollbar {
    width: 6px;
}

.cr-profile-shell--v2 .cr-profile-visitors-list::-webkit-scrollbar-thumb {
    background: rgba(12, 112, 115, 0.45);
    border-radius: 6px;
}

.cr-profile-shell--v2 .cr-profile-visitor {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--p-card-inner);
    border: 1px solid var(--p-line);
}

.cr-profile-shell--v2 .cr-profile-visitor__ava img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--p-line);
    box-shadow: 0 0 0 1px rgba(12, 112, 115, 0.12);
    display: block;
}

.cr-profile-shell--v2 .cr-profile-visitor__name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--p-link);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.cr-profile-shell--v2 .cr-profile-visitor__name:hover {
    color: var(--p-link-hi);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cr-profile-shell--v2 .cr-profile-visitor__date {
    display: block;
    font-size: 12px;
    color: var(--p-label);
    margin-top: 3px;
    letter-spacing: 0.02em;
}

.cr-profile-shell--v2 .cr-profile-charstrip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cr-profile-shell--v2 .cr-profile-charcard {
    position: relative;
    flex: 1 1 260px;
    max-width: 100%;
    min-width: min(100%, 220px);
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--p-card-inner);
    border: 1px solid var(--p-line);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    min-height: 0;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.cr-profile-shell--v2 .cr-profile-charcard:hover {
    border-color: rgba(12, 112, 115, 0.45);
    background: #2a2b2e;
    box-shadow: 0 0 0 1px rgba(12, 112, 115, 0.1);
}

.cr-profile-shell--v2 .cr-profile-charcard--nolink {
    cursor: default;
}

.cr-profile-shell--v2 .cr-profile-charcard--nolink:hover {
    border-color: var(--p-line);
    background: var(--p-card-inner);
    box-shadow: none;
}

.cr-profile-shell--v2 .cr-profile-charcard__text {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-right: 40px;
}

.cr-profile-shell--v2 .cr-profile-charcard__flag {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 4px 6px;
    border-radius: 5px;
    line-height: 1;
    color: var(--cr-gold-light, #10979b);
    background: rgba(12, 112, 115, 0.12);
    border: 1px solid var(--p-line-teal);
}

.cr-profile-shell--v2 .cr-profile-charcard__thumbwrap {
    flex: 0 0 72px;
    width: 72px;
    align-self: center;
    min-height: 96px;
    max-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--p-card);
    border-radius: 8px;
    border: 1px solid var(--p-line);
}

.cr-profile-shell--v2 .cr-profile-charcard__thumb {
    max-width: 64px;
    max-height: 104px;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: pixelated;
}

.cr-profile-shell--v2 .cr-profile-charcard__name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--p-text);
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.cr-profile-shell--v2 .cr-profile-charcard__meta {
    display: block;
    font-size: 11px;
    color: var(--p-label);
    line-height: 1.45;
}

.cr-profile-shell--v2 .cr-profile-panel--past {
    margin-top: 6px;
}

.cr-profile-shell--v2 .cr-profile-pastlist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.cr-profile-shell--v2 .cr-profile-pastlist a {
    color: var(--cr-gold-light, #10979b);
    font-weight: 600;
    text-decoration: none;
}

.cr-profile-shell--v2 .cr-profile-pastlist a:hover {
    color: var(--p-link-hi);
    text-decoration: underline;
}

.cr-profile-shell--v2 .cr-profile-pastlist span {
    color: var(--p-text-dim);
}

.cr-profile-shell--v2 .cr-profile-pastlist li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.cr-profile-shell--v2 .cr-profile-panel--details {
    margin-top: 6px;
}

.cr-profile-shell--v2 .cr-profile-detailseg {
    border-bottom: 1px solid var(--p-line);
}

.cr-profile-shell--v2 .cr-profile-detailseg:last-child {
    border-bottom: none;
}

.cr-profile-shell--v2 .cr-profile-detailseg--pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.cr-profile-shell--v2 .cr-profile-detailseg--pair .cr-profile-detailitem:nth-child(n + 3) {
    border-top: 1px solid var(--p-line);
}

.cr-profile-shell--v2 .cr-profile-detailseg--stack .cr-profile-detailitem--full {
    border-bottom: 1px solid var(--p-line);
}

.cr-profile-shell--v2 .cr-profile-detailseg--stack .cr-profile-detailitem--full:last-child {
    border-bottom: none;
}

.cr-profile-shell--v2 .cr-profile-detailitem {
    padding: 15px 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-right: 1px solid var(--p-line);
    background: var(--p-card-inner);
}

.cr-profile-shell--v2 .cr-profile-detailseg--pair .cr-profile-detailitem:nth-child(2n) {
    border-right: none;
}

.cr-profile-shell--v2 .cr-profile-detailitem--full {
    border-right: none;
}

.cr-profile-shell--v2 .cr-profile-detaillabel {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--p-label);
}

.cr-profile-shell--v2 .cr-profile-detailvalue {
    font-size: 14px;
    font-weight: 600;
    color: var(--p-text);
    word-break: break-word;
    line-height: 1.5;
}

.cr-profile-shell--v2 .cr-profile-detaillink {
    color: var(--p-link);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(77, 212, 216, 0.35);
}

.cr-profile-shell--v2 .cr-profile-detaillink:hover {
    color: var(--p-link-hi);
    border-bottom-color: rgba(126, 240, 243, 0.55);
}

.cr-profile-shell--v2 .cr-profile-muted {
    color: var(--p-label);
    font-size: 13px;
}

@media screen and (max-width: 920px) {
    .cr-profile-shell--v2 .cr-profile-body {
        grid-template-columns: 1fr;
    }

    .cr-profile-shell--v2 .cr-profile-detailseg--pair {
        grid-template-columns: 1fr;
    }

    .cr-profile-shell--v2 .cr-profile-detailseg--pair .cr-profile-detailitem {
        border-right: none;
        border-bottom: 1px solid var(--p-line);
    }

    .cr-profile-shell--v2 .cr-profile-detailseg--pair .cr-profile-detailitem:last-child {
        border-bottom: none;
    }
}

@media screen and (max-width: 520px) {
    .cr-profile-shell--v2 .cr-profile-hero__identity {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -52px;
    }

    .cr-profile-shell--v2 .cr-profile-hero__badges {
        align-items: center;
    }
}

/* ── STAFF LIST (stafflist.php) — profil kabuğu ile aynı tema ─────────────────── */
#main_content_section .cr-stafflist {
    max-width: 1080px;
    margin: 0 auto 28px;
    padding: 0 12px;
    box-sizing: border-box;
}

/* ── CITY / FACTIONS (city/factions) — SS’deki grid kart arayüz ──────────────── */
.cr-factions {
    max-width: 1080px;
    margin: 0 auto 28px;
    padding: 0 12px;
    box-sizing: border-box;
}

.cr-factions-shell {
    background: linear-gradient(165deg, #2a2c30 0%, #242526 42%, #1e1f22 100%);
    border: 1px solid #36393f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.cr-factions-head {
    padding: 16px 18px 14px;
    border-bottom: 1px solid #36393f;
    background: #1f2024;
}

.cr-factions-title {
    font-size: 15px;
    font-weight: 800;
    color: #f2f3f5;
    letter-spacing: 0.02em;
}

.cr-factions-sub {
    margin-top: 6px;
    font-size: 12px;
    color: #949ba4;
}

.cr-factions-empty {
    padding: 18px;
    color: #949ba4;
}

.cr-factions-grid {
    padding: 16px 18px 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    background: #18191a;
}

.cr-factions-card {
    display: block;
    padding: 14px 14px 12px;
    border-radius: 10px;
    background: #242526;
    border: 1px solid #3f4147;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.cr-factions-card:hover {
    background: #2f3136;
    border-color: #0C7073;
    transform: translateY(-2px);
}

.cr-factions-card__name {
    font-size: 13px;
    font-weight: 800;
    color: #e8e8e8;
    margin-bottom: 8px;
}

.cr-factions-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: #949ba4;
    font-size: 12px;
}

.cr-factions-card__meta i {
    margin-right: 6px;
    opacity: 0.9;
}

.cr-factions-shell--view {
    background: linear-gradient(165deg, #2a2c30 0%, #242526 42%, #1e1f22 100%);
    border: 1px solid #36393f;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.cr-factions-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #1f2024;
    border-bottom: 1px solid #36393f;
}

.cr-factions-topbar__title {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
    color: #f2f3f5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cr-factions-topbar__right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cr-factions-topbar__id {
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
    color: #b9bbbe;
    font-size: 12px;
    font-weight: 700;
}

.cr-factions-topbar__back {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #242526;
    border: 1px solid #3f4147;
    color: #b9bbbe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cr-factions-topbar__back:hover {
    background: #2f3136;
    border-color: #0C7073;
    color: #fff;
}

.cr-factions-tabs {
    margin-top: 0;
    background: #1f2024;
    border-bottom: 1px solid #36393f;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.cr-factions-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    color: #b9bbbe;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-right: 1px solid #36393f;
}

.cr-factions-tab:last-child {
    border-right: 0;
}

.cr-factions-tab--active {
    color: #fff;
}

.cr-factions-tab--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cr-factions-body {
    background: #18191a;
    padding: 14px 14px 18px;
}

.cr-factions-summary {
    background: #1f2024;
    border: 1px solid #2f3136;
    border-radius: 10px;
    padding: 10px 12px;
    color: #b9bbbe;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cr-factions-rankblock + .cr-factions-rankblock {
    margin-top: 14px;
}

.cr-factions-rankhead {
    background: #1f2024;
    border: 1px solid #2f3136;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #b9bbbe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cr-factions-ranktitle {
    color: #f2f3f5;
}

.cr-factions-members {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.cr-factions-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 10px 10px;
    border-radius: 12px;
    background: #242526;
    border: 1px solid #3f4147;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.cr-factions-member:hover {
    background: #2f3136;
    border-color: #0C7073;
    transform: translateY(-2px);
}

.cr-factions-member__av {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    overflow: hidden;
    background: #2f3136;
    border: 2px solid #1a1c1f;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.cr-factions-member__av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #2f3136;
}

.cr-factions-member__online {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 16px;
    height: 16px;
    background: #3ba55d;
    border: 3px solid #1a1c1f;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}

.cr-factions-member__user {
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.1;
}

.cr-factions-member__user i {
    font-size: 12px;
    opacity: 0.9;
}

.cr-factions-member__char {
    font-size: 11px;
    color: #b9bbbe;
    line-height: 1.2;
}

@media screen and (max-width: 980px) {
    .cr-factions-members {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .cr-factions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 560px) {
    .cr-factions-members {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cr-factions-grid {
        grid-template-columns: 1fr;
    }
}

.cr-stafflist-shell {
    background: linear-gradient(165deg, #2a2c30 0%, #242526 42%, #1e1f22 100%);
    border: 1px solid #36393f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.cr-stafflist-tabbar {
    background: #1f2024;
    padding: 11px 18px;
    border-bottom: 1px solid #36393f;
}

.cr-stafflist-tabbar__title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.cr-stafflist-body {
    padding: 0;
    background: #18191a;
}

.cr-stafflist-empty {
    margin: 0;
    padding: 28px 20px;
    text-align: center;
    color: #72767d;
    font-size: 14px;
}

.cr-stafflist-tier {
    padding: 18px;
    border-bottom: 1px solid #36393f;
}

.cr-stafflist-tier:last-child {
    border-bottom: 0;
}

.cr-stafflist-tier__title {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: #1f2024;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    letter-spacing: 0.02em;
    border: 1px solid #36393f;
}

.cr-stafflist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 14px;
}

.cr-stafflist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 12px 16px;
    background: #242526;
    border: 1px solid #3f4147;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.cr-stafflist-card:hover {
    border-color: rgba(12, 112, 115, 0.65);
    background: #2f3136;
    transform: translateY(-2px);
}

.cr-stafflist-card__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1c1f;
    margin: 0 0 12px;
    display: block;
    background: #2f3136;
    box-sizing: border-box;
}

.cr-stafflist-card__avatar.cr-default-pp {
    object-fit: contain;
    padding: 12px;
}

.cr-stafflist-card__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #f2f3f5;
}

.cr-stafflist-card__rank {
    font-size: 11px;
    font-weight: 600;
    color: #949ba4;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

@media screen and (max-width: 520px) {
    .cr-stafflist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── DESTEK BİLETİ (tickets/*.php) ───────────────────────────────────────────── */
#main_content_section .cr-ticket-app {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto 28px;
    padding: 0 12px;
    box-sizing: border-box;
    align-items: start;
}

.cr-ticket-sidebar {
    background: #2f3136;
    border: 1px solid #202225;
    border-radius: 12px;
    padding: 16px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.cr-ticket-sidebar__panel {
    margin-bottom: 4px;
}

.cr-ticket-owner-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid #202225;
    border-radius: 10px;
    margin-bottom: 12px;
}

.cr-ticket-owner-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b3f45;
    flex-shrink: 0;
}

.cr-ticket-owner-card__name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
    line-height: 1.3;
}

.cr-ticket-owner-card__label {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #949ba4;
}

.cr-ticket-sidebar-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.cr-ticket-sidebar-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.cr-ticket-sidebar-badge--status.cr-ticket-sidebar-badge--open {
    background: rgba(59, 165, 93, 0.22);
    color: #8ee4a8;
    border: 1px solid rgba(59, 165, 93, 0.45);
}

.cr-ticket-sidebar-badge--status.cr-ticket-sidebar-badge--closed {
    background: rgba(180, 40, 50, 0.28);
    color: #f0a8ad;
    border: 1px solid rgba(237, 66, 69, 0.5);
}

.cr-ticket-sidebar-badge--prio {
    border: 1px solid transparent;
}

.cr-ticket-sidebar-badge--prio-low {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.45);
}

.cr-ticket-sidebar-badge--prio-normal {
    background: rgba(142, 146, 151, 0.2);
    color: #b9bbbe;
    border-color: rgba(142, 146, 151, 0.35);
}

.cr-ticket-sidebar-badge--prio-high {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.45);
}

.cr-ticket-sidebar-badge--prio-urgent {
    background: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.5);
}

.cr-ticket-sidebar__ticket-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #dcddde;
    margin-bottom: 12px;
    line-height: 1.35;
}

.cr-ticket-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.cr-ticket-meta-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #b9bbbe;
}

.cr-ticket-meta-list li > i {
    margin-top: 2px;
    font-size: 14px;
    opacity: 0.85;
    color: #949ba4;
    flex-shrink: 0;
}

.cr-ticket-meta-list__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cr-ticket-meta-list__k {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #72767d;
}

.cr-ticket-meta-list__v {
    font-weight: 500;
    color: #f2f3f5;
    word-break: break-word;
}

.cr-ticket-sidebar__section-divider {
    height: 1px;
    background: #202225;
    margin: 18px 0 6px;
}

.cr-ticket-sidebar__section + .cr-ticket-sidebar__section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #202225;
}

.cr-ticket-sidebar__heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #949ba4;
    margin-bottom: 12px;
}

.cr-ticket-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cr-ticket-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #dcddde;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.cr-ticket-sidebar__link i {
    font-size: 15px;
    opacity: 0.9;
}

.cr-ticket-sidebar__link:hover {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

.cr-ticket-sidebar__link.is-active {
    background: #3b82f6;
    color: #fff;
}

.cr-ticket-sidebar__badge {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.35);
    color: #b9bbbe;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 1.5em;
    text-align: center;
}

.cr-ticket-sidebar__link.is-active .cr-ticket-sidebar__badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cr-ticket-search__label {
    display: block;
    font-size: 11px;
    color: #949ba4;
    margin-bottom: 6px;
}

.cr-ticket-search .cr-ticket-input,
.cr-ticket-search .cr-ticket-input--select {
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.cr-ticket-main {
    min-width: 0;
}

.cr-ticket-card {
    background: #36393f;
    border: 1px solid #202225;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.cr-ticket-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #202225;
    background: #2f3136;
}

.cr-ticket-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.cr-ticket-card__head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cr-ticket-meta {
    margin: 8px 0 0;
    font-size: 13px;
    color: #949ba4;
}

.cr-ticket-card__body {
    padding: 20px;
}

.cr-ticket-card__body--flush {
    padding: 0;
}

.cr-ticket-field {
    margin-bottom: 18px;
}

.cr-ticket-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #f2f3f5;
    margin-bottom: 8px;
}

.cr-ticket-input,
.cr-ticket-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #0d0e10;
    border: 1px solid #2b2d31;
    border-radius: 8px;
    padding: 11px 14px;
    color: #f2f3f5;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.4;
}

.cr-ticket-input:focus,
.cr-ticket-textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.cr-ticket-textarea {
    min-height: 120px;
    resize: vertical;
}

.cr-ticket-input--select {
    cursor: pointer;
    height: auto;
    min-height: 42px;
}

.cr-ticket-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
}

.cr-ticket-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.25;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cr-ticket-btn--primary {
    background: #3b82f6;
    border-color: #2563eb;
    color: #fff;
}

.cr-ticket-btn--primary:hover {
    background: #2563eb;
}

.cr-ticket-btn--ghost {
    background: transparent;
    border-color: #4e5058;
    color: #b9bbbe;
}

.cr-ticket-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.cr-ticket-btn--muted {
    background: #4e5058;
    border-color: #5c5e66;
    color: #fff;
}

.cr-ticket-btn--muted:hover {
    background: #5c5e66;
}

.cr-ticket-btn--block {
    width: 100%;
}

.cr-ticket-alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.cr-ticket-alert--error {
    background: rgba(237, 66, 69, 0.15);
    border: 1px solid rgba(237, 66, 69, 0.45);
    color: #f6a4a6;
}

.cr-ticket-alert--ok {
    background: rgba(59, 165, 93, 0.15);
    border: 1px solid rgba(59, 165, 93, 0.45);
    color: #8ee4a8;
}

.cr-ticket-table-wrap {
    overflow-x: auto;
}

.cr-ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cr-ticket-table th,
.cr-ticket-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #2b2d31;
}

.cr-ticket-table th {
    background: #2f3136;
    color: #949ba4;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cr-ticket-table td {
    color: #dcddde;
}

.cr-ticket-table a {
    color: #6ea8fe;
    text-decoration: none;
}

.cr-ticket-table a:hover {
    text-decoration: underline;
}

.cr-ticket-empty,
.cr-ticket-muted {
    padding: 24px 20px;
    color: #72767d;
    font-size: 14px;
    margin: 0;
}

.cr-ticket-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cr-ticket-pill--open {
    background: rgba(59, 165, 93, 0.2);
    color: #8ee4a8;
}

.cr-ticket-pill--closed {
    background: rgba(142, 146, 151, 0.2);
    color: #b9bbbe;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cr-ticket-view-section {
    margin-bottom: 26px;
}

.cr-ticket-view-section__title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f2f3f5;
}

.cr-ticket-desc-box {
    background: #0d0e10;
    border: 1px solid #2b2d31;
    border-radius: 10px;
    padding: 16px 18px;
}

.cr-ticket-desc-box__body {
    font-size: 14px;
    color: #dcddde;
    line-height: 1.55;
    word-break: break-word;
}

.cr-ticket-desc-box__empty {
    margin: 0;
}

.cr-ticket-admin-note-section {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 22px;
    border-top: 1px solid #202225;
}

.cr-ticket-admin-note-section .cr-ticket-view-section__title {
    margin-bottom: 8px;
}

.cr-ticket-admin-note__hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: #72767d;
    line-height: 1.45;
}

.cr-ticket-admin-note__meta {
    margin: 0 0 12px;
    font-size: 12px;
    color: #72767d;
}

.cr-ticket-admin-note__actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cr-ticket-lock-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: rgba(142, 146, 151, 0.12);
    border: 1px solid #3f4147;
    border-radius: 8px;
    font-size: 13px;
    color: #b9bbbe;
}

.cr-ticket-lock-notice i {
    font-size: 16px;
    opacity: 0.9;
}

.cr-ticket-thread-heading {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: #949ba4;
}

.cr-ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.cr-ticket-msg {
    background: #2f3136;
    border: 1px solid #202225;
    border-radius: 10px;
    padding: 14px 16px;
}

.cr-ticket-msg--staff {
    border-left: 3px solid #3b82f6;
}

.cr-ticket-msg--rich {
    padding: 14px 16px;
}

.cr-ticket-msg__row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cr-ticket-msg__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3f4147;
    flex-shrink: 0;
}

.cr-ticket-msg__main {
    flex: 1;
    min-width: 0;
}

.cr-ticket-msg__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #949ba4;
}

.cr-ticket-msg__name {
    color: #fff;
    font-weight: 600;
}

.cr-ticket-msg__role {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #72767d;
}

.cr-ticket-msg__time {
    margin-left: auto;
    font-size: 12px;
    color: #72767d;
}

.cr-ticket-msg__head strong {
    color: #fff;
    font-weight: 600;
}

.cr-ticket-msg__head time {
    margin-left: auto;
    font-size: 12px;
}

.cr-ticket-msg__badge {
    background: #3b82f6;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.cr-ticket-msg__body {
    font-size: 14px;
    color: #dcddde;
    line-height: 1.55;
    word-break: break-word;
}

.cr-ticket-activity {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid #202225;
}

.cr-ticket-activity__empty {
    margin: 0 0 12px;
    font-size: 14px;
    color: #72767d;
}

.cr-ticket-activity .cr-ticket-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cr-ticket-reply {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #202225;
}

.cr-ticket-inline-form {
    display: inline;
}

.cr-ticket-inline-form button {
    margin: 0;
}

@media screen and (max-width: 900px) {
    #main_content_section .cr-ticket-app {
        grid-template-columns: 1fr;
    }

    .cr-ticket-sidebar {
        order: 2;
    }

    .cr-ticket-main {
        order: 1;
    }
}

/* ── UCP (ucp/*.php) — #wrapper ile aynı merkez gri tonları ───────────────── */
#main_content_section .cr-ucp-app {
    display: grid;
    /* minmax(0,1fr): geniş tablo / içerik taşmasını kesmesin; 1fr tek başına min-width:auto ile şişiriyordu */
    grid-template-columns: minmax(248px, 270px) minmax(0, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto 32px;
    padding: 0 12px;
    box-sizing: border-box;
    align-items: start;
}

.cr-ucp-sidebar {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 8px 0 0;
    box-shadow: none;
}

.cr-ucp-sidebar__section {
    margin-bottom: 22px;
}

.cr-ucp-sidebar__section:last-child {
    margin-bottom: 0;
}

.cr-ucp-sidebar__section-title {
    background: var(--cr-ucp-ribbon);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--cr-ucp-edge);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cr-ucp-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cr-ucp-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: var(--cr-ucp-surface-mid);
    border: 1px solid var(--cr-ucp-edge);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.cr-ucp-sidebar__link:last-child {
    margin-bottom: 0;
}

.cr-ucp-sidebar__link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25em;
    font-size: 16px;
    line-height: 1;
    color: #dcddde;
    opacity: 1;
}

.cr-ucp-sidebar__link-text {
    line-height: 1.25;
}

.cr-ucp-sidebar__link:hover {
    background: var(--cr-ucp-surface-soft);
    border-color: var(--cr-ucp-edge-strong);
    color: #fff;
}

.cr-ucp-sidebar__link.is-active {
    background: var(--cr-ucp-surface-soft);
    border-color: var(--cr-ucp-edge-strong);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* UCP — özel skin başvuruları (skin-applications.php) */
.cr-skin-apps-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cr-skin-apps-filter {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #b9bcc4;
    background: var(--cr-ucp-surface-mid);
    border: 1px solid var(--cr-ucp-edge);
}

.cr-skin-apps-filter:hover {
    color: #fff;
    border-color: var(--cr-ucp-edge-strong);
}

.cr-skin-apps-filter.is-active {
    color: #fff;
    border-color: var(--cr-gold);
    box-shadow: inset 0 0 0 1px rgba(12, 112, 115, 0.35);
}

.cr-skin-apps-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cr-skin-apps-table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
}

.cr-skin-apps-col-id {
    width: 48px;
    white-space: nowrap;
}

.cr-skin-apps-col-account {
    width: 22%;
    min-width: 0;
}

.cr-skin-apps-col-skin {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cr-skin-apps-col-skinid {
    width: 88px;
    white-space: nowrap;
}

.cr-skin-apps-col-link {
    width: 28%;
    min-width: 0;
    overflow: hidden;
    vertical-align: middle;
}

.cr-skin-apps-link {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    color: #6eb3ff;
    text-decoration: underline;
    text-decoration-color: rgba(110, 179, 255, 0.45);
    font-size: 12px;
}

.cr-skin-apps-link:hover {
    color: #9dccff;
    text-decoration-color: rgba(157, 204, 255, 0.65);
}

.cr-skin-apps-th-decision,
.cr-skin-apps-td-decision {
    width: 220px;
    min-width: 0;
    white-space: normal;
    vertical-align: middle;
}

/* UCP kartı overflow:hidden tablo + scrollbar’ı kesiyordu */
.cr-ucp-card.cr-ucp-card--skin-apps {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.cr-ucp-card.cr-ucp-card--skin-apps .cr-skin-apps-table-wrap {
    max-width: none;
}

.cr-skin-apps-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
    line-height: 1.3;
}

.cr-skin-apps-pill--pending {
    background: rgba(241, 196, 15, 0.16);
    color: #f0c14c;
    border: 1px solid rgba(241, 196, 15, 0.35);
}

.cr-skin-apps-pill--ok {
    background: rgba(59, 165, 93, 0.2);
    color: #8ee4a8;
    border: 1px solid rgba(59, 165, 93, 0.4);
}

.cr-skin-apps-pill--no {
    background: rgba(237, 66, 69, 0.15);
    color: #f0a8ad;
    border: 1px solid rgba(237, 66, 69, 0.35);
}

.cr-skin-apps-pill--revoked {
    background: rgba(148, 155, 164, 0.18);
    color: #c5c8ce;
    border: 1px solid rgba(148, 155, 164, 0.35);
}

.cr-skin-apps-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.cr-skin-apps-actions--accepted {
    justify-content: flex-start;
}

.cr-skin-apps-action-form {
    display: inline-flex;
    margin: 0;
    flex: 0 0 auto;
}

.cr-skin-apps-action-btn {
    width: auto;
    min-width: 76px;
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
}

#main_content_section .cr-ucp-main .cr-skin-apps-action-btn {
    height: auto !important;
    min-height: 38px;
    line-height: 1.25;
}

.cr-ucp-main {
    min-width: 0;
}

.cr-ucp-card {
    background: var(--cr-ucp-surface);
    border: 1px solid var(--cr-ucp-edge);
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.cr-ucp-card--nested {
    margin-top: 22px;
    background: var(--cr-ucp-surface-mid);
    border: 1px solid var(--cr-ucp-edge);
    border-radius: 12px;
    padding: 18px 18px 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cr-ucp-card--nested .cr-ucp-card__title {
    margin: 0 0 12px;
    padding: 0 0 10px;
    background: transparent;
    border-bottom: 1px solid var(--cr-ucp-edge);
    box-shadow: none;
    font-size: 1rem;
}

.cr-ucp-card__title {
    margin: -22px -20px 18px -20px;
    padding: 14px 20px;
    background: var(--cr-ucp-ribbon);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    border-bottom: 1px solid var(--cr-ucp-edge);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

h1.cr-ucp-card__title {
    font-size: 1.12rem;
}

.cr-ucp-card__muted {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #b0b3b8;
}

.cr-ucp-card__muted + .cr-ucp-card__muted {
    margin-top: 10px;
}

.cr-ucp-inline-link {
    color: #dcddde;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cr-ucp-inline-link:hover {
    color: #fff;
}

/* UCP formlar */
#main_content_section .cr-ucp-main .cr-ticket-field {
    margin-bottom: 16px;
}

#main_content_section .cr-ucp-main .cr-ticket-label {
    display: block;
    background: var(--cr-ucp-surface-mid);
    color: #fff;
    margin: 0;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--cr-ucp-edge);
    border-bottom: none;
}

#main_content_section .cr-ucp-main .cr-ticket-input,
#main_content_section .cr-ucp-main .cr-ticket-textarea,
#main_content_section .cr-ucp-main .cr-ticket-input--select {
    border-radius: 0 0 10px 10px;
    border-top: none;
    background: var(--cr-ucp-surface-input);
    border-color: var(--cr-ucp-edge);
    color: #f2f3f5;
}

#main_content_section .cr-ucp-main .cr-ticket-input:focus,
#main_content_section .cr-ucp-main .cr-ticket-textarea:focus,
#main_content_section .cr-ucp-main .cr-ticket-input--select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.28);
}

#main_content_section .cr-ucp-main .cr-ticket-form__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}

#main_content_section .cr-ucp-main .cr-ticket-form__actions .cr-ticket-btn--primary {
    width: 100%;
    min-height: 48px;
    height: auto;
    line-height: 1.25;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(180deg, #454950 0%, #3d4249 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#main_content_section .cr-ucp-main .cr-ticket-form__actions .cr-ticket-btn--primary:hover {
    background: linear-gradient(180deg, #50555d 0%, #484d55 100%);
    border-color: rgba(255, 255, 255, 0.18);
    filter: none;
}

#main_content_section .cr-ucp-main .cr-ticket-form__actions .cr-ticket-btn--ghost,
#main_content_section .cr-ucp-main .cr-ticket-form__actions .cr-ticket-btn--muted {
    align-self: center;
}

#main_content_section .cr-ucp-main .cr-ticket-table-wrap {
    border: 1px solid var(--cr-ucp-edge);
    border-radius: 10px;
    overflow: hidden;
}

#main_content_section .cr-ucp-main .cr-ticket-table th {
    background: var(--cr-ucp-surface-mid);
    color: #fff;
    font-weight: 700;
    border-color: var(--cr-ucp-edge);
}

#main_content_section .cr-ucp-main .cr-ticket-table td {
    background: var(--cr-ucp-surface);
    border-color: var(--cr-ucp-edge);
    color: #e3e5e8;
}

#main_content_section .cr-ucp-main .cr-ticket-inline-form .cr-ticket-btn {
    height: auto;
    min-height: 36px;
    line-height: 1.25;
}

/* UCP — Karakter Yönetimi: sorgu satırı (input + Sorgula yan yana) */
.cr-ucp-char-manage__search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.cr-ucp-char-manage__search-btn {
    flex: 0 0 auto;
    padding-bottom: 1px;
}

#main_content_section .cr-ucp-main .cr-ucp-char-manage__search-btn .cr-ticket-btn--primary {
    width: auto;
    min-width: 120px;
}

.cr-ucp-card__title .fi {
    margin-right: 8px;
    vertical-align: -0.08em;
    opacity: 0.9;
}

/* Karakter inceleme — character.php (index --smf-* ile aynı gri yüzeyler) */
#main_content_section .cr-char-page {
    max-width: 1180px;
    margin: 0 auto 28px;
    padding: 0 12px;
    box-sizing: border-box;
}

.cr-char-shell {
    background: var(--smf-wrap-bg, #242526);
    border: 1px solid rgba(12, 112, 115, 0.28);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cr-char-shell--narrow {
    max-width: 520px;
    margin: 0 auto;
}

.cr-char-page__toolbar {
    padding: 14px 20px;
    background: var(--smf-panel-bg, #18191a);
    border-bottom: 1px solid rgba(12, 112, 115, 0.28);
}

.cr-char-page__empty {
    padding: 28px 22px 36px;
    color: #cec6c6;
    text-align: center;
}

.cr-char-page__empty-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

/* UCP — liste sonrası kartlar (gri ton) */
.cr-ucp-card--flush {
    padding-top: 0;
}

.cr-ucp-card--flush .cr-char-view__toolbar {
    padding: 10px 16px 0;
    margin: 0 -20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cr-char-view__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cr-gold-light, #10979b);
    text-decoration: none;
}

.cr-char-view__back:hover {
    text-decoration: underline;
    color: #5ee0e4;
}

.cr-char-view {
    padding: 16px 20px 22px;
    background: var(--smf-wrap-bg, #242526);
}

.cr-char-view__layout {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 300px);
    gap: 24px;
    align-items: stretch;
}

.cr-char-view__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cr-char-view__headbar {
    background: var(--smf-panel-bg, #18191a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 14px;
}

.cr-char-view__headtitle {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.cr-char-view__cid {
    color: #949ba4;
    font-weight: 600;
}

.cr-char-view__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.cr-char-view__tab {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: var(--smf-nested-bg, #242526);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cr-char-view__tab.is-active {
    background: var(--smf-panel-bg, #18191a);
    border-color: var(--cr-gold, #0c7073);
}

.cr-char-view__tab.is-muted {
    opacity: 0.45;
    cursor: default;
}

.cr-char-view__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.cr-char-view__badge {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--smf-panel-bg, #18191a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e3e5e8;
}

.cr-char-view__desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #c9c9c9;
    line-height: 1.5;
}

.cr-char-view__statgrid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.cr-char-view__statrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

.cr-char-view__statpill {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 8px;
    background: #2b2b2d;
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #ececec;
    box-sizing: border-box;
}

.cr-char-view__statpill--full {
    grid-column: 1 / -1;
}

.cr-char-view__statlabel {
    font-weight: 600;
    color: #c5c8ce;
    flex-shrink: 0;
}

.cr-char-view__statvalue {
    font-weight: 600;
    color: #f2f3f5;
    text-align: right;
    word-break: break-word;
}

@media screen and (max-width: 560px) {
    .cr-char-view__statrow {
        grid-template-columns: 1fr;
    }

    .cr-char-view__statpill--full {
        grid-column: auto;
    }
}

.cr-char-view__footnote {
    margin: 14px 0 0;
    font-size: 11px;
    color: #6b6e75;
    line-height: 1.45;
}

.cr-char-view__side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cr-char-view__card {
    background: var(--smf-panel-bg, #18191a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.cr-char-view__cardhead {
    background: var(--smf-panel-bg, #18191a);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(12, 112, 115, 0.25);
}

.cr-char-view__skinwrap {
    padding: 16px;
    display: flex;
    justify-content: center;
    background: radial-gradient(ellipse at center, #2c2d31 0%, var(--smf-nested-bg, #242526) 72%);
}

.cr-char-view__skinimg {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    image-rendering: pixelated;
}

.cr-char-view__skinname {
    text-align: center;
    font-weight: 800;
    color: #fff;
    padding: 0 12px 4px;
    font-size: 15px;
}

.cr-char-view__skinmeta {
    text-align: center;
    font-size: 12px;
    color: #949ba4;
    padding-bottom: 14px;
}

.cr-char-view__accrow {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cr-char-view__accrow:last-of-type {
    border-bottom: none;
}

.cr-char-view__acclabel {
    font-size: 11px;
    font-weight: 700;
    color: #949ba4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cr-char-view__accvalue {
    font-size: 13px;
    color: #e3e5e8;
    word-break: break-word;
}

.cr-char-view__accvalue--user {
    color: #ed4245;
    font-weight: 800;
}

.cr-char-view__online--yes {
    color: #3ba55d;
    font-weight: 700;
}

.cr-char-view__online--no {
    color: #b9bbbe;
}

.cr-char-view__accactions {
    padding: 12px 14px 14px;
}

.cr-char-view__adminnote {
    margin-top: 22px;
    padding: 16px 18px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--smf-nested-bg, #242526);
}

/* Sol sütun: Hesap / Kayıt kartının yanındaki boşluğu doldurur */
.cr-char-view__adminnote--in-main {
    margin-top: 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cr-char-view__adminnote--in-main .cr-char-view__adminnote-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 10px;
}

.cr-char-view__adminnote--in-main .cr-char-view__adminnote-form .cr-ticket-textarea {
    flex: 1 1 auto;
    min-height: 140px;
    max-height: 320px;
    margin-bottom: 0;
    resize: vertical;
}

.cr-char-view__adminnote-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.cr-char-view__adminnote-hint {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #949ba4;
}

.cr-char-view__adminnote-meta {
    margin: 0 0 10px;
    font-size: 11px;
    color: #7c8088;
}

.cr-char-view__adminnote-alert {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.cr-char-view__adminnote-alert--ok {
    background: rgba(59, 165, 93, 0.12);
    border: 1px solid rgba(59, 165, 93, 0.35);
    color: #8ee4a8;
}

.cr-char-view__adminnote-alert--err {
    background: rgba(237, 66, 69, 0.12);
    border: 1px solid rgba(237, 66, 69, 0.35);
    color: #f6a4a6;
}

.cr-char-view__adminnote-form .cr-ticket-textarea {
    width: 100%;
    margin-bottom: 10px;
}

.cr-char-view__adminnote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-char-view__siblinglist {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cr-char-view__sibling {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.12s;
}

.cr-char-view__sibling:last-child {
    border-bottom: none;
}

.cr-char-view__sibling:hover {
    background: var(--smf-nested-bg, #242526);
}

.cr-char-view__sibling.is-current {
    box-shadow: inset 3px 0 0 var(--cr-gold, #0c7073);
}

.cr-char-view__siblingmeta {
    font-size: 12px;
    color: #949ba4;
}

.cr-char-view__otherlist {
    margin: 0;
    padding: 10px 14px 14px 28px;
    color: #e3e5e8;
    font-size: 13px;
}

.cr-char-view__otherlist a {
    color: var(--cr-gold-light, #10979b);
}

.cr-char-active-card {
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: var(--smf-panel-bg, #18191a);
}

.cr-char-active-card__head {
    background: var(--smf-panel-bg, #18191a);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(12, 112, 115, 0.25);
}

.cr-char-active-card__body {
    padding: 4px 0;
}

.cr-char-active-card__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.12s;
}

.cr-char-active-card__row:last-child {
    border-bottom: none;
}

.cr-char-active-card__row:hover {
    background: var(--smf-nested-bg, #242526);
}

.cr-char-active-card__meta {
    font-size: 12px;
    color: #949ba4;
    font-weight: 400;
}

@media screen and (max-width: 960px) {
    .cr-char-view__layout {
        grid-template-columns: 1fr;
    }

    .cr-char-view__side {
        order: -1;
    }

    .cr-char-view__adminnote--in-main {
        flex: 0 1 auto;
    }
}

.cr-ucp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.cr-ucp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.cr-ucp-modal__panel {
    position: relative;
    width: min(520px, calc(100% - 24px));
    margin: 12vh auto 0;
    background: var(--cr-ucp-surface);
    border: 1px solid var(--cr-ucp-edge);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 18px 16px;
}

.cr-ucp-modal__title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.cr-ucp-modal__body {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 14px;
}

.cr-ucp-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

@media screen and (max-width: 900px) {
    #main_content_section .cr-ucp-app {
        grid-template-columns: 1fr;
    }

    .cr-ucp-sidebar {
        order: 2;
        padding: 0;
    }

    .cr-ucp-main {
        order: 1;
    }
}

/* ── KURALLAR / POLİTİKALAR (rules/*.php) ───────────────────────────────────── */
#main_content_section .cr-rules-index,
#main_content_section .cr-rules-view {
    max-width: 1100px;
    margin: 0 auto 36px;
    padding: 0 12px;
    box-sizing: border-box;
    color: #dcddde;
}

.cr-rules-index__head {
    border-left: 4px solid #0c7073;
    padding: 8px 0 8px 16px;
    margin-bottom: 18px;
}

.cr-rules-index__title {
    margin: 0 0 8px;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.cr-rules-index__sub,
.cr-rules-index__hint {
    margin: 0;
    font-size: 13px;
    color: #b9bbbe;
    line-height: 1.45;
}

.cr-rules-index__hint {
    margin-top: 6px;
    color: #949ba4;
}

.cr-rules-index__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.cr-rules-index__page {
    font-size: 12px;
    color: #949ba4;
    font-weight: 600;
}

.cr-rules-index__table-wrap {
    background: #2f3136;
    border: 1px solid #1e1f22;
    border-radius: 4px;
    overflow: hidden;
}

.cr-rules-index__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cr-rules-index__table th {
    text-align: left;
    padding: 10px 12px;
    background: #232428;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid #1e1f22;
}

.cr-rules-index__table td {
    padding: 12px;
    border-bottom: 1px solid #1e1f22;
    vertical-align: top;
}

.cr-rules-index__row:last-child td {
    border-bottom: none;
}

.cr-rules-index__th-stats,
.cr-rules-index__cell-stats {
    width: 140px;
    white-space: nowrap;
}

.cr-rules-index__th-last,
.cr-rules-index__cell-last {
    width: 220px;
}

.cr-rules-index__subject-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cr-rules-index__doc-ico {
    margin-top: 2px;
    color: #949ba4;
    font-size: 16px;
}

.cr-rules-index__link-title {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.cr-rules-index__link-title:hover {
    color: #6ee7d8;
    text-decoration: underline;
}

.cr-rules-index__starter {
    margin-top: 4px;
    font-size: 12px;
    color: #949ba4;
}

.cr-rules-index__starter-name {
    color: #e15e5e;
    font-weight: 600;
}

.cr-rules-index__icons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-rules-index__ico-lock {
    color: #d4af37;
    font-size: 14px;
}

.cr-rules-pin {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 9px solid #e15e5e;
    transform: translateY(-1px);
}

.cr-rules-pin--legend {
    vertical-align: middle;
    margin-right: 4px;
}

.cr-rules-index__cell-stats {
    font-size: 12px;
    color: #b9bbbe;
    line-height: 1.5;
}

.cr-rules-index__cell-stats strong {
    color: #fff;
    font-weight: 600;
}

.cr-rules-index__last-date {
    font-size: 12px;
    color: #b9bbbe;
}

.cr-rules-index__last-by {
    margin-top: 4px;
    font-size: 12px;
    color: #e15e5e;
    font-weight: 600;
}

.cr-rules-index__last-suffix {
    color: #949ba4;
    font-weight: 500;
}

.cr-rules-index__empty {
    padding: 28px 16px;
    text-align: center;
    color: #949ba4;
}

.cr-rules-index__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px solid #2b2d31;
}

.cr-rules-index__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 11px;
    color: #949ba4;
}

.cr-rules-index__legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cr-rules-index__jump {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #b9bbbe;
}

.cr-rules-index__jump select {
    background: #1e1f22;
    color: #fff;
    border: 1px solid #3f4147;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
}

.cr-rules-index__jump-btn {
    background: #3f4147;
    color: #fff;
    border: 1px solid #202225;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.cr-rules-index__jump-btn:hover {
    background: #4e5158;
}

.cr-rules-index__crumb {
    margin-top: 18px;
    font-size: 12px;
    color: #949ba4;
}

.cr-rules-index__crumb a {
    color: #6ee7d8;
    text-decoration: none;
}

.cr-rules-index__crumb-sep {
    margin: 0 4px;
    color: #6d7178;
}

/* Detay — yazar üstü profile.php ile aynı .cr-profile-* sınıfları */

.cr-profile-shell > .cr-rules-view__meta-bar {
    border-top-color: #36393f;
    background: #1f2024;
}

.cr-rules-view__meta-bar--top {
    border-top: 0;
}

.cr-rules-view__meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 10px 16px;
    font-size: 11px;
    color: #949ba4;
    border-top: 1px solid #1e1f22;
    background: #232428;
}

.cr-rules-view__meta-edit {
    color: #b9bbbe;
}

.cr-rules-view__body-wrap {
    background: #2f3136;
    border: 1px solid #1e1f22;
    border-radius: 6px;
    padding: 22px 20px 28px;
}

.cr-rules-view__body-head {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #1e1f22;
}

.cr-rules-view__logo-center {
    margin-bottom: 14px;
}

.cr-rules-view__logo-img {
    display: inline-block;
    max-width: min(160px, 28vw);
    width: auto;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.cr-rules-view__h1 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #d4af37;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cr-rules-view__updated-line {
    margin: 0;
    font-size: 12px;
    color: #949ba4;
}

.cr-rules-view__article {
    font-size: 14px;
    line-height: 1.65;
    color: #e3e5e8;
}

.cr-rules-view__article .cr-rules-h1 {
    font-size: 1.15rem;
    color: #d4af37;
    margin: 22px 0 12px;
    font-weight: 800;
}

.cr-rules-view__article .cr-rules-h2 {
    font-size: 1.05rem;
    color: #fff;
    margin: 20px 0 10px;
    font-weight: 700;
}

.cr-rules-view__article .cr-rules-h3 {
    font-size: 0.98rem;
    color: #fff;
    margin: 16px 0 8px;
    font-weight: 700;
}

.cr-rules-view__article .cr-rules-content-block {
    margin-bottom: 14px;
}

.cr-rules-view__article .cr-md-pre {
    background: #1e1f22;
    border: 1px solid #3f4147;
    border-radius: 6px;
    padding: 12px;
    overflow: auto;
    font-size: 12px;
    margin: 12px 0;
}

.cr-rules-view__article .cr-md-code {
    background: #1e1f22;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.92em;
}

.cr-rules-view__back {
    margin: 24px 0 0;
    font-size: 13px;
}

.cr-rules-view__back a {
    color: #6ee7d8;
    text-decoration: none;
}

.cr-rules-view__back a:hover {
    text-decoration: underline;
}

.cr-rules-ucp-form .cr-rules-ucp-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #b9bbbe;
}

.cr-rules-ucp-form .cr-rules-ucp-checks label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cr-rules-ucp-textarea {
    min-height: 320px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 13px;
    line-height: 1.45;
}

.cr-rules-ucp-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.2);
    color: #f0d875;
    margin-left: 6px;
    vertical-align: middle;
}

.cr-rules-ucp-badge--lock {
    background: rgba(225, 94, 94, 0.18);
    color: #f0a8ad;
}

/* ── İNDİR (download.php) ─────────────────────────────────────────────────── */
#main_content_section .cr-download-page {
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 0 12px;
    box-sizing: border-box;
}

.cr-download-bar {
    background: #0a0a0b;
    border: 1px solid #202225;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.cr-download-title {
    margin: 22px 0 24px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}

.cr-download-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cr-download-step {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    padding: 14px 16px;
    background: #2f3136;
    border: 1px solid #202225;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.cr-download-step__num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1b1e;
    border: 1px solid #2b2d31;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.cr-download-step__text {
    flex: 1 1 220px;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #dcddde;
}

.cr-download-step__btn {
    flex-shrink: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: #1e1f22;
    border: 1px solid #3f4147;
    border-radius: 8px;
    color: #e8eaed;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}

.cr-download-step__btn i {
    font-size: 14px;
    opacity: 0.9;
}

.cr-download-step__btn:hover {
    background: #2b2d31;
    border-color: #4e5058;
    color: #fff;
}

@media screen and (max-width: 600px) {
    .cr-download-step__btn {
        margin-left: 0;
        width: 100%;
    }
}
