@media (min-width: 769px) {
            .main-header .user-actions:has(> .nav-action-wrap > .user-profile-summary-btn) {
                column-gap: clamp(14px, 1.2vw, 20px) !important;
            }
            .main-header .user-actions .nav-action-icon i {
                font-size: 25px !important;
            }
            .main-header .user-actions .nav-action-icon svg {
                width: 25px !important;
                height: 25px !important;
            }
        }

        @media (max-width: 992px) {
            .account-sidebar-card > button.account-sidebar-mobile-toggle {
                background-color: var(--bg-cat-header);
                -webkit-tap-highlight-color: transparent;
            }
        }

        /* Mobil üst çubuk düğmeleri */
        @media (max-width: 768px) {
            .main-header,
            .main-header .header-inner {
                height: 60px !important;
                min-height: 60px !important;
            }
            .main-header .header-inner {
                align-items: center !important;
                padding-block: 0 !important;
            }
            .main-header .user-actions {
                align-self: center;
                --mobile-header-action-size: 44px;
                --mobile-header-action-gap: 8px;
                display: flex !important;
                align-items: center !important;
                gap: var(--mobile-header-action-gap) !important;
            }
            .main-header .user-actions :is(.nav-action-icon, .header-lucky-wheel-btn, .user-profile-summary-btn) {
                width: var(--mobile-header-action-size) !important;
                min-width: var(--mobile-header-action-size) !important;
                max-width: var(--mobile-header-action-size) !important;
                height: var(--mobile-header-action-size) !important;
                min-height: var(--mobile-header-action-size) !important;
                max-height: var(--mobile-header-action-size) !important;
                flex-shrink: 0 !important;
                box-sizing: border-box;
            }
            .main-header .user-actions .nav-action-icon {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                padding: 0 !important;
                border-radius: 4px !important;
                border: 1px solid var(--border-light) !important;
                background: var(--bg-card) !important;
                color: var(--text-secondary) !important;
                position: relative !important;
                box-shadow: none !important;
            }
            .main-header[data-header-style="light"] .user-actions .nav-action-icon {
                background: #f5f7fa !important;
                border-color: #e2e8f0 !important;
                color: #475569 !important;
            }
            .main-header[data-header-style="dark"] .user-actions .nav-action-icon {
                background: #282b3a !important;
                border-color: #383c51 !important;
                color: #b3b7c8 !important;
            }
            .main-header[data-header-style] .user-actions .nav-action-icon > :is(i, svg),
            .main-header[data-header-style] .user-actions .theme-toggle-btn .theme-icon-moon,
            .main-header[data-header-style="light"] .user-actions .theme-toggle-btn .theme-icon-sun,
            .main-header[data-header-style] .user-actions .theme-toggle-btn :is(.theme-icon-moon, .theme-icon-sun) > i {
                color: inherit !important;
            }
            .main-header[data-header-style="dark"] .user-actions .theme-toggle-btn .theme-icon-sun {
                color: #f59e0b !important;
            }
            .main-header .user-actions .nav-action-icon i {
                font-size: 20px !important;
                line-height: 1 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .main-header .user-actions .nav-action-icon svg {
                width: 20px !important;
                height: 20px !important;
            }
            .main-header .user-actions .theme-toggle-btn i {
                font-size: 20px !important;
                line-height: 1 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .main-header .user-actions .theme-toggle-btn .theme-icon-sun,
            .main-header .user-actions .theme-toggle-btn .theme-icon-moon {
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100%;
                line-height: 1;
            }
            /* Tema Moduna Göre Yalnızca Biri Görünür (Gündüz -> Ay, Gece -> Güneş) */
            html.light-theme .main-header .user-actions .theme-toggle-btn .theme-icon-sun,
            html[data-theme="light"] .main-header .user-actions .theme-toggle-btn .theme-icon-sun,
            body.light-theme .main-header .user-actions .theme-toggle-btn .theme-icon-sun {
                display: none !important;
            }
            html.light-theme .main-header .user-actions .theme-toggle-btn .theme-icon-moon,
            html[data-theme="light"] .main-header .user-actions .theme-toggle-btn .theme-icon-moon,
            body.light-theme .main-header .user-actions .theme-toggle-btn .theme-icon-moon {
                display: inline-flex !important;
            }
            html.dark-theme .main-header .user-actions .theme-toggle-btn .theme-icon-sun,
            html[data-theme="dark"] .main-header .user-actions .theme-toggle-btn .theme-icon-sun,
            body.dark-theme .main-header .user-actions .theme-toggle-btn .theme-icon-sun {
                display: inline-flex !important;
            }
            html.dark-theme .main-header .user-actions .theme-toggle-btn .theme-icon-moon,
            html[data-theme="dark"] .main-header .user-actions .theme-toggle-btn .theme-icon-moon,
            body.dark-theme .main-header .user-actions .theme-toggle-btn .theme-icon-moon {
                display: none !important;
            }
            /* Bildirim ve DM Rozeti */
            .main-header .user-actions .nav-icon-badge {
                position: absolute !important;
                top: -5px !important;
                right: -5px !important;
                background: #38bdf8 !important;
                color: #080d1a !important;
                font-size: 10px !important;
                font-weight: 700 !important;
                min-width: 16px !important;
                height: 16px !important;
                padding: 0 4px !important;
                border-radius: 9999px !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                line-height: 1 !important;
                border: 1.5px solid var(--bg-header) !important;
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
                z-index: 5 !important;
                pointer-events: none !important;
            }
            /* Şans Çarkı Mobilde Kompakt Orijinal Kutu */
            .main-header .user-actions .header-lucky-wheel-btn {
                padding: 0 !important;
                border-radius: 8px !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            html.light-theme .main-header .user-actions .header-lucky-wheel-btn,
            html[data-theme="light"] .main-header .user-actions .header-lucky-wheel-btn {
                background: #fffbeb !important;
                border: 1px solid #fed7aa !important;
                box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15) !important;
            }
            html.dark-theme .main-header .user-actions .header-lucky-wheel-btn,
            html[data-theme="dark"] .main-header .user-actions .header-lucky-wheel-btn {
                background: rgba(245, 158, 11, 0.08) !important;
                border: 1px solid rgba(245, 158, 11, 0.28) !important;
            }
            .main-header .user-actions .header-lucky-wheel-btn .custom-wheel-svg {
                width: 24px !important;
                height: 24px !important;
            }
            /* Profil Avatarı */
            .main-header .user-actions .user-profile-summary-btn {
                padding: 0 !important;
                background: transparent !important;
                border: none !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .main-header .user-actions .user-profile-summary-btn .user-welcome-text {
                display: none !important;
            }
            .main-header .user-actions .user-profile-summary-btn .user-avatar-wrap {
                width: 34px !important;
                height: 34px !important;
                min-width: 34px !important;
                min-height: 34px !important;
                position: relative !important;
            }
            .main-header .user-actions .user-profile-summary-btn .user-nav-avatar {
                width: 34px !important;
                height: 34px !important;
                border-radius: 50% !important;
                object-fit: cover !important;
                border: 1.5px solid var(--primary-blue, #2563eb) !important;
            }
            .main-header .user-actions .user-profile-summary-btn .avatar-online-dot {
                position: absolute !important;
                bottom: 0px !important;
                right: 0px !important;
                width: 9px !important;
                height: 9px !important;
                border-radius: 50% !important;
                background: #22c55e !important;
                border: 1.5px solid var(--bg-header) !important;
            }
        }

        @media (max-width: 360px) {
            .main-header .user-actions {
                --mobile-header-action-size: 42px;
                --mobile-header-action-gap: 6px;
            }
        }

        @media (max-width: 340px) {
            .main-header .user-actions {
                --mobile-header-action-size: 40px;
                --mobile-header-action-gap: 5px;
            }
        }

/* FİED Özel Çarkıfelek (Şans Çarkı) Butonu - Avatarın Hemen Solunda */
        .header-lucky-wheel-btn {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 38px !important;
            height: 38px !important;
            border-radius: 8px !important;
            background: rgba(245, 158, 11, 0.08) !important;
            border: 1px solid rgba(245, 158, 11, 0.28) !important;
            color: #f59e0b !important;
            position: relative !important;
            text-decoration: none !important;
            cursor: pointer !important;
            flex-shrink: 0 !important;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
        }
        .header-lucky-wheel-btn:hover {
            background: rgba(245, 158, 11, 0.18) !important;
            border-color: rgba(245, 158, 11, 0.65) !important;
            box-shadow: 0 0 16px rgba(245, 158, 11, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
            transform: translateY(-1px) scale(1.05) !important;
        }
        .header-lucky-wheel-btn.active {
            border-color: #f59e0b !important;
            background: rgba(245, 158, 11, 0.25) !important;
            box-shadow: 0 0 12px rgba(245, 158, 11, 0.5) !important;
        }
        .header-lucky-wheel-btn .custom-wheel-svg {
            display: block !important;
            width: 28px !important;
            height: 28px !important;
            overflow: visible !important;
            transition: filter 0.3s ease !important;
        }
        .header-lucky-wheel-btn:hover .custom-wheel-svg {
            filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.75)) !important;
        }
        .header-lucky-wheel-btn .wheel-disc {
            transform-box: view-box !important;
            transform-origin: 16px 17.5px !important;
            transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        }
        .header-lucky-wheel-btn:hover .wheel-disc {
            transform: rotate(360deg) !important;
        }
        .header-lucky-wheel-btn .wheel-pointer {
            transform-box: view-box !important;
            transform-origin: 16px 2.6px !important;
            transition: transform 0.15s ease-in-out !important;
        }
        .header-lucky-wheel-btn:hover .wheel-pointer {
            animation: wheelTickerAnim 0.14s ease-in-out infinite alternate !important;
        }
        @keyframes wheelTickerAnim {
            0% { transform: rotate(-6deg); }
            100% { transform: rotate(6deg); }
        }
        @media (max-width: 768px) {
            .header-lucky-wheel-btn {
                width: 32px !important;
                height: 32px !important;
                min-width: 32px !important;
                max-width: 32px !important;
                padding: 0 !important;
                background: transparent !important;
                border: 1px solid transparent !important;
                border-radius: 8px !important;
                box-shadow: none !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .header-lucky-wheel-btn .custom-wheel-svg {
                width: 24px !important;
                height: 24px !important;
                display: block !important;
                margin: 0 !important;
            }
        }

/* Keep the existing desktop design usable in narrow desktop/browser panels. */
@media (min-width: 769px) and (max-width: 1199px) {
    .main-header .header-inner {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-rows: minmax(66px, auto) !important;
        column-gap: 16px !important;
        align-items: center !important;
    }
    .main-header .header-left-wrap { grid-column: 1 !important; grid-row: 1 !important; min-width: 0 !important; }
    .main-header .header-search { grid-column: 2 !important; grid-row: 1 !important; min-width: 0 !important; width: 100% !important; margin: 0 !important; }
    .main-header .user-actions { grid-column: 3 !important; grid-row: 1 !important; margin: 0 !important; min-width: 0 !important; }
    .fied-desktop-table-wrap table { table-layout: fixed !important; width: 100% !important; }
    .fied-desktop-table-wrap table :is(th,td) { min-width: 0 !important; overflow-wrap: anywhere; }
    .fied-desktop-table-wrap table :is(th,td):nth-last-child(3) { width: 14% !important; }
    .fied-desktop-table-wrap table :is(th,td):nth-last-child(2) { width: 17% !important; }
    .fied-desktop-table-wrap table :is(th,td):last-child { width: 22% !important; white-space: normal !important; }
    .fied-desktop-table-wrap table th { white-space: normal !important; }
    .fied-desktop-table-wrap table :is(th,td):nth-last-child(4) { width: auto !important; }
}
@media (min-width: 901px) and (max-width: 1199px) {
    .home-categories-wrapper .forum-node-row {
        grid-template-columns: 40px minmax(0, 1fr) 112px clamp(190px, 22vw, 250px) !important;
        column-gap: 18px !important;
        padding-left: 18px !important;
        padding-right: 58px !important;
    }
    .home-categories-wrapper .node-main-info { min-width: 0 !important; }
    .home-categories-wrapper .node-stats-col,
    .home-categories-wrapper .cat-header-cols .cat-col-stats { width: 112px !important; min-width: 112px !important; max-width: 112px !important; }
    .home-categories-wrapper .node-last-post,
    .home-categories-wrapper .node-last-post-col,
    .home-categories-wrapper .cat-header-cols .cat-col-last { width: clamp(190px, 22vw, 250px) !important; min-width: 0 !important; max-width: 250px !important; }
}

/* Match the compact analysis header wordmark; reserve its box before images load. */
.main-header .logo-area {
    width: 106px !important;
    min-width: 106px !important;
    max-width: 106px !important;
    height: 38px !important;
    min-height: 38px !important;
}
.main-header .logo-area .fied-main-logo {
    width: 106px !important;
    height: 38px !important;
    max-width: 100% !important;
    max-height: 38px !important;
    object-fit: contain !important;
}
@media (max-width: 768px) {
    .main-header .logo-area { width: 80px !important; min-width: 80px !important; max-width: 80px !important; height: 31px !important; min-height: 31px !important; }
    .main-header .logo-area .fied-main-logo { width: 80px !important; height: 31px !important; max-height: 31px !important; }
}
@media (max-width: 400px) {
    .main-header .logo-area { width: 62px !important; min-width: 62px !important; max-width: 62px !important; }
    .main-header .logo-area .fied-main-logo { width: 62px !important; }
}
/* Header asset mirror revision: 20261018-2. */
