/* Profil & Topluluk & Duvar Stilleri */

.profile-container {
    width: min(1200px, calc(100% - 32px));
    margin: 24px auto 60px;
}

/* PROFİL BAŞLIK & KAPAK */
.profile-hero {
    position: relative;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    margin-bottom: 24px;
}

.profile-cover {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #0f172a 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.profile-header-content {
    position: relative;
    padding: 0 32px 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: -64px;
}

.profile-user-left {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    flex-wrap: wrap;
}

.profile-avatar-wrap {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #0f172a;
    display: block;
}

.profile-avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.profile-identity {
    padding-bottom: 6px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.profile-fullname {
    font-size: 26px;
    font-weight: 800;
    color: #f8fafc;
    margin: 0;
    letter-spacing: -0.02em;
}

.profile-rank-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.profile-vip-pill {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.profile-handle {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 600;
}

.profile-bio {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 580px;
    margin: 8px 0;
}

.profile-meta-tags {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
}

.btn-follow {
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.btn-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.btn-follow.following {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.btn-follow.following:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-edit-profile {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-edit-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* PUANTAJ VE İSTATİSTİK ŞERİDİ */
.profile-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.stat-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-box-value {
    font-size: 24px;
    font-weight: 850;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stat-box-value.gold { color: #fbbf24; }
.stat-box-value.green { color: #10b981; }
.stat-box-value.cyan { color: #06b6d4; }
.stat-box-value.purple { color: #a855f7; }

.stat-box-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

/* SEKME ÇUBUĞU */
.profile-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.profile-tab-btn {
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
    font-size: 14px;
    font-weight: 750;
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.profile-tab-btn:hover {
    color: #f1f5f9;
}

.profile-tab-btn.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
}

.profile-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: #38bdf8;
    border-radius: 3px 3px 0 0;
}

.tab-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
}

.profile-tab-btn.active .tab-badge {
    background: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

/* DUVAR & PAYLAŞIM ALANI */
.wall-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.wall-create-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
}

.wall-create-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.wall-create-head img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.wall-create-textarea {
    width: 100%;
    min-height: 90px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    color: #f8fafc;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.wall-create-textarea:focus {
    outline: none;
    border-color: #38bdf8;
    background: rgba(0, 0, 0, 0.35);
}

.wall-create-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.coupon-select-wrap select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-post-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 22px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-post-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* GÖNDERİ KARTLARI */
.wall-post-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    transition: border-color 0.2s ease;
}

.wall-post-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.post-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author-name {
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-time {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.post-content {
    font-size: 14.5px;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 16px;
    white-space: pre-line;
}

/* POSTA İLİŞTİRİLMİŞ KUPON */
.post-attached-coupon {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.attached-coupon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.attached-coupon-title {
    font-size: 13px;
    font-weight: 800;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.coupon-status-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.coupon-status-badge.won { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.coupon-status-badge.lost { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.coupon-status-badge.pending { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.attached-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attached-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.attached-match-name {
    font-weight: 700;
    color: #f1f5f9;
}

.attached-pick-badge {
    background: rgba(255, 255, 255, 0.07);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 750;
    color: #38bdf8;
    margin: 0 8px;
}

.attached-odd-value {
    font-weight: 850;
    color: #fbbf24;
}

.attached-coupon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    font-size: 12px;
    color: #94a3b8;
}

/* KİLİTLİ GÜNCEL KUPON BLUR & LOCK OVERLAY */
.is-locked-coupon {
    position: relative !important;
    overflow: hidden !important;
    min-height: 180px;
}

.locked-blur-content {
    filter: blur(6px) !important;
    user-select: none !important;
    pointer-events: none !important;
    opacity: 0.35 !important;
    transition: filter 0.2s ease;
}

.coupon-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.96) 100%);
    backdrop-filter: blur(3px);
}

.coupon-lock-card {
    text-align: center;
    max-width: 380px;
    width: 100%;
    padding: 18px 22px;
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.12);
}

.coupon-lock-icon {
    font-size: 26px;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.4));
}

.coupon-lock-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.coupon-lock-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0 0 14px;
}

.coupon-lock-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-lock-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 750;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-lock-login:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-lock-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-lock-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

html[data-theme="light"] .coupon-lock-overlay {
    background: radial-gradient(circle at center, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.97) 100%);
}
html[data-theme="light"] .coupon-lock-card {
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(245, 158, 11, 0.1);
}
html[data-theme="light"] .coupon-lock-title {
    color: #0f172a;
}
html[data-theme="light"] .coupon-lock-desc {
    color: #64748b;
}
html[data-theme="light"] .btn-lock-login {
    color: #1e293b;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

html[data-theme="eye"] .coupon-lock-overlay {
    background: radial-gradient(circle at center, rgba(247, 240, 228, 0.9) 0%, rgba(238, 230, 215, 0.97) 100%);
}
html[data-theme="eye"] .coupon-lock-card {
    background: #fdfaf3;
    border: 1px solid rgba(180, 130, 50, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
html[data-theme="eye"] .coupon-lock-title {
    color: #2c251d;
}
html[data-theme="eye"] .coupon-lock-desc {
    color: #6b5e50;
}
html[data-theme="eye"] .btn-lock-login {
    color: #2c251d;
    background: #eee5d4;
    border: 1px solid #d5c8b2;
}

/* ETKİLEŞİM BUTONLARI */
.post-actions-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.post-action-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.post-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
}

.post-action-btn.liked {
    color: #f43f5e;
}

.post-action-btn.liked svg {
    fill: #f43f5e;
}

/* YORUMLAR */
.post-comments-area {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 0, 0, 0.18);
    padding: 10px 12px;
    border-radius: 12px;
}

.comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.comment-user-name {
    font-size: 12.5px;
    font-weight: 800;
    color: #f1f5f9;
}

.comment-time {
    font-size: 10px;
    color: #64748b;
}

.comment-text {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.4;
}

.comment-form {
    display: flex;
    gap: 8px;
}

.comment-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    color: #f8fafc;
    font-size: 13px;
    outline: none;
}

.comment-input:focus {
    border-color: #38bdf8;
}

.btn-comment-submit {
    background: #38bdf8;
    color: #0f172a;
    border: none;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-comment-submit:hover {
    opacity: 0.9;
}

/* ÜYE LİSTELERİ (TAKİPÇİLER & LİDERLER) */
.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.user-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.user-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.user-card-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid #38bdf8;
}

.user-card-name {
    font-size: 16px;
    font-weight: 800;
    color: #f8fafc;
    text-decoration: none;
    margin-bottom: 2px;
}

.user-card-handle {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.user-card-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0 16px;
    font-size: 11.5px;
    color: #cbd5e1;
}

.user-card-stats b {
    color: #f8fafc;
    font-weight: 800;
}

/* PROFİL DÜZENLEME FORMU */
.profile-edit-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.edit-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.edit-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-form-group label {
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.edit-form-group input,
.edit-form-group textarea,
.edit-form-group select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    color: #f8fafc;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.edit-form-group input:focus,
.edit-form-group textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

/* ANA EKRAN BAŞARILI ÜYELER & LİDER TABLOSU BÖLÜMÜ */
.home-leaderboard-section {
    width: min(1480px, calc(100% - 48px));
    margin: 36px auto;
}

.leaderboard-header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.leaderboard-title-group h2 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 850;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leaderboard-title-group p {
    font-size: 13.5px;
    color: #475569;
    margin: 0;
}

.leaderboard-meta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.leaderboard-badge-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 6px 14px;
    border-radius: 999px;
}

.leaderboard-community-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: #0284c7;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.leaderboard-community-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

/* LİDER KARTLARI (VARSAYILAN: AYDINLIK TEMA) */
.leader-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.25s ease;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.leader-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

/* PODIUM SIRALAMALARI (AYDINLIK TEMA) */
.leader-card.rank-1 {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
}
.leader-card.rank-2 {
    border-color: #94a3b8;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.1);
}
.leader-card.rank-3 {
    border-color: #d97706;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.1);
}

.leader-medal {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 20px;
    font-weight: 850;
    color: #475569;
}

.leader-avatar-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    padding: 3px;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
}

.leader-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #0f172a;
}

.leader-name {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
    transition: color 0.15s ease;
}

.leader-name:hover {
    color: #0284c7;
}

.leader-handle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.leader-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 14px;
}

.leader-stat-box {
    display: flex;
    flex-direction: column;
}

.leader-stat-val {
    font-size: 14px;
    font-weight: 850;
    color: #0f172a;
}

.leader-stat-val.gold { color: #d97706; }
.leader-stat-val.green { color: #059669; }

.leader-stat-lbl {
    font-size: 9.5px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 750;
}

.btn-leader-action {
    width: 100%;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

.btn-leader-action:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* DİKEY LİDERLER SIRALAMASI KARTI (SIDEBAR & TOPLULUK WIDGET) */
.top-members-rail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.top-members-rail-card .rail-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.top-members-rail-card .rail-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-members-rail-card .rail-icon {
    font-size: 20px;
}

.top-members-rail-card .rail-head-left small {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.top-members-rail-card .rail-head-left strong {
    font-size: 14px;
    font-weight: 850;
    color: #0f172a;
}

.top-members-rail-card .rail-all-btn {
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(2, 132, 199, 0.08);
    transition: all 0.15s ease;
}

.top-members-rail-card .rail-all-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

.rail-members-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rail-member-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.18s ease;
}

.rail-member-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(2px);
}

.rail-member-item.rank-1 {
    background: linear-gradient(90deg, #fffbeb 0%, #ffffff 100%);
    border-color: #fde68a;
}

.rail-member-item.rank-2 {
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
    border-color: #e2e8f0;
}

.rail-member-item.rank-3 {
    background: linear-gradient(90deg, #fff7ed 0%, #ffffff 100%);
    border-color: #fed7aa;
}

.rail-rank-badge {
    font-size: 14px;
    font-weight: 850;
    min-width: 22px;
    text-align: center;
    color: #475569;
}

.rail-member-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid #e2e8f0;
    background: #e2e8f0;
}

.rail-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rail-member-info {
    flex: 1;
    min-width: 0;
}

.rail-member-name {
    display: block;
    font-size: 13px;
    font-weight: 750;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rail-member-handle {
    display: block;
    font-size: 10.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rail-member-score {
    text-align: right;
    flex-shrink: 0;
}

.rail-score-val {
    display: block;
    font-size: 12.5px;
    font-weight: 850;
    color: #d97706;
}

.rail-winrate {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #059669;
}

.rail-card-foot {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    text-align: center;
}

.rail-card-foot a {
    font-size: 11.5px;
    font-weight: 750;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.rail-card-foot a:hover {
    color: #0284c7;
}

/* TOPLULUK SAYFASI STİLLERİ */
.community-container {
    width: min(1360px, calc(100% - 32px));
    margin: 24px auto 60px;
}

.community-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0369a1 100%);
    border-radius: 20px;
    padding: 36px 32px;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}

.community-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.community-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.community-hero-title h1 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.community-hero-title p {
    font-size: 15px;
    color: #cbd5e1;
    margin: 0;
    max-width: 650px;
}

.community-hero-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.community-hero-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 12px 18px;
    text-align: center;
    min-width: 100px;
}

.community-hero-stat-card strong {
    display: block;
    font-size: 20px;
    font-weight: 850;
    color: #ffffff;
}

.community-hero-stat-card span {
    font-size: 11px;
    color: #93c5fd;
    text-transform: uppercase;
    font-weight: 700;
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* FİLTRE SEKMELERİ */
.community-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.community-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.community-tab-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.community-tab-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.community-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.08);
}

.community-tab-btn.active .community-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* PAYLAŞIM FORMU / OLUŞTURUCU */
.community-creator-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.creator-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.creator-tab-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 750;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.creator-tab-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.creator-input-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.creator-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.creator-field label {
    font-size: 11.5px;
    font-weight: 750;
    color: #475569;
}

.creator-field input,
.creator-field select,
.community-creator-box textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.creator-field input:focus,
.creator-field select:focus,
.community-creator-box textarea:focus {
    border-color: #0284c7;
    background: #ffffff;
}

.creator-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-post-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-post-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

/* TEKLİ MAÇ & KUPON KARTLARI */
.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.post-tag-coupon {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.post-tag-match {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.post-tag-regular {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.single-match-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.single-match-info {
    flex: 1;
    min-width: 200px;
}

.single-match-league {
    font-size: 11px;
    font-weight: 750;
    color: #64748b;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.single-match-teams {
    font-size: 16px;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
}

.single-match-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.single-match-pick-badge {
    background: #10b981;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.single-match-odd-badge {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 12.5px;
    font-weight: 850;
    padding: 4px 10px;
    border-radius: 8px;
}

/* TOPLULUK KURALLARI KARTI */
.community-rules-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.community-rules-card h3 {
    font-size: 14px;
    font-weight: 850;
    color: #0f172a;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.community-rules-list {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.6;
}

.community-rules-list li {
    margin-bottom: 6px;
}

/* TEMA UYUMLULUĞU: DARK THEME OVERRIDES */
html[data-theme="dark"] .leaderboard-title-group h2 { color: #f8fafc; }
html[data-theme="dark"] .leaderboard-title-group p { color: #94a3b8; }
html[data-theme="dark"] .leaderboard-badge-note {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}
html[data-theme="dark"] .leader-card {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .leader-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .leader-card.rank-1 {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.14) 0%, rgba(15, 23, 42, 0.85) 100%);
}
html[data-theme="dark"] .leader-card.rank-2 {
    border-color: rgba(148, 163, 184, 0.4);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
}
html[data-theme="dark"] .leader-card.rank-3 {
    border-color: rgba(217, 119, 6, 0.4);
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
}
html[data-theme="dark"] .leader-name { color: #f8fafc; }
html[data-theme="dark"] .leader-name:hover { color: #38bdf8; }
html[data-theme="dark"] .leader-handle { color: #94a3b8; }
html[data-theme="dark"] .leader-stats-row {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .leader-stat-val { color: #f8fafc; }
html[data-theme="dark"] .leader-stat-val.gold { color: #fbbf24; }
html[data-theme="dark"] .leader-stat-val.green { color: #34d399; }
html[data-theme="dark"] .leader-stat-lbl { color: #94a3b8; }
html[data-theme="dark"] .btn-leader-action {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .btn-leader-action:hover {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}
html[data-theme="dark"] .community-tab-btn {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}
html[data-theme="dark"] .community-tab-btn:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
}
html[data-theme="dark"] .community-tab-btn.active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
}
html[data-theme="dark"] .community-creator-box,
html[data-theme="dark"] .community-rules-card {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}
html[data-theme="dark"] .creator-field input,
html[data-theme="dark"] .creator-field select,
html[data-theme="dark"] .community-creator-box textarea {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}
html[data-theme="dark"] .single-match-card {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .single-match-teams { color: #f8fafc; }
html[data-theme="dark"] .community-rules-card h3 { color: #f8fafc; }
html[data-theme="dark"] .community-rules-list { color: #94a3b8; }

/* TEMA UYUMLULUĞU: EYE THEME OVERRIDES */
html[data-theme="eye"] .leaderboard-title-group h2 { color: #f5f0e6; }
html[data-theme="eye"] .leaderboard-title-group p { color: #a89f91; }
html[data-theme="eye"] .leader-card,
html[data-theme="eye"] .community-creator-box,
html[data-theme="eye"] .community-rules-card {
    background: rgba(28, 24, 18, 0.9);
    border-color: #3f3322;
}
html[data-theme="eye"] .leader-name { color: #f6f5f4; }
html[data-theme="eye"] .leader-handle { color: #988e84; }
html[data-theme="eye"] .leader-stats-row {
    background: rgba(0, 0, 0, 0.3);
    border-color: #3d3221;
}
html[data-theme="eye"] .leader-stat-val { color: #f6f5f4; }
html[data-theme="eye"] .leader-stat-val.gold { color: #fa8f5e; }
html[data-theme="eye"] .leader-stat-val.green { color: #58d396; }
html[data-theme="eye"] .btn-leader-action {
    background: rgba(255, 255, 255, 0.05);
    color: #d8cec3;
    border-color: #3f3322;
}

/* TOPLULUK & DUVAR KART ELEMANLARI (TEMEL TANIMLAR) */
.post-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 2px solid #e2e8f0;
    flex-shrink: 0 !important;
}

.post-author-meta {
    flex: 1;
    min-width: 0;
}

.post-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.post-time-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #94a3b8;
}

.btn-post-del {
    background: none;
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-post-del:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.comment-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 1.5px solid #e2e8f0;
    flex-shrink: 0 !important;
}

.btn-like,
.btn-comment-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    transition: all 0.15s ease;
}

.btn-like:hover,
.btn-comment-toggle:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-like.liked {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

.comment-create-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.comment-create-row input {
    flex: 1;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 13px;
    color: #0f172a;
    outline: none;
}

.comment-create-row button {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: #0284c7;
    color: #ffffff;
    font-weight: 750;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.comment-create-row button:hover {
    background: #0369a1;
}

.comments-section {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.comments-section.is-open {
    display: block;
}

/* KUPON KARTI TEMEL STİLLERİ */
.post-coupon-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin: 12px 0;
}

.coupon-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.coupon-card-badge {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 11.5px;
    font-weight: 850;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #bae6fd;
}

.coupon-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: #475569;
}

.desktop-only-coupon {
    display: block;
}

.mobile-only-coupon {
    display: none;
}

.coupon-items-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.coupon-items-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    font-size: 12.5px;
}

.coupon-items-table th {
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    padding: 9px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.coupon-items-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.coupon-items-table tbody tr:last-child td {
    border-bottom: none;
}

.coupon-item-choice {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    font-size: 11.5px;
    font-weight: 750;
    color: #0284c7;
}

.coupon-item-odd {
    font-weight: 850;
    color: #0f172a;
}

.coupon-status-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.coupon-status-tag.status-won,
.coupon-status-tag.won {
    background: #d1fae5;
    color: #065f46;
}

.coupon-status-tag.status-lost,
.coupon-status-tag.lost {
    background: #fee2e2;
    color: #991b1b;
}

.coupon-status-tag.status-pending,
.coupon-status-tag.pending {
    background: #fef3c7;
    color: #92400e;
}

/* MOBİL KUPON KARTLARI (<= 640px) */
.coupon-items-mobile-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 6px;
}

.coupon-mobile-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.coupon-mobile-item.status-border-won {
    border-left: 3.5px solid #10b981;
}

.coupon-mobile-item.status-border-lost {
    border-left: 3.5px solid #ef4444;
}

.coupon-mobile-item.status-border-pending {
    border-left: 3.5px solid #f59e0b;
}

.cmi-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.cmi-match-name {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.cmi-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 6px;
    border-top: 1px dashed #f1f5f9;
    width: 100%;
    box-sizing: border-box;
}

.cmi-pick-wrap {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    flex-wrap: wrap;
    min-width: 0;
}

.cmi-market {
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
}

.cmi-pick {
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 11.5px;
}

.cmi-odd-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-left: auto;
}

.cmi-odd-label {
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
}

.cmi-odd-val {
    color: #0f172a;
    font-weight: 850;
    font-size: 13px;
}

/* Profil Kuponlar Izgarası */
.profile-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

/* AYDINLIK TEMA: DUVAR & TOPLULUK GÖNDERİ KARTLARI */
html:not([data-theme="dark"]):not([data-theme="eye"]) .wall-post-card,
html[data-theme="light"] .wall-post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .post-author-name,
html[data-theme="light"] .post-author-name {
    color: #0f172a;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .post-body p,
html:not([data-theme="dark"]):not([data-theme="eye"]) .post-content,
html[data-theme="light"] .post-body p,
html[data-theme="light"] .post-content {
    color: #1e293b;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .post-coupon-card,
html:not([data-theme="dark"]):not([data-theme="eye"]) .post-attached-coupon,
html[data-theme="light"] .post-coupon-card,
html[data-theme="light"] .post-attached-coupon {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .coupon-card-top strong,
html[data-theme="light"] .coupon-card-top strong {
    color: #0f172a;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .coupon-items-table th,
html[data-theme="light"] .coupon-items-table th {
    background: #f1f5f9;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .coupon-items-table td,
html[data-theme="light"] .coupon-items-table td {
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .coupon-items-table strong,
html[data-theme="light"] .coupon-items-table strong {
    color: #0f172a;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .post-actions-bar,
html[data-theme="light"] .post-actions-bar {
    border-top: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .btn-like,
html:not([data-theme="dark"]):not([data-theme="eye"]) .btn-comment-toggle,
html:not([data-theme="dark"]):not([data-theme="eye"]) .post-action-btn,
html[data-theme="light"] .btn-like,
html[data-theme="light"] .btn-comment-toggle,
html[data-theme="light"] .post-action-btn {
    color: #475569;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .btn-like:hover,
html:not([data-theme="dark"]):not([data-theme="eye"]) .btn-comment-toggle:hover,
html[data-theme="light"] .btn-like:hover,
html[data-theme="light"] .btn-comment-toggle:hover {
    background: #f1f5f9;
    color: #0f172a;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .comment-item,
html[data-theme="light"] .comment-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .comment-author,
html[data-theme="light"] .comment-author {
    color: #0f172a;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .comment-text,
html[data-theme="light"] .comment-text {
    color: #334155;
}

html:not([data-theme="dark"]):not([data-theme="eye"]) .comment-create-row input,
html[data-theme="light"] .comment-create-row input {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

/* KOYU TEMA EKLEMELERİ */
html[data-theme="dark"] .post-coupon-card {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .coupon-card-top {
    border-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .coupon-card-badge {
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.35);
}
html[data-theme="dark"] .coupon-card-stats {
    color: #94a3b8;
}
html[data-theme="dark"] .coupon-card-stats b {
    color: #f8fafc;
}
html[data-theme="dark"] .coupon-items-table-wrap {
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .coupon-items-table th {
    background: rgba(15, 23, 42, 0.8);
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .coupon-items-table td {
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.04);
}
html[data-theme="dark"] .coupon-items-table strong {
    color: #f8fafc;
}
html[data-theme="dark"] .coupon-item-choice {
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
}
html[data-theme="dark"] .coupon-item-odd {
    color: #fbbf24;
}
html[data-theme="dark"] .btn-post-del {
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* EYE TEMA EKLEMELERİ */
html[data-theme="eye"] .post-coupon-card {
    background: rgba(20, 16, 12, 0.7);
    border-color: #3f3322;
}
html[data-theme="eye"] .coupon-card-top {
    border-color: #3f3322;
}
html[data-theme="eye"] .coupon-card-badge {
    background: rgba(250, 143, 94, 0.15);
    color: #fa8f5e;
    border-color: rgba(250, 143, 94, 0.3);
}
html[data-theme="eye"] .coupon-card-stats {
    color: #a89f91;
}
html[data-theme="eye"] .coupon-card-stats b {
    color: #f6f5f4;
}
html[data-theme="eye"] .coupon-items-table-wrap {
    border-color: #3f3322;
}
html[data-theme="eye"] .coupon-items-table th {
    background: #252019;
    color: #a89f91;
    border-color: #3f3322;
}
html[data-theme="eye"] .coupon-items-table td {
    color: #d8cec3;
    border-color: #302619;
}
html[data-theme="eye"] .coupon-items-table strong {
    color: #f6f5f4;
}
html[data-theme="eye"] .coupon-item-choice {
    background: rgba(255, 255, 255, 0.06);
    color: #fa8f5e;
}
html[data-theme="eye"] .coupon-item-odd {
    color: #58d396;
}

/* Dark Theme Mobile Coupon */
html[data-theme="dark"] .coupon-mobile-item {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .cmi-match-name {
    color: #f1f5f9;
}
html[data-theme="dark"] .cmi-market {
    color: #94a3b8;
}
html[data-theme="dark"] .cmi-pick {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}
html[data-theme="dark"] .cmi-odd-val {
    color: #fbbf24;
}
html[data-theme="dark"] .cmi-body {
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* Eye Comfort Theme Mobile Coupon */
html[data-theme="eye"] .coupon-mobile-item {
    background: rgba(26, 22, 18, 0.75);
    border-color: #3f3322;
}
html[data-theme="eye"] .cmi-match-name {
    color: #f5ede0;
}
html[data-theme="eye"] .cmi-market {
    color: #bfae99;
}
html[data-theme="eye"] .cmi-pick {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}
html[data-theme="eye"] .cmi-odd-val {
    color: #f59e0b;
}
html[data-theme="eye"] .cmi-body {
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   KAPSAMLI MOBİL VE TABLET UYUMLULUK
   ========================================================================== */

/* Mobil Yatay Taşmayı Önleme (Zero Horizontal Overflow) */
html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

.community-container,
.profile-container,
.community-layout,
.community-main,
.community-feed-list,
.wall-post-card,
.post-coupon-card,
.single-match-card,
.coupon-items-table-wrap,
.coupon-items-mobile-list {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .community-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .community-sidebar {
        order: 2;
    }

    .leaderboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-container,
    .community-container {
        width: calc(100% - 20px);
        margin: 14px auto 40px;
    }

    /* Profil Hero & Kapak */
    .profile-hero {
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .profile-cover {
        height: 130px;
    }

    .profile-header-content {
        padding: 0 16px 20px;
        margin-top: -46px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .profile-user-left {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .profile-avatar-wrap {
        width: 92px;
        height: 92px;
    }

    .profile-avatar-badge {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .profile-identity {
        padding-bottom: 0;
        width: 100%;
    }

    .profile-name-row {
        justify-content: center;
        gap: 8px;
        margin-bottom: 6px;
    }

    .profile-fullname {
        font-size: 21px;
    }

    .profile-handle {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .profile-bio {
        font-size: 13px;
        margin: 8px auto;
        max-width: 100%;
    }

    .profile-meta-tags {
        justify-content: center;
        gap: 10px;
        font-size: 11.5px;
        margin-top: 6px;
    }

    .profile-actions {
        width: 100%;
        justify-content: center;
        padding-bottom: 0;
    }

    .btn-follow,
    .btn-edit-profile {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 11px 18px;
        font-size: 13px;
    }

    /* Profil İstatistik Şeridi (5 Stat) */
    .profile-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 18px;
    }

    .profile-stats-bar > .stat-box:last-child {
        grid-column: 1 / -1;
    }

    .stat-box {
        padding: 12px 10px;
        border-radius: 12px;
    }

    .stat-box-value {
        font-size: 20px;
    }

    .stat-box-label {
        font-size: 10px;
    }

    /* Profil Sekmeleri (Yatay Kaydırılabilir) */
    .profile-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 8px;
        margin-bottom: 18px;
        scrollbar-width: none;
    }

    .profile-tabs::-webkit-scrollbar {
        display: none;
    }

    .profile-tab-btn {
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 10px;
    }

    /* Profil Duvarı Paylaşım Formu */
    .wall-create-card {
        padding: 14px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .wall-create-head strong {
        font-size: 13px;
    }

    .wall-create-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .wall-create-footer .coupon-select-wrap,
    .wall-create-footer select,
    .wall-create-footer .btn-post-submit {
        width: 100%;
        box-sizing: border-box;
    }

    /* Topluluk Hero */
    .community-hero {
        padding: 20px 16px;
        border-radius: 16px;
        margin-bottom: 18px;
    }

    .community-hero-content {
        gap: 16px;
    }

    .community-hero-title h1 {
        font-size: 21px;
        gap: 8px;
    }

    .community-hero-title p {
        font-size: 13px;
        line-height: 1.45;
    }

    .community-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        gap: 8px;
    }

    .community-hero-stat-card {
        min-width: 0;
        padding: 10px 6px;
        border-radius: 10px;
    }

    .community-hero-stat-card strong {
        font-size: 17px;
    }

    .community-hero-stat-card span {
        font-size: 10px;
    }

    /* Topluluk Sekmeleri (Yatay Kaydırılabilir) */
    .community-tabs-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 8px;
        margin-bottom: 16px;
        scrollbar-width: none;
    }

    .community-tabs-bar::-webkit-scrollbar {
        display: none;
    }

    .community-tab-btn {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 12.5px;
        border-radius: 10px;
    }

    /* Topluluk Paylaşım Formu */
    .community-creator-box {
        padding: 14px 12px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .creator-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .creator-tabs::-webkit-scrollbar {
        display: none;
    }

    .creator-tab-btn {
        flex-shrink: 0;
        font-size: 11.5px;
        padding: 7px 11px;
    }

    .creator-input-group {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 10px;
    }

    .creator-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }

    .btn-post-submit {
        width: 100%;
        justify-content: center;
        height: 44px;
        box-sizing: border-box;
    }

    /* Gönderi Kartı (Post Card) */
    .wall-post-card {
        padding: 14px 12px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .post-header {
        align-items: flex-start;
        gap: 8px;
    }

    .post-author-wrap {
        gap: 10px;
    }

    .post-author-avatar {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }

    .post-author-row {
        gap: 6px;
    }

    .post-author-name {
        font-size: 13.5px;
    }

    .post-content {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    /* Tekli Maç Kartı */
    .single-match-card {
        padding: 12px;
        border-radius: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .single-match-teams {
        font-size: 14.5px;
    }

    .single-match-meta {
        justify-content: space-between;
        width: 100%;
    }

    /* Kupon Kartı */
    .post-coupon-card {
        padding: 12px;
        border-radius: 12px;
    }

    .coupon-card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .coupon-card-stats {
        font-size: 11.5px;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .desktop-only-coupon {
        display: none !important;
    }

    .mobile-only-coupon {
        display: flex !important;
    }

    .coupon-items-table th,
    .coupon-items-table td {
        padding: 7px 9px;
        font-size: 11.5px;
    }

    /* Etkileşim Butonları */
    .post-actions-bar {
        gap: 10px;
        padding-top: 10px;
    }

    .btn-like,
    .btn-comment-toggle {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Yorumlar Bölümü */
    .comment-create-row {
        gap: 6px;
    }

    .comment-create-row input {
        font-size: 12.5px;
        padding: 7px 10px;
    }

    .comment-create-row button {
        font-size: 12px;
        padding: 7px 12px;
    }

    /* Profil Kuponlar Izgarası */
    .profile-coupons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .attached-item-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .attached-coupon-footer {
        flex-wrap: wrap;
        gap: 8px 14px;
        font-size: 11.5px;
    }

    /* Profil Düzenle Sayfası */
    .profile-edit-card {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .edit-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-leaderboard-section {
        width: calc(100% - 20px);
        margin: 20px auto;
    }

    .leaderboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .leader-card {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .leader-avatar-wrap {
        width: 50px;
        height: 50px;
    }

    .leader-name {
        font-size: 12.5px;
    }

    .leader-handle {
        font-size: 10px;
    }

    .leader-stats-row {
        padding: 6px;
        gap: 6px;
    }

    .leader-stat-val {
        font-size: 12px;
    }

    .leader-stat-lbl {
        font-size: 8.5px;
    }

    /* Üye Listesi (Takipçiler / Takip Edilenler) */
    .user-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .user-card {
        padding: 12px 10px;
        border-radius: 12px;
    }

    .user-card-avatar {
        width: 52px;
        height: 52px;
    }

    .user-card-name {
        font-size: 13.5px;
    }

    .user-card-handle {
        font-size: 10.5px;
    }

    .user-card-stats {
        font-size: 11px;
        gap: 6px;
    }

    .btn-leader-action {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .leaderboard-grid {
        grid-template-columns: 1fr;
    }

    .user-grid {
        grid-template-columns: 1fr;
    }
}


